libio: Update tst-fmemopen2.c
[glibc.git] / ChangeLog
blob66892209f219ebc248d414303ac06bf8df002506
1 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
4         length buffers.
5         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
6         test-skeleton.c.
8         [BZ #6544]
9         [BZ #11216]
10         [BZ #12836]
11         [BZ #13151]
12         [BZ #13152]
13         [BZ #14292]
14         * include/stdio.h (fmemopen): Remove hidden prototype.
15         (__fmemopen): Add new hidden prototype.
16         * libio/Makefile: Add oldfmemopen object.
17         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
18         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
19         compliance.
20         * libio/oldfmemopen.c: New file: old fmemopen implementation for
21         symbol compatibility.
22         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
23         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
24         fmemopen.
25         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
26         on append and read mode.
27         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
28         fmemopen.
29         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
30         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
31         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
32         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
33         Likewise.
34         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
35         [GLIBC_2.22]: Likewise.
36         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
37         Likewise.
38         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
39         Likewise.
40         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
41         [GLIBC_2.22]: Likewise.
42         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
43         [GLIBC_2.22]: Likewise.
44         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
45         [GLIBC_2.22]: Likewise.
46         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
47         [GLIBC_2.22]: Likewise.
48         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
49         [GLIBC_2.22]: Likewise.
50         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
51         [GLIBC_2.22]: Likewise.
52         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
53         [GLIBC_2.22]: Likewise.
54         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
55         Likewise.
56         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
57         Likewise.
58         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
59         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
60         [GLIBC_2.22]: Likewise.
61         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
62         [GLIBC_2.22]: Likewise.
63         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
64         [GLIBC_2.22]: Likewise.
65         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
66         [GLIBC_2.22]: Likewise.
67         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
68         Likewise.
69         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
70         Likewise.
71         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
72         Likewise.
73         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
74         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
76 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
78         [BZ #18643]
79         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
80         IPV6_PATHMTU, and IPV6_DONTFRAG.
82 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
84         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
85         and _IO_UNBUFFERED.
86         * libio/oldfileops.c: Likewise.
87         * libio/wfileops.c: Likewise.
89 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
91         * nscd/selinux.c: Delete selinux/flask.h include.
93 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
95         [BZ #18641]
96         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
97         (putpwent): Likewise.
98         (getpwnam): Likewise.
99         (getpwent_r): Likewise.
100         (getpwuid_r): Likewise.
101         (getpwnam_r): Likewise.
102         (fgetpwent_r): Likewise.
104 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
106         [BZ #18557]
107         * inet/rcmd.c (__validuser2_sa): Check user first to
108         short-circuit host check.
110 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
111             Mikhail Ilin  <m.ilin@samsung.com>
113         [BZ #17833]
114         * elf/Makefile (tests): Add tst-nodelete.
115         (modules-names): Add tst-nodelete-uniquemod.
116         (tst-nodelete-uniquemod.so-no-z-defs): New.
117         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
118         (tst-nodelete-zmod.so-no-z-defs): Likewise.
119         ($(objpfx)tst-nodelete): Likewise.
120         ($(objpfx)tst-nodelete.out): Likewise.
121         (LDFLAGS-tst-nodelete): Likewise.
122         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
123         * elf/dl-close.c (_dl_close_worker): Add a parameter to
124         implement forced object deletion.
125         (_dl_close): Pass false to _dl_close_worker.
126         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
127         * elf/tst-nodelete.cc: New file.
128         * elf/tst-nodeletelib.cc: Likewise.
129         * elf/tst-znodeletelib.cc: Likewise.
130         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
132 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
134         [BZ #18508]
135         * stdlib/Makefile ($(objpfx)tst-makecontext3):
136         Depend on $(libdl).
137         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
138         is not called infinitely times.
139         (backtrace_helper): New function.
140         (trace_arg): New struct.
141         (st1): Enlarge stack size.
142         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
143         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
144         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
145         Likewise.
147 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
149         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
151 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
153         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
154         Include sys/types.h instead of bits/types.h.
155         Remove inclusion of bits/wordsize.h.
157 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
159         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
160         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
161         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
162         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
163         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
164         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
166 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
168         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
169         link-defines.sym.
170         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
171         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
172         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
173         and LR_SIZE.
174         * sysdeps/i386/link-defines.sym: New file.
176 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
178         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
179         (modules-names): Add tst-auditmod3a tst-auditmod3b.
180         ($(objpfx)tst-audit3): New rule.
181         ($(objpfx)tst-audit3.out): Likewise.
182         * sysdeps/i386/tst-audit3.c: New file.
183         * sysdeps/i386/tst-audit3.h: Likewise.
184         * sysdeps/i386/tst-auditmod3a.c: Likewise.
185         * sysdeps/i386/tst-auditmod3b.c: Likewise.
187 2015-07-07  Torvald Riegel  <triegel@redhat.com>
189         [BZ #18633]
190         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
191         pointer in C code.
192         (__strcat_c): Likewise.
193         (__strcat_g): Likewise.
195 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
197         [BZ #18592]
198         * misc/sbrk.c: Set errno to ENOMEM on overflow.
200 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
202         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
203         New function.  (__ieee754_sqrtf): New function.
204         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
205         New function.
206         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
207         New function.
209 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
211         * sysdeps/ieee754/support.c: Remove unused file.
213 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
215         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
216         registers instead of d ones so the layout is kernel abi compatible.
217         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
218         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
219         Likewise.
221 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
223         * sysdeps/aarch64/libm-test-ulps: Regenerated.
225 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
227         [BZ #18619]
228         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
229         and return argument in case of subnormal argument.
231 2015-07-01  Martin Sebor  <msebor@redhat.com>
233         [BZ #18435]
234         * nptl/Makefile: Add tst-once5.cc.
235         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
236         Remove macro redefinitions.
237         * nptl/tst-once5.cc: New test.
239 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
241         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
243         * sysdeps/arm/libm-test-ulps: Regenerated.
245         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
246         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
248 2015-06-30  Torvald Riegel  <triegel@redhat.com>
250         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
251         lll_lock_wait_private and lll_futex_wake probes.
253         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
254         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
255         Likewise.
256         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
257         atomic_spin_nop.
258         * sysdeps/x86_64/bits/atomic.h: Likewise.
259         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
260         to atomic_spin_nop and move ...
261         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
262         ... here and ...
263         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
264         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
265         atomic_spin_nop instead of BUSY_WAIT_NOP.
266         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
267         Likewise.
268         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
269         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
270         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
271         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
272         instead of atomic_delay.
274 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
276         [BZ #18613]
277         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
278         X_ADJ not X when adjusting exponent.
279         (__ieee754_gamma_r): Do intermediate computations in
280         round-to-nearest then adjust overflowing and underflowing results
281         as needed.
282         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
283         of X_ADJ not X when adjusting exponent.
284         (__ieee754_gammaf_r): Do intermediate computations in
285         round-to-nearest then adjust overflowing and underflowing results
286         as needed.
287         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
288         log of X_ADJ not X when adjusting exponent.
289         (__ieee754_gammal_r): Do intermediate computations in
290         round-to-nearest then adjust overflowing and underflowing results
291         as needed.  Use 1.0L not 1.0f as numerator of division.
292         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
293         log of X_ADJ not X when adjusting exponent.
294         (__ieee754_gammal_r): Do intermediate computations in
295         round-to-nearest then adjust overflowing and underflowing results
296         as needed.  Use 1.0L not 1.0f as numerator of division.
297         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
298         of X_ADJ not X when adjusting exponent.
299         (__ieee754_gammal_r): Do intermediate computations in
300         round-to-nearest then adjust overflowing and underflowing results
301         as needed.  Use 1.0L not 1.0f as numerator of division.
302         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
303         to auto-libm-test-in.
304         (tgamma_test): Use ALL_RM_TEST.
305         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
306         tests of tgamma with spurious-overflow.
307         * math/auto-libm-test-out: Regenerated.
308         * math/gen-libm-have-vector-test.sh: Do not check for START.
309         * sysdeps/i386/fpu/libm-test-ulps: Update.
310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
312         [BZ #18612]
313         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
314         arguments, just return 0.5 times the argument, with underflow
315         forced as needed.
316         * math/auto-libm-test-in: Add more tests of j1.
317         * math/auto-libm-test-out: Regenerated.
319         [BZ #16559]
320         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
321         (__ieee754_j1): Force underflow exception for small results.
322         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
323         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
324         (__ieee754_j1f): Force underflow exception for small results.
325         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
326         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
327         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
328         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
329         (__ieee754_j1l): Force underflow exception for small results.
330         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
331         * math/auto-libm-test-in: Add more tests of j1 and jn.
332         * math/auto-libm-test-out: Regenerated.
334         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
335         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
336         (PF_MPLS): Likewise.
337         (AF_IB): Likewise.
338         (AF_MPLS): Likewise.
339         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
340         value and macro.
341         (MS_RMT_MASK): Include MS_LAZYTIME.
343 2015-06-26  Mel Gorman  <mgorman@suse.de>
345         [BZ #18502]
346         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
347         already minimal.
349 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
351         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
352         (DT_MIPS_NUM): Update.
353         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
354         DT_MIPS_RLD_MAP_REL.
356 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
358         [BZ #16559]
359         [BZ #18602]
360         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
361         round-to-nearest internally then recompute results that
362         underflowed to zero in the original rounding mode.
363         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
364         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
365         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
366         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
367         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
368         * sysdeps/i386/fpu/libm-test-ulps: Update.
369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
371 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
373         * NEWS: Fixed description of link with vector math library.
375 2015-06-25  Andreas Schwab  <schwab@suse.de>
377         [BZ #18549]
378         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
379         * libio/test-fmemopen.c (do_test): Add test for it.
381 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
383         [BZ #17841]
384         * Makeconfig (no-pie-ldflag): New.
385         (+link): Set to $(+link-pie) if default to PIE.
386         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
387         * config.make.in (build-pie-default): New.
388         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
389         is default.  AC_SUBST.
390         * configure: Regenerated.
391         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
393 2015-06-24  Roland McGrath  <roland@hack.frob.com>
395         * nptl/descr.h (struct pthread): Change type of field setxid_futex
396         to 'unsigned int'.
398         * resolv/gai_misc.h (struct waitlist): Change type of field
399         counterp to 'volatile unsigned int *'.
400         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
401         FUTEXADDR and OLDVAL.
402         * resolv/getaddrinfo_a.c (getaddrinfo_a):
403         Give local variable TOTAL type 'volatile unsigned int'.
404         (struct async_waitlist): Change type of field counter to 'unsigned int'.
405         * resolv/gai_suspend.c (gai_suspend):
406         Give local variable CNTR type 'unsigned int'.
408         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
409         counterp to 'volatile unsigned int *'.
410         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
411         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
412         (aio_suspend): Give local variable CNTR type 'unsigned int'.
413         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
414         Give local variable TOTAL type 'volatile unsigned int'.
415         (struct async_waitlist): Change type of field counter to 'unsigned int'.
417 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
419         [BZ #18383]
420         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
421         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
422         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
423         comment for i386/x86-64.
424         (test-xfail-tst-tlsalign-extern-static): Removed.
426 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
428         * math/test-double.h: New file.
429         * math/test-float.h: Likewise.
430         * math/test-ldouble.h: Likewise.
431         * math/test-math-inline.h: Likewise.
432         * math/test-math-no-inline.h: Likewise.
433         * math/test-math-scalar.h: Likewise.
434         * math/test-math-vector.h: Likewise.
435         * math/test-vec-loop.h: Remove file.  Contents moved into
436         test-math-vector.h.
437         * math/libm-test.inc (MATHCONST): Do not document macro.
438         * math/test-double.c: Include test-double.h, test-math-no-inline.h
439         and test-math-scalar.h.
440         (FUNC): Remove macro.
441         (FUNC_TEST): Likewise.
442         (FLOAT): Likewise.
443         (MATHCONST): Likewise.
444         (PRINTF_EXPR): Likewise.
445         (PRINTF_XEXPR): Likewise.
446         (PRINTF_NEXPR): Likewise.
447         (TEST_DOUBLE): Likewise.
448         (TEST_MATHVEC): Likewise.
449         (__NO_MATH_INLINES): Likewise.
450         * math/test-float.c: Include test-float.h, test-math-no-inline.h
451         and test-math-scalar.h.
452         (FUNC): Remove macro.
453         (FUNC_TEST): Likewise.
454         (FLOAT): Likewise.
455         (MATHCONST): Likewise.
456         (PRINTF_EXPR): Likewise.
457         (PRINTF_XEXPR): Likewise.
458         (PRINTF_NEXPR): Likewise.
459         (TEST_FLOAT): Likewise.
460         (TEST_MATHVEC): Likewise.
461         (__NO_MATH_INLINES): Likewise.
462         * math/test-idouble.c: Include test-double.h, test-math-inline.h
463         and test-math-scalar.h.
464         (FUNC): Remove macro.
465         (FUNC_TEST): Likewise.
466         (FLOAT): Likewise.
467         (MATHCONST): Likewise.
468         (PRINTF_EXPR): Likewise.
469         (PRINTF_XEXPR): Likewise.
470         (PRINTF_NEXPR): Likewise.
471         (TEST_DOUBLE): Likewise.
472         (TEST_MATHVEC): Likewise.
473         (TEST_INLINE): Likewise.
474         (__NO_MATH_INLINES): Likewise.
475         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
476         test-math-scalar.h.
477         (FUNC): Remove macro.
478         (FUNC_TEST): Likewise.
479         (FLOAT): Likewise.
480         (MATHCONST): Likewise.
481         (PRINTF_EXPR): Likewise.
482         (PRINTF_XEXPR): Likewise.
483         (PRINTF_NEXPR): Likewise.
484         (TEST_FLOAT): Likewise.
485         (TEST_MATHVEC): Likewise.
486         (TEST_INLINE): Likewise.
487         (__NO_MATH_INLINES): Likewise.
488         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
489         and test-math-scalar.h.
490         (FUNC): Remove macro.
491         (FUNC_TEST): Likewise.
492         (FLOAT): Likewise.
493         (MATHCONST): Likewise.
494         (PRINTF_EXPR): Likewise.
495         (PRINTF_XEXPR): Likewise.
496         (PRINTF_NEXPR): Likewise.
497         (TEST_LDOUBLE): Likewise.
498         (TEST_MATHVEC): Likewise.
499         (TEST_INLINE): Likewise.
500         (__NO_MATH_INLINES): Likewise.
501         * math/test-ldouble.c: Include test-ldouble.h,
502         test-math-no-inline.h and test-math-scalar.h.
503         (FUNC): Remove macro.
504         (FUNC_TEST): Likewise.
505         (FLOAT): Likewise.
506         (MATHCONST): Likewise.
507         (PRINTF_EXPR): Likewise.
508         (PRINTF_XEXPR): Likewise.
509         (PRINTF_NEXPR): Likewise.
510         (TEST_LDOUBLE): Likewise.
511         (TEST_MATHVEC): Likewise.
512         (__NO_MATH_INLINES): Likewise.
513         * math/test-double-vlen2.h: Include test-double.h,
514         test-math-no-inline.h and test-math-vector.h.
515         (FLOAT): Remove macro.
516         (FUNC): Likewise.
517         (MATHCONST): Likewise.
518         (PRINTF_EXPR): Likewise.
519         (PRINTF_XEXPR): Likewise.
520         (PRINTF_NEXPR): Likewise.
521         (TEST_DOUBLE): Likewise.
522         (TEST_MATHVEC): Likewise.
523         (__NO_MATH_INLINES): Likewise.
524         (CNCT): Likewise.
525         (CONCAT): Likewise.
526         (WRAPPER_NAME): Likewise.
527         (WRAPPER_DECL): Likewise.
528         (WRAPPER_DECL_ff): Likewise.
529         (WRAPPER_DECL_fFF): Likewise.
530         (VECTOR_WRAPPER): Likewise.
531         (VECTOR_WRAPPER_ff): Likewise.
532         (VECTOR_WRAPPER_fFF): Likewise.
533         (VEC_LEN): New macro.
534         * math/test-double-vlen4.h: Include test-double.h,
535         test-math-no-inline.h and test-math-vector.h.
536         (FLOAT): Remove macro.
537         (FUNC): Likewise.
538         (MATHCONST): Likewise.
539         (PRINTF_EXPR): Likewise.
540         (PRINTF_XEXPR): Likewise.
541         (PRINTF_NEXPR): Likewise.
542         (TEST_DOUBLE): Likewise.
543         (TEST_MATHVEC): Likewise.
544         (__NO_MATH_INLINES): Likewise.
545         (CNCT): Likewise.
546         (CONCAT): Likewise.
547         (WRAPPER_NAME): Likewise.
548         (WRAPPER_DECL): Likewise.
549         (WRAPPER_DECL_ff): Likewise.
550         (WRAPPER_DECL_fFF): Likewise.
551         (VECTOR_WRAPPER): Likewise.
552         (VECTOR_WRAPPER_ff): Likewise.
553         (VECTOR_WRAPPER_fFF): Likewise.
554         (VEC_LEN): New macro.
555         * math/test-double-vlen8.h: Include test-double.h,
556         test-math-no-inline.h and test-math-vector.h.
557         (FLOAT): Remove macro.
558         (FUNC): Likewise.
559         (MATHCONST): Likewise.
560         (PRINTF_EXPR): Likewise.
561         (PRINTF_XEXPR): Likewise.
562         (PRINTF_NEXPR): Likewise.
563         (TEST_DOUBLE): Likewise.
564         (TEST_MATHVEC): Likewise.
565         (__NO_MATH_INLINES): Likewise.
566         (CNCT): Likewise.
567         (CONCAT): Likewise.
568         (WRAPPER_NAME): Likewise.
569         (WRAPPER_DECL): Likewise.
570         (WRAPPER_DECL_ff): Likewise.
571         (WRAPPER_DECL_fFF): Likewise.
572         (VECTOR_WRAPPER): Likewise.
573         (VECTOR_WRAPPER_ff): Likewise.
574         (VECTOR_WRAPPER_fFF): Likewise.
575         (VEC_LEN): New macro.
576         * math/test-float-vlen4.h: Include test-float.h,
577         test-math-no-inline.h and test-math-vector.h.
578         (FLOAT): Remove macro.
579         (FUNC): Likewise.
580         (MATHCONST): Likewise.
581         (PRINTF_EXPR): Likewise.
582         (PRINTF_XEXPR): Likewise.
583         (PRINTF_NEXPR): Likewise.
584         (TEST_FLOAT): Likewise.
585         (TEST_MATHVEC): Likewise.
586         (__NO_MATH_INLINES): Likewise.
587         (CNCT): Likewise.
588         (CONCAT): Likewise.
589         (WRAPPER_NAME): Likewise.
590         (WRAPPER_DECL): Likewise.
591         (WRAPPER_DECL_ff): Likewise.
592         (WRAPPER_DECL_fFF): Likewise.
593         (VECTOR_WRAPPER): Likewise.
594         (VECTOR_WRAPPER_ff): Likewise.
595         (VECTOR_WRAPPER_fFF): Likewise.
596         (VEC_LEN): New macro.
597         * math/test-float-vlen8.h: Include test-float.h,
598         test-math-no-inline.h and test-math-vector.h.
599         (FLOAT): Remove macro.
600         (FUNC): Likewise.
601         (MATHCONST): Likewise.
602         (PRINTF_EXPR): Likewise.
603         (PRINTF_XEXPR): Likewise.
604         (PRINTF_NEXPR): Likewise.
605         (TEST_FLOAT): Likewise.
606         (TEST_MATHVEC): Likewise.
607         (__NO_MATH_INLINES): Likewise.
608         (CNCT): Likewise.
609         (CONCAT): Likewise.
610         (WRAPPER_NAME): Likewise.
611         (WRAPPER_DECL): Likewise.
612         (WRAPPER_DECL_ff): Likewise.
613         (WRAPPER_DECL_fFF): Likewise.
614         (VECTOR_WRAPPER): Likewise.
615         (VECTOR_WRAPPER_ff): Likewise.
616         (VECTOR_WRAPPER_fFF): Likewise.
617         (VEC_LEN): New macro.
618         * math/test-float-vlen16.h: Include test-float.h,
619         test-math-no-inline.h and test-math-vector.h.
620         (FLOAT): Remove macro.
621         (FUNC): Likewise.
622         (MATHCONST): Likewise.
623         (PRINTF_EXPR): Likewise.
624         (PRINTF_XEXPR): Likewise.
625         (PRINTF_NEXPR): Likewise.
626         (TEST_FLOAT): Likewise.
627         (TEST_MATHVEC): Likewise.
628         (__NO_MATH_INLINES): Likewise.
629         (CNCT): Likewise.
630         (CONCAT): Likewise.
631         (WRAPPER_NAME): Likewise.
632         (WRAPPER_DECL): Likewise.
633         (WRAPPER_DECL_ff): Likewise.
634         (WRAPPER_DECL_fFF): Likewise.
635         (VECTOR_WRAPPER): Likewise.
636         (VECTOR_WRAPPER_ff): Likewise.
637         (VECTOR_WRAPPER_fFF): Likewise.
638         (VEC_LEN): New macro.
639         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
640         test-vec-loop.h.
641         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
642         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
643         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
644         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
645         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
646         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
647         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
649 2015-06-24  Roland McGrath  <roland@hack.frob.com>
651         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
652         (__getlogin_r): ... this.
654 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
656         [BZ #18594]
657         * math/s_ccosh.c (__ccosh): Compare with least normal value
658         instead of comparing class with FP_SUBNORMAL.
659         * math/s_ccoshf.c (__ccoshf): Likewise.
660         * math/s_ccoshl.c (__ccoshl): Likewise.
661         * math/s_cexp.c (__cexp): Likewise.
662         * math/s_cexpf.c (__cexpf): Likewise.
663         * math/s_cexpl.c (__cexpl): Likewise.
664         * math/s_csin.c (__csin): Likewise.
665         * math/s_csinf.c (__csinf): Likewise.
666         * math/s_csinh.c (__csinh): Likewise.
667         * math/s_csinhf.c (__csinhf): Likewise.
668         * math/s_csinhl.c (__csinhl): Likewise.
669         * math/s_csinl.c (__csinl): Likewise.
670         * math/s_ctan.c (__ctan): Likewise.
671         * math/s_ctanf.c (__ctanf): Likewise.
672         * math/s_ctanh.c (__ctanh): Likewise.
673         * math/s_ctanhf.c (__ctanhf): Likewise.
674         * math/s_ctanhl.c (__ctanhl): Likewise.
675         * math/s_ctanl.c (__ctanl): Likewise.
676         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
677         csin, csinh, ctan and ctanh.
678         * math/auto-libm-test-out: Regenerated.
679         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
680         * sysdeps/i386/fpu/libm-test-ulps: Update.
681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
683 2015-06-24  Roland McGrath  <roland@hack.frob.com>
685         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
686         return value is wrong, print the expected value too.
688 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
690         [BZ #18585]
691         * elf/readlib.c (is_gdb_python_file): New.
692         (process_file): Don't issue errors on filenames with -gdb.py
693         suffix.
695 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
697         * math/auto-libm-test-in: Add more tests of csin and csinh.
698         * math/auto-libm-test-out: Regenerated.
699         * math/libm-test.inc (csin_test_data): Remove tests moved to
700         auto-libm-test-in.
701         (csinh_test_data): Likewise.
703         [BZ #18593]
704         * math/s_csin.c (__csin): Negate before rather than after possibly
705         overflowing multiplication.
706         * math/s_csinf.c (__csinf): Likewise.
707         * math/s_csinh.c (__csinh): Likewise.
708         * math/s_csinhf.c (__csinhf): Likewise.
709         * math/s_csinhl.c (__csinhl): Likewise.
710         * math/s_csinl.c (__csinl): Likewise.
711         * math/auto-libm-test-in: Add some tests of csin and csinh.
712         * math/auto-libm-test-out: Regenerated.
713         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
714         (csinh_test_data): Likewise.
715         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
717         [BZ #18586]
718         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
719         underflow exception for small results.
721 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
723         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
724         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
725         variable and included header.
726         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
727         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
728         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
729         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
730         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
731         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
732         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
733         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
734         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
735         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
736         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
737         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
738         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
739         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
740         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
741         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
743 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
745         [BZ #16526]
746         [BZ #16538]
747         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
748         (__sin): Force underflow exception for arguments with small
749         absolute value.
750         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
751         (__kernel_sinf): Force underflow exception for arguments with
752         small absolute value.
753         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
754         (__kernel_sincosl): Force underflow exception for arguments with
755         small absolute value.
756         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
757         (__kernel_sinl): Force underflow exception for arguments with
758         small absolute value.
759         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
760         (__kernel_sincosl): Force underflow exception for arguments with
761         small absolute value.
762         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
763         (__kernel_sinl): Force underflow exception for arguments with
764         small absolute value.
765         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
766         (__kernel_sinl): Force underflow exception for arguments with
767         small absolute value.
768         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
769         (__kernel_sinf): Force underflow exception for arguments with
770         small absolute value.
771         * math/auto-libm-test-in: Add more tests of sin and sincos.
772         * math/auto-libm-test-out: Regenerated.
774         [BZ #18245]
775         [BZ #18583]
776         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
777         (__kernel_standard_l): Use feholdexcept and fesetenv around
778         conversion to double instead of special-casing overflow and
779         underflow.
780         * math/libm-test.inc (fmod_test_data): Add more tests.
781         (remainder_test_data): Likewise.
782         (sqrt_test_data): Likewise.
784 2015-06-23  Torvald Riegel  <triegel@redhat.com>
786         [BZ #17403]
787         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
788         atomic_read_barrier, atomic_write_barrier): Define.
789         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
790         atomic_read_barrier, atomic_write_barrier): Define.
792 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
794         * math/Makefile [$(PERL) != no]
795         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
796         dependency on libm-test.stmp below the inclusion of Rules.
798 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
800         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
801         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
802         and included header.
803         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
804         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
805         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
806         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
807         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
808         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
809         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
810         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
811         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
812         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
813         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
814         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
815         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
816         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
817         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
818         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
819         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
820         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
821         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
823 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
825         [BZ #18371]
826         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
827         intermediate but not final result might underflow.
828         * math/s_csqrtf.c (__csqrtf): Likewise.
829         * math/s_csqrtl.c (__csqrtl): Likewise.
830         * math/auto-libm-test-in: Add more tests of csqrt.
831         * math/auto-libm-test-out: Regenerated.
832         * sysdeps/i386/fpu/libm-test-ulps: Update.
834         [BZ #18219]
835         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
836         threshold on absolute value of exponent for which scaling is used.
837         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
838         * math/auto-libm-test-in: Add more tests of exp2.
839         * math/auto-libm-test-out: Regenerated.
841 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
843         [BZ #17977]
844         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
845         when initializing interface list, based on the bug analysis
846         and the patch proposed by Eric Newton.
847         * resolv/tst-res_hconf_reorder.c: New test.
848         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
849         tst-res_hconf_reorder.
850         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
851         and $(shared-thread-library).
852         (tst-res_hconf_reorder-ENV): New variable.
854         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
855         in comment.
857 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
859         [BZ #16353]
860         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
861         (__expm1): Force underflow exception for arguments with small
862         absolute value.
863         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
864         (__expm1f): Force underflow exception for arguments with small
865         absolute value.
866         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
867         (__expm1): Force underflow exception for arguments with small
868         absolute value.
869         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
870         (__expm1f): Force underflow exception for arguments with small
871         absolute value.
872         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
873         Check for small arguments before calling __expm1.
874         * math/auto-libm-test-in: Do not mark underflow exceptions as
875         possibly missing for bug 16353.
876         * math/auto-libm-test-out: Regenerated.
878 2015-06-22  Andreas Schwab  <schwab@suse.de>
880         [BZ #18513]
881         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
882         PTR queries.
884 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
886         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
888         * string/strcoll_l.c: Remove unused struct element idxnow.
890 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
892         [BZ #18569]
893         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
894         underflow and return argument in case of subnormal argument.
895         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
896         Likewise.
897         * math/auto-libm-test-in: Add more tests of expm1.
898         * math/auto-libm-test-out: Regenerated.
900         [BZ #16361]
901         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
902         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
903         tiny results.
904         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
905         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
906         tiny results.
907         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
908         mark underflow exceptions as possibly missing for bug 16361.
909         * math/auto-libm-test-out: Regenerated.
911 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
913         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
914         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
915         Remove variable.
916         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
917         (test-xfail-XOPEN2K8/utmpx.h/conform).
919         * conform/conformtest.pl ($xerrors): New variable.
920         (note_error): New function.
921         (compiletest): New argument $xfail.  Use not_error.
922         (runtest): Likewise.
923         (top level): Handle xfail- lines.  Update calls to compiletest and
924         runtest.  Handle xfail- and optional- in headers listed with
925         allow-header.
926         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
927         (O_EXEC): Likewise.
928         (O_SEARCH): Likewise.
929         * conform/data/stropts.h-data (ioctl): Likewise.
930         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
931         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
932         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
933         (msghdr.msg_controllen): Likewise.
934         (cmsghdr.cmsg_len): Likewise.
935         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
936         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
937         variable.
938         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
939         (test-xfail-XPG4/stropts.h/conform): Likewise.
940         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
941         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
942         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
943         (test-xfail-UNIX98/stropts.h/conform): Likewise.
944         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
945         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
946         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
947         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
948         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
949         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
950         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
951         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
952         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
953         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
954         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
955         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
956         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
957         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
958         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
960 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
962         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
963         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
964         definitions for proper unfolding of __MATHDECL_VEC.
966 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
968         * benchtests/bench-strcoll.c:
969         Include string.h.
970         (main): Remove unused variable res.
972 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
974         * timezone/Makefile (%/UTC %/Universal):
975         Generate test-result files for UTC and Universal.
977 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
979         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
981 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
983         [BZ #16350]
984         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
985         for arguments with small absolute value.
986         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
987         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
988         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
989         (__asinh): Force underflow exception for arguments with small
990         absolute value.
991         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
992         (__asinhf): Force underflow exception for arguments with small
993         absolute value.
994         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
995         (__asinhl): Force underflow exception for arguments with small
996         absolute value.
997         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
998         (__asinhl): Force underflow exception for arguments with small
999         absolute value.
1000         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
1001         (__asinhl): Force underflow exception for arguments with small
1002         absolute value.
1003         * math/auto-libm-test-in: Do not mark underflow exceptions as
1004         possibly missing for bug 16350.
1005         * math/auto-libm-test-out: Regenerated.
1007         * include/bits/ipc.h: Remove file.
1008         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
1009         variable.
1010         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1011         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1012         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1013         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1014         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1015         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1016         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1017         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1018         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1020         * math/auto-libm-test-in: Remove spurious underflow allowance for
1021         tests of cexp.
1022         * math/auto-libm-test-out: Regenerated.
1024         [BZ #18558]
1025         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
1026         unconditional definition.
1027         (MCAST_BLOCK_SOURCE): Likewise.
1028         (MCAST_UNBLOCK_SOURCE): Likewise.
1029         (MCAST_LEAVE_GROUP): Likewise.
1030         (MCAST_JOIN_SOURCE_GROUP): Likewise.
1031         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
1032         (MCAST_MSFILTER): Likewise.
1033         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
1034         Remove variable.
1035         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1036         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1037         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1038         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1039         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1041 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
1043         * NEWS: Mention addition of x86_64 vector sincosf.
1044         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
1045         * math/test-float-vlen4.h: Likewise.
1046         * math/test-float-vlen8.h: Likewise.
1047         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1048         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
1049         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1050         * sysdeps/x86_64/fpu/Versions: New versions added.
1051         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1052         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1053         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1054         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
1055         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
1056         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
1057         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
1058         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
1059         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
1060         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
1061         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
1062         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
1063         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
1064         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
1065         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
1066         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
1067         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
1068         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1069         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1070         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1071         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1072         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1073         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1074         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1076         * NEWS: Mention addition of x86_64 vector sincos.
1077         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
1078         * math/math.h (__MATHDECL_VEC): New macro.
1079         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
1080         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
1081         declaration under condition.
1082         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
1083         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
1084         TEST_VEC_LOOP change.
1085         * math/test-double-vlen4.h: Likewise.
1086         * math/test-double-vlen8.h: Likewise.
1087         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
1088         * math/test-float-vlen4.h: Likewise.
1089         * math/test-float-vlen8.h: Likewise.
1090         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1091         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
1092         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1093         * sysdeps/x86_64/fpu/Versions: New versions added.
1094         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1095         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1096         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1097         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
1098         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
1099         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
1100         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
1101         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
1102         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
1103         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
1104         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
1105         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
1106         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
1107         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
1108         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
1109         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
1110         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
1111         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1112         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1113         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1114         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1115         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1116         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1117         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1119         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1120         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1121         redirections for powf.
1122         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1123         * sysdeps/x86_64/fpu/Versions: New versions added.
1124         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1125         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1126         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1127         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
1128         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
1129         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
1130         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
1131         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
1132         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
1133         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
1134         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
1135         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
1136         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
1137         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
1138         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
1139         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
1140         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
1141         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1142         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1143         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1144         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1145         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1146         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1147         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1148         * math/test-float-vlen16.h: Fixed 2 argument macro.
1149         * math/test-float-vlen4.h: Likewise.
1150         * math/test-float-vlen8.h: Likewise.
1151         * NEWS: Mention addition of x86_64 vector powf.
1153 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
1155         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1156         and redefine.
1157         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1158         and redefine.
1159         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
1160         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1161         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1163         [BZ #18553]
1164         * resource/getpriority.c (getpriority): Rename to __getpriority
1165         and define as weak alias of __getpriority.
1166         * resource/setpriority.c (setpriority): Rename to __setpriority
1167         and define as weak alias of __setpriority.
1168         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
1169         __getpriority and define as weak alias of __getpriority.
1170         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
1171         __setpriority and define as weak alias of __setpriority.
1172         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
1173         strong name.
1174         (setpriority): Use __setpriority as strong name.
1175         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
1176         __getpriority and define as weak alias of __getpriority.
1177         * include/sys/resource.h (__getpriority): Declare.  Use
1178         libc_hidden_proto.
1179         (__setpriority): Likewise.
1180         (getpriority): Don't use libc_hidden_proto.
1181         (setpriority): Likewise.
1182         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
1183         getpriority.  Call __setpriority instead of setpriority.
1184         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
1185         Remove variable.
1187         [BZ #18547]
1188         * misc/getttyent.c (getttynam): Rename to __getttynam and define
1189         as weak alias of __getttynam.  Use prototype function definition.
1190         Call __setttyent, __getttyent and __endttyent instead of
1191         setttyent, getttyent and endttyent.
1192         (getttyent): Rename to __getttyent and define as weak alias of
1193         __getttyent.  Call __setttyent instead of setttyent.  Call
1194         __fgets_unlocked instead of fgets_unlocked.
1195         (setttyent): Rename to __setttyent and define as weak alias of
1196         __setttyent.
1197         (endttyent): Rename to __endttyent and define as weak alias of
1198         __endttyent.
1199         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
1200         (__setttyent): Likewise.
1201         (__endttyent): Likewise.
1202         (getttyent): Don't use libc_hidden_proto.
1203         (setttyent): Likewise.
1204         (endttyent): Likewise.
1205         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
1206         __endttyent instead of setttyent, getttyent and endttyent.
1207         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
1208         Remove variable.
1210         [BZ #18546]
1211         * socket/recv.c (__recv): Use libc_hidden_def.
1212         * socket/socket.c (__socket): Likewise.
1213         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
1214         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
1215         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
1216         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
1217         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
1218         libc_hidden_def.
1219         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
1220         libc_hidden_weak.
1221         * include/sys/socket.h (__socket): Do not use attribute_hidden.
1222         Use libc_hidden_proto.
1223         (__recv): Likewise.
1224         * socket/Versions (libc): Export __recv and __socket at version
1225         GLIBC_PRIVATE.
1226         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
1227         instead of recv.
1228         (init_mq_netlink): Call __socket instead of socket.
1229         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
1230         Remove variable.
1232         [BZ #18545]
1233         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
1234         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
1235         hidden_weak.
1236         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
1237         define as alias of __mq_timedsend.  Use hidden_weak.
1238         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
1239         __mq_timedsend as strong name.
1240         (mq_timedreceive): Use __mq_timedreceive as strong name.
1241         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
1242         (__mq_timedreceive): Likewise.
1243         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
1244         __mq_timedreceive instead of mq_timedreceive.
1245         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
1246         instead of mq_timedsend.
1247         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
1248         Remove variable.
1250         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
1251         hidden_def and hidden_weak instead of libc_hidden_def and
1252         libc_hidden_weak.
1253         (top level): Refer to hidden_def in comment.
1254         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
1255         macro.  Use it instead of libc_hidden_def.
1256         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
1257         specify __GI_* name explicitly.
1258         (mq_timedreceive): Likewise.
1259         (mq_setattr): Likewise.
1261         [BZ #18544]
1262         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
1263         __pthread_barrier_init and define as weak alias of
1264         __pthread_barrier_init.
1265         * sysdeps/sparc/nptl/pthread_barrier_init.c
1266         (pthread_barrier_init): Likewise.
1267         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
1268         __pthread_barrier_wait and define as weak alias of
1269         __pthread_barrier_wait.
1270         * sysdeps/sparc/nptl/pthread_barrier_wait.c
1271         (pthread_barrier_wait): Likewise.
1272         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
1273         (pthread_barrier_wait): Likewise.
1274         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
1275         (pthread_barrier_wait): Likewise.
1276         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
1277         (pthread_barrier_wait): Likewise.
1278         * nptl/Versions (libpthread): Export __pthread_barrier_init and
1279         __pthread_barrier_wait at version GLIBC_PRIVATE.
1280         * include/pthread.h (__pthread_barrier_init): Declare.
1281         (__pthread_barrier_wait): Likewise.
1282         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
1283         Call __pthread_barrier_wait instead of pthread_barrier_wait.
1284         (helper_thread): Likewise.
1285         (init_mq_netlink): Call __pthread_barrier_init instead of
1286         pthread_barrier_init.
1288         [BZ #18542]
1289         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
1290         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
1291         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
1292         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
1293         vswscanf.
1294         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
1295         Remove variable.
1297         [BZ #18540]
1298         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
1299         strong alias of _IO_fflush.  Use libc_hidden_def.
1300         * libio/iofflush_u.c (fflush_unlocked): Rename to
1301         __fflush_unlocked and define as weak alias of __fflush_unlocked.
1302         Use libc_hidden_weak.
1303         * include/stdio.h (__fflush_unlocked): Declare.  Use
1304         libc_hidden_proto.
1305         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
1306         fflush_unlocked.
1307         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
1308         Remove variable.
1310         [BZ #18539]
1311         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
1312         define as weak alias of __addseverity.
1313         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
1314         Remove variable.
1315         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
1316         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
1317         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
1319         [BZ #18536]
1320         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
1321         (__tfind): Likewise.
1322         (__tdelete): Likewise.
1323         (__twalk): Likewise.
1324         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
1325         __twalk to GLIBC_PRIVATE.
1326         * include/search.h (__tsearch): Use libc_hidden_proto.
1327         (__tfind): Likewise.
1328         (__tdelete): Likewise.
1329         (__twalk): Likewise.
1330         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
1331         Call __tdelete instead of tdelete.
1332         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
1333         tfind.  Call __tsearch instead of tsearch.
1334         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
1335         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
1336         Remove variable.
1337         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
1339         [BZ #18534]
1340         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
1341         (dprintf): Define as a weak alias of __dprintf, not a strong
1342         alias.
1343         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
1344         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
1345         dprintf.
1346         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
1347         Remove variable.
1348         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
1349         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
1351         [BZ #18533]
1352         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
1353         not a strong alias.
1354         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
1355         Remove variable.
1357         [BZ #18532]
1358         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
1359         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
1360         (in6addr_loopback): Rename to __in6addr_loopback and define as
1361         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
1362         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
1363         libc_hidden_proto.
1364         (__in6addr_any): Likewise.
1365         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
1366         in6addr_any.
1367         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
1368         variable.
1369         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
1371 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
1373         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
1374         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
1375         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1376         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1377         redirections for pow.
1378         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1379         * sysdeps/x86_64/fpu/Versions: New versions added.
1380         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1381         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1382         build of SSE, AVX2 and AVX512 IFUNC versions.
1383         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
1384         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
1385         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
1386         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
1387         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
1388         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
1389         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
1390         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
1391         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
1392         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
1393         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
1394         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
1395         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
1396         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
1397         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1398         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1399         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1400         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1401         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1402         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1403         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1404         * NEWS: Mention addition of x86_64 vector pow.
1406         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1407         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1408         redirections for expf.
1409         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1410         * sysdeps/x86_64/fpu/Versions: New versions added.
1411         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1412         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1413         build of SSE, AVX2 and AVX512 IFUNC versions.
1414         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
1415         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
1416         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
1417         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
1418         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
1419         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
1420         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
1421         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
1422         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
1423         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
1424         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
1425         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
1426         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
1427         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1428         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1429         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1430         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1431         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1432         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1433         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1434         * NEWS: Mention addition of x86_64 vector expf.
1436         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
1437         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
1438         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1439         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1440         redirections for exp.
1441         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1442         * sysdeps/x86_64/fpu/Versions: New versions added.
1443         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1444         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1445         build of SSE, AVX2 and AVX512 IFUNC versions.
1446         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
1447         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
1448         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
1449         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
1450         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
1451         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
1452         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
1453         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
1454         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
1455         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
1456         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
1457         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
1458         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
1459         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1460         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1461         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1462         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1463         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1464         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1465         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1466         * NEWS: Mention addition of x86_64 vector exp.
1468         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1469         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1470         redirections for logf.
1471         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1472         * sysdeps/x86_64/fpu/Versions: New versions added.
1473         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1474         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1475         build of SSE, AVX2 and AVX512 IFUNC versions.
1476         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
1477         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
1478         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
1479         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
1480         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
1481         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
1482         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
1483         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
1484         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
1485         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
1486         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
1487         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
1488         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
1489         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1490         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1491         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1492         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1493         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1494         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1495         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1496         * NEWS: Mention addition of x86_64 vector logf.
1498         * bits/libm-simd-decl-stubs.h: Added stubs for log.
1499         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
1500         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1501         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1502         redirections for log.
1503         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1504         * sysdeps/x86_64/fpu/Versions: New versions added.
1505         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1506         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1507         build of SSE, AVX2 and AVX512 IFUNC versions.
1508         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
1509         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
1510         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
1511         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
1512         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
1513         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
1514         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
1515         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
1516         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
1517         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
1518         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
1519         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
1520         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
1521         test.
1522         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1523         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1524         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1525         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1526         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1527         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1528         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1529         * NEWS: Mention addition of x86_64 vector log.
1531 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1533         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
1534         cfi_adjust_cfa_offset argument.
1535         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
1536         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
1538         [BZ #18034]
1539         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
1540         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
1541         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
1542         ordering using ldar.
1543         (_dl_tlsdesc_dynamic): Likewise.
1544         (_dl_tlsdesc_return_lazy): Likewise.
1545         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
1546         relaxed atomics instead of volatile and synchronize with release store.
1547         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
1548         volatile.
1549         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1551 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
1553         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1554         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
1555         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1556         * sysdeps/x86_64/fpu/Versions: New versions added.
1557         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1558         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1559         build of SSE, AVX2 and AVX512 IFUNC versions.
1560         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
1561         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
1562         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
1563         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
1564         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
1565         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
1566         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
1567         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
1568         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
1569         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
1570         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
1571         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
1572         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
1573         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1574         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1575         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1576         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1577         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1578         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1579         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1580         * NEWS: Mention addition of x86_64 vector sinf.
1582 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
1584         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
1585         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
1586         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
1587         Remove variable.
1588         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
1589         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
1591 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
1593         [BZ #18530]
1594         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
1595         strong alias of _IO_fputs.  Use libc_hidden_def.
1596         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
1597         and define as weak alias of __fputs_unlocked.  Use
1598         libc_hidden_weak.
1599         * include/stdio.h (__fputs_unlocked): Declare.  Use
1600         libc_hidden_proto.
1601         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
1602         fputs_unlocked.
1604         [BZ #18529]
1605         * resolv/netdb.h [__USE_POSIX]: Change condition to
1606         [__USE_XOPEN2K].
1607         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
1608         not expect.
1609         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
1610         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
1611         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
1612         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
1613         [XPG4 || UNIX98] (AI_ALL): Likewise.
1614         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
1615         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
1616         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
1617         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
1618         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
1619         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
1620         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
1621         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
1622         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
1623         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
1624         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
1625         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
1626         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
1627         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
1628         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
1629         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
1630         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
1631         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
1632         [XPG4 || UNIX98] (gai_strerror): Likewise.
1633         [XPG4 || UNIX98] (getaddrinfo): Likewise.
1634         [XPG4 || UNIX98] (getnameinfo): Likewise.
1636         [BZ #18528]
1637         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
1638         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
1639         __USE_XOPEN2K8].
1640         (getgrent): Likewise.
1641         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
1642         expect.
1643         [XPG3 || POSIX2008] (endgrent): Likewise.
1644         [XPG3] (setgrent): Likewise.
1645         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
1646         variable.
1647         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
1649         [BZ #18527]
1650         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
1651         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
1652         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
1653         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
1654         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
1655         * include/unistd.h (__getlogin_r): Declare.  Use
1656         libc_hidden_proto.
1657         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
1658         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
1659         variable.
1660         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
1661         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
1662         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
1664 2015-06-12  Martin Sebor  <msebor@redhat.com>
1666         [BZ #18512]
1667         * Makerules (check-install-supported): New target.
1668         (install): Add check-install-supported as a dependency.
1669         * manual/install.texi (Installing the C Library): Document
1670         that overriding prefix and exec_prefix is not supported.
1671         Mention DESTDIR.
1672         * INSTALL: Regenerate from the above.
1674 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
1676         [BZ #18519]
1677         * posix/Versions (libc): Export __libc_pread at version
1678         GLIBC_PRIVATE.
1679         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
1680         instead of pread.
1681         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
1682         variable.
1684         [BZ #18522]
1685         * misc/efgcvt_r.c
1686         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
1687         (cvt_symbol): Use weak_alias instead of strong_alias.
1688         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
1689         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
1690         Remove variable.
1691         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
1692         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
1694         [BZ #18520]
1695         * inet/herrno.c (h_errno): Rename to __h_errno.
1696         (__libc_h_errno): Define as alias of __h_errno not h_errno.
1697         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
1698         to __h_errno instead of h_errno.
1699         * nptl/herrno.c (h_errno): Rename to __h_errno.
1700         (__h_errno_location): Refer to __h_errno not h_errno.
1701         * resolv/Versions (h_errno): Rename to __h_errno.
1702         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
1703         Remove variable.
1704         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
1706 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
1708         * configure.ac: More strict check for AVX512 assembler support.
1709         * configure: Regenerated.
1711         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
1712         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
1713         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1714         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
1715         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1716         * sysdeps/x86_64/fpu/Versions: New versions added.
1717         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1718         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1719         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1720         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
1721         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
1722         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
1723         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
1724         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
1725         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
1726         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
1727         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
1728         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
1729         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
1730         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
1731         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
1732         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
1733         test.
1734         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1735         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1736         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1737         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1738         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1739         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1740         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1741         * NEWS: Mention addition of x86_64 vector sin.
1743 2015-06-11  Florian Weimer  <fweimer@redhat.com>
1745         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
1746         comment.
1748 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
1750         [BZ #18479]
1751         * nptl/pt-interp.c: New file.
1752         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
1753         Add pt-interp.
1754         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
1755         $(common-objpfx)runtime-linker.h.
1757 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
1759         * Makeconfig (+interp): Remove unused variable.
1760         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
1761         only.  Depend on $(common-objpfx)runtime-linker.h instead of
1762         $(elf-objpfx)runtime-linker.h.
1763         ($(elf-objpfx)runtime-linker.h): Rename to
1764         $(common-objpfx)runtime-linker.h and move ...
1765         * Makerules [$(build-shared) = yes]: ... here.
1766         * elf/interp.c: Include <runtime-linker.h> instead of
1767         <elf/runtime-linker.h>.
1769 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1771         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
1772         (__gettimeofday_syscall): Remove vsyscall fallback.
1773         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
1774         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
1775         Add syscall fallback function.
1776         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
1777         if vDSO is not present.
1778         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
1779         fallback function.
1780         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
1781         present.
1782         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
1783         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
1785 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
1787         [BZ #18497]
1788         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
1789         of wcscmp.
1790         (wcscmp): Define as weak alias of WCSCMP.
1791         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
1792         wcscoll.
1793         (USE_HIDDEN_DEF): Define.
1794         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
1795         __wcscoll.  Don't use libc_hidden_weak.
1796         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
1797         wcscmp.
1798         * sysdeps/i386/i686/multiarch/wcscmp-c.c
1799         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
1800         __GI_wcscmp.
1801         (weak_alias): Undefine and redefine.
1802         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
1803         __wcscmp and define as weak alias of __wcscmp.
1804         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
1805         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
1806         (__wcscoll): Likewise.
1807         (wcscmp): Don't use libc_hidden_proto.
1808         (wcscoll): Likewise.
1809         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
1810         wcscoll.
1811         * posix/regexec.c (check_node_accept_bytes): Likewise.
1812         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
1813         variable.
1814         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
1815         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
1817         [BZ #18507]
1818         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
1819         __fstatvfs and define as weak alias of __fstatvfs.  Use
1820         libc_hidden_weak.
1821         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
1822         and define as weak alias of __statvfs.  Use libc_hidden_weak.
1823         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
1824         Define as alias of __fstatvfs, not fstatvfs.
1825         (fstatvfs64): Likewise.
1826         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
1827         Define as alias of __statvfs, not statvfs.
1828         (statvfs64): Likewise.
1829         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
1830         Remove variable.
1832 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1835         (HAVE_GETCPU_VSYSCALL): Define.
1836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1837         (HAVE_GETCPU_VSYSCALL): Likewise.
1838         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
1839         * sysdeps/unix/sysv/linux/sched_getcpu.c
1840         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
1841         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
1842         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
1843         prototype.
1844         * sysdeps/unix/sysv/linux/x86_64/init-first.c
1845         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
1846         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
1847         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
1848         Define.
1849         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
1850         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1851         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
1852         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1854 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
1856         * sysdeps/x86_64/fpu/Makefile: New file.
1857         * sysdeps/x86_64/fpu/Versions: New file.
1858         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
1859         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
1860         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
1861         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
1862         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
1863         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
1864         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
1865         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
1866         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
1867         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
1868         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
1869         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
1870         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
1871         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1872         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1873         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
1874         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
1875         * sysdeps/x86_64/configure.ac: Options for libmvec build.
1876         * sysdeps/x86_64/configure: Regenerated.
1877         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
1878         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
1879         * manual/install.texi (Configuring and compiling): Document
1880         --disable-mathvec.
1881         * INSTALL: Regenerated.
1882         * NEWS: Mention addition of libmvec and x86_64 vector cos.
1884         * math/Makefile: Added rules for vector tests.
1885         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
1886         declaration under condition.
1887         * math/test-double-vlen2.h: New file.
1888         * math/test-double-vlen4.h: New file.
1889         * math/test-double-vlen8.h: New file.
1890         * math/test-vec-loop.h: Added initialization macro.
1891         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
1892         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
1893         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
1894         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
1895         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
1896         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
1897         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
1898         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
1899         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
1900         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
1901         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
1903         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1904         * sysdeps/x86_64/fpu/Versions: New versions added.
1905         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
1906         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
1907         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
1908         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
1909         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
1910         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
1911         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
1912         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
1913         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
1914         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
1915         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
1916         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
1917         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
1918         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1919         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1920         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1921         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
1922         * NEWS: Mention addition of x86_64 vector cosf.
1924         * math/Makefile: Added CFLAGS for new tests.
1925         * math/test-float-vlen16.h: New file.
1926         * math/test-float-vlen4.h: New file.
1927         * math/test-float-vlen8.h: New file.
1928         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
1929         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
1930         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1931         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
1932         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
1933         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
1934         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
1935         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
1936         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
1937         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
1938         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
1940 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
1942         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
1943         * locale/programs/ld-ctype.c: Likewise.
1945 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
1947         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
1948         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
1949         bit_ZMM16_31_state): New macro.
1950         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1951         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
1953 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
1955         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
1957 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
1959         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
1961 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
1963         [BZ #18498]
1964         * libio/memstream.c (open_memstream): Rename to __open_memstream
1965         and define as weak alias of __open_memstream.
1966         * include/stdio.h (__open_memstream): Declare.  Use
1967         libc_hidden_proto.
1968         (open_memstream): Don't use libc_hidden_proto.
1969         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
1970         open_memstream.
1971         * posix/getopt.c (_getopt_internal_r): Likewise.
1972         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
1973         variable.
1974         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
1975         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
1976         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
1978         [BZ #18496]
1979         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
1980         instead of wcrtomb.
1982         [BZ #18483]
1983         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
1984         [__USE_XOPEN2K8].  Remove redundant #endif.
1985         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
1986         Remove redundant #if.
1987         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
1988         Remove variable.
1989         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
1990         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
1992         [BZ #18495]
1993         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
1994         (__iswlower): Likewise.
1995         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
1996         (__iswlower): Likewise.
1997         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
1998         instead of towlower.
1999         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
2000         instead of iswlower.  Call __towupper instead of towupper.
2001         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
2002         instead of iswalnum.
2004 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2006         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
2007         errors to stderr.
2009 2015-06-05  Florian Weimer  <fweimer@redhat.com>
2011         [BZ #15661]
2012         [BZ #17322]
2013         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
2014         Check for overflow properly.  Check for O_APPEND.  Ignore large
2015         file system block sizes.  Add comments about problems.
2016         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
2017         * manual/filesys.texi (Storage Allocation): New node.
2019 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2021         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
2022         cancellable syscalls.
2023         (SYS_ify): Add guard to no redefine it.
2024         (INLINE_SYSCALL): Likewise.
2025         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
2026         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
2027         SYSCALL_CANCEL instead.
2028         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
2029         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2030         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2031         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2032         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2033         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
2034         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
2035         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
2036         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
2037         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
2038         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
2039         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
2040         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
2041         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
2042         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
2043         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2044         Likewise.
2045         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2046         (__libc_pread64): Likewise.
2047         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
2048         (__libc_preadv): Likewise.
2049         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
2050         (__libc_readv64): Likewise.
2051         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2052         (__libc_pwrite): Likewise.
2053         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2054         (__libc_pwrite64): Likewise.
2055         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
2056         (__libc_pwritev): Likewise.
2057         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
2058         (__libc_pwritev64): Likewise.
2059         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
2060         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
2061         (sync_file_range): Likewise.
2062         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
2063         Likewise.
2064         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
2065         Likewise.
2066         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2067         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2068         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2069         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2070         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2071         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2072         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
2073         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
2074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2075         Likewise.
2076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2077         (__libc_read64): Likewise.
2078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
2079         Likewise.
2080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
2081         Likewise.
2082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
2083         Likewise.
2084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
2085         Likewise.
2086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2087         (__libc_pread64): Likewise.
2088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
2089         Likewise.
2090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2091         (__libc_pwrite64): Likewise.
2092         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
2093         (sync_file_range): Likewise.
2094         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
2095         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2096         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2097         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
2098         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
2099         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2100         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2101         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
2102         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
2103         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
2104         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
2105         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2106         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2107         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2108         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
2109         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2110         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2111         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2112         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2113         Likewise.
2114         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
2115         Likewise.
2116         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
2117         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
2118         Likewise.
2119         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
2120         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
2121         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
2122         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
2123         Likewise.
2124         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
2125         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
2126         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
2127         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
2128         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
2130 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
2132         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
2133         Include dl-vdso.
2134         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
2135         Use VDSO routines for gettimeofday, clock_gettime if
2136         available.
2137         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
2138         Declare VDSO symbols.
2139         * sysdeps/unix/sysv/linux/arm/sysdep.h:
2140         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
2141         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2142         * sysdeps/unix/sysv/linux/arm/Versions: Add
2143         __vdso_clock_gettime.
2145 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2147         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
2148         be an inline implementation regardless of library is built within.
2149         (open_not_cancel_2): Likewise.
2150         (__read_nocancel): Likewise.
2151         (__write_nocancel): Likewise.
2152         (openat_not_cancel): Likewise.
2153         (openat_not_cancel_3): Likewise.
2154         (openat64_not_cancel): Likewise.
2155         (openat64_not_cancel_3): Likewise.
2156         (__close_nocancel): Likewise.
2157         (pause_not_cancel): Likewise.
2158         (nanosleep_not_cancel): Likewise.
2159         (sigsuspend_not_cancel): Likewise.
2161 2015-06-04  Torvald Riegel  <triegel@redhat.com>
2163         [BZ #14958]
2164         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
2165         wake-up.
2166         (__pthread_rwlock_rdlock_slow): Likewise.
2167         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2168         Likewise.
2169         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2170         Likewise.
2171         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
2172         * nptl/tst-rwlock16.c: New file.
2173         * nptl/Makefile (tests): Add new test.
2175 2015-06-04  Torvald Riegel  <triegel@redhat.com>
2177         [BZ #18324]
2178         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
2179         missing wake-up of readers.
2180         * nptl/tst-rwlock15.c: New file.
2181         * nptl/Makefile (tests): Add new test.
2183 2015-06-03  Roland McGrath  <roland@hack.frob.com>
2185         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
2186         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
2187         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
2188         and __nacl_supply_interface_rtld.
2189         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
2190         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
2191         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
2192         Add __nacl_supply_interface_rtld.
2193         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
2195 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
2197         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
2198         isfinite.
2199         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2200         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
2202 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
2204         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
2205         __signbit* with standard C99 macros.
2206         * math/e_exp10l.c: Likewise.
2207         * math/e_exp2l.c: Likewise.
2208         * math/e_scalb.c: Likewise.
2209         * math/e_scalbf.c: Likewise.
2210         * math/e_scalbl.c: Likewise.
2211         * math/s_ldexp.c: Likewise.
2212         * math/s_ldexpf.c: Likewise.
2213         * math/s_ldexpl.c: Likewise.
2214         * math/w_atan2.c: Likewise.
2215         * math/w_atan2f.c: Likewise.
2216         * math/w_atan2l.c: Likewise.
2217         * math/w_cosh.c: Likewise.
2218         * math/w_coshf.c: Likewise.
2219         * math/w_coshl.c: Likewise.
2220         * math/w_exp10.c: Likewise.
2221         * math/w_exp10f.c: Likewise.
2222         * math/w_exp10l.c: Likewise.
2223         * math/w_exp2.c: Likewise.
2224         * math/w_exp2f.c: Likewise.
2225         * math/w_exp2l.c: Likewise.
2226         * math/w_fmod.c: Likewise.
2227         * math/w_fmodf.c: Likewise.
2228         * math/w_fmodl.c: Likewise.
2229         * math/w_hypot.c: Likewise.
2230         * math/w_hypotf.c: Likewise.
2231         * math/w_hypotl.c: Likewise.
2232         * math/w_jnl.c: Likewise.
2233         * math/w_lgamma.c: Likewise.
2234         * math/w_lgamma_r.c: Likewise.
2235         * math/w_lgammaf.c: Likewise.
2236         * math/w_lgammaf_r.c: Likewise.
2237         * math/w_lgammal.c: Likewise.
2238         * math/w_lgammal_r.c: Likewise.
2239         * math/w_pow.c: Likewise.
2240         * math/w_powf.c: Likewise.
2241         * math/w_powl.c: Likewise.
2242         * math/w_remainder.c: Likewise.
2243         * math/w_remainderf.c: Likewise.
2244         * math/w_remainderl.c: Likewise.
2245         * math/w_scalb.c: Likewise.
2246         * math/w_scalbf.c: Likewise.
2247         * math/w_scalbl.c: Likewise.
2248         * math/w_scalbln.c: Likewise.
2249         * math/w_scalblnf.c: Likewise.
2250         * math/w_scalblnl.c: Likewise.
2251         * math/w_sinh.c: Likewise.
2252         * math/w_sinhf.c: Likewise.
2253         * math/w_sinhl.c: Likewise.
2254         * math/w_tgamma.c: Likewise.
2255         * math/w_tgammaf.c: Likewise.
2256         * math/w_tgammal.c: Likewise.
2257         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2258         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
2259         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2260         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2261         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2262         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2263         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2264         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
2265         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2266         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2267         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2268         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2269         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2270         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2271         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2272         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2273         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2274         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2275         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2276         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2277         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2278         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2279         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2280         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2281         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2282         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2283         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
2284         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2285         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2286         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2287         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
2288         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
2289         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
2290         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
2291         * stdio-common/printf_fp.c: Likewise.
2292         * stdio-common/printf_fphex.c: Likewise.
2293         * stdio-common/printf_size.c: Likewise.
2295 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
2297         [BZ #18470]
2298         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
2299         strnlen.
2300         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
2301         Remove variable.
2302         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
2303         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2304         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2305         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2306         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
2307         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
2308         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
2309         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
2310         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
2311         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
2313         [BZ #18468]
2314         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
2315         weak alias of __wmemchr.  Use libc_hidden_weak.
2316         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
2317         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
2318         instead of wmemchr.
2320 2015-06-02  Roland McGrath  <roland@hack.frob.com>
2322         [BZ #18383]
2323         * elf/tst-tlsalign-extern.c: New file.
2324         * elf/tst-tlsalign-extern-static.c: New file.
2325         * elf/tst-tlsalign-vars.c: New file.
2326         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
2327         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
2328         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
2329         ($(objpfx)tst-tlsalign-extern-static): Likewise.
2330         (test-xfail-tst-tlsalign-extern-static): New variable.
2332 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
2334         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
2335         Use variable name _sc_err instead of err.
2336         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
2337         instead of ret.
2338         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
2339         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
2340         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
2341         (INLINE_SYSCALL): Likewise.
2343         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
2344         * include/string.h (__strnlen): Use libc_hidden_proto.
2345         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
2346         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
2347         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
2348         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
2349         (libc_hidden_def): Undefine and redefine.
2350         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
2351         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
2352         __GI_strnlen.
2353         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
2354         libc_hidden_def.
2355         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
2357         [BZ #18469]
2358         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
2359         weak alias of __towlower.  Use libc_hidden_weak.
2360         (towupper): Rename to __towupper and define as weak alias of
2361         __towupper.  Use libc_hidden_weak.
2362         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
2363         (__towupper): Likewise.
2364         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
2365         __towlower instead of towlower.
2367 2015-06-02  Roland McGrath  <roland@hack.frob.com>
2369         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
2370         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
2372 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2374         * sysdeps/aarch64/libm-test-ulps: Update.
2376 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2378         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
2379         Define.
2380         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2381         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
2382         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
2383         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2384         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
2385         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
2386         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
2388 2015-06-01  Martin Sebor  <msebor@redhat.com>
2390         [BZ #18116]
2391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2392         (__setcontext): Use extended four-operand version of mtsf whenever
2393         possible.
2394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2395         (__novec_swapcontext): Likewise.
2397 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
2399         * benchtests/scripts/compare_bench.py: New file.
2400         * benchtests/scripts/import_bench.py (mean): New function.
2401         (split_list): Likewise.
2402         (do_for_all_timings): Likewise.
2403         (compress_timings): Likewise.
2405         * benchtests/scripts/import_bench.py: New file.
2406         * benchtests/scripts/validate_benchout.py: Import import_bench
2407         instead of jsonschema.
2408         (validate_bench): Remove function.
2409         (main): Use import_bench.
2411 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
2413         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
2414         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
2416 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2418         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2420 2015-05-28  Roland McGrath  <roland@hack.frob.com>
2422         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
2423         set THREAD_SELF->tid to a magic value and futex-wake it.
2424         Pass its address to the thread_exit system call.
2425         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
2426         bit is clear.
2427         * sysdeps/nacl/lowlevellock.h: New file.
2428         * sysdeps/nacl/lll_timedwait_tid.c: New file.
2430         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
2431         Add TIMEOUT to current time, don't subtract it.
2433 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
2435         [BZ #18422]
2436         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
2437         ($(objpfx)tst-audit2.out): Also depend on
2438         $(objpfx)tst-auditmod9b.so.
2439         * elf/tst-audit2.c: Include <dlfcn.h>.
2440         (calloc_called): New.
2441         (calloc): Allow to be called more than once.
2442         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
2444 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
2446         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
2447         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
2449 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
2451         * stdlib/monetary.h: Fix comment.
2453 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
2455         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
2456         Avoid using variables in #defines that might cause shadowing.
2457         (INTERNAL_VSYSCALL_CALL): Likewise.
2459 2015-05-26  Roland McGrath  <roland@hack.frob.com>
2461         * sysdeps/nacl/lll_timedlock_wait.c: New file.
2463         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
2464         * nptl/lll_timedlock_wait.c: ... to this new file.
2465         * nptl/Makefile (libpthread-routines): Add it.
2466         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
2467         * nptl/lll_timedwait_tid.c: ... to this new file.
2468         * nptl/Makefile (libpthread-routines): Add it.
2469         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
2470         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
2471         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
2472         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
2473         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
2474         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
2475         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
2476         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
2477         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
2478         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
2480 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2482         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
2483         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2484         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
2485         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
2486         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
2487         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2488         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2489         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2490         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2491         * sysdeps/unix/sysv/linux/tile/sysdep.h
2492         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2493         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
2494         using vDSO syscall macro.
2496 2015-05-26  Andriy Rysin  <arysin@gmail.com>
2498         [BZ #17293]
2499         * uk_UA: Fix sorting order for Ukrainian locale
2501 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
2503         * stdlib/monetary.h: Fix comment.
2505 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2507         [BZ #18234]
2508         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
2509         st_mtim and st_ctim members.
2510         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
2511         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
2512         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
2513         (struct stat64): Likewise.
2514         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
2515         (struct stat64): Likewise.
2516         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
2517         (struct stat64): Likewise.
2519 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2521         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
2522         Define and include sysdep-vdso.h.
2523         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
2524         Likewise.
2525         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
2526         Likewise.
2527         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
2528         Define with VDSO_SYMBOL and use PTR_MANGLE.
2529         (__vdso_clock_gettime): Likewise.
2530         (__vdso_clock_getres): Likewise.
2531         (_libc_vdso_platform_setup): Likewise.
2532         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
2533         Likewise.
2534         (_libc_vdso_platform_setup): Likewise.
2535         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
2536         Likewise.
2537         (__vdso_clock_gettime): Likewise.
2538         (__vdso_clock_getres): Likewise.
2539         (__vdso_get_tbfreq): Likewise.
2540         (__vdso_getcpu): Likewise.
2541         (__vdso_time): Likewise.
2542         (__vdso_sigtramp_rt64): Likewise.
2543         (__vdso_signtramp32): Likewise.
2544         (__vdso_sigtramp_rt32): Likewise.
2545         (_libc_vdso_platform_setup): Likewise.
2546         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
2547         Likewise.
2548         (__vdso_clock_gettime): Likewise.
2549         (__vdso_clock_getres): Likewise.
2550         (_libc_vdso_platform_setup): Likewise.
2551         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
2552         Likewise.
2553         (__vdso_clock_gettime): Likewise.
2554         (_libc_vdso_platform_setup): Likewise.
2555         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2556         Likewise.
2557         (__vdso_getcpu): Likewise.
2558         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
2559         Use VDSO_SYMBOL macro to define.
2560         (__vdso_clock_gettime): Likewise.
2561         (__vdso_clock_getres): Likewise.
2562         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
2563         Likewise.
2564         (__vdso_clock_gettime): Likewise.
2565         (__vdso_clock_getres): Likewise.
2566         (__vdso_get_tbfreq): Likewise.
2567         (__vdso_getcpu): Likewise.
2568         (__vdso_time): Likewise.
2569         (__vdso_sigtramp_rt64): Likewise.
2570         (__vdso_signtramp32): Likewise.
2571         (__vdso_sigtramp_rt32): Likewise.
2572         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
2573         Likewise.
2574         (__vdso_clock_gettime): Likewise.
2575         (__vdso_clock_getres): Likewise.
2576         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
2577         Likewise.
2578         (__vdso_clock_gettime): Likewise.
2579         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
2580         Likewise.
2581         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
2582         macro.
2583         (INTERNAL_VSYSCALL): Likewise.
2584         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
2585         Remove macro.
2586         (INTERNAL_VSYSCALL): Likewise.
2587         (INTERNAL_VSYSCALL_NCS): Likewise.
2588         (INTERNAL_VSYSCALL_CALL): New macro.
2589         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
2590         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
2591         Likewise.
2592         (INTERNAL_VSYSCALL): Likewise.
2593         (INTERNAL_VSYSCALL_NCS): Likewise.
2594         (INTERNAL_VSYSCALL_CALL): New macro.
2595         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
2596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2597         (INLINE_VSYSCALL): Remove macro.
2598         (INTERNAL_VSYSCALL): Remove macro.
2599         (INTERNAL_VSYSCALL_NCS): Remove macro.
2600         (INTERNAL_VSYSCALL_CALL): New macro.
2601         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
2602         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
2603         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
2604         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
2605         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
2606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2607         (INLINE_VSYSCALL): Remove macro.
2608         (INTERNAL_VSYSCALL): Likewise.
2609         (INTERNAL_VSYSCALL_NCS): Likewise.
2610         (INTERNAL_VSYSCALL_CALL): New macro.
2611         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
2612         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
2613         PTR_DEMANGLE on vDSO pointer.
2614         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
2615         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
2616         macro.
2617         (INTERNAL_SYSCALL): Likewise.
2618         (INTERNAL_VSYSCALL_NCS): Remove macro.
2619         (INTERNAL_VSYSCALL_CALL): New macro.
2620         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
2621         Remove macro.
2622         (INTERNAL_VSYSCALL): Likewise.
2623         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
2624         sysdep-vdso.h instead of libc-vdso.h.
2625         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
2626         definition.
2627         (INLINE_VSYSCALL): Likewise.
2628         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
2629         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
2630         definition.
2631         (INLINE_VSYSCALL): Likewise.
2632         (INTERNAL_VSYSCALL): Likewise.
2633         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2634         * sysdeps/unix/sysv/linux/timespec_get.c
2635         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2636         (timespec_get): Use ANSI prototype.
2637         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
2638         and definition for Linux.
2640 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
2642         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
2643         * include/libc-symbols.h: libmvec_hidden_* macro series added.
2645 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
2647         [BZ #18410]
2648         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
2649         for missing DT_PLTRELSZ.
2651 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
2653         Remove obsolete aliases that broke 'locale -a'
2654         [BZ #18412]
2655         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
2656         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
2657         breaking some applications that use 'locale -a' output.
2658         Change the encoding of this file from Latin-1 to ASCII to avoid
2659         other potential problems with people grepping this file.
2661 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2663         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
2664         -fasynchronous-unwind-tables.
2665         (CFLAGS-sendto.c): Likewise.
2666         (CFLAGS-sendmsg.c): Likewise.
2667         (CFLAGS-connect.c): Likewise.
2668         (CFLAGS-recvmsg.c): Likewise.
2669         (CFLAGS-recvfrom.c): Likewise.
2670         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
2671         (SOCKETCALL): New macro: non-cancellable socketcall.
2672         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
2673         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
2674         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
2675         * sysdeps/unix/sysv/linux/accept.c: New file.
2676         * sysdeps/unix/sysv/linux/bind.c: Likewise.
2677         * sysdeps/unix/sysv/linux/connect.c: Likewise.
2678         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
2679         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
2680         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
2681         * sysdeps/unix/sysv/linux/listen.c: Likewise.
2682         * sysdeps/unix/sysv/linux/recv.c: Likewise.
2683         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
2684         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
2685         * sysdeps/unix/sysv/linux/send.c: Likewise.
2686         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
2687         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
2688         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
2689         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
2690         * sysdeps/unix/sysv/linux/socket.c: Likewise.
2691         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
2692         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
2693         prototype.
2694         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
2695         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2696         instead of __internal_xxx function.
2697         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
2698         prototype.
2699         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
2700         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2701         instead of __internal_xxx function.
2702         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
2703         prototype.
2704         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
2705         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2706         instead of __internal_xxx function.
2707         * sysdeps/unix/sysv/linux/accept.S: Remove file.
2708         * sysdeps/unix/sysv/linux/bind.S: Likewise.
2709         * sysdeps/unix/sysv/linux/connect.S: Likewise.
2710         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
2711         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
2712         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
2713         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
2714         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
2715         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
2716         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
2717         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
2718         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2719         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
2720         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
2721         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
2722         * sysdeps/unix/sysv/linux/listen.S: Likewise.
2723         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
2724         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
2725         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
2726         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
2727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
2728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
2729         * sysdeps/unix/sysv/linux/recv.S: Likewise.
2730         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
2731         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
2732         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
2733         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2734         * sysdeps/unix/sysv/linux/send.S: Likewise.
2735         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
2736         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
2737         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
2738         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
2739         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
2740         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
2741         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
2742         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
2743         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
2744         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
2745         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
2746         socketcall is implemented in GLIBC.
2748 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
2750         * soft-fp/fmadf4.c: Include <libc-internal.h>.
2751         (__fma): Ignore uninitialized warnings around packing.
2752         * soft-fp/fmasf4.c: Include <libc-internal.h>.
2753         (__fmaf): Ignore uninitialized warnings around packing.
2754         * soft-fp/fmatf4.c: Include <libc-internal.h>.
2755         (__fmal): Ignore uninitialized warnings around packing.
2757         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
2758         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2759         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
2760         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2762         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
2763         switch statement into default case.
2764         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
2766         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
2767         a conditional in forcing "inexact".
2768         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
2769         Likewise.
2771 2015-05-22  Roland McGrath  <roland@hack.frob.com>
2773         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
2774         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
2775         for each INTERNAL_SYSCALL use.
2777 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
2779         [BZ #438]
2780         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
2781         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
2782         variable.
2784         [BZ #18444]
2785         * string/basename.c (basename): Rename to __basename and define as
2786         weak alias of __basename.  Use libc_hidden_weak.
2787         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
2788         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
2789         __basename instead of basename.
2790         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
2791         Remove variable.
2792         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
2794 2015-05-18  Florian Weimer  <fweimer@redhat.com>
2796         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
2797         (_IO_JUMPS_FILE_plus): New.
2798         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
2799         _IO_CAST_FIELD_ACCESS.
2800         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
2801         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
2802         * libio/freopen.c (freopen): Likewise.
2803         * libio/freopen64.c (freopen64): Likewise.
2804         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
2805         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
2806         * libio/iofwide.c (_IO_fwide): Likewise.
2807         * libio/memstream.c (open_memstream): Likewise.
2808         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
2809         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2810         * libio/oldiopopen.c (_IO_old_popen): Likewise.
2812 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
2814         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
2815         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
2816         NADJ.
2817         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
2818         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
2819         NADJ.
2820         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
2821         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
2822         NADJ.
2824         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
2825         (p == 4) case.
2827         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
2828         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
2829         Remove variable.
2830         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
2831         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
2832         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
2834 2015-05-21  Florian Weimer  <fweimer@redhat.com>
2836         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
2837         Adjust jump table label generation macros.
2839 2015-05-21  Florian Weimer  <fweimer@redhat.com>
2841         * stdio-common/vfprintf.c (vfprintf): Move local variables
2842         args_malloced, specs, specs_malloced, and the code after
2843         do_positional to the printf_positional function.
2844         (printf_positional): New function.
2846 2015-05-21  Florian Weimer  <fweimer@redhat.com>
2848         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
2849         function.
2850         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
2851         STEP4_TABLE, process_arg): Move macro definitions
2852         out of the vfprintf function.  (Cosmetic change only.)
2854 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
2856         * benchtests/Makefile (stdio-common-bench): Define.
2857         (benchset): Add stdio-common-bench.
2858         * sprintf-inputs: New file.
2859         * sprintf-source.c: New file.
2861 2015-05-21  Andreas Schwab  <schwab@suse.de>
2863         [BZ #13028]
2864         [BZ #17053]
2865         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
2866         of struct __res_state.
2867         * resolv/res_send.c (__libc_res_nsend): Likewise.
2868         (get_nsaddr): New function.
2869         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
2870         statp directly.
2872 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
2874         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
2875         -D_POSIX_C_SOURCE=199506L.
2877         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
2879         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
2880         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
2881         Do not mention otherwise.
2882         [POSIX] (_XOPEN_VERSION): Do not expect.
2883         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
2884         [POSIX] (_POSIX2_C_BIND): Likewise.
2885         [POSIX] (_POSIX2_VERSION): Likewise.
2886         [POSIX] (_XOPEN_XPG2): Likewise.
2887         [POSIX] (_XOPEN_XPG3): Likewise.
2888         [POSIX] (_XOPEN_XPG4): Likewise.
2889         [POSIX] (_XOPEN_UNIX): Likewise.
2890         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
2891         [POSIX] (_POSIX_BARRIERS): Likewise.
2892         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
2893         [POSIX] (_POSIX_CPUTIME): Likewise.
2894         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
2895         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
2896         [POSIX] (_POSIX_SHELL): Likewise.
2897         [POSIX] (_POSIX_SPAWN): Likewise.
2898         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
2899         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
2900         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
2901         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
2902         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
2903         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
2904         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
2905         [POSIX] (_XBS5_LP64_OFF64): Likewise.
2906         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
2907         [POSIX] (_POSIX_TIMEOUTS): Likewise.
2908         [POSIX] (_POSIX2_PBS): Likewise.
2909         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
2910         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
2911         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
2912         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
2913         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
2914         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
2915         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
2916         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
2917         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
2918         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
2919         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
2920         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
2921         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
2922         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
2923         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
2924         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
2925         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
2926         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
2927         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
2928         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
2929         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
2930         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
2931         [POSIX] (_SC_2_C_BIND): Likewise.
2932         [POSIX] (_SC_2_C_VERSION): Likewise.
2933         [POSIX] (_SC_2_PBS): Likewise.
2934         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
2935         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
2936         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
2937         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
2938         [POSIX] (_SC_2_PBS_TRACK): Likewise.
2939         [POSIX] (_SC_ATEXIT_MAX): Likewise.
2940         [POSIX] (_SC_BARRIERS): Likewise.
2941         [POSIX] (_SC_BASE): Likewise.
2942         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
2943         [POSIX] (_SC_DEVICE_IO): Likewise.
2944         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
2945         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
2946         [POSIX] (_SC_FD_MGMT): Likewise.
2947         [POSIX] (_SC_FIFO): Likewise.
2948         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
2949         [POSIX] (_SC_FILE_LOCKING): Likewise.
2950         [POSIX] (_SC_FILE_SYSTEM): Likewise.
2951         [POSIX] (_SC_IOV_MAX): Likewise.
2952         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
2953         [POSIX] (_SC_NETWORKING): Likewise.
2954         [POSIX] (_SC_PAGE_SIZE): Likewise.
2955         [POSIX] (_SC_PASS_MAX): Likewise.
2956         [POSIX] (_SC_PIPE): Likewise.
2957         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
2958         [POSIX] (_SC_REGEXP): Likewise.
2959         [POSIX] (_SC_SHELL): Likewise.
2960         [POSIX] (_SC_SIGNALS): Likewise.
2961         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
2962         [POSIX] (_SC_SPIN_LOCKS): Likewise.
2963         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
2964         [POSIX] (_SC_USER_GROUPS): Likewise.
2965         [POSIX] (_SC_USER_GROUPS_R): Likewise.
2966         [POSIX] (_SC_STREAMS): Likewise.
2967         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
2968         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
2969         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
2970         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
2971         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
2972         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
2973         [POSIX] (_PC_FILESIZEBITS): Likewise.
2974         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
2975         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
2976         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
2977         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
2978         [POSIX] (uid_t): Likewise.
2979         [POSIX] (gid_t): Likewise.
2980         [POSIX] (off_t): Likewise.
2981         [POSIX] (pid_t): Likewise.
2982         [POSIX] (cuserid): Allow.
2983         (_SC_2_CHAR_TERM): Require constant.
2984         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
2985         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
2986         variable.
2988 2015-05-20  Roland McGrath  <roland@hack.frob.com>
2990         * sysdeps/nacl/pthread-pids.h: New file.
2991         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
2992         (create_thread): Use __nacl_get_tid to initialize PD->tid.
2994         * nptl/pthread-pids.h: New file.
2995         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
2996         * nptl/nptl-init.c: Include <pthread-pids.h>.
2997         (__pthread_initialize_minimal_internal):
2998         Call __pthread_initialize_pids instead of set_tid_address syscall.
3000         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
3001         * sysdeps/posix/usleep.c: ... here.
3003 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3005         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
3006         call_pselect6 object.
3007         [$(subdir) = io]: Remove call_sync_file_range object.
3008         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
3009         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
3010         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
3011         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
3013 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
3015         * math/s_cproj.c: Add include "math_private.h".
3016         * math/s_cprojf.c: Likewise.
3017         * math/s_cprojl.c: Likewise.
3019 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
3021         [BZ #18244]
3022         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
3023         high mantissa bit when testing whether P is a NaN.
3024         * math/libm-test.inc (remainder_test_data): Add more tests.
3025         (remquo_test_data): Likewise.
3027         [BZ #18049]
3028         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
3029         below -32, return the argument, with underflow if subnormal.
3030         * math/auto-libm-test-in: Add more tests of atanh.
3031         * math/auto-libm-test-out: Regenerated.
3033 2015-05-19  Roland McGrath  <roland@hack.frob.com>
3035         [BZ #18434]
3036         * nptl/tst-sem15.c: New file.
3037         * nptl/Makefile (tests): Add it.
3038         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
3039         s/<</>>/ to fix typo in EOVERFLOW check.
3040         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
3042 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3044         * manual/strings.texi (envz_remove): Fix typo in safety
3045         annotations.
3047 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
3048             Steve Ellcey  <sellcey@imgtec.com>
3050         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
3051         in order to avoid strict alias warnings.
3052         (iruserok_af): Ditto for ra.
3054 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
3056         [BZ #17581]
3057         * malloc/hooks.c
3058         (magicbyte): Convert to a function and avoid returning 0x01.
3059         (mem2mem_check): Avoid using a length byte equal to the magic byte.
3060         (mem2chunk_check): Fix unsigned comparisons to zero.
3061         Hoist defs of sz and magic.
3063 2015-05-19  Richard Henderson  <rth@redhat.com>
3065         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
3067         * sysdeps/alpha/fpu/libm-test-ulps: Update.
3069 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3071         [BZ #16159]
3072         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
3073         * malloc/arena.c (arena_lock): Check if arena is corrupt.
3074         (reused_arena): Find a non-corrupt arena.
3075         (heap_trim): Pass arena to unlink.
3076         * malloc/hooks.c (malloc_check_get_size): Pass arena to
3077         malloc_printerr.
3078         (top_check): Likewise.
3079         (free_check): Likewise.
3080         (realloc_check): Likewise.
3081         * malloc/malloc.c (malloc_printerr): Add arena argument.
3082         (unlink): Likewise.
3083         (munmap_chunk): Adjust.
3084         (ARENA_CORRUPTION_BIT): New macro.
3085         (arena_is_corrupt): Likewise.
3086         (set_arena_corrupt): Likewise.
3087         (sysmalloc): Use mmap if there are no usable arenas.
3088         (_int_malloc): Likewise.
3089         (__libc_malloc): Don't fail if arena_get returns NULL.
3090         (_mid_memalign): Likewise.
3091         (__libc_calloc): Likewise.
3092         (__libc_realloc): Adjust for additional argument to
3093         malloc_printerr.
3094         (_int_free): Likewise.
3095         (malloc_consolidate): Likewise.
3096         (_int_realloc): Likewise.
3097         (_int_memalign): Don't touch corrupt arenas.
3098         * malloc/tst-malloc-backtrace.c: New test case.
3100         * Makefile (summarize-tests): Fix return value on success.
3102         * manual/string.texi (Envz Functions): Add envz_remove.
3104 2015-05-18  Roland McGrath  <roland@hack.frob.com>
3106         * sysdeps/posix/opendir.c: Include <stdbool.h>.
3107         (invalid_name): New function, broken out of ...
3108         (__opendirat): ... here.  Call it.
3109         (need_isdir_precheck): New function, broken out of ...
3110         (__opendirat): ... here.  Call it.
3111         Use __fxstatat64, not __xstatat64.
3112         (opendir_oflags): New function, broken out of ...
3113         (__opendirat): ... here.  Call it.
3114         (opendir_tail): New function, broken out of ...
3115         (__opendirat): ... here.  Call it.
3116         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
3117         opendir_tail, rather than punting to __opendirat.
3118         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
3120 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3122         * .gitignore: Ignore generated *.pyc.
3124 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
3126         * include/stdio.h: Define __need_wint_t.
3127         * test-skeleton.c: Avoid `for' loop initial declaration.
3128         * nptl/tst-initializers1.c: Use test-skeleton.c.
3130 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3132         [BZ #18418]
3133         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
3135 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
3137         [BZ #16352]
3138         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
3139         (__ieee754_atanh): Force underflow exception for results with
3140         small absolute value.
3141         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
3142         (__ieee754_atanhf): Force underflow exception for results with
3143         small absolute value.
3144         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
3145         (__ieee754_atanh): Force underflow exception for results with
3146         small absolute value.
3147         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
3148         (__ieee754_atanhf): Force underflow exception for results with
3149         small absolute value.
3150         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
3151         (__ieee754_atanhl): Force underflow exception for results with
3152         small absolute value.
3153         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
3154         (__ieee754_atanhl): Force underflow exception for results with
3155         small absolute value.
3156         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
3157         (__ieee754_atanhl): Force underflow exception for results with
3158         small absolute value.
3159         * math/auto-libm-test-in: Do not allow missing underflow
3160         exceptions from atanh.
3161         * math/auto-libm-test-out: Regenerated.
3163         [BZ #18221]
3164         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
3165         2**-28 as threshold for returning x or +/- 1/x.
3166         * math/auto-libm-test-in: Add more tests of tan.
3167         * math/auto-libm-test-out: Regenerated.
3169         [BZ #18220]
3170         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3171         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
3172         * math/auto-libm-test-in: Add another test of lgamma.
3173         * math/auto-libm-test-out: Regenerated.
3175 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
3177         * stdio-common/printf_fp.c (___printf_fp): Use abs.
3178         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
3179         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
3180         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
3181         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
3182         (ADD2A): Use fabs.  (SUB2A): Use fabs.
3183         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
3184         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
3185         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
3186         (log1): Use fabs.  (my_log2): Use fabs.
3187         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
3188         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
3189         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
3190         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
3191         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
3192         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
3193         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
3194         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
3195         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
3196         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
3197         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
3199 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
3201         [BZ #18217]
3202         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
3203         as threshold for returning 1 - x.
3204         * math/auto-libm-test-in: Add more tests of erfc.
3205         * math/auto-libm-test-out: Regenerated.
3207 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
3209         [BZ #18196]
3210         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
3211         threshold for large arguments.
3212         * math/auto-libm-test-in: Add another test of atan.
3213         * math/auto-libm-test-out: Regenerated.
3215         [BZ #16339]
3216         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
3217         (__log1p): Force underflow exception for results with small
3218         absolute value.
3219         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
3220         (__log1pf): Force underflow exception for results with small
3221         absolute value.
3222         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
3223         (__log1p): Force underflow exception for results with small
3224         absolute value.
3225         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
3226         (__log1pf): Force underflow exception for results with small
3227         absolute value.
3228         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
3229         (__log1pl): Force underflow exception for results with small
3230         absolute value.
3231         * math/auto-libm-test-in: Do not allow missing underflow
3232         exceptions from log1p.
3233         * math/auto-libm-test-out: Regenerated.
3235 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
3236             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3238         [BZ #16704]
3239         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
3241 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
3243         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
3244         (libmvec): New variable.
3245         * configure.ac: Added option for mathvec build.
3246         * configure: Regenerated.
3247         * mathvec/Depend: New file.
3248         * mathvec/Makefile: New file.
3249         * shlib-versions: Added libmvec.
3250         * math/Makefile: Added rule for libm.so installation.
3252         * bits/math-vector.h: New file.
3253         * bits/libm-simd-decl-stubs.h: New header.
3254         * math/Makefile (headers): Added new header
3255         libm-simd-decl-stubs.h.
3256         * math/math.h (__MATHCALL_VEC): New macro.
3258         * math/gen-libm-have-vector-test.sh: Script generates series of macros
3259         for conditions in testing functions.
3260         * math/Makefile: Added call of libm-have-vector-test.sh.
3261         * math/libm-test.inc (HAVE_VECTOR): New macros.
3263         * math/libm-test.inc: START refactored.
3264         * math/test-double.c (TEST_MATHVEC): Add define.
3265         * math/test-float.c: Likewise.
3266         * math/test-idouble.c: Likewise.
3267         * math/test-ifloat.c: Likewise.
3268         * math/test-ildoubl.c: Likewise.
3269         * math/test-ldouble.c: Likewise.
3270         * sysdeps/generic/math-tests-arch.h
3271         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
3272         architecture check.
3274         * math/test-double.c (FUNC_TEST): New macro.
3275         * math/test-float.c: Likewise.
3276         * math/test-idouble.c: Likewise.
3277         * math/test-ifloat.c: Likewise.
3278         * math/test-ildoubl.c: Likewise.
3279         * math/test-ldouble.c: Likewise.
3280         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
3282 2015-05-13  Roland McGrath  <roland@hack.frob.com>
3284         * sysdeps/nacl/fdopendir.c: New file.
3286         * dirent/scandir-tail.c: New file.
3287         * dirent/scandir64-tail.c: New file.
3288         * dirent/Makefile (routines): Add them.
3289         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
3290         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
3291         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
3292         [!SCANDIR] (SCANDIR_TAIL): New macro.
3293         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
3294         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
3295         (SCANDIRAT): Macro removed.
3296         (SCANDIR_TAIL): New macro.
3297         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
3298         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
3299         (SCANDIRAT): Just call __opendirat and __scandir_tail.
3300         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
3301         (READDIR): Macro removed.
3302         (SCANDIR_TAIL): New macro.
3303         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
3304         (SCANDIR_TAIL): New macro.
3306         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
3307         * dirent/scandir-cancel.c: ... to this new file.
3308         * dirent/Makefile (routines): Add it.
3309         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
3310         * sysdeps/unix/sysv/linux/i386/scandir64.c
3311         (SKIP_SCANDIR_CANCEL): Macro removed.
3312         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
3314         * dirent/tst-scandir.c: New file.
3315         * dirent/tst-scandir64.c: New file.
3316         * dirent/Makefile (tests): Add them.
3318 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
3320         [BZ #18409]
3321         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
3323 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3325         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
3326         list.
3328 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
3330         * benchtests/bench-strcoll.c: New benchmark.
3331         * benchtests/Makefile: Generate locales and run benchmark.
3332         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
3333         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
3334         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
3335         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
3336         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
3337         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
3338         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
3339         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
3340         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
3341         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
3342         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
3343         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
3344         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
3345         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
3346         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
3347         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
3348         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
3349         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
3350         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
3351         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
3352         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
3353         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
3354         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
3355         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
3357 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
3359         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
3360         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3362 2015-05-12  Roland McGrath  <roland@hack.frob.com>
3364         * posix/uname-values.h: New file.
3365         * posix/uname.c: Include that instead of <config-name.h>.
3366         * sysdeps/nacl/uname-values.h: New file.
3367         * sysdeps/arm/nacl/uname-values.h: New file.
3369 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
3371         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
3372         splitting into fields.
3374 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
3376         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
3377         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
3378         * locale/localeinfo.h: Add enum collation_encoding_type.
3379         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
3380         * programs/ld-collate.c (collate_output): Add encoding type info.
3381         * string/strcoll_l.c (STRDIFF): New function.
3382         * (STRCOLL): Use STRDIFF to skip over equal prefix.
3383         * wcsmbs/wcscoll_l.c: Define STRDIFF.
3385 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
3387         [BZ #18397]
3388         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
3389         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
3390         <fpu_control.h> instead of <math/fpu_control.c>.
3391         * sysdeps/mips/mips32/fpu/Makefile: New file.
3393 2015-05-11  Andreas Schwab  <schwab@suse.de>
3395         [BZ #18007]
3396         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
3397         nss_endgrent.
3398         (_nss_compat_endgrent): Call nss_endgrent.
3399         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
3400         nss_endpwent.
3401         (_nss_compat_endpwent): Call nss_endpwent.
3402         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
3403         needent, call nss_setspent only if non-zero.
3404         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
3405         (internal_endspent): Don't call nss_endspent.
3406         (_nss_compat_endspent): Call nss_endspent.
3407         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
3408         Remove.  All uses removed.
3409         (internal_setent): Remove parameter stayopen, add parameter
3410         stream.  Use it instead of global variable.
3411         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
3412         (internal_endent, internal_getent): Add parameter stream.  Use it
3413         instead of global variable.
3414         (CONCAT(_nss_files_end,ENTNAME))
3415         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
3416         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
3417         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
3418         uses removed.
3419         (internal_setent, internal_endent): Add parameter stream.  Use it
3420         instead of global variable.
3421         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
3422         stream.
3423         (get_next_alias): Add parameter stream.
3424         (_nss_files_getaliasent_r): Pass global stream.
3425         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
3426         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
3427         (_nss_files_gethostbyname4_r): Pass local stream to
3428         internal_setent, internal_getent and internal_endent.  Remove
3429         locking.
3431 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3433         * tst-strfmon1.c (tests): Update expected currency symbol.
3435 2015-05-08  Roland McGrath  <roland@hack.frob.com>
3437         * sysdeps/nacl/gethostname.c: New file.
3439 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
3441         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
3442         and sinh.
3443         * math/auto-libm-test-out: Regenerated.
3444         * sysdeps/i386/fpu/libm-test-ulps: Update.
3445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3447 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
3449         [BZ #18125]
3450         * stdlib/tst-setcontext3.c: New file.
3451         * stdlib/tst-setcontext3.sh: New file.
3452         * stdlib/Makefile (tests): Add tst-setcontext3.
3453         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
3454         to verify test program created output file.
3455         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
3456         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
3457         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
3458         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
3460 2015-05-06  Roland McGrath  <roland@hack.frob.com>
3462         [BZ #18383]
3463         * elf/tst-tlsalign.c: New file.
3464         * elf/tst-tlsalign-static.c: New file.
3465         * elf/tst-tlsalign-lib.c: New file.
3466         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
3467         (tests-static): Add tst-tlsalign-static.
3468         (modules-names): Add tst-tlsalign-lib.
3469         (test-xfail-tst-tlsalign): New variable.
3470         (test-xfail-tst-tlsalign-static): New variable.
3472         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
3473         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
3475 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
3477         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
3478         csqrt, erfc, sin and sincos.
3479         * math/auto-libm-test-out: Regenerated.
3480         * sysdeps/i386/fpu/libm-test-ulps: Update.
3481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3483 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3485         * sysdeps/aarch64/libm-test-ulps: Update.
3487 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
3489         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
3490         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
3491         * math/auto-libm-test-out: Regenerated.
3492         * sysdeps/i386/fpu/libm-test-ulps: Update.
3493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3495 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
3497         [BZ #18265]
3498         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
3499         (wcsncpy): Likewise.
3501 2015-05-05  Florian Weimer  <fweimer@redhat.com>
3503         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3504         Assume __ASSUME_FALLOCATE is always true.
3505         * sysdeps/unix/sysv/linux/posix_fallocate64.c
3506         (__posix_fallocate64_l64): Likweise.
3507         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
3508         (posix_fallocate): Likewise.
3509         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
3510         (__posix_fallocate64_l64): Likewise.
3511         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3512         [!__ASSUME_FALLOCATE]: Add comment.
3514 2015-05-05  Florian Weimer  <fweimer@redhat.com>
3516         * sysdeps/unix/sysv/linux/i386/Makefile
3517         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
3518         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
3519         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
3520         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
3521         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
3522         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
3523         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
3525 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
3527         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
3528         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
3529         tgamma.
3530         * math/auto-libm-test-out: Regenerated.
3531         * sysdeps/i386/fpu/libm-test-ulps: Update.
3532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3534 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
3536         * math/auto-libm-test-in: Add more tests of tgamma.
3537         * math/auto-libm-test-out: Regenerated.
3538         * sysdeps/i386/fpu/libm-test-ulps: Update.
3539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3541         * math/auto-libm-test-in: Add more tests of tanh.
3542         * math/auto-libm-test-out: Regenerated.
3543         * sysdeps/i386/fpu/libm-test-ulps: Update.
3544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3546         * math/auto-libm-test-in: Add more tests of tan.
3547         * math/auto-libm-test-out: Regenerated.
3548         * sysdeps/i386/fpu/libm-test-ulps: Update.
3549         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3551         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
3552         * math/auto-libm-test-out: Regenerated.
3553         * sysdeps/i386/fpu/libm-test-ulps: Update.
3554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3556         * math/auto-libm-test-in: Add another test of pow.
3557         * math/auto-libm-test-out: Regenerated.
3558         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3560         * math/auto-libm-test-in: Add more tests of lgamma.
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 more tests of log, log10, log2 and
3566         log1p.
3567         * math/auto-libm-test-out: Regenerated.
3568         * sysdeps/i386/fpu/libm-test-ulps: Update.
3569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3571 2015-05-01  Mark Wielaard  <mjw@redhat.com>
3573         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
3574         Elf64_Chdr structs and ELFCOMPRESS constants.
3576 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
3578         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
3579         expm1.
3580         * math/auto-libm-test-out: Regenerated.
3581         * sysdeps/i386/fpu/libm-test-ulps: Update.
3582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3584         * math/auto-libm-test-in: Add more tests of erf and erfc.
3585         * math/auto-libm-test-out: Regenerated.
3586         * sysdeps/i386/fpu/libm-test-ulps: Update.
3587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3589 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3591         * config.h.in (HAVE_AARCH64_BE): Add.
3593 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
3595         * math/auto-libm-test-in: Add more tests of csqrt.
3596         * math/auto-libm-test-out: Regenerated.
3597         * sysdeps/i386/fpu/libm-test-ulps: Update.
3598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3600         * math/auto-libm-test-in: Add more tests of cosh and sinh.
3601         * math/auto-libm-test-out: Regenerated.
3602         * sysdeps/i386/fpu/libm-test-ulps: Update.
3603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3605         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
3607 2015-04-29  Roland McGrath  <roland@hack.frob.com>
3609         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
3610         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
3612         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
3613         (euidaccess, eaccess): Define as weak aliases.
3615         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
3616         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
3617         but __suseconds_t is often 'long int' so some sources assume that
3618         type is being used (e.g. they use %ld to print tv_usec).
3620 2015-04-29  Florian Weimer  <fweimer@redhat.com>
3622         [BZ #18007]
3623         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
3624         (CVE-2014-8121)
3625         * nss/tst-nss-getpwent.c: New file.
3626         * nss/Makefile (tests): Add new test.
3628 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
3630         [BZ #18346]
3631         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
3632         exponents less than 48 as cases where high part of mantissa needs
3633         examining to determine whether argument is integral.
3634         * math/libm-test.inc (round_test_data): Add more tests.
3636 2015-04-28  Mark Wielaard  <mjw@redhat.com>
3638         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
3640 2015-04-27  David S. Miller  <davem@davemloft.net>
3642         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
3643         __tls_get_addr.
3644         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3646 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
3648         [BZ#18333]
3649         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
3651 2015-04-27  Florian Weimer  <fweimer@redhat.com>
3653         [BZ#18333]
3654         * time/tzset.c (parse_tzname): Return error on memory allocation
3655         failure.
3656         * test-skeleton.c (struct temp_name_list): Change type of name
3657         member to non-const.
3658         (add_temp_file): Create a copy of the file name.
3659         (delete_temp_files): Deallocate memory.
3660         (create_temp_file): Add comment.
3662 2015-04-24  Florian Weimer  <fweimer@redhat.com>
3664         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
3665         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
3667 2015-04-24  Roland McGrath  <roland@hack.frob.com>
3669         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
3670         * sysdeps/arm/configure: Regenerated.
3672 2015-04-24  Florian Weimer  <fweimer@redhat.com>
3674         [BZ #17715]
3675         * time/tzfile.c (__tzfile_read): Check for large values of
3676         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
3677         * time/tzset.c (__tzstring_len): New function, based on the old
3678         __tzstring function.
3679         (__tzstring): Call __tzstring_len.
3680         (parse_tzname): New helper function extracted from
3681         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
3682         the input string.
3683         (parse_offset): New helper function extracted from
3684         __tzset_parse_tz.  Replace switch with fallthrough with
3685         initialization before sscanf.
3686         (parse_rule): Likewise.
3687         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
3688         new-style function definition.
3689         * timezone/Makefile (tests): Add tst-tzset.
3690         (tst-tzset.out): Dependencies on time zone files.
3691         (tst-tzset-ENV): Set TZDIR.
3692         (testdata/XT%): Copy crafted time zone files.
3693         * timezone/README: Mention crafted time zone files.
3694         * timezone/testdata/XT1, timezone/testdata/XT2,
3695         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
3696         files.
3697         * timezone/tst-tzset.c: New test.
3699 2015-04-24  Florian Weimer  <fweimer@redhat.com>
3701         * Makeconfig (+gccwarn): Remove -Winline.
3703 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3705         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
3707 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3709         * NEWS: Mention sysconf() cache information support for s390.
3710         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
3712 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
3714         * math/k_casinh.c (__kernel_casinh): Use __copysign.
3715         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
3716         (__nearbyint): Likewise.
3717         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
3718         (copysignl): Likewise.
3720 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
3722         [BZ #18287]
3723         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
3724         based on padding.  (CVE-2015-1781)
3726 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3728         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
3729         libc-vdso.h.
3730         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
3731         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
3732         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
3733         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
3734         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
3735         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
3736         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
3737         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3738         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3739         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
3740         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3741         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3742         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
3743         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
3744         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
3745         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
3746         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
3747         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
3748         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
3749         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
3750         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
3751         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
3752         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
3754 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
3756         * stdlib/setenv.c (__add_to_environ):
3757         Dump core quickly if setenv (..., NULL, ...) is called.
3758         This time, do it the right way, and pacify GCC with a pragma.
3760 2015-04-17  Roland McGrath  <roland@hack.frob.com>
3762         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
3763         IMAP->l_prev cannot be null, and #if out the code for the contrary
3764         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
3765         believe that NS (&_dl_ns[NSID]) could point outside the array.
3767         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
3768         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
3769         before using NSID as an index.
3771 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
3773         [BZ #17825]
3774         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
3775         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
3776         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3778 2015-04-17  Roland McGrath  <roland@hack.frob.com>
3780         Add preliminary port to Google Native Client on ARM.
3781         * abi-tags (.*-.*-nacl.*): New entry.
3782         * sysdeps/arm/nacl: New directory.
3783         * sysdeps/nacl: New directory.
3785 2015-04-16  David S. Miller  <davem@davemloft.net>
3787         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
3788         lowlevellock-futex.h
3790 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
3792         * sysdeps/tile/configure.ac: New file.
3793         * sysdeps/tile/configure: Regenerated.
3795 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3797         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
3798         conditionals for weak_alias and libc_hidden_weak.
3799         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
3800         libc_hidden_weak and weak_alias.
3801         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
3802         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
3803         and weak_alias for static one.
3805 2015-04-15  David S. Miller  <davem@davemloft.net>
3807         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3809 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3811         [BZ #18206]
3812         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
3813           Use signed comparision instead of substraction to avoid
3814           overflow bug.
3815         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
3816           Take the sign of ret.
3817         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
3818           Do not expect precise return values. Only the sign matters.
3819         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
3820         * wcsmbs/test-wcsncmp.c: New File.
3821         * string/test-strncmp.c: Add wcsncmp support.
3823 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3825         [BZ #6792]
3826         * math/w_log1p.c: New file.
3827         * math/w_log1pf.c: Likewise.
3828         * math/w_log1pl.c: Likewise.
3829         * math/Makefile (libm-calls): Add w_log1p.
3830         * math/s_log1pl.c (log1pl): Remove weak_alias.
3831         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
3832         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
3833         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
3834         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
3835         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
3836         [NO_LONG_DOUBLE] (log1pl): Likewise.
3837         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
3838         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
3839         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
3840         (log1p): Remove long_double_symbol.
3841         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
3842         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
3843         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
3844         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
3845         remove weak_alias for corresponding log1p function.
3846         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
3847         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
3848         * sysdeps/ia64/fpu/w_log1p.c: New file.
3849         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
3850         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
3851         * math/libm-test.inc (log1p_test_data): Add errno expectations.
3853 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
3855         [BZ #18247]
3856         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
3857         decimal exponent by 1.
3858         * stdlib/tst-strtod-round-data: Add more tests.
3859         * stdlib/tst-strtod-round.c (tests): Regenerated.
3861 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
3863         * math/auto-libm-test-in: Add more tests of clog and clog10.
3864         * math/auto-libm-test-out: Regenerated.
3865         * sysdeps/i386/fpu/libm-test-ulps: Update.
3866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3868 2015-04-09  Roland McGrath  <roland@hack.frob.com>
3870         * Makeconfig (module-cppflags): Exclude all .v.i files.
3871         (skip-module-cppflags): Variable removed.
3873         * configure.ac (libc_config_ok): Initialize before reading
3874         preconfigure scripts, not after.
3875         * configure: Regenerated.
3877         * test-skeleton.c (TIMEOUT): Move #define to top level.
3878         (main): Grok environment variable TEST_DIRECT.  If set, print
3879         test expectation details into that file and then behave as if
3880         given --direct.
3882 2015-04-09  Florian Weimer  <fweimer@redhat.com>
3884         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
3885         warning on 32-bit.
3887 2015-04-08  David S. Miller  <davem@davemloft.net>
3889         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3891 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
3893         * math/auto-libm-test-in: Add more tests of atanh.
3894         * math/auto-libm-test-out: Regenerated.
3895         * sysdeps/i386/fpu/libm-test-ulps: Update.
3896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3898         * math/auto-libm-test-in: Add more tests of atan.
3899         * math/auto-libm-test-out: Regenerated.
3900         * sysdeps/i386/fpu/libm-test-ulps: Update.
3901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3903 2015-04-08  Florian Weimer  <fweimer@redhat.com>
3905         * elf/pldd.c (main): Rewrite to use struct
3906         scratch_buffer instead of extend_alloca.
3907         * elf/pldd-xx.c (find_maps): Likewise.
3908         * grp/initgroups.c: Include <scratch_buffer.h> instead of
3909         <alloca.h>.
3910         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
3911         scratch_buffer instead of extend_alloca.
3912         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
3913         grp/compat-initgroups.c.
3914         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
3915         Rewrite to use struct scratch_buffer instead of extend_alloca.
3916         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
3917         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3919 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
3921         * math/auto-libm-test-in: Add more tests of cbrt.
3922         * math/auto-libm-test-out: Regenerated.
3923         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3925         * math/auto-libm-test-in: Add more tests of cabs.
3926         * math/auto-libm-test-out: Regenerated.
3927         * sysdeps/i386/fpu/libm-test-ulps: Update.
3928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3930         [BZ #18210]
3931         [BZ #18211]
3932         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
3933         (__ieee754_atan2): Set FE_TONEAREST mode for internal
3934         computations.
3935         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
3936         clog10.
3937         * math/auto-libm-test-out: Regenerated.
3938         * sysdeps/i386/fpu/libm-test-ulps: Update.
3939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3941         [BZ #18197]
3942         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
3943         (atan): Set FE_TONEAREST mode for internal computations.
3944         * math/auto-libm-test-in: Add more tests of atan.
3945         * math/auto-libm-test-out: Regenerated.
3947 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
3949         [BZ #17930]
3950         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
3952 2015-04-07  Florian Weimer  <fweimer@redhat.com>
3954         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
3956 2015-04-07  Florian Weimer  <fweimer@redhat.com>
3958         * include/scratch_buffer.h: New file.
3959         * malloc/scratch_buffer_grow.c: Likewise.
3960         * malloc/scratch_buffer_grow_preserve.c: Likewise.
3961         * malloc/scratch_buffer_set_array_size.c: Likewise.
3962         * malloc/tst-scratch_buffer.c: Likewise.
3963         * malloc/Makefile (routines): Add scratch_buffer_grow.
3964         (tests): Add test case.
3965         * malloc/Versions (GLIBC_PRIVATE): Export
3966         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
3967         __libc_scratch_buffer_set_array_size.
3969 2015-04-06  Richard Henderson  <rth@redhat.com>
3971         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
3972         * sysdeps/alpha/fpu/libm-test-ulps: Update.
3974         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
3975         unsigned int before printing.
3977 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3979         [BZ #17596]
3980         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
3981         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3983 2015-04-02  Florian Weimer  <fweimer@redhat.com>
3985         * include/libc-internal.h (libc_max_align_t): Define.
3987 2015-04-02  Andreas Schwab  <schwab@suse.de>
3989         [BZ #16850]
3990         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
3992 2015-04-02  Mel Gorman  <mgorman@suse.de>
3994         [BZ #17195]
3995         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
3996         as well as the main arena.
3998 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
4000         [BZ #18185]
4001         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
4002         sharing L2 cache to 2 for Silvermont/Knights Landing.
4004 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
4006         [BZ #17711]
4007         * config.make.in (have-protected-data): New.
4008         * configure.ac: Check linker support for protected data symbol.
4009         * configure: Regenerated.
4010         * elf/Makefile (modules-names): Add tst-protected1moda and
4011         tst-protected1modb if $(have-protected-data) is yes.
4012         (tests): Add tst-protected1a and tst-protected1b if
4013         $(have-protected-data) is yes.
4014         ($(objpfx)tst-protected1a): New.
4015         ($(objpfx)tst-protected1b): Likewise.
4016         (tst-protected1modb.so-no-z-defs): Likewise.
4017         * elf/tst-protected1a.c: New file.
4018         * elf/tst-protected1b.c: Likewise.
4019         * elf/tst-protected1mod.h: Likewise.
4020         * elf/tst-protected1moda.c: Likewise.
4021         * elf/tst-protected1modb.c: Likewise.
4023 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
4025         [BZ #17711]
4026         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
4027         indicates it is called from do_lookup_x on relocation against
4028         protected data, skip the data definion in the executable from
4029         copy reloc.
4030         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
4031         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
4032         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
4033         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
4034         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
4035         otherwise to 0.
4036         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
4037         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
4038         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
4039         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
4040         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
4041         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
4043 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
4045         * sysdeps/nptl/pthread.h: Remove duplicate definition of
4046         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
4048 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
4050         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
4051         THREAD_SETMEM_NC.
4052         * sysdeps/x86_64/nptl/tls.h: Ditto.
4054 2015-03-27  Roland McGrath  <roland@hack.frob.com>
4056         * dlfcn/tststatic.c (main): Converted to ...
4057         (do_test): ... this.
4058         (TEST_FUNCTION): New macro.
4059         Include test-skeleton.c.
4061 2015-03-26  Alan Modra  <amodra@gmail.com>
4063         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
4064         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
4065         zero for undefined weak.
4066         (elf_machine_plt_conflict): Similarly.
4068 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
4070         * math/auto-libm-test-in: Add more tests of acosh, asinh and
4071         atanh.
4072         * math/auto-libm-test-out: Regenerated.
4073         * sysdeps/i386/fpu/libm-test-ulps: Update.
4074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4076         * math/auto-libm-test-in: Add another test of asin.
4077         * math/auto-libm-test-out: Regenerated.
4078         * sysdeps/i386/fpu/libm-test-ulps: Update.
4079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4081         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
4082         Remove macro.
4083         (LLL_EBX_REG): Likewise.
4084         (LLL_ENTER_KERNEL): Likewise.
4086         * math/auto-libm-test-in: Add more tests of asin.
4087         * math/auto-libm-test-out: Regenerated.
4088         * sysdeps/i386/fpu/libm-test-ulps: Update.
4089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4091         [BZ #18138]
4092         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
4093         libc_do_syscall_args): New structure.
4094         (INTERNAL_SYSCALL_MAIN_0): New macro.
4095         (INTERNAL_SYSCALL_MAIN_1): Likewise.
4096         (INTERNAL_SYSCALL_MAIN_2): Likewise.
4097         (INTERNAL_SYSCALL_MAIN_3): Likewise.
4098         (INTERNAL_SYSCALL_MAIN_4): Likewise.
4099         (INTERNAL_SYSCALL_MAIN_5): Likewise.
4100         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
4101         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
4102         Replace conditional definitions by conditional definitions of ....
4103         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
4104         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
4105         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
4106         (libpthread-sysdep_routines): Add libc-do-syscall.
4107         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
4108         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
4109         to __NR_futex not 240.
4111 2015-03-25  Alan Modra  <amodra@gmail.com>
4113         * NEWS: Advertise TLS optimization.
4114         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
4115         (DT_PPC_NUM): Increment.
4116         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
4117         (CHECK_STATIC_TLS): Use here.
4118         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
4119         TLS descriptors.
4120         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4121         * sysdeps/powerpc/dl-tls.c: New file.
4122         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
4123         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
4124         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
4125         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
4126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
4127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
4128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
4130 2015-03-25  Alan Modra  <amodra@gmail.com>
4132         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
4133         for overlapping .opd entries" to "support...".
4134         * sysdeps/powerpc/powerpc64/configure: Regenerate
4136 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
4138         * math/auto-libm-test-in: Add more tests of acos.
4139         * math/auto-libm-test-out: Regenerated.
4140         * sysdeps/i386/fpu/libm-test-ulps: Update.
4141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4143         * math/auto-libm-test-in: Add more tests of expm1.
4144         * math/auto-libm-test-out: Regenerated.
4145         * sysdeps/i386/fpu/libm-test-ulps: Update.
4146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4148 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
4150         * math/auto-libm-test-in: Add more tests of cosh and sinh.
4151         * math/auto-libm-test-out: Regenerated.
4152         * sysdeps/i386/fpu/libm-test-ulps: Update.
4153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4155         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4158         * math/auto-libm-test-in: Add more tests of log2.
4159         * math/auto-libm-test-out: Regenerated.
4160         * sysdeps/i386/fpu/libm-test-ulps: Update.
4161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4163 2015-03-23  Roland McGrath  <roland@hack.frob.com>
4165         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
4166         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
4167         _IO_IS_APPENDING bit in READ_WRITE instead.
4169 2015-03-23  Florian Weimer  <fweimer@redhat.com>
4171         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
4172         (__determine_cpumask_size): Replace extend_alloca with a
4173         variable-length array.  Do not treat res == 0 as an error.
4175 2015-03-23  Florian Weimer  <fweimer@redhat.com>
4177         [BZ #18100]
4178         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
4179         and integer overflow.
4180         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
4181         (main): Add integer overflow tests.
4182         * manual/pattern.texi (Calling Wordexp): Document additional use
4183         for WRDE_SYNTAX.
4185 2015-03-23  Alan Modra  <amodra@gmail.com>
4187         * config.h.in: Remove HAVE_ASM_PPC_REL16.
4188         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
4189         and false branch of conditional.
4190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4191         Likewise.
4193 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
4195         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
4196         libc-modules.h
4197         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
4198         unused declaration of _hurd_intr_rpc_msg_in_trap.
4199         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
4200         defined instead of whether it is non-zero.
4201         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
4202         input constraint instead of both input and output constraint.  Use ecx
4203         clobber instead of %ecx.
4204         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
4205         mutex_unlock): Use a statement expression instead of an expression list.
4206         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
4207         type to vm_size_t instead of vm_address_t.
4208         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
4209         defined instead of whether it is non-zero.
4210         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
4211         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
4212         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
4213         comparisons with mapaddr.
4214         * nscd/nscd-client.h: Include <time.h>.
4215         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
4216         9th parameter to __vm_region instead of int.
4217         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
4218         * scripts/check-local-headers.sh (exclude): Add device/,
4219         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
4220         cthreads.h.
4222 2015-03-19  Roland McGrath  <roland@hack.frob.com>
4224         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
4225         to account for alignment padding.
4226         * sysdeps/arm/memmove.S: Likewise.
4228 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
4230         * sysdeps/unix/sysv/linux/generic/README: New file.
4232 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
4234         [BZ #18138]
4235         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
4236         (futex_abstimed_wait)
4237         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
4238         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
4239         of lll_futex_timed_wait.
4241 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
4243         [BZ #17542]
4244         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
4246 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
4248         [BZ #17090]
4249         [BZ #17620]
4250         [BZ #17621]
4251         [BZ #17628]
4252         * NEWS: Update.
4253         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
4254         entries with Static TLS too.  Skip entries past the end of the
4255         allocated DTV, from Alan Modra.
4256         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
4257         Static TLS DTV entry set up from...
4258         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
4259         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
4260         * nptl/allocatestack.c (init_one_static_tls): ... and here...
4261         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
4262         for Static TLS.
4263         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
4264         that the slot we find is associated with the given map before
4265         using its generation count.
4266         * nptl_db/db_info.c: Include ldsodefs.h.
4267         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
4268         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
4269         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
4270         (link_map::l_tls_offset): New struct field.
4271         (dtv_t::counter): Likewise.
4272         (rtld_global): New struct.
4273         (_rtld_global): New rtld variable.
4274         (dl_tls_dtv_slotinfo_list): New rtld global field.
4275         (dtv_slotinfo_list): New struct.
4276         (dtv_slotinfo): Likewise.
4277         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
4278         (td_lookup): Rename to...
4279         (td_mod_lookup): ... this.  Use new mod parameter instead of
4280         LIBPTHREAD_SO.
4281         * nptl_db/td_thr_tlsbase.c: Include link.h.
4282         (dtv_slotinfo_list, dtv_slotinfo): New functions.
4283         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
4284         addresses even if the DTV is out of date or missing them.
4285         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
4286         index zero-length arrays.
4287         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
4288         (td_lookup): Make it a macro implemented in terms of...
4289         (td_mod_lookup): ... this declaration.
4290         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
4291         (DB_MAIN_VARIABLE): Likewise.
4293 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
4295         [BZ #18134]
4296         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
4298 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
4300         * stdlib/setenv.c (__add_to_environ): Revert previous change.
4302 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
4304         [BZ #18128]
4305         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
4306         (atomic_add, atomic_increment_and_test)
4307         (atomic_decrement_and_test): Fix 64-bit arithmetic.
4309 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
4311         * stdlib/setenv.c (__add_to_environ):
4312         Dump core quickly if setenv (..., NULL, ...) is called.
4314 2015-03-13  Roland McGrath  <roland@hack.frob.com>
4316         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
4317         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
4318         all the necessary asm magic in one place.
4319         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
4320         using those.
4322 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
4324         [BZ #14906]
4325         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
4326         traced file mtime. Use consistent log message.
4327         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
4328         (register_traced_file): Call install_watches. Always set mtime.
4329         (invalidate_cache): Iterate over all trace files. Call install_watches.
4330         (inotify_check_files): Don't inline. Handle watching parent
4331         directories and configuration file movement in and out.
4332         (handle_inotify_events): New function.
4333         (main_loop_poll): Call handle_inotify_events.
4334         (main_loop_epoll): Likewise.
4335         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
4336         (struct traced_file): Use array of inotify fds. Add parent directory,
4337         and basename.
4338         (struct database_dyn): Remove unused file_mtime.
4339         (init_traced_file): New inline function.
4340         (define_traced_file): New macro.
4341         * nss/nss_db/db-init.c: Use define_traced_file.
4342         (_nss_db_init): Use init_traced_file.
4343         * nss/nss_files/files-init.c: Use define_traced_file.
4344         (_nss_files_init): Use init_traced_file.
4346 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
4348         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
4349         [_LIBC]: Do not include <stdlib.h>.
4350         [!_LIBC] (abort): Remove declaration.
4351         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
4352         _FP_STATIC_ASSERT instead of conditionally calling abort.
4353         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
4354         (_FP_EXTEND_CNAN): Likewise.
4355         (FP_TRUNC): Likewise.
4356         (__FP_CLZ): Likewise.
4357         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
4359 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
4361         * manual/string.texi (XPG basename): Fix prototype.
4363 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4365         [BZ #18080]
4366         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
4367         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
4368         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
4369         (__setcontext): Likewise.
4370         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
4371         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
4372         Call rt_sigprocmask syscall one time to set new signal mask
4373         and retrieve the current signal mask instead of two calls.
4374         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
4375         (__swapcontext): Likewise.
4376         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
4377         * stdlib/tst-setcontext2.c: New file.
4379 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4381         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4383 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
4385         [BZ #18093]
4386         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
4387         the wrong size.
4389 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
4391         [BZ #18043]
4392         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
4394 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
4396         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
4397         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
4398         Remove define.
4399         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
4400         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
4401         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
4402         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
4403         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
4404         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
4405         define.
4406         * nptl_db/td_symbol_list.c (td_lookup): Remove
4407         HAVE_ASM_GLOBAL_DOT_NAME code.
4408         * sysdeps/powerpc/powerpc64/configure.ac: Remove
4409         HAVE_ASM_GLOBAL_DOT_NAME check.
4410         * sysdeps/powerpc/powerpc64/configure: Regenerate.
4411         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
4412         (DOT_LABEL): Remove define.
4413         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
4414         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
4415         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
4416         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
4417         (__TLS_GET_ADDR): Likewise.
4418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
4419         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
4421 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
4423         [BZ #18111]
4424         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
4425         (_FPU_SETCW): Initialize cw from fpsr before storing.
4426         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
4427         (fesetexceptflag): Rewrite using fpu_control.h.
4428         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
4430 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
4432         [BZ #18110]
4433         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
4434         asms.
4435         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
4437 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
4439         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
4440         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
4441         abort.
4442         (_FP_FMA): Likewise.
4443         (_FP_DIV): Likewise.
4445 2015-03-10  Roland McGrath  <roland@hack.frob.com>
4447         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
4448         with 0 in that case.
4449         * Makefile (summarize-tests): New canned sequence, factored out of
4450         commands for targets tests and xtests.  Display summary lines that
4451         don't start with PASS: or XFAIL: rather than ones that do start with
4452         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
4453         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
4454         do start with ERROR: or FAIL:.
4455         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
4456         (except for [$(build-shared) = yes]).
4457         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
4458         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
4459         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
4460         * nptl/Makefile: Revert 2015-03-04 changes.
4461         [$(CXX) empty] (tests-unsupported): New variable.
4462         * debug/Makefile: Likewise.
4464         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
4465         gnulib file.  Replace __attribute with __attribute__ throughout.
4467 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
4469         * sysdeps/hppa/fpu/libm-test-ulps: Update.
4471 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
4473         [BZ #18104]
4474         * math/auto-libm-test-in: Add another test of pow.
4475         * math/auto-libm-test-out: Regenerated.
4477 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4479         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
4480         $(config-cflags-nofma).
4482 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
4484         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
4485         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
4486         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
4487         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
4488         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
4489         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
4490         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
4491         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
4492         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
4493         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
4494         Add comment on closing #endif.
4496 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4498         * posix/wordexp.c (CHAR_IN_SET): New macro.
4499         (parse_param): Use it.
4501 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4503         * sysdeps/powerpc/fpu/libm-test-ulps: update.
4505 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4507         [BZ #18043]
4508         * posix/wordexp.c (parse_param): Fix buffer overflow.
4509         * posix/wordexp-test.c (test_case): Add test case.
4511 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4513         [BZ #18042]
4514         * posix/wordexp.c (parse_backtick): Fix off-by-one.
4515         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
4517 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4519         [BZ #18043]
4520         * posix/wordexp-test.c (test_case): Add test for BZ #18043
4521         (do_bz18043): Delete.
4522         (at_page_end): New.
4523         (testit): Refactor to have words at the edge of unreadable page.
4525 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
4527         [BZ #16734]
4528         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
4529         Cleanup read-only streams as well.
4530         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
4532 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4534         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
4535         <bits/libc-lockP.h>
4537 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
4539         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
4540         on [__KERNEL__].
4541         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
4542         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
4543         * soft-fp/op-common.h (_FP_DECL): Likewise.
4545 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
4547         * elf/ifuncdep2.c (global): Replace
4548         __attribute__((visibility("protected"))) with
4549         asm (".protected global").
4550         * elf/ifuncmod1.c (global): Likewise.
4551         * elf/ifuncmod5.c (global): Likewise.
4553 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
4555         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
4556         <asm/sfp-machine.h> instead of <sfp-machine.h>.
4558 2015-03-06  Roland McGrath  <roland@hack.frob.com>
4560         * manual/install.texi (Configuring and compiling):
4561         Document test-wrapper-env-only.
4562         * INSTALL: Regenerated.
4564 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
4566         [BZ #18043]
4567         * posix/wordexp.c (parse_param): Fix buffer overflow.
4568         * posix/wordexp-test.c (do_bz18043): Add test case.
4570 2015-03-06  Vincent Bernat  <vincent@bernat.im>
4572         * time/tst-strptime2.c (do_test): Ensure failing tests are
4573         reported correctly.
4574         * time/tst-strptime3.c (do_test): Likewise.
4576 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
4578         Fix aio_error thread-safety.
4579         * sysdeps/pthread/aio_error.c: New file
4580         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
4581         synchronization.
4583 2015-03-06  Florian Weimer  <fweimer@redhat.com>
4585         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
4586         (group_number, vfprintf): Use it.
4587         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
4588         (JUMP, REF): Use it.
4589         (WORK_BUFFER_SIZE): New enum constant.
4590         (process_arg, vfprintf): Use it.
4592 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
4594         * manual/errno.texi (Error Messages): Complete example function
4595         by adding missing #define.
4596         (program_invocation_name): Add statement indicating GNU
4597         extension and reference which header file declares the variable.
4598         (program_invocation_short_name): Likewise.
4600 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
4602         * manual/errno.texi (Error Messages): Delete strerror ISO C89
4603         compatibility note.
4605 2015-03-05  Roland McGrath  <roland@hack.frob.com>
4607         * Makeconfig (test-wrapper-env-only): New variable.
4608         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
4609         then use that with $(test-wrapper-env-only) rather than using
4610         $(test-wrapper-env) $(run-program-env) $($*-ENV).
4612 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
4614         [BZ #18082]
4615         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
4616         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
4617         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
4618         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
4619         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
4620         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
4621         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
4622         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
4623         Likewise.
4624         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
4625         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
4626         Likewise.
4627         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
4628         Likewise.
4629         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
4630         Likewise.
4631         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
4632         Likewise.
4633         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
4634         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
4635         Likewise.
4636         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
4637         Likewise.
4638         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
4639         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
4641 2015-03-04  Roland McGrath  <roland@hack.frob.com>
4643         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
4644         (ETH_ALEN): New macro.
4645         (struct ether_addr): Use it for length of ether_addr_octet.
4647         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
4648         (setdb): Don't call __nss_configure_lookup for "rpc".
4649         (do_test): Don't call test_rpc.
4650         (output_rpcent, test_rpc): Functions moved ...
4651         * sunrpc/test-rpcent.c: ... to this new file.
4652         * sunrpc/Makefile (tests): Add it.
4654         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
4655         __xpg_sigpause.
4656         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
4657         * nptl/tst-signal6.c: Likewise.
4658         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
4659         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
4661         * configure.ac (libc_cv_cxx_link_ok): New check.
4662         Reset CXX to empty if it fails to link.
4663         * configure: Regenerated.
4664         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
4665         bug-atexit3-lib only if $(CXX) is nonempty.
4666         * nptl/Makefile (tests): Likewise for tst-cancel24.
4667         (tests, tests-static): Likewise for tst-cancel24-static.
4668         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
4669         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
4670         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
4671         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
4673 2015-03-04  Andreas Schwab  <schwab@suse.de>
4675         [BZ #17631]
4676         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
4677         for non-GCC compilers.
4678         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4679         Likewise.
4681 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
4683         [BZ #17776]
4684         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
4685         integer before bitwise and assembly operations.
4686         (feclearexcept): Likewise.
4687         * math/test-fenvinline.c: New file.
4688         * math/Makefile: Add test-fenvinline test.
4690 2015-03-03  Alan Modra  <amodra@gmail.com>
4692         [BZ #16512]
4693         * scripts/localplt.awk: Strip off symbol version.
4694         * NEWS: Mention bug fix.
4696 2015-03-02  Roland McGrath  <roland@hack.frob.com>
4698         * sysdeps/pthread/timer_routines.c
4699         (timer_free_list, thread_free_list, thread_active_list): Make static.
4701 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
4703         [BZ #17779]
4704         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4705         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4706         Undefine.
4707         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4708         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4709         Likewise.
4710         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4711         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4712         Likewise.
4714 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
4716         [BZ #18036]
4717         * posix/fnmatch_loop.c (END): Detect invalid pattern.
4718         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
4720 2015-03-02  Andreas Schwab  <schwab@suse.de>
4722         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
4723         variable name.
4725 2015-03-02  Florian Weimer  <fweimer@redhat.com>
4727         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
4728         Return error status.
4730 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
4732         [BZ #15969]
4733         * locale/findlocale.c (_nl_find_locale): Introduce const
4734         version of loc_name and drop unsafe type casts.
4736 2015-02-27  Roland McGrath  <roland@hack.frob.com>
4738         * dlfcn/tststatic2.c (main): Converted to ...
4739         (do_test): ... this.
4740         (TEST_FUNCTION): New macro.
4741         Include test-skeleton.c.
4743 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
4745         [BZ #17711]
4746         * elf/Makefile (tests): Add vismain only if PIE is enabled.
4747         (tests-pie): Add vismain.
4748         (CFLAGS-vismain.c): New.
4749         * elf/vismain.c: Add comments for PIE requirement.
4751 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
4753         [BZ #18046]
4754         [BZ #18047]
4755         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
4756         0x1p-56L as threshold for just returning the argument.
4757         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
4758         0x1p-32L as threshold for just returning the argument.
4759         * math/auto-libm-test-in: Add more tests of atanh.
4760         * math/auto-libm-test-out: Regenerated.
4761         * sysdeps/i386/fpu/libm-test-ulps: Update.
4762         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
4764 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
4766         * string/bcopy.c (bcopy): Call memmove for performance.
4768 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
4770         * string/bzero.c (__bzero): Call memset for performance.
4772 2015-02-27  John David Anglin  <dave.anglin@bell.net>
4774         [BZ #18068]
4775         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
4776         to 00100000.
4778 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
4780         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
4782 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
4784         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
4785         (__kernel_standard): Use CSTR macro when setting exc.name.
4786         * sysdeps/ieee754/Makefile [$(subdir) = math]
4787         (CFLAGS-k_standard.c): Remove variable.
4789         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
4790         setting p and q from "else if" to "else".
4791         (qzero): Likewise.
4792         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
4793         (qone): Likewise.
4794         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
4795         (qzerof): Likewise.
4796         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
4797         (qonef): Likewise.
4798         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
4799         (qzero): Likewise.
4800         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
4801         (qone): Likewise.
4803         [BZ #18038]
4804         [BZ #18039]
4805         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
4806         return pi/2 for arguments below 0x1p-113L.
4807         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
4808         return pi/2 for arguments below 0x1p-106L.
4809         * math/auto-libm-test-in: Add more tests of acos.
4810         * math/auto-libm-test-out: Regenerated.
4812         [BZ #16351]
4813         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
4814         (MO): New macro.
4815         (__ieee754_asin): Force underflow exception for results with small
4816         absolute value.
4817         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
4818         (MO): New macro.
4819         (__ieee754_asinf): Force underflow exception for results with
4820         small absolute value.
4821         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
4822         (__ieee754_asin): Force underflow exception for results with small
4823         absolute value.
4824         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
4825         (__ieee754_asinf): Force underflow exception for results with
4826         small absolute value.
4827         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
4828         (__ieee754_asinl): Force underflow exception for results with
4829         small absolute value.
4830         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
4831         (__ieee754_asinl): Force underflow exception for results with
4832         small absolute value.
4833         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
4834         (__ieee754_asinl): Force underflow exception for results with
4835         small absolute value.
4836         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
4837         Include <math.h>.
4838         * math/auto-libm-test-in: Do not mark underflow exceptions as
4839         possibly missing for bug 16351.
4840         * math/auto-libm-test-out: Regenerated.
4842         [BZ #18030]
4843         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
4844         of power of 2 down when low part has opposite sign.
4845         * math/libm-test.inc (logb_test_data): Add more tests.
4847 2015-02-26  Andreas Schwab  <schwab@suse.de>
4849         [BZ #18032]
4850         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
4851         over collating symbol inside a bracket expression.  Minor cleanup.
4852         * posix/tst-fnmatch3.c (do_test): Add test case.
4854 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
4856         [BZ #18029]
4857         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
4858         Adjust exponent of power of 2 down when low part has opposite
4859         sign.
4860         * math/libm-test.inc (ilogb_test_data): Add more tests.
4862 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
4864         [BZ #15969]
4865         * locale/findlocale.c (_nl_find_locale): Fix constness error in
4866         the previous change.
4868         [BZ #15969]
4869         * locale/findlocale.c (_nl_find_locale): Retry archive search
4870         after alias expansion.
4872 2015-02-25  Roland McGrath  <roland@hack.frob.com>
4874         * iconv/tst-iconv3.c (main): Converted to ...
4875         (do_test): ... this.
4876         (TEST_FUNCTION): New macro.
4877         Include test-skeleton.c.
4879         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
4880         (convert): Make function static.
4881         (test_unalign): Likewise.  Add const to argument pointee types.
4882         (main): Replace with static function do_test.
4883         Print "Succeeded." only if RET is zero.
4884         (TEST_FUNCTION): New macro.
4885         Include test-skeleton.c.
4887         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
4888         returns a null pointer.
4890 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4892         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
4893         to __memcpy_ppc only for static builds.
4895 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
4897         [BZ #18020]
4898         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
4899         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
4900         * math/auto-libm-test-in: Add more tests of asinh.
4901         * math/auto-libm-test-out: Regenerated.
4902         * sysdeps/i386/fpu/libm-test-ulps: Update.
4903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4905 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
4907         [BZ #15850]
4908         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
4909         and ip6_mtuinfo definitions here.
4910         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
4911         in this define too.  Update comment.
4913 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
4915         * elf/sprof.c (load_shobj): Tweak error message to match others.
4917 2015-02-24  Kevin Easton  <kevin@guarana.org>
4919         [BZ #16145] (partial fix)
4920         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
4921         to reduce lock contention.
4923 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
4925         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
4926         (struct timex): Update time comment.
4927         (ADJ_SETOFFSET): Define.
4929 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
4931         [BZ #18019]
4932         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
4933         2**56 not 2**28 as threshold for log (2x) formula.
4934         * math/auto-libm-test-in: Add more tests of acosh.
4935         * math/auto-libm-test-out: Regenerated.
4936         * sysdeps/i386/fpu/libm-test-ulps: Update.
4937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4939 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
4941         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
4942         parenthesis around the buf assignment.
4943         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
4945 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
4947         [BZ #16783]
4948         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
4949         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
4950         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
4951         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4952         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4953         * math/libm-test.inc (scalb_test_data): Add more tests.
4955 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
4957         [BZ #17916]
4958         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
4959         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
4961 2015-02-24  Eric Rannaud  <e@nanocritical.com>
4963         [BZ #17523]
4964         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
4965         * io/bits/fcntl2.h (open): Use it.
4966         (openat): Likewise.
4967         * io/open.c (__libc_open): Likewise.
4968         * io/open64.c (__libc_open64): Likewise.
4969         * io/open64_2.c (__open64_2): Likewise.
4970         * io/open_2.c (__open_2): Likewise.
4971         * io/openat.c (__openat): Likewise.
4972         * io/openat64.c (__openat64): Likewise.
4973         * io/openat64_2.c (__openat64_2): Likewise.
4974         * io/openat_2.c (__openat_2): Likewise.
4975         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
4976         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
4977         * sysdeps/posix/open64.c (__libc_open64): Likewise.
4978         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
4979         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
4980         (__open_nocancel): Likewise.
4981         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
4982         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
4983         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
4985 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4987         [BZ #14841]
4988         * resolv/gethnamaddr.c (getanswer): Skip logging if
4989         RES_USE_DNSSEC is set.
4990         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4992 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
4994         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
4996 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
4998         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
4999         201304L, for Unicode 7.
5001 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
5003         [BZ #17836]
5004         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
5005         shared library.  Add gmon-start.os otherwise.
5006         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
5007         $(objpfx)gmon-start.os if builing shared library.
5008         ($(objpfx)g$(static-start-installed-name)): Likewise.
5010 2015-02-23  Andreas Schwab  <schwab@suse.de>
5012         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
5014 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
5016         [BZ #17269]
5017         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
5018         (enlarge_userbuf): Likewise.
5020 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
5022         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
5023         * math/atest-exp.c (TIMEOUT): Adjust to 200.
5024         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
5025         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
5027 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
5029         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
5030         expression inside statement expression.
5032 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5034         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
5035         <sysdeps/nptl/lowlevellock.h> and remove macros and
5036         functions that are now defined there.
5037         (SYS_futex): Remove.
5038         (lll_compare_and_swap): Remove.
5039         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
5041 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
5043         [BZ #17999]
5044         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
5045         instead of scandirat.
5046         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
5047         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
5048         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
5049         __scandirat.
5050         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
5051         (__scandirat): Declare.  Use libc_hidden_proto.
5052         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
5053         Remove variable.
5054         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5056 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
5058         [BZ #15319]
5059         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
5060         (MO): New macro.
5061         (__ieee754_atan2): For results with small absolute value, force
5062         underflow exception and remove excess range and precision from
5063         return value.
5064         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
5065         (MO): New macro.
5066         (__ieee754_atan2f): For results with small absolute value, force
5067         underflow exception and remove excess range and precision from
5068         return value.
5069         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
5070         (MO): New macro.
5071         (__atan): For results with small absolute value, force underflow
5072         exception and remove excess range and precision from return value.
5073         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
5074         (MO): New macro.
5075         (__atanf): For results with small absolute value, force underflow
5076         exception and remove excess range and precision from return value.
5077         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
5078         <math.h>.
5079         (__ieee754_atan2): Force underflow exception for results with
5080         small absolute value.
5081         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
5082         <math_private.h>.
5083         (atan): Force underflow exception for results with small absolute
5084         value.
5085         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
5086         (__atanf): Force underflow exception for results with small
5087         absolute value.
5088         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
5089         <math.h>.
5090         (__atanl): Force underflow exception for results with small
5091         absolute value.
5092         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
5093         (__atanl): Force underflow exception for results with small
5094         absolute value.
5095         * sysdeps/x86/fpu/bits/mathinline.h
5096         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
5097         (__ieee754_atan2): Only define inline for long double.
5098         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
5099         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
5100         * math/auto-libm-test-in: Do not mark underflow exceptions as
5101         possibly missing for bug 15319.  Add more tests of atan2.
5102         * math/auto-libm-test-out: Regenerated.
5103         * math/libm-test.inc (casin_test_data): Do not mark underflow
5104         exceptions as possibly missing for bug 15319.
5105         (casinh_test_data): Likewise.
5106         * sysdeps/i386/fpu/libm-test-ulps: Update.
5108 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
5110         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
5111         * sysdeps/mips/bits/endian.h: Fix comments.
5113 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
5115         [BZ #17996]
5116         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
5117         (hdestroy_r): Likewise.
5118         (hsearch_r): Likewise.
5119         (__hcreate_r): Declare and use libc_hidden_proto.
5120         (__hdestroy_r): Likewise.
5121         (__hsearch_r): Likewise.
5122         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
5123         (hcreate): Call __hcreate_r instead of hcreate_r.
5124         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
5125         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
5126         as weak alias of __hcreate_r.
5127         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
5128         __hdestroy_r.
5129         (hsearch_r): Rename to __hsearch_r and define as weak alias of
5130         __hsearch_r.
5131         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
5132         Remove variable.
5133         (test-xfail-XPG4/search.h/linknamespace): Likewise.
5134         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5135         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5136         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5138 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5140         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
5141         arena_lock into a single arena_get.
5143 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
5145         * dl-reloc.c: Inlucde libc-internal.h.
5146         (_dl_try_allocate_static_tls): Call ALIGN_UP.
5147         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
5148         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
5149         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
5150         (grow_heap): Likewise.
5151         * malloc/malloc.c: Include libc-internal.h.
5152         (do_check_malloc): Call powerof2.
5153         (sysmalloc): Use pagesize. Call ALIGN_UP.
5154         (systrim): Use pagesize.
5155         (mremap_chunk): Use pagesize. Call ALIGN_UP.
5156         (__libc_valloc): Use pagesize.
5157         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
5159 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
5161         [BZ #17991]
5162         * include/sys/resource.h (__getrlimit64): Declare.  Use
5163         libc_hidden_proto.
5164         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
5165         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
5166         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
5167         getrlimit64.
5168         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
5169         __getrlimit64.
5170         [!getrlimit64] (getrlimit64): Define as weak alias of
5171         __getrlimit64.  Use libc_hidden_weak.
5172         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
5173         using __getrlimit64 not __new_getrlimit64.
5174         (__GI_getrlimit64): Likewise.
5175         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
5176         Likewise.
5177         (__GI_getrlimit64): Likewise.
5178         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
5179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
5180         (getrlimit): Add __getrlimit64 alias.
5181         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
5182         Likewise.
5183         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
5184         Remove variable.
5185         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5186         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5188 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
5190         * libio/fileops.c: Add missing sys/mman.h
5191         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
5193 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
5195         * manual/math.texi (Errors in Math Functions): Clarify goals
5196         regarding inexact and underflow exceptions.
5198 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
5200         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
5201         * sysdeps/mips/memset.S: Ditto.
5203 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
5205         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
5207 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
5209         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
5210         (__v1longjmp): Remove versioned symbol.
5211         (__v1siglongjmp): Remove alias and versioned symbol.
5212         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
5213         (__v2siglongjmp): Likewise.
5215 2015-02-16  Torvald Riegel  <triegel@redhat.com>
5217         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
5219 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
5221         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
5223 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
5225         [BZ #17987]
5226         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
5227         zero result does not depend on the sign resulting from
5228         subtraction.
5229         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5230         Likewise.
5231         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5232         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5233         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5234         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5235         * math/libm-test.inc (remquo_test_data): Add more tests.
5237 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
5239         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
5240         Problem reported by J William Piggott.
5242 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
5244         [BZ #17978]
5245         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
5246         products 4 * y and 2 * y where those would overflow.
5247         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5248         Likewise.
5249         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5250         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5251         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5252         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5253         * math/libm-test.inc (remquo_test_data): Add more tests.
5255         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
5257         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
5258         [defined _COMPILING_NEWLIB].
5259         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
5260         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
5262         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
5263         [!defined __mips_isa_rev || __mips_isa_rev < 6].
5265 2015-02-16  Torvald Riegel  <triegel@redhat.com>
5267         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
5268         acquired.
5270 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
5272         [BZ #17792]
5273         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
5274         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
5275         HOST_STACK_END_ADDR): Likewise.
5277 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
5279         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
5280         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
5281         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
5283 2015-02-13  Roland McGrath  <roland@hack.frob.com>
5285         * sysdeps/generic/c++-types.data: New file.
5286         * sysdeps/generic/ld.abilist: New file.
5287         * sysdeps/generic/libBrokenLocale.abilist: New file.
5288         * sysdeps/generic/libanl.abilist: New file.
5289         * sysdeps/generic/libc.abilist: New file.
5290         * sysdeps/generic/libcrypt.abilist: New file.
5291         * sysdeps/generic/libdl.abilist: New file.
5292         * sysdeps/generic/libm.abilist: New file.
5293         * sysdeps/generic/libpthread.abilist: New file.
5294         * sysdeps/generic/libresolv.abilist: New file.
5295         * sysdeps/generic/librt.abilist: New file.
5297 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
5299         [BZ #17569]
5300         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5301         Compute absolute value of x as modified by fmod, not original
5302         value of x.
5303         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
5304         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
5305         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
5306         RUN_TEST_ffI_f1_mod8.
5307         (remquo_test_data): Add more tests.
5309 2015-02-13  Roland McGrath  <roland@hack.frob.com>
5311         * sysdeps/init_array/pt-crti.S: New file.
5313 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
5315         [BZ #17967]
5316         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
5317         __builtin_fmaf instead of relying on contraction of a * b + c.
5319 2015-02-12  J William Piggott  <elseifthen@gmx.com>
5321         [BZ #17969]
5322         * manual/time.texi: correct the zoneinfo path in the TZ Variable
5323         node.
5325 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
5327         [BZ #17964]
5328         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
5329         __builtin_fma instead of relying on contraction of a * b + c.
5331 2015-02-12  Roland McGrath  <roland@hack.frob.com>
5333         * Makeconfig (ASFLAGS): Add -Werror=undef.
5334         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
5335         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
5336         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
5338         * Makeconfig (after-link): New variable.
5339         (+link-pie, +link-pie-tests): Use it.
5340         (+link-static, +link-static-tests): Likewise.
5341         (+link, +link-tests): Likewise.
5342         * Makerules (build-module, build-module-asneeded): Likewise.
5343         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
5344         Likewise.
5345         * elf/Makefile ($(objpfx)ld.so): Likewise.
5347 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
5349         [BZ #17965]
5350         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
5351         both struct timeval and struct timespec.
5353 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
5355         [BZ #16560]
5356         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5357         and redefine.
5358         (__ieee754_exp2l): Do not multiply small fractional parts by
5359         M_LN2l.
5360         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
5361         small argument.
5362         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5363         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
5364         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
5365         * math/auto-libm-test-in: Add more tests of exp2.
5366         * math/auto-libm-test-out: Regenerated.
5368 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5370         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
5371         unaligned path.
5373 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5375         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
5376         little endian.
5378 2015-02-12  Andreas Schwab  <schwab@suse.de>
5380         [BZ #15790]
5381         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
5382         Filter out elision flags from value returned in kind.
5383         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
5384         * nptl/tst-pthread-mutexattr.c: New file.
5386 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5388         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
5389         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
5390         into gnu-gnu, and update comment to refer to abi-tags.
5392 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
5394         [BZ #15467]
5395         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
5396         (__sincos): Set errno to EDOM for infinite argument.
5397         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
5398         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
5399         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
5400         (__sincosl): Set errno to EDOM for infinite argument.
5401         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
5402         (__sincosl): Set errno to EDOM for infinite argument.
5403         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
5404         (__sincosl): Set errno to EDOM for infinite argument.
5405         * math/libm-test.inc (sincos_test_data): Test errno setting.
5407 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
5409         * string/strxfrm_l.c: Remove #define STRCMP.
5410         * string/strcoll_l.c: Remove #define STRLEN.
5411         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
5412         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
5414 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
5416         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
5417         * sysdeps/mips/mips32/sfp-machine.h: ... here.
5418         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
5419         * sysdeps/mips/mips64/Makefile: ... here.
5420         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
5421         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
5422         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
5423         * sysdeps/mips/mips64/sfp-machine.h: ... here.
5424         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
5425         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
5426         * sysdeps/mips/mips64/n64/Implies: Likewise.
5428 2015-02-10  Roland McGrath  <roland@hack.frob.com>
5430         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
5431         <sys/time.h>, <string.h>, and <errno.h>.
5432         (dest_offset, dest_address, value, zero): Remove unused variables.
5433         (ldouble): Remove typedef.
5434         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
5435         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
5436         1).  Fix code style.
5437         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
5438         (check): Function removed.
5439         (CHECK): New macro.
5440         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
5441         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
5442         Don't call set_sigaction_FP and remove_sigaction_FP here.
5443         (ldouble_test): Just use 'long double' as macro argument, no need for
5444         the 'ldouble' typedef.
5445         (do_test): Set up SIGFPE handler at start, using plain signal rather
5446         than sigaction.  Fix code style.
5448 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
5450         [BZ #17949]
5451         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
5452         jump label.
5454 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5456         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
5457         * sysdeps/powerpc/powerpc32/configure: Regenerated.
5459         * sysdeps/powerpc/configure.ac: Remove file.
5460         * sysdeps/powerpc/configure: Likewise.
5462         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5463         [sysdep_routines]: Remove wordcopy-power6 object.
5464         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5465         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
5466         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
5467         (__memmove_ppc32): Likewise.
5468         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
5469         file.
5470         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
5471         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
5472         Remove preprocessor.
5474         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5475         [sysdep_routines]: Remove wide chars objects.
5476         [wcsmbs]: New rule for wide char objects.
5478         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5479         Remove wordcopy-power6 obejct.
5480         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
5481         Use local call for wordcopy and memcpy symbols.
5482         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
5483         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
5484         implementation for loader.
5485         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
5487         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5488         Remove wordcopy-power7 object.
5489         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
5490         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
5491         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
5492         (_wordcopy_fwd_dest_aligned): Likewise.
5493         (_wordcopy_bwd_aligned): Likewise.
5494         (_wordcopy_bwd_dest_aligned): Likewise.
5496         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
5497         Rewrite to call __memmove_ppc instead of include default
5498         implementation.
5500         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5501         Remove wide chars objects.
5502         [wcsmbs]: New rule for wide char objects.
5504 2015-02-09  Andreas Schwab  <schwab@suse.de>
5506         [BZ #17912]
5507         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5508         in terms of __O_DIRECTORY.
5510 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5512         * time/getdate.c: Include <stdbool.h>.
5513         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
5514         call PTR_MANGLE.
5515         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
5516         PTR_DEMANGLE.
5518 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
5520         Add ersatz _Static_assert on older C hosts
5521         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
5522         pre-C11 C platform that is not known to support _Static_assert.
5524 2015-02-07  Richard Braun  <rbraun@sceen.net>
5526         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
5527         sigstate.
5528         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
5530 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5532         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
5533         priority against unexistent AIO_PRIO_DELTA_MAX.
5534         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
5535         instead of int.
5536         * misc/fchflags.c (fchflags): Likewise.
5537         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
5538         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
5539         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
5540         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
5541         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
5542         Declare macros.
5543         [__USE_MISC] (chflags, fchflags): Declare functions.
5544         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
5545         EINVAL when nfds is greater than FD_SETSIZE.
5546         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
5547         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
5548         45.
5549         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
5550         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
5551         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
5552         MACH_RCV_TIMED_OUT.
5553         * hurd/hurd/signal.h (_hurd_self_sigstate,
5554         _hurd_critical_section_lock, _hurd_critical_section_unlock):
5555         Explicit casts from void *.
5556         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
5557         * abi-tags: Rename gnu-gnu os into gnu.
5559         [BZ #4719]
5560         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
5561         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
5562         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
5563         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
5564         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
5565         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
5567         [BZ #17944]
5568         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
5569         duplicates ADDR->sun_path with sockaddr LEN limitation.
5570         * sysdeps/mach/hurd/connect.c: Include <string.h>
5571         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
5572         * sysdeps/mach/hurd/sendmsg.c: Likewise.
5573         * sysdeps/mach/hurd/sendto.c: Likewise.
5574         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
5575         implementing it by hand.
5577 2015-02-06  Roland McGrath  <roland@hack.frob.com>
5579         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
5580         Use sfi_breg on ldr.
5581         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
5582         Likewise.
5584         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
5585         it's defined.
5586         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
5587         Test SIGSETXID only if it's defined.
5589         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
5591         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
5592         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
5594         * nptl/tst-align2.c: Moved ...
5595         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
5596         * nptl/Makefile (tests): Remove tst-align2.
5597         * sysdeps/unix/sysv/linux/Makefile
5598         [$(subdir) = nptl] (tests): Add tst-align-clone.
5599         * nptl/tst-getpid1.c: Moved ...
5600         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
5601         * nptl/tst-getpid2.c: Moved ...
5602         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
5603         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
5604         * sysdeps/unix/sysv/linux/Makefile
5605         [$(subdir) = nptl] (tests): ... here.
5606         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
5607         * sysdeps/unix/sysv/linux/Makefile
5608         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
5610         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
5611         Drop trailing \n from perror argument.  Use return rather than exit.
5613         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
5614         on [SA_SIGINFO].
5615         * nptl/tst-cancel21.c (do_test): Likewise.
5616         * debug/tst-backtrace6.c: Include <signal.h> first thing.
5617         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
5618         [!SA_SIGINFO]: Make it a stub test.
5620         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
5621         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
5623         * posix/tst-getlogin.c: Move to ...
5624         * login/tst-getlogin.c: ... here.
5625         * posix/Makefile (tests): Move tst-getlogin to ...
5626         * login/Makefile (tests): ... here.
5628         * libio/tst-atime.c (do_test): Move local variables SV and E
5629         inside [ST_NOATIME] conditional.
5631         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
5633         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
5635         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
5636         (wait_code): New function replaces macro.
5637         Call nanosleep rather than syscall.
5639         * nptl/pt-system.c: Rewritten.  Put everything under
5640         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5641         Use IFUNC to redirect when possible.
5643         * nptl/pt-longjmp.c: Rewritten.  Put everything under
5644         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5645         Use IFUNC to redirect when possible.
5647         * nptl/pt-fork.c: Rewritten.  Put everything under
5648         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5649         Use IFUNC to redirect when possible.
5650         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
5652         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
5653         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
5654         unconditionally nowadays.  This included the only reference to
5655         __vdso_clock_gettime that appears outside libc proper.
5656         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
5657         Remove version set (containing only __vdso_clock_gettime).
5658         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
5659         Add attribute_hidden.
5660         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
5661         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
5662         libc_hidden_data_def.
5663         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
5664         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5666         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
5667         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
5668         setrpcent, and getrpcport to ...
5669         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
5670         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
5671         getrpcbynumber_r, and getrpcent_r to ...
5672         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
5673         * inet/getrpcbyname.c: Moved ...
5674         * sunrpc/getrpcbyname.c: ... here.
5675         * inet/getrpcbyname_r.c: Moved ...
5676         * sunrpc/getrpcbyname_r.c: ... here.
5677         * inet/getrpcbynumber.c: Moved ...
5678         * sunrpc/getrpcbynumber.c: ... here.
5679         * inet/getrpcbynumber_r.c: Moved ...
5680         * sunrpc/getrpcbynumber_r.c: ... here.
5681         * inet/getrpcent.c: Moved ...
5682         * sunrpc/getrpcent.c: ... here.
5683         * inet/getrpcent_r.c: Moved ...
5684         * sunrpc/getrpcent_r.c: ... here.
5685         * inet/Makefile (routines): Move those to ...
5686         * sunrpc/Makefile (routines): ... here.
5687         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
5688         the $(subdirs) list.
5689         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
5690         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
5691         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
5692         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
5694         * elf/Makefile (routines): Include $(all-dl-routines), not just
5695         $(dl-routines).
5696         (rtld-routines): Likewise.  Use = rather than :=.
5697         * sysdeps/aarch64/Makefile [$(subdir) = elf]
5698         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
5699         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
5700         * sysdeps/arm/Makefile: Likewise.
5701         * sysdeps/i386/Makefile: Likewise.
5702         * sysdeps/x86_64/Makefile: Likewise.
5703         * sysdeps/hppa/Makefile [$(subdir) = elf]
5704         (sysdep_routines, sysdep-rtld-routines): Don't add
5705         $(sysdep-dl-routines) to these.
5706         * sysdeps/ia64/Makefile: Likewise.
5707         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
5708         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
5709         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
5710         Don't add dl-static to these; sysdep-dl-routines alone is enough.
5711         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
5712         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
5713         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
5714         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
5715         * sysdeps/powerpc/Makefile [$(subdir) = elf]
5716         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
5717         these; sysdep-dl-routines alone is enough.
5719 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
5721         [BZ #17932]
5722         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
5723         where multiplication results in zero and third argument is finite
5724         and nonzero.
5725         * math/auto-libm-test-in: Add more tests of fma.
5726         * math/auto-libm-test-out: Regenerated.
5728         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
5729         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
5730         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
5731         (_FP_CMP_EQ): Likewise.
5732         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
5734         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
5735         extra argument CHECK_NAN.  Redefine as wrapper around
5736         _FP_EXTEND_CNAN.
5738 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
5740         * version.h (RELEASE): Set to "stable".
5741         (VERSION): Set to "2.21"
5742         * include/features.h (__GLIBC_MINOR__): Set to 21.
5744         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
5746 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
5747             Paul Eggert  <eggert@cs.ucla.edu>
5749         [BZ #16618]
5750         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
5751         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
5752         size in bytes. Store needed elements in wpmax. Use needed size
5753         in bytes for extend_alloca.
5755 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
5757         * manual/install.texi: Latest tested versions are GCC 4.9.2,
5758         binutls 2.25, and texinfo 5.2.
5759         * INSTALL: Regenerate.
5760         * sysdeps/nios2/configure: Regenerate.
5761         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
5762         * manual/contrib.texi: Update.
5763         * po/be.po: Update.
5764         * po/bg.po: Update.
5765         * po/ca.po: Update.
5766         * po/cs.po: Update.
5767         * po/da.po: Update.
5768         * po/de.po: Update.
5769         * po/el.po: Update.
5770         * po/eo.po: Update.
5771         * po/es.po: Update.
5772         * po/fi.po: Update.
5773         * po/fr.po: Update.
5774         * po/gl.po: Update.
5775         * po/hr.po: Update.
5776         * po/hu.po: Update.
5777         * po/ia.po: Update.
5778         * po/id.po: Update.
5779         * po/it.po: Update.
5780         * po/ja.po: Update.
5781         * po/ko.po: Update.
5782         * po/lt.po: Update.
5783         * po/nb.po: Update.
5784         * po/nl.po: Update.
5785         * po/pl.po: Update.
5786         * po/pt_BR.po: Update.
5787         * po/ru.po: Update.
5788         * po/rw.po: Update.
5789         * po/sk.po: Update.
5790         * po/sl.po: Update.
5791         * po/sv.po: Update.
5792         * po/tr.po: Update.
5793         * po/uk.po: Update.
5794         * po/vi.po: Update.
5795         * po/zh_CN.po: Update.
5796         * po/zh_TW.po: Update.
5798         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
5799         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
5800         * sysdeps/hppa/dl-irel.h: Remove #warning.
5801         * sysdeps/hppa/entry.h: Provide prototype for
5802         __canonicalize_funcptr_for_compare and cast argument.
5803         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
5804         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
5805         * sysdeps/hppa/sotruss-lib.c: New file.
5806         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
5807         (atomic_compare_and_exchange_val_acq): Use __typeof__.
5808         (atomic_compare_and_exchange_bool_acq): Likewise.
5809         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
5810         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
5812         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
5813         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
5814         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
5816 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
5818         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
5819         called function in non-PIC case.
5821 2015-01-31  David S. Miller  <davem@davemloft.net>
5823         * sysdeps/sparc/sparc32/bits/atomic.h
5824         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
5825         unlock not after it.
5826         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
5827         volatile register usage warnings from the compiler.
5829         * sysdeps/sparc/nptl/sem_init.c: Delete.
5830         * sysdeps/sparc/nptl/sem_post.c: Delete.
5831         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
5832         * sysdeps/sparc/nptl/sem_wait.c: Delete.
5833         * sysdeps/sparc/sparc32/sem_init.c: New file.
5834         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
5835         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
5836         padding explicitly initialized.
5837         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
5838         padding for in-semaphore spinlock.
5839         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
5840         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
5841         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
5842         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
5843         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
5844         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
5845         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
5846         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
5847         version.
5848         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
5849         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
5851 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
5853         [BZ #17801]
5854         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5855         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
5856         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
5857         New.
5858         (index_AVX_Fast_Unaligned_Load): Likewise.
5859         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
5860         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
5861         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
5862         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
5863         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
5864         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
5865         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
5866         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
5867         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
5869 2015-01-29  Andreas Schwab  <schwab@suse.de>
5871         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
5873 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
5875         [BZ #17892]
5876         * nscd/nscd_stat.c (send_stats): Initialize DATA.
5878 2015-01-28  Martin Sebor  <msebor@redhat.com>
5880         * math/README.libm-test: Clarify. Add "How to read the test output."
5882 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
5884         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
5885         Define to 0.
5887 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
5889         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
5890         (__HAVE_64B_ATOMICS): Define to 0.
5892 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5894         [BZ #17885]
5895         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
5896         value to set as new flag.
5898         [BZ #16576]
5899         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
5900         and use _ARCH_PPCSQ instead.
5901         (__ieee754_sqrt): Likewise.
5902         (__ieee754_sqrtf): Likewise.
5903         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
5904         _ARCH_PPCSQ is defined.
5905         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
5906         fsqrt instruction.
5907         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
5908         _ARCH_PPCSQ is defined.
5909         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
5910         fsqrts instruction.
5911         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
5913 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5915         * iconv/loop.c: Suppress array out of bound warning caused by GCC
5916         bug (GCC BZ #64739).
5918 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
5920         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
5921         Mark _retval as used.
5922         (lll_futex_wake_unlock): Likewise.
5923         (lll_futex_timed_wait_requeue_pi): Likewise.
5925         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5926         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
5927         register variables.
5929         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
5930         libm_hidden_def.
5932         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
5933         (__bswap_64): Mark as __always_inline.
5935 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
5937         [BZ #15378]
5938         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
5939         when none of the search directories exist.
5941 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5943         [BZ #17869]
5944         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
5945         power8 in .machine directive.
5947         [BZ #17868]
5948         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
5949         set dependency from opd value.
5951 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
5953         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5954         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
5955         architecture.
5957 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
5959         [BZ #17870]
5960         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
5961         with uint64_t.
5962         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
5963         (uint64_t) 1.
5964         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
5965         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
5966         Replace 1UL with (uint64_t) 1.
5967         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
5968         int with uint64_t.
5970 2015-01-23  Roland McGrath  <roland@hack.frob.com>
5972         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
5973         (if_freenameindex): Likewise.
5975         * resource/getrlimit64.c: Add missing libc_hidden_def.
5977 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
5979         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
5980         __label__.
5981         (_FP_FMA): Likewise.
5982         (_FP_TO_INT_ROUND): Likewise.
5983         (_FP_FROM_INT): Likewise.
5985 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5987         [BZ #16418]
5988         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
5989         Make code racy and cancel safe.
5991 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
5993         * sysdeps/arm/unwind-resume.h: Fix copyright year.
5994         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
5995         attribution.
5997         * pwd/tst-getpw.c: Rewrite.
5999         [BZ #17702]
6000         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
6001         (modules-names): Add moddummy1 and moddummy2.
6002         ($(objpfx)tst-rec-dlopen): Define.
6003         * dlfcn/moddummy1.c: New file.
6004         * dlfcn/moddummy2.c: New file.
6005         * dlfcn/tst-rec-dlopen.c: New file.
6006         * elf/dl-cache.c (_dl_load_cache_lookup):
6007         Return char*. Copy result with alloca/strcpy/strdup.
6008         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
6009         returns char*. Free cached. If not saving realname
6010         free cached.
6011         * elf/dl-open.c (dl_open_worker): Do not assert that
6012         _r_debug->r_state is RT_CONSISTENT.
6013         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
6014         returns char*.
6016 2015-01-21  Torvald Riegel  <triegel@redhat.com>
6017             Carlos O'Donell  <carlos@redhat.com>
6019         [BZ #12674]
6020         * nptl/sem_waitcommon.c: New file.
6021         * nptl/sem_wait.c: Include sem_waitcommon.c.
6022         (__sem_wait_cleanup, do_futex_wait): Remove.
6023         (__new_sem_wait): Adapt.
6024         (__new_sem_trywait): New function.
6025         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
6026         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
6027         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
6028         (sem_timedwait): Adapt.
6029         * nptl/sem_post.c (__new_sem_post): Adapt.
6030         (futex_wake): New function.
6031         (__old_sem_post): Add release MO fence.
6032         * nptl/sem_open.c (sem_open): Adapt.
6033         * nptl/sem_init.c (__new_sem_init): Adapt.
6034         (futex_private_if_supported): New function.
6035         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
6036         (__old_sem_getvalue): Add using previous code.
6037         * sysdeps/nptl/internaltypes.h: Adapt.
6038         * nptl/tst-sem13.c (do_test): Adapt.
6039         * nptl/tst-sem11.c (main): Adapt.
6040         * nptl/sem_trywait.c: Remove.
6041         * nptl/DESIGN-sem.txt: Remove.
6042         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
6043         (gen-as-const-headers): Remove structsem.sym.
6044         * nptl/structsem.sym: Remove.
6045         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
6046         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
6047         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
6048         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
6049         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
6050         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
6051         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
6052         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
6053         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
6054         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
6055         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
6056         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
6057         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
6058         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
6059         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
6060         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
6061         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
6062         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
6063         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
6064         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
6065         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
6066         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
6068 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
6070         * INSTALL: Regenerated.
6072         * po/libc.pot: Regenerated.
6074 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
6075             Sandra Loosemore  <sandra@codesourcery.com>
6076             Andrew Jenner  <andrew@codesourcery.com>
6077             Joseph Myers  <joseph@codesourcery.com>
6078             Nathan Sidwell  <nathan@codesourcery.com>
6080         * NEWS: Mention new Nios II port.
6081         * sysdeps/nios2/Implies: New file.
6082         * sysdeps/nios2/Makefile: New file.
6083         * sysdeps/nios2/Subdirs: New file.
6084         * sysdeps/nios2/Versions: New file.
6085         * sysdeps/nios2/__longjmp.S: New file.
6086         * sysdeps/nios2/abort-instr.h: New file.
6087         * sysdeps/nios2/backtrace.c: New file.
6088         * sysdeps/nios2/bits/endian.h: New file.
6089         * sysdeps/nios2/bits/fenv.h: New file.
6090         * sysdeps/nios2/bits/link.h: New file.
6091         * sysdeps/nios2/bits/setjmp.h: New file.
6092         * sysdeps/nios2/bsd-_setjmp.S: New file.
6093         * sysdeps/nios2/bsd-setjmp.S: New file.
6094         * sysdeps/nios2/configure: New generated file.
6095         * sysdeps/nios2/configure.ac: New file.
6096         * sysdeps/nios2/crti.S: New file.
6097         * sysdeps/nios2/crtn.S: New file.
6098         * sysdeps/nios2/dl-init.c: New file.
6099         * sysdeps/nios2/dl-machine.h: New file.
6100         * sysdeps/nios2/dl-sysdep.h: New file.
6101         * sysdeps/nios2/dl-tls.h: New file.
6102         * sysdeps/nios2/dl-trampoline.S: New file.
6103         * sysdeps/nios2/gccframe.h: New file.
6104         * sysdeps/nios2/gmp-mparam.h: New file.
6105         * sysdeps/nios2/jmpbuf-offsets.h: New file.
6106         * sysdeps/nios2/jmpbuf-unwind.h: New file.
6107         * sysdeps/nios2/ldsodefs.h: New file.
6108         * sysdeps/nios2/libc-tls.c: New file.
6109         * sysdeps/nios2/libm-test-ulps: New file.
6110         * sysdeps/nios2/machine-gmon.h: New file.
6111         * sysdeps/nios2/math-tests.h: New file.
6112         * sysdeps/nios2/math_private.h: New file.
6113         * sysdeps/nios2/memusage.h: New file.
6114         * sysdeps/nios2/nptl/Makefile: New file.
6115         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
6116         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
6117         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
6118         * sysdeps/nios2/nptl/pthreaddef.h: New file.
6119         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
6120         * sysdeps/nios2/nptl/tls.h: New file.
6121         * sysdeps/nios2/preconfigure: New file.
6122         * sysdeps/nios2/s_fma.c: New file.
6123         * sysdeps/nios2/s_fmaf.c: New file.
6124         * sysdeps/nios2/setjmp.S: New file.
6125         * sysdeps/nios2/sfp-machine.h: New file.
6126         * sysdeps/nios2/sotruss-lib.c: New file.
6127         * sysdeps/nios2/stackguard-macros.h: New file.
6128         * sysdeps/nios2/stackinfo.h: New file.
6129         * sysdeps/nios2/start.S: New file.
6130         * sysdeps/nios2/sysdep.h: New file.
6131         * sysdeps/nios2/tls-macros.h: New file.
6132         * sysdeps/nios2/tst-audit.h: New file.
6133         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
6134         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
6135         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
6136         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
6137         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
6138         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
6139         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
6140         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
6141         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
6142         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
6143         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
6144         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
6145         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
6146         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
6147         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
6148         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
6149         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
6150         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
6151         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
6152         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
6153         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
6154         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
6155         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
6156         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
6157         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
6158         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
6159         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
6160         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
6161         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
6162         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
6163         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
6164         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
6165         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
6166         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
6167         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
6168         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
6169         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
6170         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
6171         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
6172         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
6173         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
6174         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
6175         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
6176         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
6178 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6180         [BZ #17844]
6181         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
6182         (getutent): Use weak_alias in non SHARED case
6183         and default_symbol_version in SHARED case.
6184         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
6185         (getutent_r, pututline): Likewise.
6186         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
6187         (getutid): Likewise.
6188         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
6189         (getutid_r): Likewise.
6190         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
6191         (getutline): Likewise.
6192         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
6193         (getutline_r): Likewise.
6194         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
6195         (updwtmp): Likewise.
6197 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6199         [BZ #17848]
6200         * sysdeps/s390/s390-32/memcmp.S
6201         (memcmp_g5): Rename to __memcmp_g5.
6202         * sysdeps/s390/s390-32/memcpy.S
6203         (memcpy_g5): Rename to __memcpy_g5.
6204         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6205         (memcpy_mvcle) Rename to __memcpy_mvcle.
6206         * sysdeps/s390/s390-32/memset.S
6207         (memset_g5): Rename to __memset_g5.
6208         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
6209         (IFUNC_RESOLVE): Prefix ifunc-resolve function
6210         and use prefixed functions.
6211         * sysdeps/s390/s390-32/multiarch/memcmp.S
6212         (memcmp_z196): Rename to __memcmp_z196.
6213         (memcmp_z10): Rename to __memcmp_z10.
6214         (memcmp): Set alias to __memcmp_g5.
6215         (bcmp): Set alias to __memcmp_g5.
6216         * sysdeps/s390/s390-32/multiarch/memcpy.S
6217         (memcpy_z196): Rename to __memcpy_z196.
6218         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6219         (memcpy_z10): Rename to __memcpy_z10.
6220         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6221         (memcpy): Set alias to __memcpy_g5.
6222         * sysdeps/s390/s390-32/multiarch/memset.S
6223         (memset_z196): Rename to __memset_z196.
6224         Jump to __memset_mvcle instead of memset_mvcle.
6225         (memset_z10): Rename to __memset_z10.
6226         Jump to __memset_mvcle instead of memset_mvcle.
6227         (memset_mvcle) Rename to __memset_mvcle.
6228         (memset): Set alias to __memset_g5.
6229         * sysdeps/s390/s390-64/memcmp.S
6230         (memcmp_z900): Rename to __memcmp_z900.
6231         * sysdeps/s390/s390-64/memcpy.S
6232         (memcpy_z900): Rename to __memcpy_z900.
6233         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6234         (memcpy_mvcle) Rename to __memcpy_mvcle.
6235         * sysdeps/s390/s390-64/memset.S
6236         (memset_z900): Rename to __memset_z900.
6237         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
6238         (IFUNC_RESOLVE): Prefix ifunc-resolve function
6239         and use prefixed functions.
6240         * sysdeps/s390/s390-64/multiarch/memcmp.S
6241         (memcmp_z196): Rename to __memcmp_z196.
6242         (memcmp_z10): Rename to __memcmp_z10.
6243         (memcmp): Set alias to __memcmp_z900.
6244         (bcmp): Set alias to __memcmp_z900.
6245         * sysdeps/s390/s390-64/multiarch/memcpy.S
6246         (memcpy_z196): Rename to __memcpy_z196.
6247         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6248         (memcpy_z10): Rename to __memcpy_z10.
6249         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6250         (memcpy): Set alias to __memcpy_z900.
6251         * sysdeps/s390/s390-64/multiarch/memset.S
6252         (memset_z196): Rename to __memset_z196.
6253         Jump to __memset_mvcle instead of memset_mvcle.
6254         (memset_z10): Rename to __memset_z10.
6255         Jump to __memset_mvcle instead of memset_mvcle.
6256         (memset_mvcle) Rename to __memset_mvcle.
6257         (memset): Set alias to __memset_z900.
6259 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
6261         [BZ #17748]
6262         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
6263         __fesetenv instead of fesetenv.
6265 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6267         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
6268         macro.
6270 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6272         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
6273         regression on LE.
6275         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
6276         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
6277         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6278         strncmp-power8 object.
6279         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6280         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
6281         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
6282         * NEWS: Update.
6284 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6285             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6287         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
6288         trailing byte check.
6290 2015-01-13  David S. Miller  <davem@davemloft.net>
6292         * include/signal.h (__sigreturn): Guard with __USE_MISC.
6294 2015-01-13  Roland McGrath  <roland@hack.frob.com>
6296         * login/logout.c (logout): Use memset rather than bzero.
6297         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
6298         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
6299         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
6300         (_gethtbyaddr): Likewise.
6301         * locale/programs/simple-hash.c (bcopy): Macro removed.
6303 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6305         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6306         Add strcmp-power8 object.
6307         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6308         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
6309         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
6310         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
6311         __strcmp_power8 implementation.
6312         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
6313         * NEWS: Update.
6315         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6316         Add strncpy-power8 and stpncpy-power8 objects.
6317         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6318         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
6319         implementations.
6320         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
6321         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
6322         __stpncpy_power8 implementation.
6323         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
6324         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
6325         __strncpy_power8 implementation.
6326         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
6327         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
6328         * NEWS: Update.
6330         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
6331         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
6332         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
6334         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6335         strncat-power8 object.
6336         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
6337         __strcat_power8 implementation.
6338         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6339         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
6340         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
6341         optimized strcat for power8.
6343         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6344         strcpy-power8 and stpcpy-power8 objects.
6345         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6346         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
6347         implementations.
6348         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
6349         multiarch stpcpy implementation for POWER8.
6350         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
6351         multiarch strcpy implementation for POWER8.
6352         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
6353         __strcpy_power8 function.
6354         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
6355         stpcpy for POWER8.
6356         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
6357         strcpy for POWER8.
6358         * NEWS: Update.
6360 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
6362         [BZ #16009]
6363         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
6364         weights and rules. Use do_xfrm_cached if data fits in cache,
6365         do_xfrm otherwise.  Moved former main loop to...
6366         * (do_xfrm_cached): New function.
6367         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
6368         find_idx, find_position and stack_push.
6369         * (find_idx): New function.
6370         * (find_position): Likewise.
6371         * localedata/sort-test.sh: Added test run for do_xfrm.
6372         * localedata/xfrm-test.c (main): Added command line option
6373         -nocache to run the test with strings that are too large for
6374         the STRXFRM cache.
6376 2015-01-13  Torvald Riegel  <triegel@redhat.com>
6378         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
6379         variable to lll_futex_wake call, not the value itself.
6381 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
6383         [BZ #17803]
6384         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
6385         twom64.  Adjust value to 0x1p-64L.
6386         (__scalblnl): Only return standard underflowing result for K <=
6387         -64 not K <= -63; adjust exponent for underflowing result by 64
6388         not 63.
6389         * math/libm-test.inc (scalbn_test_data): Add more tests.
6390         (scalbln_test_data): Likewise.
6392         [BZ #17834]
6393         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
6394         0x1p63L.
6395         (__scalblnl): Get new exponent of adjusted subnormal value from ES
6396         not HX.
6397         * math/libm-test.inc (scalbn_test_data): Add more tests.
6398         (scalbln_test_data): Likewise.
6400 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6401             Stefani Seibold  <stefani@seibold.net>
6403         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
6404         (sysdep_routines): Add dl-vdso here, ...
6405         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
6406         (sysdep_routines): ... not here.
6407         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
6408         fallback when vDSO is not presented.
6409         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
6410         Define with libc_hidden_proto/libc_hidden_data_def definitions.
6411         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
6412         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
6413         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
6414         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
6415         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
6416         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
6417         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
6418         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
6419         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
6420         fallback configurable symbol when vDSO is not available.
6421         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
6422         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
6423         be able to redefine fallback symbol when vDSO is not available.
6424         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
6425         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
6427 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6429         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
6430         (TLS_INIT_TP): Add tm_capable initialization.
6431         (TLS_DEFINE_INIT_TP): Likewise.
6432         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
6433         TCB.
6434         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
6435         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
6436         calculation.
6437         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
6438         transactoion is lock elision is built and TCB tm_capable is set.
6439         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
6440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6441         (INTERNAL_SYSCALL_NCS): Likewise.
6442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6443         (INTERNAL_SYSCALL_NCS): Likewise.
6444         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
6446         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
6447         for powerpc.
6448         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6449         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
6450         and remove it for 32 bits case.
6451         [pthread_rwlock_t] (__rwelision): New field for lock elision.
6452         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
6453         initialization.
6454         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
6455         Disable lock elision with rdlocks if elision is not available.
6457         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
6458         (sysdep_routines): Add lock elision objects.
6459         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6460         [pthread_mutex_t] (__spins): Rework to add lock elision field.
6461         [pthread_mutex_t] (__elision): Add field.
6462         [__PTHREAD_SPINS]: Adjust to init lock elision field.
6463         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
6464         elision definitions for powerpc.
6465         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
6466         implementation of lock elision for powerpc.
6467         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
6468         implementation of timed lock elision for powerpc.
6469         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
6470         implementation of trylock with lock elision for powerpc.
6471         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
6472         implementaion of unlock for lock elision for powerpc.
6473         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
6474         automatic enable lock elision for mutexes.
6475         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
6476         transaction execution definitions for powerpc.
6477         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
6478         definitions.
6479         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
6480         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
6481         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
6482         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
6483         * NEWS: Update.
6485 2015-01-09  Roland McGrath  <roland@hack.frob.com>
6487         * sysdeps/posix/shm-directory.c: Use <> rather than ""
6488         for #include of <shm-directory.h>.
6490 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
6492         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
6493         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
6495 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
6497         [BZ #17791]
6498         * NEWS: Mention bug fix.
6499         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
6500         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
6501         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
6503 2015-01-09  Torvald Riegel <triegel@redhat.com>
6505         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
6507 2015-01-09  Torvald Riegel <triegel@redhat.com>
6509         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
6511 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
6513         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
6514         pointer and cast to uintptr_t.
6516 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
6518         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
6519         removed.
6520         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
6522 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
6524         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
6525         of 0.
6527 2015-01-08  Roland McGrath  <roland@hack.frob.com>
6529         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
6530         <nptl/pthreadP.h> instead.
6531         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
6533         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
6534         already defined.
6535         [__SIGRTMIN] (init): Function removed.
6536         [__SIGRTMIN] (initialized): Variable removed.
6537         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
6538         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
6539         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
6540         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
6541         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
6542         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
6543         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
6544         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
6545         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
6546         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
6547         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
6548         * sysdeps/nptl/allocrtsig.c: New file.
6549         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
6550         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
6551         * sysdeps/generic/testrtsig.h: File removed.
6553         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
6554         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
6556         * nptl/nptl-init.c (pthread_functions): Conditionalize
6557         .ptr__nptl_setxid initialization on [SIGSETXID].
6559         * sysdeps/nptl/sys/procfs.h: New file.
6560         * nptl_db/Makefile (headers): Add it.
6561         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
6563         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
6564         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
6565         * nptl/pthread_attr_setaffinity.c: Include it.
6566         * nptl/pthread_setattr_default_np.c: Likewise.
6567         * nptl/check-cpuset.h: New file.
6569 2015-01-08  Richard Henderson  <rth@redhat.com>
6571         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
6572         (CFLAGS-tst-execstack-prog.c): Likewise.
6573         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
6575 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
6576             Sandra Loosemore  <sandra@codesourcery.com>
6577             Andrew Jenner  <andrew@codesourcery.com>
6578             Joseph Myers  <joseph@codesourcery.com>
6579             Nathan Sidwell  <nathan@codesourcery.com>
6581         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
6582         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
6583         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
6584         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
6585         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
6586         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
6587         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
6588         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
6589         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
6590         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
6591         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
6592         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
6593         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
6594         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
6595         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
6596         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
6597         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
6599 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6601         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
6602         timespec struct member in syscall macro.
6603         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
6604         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
6605         first timeval struct member in syscall macro.
6606         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
6608 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
6610         [BZ #17748]
6611         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
6612         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
6613         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
6614         __feupdateenv and define as weak alias of __feupdateenv.  Use
6615         libm_hidden_weak.
6616         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
6617         libm_hidden_def.
6618         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
6619         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
6620         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
6621         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
6622         libm_hidden_def.
6623         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
6624         __feupdateenv and define as weak alias of __feupdateenv.  Use
6625         libm_hidden_weak.
6626         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
6627         libm_hidden_def.
6628         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
6629         __feupdateenv and define as weak alias of __feupdateenv.  Use
6630         libm_hidden_weak.
6631         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
6632         libm_hidden_def.
6633         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6634         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
6635         (__feupdateenv): Likewise.
6636         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
6637         __feupdateenv and define as weak alias of __feupdateenv.  Use
6638         libm_hidden_weak.
6639         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6640         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
6641         libm_hidden_def.
6642         * sysdeps/tile/math_private.h (__feupdateenv): New inline
6643         function.
6644         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
6645         libm_hidden_def.
6646         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
6647         __feupdateenv instead of feupdateenv.
6648         (default_libc_feupdateenv_test): Likewise.
6649         (libc_feresetround_ctx): Likewise.
6651 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6653         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
6654         prototype.
6656 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
6658         * posix/regcomp.c (parse_bracket_exp): Initialize type to
6659         COLL_SYM in a couple of places to avoid uninitialized variable
6660         wanings on tilegx gcc 4.8.2.
6662 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
6664         * sysdeps/aarch64/strcpy.S: New file.
6665         * sysdeps/aarch64/stpcpy.S: New file.
6666         * NEWS: Updated.
6668 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
6670         * sysdeps/aarch64/strrchr.S: New file.
6671         * NEWS: Updated.
6673 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
6675         [BZ #17658]
6676         * stdlib/setenv.c: Fix memory leak when setting large,
6677         duplicate string.
6679 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
6681         [BZ #17273]
6682         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
6683         and tabs from buffer before parsing fstab entry.
6684         * misc/tst-mntent.c (main): Add test for mount entry with
6685         trailing spaces and tabs.
6687 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
6689         [BZ #17748]
6690         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
6691         * math/fesetround.c (fesetround): Rename to __fesetround and
6692         define as weak alias of __fesetround.  Use libm_hidden_weak.
6693         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
6694         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
6695         * sysdeps/arm/fesetround.c (fesetround): Likewise.
6696         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
6697         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
6698         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
6699         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
6700         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
6701         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
6702         __fesetround_inline.
6703         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
6704         __fesetround_inline instead of __fesetround.
6705         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
6706         __fesetround and define as weak alias of __fesetround.  Use
6707         libm_hidden_weak.  Call __fesetround_inline instead of
6708         __fesetround.
6709         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
6710         __fesetround and define as weak alias of __fesetround.  Use
6711         libm_hidden_weak.
6712         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
6713         Likewise.
6714         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
6715         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6716         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
6717         * sysdeps/tile/math_private.h (__fesetround): New inline function.
6718         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
6719         __fesetround and define as weak alias of __fesetround.  Use
6720         libm_hidden_weak.
6721         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
6722         __fesetround instead of fesetround.
6723         (default_libc_feholdexcept_setround): Likewise.
6724         (libc_feholdsetround_ctx): Likewise.
6725         (libc_feholdsetround_noex_ctx): Likewise.
6727         [BZ #17748]
6728         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
6729         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
6730         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
6731         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
6732         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6733         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
6734         define as weak alias of __fesetenv.  Use libm_hidden_weak.
6735         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
6736         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6737         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6738         define as weak alias of __fesetenv.  Use libm_hidden_weak.
6739         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6740         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6741         define as weak alias of __fesetenv.  Use libm_hidden_weak.
6742         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
6743         libm_hidden_def.
6744         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
6745         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
6746         Likewise.
6747         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6748         define as weak alias of __fesetenv.  Use libm_hidden_weak.
6749         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
6750         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6751         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
6752         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
6753         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
6754         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
6755         __fesetenv instead of fesetenv.
6756         (libc_feresetround_noex_ctx): Likewise.
6757         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
6758         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
6759         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
6760         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
6761         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
6762         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
6763         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6764         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
6765         (__feupdateenv): Likewise.
6766         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
6767         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6768         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6769         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
6771 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
6773         [BZ #17806]
6774         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
6775         addresses have been freed.
6777 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
6779         * resolv/res_init.c (__res_vinit): Improve comments about nserv
6780         and nservall.
6782 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
6784         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
6785         Clean up check_pf allocation pattern. addresses
6787 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6789         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
6790         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
6791         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
6792         * nptl/pthread_exit.c (__pthread_exit): Likewise.
6793         * nptl/pthread_join.c (pthread_join): Likewise.
6794         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
6795         * sysdeps/posix/waitid.c (__waitid): Likewise.
6796         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
6797         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
6798         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
6799         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
6800         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
6801         Likewise.
6802         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
6803         (__libc_pread64): Likewise.
6804         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
6805         (__libc_pwrite): Likewise.
6806         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
6807         (__libc_pwrite64): Likewsie.
6808         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
6809         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
6810         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
6811         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
6812         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
6813         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
6814         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
6816         Likewise.
6817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6818         (__libc_pread64): Likewise.
6819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
6820         Likewise.
6821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6822         (__libc_pwrite64): Likewise.
6823         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
6824         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
6825         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
6826         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
6827         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6828         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
6829         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
6830         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
6831         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
6832         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
6833         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
6834         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
6835         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
6836         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
6837         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
6838         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
6839         Likewise.
6841 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
6843         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
6844         (CFLAGS-test-double.c): Likewise.
6845         (CFLAGS-test-ldouble.c): Likewise.
6846         (CPPFLAGS-test-ifloat.c): Likewise.
6847         (CPPFLAGS-test-idouble.c): Likewise.
6848         (CPPFLAGS-test-ildoubl.c): Likewise.
6849         (CFLAGS-test-test-fenv.c): Remove variable.
6850         (CFLAGS-test-misc.c): Likewise.
6852 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
6854         [BZ #17797]
6855         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
6856         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
6857         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
6858         CLOCKS_PER_SEC == 1000000.
6859         * time/clocktest.c (main): Replace %ld with %jd and cast to
6860         intmax_t.
6862 2015-01-05  Roland McGrath  <roland@hack.frob.com>
6864         * sysdeps/generic/unwind-resume.h: New file.
6865         * sysdeps/gnu/unwind-resume.c: Include it.
6866         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
6867         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
6868         argument list.
6869         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
6870         global rather than static.
6871         (_Unwind_Resume): Update user.
6872         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
6873         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
6874         rather than static.  Add __attribute__ ((cold)).
6875         (_Unwind_Resume, __gcc_personality_v0): Update callers.
6876         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
6877         * sysdeps/arm/arm-unwind-resume.S: New file.
6878         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
6879         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
6880         * sysdeps/arm/Makefile [$(subdir) = csu]
6881         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
6882         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6883         Add rt-arm-unwind-resume.
6884         [$(subdir) = nptl]
6885         (libpthread-sysdep_routines, libpthread-shared-only-routines):
6886         Add pt-arm-unwind-resume.
6887         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
6888         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
6890 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
6892         [BZ #17748]
6893         * include/fenv.h (__feholdexcept): Declare.  Use
6894         libm_hidden_proto.
6895         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
6896         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
6897         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6898         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
6899         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
6900         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
6901         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
6902         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6903         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
6904         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
6905         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6906         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
6907         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
6908         (feholdexcept): Likewise.
6909         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6910         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
6911         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6912         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6913         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
6914         __feholdexcept instead of feholdexcept.
6915         (default_libc_feholdexcept_setround): Likewise.
6917 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
6919         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
6920         to avoid using stl/str to align destination.
6922 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
6924         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
6926 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
6928         [BZ #17796]
6929         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
6930         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
6931         Define as weak alias not strong alias.
6933 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
6935         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
6936         bltzal with addiupc.
6937         (RTLD_START): Ditto.
6939 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
6941         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
6942         for __vdso_* functions in declarations.
6943         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
6944         definitions.
6945         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
6946         INTERNAL_VSYSCALL): Use struct return types to check for error.
6948         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
6949         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
6950         function with cast from llround().
6951         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
6952         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
6953         Define.
6955 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
6957         [BZ #17793]
6958         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
6959         Define as weak alias not strong alias.
6961         [BZ #17635]
6962         * ctype/ctype-c99.c: New file.  isblank implementation moved from
6963         ...
6964         * ctype/ctype-extn.c: ... here.
6965         (__isblank_l): Move to ...
6966         * ctype/ctype-c99_l.c: ... here.  New file.
6967         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
6968         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
6969         Remove variable.
6970         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
6971         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
6972         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
6973         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
6974         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
6976         [BZ #17777]
6977         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
6978         (posix_fadvise64): Define as weak alias not strong alias.
6979         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6980         (posix_fallocate64): Likewise.
6981         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
6982         Remove variable.
6983         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
6984         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
6985         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
6986         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
6987         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
6989 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
6991         [BZ #16191]
6992         * NEWS: Mention bug fix.
6993         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
6994         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
6995         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
6996         (HOST_STACK_END_ADDR): Likewise.
6998 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
7000         [BZ #17748]
7001         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
7002         * math/fegetround.c (fegetround): Rename to __fegetround and
7003         define as weak alias of __fegetround.  Use libm_hidden_weak.
7004         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
7005         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
7006         * sysdeps/arm/fegetround.c (fegetround): Likewise.
7007         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
7008         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7009         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
7010         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
7011         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
7012         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7013         Undefine after rather than before function definition; use
7014         parentheses around function name in definition.
7015         (__fegetround): Also undefine macro after function definition.
7016         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
7017         __fegetround and define as weak alias of __fegetround.  Use
7018         libm_hidden_weak.  Do not undefine as macro.
7019         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7020         Likewise.
7021         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
7022         __fegetround and define as weak alias of __fegetround.  Use
7023         libm_hidden_weak.
7024         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7025         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7026         * sysdeps/tile/math_private.h (__fegetround): New inline function.
7027         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
7028         __fegetround and define as weak alias of __fegetround.  Use
7029         libm_hidden_weak.
7030         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
7031         __fegetround instead of fegetround.
7033         [BZ #17782]
7034         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
7035         Condition macro definition on [__USE_MISC].
7037         [BZ #17781]
7038         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
7039         (struct sigaction): Change type of sa_flags field to int.
7041         [BZ #17780]
7042         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
7043         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
7044         __glibc_reserved0.
7046         * nptl/version.c (banner): Use single year in copyright notice.
7048         * NEWS: Update copyright dates.
7049         * catgets/gencat.c (print_version): Likewise.
7050         * csu/version.c (banner): Likewise.
7051         * debug/catchsegv.sh: Likewise.
7052         * debug/pcprofiledump.c (print_version): Likewise.
7053         * debug/xtrace.sh (do_version): Likewise.
7054         * elf/ldconfig.c (print_version): Likewise.
7055         * elf/ldd.bash.in: Likewise.
7056         * elf/pldd.c (print_version): Likewise.
7057         * elf/sotruss.sh: Likewise.
7058         * elf/sprof.c (print_version): Likewise.
7059         * iconv/iconv_prog.c (print_version): Likewise.
7060         * iconv/iconvconfig.c (print_version): Likewise.
7061         * locale/programs/locale.c (print_version): Likewise.
7062         * locale/programs/localedef.c (print_version): Likewise.
7063         * login/programs/pt_chown.c (print_version): Likewise.
7064         * malloc/memusage.sh (do_version): Likewise.
7065         * malloc/memusagestat.c (print_version): Likewise.
7066         * malloc/mtrace.pl: Likewise.
7067         * manual/libc.texinfo: Likewise.
7068         * nptl/version.c (banner): Likewise.
7069         * nscd/nscd.c (print_version): Likewise.
7070         * nss/getent.c (print_version): Likewise.
7071         * nss/makedb.c (print_version): Likewise.
7072         * posix/getconf.c (main): Likewise.
7073         * scripts/test-installation.pl: Likewise.
7074         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7076 2015-01-02  Will Newton  <will.newton@linaro.org>
7078         * sysdeps/arm/armv7/configure: Removed.
7079         * sysdeps/arm/armv7/configure.ac: Likewise.
7081 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
7083         * All files with FSF copyright notices: Update copyright dates
7084         using scripts/update-copyrights.
7085         * intl/plural.c: Regenerated.
7086         * locale/programs/charmap-kw.h: Likewise.
7087         * locale/programs/locfile-kw.h: Likewise.
7089 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7091         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
7093 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
7095         [BZ #17748]
7096         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
7097         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
7098         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
7099         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
7100         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7101         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
7102         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7103         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
7104         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7105         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7106         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7107         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7108         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7109         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7110         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
7111         libm_hidden_def.
7112         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
7113         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
7114         Likewise.
7115         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7116         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7117         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7118         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7119         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
7120         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
7121         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
7122         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
7123         __fegetenv instead of fegetenv.
7124         (libc_feholdsetround_noex_ctx): Likewise.
7126 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
7128         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
7129         (Elf_MIPS_ABIFlags_v0): New structure.
7130         (EF_MIPS_FP64): Define.
7131         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
7132         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
7133         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
7134         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
7135         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
7136         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
7137         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
7138         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
7139         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
7140         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
7141         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
7142         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
7143         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
7144         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
7145         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
7146         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
7147         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
7148         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
7149         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
7150         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
7151         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
7152         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
7153         field.
7154         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
7155         EF_MIPS_FP64.
7156         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
7157         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
7158         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
7159         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
7160         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
7161         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
7162         * sysdeps/mips/tst-abi-interlink.c: Likewise.
7163         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
7164         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
7165         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
7166         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
7167         record the current FP ABI extension.
7168         (mips-mode-switch): Define to show if kernel headers support mode
7169         switching.
7170         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7171         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
7172         supported SYSV ABI version to 3.
7173         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
7174         feature.
7176 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7177             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7179         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
7180         path.
7181         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
7183 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
7185         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
7186         __fegetround and redefine to call __fegetround.  Remove condition
7187         on [!__NO_MATH_INLINES].
7188         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
7189         function.
7190         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
7191         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7192         Remove macro.
7193         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
7194         instead of <fenv_libc.h>.
7195         (__llrintl): Call fegetround instead of __fegetround.
7196         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
7197         instead of <fenv_libc.h>.
7198         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7199         (__lrintl): Call fegetround instead of __fegetround.
7200         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
7201         instead of <fenv_libc.h>.
7202         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7203         (__rintl): Call fegetround instead of __fegetround.
7205 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
7207         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
7208         arrays.
7210 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
7212         [BZ #17775]
7213         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
7214         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
7215         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
7217 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
7219         * sysdeps/i386/tls-macros.h: Include <features.h>.
7220         (TLS_LE): Use non-PIC version for GCC >= 5.0.
7221         (TLS_IE): Likewise.
7222         (TLS_LD): Likewise.
7223         (TLS_GD): Likewise.
7224         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
7225         define for GCC >= 5.0.
7227 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
7229         * math/test-fenv.c (test_single_exception, set_single_exc,
7230         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
7231         feexcp_mask_test, feenable_test, fe_single_test): Add
7232         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
7233         case where they are not used.
7234         * math/libm-test.inc: Likewise.
7235         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
7236         unused in the absence of FP rounding/exception support.
7237         * stdio-common/tst-printf-round.c: Likewise.
7238         * stdlib/tst-strtod-round.c: Likewise.
7239         * stdlib/tst-strtod-underflow.c: Likewise.
7241 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
7243         [BZ #17723]
7244         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
7245         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
7246         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7247         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7248         libm_hidden_weak.
7249         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
7250         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7251         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
7252         libm_hidden_def.
7253         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7254         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7255         libm_hidden_weak.
7256         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
7257         Likewise.
7258         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
7259         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7260         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7261         libm_hidden_weak.
7262         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7263         libm_hidden_def.
7264         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7265         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
7266         (__feraiseexcept): Likewise.
7267         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7268         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7269         libm_hidden_weak.
7270         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7271         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7272         libm_hidden_def.
7273         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
7274         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
7275         Use libm_hidden_def.
7276         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
7277         libm_hidden_def.
7278         (feraiseexcept): Define as weak not strong alias.  Use
7279         libm_hidden_weak.
7280         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
7281         New inline function.  Factored out of ...
7282         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
7283         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
7284         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
7285         feraiseexcept.
7286         * math/w_acos.c (__acos): Likewise.
7287         * math/w_asin.c (__asin): Likewise.
7288         * math/w_ilogb.c (__ilogb): Likewise.
7289         * math/w_j0.c (y0): Likewise.
7290         * math/w_j1.c (y1): Likewise.
7291         * math/w_jn.c (yn): Likewise.
7292         * math/w_log.c (__log): Likewise.
7293         * math/w_log10.c (__log10): Likewise.
7294         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
7295         * sysdeps/aarch64/fpu/math_private.h
7296         (libc_feupdateenv_test_aarch64): Likewise.
7297         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
7298         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
7299         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
7300         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
7301         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
7302         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
7303         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
7304         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7305         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7306         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7308 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
7310         [BZ #17732]
7311         * io/test-utime.c (main): Replace %ld with %jd and cast to
7312         intmax_t.
7313         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
7314         * nptl/tst-mutex5.c: Include <stdint.h>.
7315         (do_test): Replace %ld with %jd and cast to intmax_t.
7316         * posix/tst-regex.c (run_test): Likewise.
7317         (run_test_backwards): Likewise.
7318         * rt/tst-clock.c: Include <stdint.h>.
7319         (clock_test): Replace %ld with %jd and cast to intmax_t.
7320         * rt/tst-cpuclock1.c: Include <stdint.h>.
7321         (do_test): Replace %lu with %ju and cast to uintmax_t.
7322         * rt/tst-cpuclock2.c: Include <stdint.h>.
7323         (do_test): Replace %lu with %ju and cast to uintmax_t.
7324         * rt/tst-mqueue1.c: Include <stdint.h>.
7325         (check_attrs): Replace %ld with %jd and cast to intmax_t.
7326         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
7327         intmax_t.
7328         * rt/tst-mqueue4.c (do_test): Likewise.
7329         * rt/tst-timer4.c: Include <stdint.h>.
7330         (check_ts): Replace %ld with %jd and cast to intmax_t.
7331         (do_test): Likewise.
7332         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
7333         and cast to intmax_t.
7334         * sysdeps/pthread/tst-timer.c (main): Likewise.
7335         * time/clocktest.c (main): Likewise.
7336         * time/tst-posixtz.c (do_test): Likewise.
7337         * timezone/tst-timezone.c (main): Likewise.
7339 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
7340             H.J. Lu  <hongjiu.lu@intel.com>
7342         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
7343         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
7344         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
7345         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
7346         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
7347         version if bit_Fast_Unaligned_Load is set.
7348         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7349         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7350         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7351         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7352         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7353         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7354         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7355         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
7356         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
7357         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
7358         to 4.
7359         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
7360         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
7361         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
7362         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
7364 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
7366         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
7367         instead of #if to avoid a Wundef warning.
7368         * stdlib/tst-limits.c (do_test): Likewise.
7370         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
7371         parallel other exception macros.
7372         (fegetenv): Convert from macro to extern inline so that it applies
7373         retroactively to inline functions already seen by the compiler.
7374         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
7376         * posix/Makefile (before-compile): Use $(objpfx) for
7377         posix-conf-vars-def.h.
7379 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7381         * posix/getconf.c (main): Use size_t for type of I.
7382         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
7383         NSPEC.
7385         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
7386         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
7387         * posix/posix-envs.def: Likewise.
7388         * sysdeps/posix/sysconf.c: Likewise.
7389         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
7390         (specs): Remove array.
7391         * scripts/gen-posix-conf-vars.awk: Support generation of specs
7392         array.
7394         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
7395         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
7396         (__sysconf): Use CONF_IS_* macros.
7398         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
7399         ($(objpfx)posix-conf-vars-def.h): New target.
7400         * posix/posix-conf-vars.list: New file.
7401         * posix/posix-conf-vars.h: New file.
7402         * posix/confstr.c: Include posix-conf-vars.h.
7403         (confstr): Use CONF_IS_* macros.
7404         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
7405         CONF_IS_* macros.
7406         * scripts/gen-posix-conf-vars.awk: New file.
7408 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
7410         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
7411         fegetround): Add no-op macros to avoid linknamespace issues.
7413         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
7414         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
7416         * sysdeps/unix/sysv/linux/tile/sysdep.h
7417         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
7418         assembly-specific section to avoid a redefinition warning.
7420         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
7421         long before casting to pointer to avoid a cast warning.
7423 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
7425         * sysdeps/tile/tilegx/Implies: New file.
7427 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
7429         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
7431 2014-12-23  Florian Weimer  <fweimer@redhat.com>
7433         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
7435 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
7437         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
7438         not define.
7439         * sysdeps/unix/sysv/linux/utimes.c: Do not include
7440         <kernel-features.h>.
7441         (__utimes) [__NR_utimes]: Make code unconditional.
7442         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
7443         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7444         (__ASSUME_UTIMES): Do not undefine.
7445         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7446         (__ASSUME_UTIMES): Likewise.
7447         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7448         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
7449         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
7450         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
7452 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
7454         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
7456 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
7458         [BZ #17747]
7459         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
7460         alias to weak alias for j0l, y0l.
7461         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
7462         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
7464         [BZ #17746]
7465         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
7466         conversion.
7468 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
7470         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
7471         to zero if not already defined.
7473 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
7475         [BZ #17724]
7476         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
7477         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
7478         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
7479         (char *) casts added.
7480         * sysdeps/ieee754/k_standardf.c: New file.
7481         * sysdeps/ieee754/k_standardl.c: Likewise.
7482         * math/Makefile (libm-support): Remove k_standard.
7483         (libm-calls): Add k_standard.
7485 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7487         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
7488         Optimize to avoid an unnecessary FPCR read.
7490 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7492         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
7493         Optimize to reduce FPCR/FPSR accesses.
7495 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7497         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
7498         Call libc_fetestexcept_aarch64.
7500 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7502         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
7503         Call libc_fesetround_aarch64.
7505 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
7507         [BZ #17733]
7508         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
7509         (__bind): Do not define as weak alias.
7510         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
7511         define.
7512         (__getsockname): Do not define as weak alias.
7514 2014-12-22  Will Newton  <will.newton@linaro.org>
7516         * manual/install.texi: Document that we require bison 2.7
7517         or above.
7518         * INSTALL: Regenerate.
7519         * configure.ac: Use AC_CHECK_PROG_VER instead of
7520         AC_PATH_PROG when checking for bison and check for
7521         version 2.7 or above.
7522         * configure: Regenerate.
7524 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
7526         [BZ #17745]
7527         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
7528         * sysdeps/tile/ffsll.c (ffsll): To here.
7530         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
7532 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
7534         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
7535         if not defined.
7536         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
7537         definition.
7538         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
7539         hidden ___tls_get_addr.
7540         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
7541         hidden __tls_get_addr.
7542         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
7543         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
7544         Likewise.
7546 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
7548         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
7549         _dl_init call.
7551 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
7553         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
7554         from "call _dl_init@PLT".
7555         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7557 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
7559         * manual/search.texi: (Array Sort Function): Clarify stable sorting
7560         guarantees.
7562 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
7564         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
7566 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
7568         [BZ #17744]
7569         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
7570         strnlen.
7572 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
7574         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
7575         of multu on MIPSr6.
7576         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
7577         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
7578         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
7579         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
7580         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
7582 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
7584         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
7585         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
7586         (PTR_SUBU): Use subu for mips32r6/mips64r6.
7587         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
7588         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
7589         mips32r6/mips64r6.
7590         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
7592 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
7594         * string/strncat.c (STRNCAT): Simplify implementation.
7596 2014-12-19  David S. Miller  <davem@davemloft.net>
7598         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
7599         access the quad as both a long double and as a series of 4 words.
7601         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
7602         link_map->l_info array access.
7604 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
7606         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
7608         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
7609         * math/atest-exp2.c (TIMEOUT): Likewise.
7610         * math/atest-sincos.c (TIMEOUT): Likewise.
7612 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
7614         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
7615         -Wno-error with -fno-builtin-lround.
7617 2014-12-19  Torvald Riegel  <triegel@redhat.com>
7619         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
7620         Contains futex constants and functions moved over from ...
7621         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
7622         <lowlevellock-futex.h>.
7623         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
7624         (lll_timedwait_tid): Add comments and parentheses around macro
7625         arguments.
7627 2014-12-19  Torvald Riegel  <triegel@redhat.com>
7629         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
7630         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
7631         (__lll_private_flag): Remove.
7632         (lll_futex_wait): Likewise.
7633         (lll_futex_timed_wait): Likewise.
7634         (lll_futex_wake): Likewise.
7635         (lll_futex_requeue): Likewise.
7636         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
7637         (__lll_timedwait_tid): Spell out argument names.
7638         (lll_timedwait_tid): Add comments and parentheses around macro
7639         arguments.
7640         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
7641         LLL_SHARED and LLL_PRIVATE usable from assembly code.
7643 2014-12-19  Torvald Riegel  <triegel@redhat.com>
7645         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
7646         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
7647         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7648         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
7649         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
7650         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
7651         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
7652         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
7653         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
7654         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
7655         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
7656         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
7657         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
7658         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
7659         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
7660         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
7661         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
7662         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
7663         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
7665 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
7667         * sysdeps/x86_64/x32/Makefile: New file.
7669 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
7671         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
7672         1L with (mp_limb_t) 1.
7674 2014-12-17  Roland McGrath  <roland@hack.frob.com>
7676         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
7677         * nptl/libc_pthread_init.c: ... here.
7678         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
7679         * nptl/register-atfork.c: ... here.
7681         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
7682         Use pthread_sigmask rather than INTERNAL_SYSCALL.
7683         Use assert_perror to check its return value.
7684         (__gai_create_helper_thread): Likewise.
7686         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
7688         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
7690 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
7692         [BZ #17725]
7693         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
7694         __profil_counter.
7695         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
7696         Likewise.
7697         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
7698         Likewise.
7699         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
7700         Likewise.
7701         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
7702         (profil_counter): Likewise.
7703         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
7704         (profil_counter): Likewise.
7705         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
7706         Likewise.
7707         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
7708         Likewise.
7709         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
7710         (profil_counter): Likewise.
7711         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
7712         Likewise.
7713         [!__profil_counter] (profil_counter): Define as weak alias of
7714         __profil_counter.
7715         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
7716         (profil_counter): Rename to __profil_counter.
7717         [!__profil_counter] (profil_counter): Define as weak alias of
7718         __profil_counter.
7719         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
7720         (profil_counter): Rename to __profil_counter.
7721         [!__profil_counter] (profil_counter): Define as weak alias of
7722         __profil_counter.
7723         * sysdeps/posix/profil.c: Update comment referring to
7724         profil_counter.
7725         (__profil): Use __profil_counter instead of profil_counter.
7726         * sysdeps/posix/sprofil.c (profil_counter): Rename to
7727         __profil_counter.  Use __profil_counter_ushort and
7728         __profil_counter_uint in definitions.
7729         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
7730         instead of profil_counter_uint and profil_counter_ushort.
7732         [BZ #17722]
7733         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
7734         define as weak alias of __inet_makeaddr.
7735         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
7736         as weak alias of __inet_addr.
7737         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
7738         as weak alias of __inet_pton.  Use libc_hidden_weak.
7739         * include/arpa/inet.h (__inet_pton): Declare.  Use
7740         libc_hidden_proto.
7741         (inet_makeaddr): Don't use libc_hidden_proto.
7742         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
7743         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
7744         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
7745         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
7746         Remove variable.
7747         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
7748         (test-xfail-POSIX/time.h/linknamespace): Likewise.
7750 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
7752         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
7754 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7756         * stdio-common/bug-vfprintf-nargs.c (do_test):
7757         Cast value to intptr_t to avoid format warning
7758         for usage with PRIdPTR printing macro.
7760 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7762         * libio/tst-widetext.c (do_test):
7763         Use format type %td instead of %Zd for ptrdiff_t
7764         in order to avoid format warning.
7766 2014-12-17  Andreas Schwab  <schwab@suse.de>
7768         * nscd/mem.c (gc): Add size_t cast to match printf format.
7770 2014-12-16  Roland McGrath  <roland@hack.frob.com>
7772         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
7773         (init): Apply PTR_MANGLE to pointers before storing them.
7774         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
7775         before using them.
7777 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
7779         [BZ #17719]
7780         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
7781         define as weak alias of __memrchr.
7782         (__memrchr): Do not define as strong alias of memrchr.
7783         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
7784         Remove variable.
7785         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
7786         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
7787         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
7789         [BZ #17717]
7790         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
7791         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
7792         (if_indextoname): Rename to __if_indextoname and define as weak
7793         alias of __if_indextoname.  Use libc_hidden_weak.
7794         (if_freenameindex): Rename to __if_freenameindex and define as
7795         weak alias of __if_freenameindex.
7796         (if_nameindex): Rename to __if_nameindex and define as weak alias
7797         of __if_nameindex.
7798         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
7799         __if_nametoindex and define as weak alias of __if_nametoindex.
7800         Use libc_hidden_weak.
7801         (if_freenameindex): Rename to __if_freenameindex and define as
7802         weak alias of __if_freenameindex.
7803         (if_nameindex): Rename to __if_nameindex and define as weak alias
7804         of __if_nameindex.
7805         (if_indextoname): Rename to __if_indextoname and define as weak
7806         alias of __if_indextoname.  Use libc_hidden_weak.
7807         * sysdeps/unix/sysv/linux/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.  Use libc_hidden_weak.
7812         (if_nameindex_netlink): Use __if_freenameindex instead of
7813         if_freenameindex.
7814         (if_nameindex): Rename to __if_nameindex and define as weak alias
7815         of __if_nameindex.  Use libc_hidden_weak.
7816         (if_indextoname): Rename to __if_indextoname and define as weak
7817         alias of __if_indextoname.  Use libc_hidden_weak.
7818         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
7819         libc_hidden_proto.
7820         [!_ISOMAC] (__if_freenameindex): Likewise.
7821         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
7822         if_nametoindex.
7823         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
7824         variable.
7825         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
7826         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
7827         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
7828         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
7829         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
7830         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
7831         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
7833         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
7834         Remove variable.
7835         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
7836         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
7838 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7840         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
7841         subscript above bounds'
7843         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
7844         bounds.
7846 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
7848         * libio/tst-fopenloc.c: Use test-skeleton.c.
7850         * stdlib/tst-bsearch.c: Use test-skeleton.c.
7851         (entry): Rename to ITEM.
7852         (do_test, comp): Adjust.
7854         * stdio-common/tst-fseek.c: Use test-skeleton.c.
7856 2014-12-16  Torvald Riegel  <triegel@redhat.com>
7858         * string/tester.c: Include <libc-internal.h>.
7859         (test_memset): Ignore -Wmemset-transposed-args.
7861 2014-12-16  Torvald Riegel  <triegel@redhat.com>
7863         * misc/tst-mntent2.c (do_test): Fix warning.
7865 2014-12-16  Torvald Riegel  <triegel@redhat.com>
7867         * elf/tst-unique4lib.cc(a): Mark as used.
7869 2014-12-16  Florian Weimer  <fweimer@redhat.com>
7871         [BZ #17630]
7872         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
7873         names.
7875 2014-12-16  Allan McRae  <allan@archlinux.org>
7877         * stdio-common/Makefile (tests): Re-add bug26.
7879 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
7881         [BZ #17657]
7882         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
7883         static array.
7885 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
7887         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
7888         (__lll_lock_wait): Likewise.
7889         (__lll_timedlock_wait): Likewise.
7890         (__lll_timedwait_tid): Likewise.
7891         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
7892         (__lll_robust_timedlock_wait): Likewise.
7893         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
7894         (lll_cond_trylock): Likewise.
7895         (__lll_lock): Likewise.
7896         (__lll_robust_lock): Likewise.
7897         (__lll_cond_lock): Likewise.
7898         (lll_robust_cond_lock): Likewise.
7899         (__lll_timedlock): Likewise.
7900         (__lll_robust_timedlock): Likewise.
7901         (__lll_unlock): Likewise.
7902         (__lll_robust_unlock): Likewise.
7903         (lll_wait_tid): Likewise.
7904         (lll_timedwait_tid): Likewise.
7906 2014-12-15  Torvald Riegel  <triegel@redhat.com>
7908         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
7910 2014-12-15  Torvald Riegel  <triegel@redhat.com>
7912         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
7914 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
7916         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
7917         * stdio-common/tst-sprintf.c: Likewise.
7919 2014-12-15  Torvald Riegel  <triegel@redhat.com>
7921         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
7923 2014-12-15  Jeff Law  <law@redhat.com>
7925         [BZ #16617]
7926         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
7927         on the heap.  (CVE-2012-3406)
7928         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
7929         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
7930         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
7932 2014-12-15  Will Newton  <will.newton@linaro.org>
7934         * manual/install.texi: Bump required version of texinfo
7935         to 4.7 from 4.5.
7936         * INSTALL: Regenerated.
7937         * configure.ac: Check for makeinfo version 4.7 and above.
7938         * configure: Regenerated.
7940 2014-12-12  Roland McGrath  <roland@hack.frob.com>
7942         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
7943         PREFIX, string constant to insert between directory and name.
7944         * sysdeps/posix/shm_open.c: Update caller.
7945         * sysdeps/posix/shm_unlink.c: Likewise.
7946         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
7947         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
7948         (SEM_SHM_PREFIX): New macro.
7949         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
7950         [$(have-thread-library) = no].
7951         * nptl/Makefile (libpthread-routines): Add shm-directory.
7952         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
7953         * sysdeps/nptl/shm-directory.h: New file.
7954         * sysdeps/posix/shm-directory.c
7955         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
7956         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
7957         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
7958         INTERNAL_SYSCALL.
7959         (__where_is_shmfs): Function removed.
7960         (mountpoint, defaultmount, defaultdir, __namedsem_once):
7961         Variables removed.
7962         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
7963         Use SHM_GET_NAME.
7964         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
7966         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
7967         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
7968         unconditional for use inside libpthread.
7969         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
7971 2014-12-12  Roland McGrath  <roland@hack.frob.com>
7973         * nptl/pthread_getaffinity.c: New file.
7974         * nptl/pthread_setaffinity.c: New file.
7975         * nptl/pthread_getname.c: New file.
7976         * nptl/pthread_setname.c: New file.
7978         * nptl/pthread_create.c (START_THREAD_DEFN)
7979         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
7981 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
7982             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7984         * resolv/res_send.c (send_vc): Disable warning resplen may
7985         be used uninitialized.
7987 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
7989         * nptl/tst-mutex6.c
7990         (ATTR_NULL): New define checks ATTR against NULL.
7991         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
7992         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
7994 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
7996         [BZ #17581]
7997         * malloc/hooks.c
7998         (mem2mem_check): Revert my previous change.
7999         (malloc_check_get_size): Revert my previous change.
8000         (mem2chunk_check): Revert my previous change.
8002 2014-12-11  Roland McGrath  <roland@hack.frob.com>
8004         * sysdeps/posix/shm-directory.c: New file.
8005         * sysdeps/posix/shm-directory.h: New file.
8006         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
8007         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
8008         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
8009         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
8010         Transmute EPERM to EACCES.
8011         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
8012         from ...
8013         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
8014         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
8016 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8018         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
8019         pointer and cast to uintptr_t.
8020         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
8021         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
8022         Add cast to avoid warning.
8023         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
8025 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
8027         * nptl/semaphore.h: Move to ...
8028         * sysdeps/pthread/semaphore.h: ... here.
8029         * Makefile (installed-headers): Change nptl/semaphore.h to
8030         sysdeps/pthread/semaphore.h.
8032 2014-12-11  Roland McGrath  <roland@hack.frob.com>
8034         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
8035         generated error format strings.
8037         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
8038         -Wformat-extra-args warnings for scanf formats.
8039         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
8040         test of zero-length format (duh).
8041         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
8042         corner-case scanf format test.
8043         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
8044         generated fprintf format string.
8045         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
8046         corner-case sprintf format tests.
8047         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
8048         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
8049         -Wformat-extra-args warnings throughout.
8050         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
8051         (CFLAGS-scanf4.c): Likewise.
8052         (CFLAGS-scanf7.c): Likewise.
8053         (CFLAGS-tst-sprintf.c): Likewise.
8054         (CFLAGS-tst-printf.c): Likewise.
8055         (CFLAGS-tst-printfsz.c): Likewise.
8057 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
8059         * include/cpio.h: New file.
8060         * include/fmtmsg.h: Likewise.
8062         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
8063         corresponding format argument to size_t.
8064         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
8065         arguments.
8066         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
8067         corresponding format argument to size_t.
8068         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
8069         arguments.
8070         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
8071         corresponding format argument to size_t.
8072         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
8073         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
8074         (CFLAGS-tst-mbswcs2.c): Likewise.
8075         (CFLAGS-tst-mbswcs3.c): Likewise.
8076         (CFLAGS-tst-mbswcs4.c): Likewise.
8077         (CFLAGS-tst-mbswcs5.c): Likewise.
8078         (CFLAGS-tst-trans.c): Likewise
8080 2014-12-11  Roland McGrath  <roland@hack.frob.com>
8082         * posix/regexbug1.c (main): Use "%s" format with regerror results,
8083         rather than assuming they won't contain any '%'s.
8085 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
8087         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
8088         inhibit_loop_to_libcall to avoid recursive calls.
8089         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
8090         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
8092 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
8094         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
8095         prototype.
8097 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
8099         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
8100         integer value instead of boolean.
8102 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
8104         * malloc/malloc.c: Fix powerof2 check.
8106 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8108         * locale/programs/locfile.h (maybe_swap_uint32):
8109         Remove inline and add unused attribute.
8111 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8113         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
8114         Truncating assembler expression to a .long expression.
8116 2014-12-11  Andreas Schwab  <schwab@suse.de>
8118         * elf/rtld.c (struct map_args): Constify str member.
8119         (do_preload): Constify fname argument.
8121 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8123         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
8124         constants definition.
8126 2014-12-11  Andreas Schwab  <schwab@suse.de>
8128         [BZ #16657]
8129         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
8130         FORCE_ELISION instead of DO_ELISION.
8131         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
8132         Remove.
8133         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
8134         Likewise.
8136         * iconvdata/gconv-modules: Remove duplicate entry.
8138 2014-12-11  Will Newton  <will.newton@linaro.org>
8140         Merge gettext 0.19.3 into intl/.
8142         This involves a number of cosmetic changes to comments
8143         and ANSI function definitions and prototypes throughout
8144         all the files. The gettext copyright header is used but
8145         with the date ranges taken from the glibc copy.
8147         * NEWS: Add gettext merge to 2.21.
8148         * intl/bindtextdom.c: Switch to gettext copyright.
8149         Use ANSI definitions and prototypes.
8150         Use gl_* locking primitives rather than __libc_* ones.
8151         Use __builtin_expect rather than __glibc_likely/unlikely.
8152         * intl/dcgettext.c: Switch to gettext copyright.
8153         Use ANSI definitions and prototypes.
8154         * intl/dcigettext.c: Switch to gettext copyright.
8155         Use ANSI definitions and prototypes.
8156         (INTDIV0_RAISES_SIGFPE): New define.
8157         Use gl_* locking primitives rather than __libc_* ones.
8158         Include eval-plural.h instead of plural-eval.c.
8159         Use __builtin_expect rather than __glibc_likely/unlikely.
8160         * intl/dcngettext.c: Switch to gettext copyright.
8161         Use ANSI definitions and prototypes.
8162         * intl/dgettext.c: Likewise.
8163         * intl/dngettext.c: Likewise.
8164         * intl/plural-eval.c: Renamed to...
8165         * intl/eval-plural.h: ...this.
8166         * intl/explodename.c: Switch to gettext copyright.
8167         Use ANSI definitions and prototypes.
8168         (_nl_explode_name): Use strchr instead of __rawmemchr.
8169         * intl/finddomain.c: Switch to gettext copyright.
8170         Use ANSI definitions and prototypes.
8171         Use gl_* locking primitives rather than __libc_* ones.
8172         (_nl_find_domain): Use malloc rather than alloca for
8173         allocation of temporary locale name.
8174         * intl/gettext.c: Switch to gettext copyright.
8175         Use ANSI definitions and prototypes.
8176         * intl/gettextP.h: Switch to gettext copyright.
8177         Use ANSI definitions and prototypes.
8178         Use gl_* locking primitives rather than __libc_* ones.
8179         * intl/gmo.h: Switch to gettext copyright.
8180         (struct sysdep_string): Move struct segment_pair outside of
8181         struct definition.
8182         * intl/hash-string.c: Use ANSI definitions and prototypes.
8183         * intl/hash-string.h: Switch to gettext copyright.
8184         Use ANSI definitions and prototypes.
8185         * intl/l10nflist.c: Switch to gettext copyright.
8186         Use ANSI definitions and prototypes.
8187         (_nl_normalize_codeset): Avoid integer overflow.
8188         * intl/loadinfo.h: Switch to gettext copyright.
8189         Use ANSI definitions and prototypes.
8190         (LIBINTL_DLL_EXPORTED): New define.
8191         (PATH_SEPARATOR): New define.
8192         * intl/loadmsgcat.c: Switch to gettext copyright.
8193         * intl/localealias.c: Switch to gettext copyright.
8194         Use ANSI definitions and prototypes.
8195         (_nl_expand_alias): Use PATH_SEPARATOR.
8196         * intl/ngettext.c: Switch to gettext copyright.
8197         Use ANSI definitions and prototypes.
8198         * intl/plural-exp.c: Likewise.
8199         * intl/plural-exp.h: Switch to gettext copyright.
8200         Use ANSI definitions and prototypes.
8201         (struct expression): Move definition of enum operator outside
8202         of struct definition.
8203         * intl/plural.c: Regenerate.
8204         * intl/plural.y: Switch to gettext copyright.
8205         Use ANSI definitions and prototypes.
8206         Port to bison 3.0.
8207         * intl/textdomain.c: Switch to gettext copyright.
8208         Use ANSI definitions and prototypes.
8209         Use gl_* locking primitives rather than __libc_* ones.
8211 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
8213         * debug/warning-nop.c: Add used atrribute.
8215 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8217         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
8219         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
8220         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
8221         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
8223 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8224             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8226         [BZ #17634]
8227         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
8228         Undefine after defining function.  Define as weak alias of
8229         __wcschr.  Use libc_hidden_weak.
8230         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
8231         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
8232         (libc_hidden_def): Also define __GI___wcschr alias.
8233         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
8234         __wcschr and define as weak alias of __wcschr.
8235         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
8236         __wcschr.
8237         [!WCSCHR] (DEFAULT_WCSCHR): Define.
8238         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
8239         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
8240         libc_hidden_weak.  Do not use libc_hidden_def.
8241         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
8242         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
8243         __GI___wcschr alias.
8244         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
8245         [IS_IN (libc)] (wcschr): Define as macro expanding to
8246         __redirect_wcschr.
8247         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
8248         [IS_IN (libc)] (__wcschr_power6): Likewise.
8249         [IS_IN (libc)] (__wcschr_power7): Likewise.
8250         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
8251         instead of wcschr.
8252         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
8253         __libc_wcschr.
8254         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
8255         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
8256         __wcschr and define as weak alias of __wcschr.  Use
8257         libc_hidden_builtin_def.
8258         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
8259         as weak alias of __wcschr.  Use libc_hidden_weak.
8260         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
8261         wcschr.
8262         * time/era.c (_nl_init_era_entries): Likewise.
8263         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
8264         variable.
8265         (test-xfail-XPG3/time.h/linknamespace): Likewise.
8266         (test-xfail-XPG4/time.h/linknamespace): Likewise.
8268 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8270         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
8271         format for long int variable.
8273 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
8275         [BZ #10672]
8276         * manual/search.texi: (Array Sort Function): Remove claim how to make
8277         qsort stable.
8279 2014-12-10  Andreas Schwab  <schwab@suse.de>
8281         [BZ #12847]
8282         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
8283         user-controlled locks.
8285 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
8287         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
8288         register.
8290 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8292         * configure.ac (--disable-werror): New configure option.
8293         (enable_werror): New AC_SUBST.
8294         * configure: Regenerated.
8295         * config.make.in (enable-werror): New variable.
8296         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
8297         -Wno-error=undef.
8298         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
8299         * manual/install.texi (Configuring and compiling): Document
8300         --disable-werror.
8301         * INSTALL: Regenerated.
8302         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
8303         (CFLAGS-tst-chk2.c): Likewise.
8304         (CFLAGS-tst-chk3.c): Likewise.
8305         (CFLAGS-tst-chk4.cc): Likewise.
8306         (CFLAGS-tst-chk5.cc): Likewise.
8307         (CFLAGS-tst-chk6.cc): Likewise.
8308         (CFLAGS-tst-lfschk1.c): Likewise.
8309         (CFLAGS-tst-lfschk2.c): Likewise.
8310         (CFLAGS-tst-lfschk3.c): Likewise.
8311         (CFLAGS-tst-lfschk4.cc): Likewise.
8312         (CFLAGS-tst-lfschk5.cc): Likewise.
8313         (CFLAGS-tst-lfschk6.cc): Likewise.
8315         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
8316         (main): Disable -Wdeprecated-declarations around calls to
8317         register_printf_function.
8319         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
8320         (do_test): Disable -Wdiv-by-zero around some calls to
8321         fwrite_unlocked and fread_unlocked.
8323         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
8324         (DIAG_POP_NEEDS_COMMENT): Likewise.
8325         (_DIAG_STR1): Likewise.
8326         (_DIAG_STR): Likewise.
8327         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
8328         * stdio-common/bug21.c: Include <libc-internal.h>.
8329         (do_test): Disable -Wformat around call to sscanf.
8330         * stdio-common/scanf14.c: Include <libc-internal.h>.
8331         (main): Disable -Wformat around some calls to scanf functions.
8333 2014-12-09  Torvald Riegel  <triegel@redhat.com>
8335         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
8337 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8339         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
8340         stack variable alignment.
8342 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
8344         [BZ #17682]
8345         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
8346         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
8347         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
8348         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
8349         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
8350         __getrlimit instead of getrlimit.
8351         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
8352         __gettimeofday instead of gettimeofday.
8353         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8354         Likewise.
8355         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
8356         Likewise.
8357         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8358         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
8359         Remove variable.
8360         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
8361         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
8363 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8365         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
8366         for wide-character tests.
8368 2014-12-04  Roland McGrath  <roland@hack.frob.com>
8370         * io/openat64.c: #include <libc-internal.h>
8371         (__openat64): Prototypify.  Use ignore_value on MODE.
8372         * io/openat.c: Likewise.
8373         * misc/reboot.c: #include <libc-internal.h>
8374         (reboot): Prototypify.  Use ignore_value on HOWTO.
8375         * misc/ptrace.c: #include <libc-internal.h>
8376         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
8378 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
8380         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
8381         XPG4, UNIX98 and XOPEN2K.
8382         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
8383         Remove variable.
8384         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
8386 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8388         * libio/fileops.c: Use ISO C style for function definitions.
8389         * libio/iofopen.c: Likewise.
8390         * libio/wfileops.c: Likewise.
8392         [BZ #17653]
8393         * libio/fileops.c (_IO_new_file_underflow): Unset cached
8394         offset on EOF.
8395         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
8396         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
8397         (fgets_func): Function pointer to fgets and fgetws.
8398         (do_ftell_test): Add test to verify ftell value after read
8399         EOF.
8400         (do_test): Set fgets_func.
8402         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
8403         O_TRUNC flag for w and w+ modes.
8404         (do_rewind_test): Likewise.
8405         (do_ftell_test): Likewise.
8406         (do_write_test): Likewise.
8408         [BZ #17647]
8409         * libio/fileops.c (do_ftell): Seek only when there are
8410         unflushed writes.
8411         * libio/wfileops.c (do_ftell_wide): Likewise.
8412         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
8413         test case.
8414         (do_one_test): Call it.
8416 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
8418         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
8419         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
8420         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
8421         Remove variable.
8422         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
8423         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
8424         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
8426 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
8428         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
8429         Remove variable.
8430         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
8432         [BZ #17668]
8433         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
8434         as weak alias of __getifaddrs.  Use libc_hidden_weak.
8435         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8436         __freeifaddrs.  Use libc_hidden_weak.
8437         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
8438         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
8439         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8440         __freeifaddrs.  Use libc_hidden_weak.
8441         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
8442         __getifaddrs and define as weak alias of __getifaddrs.  Use
8443         libc_hidden_weak.
8444         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8445         __freeifaddrs.  Use libc_hidden_weak.
8446         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
8447         Remove variable.
8448         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
8449         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
8451 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
8453         [BZ #17601]
8454         * sysdeps/mips/start.S (__start): Use indirect jump to call
8455         __libc_start_main.
8457 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
8459         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
8461         * nptl/tst-mutex1.c: Include <stdbool.h>.
8462         [!ATTR] (ATTR_NULL): New macro.
8463         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
8464         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
8465         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
8467         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
8468         to char *.
8470         [BZ #17665]
8471         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
8472         Change conditional to [__USE_MISC].
8474         [BZ #17664]
8475         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
8476         fgets_unlocked.
8477         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
8478         __fgets_unlocked.
8479         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
8480         fgets_unlocked.
8481         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
8482         Remove variable.
8483         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
8484         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
8485         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
8486         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
8487         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
8488         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
8489         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
8490         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
8491         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
8493         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
8495 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8497         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8498         Remove strpbrk objects.
8499         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8500         (__libc_ifunc_impl_list): Remove strpbrk implementation.
8501         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
8502         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
8503         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
8504         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
8506         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8507         Remove strcspn objects.
8508         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8509         (__libc_ifunc_impl_list): Remove strcspn implementation.
8510         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
8511         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
8512         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
8513         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
8515         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8516         Remove strspn objetcs.
8517         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8518         (__libc_ifunc_impl_list): Remove strspn implementation.
8519         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
8520         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
8521         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
8522         * sysdeps/powerpc/powerpc64/strspn.S: New file.
8524 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
8526         [BZ #17581]
8527         * malloc/hooks.c
8528         (mem2mem_check): Add a terminator to the chain of checking blocks.
8529         (malloc_check_get_size): Use it here.
8530         (mem2chunk_check): Ditto.
8532 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8534         * sysdeps/powerpc/powerpc64/strtok.S: New file.
8535         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
8537 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
8539         * bits/ioctl-types.h: Indent preprocessor directives correctly.
8541         * nptl/nptl-init.c: Include libc-internal.h.
8542         (__pthread_initialize_minimal_internal): Use ROUND_UP.
8544         * elf/ldconfig.c (search_dir): Expand comment.
8546 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
8548         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
8549         variable.
8550         (linknamespace-symlist-stdlibs-tests): Likewise.
8551         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
8552         instead of $(objpfx)symlist-stdlibs.
8553         (linknamespace-libs-isoc): New variable.
8554         (linknamespace-libs): Use $(linknamespace-libs-isoc).
8555         (linknamespace-libs-ISO): New variable.
8556         (linknamespace-libs-ISO99): Likewise.
8557         (linknamespace-libs-ISO11): Likewise.
8558         (linknamespace-libs-XPG3): Likewise.
8559         (linknamespace-libs-XPG4): Likewise.
8560         (linknamespace-libs-POSIX): Likewise.
8561         (linknamespace-libs-UNIX98): Likewise.
8562         (linknamespace-libs-XOPEN2K): Likewise.
8563         (linknamespace-libs-POSIX2008): Likewise.
8564         (linknamespace-libs-XOPEN2K8): Likewise.
8565         ($(objpfx)symlist-stdlibs): Replace by
8566         $(linknamespace-symlist-stdlibs-tests).  Use
8567         $(linknamespace-libs-$*) as set of libraries.
8568         ($(linknamespace-header-tests)): Update dependencies.  Use
8569         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
8570         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
8571         * conform/linknamespace.pl: Remove comment about considering
8572         definitions of symbols from irrelevant libraries.
8574 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
8576         [BZ #13862]
8577         * elf/dl-tls.c: Include <atomic.h>.
8578         (oom): Remove #ifdef SHARED/#endif.
8579         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
8580         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
8581         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
8582         big enough.
8583         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
8584         * nptl/Makefile (tests): Add tst-stack4.
8585         (modules-names): Add tst-stack4mod.
8586         ($(objpfx)tst-stack4): New.
8587         (tst-stack4mod.sos): Likewise.
8588         ($(objpfx)tst-stack4.out): Likewise.
8589         ($(tst-stack4mod.sos)): Likewise.
8590         (clean): Likewise.
8591         * nptl/tst-stack4.c: New file.
8592         * nptl/tst-stack4mod.c: Likewise.
8594 2014-11-27  J. Brown  <jb999@gmx.de>
8596         * sysdeps/x86/bits/string.h: Add recent CPUs.
8598 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
8600         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
8601         sigblock.
8603         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
8604         feof.
8606         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
8607         variable.
8609 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
8611         * nscd/connections.c: Include libc-internal.h because of macro
8612         usage ignore_value.
8614 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8616         * string/bits/string3.h (__warn_memset_zero_len): Don't
8617         declare for gcc newer than 5.0.
8618         (memset): Don't test for zero-length __LEN for gcc newer than
8619         5.0.
8621 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
8623         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
8624         size_t for %zu format.
8626         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
8627         difference, not %ju.
8629 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
8631         * include/libc-internal.h (ignore_value): New macro.
8632         * nscd/connections.c (restart): Wrap calls to setuid and setgid
8633         with ignore_value.
8635         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
8636         definition.
8638         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
8639         pthread_cleanup_push to void *.
8641         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
8642         Undefine.
8644         [BZ #16619]
8645         [BZ #16740]
8646         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
8647         instead of 1L << 52.
8649         * libio/bug-rewind.c (do_test): Check fwscanf return values.
8650         * libio/bug-rewind2.c (do_test): Likewise.
8652         * debug/test-stpcpy_chk-ifunc.c: Remove file.
8653         * debug/test-strcpy_chk-ifunc.c: Likewise.
8654         * wcsmbs/test-wcschr-ifunc.c: Likewise.
8655         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
8656         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
8657         * wcsmbs/test-wcslen-ifunc.c: Likewise.
8658         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
8659         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
8660         * Rules [$(multi-arch) = no] (tests): Do not filter out
8661         $(tests-ifunc).
8662         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
8663         * debug/Makefile (tests-ifunc): Remove variable.
8664         (tests): Do not add $(tests-ifunc).
8665         * wcsmbs/Makefile (tests-ifunc): Remove variable.
8666         (tests): Do not add $(tests-ifunc).
8667         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
8668         [TEST_IFUNC]: Remove conditionals.
8669         * string/test-string.h (TEST_IFUNC): Remove macro.
8670         [TEST_IFUNC]: Remove conditionals.
8672         * string/test-strchr.c [!WIDE] (L): New macro.
8673         [WIDE] (L): Likewise.
8674         (check1): Use CHAR instead of char.  Use L on string and character
8675         constants.
8677 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
8679         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
8680         tests.
8681         * sysdeps/powerpc/bits/atomic.h
8682         (__arch_atomic_exchange_and_add_32_acq): Add definition.
8683         (__arch_atomic_exchange_and_add_32_rel): Likewise.
8684         (atomic_exchange_and_add_acq): Likewise.
8685         (atomic_exchange_and_add_rel): Likewise.
8686         * sysdeps/powerpc/powerpc32/bits/atomic.h
8687         (__arch_atomic_exchange_and_add_64_acq): Add definition.
8688         (__arch_atomic_exchange_and_add_64_rel): Likewise.
8689         * sysdeps/powerpc/powerpc64/bits/atomic.h
8690         (__arch_atomic_exchange_and_add_64_acq): Add definition.
8691         (__arch_atomic_exchange_and_add_64_rel): Likewise.
8693 2014-11-26  Torvald Riegel  <triegel@redhat.com>
8695         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
8696         Change synchronization of __sched_fifo_min_prio and
8697         __sched_fifo_max_prio.
8698         * nptl/pthread_mutexattr_getprioceiling.c
8699         (pthread_mutexattr_getprioceiling): Likewise.
8700         * nptl/pthread_mutexattr_setprioceiling.c
8701         (pthread_mutexattr_setprioceiling): Likewise.
8702         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
8703         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
8704         Likewise.
8706 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
8708         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
8709         void.
8711 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
8713         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
8714         third argument const.
8716 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
8718         fnmatch: work around GCC compiler warning bug with uninit var
8719         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
8720         This works around a bug with x86-64 GCC 4.9.2 and earlier
8721         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
8722         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
8723         used uninitialized in this function [-Wmaybe-uninitialized]".
8725 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
8727         * posix/bug-regex31.c (main): Return RES not 0.
8729 2014-11-25  Anton Blanchard <anton@samba.org>
8731         * sysdeps/powerpc/bits/atomic.h
8732         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
8734 2014-11-24  Sterling Augustine  <saugustine@google.com>
8736         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
8738 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
8740         [BZ #17608]
8741         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
8743 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
8745         [BZ #17633]
8746         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
8747         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
8748         variable.
8749         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
8750         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
8752 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
8754         * string/strncpy.c (strncpy): Improve performance by using memset.
8756 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
8758         * string/strcpy.c (strcpy):
8759         Improve performance by using strlen and memcpy.
8761 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
8763         * string/strcoll_l.c (get_next_seq): __always_inline.
8764         * string/strcoll_l.c (do_compare): __always_inline.
8766 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8768         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
8769         defined.
8770         * include/mqueue.h: Likewise.
8771         * include/stdlib.h: Likewise.
8773         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
8774         (get_null_defines): Adjust.
8775         * sunrpc/Makefile: Adjust comment.
8776         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
8777         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
8778         (CFLAGS-interp.c): Likewise.
8779         (CFLAGS-ldconfig.c): Likewise.
8780         (CPPFLAGS-.os): Likewise.
8781         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8782         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
8783         * extra-modules.mk (extra-modules.mk): Likewise.
8784         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
8785         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
8786         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
8787         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
8788         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
8789         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
8790         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
8791         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
8792         * iconvdata/Makefile (CPPFLAGS): Likewise.
8793         (cpp-srcs-left): Add libof for all iconvdata routines.
8794         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
8795         * include/assert.h: Likewise.
8796         * include/ctype.h: Likewise.
8797         * include/errno.h: Likewise.
8798         * include/libc-symbols.h: Likewise.
8799         * include/math.h: Likewise.
8800         * include/netdb.h: Likewise.
8801         * include/resolv.h: Likewise.
8802         * include/stdio.h: Likewise.
8803         * include/stdlib.h: Likewise.
8804         * include/string.h: Likewise.
8805         * include/sys/stat.h: Likewise.
8806         * include/wctype.h: Likewise.
8807         * intl/l10nflist.c: Likewise.
8808         * libidn/idn-stub.c: Likewise.
8809         * libio/libioP.h: Likewise.
8810         * nptl/libc_multiple_threads.c: Likewise.
8811         * nptl/pthreadP.h: Likewise.
8812         * posix/regex_internal.h: Likewise.
8813         * resolv/res_hconf.c: Likewise.
8814         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
8815         * sysdeps/arm/memmove.S: Likewise.
8816         * sysdeps/arm/sysdep.h: Likewise.
8817         * sysdeps/generic/_itoa.h: Likewise.
8818         * sysdeps/generic/symbol-hacks.h: Likewise.
8819         * sysdeps/gnu/errlist.awk: Likewise.
8820         * sysdeps/gnu/errlist.c: Likewise.
8821         * sysdeps/i386/i586/memcpy.S: Likewise.
8822         * sysdeps/i386/i586/memset.S: Likewise.
8823         * sysdeps/i386/i686/memcpy.S: Likewise.
8824         * sysdeps/i386/i686/memmove.S: Likewise.
8825         * sysdeps/i386/i686/mempcpy.S: Likewise.
8826         * sysdeps/i386/i686/memset.S: Likewise.
8827         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8828         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8829         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
8830         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
8831         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8832         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8833         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
8834         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8835         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8836         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8837         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8838         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8839         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8840         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8841         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8842         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8843         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
8844         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
8845         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
8846         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8847         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8848         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8849         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8850         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8851         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8852         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8853         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
8854         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8855         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
8856         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8857         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8858         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8859         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8860         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8861         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8862         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8863         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8864         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8865         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8866         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8867         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8868         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8869         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8870         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8871         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8872         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8873         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
8874         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
8875         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8876         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8877         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8878         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
8879         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
8880         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8881         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8882         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
8883         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8884         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
8885         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
8886         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8887         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8888         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8889         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
8890         * sysdeps/nptl/bits/libc-lock.h: Likewise.
8891         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
8892         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
8893         * sysdeps/posix/closedir.c: Likewise.
8894         * sysdeps/posix/opendir.c: Likewise.
8895         * sysdeps/posix/readdir.c: Likewise.
8896         * sysdeps/posix/rewinddir.c: Likewise.
8897         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
8898         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
8899         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
8900         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8901         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8902         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
8903         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
8904         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
8905         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
8906         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
8907         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
8908         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
8909         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
8910         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
8911         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
8912         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
8913         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
8914         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
8915         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
8916         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
8917         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
8918         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
8919         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
8920         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
8921         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
8922         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
8923         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
8924         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
8925         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
8926         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
8927         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
8928         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
8929         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
8930         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
8931         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
8932         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
8933         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8934         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8935         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
8936         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
8937         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
8938         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
8939         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
8940         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
8941         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
8942         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
8943         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
8944         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
8945         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
8946         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
8947         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
8948         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
8949         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
8950         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
8951         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
8952         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
8953         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
8954         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
8955         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
8956         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
8957         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
8958         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
8959         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
8960         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
8961         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
8962         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
8963         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
8964         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
8965         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
8966         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
8967         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
8968         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
8969         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
8970         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
8971         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
8972         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
8973         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
8974         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
8975         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
8976         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
8977         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
8978         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8979         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
8980         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
8981         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
8982         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
8983         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
8984         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8985         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8986         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8987         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
8988         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
8989         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
8990         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
8991         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
8992         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
8993         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
8994         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
8995         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
8996         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
8997         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8998         * sysdeps/unix/alpha/sysdep.S: Likewise.
8999         * sysdeps/unix/alpha/sysdep.h: Likewise.
9000         * sysdeps/unix/make-syscalls.sh: Likewise.
9001         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9002         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9003         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9004         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
9005         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9006         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
9007         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
9008         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9009         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9010         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
9011         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9012         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9013         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9014         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
9015         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9016         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9017         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9018         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9019         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
9020         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9021         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
9022         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9023         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9024         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9025         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9026         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9027         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
9029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
9030         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
9031         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9032         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9033         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9034         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9035         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9036         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9037         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9038         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9039         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9040         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
9041         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9042         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9043         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9044         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9045         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9046         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9047         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9048         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9049         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9050         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9051         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9052         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9053         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9054         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9055         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
9056         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9057         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9058         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9059         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
9060         * sysdeps/x86_64/memcpy.S: Likewise.
9061         * sysdeps/x86_64/memmove.c: Likewise.
9062         * sysdeps/x86_64/memset.S: Likewise.
9063         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
9064         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9065         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9066         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
9067         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
9068         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9069         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9070         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
9071         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9072         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9073         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9074         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9075         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
9076         * sysdeps/x86_64/multiarch/memset.S: Likewise.
9077         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9078         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
9079         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
9080         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
9081         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9082         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
9083         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
9084         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
9085         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9086         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9087         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
9088         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
9089         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
9090         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
9091         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9092         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
9093         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
9094         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
9095         * sysdeps/x86_64/strcmp.S: Likewise.
9097         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
9099         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
9100         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
9101         * elf/rtld-Rules: Likewise.
9102         * elf/setup-vdso.h: Likewise.
9103         * include/assert.h: Likewise.
9104         * include/bits/stdlib-float.h: Likewise.
9105         * include/errno.h: Likewise.
9106         * include/sys/stat.h: Likewise.
9107         * include/unistd.h: Likewise.
9108         * sysdeps/aarch64/setjmp.S: Likewise.
9109         * sysdeps/alpha/setjmp.S: Likewise.
9110         * sysdeps/arm/__longjmp.S: Likewise.
9111         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
9112         * sysdeps/arm/setjmp.S: Likewise.
9113         * sysdeps/arm/sysdep.h: Likewise.
9114         * sysdeps/generic/_itoa.h: Likewise.
9115         * sysdeps/generic/dl-sysdep.h: Likewise.
9116         * sysdeps/generic/ldsodefs.h: Likewise.
9117         * sysdeps/i386/dl-tls.h: Likewise.
9118         * sysdeps/i386/setjmp.S: Likewise.
9119         * sysdeps/m68k/setjmp.c: Likewise.
9120         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
9121         * sysdeps/mach/hurd/opendir.c: Likewise.
9122         * sysdeps/posix/getcwd.c: Likewise.
9123         * sysdeps/posix/opendir.c: Likewise.
9124         * sysdeps/posix/profil.c: Likewise.
9125         * sysdeps/powerpc/dl-procinfo.h: Likewise.
9126         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9127         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9128         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
9129         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9130         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
9131         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
9132         * sysdeps/s390/dl-tls.h: Likewise.
9133         * sysdeps/s390/s390-32/setjmp.S: Likewise.
9134         * sysdeps/s390/s390-64/setjmp.S: Likewise.
9135         * sysdeps/sh/sh3/setjmp.S: Likewise.
9136         * sysdeps/sh/sh4/setjmp.S: Likewise.
9137         * sysdeps/unix/alpha/sysdep.h: Likewise.
9138         * sysdeps/unix/arm/sysdep.S: Likewise.
9139         * sysdeps/unix/i386/sysdep.S: Likewise.
9140         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9141         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9142         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9143         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9144         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9145         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
9146         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
9147         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9148         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9149         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
9150         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
9151         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9152         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9155         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9156         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9157         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9158         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9159         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9160         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9161         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9162         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9163         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9164         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9165         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9166         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9167         * sysdeps/unix/x86_64/sysdep.S: Likewise.
9168         * sysdeps/x86_64/setjmp.S: Likewise.
9170         * include/math.h: Use IS_IN instead of IS_IN_libm.
9171         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
9172         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9173         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9174         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9175         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9176         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9177         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9178         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9179         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9180         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9181         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
9182         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
9183         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
9184         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
9185         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
9186         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
9187         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
9188         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
9189         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
9190         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
9191         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
9192         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
9193         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
9194         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
9195         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
9196         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
9197         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
9198         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
9199         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
9200         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
9201         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
9202         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9203         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
9204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
9205         Likewise.
9206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
9207         Likewise.
9208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
9209         Likewise.
9210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
9211         Likewise.
9212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
9213         Likewise.
9214         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9215         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
9216         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9217         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9218         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9219         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
9221         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
9222         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
9223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
9224         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
9225         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
9226         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
9227         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
9228         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
9229         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
9230         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
9231         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
9232         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
9233         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9234         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
9235         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
9236         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
9237         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
9238         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
9239         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
9240         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
9242         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
9243         * nptl/pthreadP.h: Likewise.
9244         * nptl_db/structs.def: Likewise.
9245         * sysdeps/arm/sysdep.h: Likewise.
9246         * sysdeps/nptl/bits/libc-lock.h: Likewise.
9247         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
9248         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
9249         * sysdeps/unix/alpha/sysdep.h: Likewise.
9250         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9251         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9252         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9253         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9254         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9255         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9256         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9257         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9258         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9259         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9260         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9261         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9262         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9263         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
9265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
9266         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9267         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9268         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9269         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9270         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9271         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9272         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9273         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9274         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
9275         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9277         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
9278         * nptl/pthreadP.h: Likewise.
9279         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9280         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9281         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9282         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9283         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9284         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9285         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9286         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9287         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9288         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9289         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9290         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9292         Likewise.
9293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9294         Likewise.
9295         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9296         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9297         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9298         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9299         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9300         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9301         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9302         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9304         * dlfcn/dladdr.c: Use IS_IN.
9305         * dlfcn/dladdr1.c: Likewise.
9306         * dlfcn/dlclose.c: Likewise.
9307         * dlfcn/dlerror.c: Likewise.
9308         * dlfcn/dlinfo.c: Likewise.
9309         * dlfcn/dlmopen.c: Likewise.
9310         * dlfcn/dlopen.c: Likewise.
9311         * dlfcn/dlsym.c: Likewise.
9312         * dlfcn/dlvsym.c: Likewise.
9314         * include/ifaddrs.h: Use IS_IN.
9315         * inet/check_pf.c: Likewise.
9316         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9317         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
9319         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
9320         IS_IN_ldconfig.
9321         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
9322         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
9324         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
9325         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
9326         IS_IN (libc).
9328         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
9330         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
9331         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9332         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
9333         * include/libc-symbols.h (IS_IN_LIB): New macro.
9334         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
9335         * include/netdb.h: Likewise.
9336         * include/stap-probe.h: Remove all uses of IN_LIB.
9338         * Makeconfig (module-cppflags-real): Define MODULE_NAME
9339         instead of IN_MODULE.
9340         * include/libc-symbols.h (IN_MODULE): Define using
9341         MODULE_NAME.
9342         (PASTE_NAME, PASTE_NAME1): New macros.
9343         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
9344         of IN_LIB.
9345         (STAP_PROBE_ASM): Likewise.
9347 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9349         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
9350         __mach_init in dlopened libc.
9352 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
9354         * sysdeps/arm/preconfigure.ac: Delete EABI check.
9355         * sysdeps/arm/preconfigure: Regenerate.
9357 2014-11-21  Roland McGrath  <roland@hack.frob.com>
9359         * nptl/pthread_create.c (__pthread_create_2_1): Set
9360         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
9361         when copying values from IATTR into PD.
9363 2014-11-21  Will Newton  <will.newton@linaro.org>
9364             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
9366         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
9367         Refactor inline-asm.  Also add comment.
9369         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
9370         ElfW macro instead of hardcoded Elf64 types.
9371         (la_aarch64_gnu_pltenter): Likewise.
9372         * sysdeps/aarch64/dl-machine.h
9373         (elf_machine_runtime_setup): Use ElfW(Addr).
9375         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
9376         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
9377         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
9378         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
9379         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
9380         (R_AARCH64_TLS_DTPMOD64): Rename to ..
9381         (R_AARCH64_TLS_DTPMOD): This.
9382         (R_AARCH64_TLS_DTPREL64): Rename to ...
9383         (R_AARCH64_TLS_DTPREL): This.
9384         (R_AARCH64_TLS_TPREL64): Rename to ...
9385         (R_AARCH64_TLS_TPREL): This.
9386         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
9387         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
9388         R_AARCH64_TLS_TPREL64.
9389         (elf_machine_rela): Likewise.
9391 2014-11-21  Torvald Riegel  <triegel@redhat.com>
9393         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
9394         by setting it to 0.  64b atomics are not supported currently.
9396 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9398         [BZ #16469]
9399         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
9400         search domain names.
9402 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9404         [BZ #16469]
9405         * NEWS: Update.
9406         * resolv/res_query.c (__libc_res_nquerydomain): Retain
9407         trailing dot.
9408         * posix/tst-getaddrinfo5.c: New.
9409         * posix/Makefile (tests): Add it.
9411 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9413         [BZ #14498]
9414         * NEWS: Fixed.
9415         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
9416         after parsing line but before break_if_match.
9417         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
9418         if there is a protocol mismatch.
9420 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
9422         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
9423         because the potential race is on the user-supplied stream.
9425 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9427         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
9428         string literal if not passed a buffer.
9429         * manual/job.texi (ctermid): Update reasoning, note deviation
9430         from posix, suggest mtasurace when not passed a buffer, for
9431         future non-preliminary safety notes.
9433 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9435         * manual/users.texi (cuserid): Fix MT-Safety note for the case
9436         of not passing it a buffer.
9437         Reported by Peng Haitao.
9439 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9441         * manual/Makefile ($(objpfx)stamp-summary): Require
9442         check-safety.sh to pass.
9443         * manual/check-safety.sh: Wish for verification that every
9444         @deftypefn and @deftypefun is followed by a @safety remark.
9446 2014-11-20  Roland McGrath  <roland@hack.frob.com>
9448         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
9450         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
9451         PTHREAD_CANCEL_ASYNCHRONOUS.
9452         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
9453         send SIGCANCEL.
9455         * nptl/default-sched.h: New file.
9456         * sysdeps/unix/sysv/linux/default-sched.h: New file.
9457         * nptl/pthread_create.c: Include it.
9458         (__pthread_create_2_1): Use collect_default_sched instead of making
9459         Linux syscalls here directly.
9461 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9463         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
9464         __pthread_once): Use C11 atomics.
9466 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9468         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
9470 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9472         * include/atomic.h (__atomic_link_error, __atomic_check_size,
9473         atomic_thread_fence_acquire, atomic_thread_fence_release,
9474         atomic_thread_fence_seq_cst, atomic_load_relaxed,
9475         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
9476         atomic_compare_exchange_weak_relaxed,
9477         atomic_compare_exchange_weak_acquire,
9478         atomic_compare_exchange_weak_release,
9479         atomic_exchange_acquire, atomic_exchange_release,
9480         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
9481         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
9482         atomic_fetch_and_acquire,
9483         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
9485 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9487         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
9488         USE_ATOMIC_COMPILER_BUILTINS): Define.
9489         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
9490         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9491         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
9492         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9493         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
9494         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9495         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
9496         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9497         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
9498         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9499         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
9500         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9501         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
9502         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9503         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
9504         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9505         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
9506         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9507         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
9508         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9509         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
9510         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9511         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
9512         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9513         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
9514         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9515         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
9516         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9517         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
9518         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9519         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
9520         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9521         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
9522         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9523         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
9524         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9525         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
9526         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9527         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
9528         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9530 2014-11-19  Roland McGrath  <roland@hack.frob.com>
9532         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
9533         the sched_priority value here.  It was already checked when the user
9534         called pthread_attr_setschedparam.
9536         * nptl/tst-bad-schedattr.c: New file.
9537         * nptl/Makefile (tests): Add it.
9539 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
9540             Florian Weimer  <fweimer@redhat.com>
9541             Joseph Myers  <joseph@codesourcery.com>
9542             Adam Conrad  <adconrad@0c3.net>
9543             Andreas Schwab  <schwab@suse.de>
9544             Brooks  <bmoses@google.com>
9546         [BZ #17625]
9547         * wordexp-test.c (__dso_handle): Add prototype.
9548         (__register_atfork): Likewise.
9549         (__app_register_atfork): New function.
9550         (registered_forks): New global.
9551         (register_fork): New function.
9552         (test_case): Add 3 new tests for WRDE_CMDSUB.
9553         (main): Call __app_register_atfork.
9554         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
9555         fork count is non-zero fail the test.
9556         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
9557         is set.
9558         (parse_dollars): Remove check for WRDE_NOCMD.
9559         (parse_dquote): Likewise.
9561 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9563         * Makeconfig (built-modules): List non-library modules to be
9564         built.
9565         (module-cppflags): Include libc-modules.h for
9566         everything except shlib-versions.v.i.
9567         (CPPFLAGS): Use it.
9568         (before-compile): Add libc-modules.h.
9569         ($(common-objpfx)libc-modules.h,
9570         $(common-objpfx)libc-modules.stmp): New targets.
9571         (common-generated): Add libc-modules.h and libc-modules.stmp.
9572         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
9573         * include/libc-symbols.h: Don't include libc-modules.h.
9574         * include/libc-modules.h: Remove file.
9575         * scripts/gen-libc-modules.awk: New script to generate
9576         libc-modules.h.
9577         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
9578         Depend on libc-modules.stmp.
9580         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
9582         * Makeconfig (in-module): Get value of libof set for the
9583         translation unit.
9584         (CPPFLAGS): Use $(in-module).
9585         * Makerules: Don't suffix routine names for nonlib.
9586         * include/libc-modules.h: New file.
9587         * include/libc-symbols.h: Include libc-modules.h
9588         (IS_IN): New macro to replace IS_IN_* macros.
9589         * elf/Makefile: Set libof-* for each routine.
9590         * elf/rtld-Rules: Likewise.
9591         * extra-modules.mk: Likewise.
9592         * iconv/Makefile: Likewise.
9593         * iconvdata/Makefile: Likewise.
9594         * locale/Makefile: Likewise.
9595         * malloc/Makefile: Likewise.
9596         * nss/Makefile: Likewise.
9597         * sysdeps/gnu/Makefile: Likewise.
9598         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
9599         * sysdeps/unix/sysv/linux/Makefile: Likewise.
9600         * sysdeps/s390/s390-64/Makefile: Likewise.
9601         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
9602         CPPFLAGS for nscd instead of nonlib.
9604 2014-11-18  Roland McGrath  <roland@hack.frob.com>
9606         * nptl/createthread.c: New file.
9608         * nptl/createthread.c: Moved ...
9609         * sysdeps/unix/sysv/linux/createthread.c: ... here.
9611         * nptl/createthread.c: Add proper top-line comment.
9612         (do_clone): Folded into ...
9613         (create_thread): ... here.  Take new arguments STOPPED_START and
9614         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
9615         increment __nptl_threads, do event-reporting logic, do
9616         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
9617         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
9618         resource cleanup if sched_setaffinity or sched_setscheduler fails,
9619         just send SIGCANCEL.
9620         * nptl/pthread_create.c: Forward-declare create_thread before
9621         including createthread.c.
9622         (start_thread): Use new macro START_THREAD_DEFN to replace defining
9623         declaration, and new macro START_THREAD_SELF to replace argument.
9624         Remove return statement.
9625         (report_thread_creation): New function.
9626         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
9627         synchronization logic, and __nptl_nthreads increment here, around
9628         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
9629         PD->parent_cancelhandling here, before create_thread.  When
9630         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
9631         __deallocate_stack, and ENOMEM translation here.
9633 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
9635         [BZ #17616]
9636         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
9637         (mptwo): Rename to __mptwo.
9638         (__inv): Use __mptwo instead of mptwo.
9639         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
9640         (mptwo): Rename to __mptwo.
9641         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
9642         of mpone and __mptwo instead of mptwo.
9643         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
9644         instead of mpone.
9645         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9646         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
9647         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
9648         of mpone and __mptwo instead of mptwo.
9649         (__mpranred): Use __mpone instead of mpone.
9650         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
9651         variable.
9652         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
9653         (test-xfail-ISO99/math.h/linknamespace): Likewise.
9654         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
9655         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
9656         (test-xfail-ISO11/math.h/linknamespace): Likewise.
9657         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
9658         (test-xfail-XPG3/math.h/linknamespace): Likewise.
9659         (test-xfail-XPG4/math.h/linknamespace): Likewise.
9660         (test-xfail-POSIX/math.h/linknamespace): Likewise.
9661         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
9662         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
9663         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
9664         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
9665         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
9666         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
9667         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
9668         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
9669         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
9670         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
9672 2014-11-18  Tom de Vries  <tom@codesoucery.com>
9674         * manual/signal.texi (Primitives Interrupted by Signals): In section,
9675         replace BSD Handler xref with BSD Signal Handling.
9677 2014-11-17  Richard Henderson  <rth@redhat.com>
9679         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
9680         (_FP_PACK_RAW_2): Remove.
9681         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
9682         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
9683         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
9684         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
9685         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
9686         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
9687         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
9688         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
9689         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
9690         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
9691         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
9692         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
9693         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
9694         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
9695         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
9696         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
9698 2014-11-14  Roland McGrath  <roland@hack.frob.com>
9700         * signal/signal.h [__USE_MISC]
9701         (struct sigvec): Remove type.
9702         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
9703         (sigvec): Remove declaration.
9704         * sysdeps/posix/sigvec.c: Moved ...
9705         * signal/sigvec.c: ... here, replacing old file.
9706         (struct sigvec): New type, copied from old signal.h definition.
9707         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
9708         (__sigvec): Convert definition to prototype.
9709         (sigvec): Replace weak_alias with compat_symbol.
9710         * signal/Versions (libc: GLIBC_2.21): New version set.
9711         * include/signal.h: Remove __sigvec declaration.
9712         * sysdeps/unix/bsd/sigvec.c: Remove file.
9713         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
9714         * manual/signal.texi (BSD Handler): Remove subsection.
9715         Move siginterrupt up to ...
9716         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
9717         (Blocking in BSD): Fold subsection into its parent.
9718         * NEWS: Mention sigvec removal.
9720 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
9722         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
9723         (DLA_FMS): Make definition conditional only on [__FMA4__].
9724         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
9725         definition.
9727         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
9728         Make definition conditional only on [PROF].
9729         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
9730         definition.
9731         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
9732         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
9734         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
9735         !__GNUC__].
9736         * include/signal.h (__sigpause): Move declaration above call to
9737         libc_hidden_proto.
9738         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
9739         variable.
9740         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
9741         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
9743 2014-11-14  David S. Miller  <davem@davemloft.net>
9745         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
9746         Define before including <string/memcpy.c> and <string/mempcpy.c>.
9748 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
9750         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
9751         * configure: Regenerated.
9752         * manual/install.texi (Tools for Compilation): Document a
9753         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
9754         compiler verified to work.
9755         * INSTALL: Regenerated.
9757         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
9758         redeclare with asm name.
9759         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
9760         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
9761         including <string.h>.
9762         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9763         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
9764         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9765         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
9766         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9767         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
9768         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9770 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
9772         * stdlib/strtol.c (__strtol): Use prototype definition.
9774         [BZ #17594]
9775         * stdlib/strtol.c (SYM__): New macro.
9776         (SYM__1): Likewise.
9777         (__strtol): Likewise.
9778         (strtol): Rename to __strtol and define as weak alias of
9779         __strtol.  Use libc_hidden_weak.
9781 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9783         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
9784         Use numbered labels in inline assembly.
9786 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9788         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
9789         Add setjmp LIBC_PROBE.
9790         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
9791         Likewise.
9792         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
9793         Add longjmp, longjmp_target LIBC_PROBE.
9794         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
9795         Likewise.
9797 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9799         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
9800         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
9801         to get rid of unused variable warning.
9803 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9805         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
9806         Check for unwind_backtrace ==  NULL only in SHARED case.
9807         (__backchain_backtrace): Compile only in SHARED case.
9808         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
9809         Likewise.
9810         (__backchain_backtrace): Declare as static.
9812 2014-11-12  Roland McGrath  <roland@hack.frob.com>
9814         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
9815         (__libc_multiple_threads_ptr): Variable moved ...
9816         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
9818 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
9820         * conform/GlibcConform.pm: New file.
9821         * conform/conformtest.pl: Use GlibcConform module.
9822         * conform/linknamespace.pl: New file.
9823         * conform/list-header-symbols.pl: Likewise.
9824         * conform/Makefile (linknamespace-symlists-base): New variable.
9825         (linknamespace-symlists-tests): Likewise.
9826         (linknamespace-header-base): Likewise.
9827         (linknamespace-header-tests): Likewise.
9828         (tests-special): Add new tests.
9829         ($(linknamespace-symlists-tests)): New rule.
9830         (linknamespace-libs): New variable.
9831         ($(objpfx)symlist-stdlibs): New rule.
9832         ($(linknamespace-header-tests)): Likewise.
9833         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
9834         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
9835         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
9836         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
9837         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
9838         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
9839         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
9840         (test-xfail-ISO/math.h/linknamespace): Likewise.
9841         (test-xfail-ISO/signal.h/linknamespace): Likewise.
9842         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
9843         (test-xfail-ISO/time.h/linknamespace): Likewise.
9844         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
9845         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
9846         (test-xfail-ISO99/math.h/linknamespace): Likewise.
9847         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
9848         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
9849         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
9850         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
9851         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
9852         (test-xfail-ISO11/math.h/linknamespace): Likewise.
9853         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
9854         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
9855         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
9856         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
9857         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
9858         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
9859         (test-xfail-XPG3/math.h/linknamespace): Likewise.
9860         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
9861         (test-xfail-XPG3/search.h/linknamespace): Likewise.
9862         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
9863         (test-xfail-XPG3/time.h/linknamespace): Likewise.
9864         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
9865         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
9866         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
9867         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
9868         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
9869         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
9870         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
9871         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
9872         (test-xfail-XPG4/math.h/linknamespace): Likewise.
9873         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
9874         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
9875         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
9876         (test-xfail-XPG4/search.h/linknamespace): Likewise.
9877         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
9878         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
9879         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
9880         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
9881         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
9882         (test-xfail-XPG4/time.h/linknamespace): Likewise.
9883         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
9884         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
9885         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
9886         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
9887         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
9888         (test-xfail-POSIX/math.h/linknamespace): Likewise.
9889         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
9890         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
9891         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
9892         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
9893         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
9894         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
9895         (test-xfail-POSIX/time.h/linknamespace): Likewise.
9896         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
9897         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
9898         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
9899         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
9900         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
9901         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
9902         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
9903         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
9904         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
9905         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
9906         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
9907         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
9908         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
9909         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
9910         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
9911         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
9912         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
9913         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
9914         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
9915         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
9916         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
9917         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
9918         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
9919         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
9920         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
9921         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
9922         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
9923         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
9924         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
9925         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
9926         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
9927         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
9928         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
9929         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
9930         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
9931         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
9932         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
9933         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
9934         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
9935         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
9936         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
9937         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
9938         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
9939         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
9940         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
9941         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
9942         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
9943         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
9944         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
9945         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
9946         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
9947         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
9948         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
9949         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
9950         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
9951         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
9952         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
9953         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
9954         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
9955         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
9956         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
9957         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
9958         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
9959         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
9960         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
9961         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
9962         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
9963         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
9964         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
9965         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
9966         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
9967         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
9968         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
9969         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
9970         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
9971         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
9972         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
9973         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
9974         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
9975         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
9976         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
9977         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
9978         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
9979         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
9980         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
9981         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
9982         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
9983         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
9984         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
9985         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
9986         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
9987         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
9988         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
9989         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
9990         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
9991         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
9992         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
9993         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
9995         [BZ #17589]
9996         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
9997         of fgets_unlocked.
9999         [BZ #17585]
10000         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
10001         (memmem): Rename to __memmem and define as weak alias of
10002         __memmem.  Use libc_hidden_weak.
10003         (__memmem): Use libc_hidden_def.
10004         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
10005         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
10006         memmem.
10008         [BZ #17582]
10009         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
10010         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
10011         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
10012         and define as weak alias of __fgets_unlocked.  Use
10013         libc_hidden_weak.
10014         (__fgets_unlocked): Use libc_hidden_def.
10015         * include/stdio.h (__fgets_unlocked): Declare.  Use
10016         libc_hidden_proto.
10017         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
10018         __fgets_unlocked instead of fgets_unlocked.
10019         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
10020         (GET_NPROCS_CONF_PARSER): Likewise.
10021         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
10022         (GET_NPROCS_CONF_PARSER): Likewise.
10024         [BZ #17574]
10025         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
10026         weak alias of __wmemset.  Use libc_hidden_weak.
10027         (__wmemset): Use libc_hidden_def.
10028         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
10029         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
10030         of wmemset.
10032         [BZ #17573]
10033         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
10034         with asm name __mempcpy.
10035         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
10037         [BZ #17572]
10038         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
10039         and define as weak alias of __rawmemchr.
10040         (__rawmemchr): Do not define as strong alias of rawmemchr.
10042         [BZ #17571]
10043         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
10044         alias of __qsort_r.
10045         (qsort): Call __qsort_r instead of qsort_r.
10046         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
10047         (__qsort_r): Declare.  Call libc_hidden_proto.
10048         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
10049         instead of qsort_r.
10050         * nscd/gai.c (__qsort_r): Define to qsort_r.
10051         * posix/tst-rfc3484.c (__qsort_r): Likewise.
10052         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
10053         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
10055         [BZ #17570]
10056         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
10057         define as weak alias of __malloc_info.
10059         [BZ #17584]
10060         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
10061         as weak alias of __rewinddir.  Don't use libc_hidden_def.
10062         (__rewinddir): Use libc_hidden_def.
10063         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
10064         as weak alias of __rewinddir.  Don't use libc_hidden_def.
10065         (__rewinddir): Use libc_hidden_def.
10066         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
10067         weak alias of __rewinddir.  Don't use libc_hidden_def.
10068         (__rewinddir): Use libc_hidden_def.
10069         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
10070         (__rewinddir): Use libc_hidden_proto.
10071         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
10072         rewinddir.
10073         (__getcwd): Use __rewinddir instead of rewinddir.
10075         [BZ #17583]
10076         * libio/fileno.c (fileno): Rename to __fileno and define as weak
10077         alias of __fileno.  Use libc_hidden_weak.
10078         (__fileno): Use libc_hidden_def.
10079         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
10080         * libio/ftello.c (ftello): Rename to __ftello and define as weak
10081         alias of __ftello.
10082         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
10083         __ftello.
10084         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
10085         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
10086         libc_hidden_def.
10087         (fread_unlocked): Don't use libc_hidden_ver.
10088         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
10089         and define as weak alias of __fread_unlocked.  Don't use
10090         libc_hidden_def.
10091         (__fread_unlocked): Use libc_hidden_def.
10092         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
10093         (ftello): Don't use libc_hidden_proto.
10094         (__ftello): Declare.  Use libc_hidden_proto.
10095         (fread_unlocked): Don't use libc_hidden_proto.
10096         (__fread_unlocked): Declare.  Use libc_hidden_proto.
10097         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
10098         and __ftello instead of fileno, fread_unlocked and ftello.
10100 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10102         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
10103         GOT12.
10104         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
10105         Likewise.
10106         (_dl_start_user): Likewise.
10107         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
10109 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
10110             Siddhesh Poyarekar  <siddhesh@redhat.com>
10112         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
10113         Move argv and envp down instead of moving argc up.
10114         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
10116 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
10118         [BZ #17506]
10119         * test-skeleton.c (main): Return successful if one of
10120         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
10121         * string/tst-strcoll-overflow.c: Define expected status.
10123 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
10125         [BZ #17475]
10126         * locale/iso-639.def: Define Bhili and Tulu language codes.
10128 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
10130         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
10132 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
10134         [BZ #17555]
10135         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
10137 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
10139         * configure.ac: Updated check of minimal required version to
10140         2.22.
10141         * manual/install.texi (Tools for Compilation): Updated version
10142         number.
10143         * configure: Regenerated.
10144         * INSTALL: Likewise.
10146 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
10148         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
10149         __tls_get_addr.
10151 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
10153         * include/sys/wait.h (__libc_waitpid): Remove declaration.
10154         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
10155         (__waitpid): Don't define as alias.  Use libc_hidden_def not
10156         libc_hidden_weak.
10157         (waitpid): Define as alias of __waitpid.
10158         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
10159         __waitpid.
10160         (__waitpid): Don't define as alias.  Use libc_hidden_def not
10161         libc_hidden_weak.
10162         (waitpid): Define as alias of __waitpid.
10163         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
10164         __libc_waitpid alias.
10165         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
10166         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
10167         Likewise.
10168         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
10169         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
10170         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
10171         alias.
10172         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
10173         __waitpid.
10174         (__waitpid): Don't define as alias.  Use libc_hidden_def not
10175         libc_hidden_weak.
10176         (waitpid): Define as alias of __waitpid.
10178 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
10180         * manual/llio.texi: Add comment that write safety has been
10181         fixed in Linux.
10183         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
10184         (localplt-build-dso): Add elf/ld.so.
10185         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
10186         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
10187         and free for ld.so.
10188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
10189         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
10190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
10191         Likewise.
10192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10193         Likewise.
10194         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
10195         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
10196         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
10197         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
10198         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
10199         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
10200         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
10201         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
10202         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
10203         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
10204         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
10206 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
10208         [BZ #14132]
10209         * include/libc-symbols.h (INTUSE): Remove macro.
10210         (INTDEF): Likewise.
10211         (INTVARDEF): Likewise.
10212         (_INTVARDEF): Likewise.
10213         (INTDEF2): Likewise.
10214         (INTVARDEF2): Likewise.
10215         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
10216         rtld_hidden_def instead of INTVARDEF.
10217         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
10218         (_dl_starting_up_internal): Remove declaration.
10219         (_dl_starting_up): Use rtld_hidden_proto.
10220         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
10221         declaration.
10222         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
10223         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
10224         _dl_starting_up.
10225         * elf/dl-writev.h (_dl_writev): Likewise.
10226         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
10227         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
10228         _dl_starting_up_internal.
10230 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10232         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
10233         test-skeleton.c.
10235 2014-11-05  Will Newton  <will.newton@linaro.org>
10237         * benchtests/Makefile: (bench-malloc): Add malloc thread
10238         scalability benchmark.
10239         * benchtests/bench-malloc-threads.c: New file.
10241 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
10243         * sysdeps/aarch64/strchrnul.S: New file.
10245 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10247         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
10248         definition.
10249         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
10250         Likwise.
10251         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
10252         Likewise.
10253         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
10254         Likewise.
10255         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
10256         Likewise.
10257         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
10258         Likewise.
10260 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
10262         * catgets/test-gencat.c: Use test-skeleton.c.
10263         * catgets/tst-catgets.c: Likewise.
10264         * csu/tst-empty.c: Likewise.
10265         * elf/tst-audit2.c: Likewise.
10266         * elf/tst-global1.c: Likewise.
10267         * elf/tst-pathopt.c: Likewise.
10268         * elf/tst-piemod1.c: Likewise.
10269         * elf/tst-tls10.c: Likewise.
10270         * elf/tst-tls11.c: Likewise.
10271         * elf/tst-tls12.c: Likewise.
10272         * gnulib/tst-gcc.c: Likewise.
10273         * iconvdata/tst-e2big.c: Likewise.
10274         * iconvdata/tst-loading.c: Likewise.
10275         * iconv/tst-iconv1.c: Likewise.
10276         * iconv/tst-iconv2.c: Likewise.
10277         * inet/test-inet6_opt.c: Likewise.
10278         * inet/tst-gethnm.c: Likewise.
10279         * inet/tst-network.c: Likewise.
10280         * inet/tst-ntoa.c: Likewise.
10281         * intl/tst-codeset.c: Likewise.
10282         * intl/tst-gettext2.c: Likewise.
10283         * intl/tst-gettext3.c: Likewise.
10284         * intl/tst-ngettext.c: Likewise.
10285         * intl/tst-translit.c: Likewise.
10286         * io/test-stat.c: Likewise.
10287         * libio/test-fmemopen.c: Likewise.
10288         * libio/tst-freopen.c: Likewise.
10289         * libio/tst-sscanf.c: Likewise.
10290         * libio/tst-ungetwc1.c: Likewise.
10291         * libio/tst-ungetwc2.c: Likewise.
10292         * libio/tst-widetext.c: Likewise.
10293         * localedata/tst-ctype.c: Likewise.
10294         * localedata/tst-digits.c: Likewise.
10295         * localedata/tst-leaks.c: Likewise.
10296         * localedata/tst-mbswcs1.c: Likewise.
10297         * localedata/tst-mbswcs2.c: Likewise.
10298         * localedata/tst-mbswcs3.c: Likewise.
10299         * localedata/tst-mbswcs4.c: Likewise.
10300         * localedata/tst-mbswcs5.c: Likewise.
10301         * localedata/tst-setlocale.c: Likewise.
10302         * localedata/tst-trans.c: Likewise.
10303         * localedata/tst-wctype.c: Likewise.
10304         * localedata/tst-xlocale1.c: Likewise.
10305         * login/tst-grantpt.c: Likewise.
10306         * malloc/tst-calloc.c: Likewise.
10307         * malloc/tst-malloc.c: Likewise.
10308         * malloc/tst-mallocstate.c: Likewise.
10309         * malloc/tst-mcheck.c: Likewise.
10310         * malloc/tst-mtrace.c: Likewise.
10311         * malloc/tst-obstack.c: Likewise.
10312         * math/atest-exp2.c: Likewise.
10313         * math/atest-exp.c: Likewise.
10314         * math/atest-sincos.c: Likewise.
10315         * math/test-matherr.c: Likewise.
10316         * math/test-misc.c: Likewise.
10317         * math/test-powl.c: Likewise.
10318         * math/tst-definitions.c: Likewise.
10319         * misc/tst-dirname.c: Likewise.
10320         * misc/tst-efgcvt.c: Likewise.
10321         * misc/tst-fdset.c: Likewise.
10322         * misc/tst-hsearch.c: Likewise.
10323         * misc/tst-mntent2.c: Likewise.
10324         * nptl/tst-sem7.c: Likewise.
10325         * nptl/tst-sem8.c: Likewise.
10326         * nptl/tst-sem9.c: Likewise.
10327         * nss/test-netdb.c: Likewise.
10328         * posix/tst-fnmatch.c: Likewise.
10329         * posix/tst-getlogin.c: Likewise.
10330         * posix/tst-gnuglob.c: Likewise.
10331         * posix/tst-mmap.c: Likewise.
10332         * pwd/tst-getpw.c: Likewise.
10333         * resolv/tst-inet_ntop.c: Likewise.
10334         * rt/tst-timer.c: Likewise.
10335         * stdio-common/test-fseek.c: Likewise.
10336         * stdio-common/test-popen.c: Likewise.
10337         * stdio-common/test-vfprintf.c: Likewise.
10338         * stdio-common/tst-cookie.c: Likewise.
10339         * stdio-common/tst-fileno.c: Likewise.
10340         * stdio-common/tst-gets.c: Likewise.
10341         * stdio-common/tst-obprintf.c: Likewise.
10342         * stdio-common/tst-perror.c: Likewise.
10343         * stdio-common/tst-sprintf2.c: Likewise.
10344         * stdio-common/tst-sprintf3.c: Likewise.
10345         * stdio-common/tst-sprintf.c: Likewise.
10346         * stdio-common/tst-swprintf.c: Likewise.
10347         * stdio-common/tst-tmpnam.c: Likewise.
10348         * stdio-common/tst-unbputc.c: Likewise.
10349         * stdio-common/tst-wc-printf.c: Likewise.
10350         * stdlib/tst-environ.c: Likewise.
10351         * stdlib/tst-fmtmsg.c: Likewise.
10352         * stdlib/tst-limits.c: Likewise.
10353         * stdlib/tst-rand48-2.c: Likewise.
10354         * stdlib/tst-rand48.c: Likewise.
10355         * stdlib/tst-random2.c: Likewise.
10356         * stdlib/tst-random.c: Likewise.
10357         * stdlib/tst-strtol.c: Likewise.
10358         * stdlib/tst-strtoll.c: Likewise.
10359         * stdlib/tst-tls-atexit.c: Likewise.
10360         * stdlib/tst-xpg-basename.c: Likewise.
10361         * string/test-ffs.c: Likewise.
10362         * string/tst-bswap.c: Likewise.
10363         * string/tst-inlcall.c: Likewise.
10364         * string/tst-strtok.c: Likewise.
10365         * string/tst-strxfrm.c: Likewise.
10366         * sysdeps/x86_64/tst-audit10.c: Likewise.
10367         * sysdeps/x86_64/tst-audit3.c: Likewise.
10368         * sysdeps/x86_64/tst-audit4.c: Likewise.
10369         * sysdeps/x86_64/tst-audit5.c: Likewise.
10370         * time/tst-ftime_l.c: Likewise.
10371         * time/tst-getdate.c: Likewise.
10372         * time/tst-mktime3.c: Likewise.
10373         * time/tst-mktime.c: Likewise.
10374         * time/tst-posixtz.c: Likewise.
10375         * time/tst-strptime2.c: Likewise.
10376         * time/tst-strptime3.c: Likewise.
10377         * wcsmbs/tst-btowc.c: Likewise.
10378         * wcsmbs/tst-mbrtowc.c: Likewise.
10379         * wcsmbs/tst-mbsrtowcs.c: Likewise.
10380         * wcsmbs/tst-wchar-h.c: Likewise.
10381         * wcsmbs/tst-wcpncpy.c: Likewise.
10382         * wcsmbs/tst-wcrtomb.c: Likewise.
10383         * wcsmbs/tst-wcsnlen.c: Likewise.
10384         * wcsmbs/tst-wcstof.c: Likewise.
10386 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
10388         [BZ #14132]
10389         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
10390         INTDEF.
10391         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
10392         declaration.
10393         (_dl_mcount): Use rtld_hidden_proto.
10394         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
10395         _dl_mcount.
10396         * elf/rtld.c (_rtld_global_ro): Likewise.
10398         [BZ #14132]
10399         * elf/dl-init.c (_dl_init): Don't use INTDEF.
10400         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
10401         of _dl_init_internal.
10402         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
10403         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
10404         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
10405         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
10406         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
10407         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
10408         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
10409         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
10410         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
10411         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
10412         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
10413         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
10414         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10415         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10416         * sysdeps/tile/dl-start.S (_start): Likewise.
10417         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
10418         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
10420         [BZ #14132]
10421         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
10422         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
10423         (rtld_progname): Make macro definition unconditional.
10424         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
10425         INTDEF.
10426         (dlmopen_doit): Do not use INTUSE with _dl_argv.
10427         (dl_main): Likewise.
10428         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10429         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
10430         instead of _dl_argv_internal.
10431         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
10432         __GI__dl_argv instead of INTUSE(_dl_argv).
10433         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
10434         __GI__dl_argv instead of _dl_argv_internal.
10436         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
10437         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
10438         macro.
10439         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
10440         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
10441         New macro.
10442         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
10443         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
10444         macro.
10445         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
10446         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
10448 2014-11-04  Andreas Schwab  <schwab@suse.de>
10450         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
10452 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10454         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
10455         mtvsrd instruction in binary form.
10457 2014-11-03  Andreas Schwab  <schwab@suse.de>
10459         [BZ #17522]
10460         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
10461         for less than MB_LEN_MAX use a local buffer of that size.
10462         * libio/tst-fputws.c: New file.
10463         * libio/Makefile (tests): Add tst-fputws.
10465 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
10467         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
10468         the size of the fpu_fr.fpu_dregs[] array.
10470 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
10472         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
10473         (__nanosleep): Do not define as alias.
10474         (nanosleep): Define as alias of __nanosleep.
10475         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
10476         __libc_nanosleep name.
10478 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
10480         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
10481         install.texi in comment.
10483 2014-10-31  Torvald Riegel  <triegel@redhat.com>
10485         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
10486         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
10487         ... add here and use lwsync or sync ...
10488         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
10489         ... and add here using lwsync.
10491 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
10493         * elf/dl-machine-reject-phdr.h: New file.
10494         * elf/dl-load.c: #include that.
10495         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
10496         if that returned true.
10498 2014-10-31  Roland McGrath  <roland@hack.frob.com>
10500         [BZ #17496]
10501         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
10502         gen-as-const-headers chunk.  Add a big scare comment after the last
10503         safe place to touch before-compile.
10505 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
10507         * manual/install.texi (Tools for Compilation): Update autoconf
10508         version requirements.
10509         * INSTALL: Regenerated.
10511         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
10512         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
10513         (__libc_pselect): Likewise.
10515         [BZ #14138]
10516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
10517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10521 2014-10-31  Torvald Riegel  <triegel@redhat.com>
10523         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
10524         correct barrier instruction.
10525         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
10526         Likewise.
10527         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
10528         Likewise.
10530 2014-10-30  Roland McGrath  <roland@hack.frob.com>
10532         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
10533         after defining inlines.  Instead, just use parens to defeat macro
10534         expansion of __isctype in its declaration.
10536 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
10538         * include/sys/uio.h (__libc_readv): Remove declaration.
10539         (__libc_writev): Likewise.
10540         * misc/readv.c (__libc_readv): Rename to __readv.
10541         (__readv): Do not define as alias.
10542         (readv): Define as alias of __readv.
10543         * misc/writev.c (__libc_writev): Rename to __writev.
10544         (__writev): Do not define as alias.
10545         (writev): Define as alias of __writev.
10546         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
10547         (__readv): Do not define as alias.
10548         (readv): Define unconditionally as alias of __readv.
10549         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
10550         (__writev): Do not define as alias.
10551         (writev): Define unconditionally as alias of __writev.
10552         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
10553         name.
10554         (writev): Do not define __libc_writev name.
10556 2014-10-30  Roland McGrath  <roland@hack.frob.com>
10558         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
10559         (convert_charseq): New function, broken out of ...
10560         (use_from_charmap): ... here.  Call it.
10561         (use_to_charmap): Use convert_charseq and free instead of duplicating
10562         its code with a variable-length stack struct.
10564 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
10566         * include/fcntl.h (__libc_creat): Remove declaration.
10567         * io/creat.c (__libc_creat): Rename to creat.
10568         (creat): Do not define as alias.
10569         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
10570         of creat instead of __libc_creat.
10571         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
10572         to creat.
10573         (creat): Do not define as alias.
10574         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
10575         __libc_creat.
10576         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
10577         __libc_creat name.
10578         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
10579         Likewise.
10581 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
10583         * manual/llio.texi: Add comments discussing why write() may be
10584         considered MT-unsafe on Linux.
10586 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
10588         * dl-load.c (local_strdup): Remove.
10589         (expand_dynamic_string_token): Use __strdup.
10590         (decompose_rpath): Likewise.
10591         (_dl_map_object): Likewise.
10593 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
10595         [BZ #14132]
10596         * sysdeps/generic/unwind-dw2-fde.c
10597         (__register_frame_info_bases_internal): Do not declare.
10598         (__register_frame_info_table_bases_internal): Likewise.
10599         (__deregister_frame_info_bases_internal): Likewise.
10600         (__register_frame_info_bases): Declare and use hidden_proto before
10601         definition.  Use hidden_def instead of INTDEF.
10602         (__register_frame_info_table_bases): Likewise.
10603         (__deregister_frame_info_bases): Likewise.
10604         (__register_frame_info): Do not use INTUSE.
10605         (__register_frame): Likewise.
10606         (__register_frame_info_table): Likewise.
10607         (__register_frame_table): Likewise.
10608         (__deregister_frame_info): Likewise.
10609         (__deregister_frame): Likewise.
10611 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
10613         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10614         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
10615         not undefine.
10616         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
10617         Likewise.
10618         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
10619         Likewise.
10621 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
10623         [BZ #14138]
10624         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
10625         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
10626         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
10627         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
10628         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
10629         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
10630         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
10631         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
10632         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
10633         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
10634         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
10635         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
10636         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
10637         syscall.
10638         (setfsuid): Likewise.
10639         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
10640         (setfsuid): Likewise.
10641         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
10642         (setfsuid): Likewise.
10643         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
10644         Likewise.
10645         (setfsuid): Likewise.
10646         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
10647         (setfsuid): Likewise.
10648         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
10649         Likewise.
10650         (setfsuid): Likewise.
10652 2014-10-27  Andreas Schwab  <schwab@suse.de>
10654         [BZ #17501]
10655         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
10656         check for Slow_SSE4_2 feature bit.
10657         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
10658         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10659         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
10660         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
10662 2014-10-24  Roland McGrath  <roland@hack.frob.com>
10664         * configure.ac: Validate compiler version with a empirical test of
10665         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
10666         $CC -v output.
10667         * configure: Regenerated.
10669         * inet/htons.c (htons): Prototypify.
10670         * inet/htonl.c (htonl): Likewise.
10672 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10674         * string/strncat.c (strncat): Improve performance by using strlen.
10676 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10678         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
10680 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10682         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
10683         Call libc_fetestexcept_aarch64.
10685 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10687         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
10688         Call libc_feholdexcept_aarch64.
10690 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10692         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
10693         Call get_rounding_mode.
10695 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10697         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
10698         Simplify logic.
10700 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10702         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
10703         Simplify logic.
10705 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
10707         [BZ #14138]
10708         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
10709         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
10710         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
10711         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
10712         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
10713         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
10714         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
10715         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
10716         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
10717         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
10718         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10719         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
10720         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
10721         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
10722         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
10723         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
10724         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
10725         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
10726         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
10727         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
10728         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
10729         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
10730         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
10731         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
10732         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
10733         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
10734         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
10735         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
10736         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
10737         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
10738         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
10739         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
10740         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
10741         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
10742         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
10743         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
10744         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
10745         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
10746         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
10747         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
10748         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
10749         syscall.
10750         (geteuid): Likewise.
10751         (getgid): Likewise.
10752         (getuid): Likewise.
10753         (getresgid): Likewise.
10754         (getresuid): Likewise.
10755         (getgroups): Likewise.
10756         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
10757         (geteuid): Likewise.
10758         (getgid): Likewise.
10759         (getuid): Likewise.
10760         (getresgid): Likewise.
10761         (getresuid): Likewise.
10762         (getgroups): Likewise.
10763         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
10764         (geteuid): Likewise.
10765         (getgid): Likewise.
10766         (getuid): Likewise.
10767         (getresgid): Likewise.
10768         (getresuid): Likewise.
10769         (getgroups): Likewise.
10770         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
10771         Likewise.
10772         (geteuid): Likewise.
10773         (getgid): Likewise.
10774         (getuid): Likewise.
10775         (getresgid): Likewise.
10776         (getresuid): Likewise.
10777         (getgroups): Likewise.
10778         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
10779         (geteuid): Likewise.
10780         (getgid): Likewise.
10781         (getuid): Likewise.
10782         (getresgid): Likewise.
10783         (getresuid): Likewise.
10784         (getgroups): Likewise.
10785         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
10786         Likewise.
10787         (geteuid): Likewise.
10788         (getgid): Likewise.
10789         (getuid): Likewise.
10790         (getgroups): Likewise.
10792         [BZ #14138]
10793         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
10794         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
10795         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
10796         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10797         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
10798         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
10799         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
10800         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
10801         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
10802         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
10803         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
10804         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
10805         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
10806         __chown.
10807         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
10808         (lchown): Likewise.
10809         (fchown): Likewise.
10810         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
10811         Likewise.
10812         (lchown): Likewise.
10813         (fchown): Likewise.
10814         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
10815         (lchown): Likewise.
10816         (fchown): Likewise.
10817         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
10818         Likewise.
10819         (lchown): Likewise.
10820         (fchown): Likewise.
10822 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
10824         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
10825         Simplify logic.
10827 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
10829         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
10830         Cleanup logic.
10832 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
10834         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
10835         Remove unused include.
10837 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
10839         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
10840         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
10841         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
10842         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
10844 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
10845             Helge Deller <deller@gmx.de>
10847         [BZ #17508]
10848         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
10849         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
10850         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
10852 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
10854         [BZ #14132]
10855         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
10856         Remove macro definition.
10857         (__ashrdi3_v_glibc20): Likewise.
10858         (__lshrdi3_v_glibc20): Likewise.
10859         (__cmpdi2_v_glibc20): Likewise.
10860         (__ucmpdi2_v_glibc20): Likewise.
10861         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
10862         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10863         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10864         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10865         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10866         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
10868 2014-10-22  Roland McGrath  <roland@hack.frob.com>
10870         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
10871         old GNU extension [0] syntax.
10872         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
10873         alloca rather than an array member with variable length.
10874         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
10875         * nscd/nscd.c (invalidate_db): New function, broken out of ...
10876         (parse_opt): ... here.  Likewise use alloca there.
10877         Validate the -i argument before checking for rootness.
10878         (send_shutdown): New function, broken out of ...
10879         (parse_opt): ... here.
10881 2014-10-22  Roland McGrath  <roland@hack.frob.com>
10883         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
10884         macro to get at the _rt_local_ro field.
10885         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
10886         ([PIC] case) or _dl_hwcap ([!PIC] case).
10887         * sysdeps/arm/setjmp.S: Likewise.
10889         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
10890         * sysdeps/arm/configure.ac: New check to define it.
10891         * sysdeps/arm/configure: Regenerated.
10892         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
10893         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
10894         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
10895         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
10896         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
10897         Use move/movt pair instead of a load.
10898         (LDST_GLOBAL): Macro removed.
10899         (LDR_GLOBAL): New macro replaces it.
10900         (LDR_HIDDEN): New macro.
10901         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
10902         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
10904         * setjmp/tst-setjmp-static.c: New file.
10905         * setjmp/Makefile (tests): Add it.
10906         (tests-static): New variable.
10908 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
10910         [BZ #17485]
10911         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
10913 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
10915         [BZ #14132]
10916         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
10918 2014-10-21  Roland McGrath  <roland@hack.frob.com>
10920         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
10922 2014-10-20  Roland McGrath  <roland@hack.frob.com>
10924         * io/fts.c (dirent_not_directory): New function.
10925         (fts_build): Call it.
10927 2014-10-20  Roland McGrath  <roland@hack.frob.com>
10929         * nptl/version.c (__nptl_main): Use normal __write rather than
10930         INTERNAL_SYSCALL.
10931         (banner): Update copyright years.
10933         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
10934         gettimeofday.
10935         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10936         * nptl/pthread_cond_timedwait.c: Likewise.
10937         * nptl/pthread_mutex_timedlock.c: Likewise.
10938         * nptl/sem_timedwait.c: Likewise.
10940         * sysdeps/nptl/bits/libc-lock.h
10941         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
10942         (__libc_lock_init_recursive): Return void, not 0.
10943         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
10944         (__libc_rwlock_init): Likewise.
10945         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
10947 2014-10-20  Torvald Riegel  <triegel@redhat.com>
10949         [BZ #15215]
10950         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
10951         (__pthread_once_slow): ... here.
10952         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
10953         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
10955 2014-10-20  Torvald Riegel  <triegel@redhat.com>
10957         [BZ #15215]
10958         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
10959         __PTHREAD_ONCE_FORK_GEN_INCR): New.
10960         * sysdeps/nptl/fork.c (__libc_fork): Use them.
10961         * nptl/pthread_once.c (__pthread_once): Likewise.
10962         Update comments.
10964 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
10966         [BZ #14138]
10967         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
10968         name.
10969         (writev): Use __libc_writev as strong name.
10970         * sysdeps/unix/sysv/linux/readv.c: Remove file.
10971         * sysdeps/unix/sysv/linux/writev.c: Likewise.
10973 2014-10-17  Roland McGrath  <roland@hack.frob.com>
10975         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
10977         * sysdeps/i386/nptl/tls.h
10978         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
10979         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
10980         New macros.
10981         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
10982         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
10983         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
10984         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
10985         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
10986         Call CHECK_THREAD_SYSINFO instead of doing an assert.
10988         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
10989         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
10990         on [__NR_futex].
10991         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
10992         broken out of ...
10993         (__pthread_mutex_init): ... here.  Call it.
10994         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
10995         Conditionalize PI cases on [__NR_futex].
10996         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
10997         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
10998         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11000         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
11001         conditional on [SIGSETXID].
11002         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
11003         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
11004         is defined.  Likewise for SIGSETXID.
11005         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
11006         Conditionalize definitions on [SIGSETXID].
11007         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
11008         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
11009         unblocking on [SIGCANCEL].
11011         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
11012         [__NR_set_robust_list].
11014 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
11016         * string/strcoll_l.c (get_next_seq): Fix up formatting.
11017         (do_compare): Likewise.
11019 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
11021         [BZ #15884]
11022         * string/strcoll_l.c: Don't include stdio.h.
11023         (coll_seq): Remove members idxarr and rulearr.
11024         (get_next_seq_cached): Remove function.
11025         (get_next_seq): Likewise.
11026         (get_next_seq_nocache): Rename to get_next_seq.
11027         (do_compare): Remove function.
11028         (do_compare_nocache): Rename to do_compare.
11029         (STRCOLL): Remove weight and rules cache.
11031 2014-10-16  Roland McGrath  <roland@hack.frob.com>
11033         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
11034         * sysdeps/arm/sfp-machine.h: ... to here.
11035         * sysdeps/arm/Implies: Remove arm/soft-fp.
11037 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
11039         * conform/data/sys/utsname.h-data (*_t): Allow.
11040         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
11041         [POSIX] (WEXITED): Do not expect constant.
11042         [POSIX] (WSTOPPED): Likewise.
11043         [POSIX] (WNOHANG): Likewise.
11044         [POSIX] (WNOWAIT): Likewise.
11045         [POSIX] (siginfo_t): Do not expect type or elements.
11046         [POSIX] (pid_t): Do not expect type.
11047         [POSIX] (signal.h): Do not allow header.
11048         [POSIX] (sys/resource.h): Likewise.
11049         [POSIX] (si_*): Do not allow pattern.
11050         [POSIX] (W*): Likewise.
11051         [POSIX] (P_*): Likewise.
11052         [POSIX] (BUS_*): Likewise.
11053         [POSIX] (CLD_*): Likewise.
11054         [POSIX] (FPE_*): Likewise.
11055         [POSIX] (ILL_*): Likewise.
11056         [POSIX] (POLL_*): Likewise.
11057         [POSIX] (SEGV_*): Likewise.
11058         [POSIX] (SI_*): Likewise.
11059         [POSIX] (TRAP_*): Likewise.
11060         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
11061         variable.
11063 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
11065         [BZ #12926]
11066         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
11067         infinite loop when __recvmsg returns 0.
11069 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
11071         * CANCEL-FCT-WAIVE: Remove file.
11072         * CANCEL-FILE-WAIVE: Likewise.
11074         [BZ #14132]
11075         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
11076         instead of INTVARDEF.
11077         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
11078         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
11079         rtld_hidden_data_def instead of INTVARDEF.
11080         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
11081         * elf/dl-deps.c (expand_dst): Likewise.
11082         * elf/dl-load.c (_dl_dst_count): Likewise.
11083         (_dl_dst_substitute): Likewise.
11084         (decompose_rpath): Likewise.
11085         (_dl_init_paths): Likewise.
11086         (open_path): Likewise.
11087         (_dl_map_object): Likewise.
11088         * elf/rtld.c (dl_main): Likewise.
11089         (process_dl_audit): Likewise.
11090         (process_envvars): Likewise.
11091         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
11092         Remove declaration.
11093         (__libc_enable_secure): Use rtld_hidden_proto.
11095 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11097         * elf/dl-load.c
11098         (add_path): New function broken out of _dl_rtld_di_serinfo.
11099         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
11101 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
11103         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
11104         parentheses around macro arguments.
11105         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
11106         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
11107         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
11108         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
11109         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
11110         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
11111         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
11112         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
11113         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
11114         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
11115         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
11116         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
11117         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
11118         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
11119         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
11120         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
11121         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
11122         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
11123         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
11124         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
11125         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
11126         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
11127         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
11128         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
11129         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
11130         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
11131         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
11132         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
11133         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
11134         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
11135         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
11136         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
11137         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
11138         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
11139         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
11140         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
11141         Likewise.
11142         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
11143         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
11144         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
11145         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
11146         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
11147         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
11148         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
11149         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
11150         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
11151         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
11152         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
11153         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
11154         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
11155         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
11156         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
11157         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
11158         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
11159         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
11160         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
11161         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
11162         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
11163         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
11164         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
11165         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
11166         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
11167         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
11168         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
11169         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
11170         (_FP_FRAC_SRS_1): Likewise.
11171         (_FP_FRAC_CLZ_1): Likewise.
11172         (_FP_MUL_MEAT_1_imm): Likewise.
11173         (_FP_MUL_MEAT_1_wide): Likewise.
11174         (_FP_MUL_MEAT_1_hard): Likewise.
11175         (_FP_SQRT_MEAT_1): Likewise.
11176         (_FP_FRAC_ASSEMBLE_1): Likewise.
11177         (_FP_FRAC_DISASSEMBLE_1): Likewise.
11178         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
11179         (__FP_CLZ_2): Likewise.
11180         (_FP_MUL_MEAT_2_wide): Likewise.
11181         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
11182         (_FP_MUL_MEAT_2_gmp): Likewise.
11183         (_FP_MUL_MEAT_2_120_240_double): Likewise.
11184         (_FP_SQRT_MEAT_2): Likewise.
11185         (_FP_FRAC_ASSEMBLE_2): Likewise.
11186         (_FP_FRAC_DISASSEMBLE_2): Likewise.
11187         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
11188         (_FP_FRAC_CLZ_4): Likewise.
11189         (_FP_MUL_MEAT_4_wide): Likewise.
11190         (_FP_MUL_MEAT_4_gmp): Likewise.
11191         (_FP_SQRT_MEAT_4): Likewise.
11192         (_FP_FRAC_ASSEMBLE_4): Likewise.
11193         (_FP_FRAC_DISASSEMBLE_4): Likewise.
11194         * soft-fp/op-common.h (_FP_CMP): Likewise.
11195         (_FP_CMP_EQ): Likewise.
11196         (_FP_CMP_UNORD): Likewise.
11197         (_FP_TO_INT): Likewise.
11198         (_FP_FROM_INT): Likewise.
11199         [!__FP_CLZ] (__FP_CLZ): Likewise.
11200         (_FP_DIV_HELP_imm): Likewise.
11201         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
11202         Likewise.
11203         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
11204         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
11205         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
11206         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
11207         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
11208         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
11209         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
11210         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
11211         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
11212         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
11213         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
11214         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
11215         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
11216         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
11217         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
11218         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
11219         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
11220         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
11221         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
11222         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
11223         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
11224         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
11225         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
11226         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
11227         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
11228         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
11229         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
11230         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
11231         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
11232         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
11233         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
11234         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
11235         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
11236         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
11237         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
11238         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
11239         (FP_UNPACK_RAW_SP): Likewise.
11240         (FP_PACK_RAW_S): Likewise.
11241         (FP_PACK_RAW_SP): Likewise.
11242         (FP_UNPACK_S): Likewise.
11243         (FP_UNPACK_SP): Likewise.
11244         (FP_UNPACK_SEMIRAW_S): Likewise.
11245         (FP_UNPACK_SEMIRAW_SP): Likewise.
11246         (FP_PACK_S): Likewise.
11247         (FP_PACK_SP): Likewise.
11248         (FP_PACK_SEMIRAW_S): Likewise.
11249         (FP_PACK_SEMIRAW_SP): Likewise.
11250         (_FP_SQRT_MEAT_S): Likewise.
11251         (FP_CMP_S): Likewise.
11252         (FP_CMP_EQ_S): Likewise.
11253         (FP_CMP_UNORD_S): Likewise.
11254         (FP_TO_INT_S): Likewise.
11255         (FP_FROM_INT_S): Likewise.
11257         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
11259         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
11260         (FP_EX_INVALID_IMZ): Likewise.
11261         (FP_EX_INVALID_IMZ_FMA): Likewise.
11262         (FP_EX_INVALID_ISI): Likewise.
11263         (FP_EX_INVALID_ZDZ): Likewise.
11264         (FP_EX_INVALID_IDI): Likewise.
11265         (FP_EX_INVALID_SQRT): Likewise.
11266         (FP_EX_INVALID_CVI): Likewise.
11267         (FP_EX_INVALID_VC): Likewise.
11268         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
11269         "invalid" exceptions.
11270         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
11271         (_FP_ADD_INTERNAL): Likewise.
11272         (_FP_MUL): Likewise.
11273         (_FP_FMA): Likewise.
11274         (_FP_DIV): Likewise.
11275         (_FP_CMP_CHECK_NAN): Likewise.
11276         (_FP_SQRT): Likewise.
11277         (_FP_TO_INT): Likewise.
11278         (FP_EXTEND): Likewise.
11280 2014-10-09  Allan McRae  <allan@archlinux.org>
11282         * po/fr.po: Update French translation from translation project.
11284 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
11286         [BZ #14132]
11287         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
11288         of INTDEF.
11289         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
11290         (__cxa_atexit): Use libc_hidden_proto.
11291         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
11293         [BZ #14132]
11294         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
11295         declaration.
11296         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
11297         [!_ISOMAC] (__iswspace_l_internal): Likewise.
11298         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
11299         [!_ISOMAC] (__iswctype_internal): Likewise.
11300         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
11301         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
11302         alias.
11303         (fcntl): Remove __fcntl_internal alias.
11304         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
11305         __connect_internal alias.
11306         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
11307         Likewise.
11309         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
11310         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
11311         FP_DENORM_ZERO.
11312         (_FP_CHECK_FLUSH_ZERO): New macro.
11313         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
11314         (_FP_CMP): Likewise.
11315         (_FP_CMP_EQ): Likewise.
11316         (_FP_TO_INT): Do not set inexact for subnormal arguments if
11317         FP_DENORM_ZERO.
11318         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
11319         (FP_TRUNC): Likewise.
11321         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
11322         treated as invalid conversion, not as normal exponent.
11324         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
11325         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
11326         (_FP_CMP_EQ): Likewise.
11327         (_FP_CMP_UNORD): Likewise.
11328         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
11329         (FP_CMP_EQ_D): Likewise.
11330         (FP_CMP_UNORD_D): Likewise.
11331         * soft-fp/extended.h (FP_CMP_E): Likewise.
11332         (FP_CMP_EQ_E): Likewise.
11333         (FP_CMP_UNORD_E): Likewise.
11334         * soft-fp/quad.h (FP_CMP_Q): Likewise.
11335         (FP_CMP_EQ_Q): Likewise.
11336         (FP_CMP_UNORD_Q): Likewise.
11337         * soft-fp/single.h (FP_CMP_S): Likewise.
11338         (FP_CMP_EQ_S): Likewise.
11339         (FP_CMP_UNORD_S): Likewise.
11340         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
11341         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
11342         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
11343         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
11344         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
11345         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
11346         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
11347         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
11348         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
11349         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
11350         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
11351         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
11352         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
11353         to FP_CMP_Q.
11354         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
11355         FP_CMP_Q.
11356         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
11357         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
11358         FP_CMP_EQ_Q.
11359         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
11360         FP_CMP_Q.
11361         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
11362         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
11363         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
11364         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
11365         FP_CMP_EQ_Q.
11366         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
11367         FP_CMP_Q.
11368         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
11369         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
11370         FP_CMP_EQ_Q.
11371         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
11372         FP_CMP_Q.
11373         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
11374         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
11375         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
11376         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
11377         FP_CMP_EQ_Q.
11379         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
11380         a subnormal result, set the underflow exception if trapping on
11381         underflow is enabled.
11382         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
11383         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
11384         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
11385         redefine to 0.
11386         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
11387         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11388         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11389         * soft-fp/extendxftf2.c (__extendxftf2): Use
11390         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
11392         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
11393         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
11394         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11395         FP_HANDLE_EXCEPTIONS.
11396         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
11397         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11398         FP_HANDLE_EXCEPTIONS.
11399         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
11400         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11401         FP_HANDLE_EXCEPTIONS.
11402         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
11403         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11404         FP_HANDLE_EXCEPTIONS.
11406 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
11408         [BZ #14132]
11409         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
11410         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
11411         use INTUSE.
11412         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
11413         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
11414         Remove alias.
11415         (__adjtimex): Define using libc_hidden_ver.
11416         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
11417         Remove declaration.
11418         (ntp_gettime): Call __adjtimex directly.
11419         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
11420         Remove declaration.
11421         (ntp_gettimex): Call __adjtimex directly.
11422         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
11423         __adjtimex_internal alias.
11425 2014-10-08  Roland McGrath  <roland@hack.frob.com>
11427         [BZ #17460]
11428         * nscd/nscd.c (more_help): Rewrite list of tables collection
11429         using xstrdup and asprintf.
11431         * nscd/nscd_conf.c: Remove local xstrdup declaration.
11433 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11434             Roland McGrath  <roland@hack.frob.com>
11436         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
11437         (do_lookup_unique): ... local function 'enter' here; update callers.
11439 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
11441         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
11442         compat_symbol calls on [SHARED].
11443         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
11444         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
11445         Remove.
11446         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11447         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
11448         (oldsetrlimit): Remove.
11449         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
11451         (lchown): New syscall entry.
11452         (oldsetrlimit): Remove.
11453         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11454         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
11455         (oldsetrlimit): Remove.
11456         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11458         [BZ #14138]
11459         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
11460         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
11461         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
11462         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
11463         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
11464         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
11465         (fchown): Likewise.
11466         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
11467         (fchown): Likewise.
11468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
11469         Likewise.
11471 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11473         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
11474         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
11475         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
11476         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
11477         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
11478         Likewise.
11479         (__old_sem_post): Likewise.
11481 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
11483         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
11484         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
11485         HAVE_CLOCK_GETTIME_VSYSCALL macros.
11486         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
11487         Use INLINE_VSYSCALL macro.
11488         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
11489         __vdso_clock_gettime.
11490         * sysdeps/unix/sysv/linux/tile/init-first.c
11491         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
11492         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
11493         __vdso_clock_gettime.
11495         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
11496         to set up frame more cleanly.
11498         * sysdeps/tile/memcmp.c: New file.
11500         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
11502         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
11503         * sysdeps/tile/tilegx/strcasestr.c: New file.
11504         * sysdeps/tile/tilegx/strnlen.c: New file.
11505         * sysdeps/tile/tilegx/strstr.c: New file.
11507         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
11509 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
11511         * nptl/tst-setuid3.c: Write errors to stdout.
11513 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11515         * elf/dl-deps.c
11516         (preload): New functions broken out of _dl_map_object_deps.
11517         (_dl_map_object_deps):  Remove a nested function. Update call sites.
11519 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
11521         [BZ #14138]
11522         * sysdeps/unix/sysv/linux/execve.c: Remove file.
11523         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
11525 2014-10-01  Steve Ellcey  <sellcey@mips.com>
11527         * sysdeps/mips/strcmp.S: New.
11529 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
11531         [BZ #14138]
11532         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
11533         (linkat): Likewise.
11534         (mkdirat): Likewise.
11535         (readlinkat): Likewise.
11536         (renameat): Likewise.
11537         (symlinkat): Likewise.
11538         (unlinkat): Likewise.
11539         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
11540         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
11541         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
11542         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
11543         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
11544         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
11545         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
11547 2014-09-30  Will Newton  <will.newton@linaro.org>
11549         * math/math.h: Define long double math functions if
11550         _LIBC_TEST is defined.
11551         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
11553         * localedata/Makefile: Move assignment to tests-special
11554         into an ifdef testing run-built-tests.
11555         * timezone/Makefile: Likewise.
11557 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
11559         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
11560         with $(BASH) not $(SHELL).
11562 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
11563             Matthew LeGendre  <legendre1@llnl.gov>
11565         [BZ #17411]
11566         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
11567         l_reloc_result.
11569 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11571         * stdio-common/printf_fp.c
11572         (hack_digit): New function, broken out of ...
11573         (__printf_fp): ... local function here.  Update call sites.
11574         hack_digit now takes an additional parameter that is a pointer
11575         to a struct of the referenced locals.  Those locals moved inside
11576         the struct and references updated.
11578 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
11580         * aclocal.m4: Require autoconf 2.69.
11581         * configure: Regenerated.
11582         * sysdeps/aarch64/configure: Likewise.
11583         * sysdeps/alpha/configure: Likewise.
11584         * sysdeps/arm/armv7/configure: Likewise.
11585         * sysdeps/arm/configure: Likewise.
11586         * sysdeps/ia64/configure: Likewise.
11587         * sysdeps/mach/configure: Likewise.
11588         * sysdeps/mips/configure: Likewise.
11589         * sysdeps/s390/configure: Likewise.
11590         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
11591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
11593         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
11594         file.
11595         * sysdeps/ia64/configure.ac: Likewise.
11597 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
11599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
11600         specify symbol version for ld.so.  Do not include entry for
11601         libpthread.
11602         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11603         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
11604         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11606         [BZ #14171]
11607         * Makeconfig [$(build-shared) = yes]
11608         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
11609         makefiles.
11610         [$(build-shared) = yes && $(soversions.mk-done) = t]
11611         ($(common-objpfx)gnu/lib-names.h): Remove rule.
11612         [$(build-shared) = yes && $(soversions.mk-done) = t]
11613         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
11614         to Makerules.
11615         [$(build-shared) = yes && $(soversions.mk-done) = t]
11616         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
11617         here.
11618         [$(build-shared) = yes && $(soversions.mk-done) = t]
11619         (common-generated): Don't append gnu/lib-names.h and
11620         gnu/lib-names.stmp here.
11621         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
11622         (lib-names-h-abi): New variable.
11623         [$(build-shared) = yes && $(soversions.mk-done) = t]
11624         (lib-names-stmp-abi): Likewise.
11625         [$(build-shared) = yes && $(soversions.mk-done) = t &&
11626         abi-variants] (before-compile): Append
11627         $(common-objpfx)$(lib-names-h-abi).
11628         [$(build-shared) = yes && $(soversions.mk-done) = t &&
11629         abi-variants] (common-generated): Append gnu/lib-names.h.
11630         [$(build-shared) = yes && $(soversions.mk-done) = t &&
11631         abi-variants] (install-others-nosubdir): Depend on
11632         $(inst_includedir)/$(lib-names-h-abi).
11633         [$(build-shared) = yes && $(soversions.mk-done) = t &&
11634         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
11635         [$(build-shared) = yes && $(soversions.mk-done) = t]
11636         ($(common-objpfx)$(lib-names-h-abi)): New rule.
11637         [$(build-shared) = yes && $(soversions.mk-done) = t]
11638         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
11639         [$(build-shared) = yes && $(soversions.mk-done) = t]
11640         (common-generated): Append $(lib-names-h-abi) and
11641         $(lib-names-stmp-abi).
11642         * scripts/lib-names.awk: Do not handle multi being set.
11643         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
11644         Remove variable.
11645         (abi-lp64_be-ld-soname): Likewise.
11646         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
11647         Likewise.
11648         (abi-hard-ld-soname): Likewise.
11649         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
11650         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
11651         Remove variable.
11652         (abi-o32_hard-ld-soname): Likewise.
11653         (abi-o32_soft_2008-ld-soname): Likewise.
11654         (abi-o32_hard_2008-ld-soname): Likewise.
11655         (abi-n32_soft-ld-soname): Likewise.
11656         (abi-n32_hard-ld-soname): Likewise.
11657         (abi-n32_soft_2008-ld-soname): Likewise.
11658         (abi-n32_hard_2008-ld-soname): Likewise.
11659         (abi-n64_soft-ld-soname): Likewise.
11660         (abi-n64_hard-ld-soname): Likewise.
11661         (abi-n64_soft_2008-ld-soname): Likewise.
11662         (abi-n64_hard_2008-ld-soname): Likewise.
11663         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
11664         Likewise.
11665         (abi-64-v2-ld-soname): Likewise.
11666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
11667         ld.so entries.
11668         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
11669         variable.
11670         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
11671         entry.
11672         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
11673         variable.
11674         (abi-64-ld-soname): Likewise.
11675         (abi-x32-ld-soname): Likewise.
11676         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
11677         entry.
11678         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11680 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
11682         [BZ #14138]
11683         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
11684         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
11685         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
11686         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
11687         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
11688         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
11689         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
11690         syscall entry for GLIBC_2.2 symbol version.
11691         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
11692         Likewise.
11693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
11694         (setrlimit): Likewise.
11695         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
11696         Likewise.
11698 2014-09-23  Will Newton  <will.newton@linaro.org>
11700         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
11701         _LINUX_ARM_SYSDEP_H include guard too.
11702         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
11703         define.
11705 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
11707         * sysdeps/unix/sysv/linux/eventfd.c:
11708         Make first argument unsigned.
11709         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
11710         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
11712 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
11714         * socket/recvmmsg.c (recvmmsg): Drop const argument.
11715         * socket/sys/socket.h: Likewise
11716         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
11718 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11720         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
11722 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
11724         * time/tst-ftime.c: New test.
11725         * time/Makefile (tests): Add tst-ftime.
11727 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
11729         * soft-fp/extended.h: Fix comment formatting.
11730         * soft-fp/op-1.h: Likewise.
11731         * soft-fp/op-2.h: Likewise.
11732         * soft-fp/op-4.h: Likewise.
11733         * soft-fp/op-8.h: Likewise.
11734         * soft-fp/op-common.h: Likewise.
11735         * soft-fp/soft-fp.h: Likewise.
11737         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
11739 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
11741         [BZ #6652]
11742         * Makeconfig (soversions-default-setname): Remove variable.
11743         ($(common-objpfx)soversions.i): Don't pass default_setname to
11744         soversions.awk.
11745         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
11746         oldest_abi to abi-versions.awk.
11747         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
11748         * config.make.in (oldest-abi): Remove variable.
11749         * configure.ac (--enable-oldest-abi): Remove configure option.
11750         * configure: Regenerated.
11751         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
11752         text.
11753         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
11754         * scripts/soversions.awk: Do not handle default_setname variable.
11755         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
11756         variable.
11757         * sysdeps/mach/hurd/configure: Regenerated.
11758         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
11759         variable.
11760         * sysdeps/unix/sysv/linux/configure: Regenerated.
11762 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11764         * elf/Makefile (CFLAGS-interp.c): Remove.
11765         ($(elf-objpfx)runtime-linker.h): Generate header with linker
11766         path string.
11767         * elf/interp.c: Include generated runtime-linker.h
11769         * Makerules (lib%.so): Don't include $(+interp) in
11770         prerequisites.
11771         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
11772         * dlfcn/eval.c: Remove file.
11774         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
11775         macros.
11777         [BZ #17266]
11778         * misc/sys/cdefs.h: Define __extern_always_inline for clang
11779         4.2 and newer.
11781         [BZ #17370]
11782         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
11784 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11785             Jakub Jelinek  <jakub@redhat.com>
11787         [BZ #17266]
11788         * libio/stdio.h: Check definition of __fortify_function
11789         instead of __extern_always_inline to include bits/stdio2.h.
11790         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
11791         check if __extern_always_inline is defined.
11792         [__USE_MISC || __USE_XOPEN]: Likewise.
11793         [__USE_ISOC99] Likewise.
11794         * misc/sys/cdefs.h (__fortify_function): Define only if
11795         __extern_always_inline is defined.
11796         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
11797         __extern_always_inline and __extern_inline only for g++-4.3
11798         and newer or a compatible gcc.
11800 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
11802         [BZ #17371]
11803         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11804         last change to handle zero prefix length.
11806 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11808         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
11809         _SC_REGEX_VERSION.
11811         * posix/getconf.c (vars): Add _POSIX_IPV6 and
11812         _POSIX_RAW_SOCKETS.
11814 2014-09-13  Allan McRae  <allan@archlinux.org>
11816         * po/ru.po: Update Russian translation from translation project.
11818 2014-09-12  Roland McGrath  <roland@hack.frob.com>
11820         * locale/programs/locale.c (show_locale_vars): Inline local function
11821         into its sole call site.  Clean up some style nits.
11822         (print_item): New function, broken out of ...
11823         (show_info): ... local function here.  Clean up style nits.
11825         * locale/programs/ld-ctype.c (set_one_default): New function, broken
11826         out of ...
11827         (set_class_defaults): ... local function set_default here.
11828         Define set_default as a macro locally to pass constant parameters.
11829         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
11830         rather than a shared local.
11832         * stdlib/rpmatch.c (try): New function, broken out of ...
11833         (rpmatch): ... local function here.  Also, prototypify definition.
11835 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
11837         * scripts/soversions.awk: Do not handle configuration names.
11838         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
11839         vendor and os variables to soversions.awk.
11840         * configure.ac: Do not modify gnu-* host_os.
11841         * configure: Regenerated
11842         * shlib-versions: Remove first column with configuration names.
11843         * nptl/shlib-versions: Likewise.
11844         * nptl_db/shlib-versions: Likewise.
11845         * sysdeps/hppa/shlib-versions: Likewise.
11846         * sysdeps/m68k/shlib-versions: Likewise.
11847         * sysdeps/mach/hurd/shlib-versions: Likewise.
11848         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
11849         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
11850         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
11851         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
11852         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
11853         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
11854         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
11855         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
11856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
11857         Likewise.
11858         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11859         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
11860         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
11861         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
11862         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
11863         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
11864         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
11865         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
11868         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
11869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
11870         Regenerated.
11871         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
11872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
11873         Condition symbol version definitions on [HAVE_ELFV2_ABI].
11875         * shlib-versions: Remove OS-specific entries.  Moved to files in
11876         sysdeps.
11877         * sysdeps/mach/hurd/shlib-versions: New file.
11878         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
11880         * nptl/shlib-versions: Remove architecture-specific entries.
11881         Moved to files in sysdeps.
11882         * shlib-versions: Likewise.
11883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
11884         file.
11885         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11886         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
11887         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
11888         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
11890         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
11891         (UDP_NO_CHECK6_RX): Likewise.
11893 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11895         * sysdeps/posix/sysconf.c (__sysconf): Spell
11896         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
11898 2014-08-12  Florian Weimer  <fweimer@redhat.com>
11900         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
11901         loading.
11902         * iconv/Versions (__gconv_transliterate): Export for use from
11903         gconv modules.
11904         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
11905         (struct __gconv_trans_data, __gconv_trans_fct,
11906         __gconv_trans_context_fct, __gconv_trans_query_fct,
11907         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
11908         definitions.
11909         (struct __gconv_step_data): Remove __trans member.
11910         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
11911         longer hidden.  Remove unused trans_data argument.
11912         * iconv/gconv_int.h (struct trans_struct): Remove definition.
11913         (__gconv_translit_find): Remove declaration.
11914         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
11915         prototype.
11916         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
11917         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
11918         trans_data argument.  Add hidden definition.
11919         (__gconv_translit_find): Remove.
11920         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
11921         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
11922         * iconv/skeleton.c: Remove transliteration initialization.
11923         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
11924         __gconv_step_data initialization.
11925         * libio/iofwide.c (__libio_translit_): Remove.
11926         (_IO_fwide): Adjust struct __gconv_step_data initialization.
11927         * wcsmbs/btowc.c (__btowc): Likewise.
11928         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11929         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11930         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
11931         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
11932         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
11933         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
11934         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
11935         * wcsmbs/wctob.c (wctob): Likewise.
11937 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11939         [BZ #16194]
11940         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
11941         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
11942         register usage.
11943         * sysdeps/x86/Makefile: Adjust.
11945 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11946             Roland McGrath  <roland@hack.frob.com>
11948         * locale/weight.h: Add include guard.
11949         (findidx): Make static rather than auto; take new parameters
11950         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
11951         * locale/weightwc.h: Likewise.
11952         * posix/fnmatch_loop.c
11953         (FCT): Change type of EXTRA from int32_t to wint_t.
11954         Don't include either header inside the function.
11955         Call FINDIDX rather than findidx, and pass new arguments.
11956         #undef FINDIDX at the end of the file.
11957         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
11958         FINDIDX before including fnmatch_loop.c for the non-wide version.
11959         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
11960         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
11961         for the wide version.
11962         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
11963         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
11964         Pass new arguments to findidx.
11965         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
11966         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
11967         Don't #include it inside the function.  Pass new arguments to findidx.
11968         * posix/regex_internal.h
11969         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
11970         (re_string_elem_size_at): Don't #include it inside the function.
11971         Pass new arguments to findidx.
11972         * string/strcoll_l.c: #include WEIGHT_H at top level.
11973         (get_next_seq): Don't #include it inside the function.
11974         Pass new arguments to findidx.
11975         (get_next_seq_nocache): Likewise.
11976         * string/strxfrm_l.c: #include WEIGHT_H at top level.
11977         (STRXFRM): Don't #include it inside the function.
11978         Pass new arguments to findidx.
11980 2014-09-11  Florian Weimer  <fweimer@redhat.com>
11982         [BZ #17344]
11983         * malloc/malloc.c (unlink): Turn asserts into a call to
11984         malloc_printerr.
11986 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
11988         [BZ #17370]
11989         * libio/wfileops (do_ftell_wide): Free OUT.
11991 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
11993         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
11995 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11997         [BZ #17363]
11998         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
11999         group if the current group is empty.
12001 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12003         * benchtests/bench-memset.c (test_main): Add more test from size
12004         from 32 to 512 bytes.
12005         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12006         Add POWER8 memset object.
12007         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12008         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
12009         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
12010         implementation.
12011         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
12012         Likewise.
12013         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
12014         multiarch POWER8 memset optimization.
12015         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
12016         POWER8 memset optimization.
12018         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12019         Remove bzero multiarch objects.
12020         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
12021         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
12022         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
12023         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
12024         Remove define.
12025         [__bzero]: Redefine to specific name.
12026         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
12027         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
12028         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
12029         define.
12030         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12031         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12033 2014-09-10  Florian Weimer  <fweimer@redhat.com>
12035         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
12036         warnings into errors.
12038         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
12039         __cxa_thread_atexit_impl prototype.
12041 2014-09-09  Steve Ellcey  <sellcey@mips.com>
12043         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
12044         Fix capitalization of error message.
12046 2014-09-09  Steve Ellcey  <sellcey@mips.com>
12048         * sysdeps/mips/preconfigure: Modify ABI tests.
12050 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
12052         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
12054 2014-09-07  Roland McGrath  <roland@hack.frob.com>
12055             Carlos O'Donell  <carlos@systemhalted.org>
12057         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
12058         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
12059         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
12060         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
12061         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
12062         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
12063         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
12064         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
12065         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
12066         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
12067         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
12068         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
12069         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
12070         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
12071         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
12072         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
12073         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
12074         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
12075         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
12076         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
12077         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
12078         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
12079         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
12080         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
12081         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
12082         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
12083         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
12084         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
12085         Deconditionalize the code that was previously under [RESET_PID].
12086         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
12087         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
12088         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
12089         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
12090         include sysdep.h.
12092 2014-09-08  Allan McRae  <allan@archlinux.org>
12094         * version.h (RELEASE): Set to "development".
12095         (VERSION): Set to "2.20.90"
12097 2014-09-07  Allan McRae  <allan@archlinux.org
12099         * version.h (RELEASE): Set to "stable".
12100         (VERSION): Set to "2.20"
12101         * include/features.h (__GLIBC_MINOR__): Set to 20.
12103         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
12104         Liebler.
12106         * po/ko.po: Update Korean translation from translation project.
12108 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
12110         [BZ #17354]
12111         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
12112         macro for handling signed relocations.
12114 2014-09-03  Florian Weimer  <fweimer@redhat.com>
12116         [BZ #17325]
12117         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
12118         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
12119         assert.
12120         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
12121         * iconvdata/ibm935.c (BODY): Likewise.
12122         * iconvdata/ibm937.c (BODY): Likewise.
12123         * iconvdata/ibm939.c (BODY): Likewise.
12124         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
12125         assert.
12126         * iconvdata/Makefile (iconv-test.out): Pass module list to test
12127         script.
12128         * iconvdata/run-iconv-test.sh: New test loop for checking for
12129         decoder crashers.
12131 2014-09-02  Khem Raj  <raj.khem@gmail.com>
12133         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
12134         libm_hidden_ver.
12136 2014-09-01  Allan McRae  <allan@archlinux.org>
12138         * po/eo.po: Update Esperanto translation from translation project.
12140         * po/ca.po: Update Catalan translation from translation project.
12142 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12144         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
12145         __proc_dostop call.
12147 2014-08-27  Mark Wielaard  <mjw@redhat.com>
12149         [BZ #17319]
12150         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
12151         to call set_thread_area instead of hand written asm.
12152         (__NR_set_thread_area): Removed define.
12153         (TLS_FLAG_WRITABLE): Likewise.
12154         (__ASSUME_SET_THREAD_AREA): Remove check.
12155         (TLS_EBX_ARG): Remove define.
12156         (TLS_LOAD_EBX): Likewise.
12158 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12160         Simplify atomicity of socket creation in bind.
12162         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
12163         looking up the name after linking the file.
12165 2014-08-27  Allan McRae  <allan@archlinux.org>
12167         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12169 2014-08-26  Florian Weimer  <fweimer@redhat.com>
12171         [BZ #17187]
12172         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
12173         trans_compare, open_translit, __gconv_translit_find):
12174         Remove module loading code.
12176 2014-08-26  Allan McRae  <allan@archlinux.org>
12178         * po/vi.po: Update Vietnamese translation from translation project.
12180         * po/uk.po: Update Ukrainian translation from translation project.
12182         * po/fr.po: Update French translation from translation project.
12184         * po/ru.po: Update Russian translation from translation project.
12186         * po/pl.po: Update Polish translation from translation project.
12188         * po/cs.po: Update Czech translation from translation project.
12190         * po/de.po: Update German translation from translation project.
12192         * po/bg.po: Update Bulgarian translation from translation project.
12194         * po/sv.po: Update Sweedish translation from translation project.
12196         * po/nl.po: Update Dutch translation from translation project.
12198         * po/es.po: Update Spanish translation from translation project.
12200 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12202         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
12204         * catgets/Makefile (CPPFLAGS-gencat): Remove.
12205         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
12206         (CPPFLAGS-iconvconfig): Likewise.
12207         * timezone/Makefile (CPPFLAGS-zic): Likewise.
12209         * include/libc-symbols.h: Remove unnecessary check for
12210         NOT_IN_libc.
12211         * nptl/pthreadP.h: Likewise.
12212         * sysdeps/aarch64/setjmp.S: Likewise.
12213         * sysdeps/alpha/setjmp.S: Likewise.
12214         * sysdeps/arm/sysdep.h: Likewise.
12215         * sysdeps/i386/setjmp.S: Likewise.
12216         * sysdeps/m68k/setjmp.c: Likewise.
12217         * sysdeps/posix/getcwd.c: Likewise.
12218         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12219         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
12220         * sysdeps/s390/s390-32/setjmp.S: Likewise.
12221         * sysdeps/s390/s390-64/setjmp.S: Likewise.
12222         * sysdeps/sh/sh3/setjmp.S: Likewise.
12223         * sysdeps/sh/sh4/setjmp.S: Likewise.
12224         * sysdeps/unix/alpha/sysdep.h: Likewise.
12225         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12226         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12227         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
12228         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12231         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12232         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12233         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12234         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12235         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12236         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12237         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12238         * sysdeps/x86_64/setjmp.S: Likewise.
12240 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
12242         [BZ #17263]
12243         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
12244         <stdint.h>.
12245         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
12246         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
12248 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
12250         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
12252         [BZ #17262]
12253         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
12254         and __x86_64__ when disabling x87 inline functions.
12256 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
12258         [BZ #17259]
12259         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
12260         asm statement with __cpuid_count.
12262 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
12264         * configure.ac: Change __ehdr_start code to dereference the struct.
12265         Run readelf on the output to look for relocations.
12266         * configure: Regenerated.
12268 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
12270         [BZ #17261]
12271         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
12272         value to 0.
12273         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
12275 2014-08-12  Roland McGrath  <roland@hack.frob.com>
12277         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
12279 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
12281         [BZ #16892]
12282         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
12283         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
12285 2014-08-12  Sean Anderson  <seanga2@gmail.com>
12287         * malloc/malloc.c: Fix typo in comment.
12289 2014-08-09  Allan McRae  <allan@archlinux.org>
12291         * Regenerate libc.po.
12293 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
12295         * intl/tst-gettext2.sh: Check every lang file for creation.
12297 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
12299         * sysdeps/aarch64/fpu/math_private.h
12300         (libc_feholdsetround_noex_aarch64_ctx): New function.
12302 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
12304         * sysdeps/arm/armv6/strcpy.S (strcpy):
12305         Fix performance issue in misaligned cases.
12307 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12309         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
12310         Move definition from termios.h.
12311         (struct termio): Likewise.
12312         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12313         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
12314         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
12315         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
12316         Likewise.
12317         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
12318         Move definition to ioctl-types.h
12319         (struct termio): Likewise.
12320         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12321         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
12322         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
12323         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
12324         Likewise.
12326 2014-08-05  Richard Henderson  <rth@redhat.com>
12328         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
12329         exceptions.
12330         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
12331         Add fraiseexcpt.
12332         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
12333         Use __feraiseexcept.
12334         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
12335         Protect libm symbols with IS_IN_libm.
12337         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
12339 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
12341         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
12343 2014-08-04  Will Newton  <will.newton@linaro.org>
12345         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
12346         file.
12348 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
12350         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
12351         variants for each function.
12353 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12355         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
12356         appended ...
12357         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
12358         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
12359         appended ...
12360         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
12361         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
12362         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
12363         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
12364         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
12365         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
12366         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
12367         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
12368         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
12369         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
12370         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
12371         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
12372         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
12373         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
12374         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
12375         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
12376         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
12377         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
12378         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
12379         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
12380         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
12381         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
12382         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
12383         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
12384         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
12385         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
12386         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
12387         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
12388         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
12389         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
12390         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
12391         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
12392         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
12393         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
12394         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
12395         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
12396         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
12397         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
12398         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
12399         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
12400         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
12401         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
12402         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
12403         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
12404         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
12405         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
12406         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
12407         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
12408         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
12409         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
12410         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
12411         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
12412         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
12413         Update #include.
12414         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
12415         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
12417 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12419         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
12420         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
12421         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
12422         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
12423         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
12424         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
12426 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12428         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
12429         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
12430         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12431         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
12433 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12435         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
12436         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
12437         (__libc_vfork): Define function under this name.
12438         (__vfork): Define as an alias.
12439         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
12440         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
12442 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12444         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
12445         that was previously under [RESET_PID].
12446         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
12448 2014-08-04  Andreas Schwab  <schwab@suse.de>
12450         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
12452 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
12454         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
12455         (main): Likewise.
12457 2014-08-01  Roland McGrath  <roland@hack.frob.com>
12459         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
12461 2014-08-01  Richard Henderon  <rth@redhat.com>
12463         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
12464         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
12465         typo in exact zero test.
12466         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12467         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12468         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12470 2014-08-01  Roland McGrath  <roland@hack.frob.com>
12472         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
12473         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
12474         * sysdeps/arm/sysdep.h: ... here.
12475         [!__ASSEMBLER__]: Include <stdint.h>.
12477 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
12479         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
12480         (HAVE_WCTYPE_H): Likewise.
12481         (HAVE_ISWCTYPE): Likewise.
12482         (ENABLE_NLS): Likewise.
12483         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
12484         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
12486         * posix/regex_internal.c: Check if DEBUG is defined and is
12487         set.
12489         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
12490         (HAVE_MBSRTOWCS): Likewise.
12491         * posix/fnmatch.c: Include string.h unconditionally.
12493 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
12495         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
12496         reversal.
12498 2014-07-31  Roland McGrath  <roland@hack.frob.com>
12500         * sysdeps/generic/safe-fatal.h: New file.
12501         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
12502         * nptl/forward.c: Include it.
12503         (__pthread_unwind): Use __safe_fatal as default action, rather
12504         than a bogus use of INTERNAL_SYSCALL that could never work.
12506         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
12507         * configure.ac (libc_cv_builtin_trap): New test.
12508         * configure: Regenerated.
12509         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
12510         (ABORT_INSTRUCTION): Define using __builtin_trap.
12512         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
12513         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
12514         * sysdeps/nptl/nptl-signals.h: New file.
12515         * nptl/pthreadP.h: Include <nptl-signals.h>.
12517 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
12519         * sysdeps/s390/s390-64/utf16-utf32-z9.c
12520         (ONE_DIRECTION): Define.
12521         * sysdeps/s390/s390-64/utf8-utf16-z9.c
12522         (ONE_DIRECTION): Define.
12523         * sysdeps/s390/s390-64/utf8-utf32-z9.c
12524         (ONE_DIRECTION): Define.
12526 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
12528         * sysdeps/s390/Makefile: Delete file.
12529         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
12530         * sysdeps/s390/__longjmp.c: Delete file.
12531         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
12532         Remove fields __flags and __reserved.
12533         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
12534         and add versioning.
12535         * sysdeps/s390/rtld-__longjmp.c: Delete file.
12536         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
12537         * sysdeps/s390/rtld-setjmp.S: Likewise.
12538         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
12539         * sysdeps/s390/s390-32/__longjmp.c: ... here.
12540         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
12541         * sysdeps/s390/s390-32/setjmp.S: ... here.
12542         Add versioning.
12543         (__sigsetjmp): Remove setting __flags field.
12544         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
12545         * sysdeps/s390/s390-64/__longjmp.c: ... here.
12546         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
12547         * sysdeps/s390/s390-64/setjmp.S: ... here.
12548         Add versioning.
12549         (__sigsetjmp): Remove setting __flags field.
12550         * sysdeps/s390/setjmp.S: Delete file.
12551         * sysdeps/s390/sigjmp.c: Likewise.
12552         * sysdeps/s390/v1-longjmp.c: Likewise.
12553         * sysdeps/s390/v1-setjmp.h: Likewise.
12554         * sysdeps/s390/v1-sigjmp.c: Likewise.
12555         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
12556         Remove v1-longjmp_chk.
12557         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
12558         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
12559         Include debug/longjmp_chk.c and add versioning.
12560         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
12561         Include nptl/pt-longjmp.c and add versioning.
12562         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
12563         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
12564         Include __longjmp.c.
12565         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12566         Move to ...
12567         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
12568         (__getcontext): Remove setting __flags field.
12569         Add versioning.
12570         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12571         Don't restore upper high grps.
12572         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
12573         Likewise.
12574         (__swapcontext): Remove setting uc_flags field.
12575         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
12576         Delete file.
12577         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12578         Include __longjmp.c.
12579         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12580         Move to ...
12581         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
12582         (__getcontext): Remove setting __flags field.
12583         Add versioning.
12584         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
12585         (__swapcontext): Remove setting uc_flags field.
12586         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
12587         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
12588         Remove fields uc_high_gprs and __reserved.
12589         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
12590         New file with reverted content.
12591         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
12592         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
12593         Regenerated.
12594         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
12595         Regenerated.
12597 2014-07-31  Andreas Schwab  <schwab@suse.de>
12599         * config.h.in (HAVE_IFUNC): Define to 0.
12600         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
12601         definedness.
12603 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
12605         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12606         memmove-avx-unaligned, memcpy-avx-unaligned and
12607         mempcpy-avx-unaligned.
12608         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12609         Add tests for AVX memcpy functions.
12610         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
12611         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
12612         memcpy_chk.
12613         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
12614         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
12615         memmove_chk.
12616         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
12617         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
12618         mempcpy_chk.
12619         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
12620         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
12621         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
12623 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12625         [BZ #17213]
12626         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
12627         powerpc64le.
12629 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
12631         [BZ #16839]
12632         * manual/llio.texi: Add section about open file description locks.
12633         * manual/examples/ofdlocks.c: Example of open file description
12634         lock usage.
12635         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
12636         F_OFD_SETLK, and F_OFD_SETLKW.
12638 2014-07-23  Allan McRae  <allan@archlinux.org>
12640         * po/es.po: Update Spanish translation from translation project.
12642 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
12644         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
12646 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
12648         [BZ #17078]
12649         * sysdeps/arm/dl-machine.h (elf_machine_rela)
12650         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
12651         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
12653 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
12655         [BZ #17088]
12656         * math/fesetenv.c (__fesetenv)
12657         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
12658         * math/feupdateenv.c (__feupdateenv)
12659         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
12661         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
12662         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12663         (__ASSUME_SOCKETCALL): Do not define.
12665         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
12666         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
12667         (__ASSUME_SOCKETCALL): Do not define.
12668         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
12669         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
12670         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12671         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
12672         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12673         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
12674         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12675         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12677         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
12678         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
12679         (__ASSUME_SOCKETCALL): Do not define.
12680         (__ASSUME_IPC64): Define unconditionally.
12681         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
12682         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12683         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
12684         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12685         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
12686         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12687         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
12688         Likewise.
12690         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
12691         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
12692         (__ASSUME_SOCKETCALL): Do not define.
12693         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
12694         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12695         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12696         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12697         (__ASSUME_REQUEUE_PI): Define unconditionally.
12698         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
12699         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
12700         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12701         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
12702         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12703         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12705         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
12706         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
12707         (__ASSUME_SOCKETCALL): Do not define.
12708         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
12709         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12710         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12711         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
12712         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12713         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12715         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
12716         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
12717         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12718         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
12719         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12720         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
12721         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12722         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
12723         (__ASSUME_GETCPU_SYSCALL): Likewise.
12725         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
12726         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
12727         cases for individual architectures.
12728         * sysdeps/gnu/configure: Regenerated.
12729         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
12730         LIBC_SLIBDIR_RTLDDIR.
12731         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
12732         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
12733         LIBC_SLIBDIR_RTLDDIR.
12734         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
12735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
12736         LIBC_SLIBDIR_RTLDDIR.
12737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
12738         Regenerated.
12739         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
12740         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
12741         file.
12742         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
12743         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
12744         file.
12745         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
12746         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
12747         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
12748         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
12750         * sysdeps/aarch64/shlib-versions: Move to ...
12751         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
12752         * sysdeps/alpha/shlib-versions: Move to ...
12753         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
12754         * sysdeps/arm/shlib-versions: Move to ...
12755         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
12756         * sysdeps/hppa/shlib-versions: Move all contents except for
12757         libgcc_s entry to ...
12758         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
12759         entry from ...
12760         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
12761         * sysdeps/ia64/shlib-versions: Move to ...
12762         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
12763         entry from ...
12764         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
12765         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
12766         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
12767         * sysdeps/microblaze/shlib-versions: Move to ...
12768         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
12769         * sysdeps/mips/shlib-versions: Move to ...
12770         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
12771         entry from ...
12772         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
12773         * sysdeps/tile/shlib-versions: Move to ...
12774         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
12775         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
12776         from ...
12777         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
12778         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
12779         entry from ...
12780         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
12782 2014-07-17  Will Newton  <will.newton@linaro.org>
12784         * sysdeps/arm/bits/atomic.h
12785         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
12786         (__arch_compare_and_exchange_bool_16_int): Likewise.
12787         (__arch_compare_and_exchange_bool_64_int): Likewise.
12789         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
12790         into an #else block.
12792 2014-07-16  Roland McGrath  <roland@hack.frob.com>
12794         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
12795         just Linux configurations.  Test empirically that the compiler sets
12796         __ARM_EABI__, rather than using the tuple to decide.
12797         * sysdeps/arm/preconfigure: Regenerated.
12798         * sysdeps/unix/sysv/linux/arm/configure: File removed.
12799         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
12800         contents appended ...
12801         * sysdeps/arm/configure.ac: ... here.
12802         * sysdeps/arm/configure: Regenerated.
12804 2014-07-15  Roland McGrath  <roland@hack.frob.com>
12806         * nptl/pthread_kill.c: New file.
12807         * nptl/pthread_sigmask.c: New file.
12808         * nptl/pthread_sigqueue.c: New file.
12810         * sysdeps/nptl/lowlevellock.h: New file.
12811         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
12812         * sysdeps/nptl/lowlevellock-futex.h: New file.
12814         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
12815         Remove dead declarations.
12817 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
12819         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
12820         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
12821         config-cflags-avx2.
12822         * sysdeps/x86_64/configure.ac: Likewise.
12823         * sysdeps/i386/configure: Regenerated.
12824         * sysdeps/x86_64/configure: Likewise.
12825         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12826         memset-avx2 only if config-cflags-avx2 is yes.
12827         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12828         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
12829         defined.
12830         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
12831         only if HAVE_AVX2_SUPPORT is defined.
12832         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12834 2014-07-14  Alan Modra  <amodra@gmail.com>
12836         [BZ #17153]
12837         * elf/elf.h (DT_PPC64_NUM): Correct value.
12838         * NEWS: Add to fixed bug list.
12840 2014-07-13  Jim Meyering  <meyering@fb.com>
12842         [BZ 17150]
12843         regex: don't deref NULL upon heap allocation failure
12844         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
12845         failure in one more place.
12846         To trigger the segfault, configure grep -with-included-regex,
12847         build it, and run these commands:
12848         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
12850 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
12852         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
12854 2014-07-11  Richard Henderson  <rth@redhat.com>
12856         * sysdeps/aarch64/libm-test-ulps: Update.
12858 2014-07-10  Florian Weimer  <fweimer@redhat.com>
12860         [BZ #17135]
12861         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
12862         * nptl/allocatestack.c (__nptl_setxid_error): New function.
12863         (__nptl_setxid): Initialize error member.  Call
12864         __nptl_setxid_error.
12865         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
12866         * nptl/descr.h (struct xid_command): Add error member.
12867         * nptl/tst-setuid3.c: New file.
12868         * nptl/Makefile (tests): Add it.
12870 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12872         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
12873         New define.
12874         (__lll_trylock): Use __lll_base_trylock.
12875         (__lll_cond_trylock): Likewise.
12877 2014-07-10  Roland McGrath  <roland@hack.frob.com>
12879         * nptl/pthread_create.c (start_thread): Use atomic_or and
12880         lll_futex_wake directly rather than lll_robust_dead.
12881         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
12882         (lll_robust_dead): Macro removed.
12883         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
12884         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
12885         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
12886         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12887         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12888         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
12889         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
12890         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12891         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
12892         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12893         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12894         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12895         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12896         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12897         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12899         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
12900         Use atomic_compare_and_exchange_val_acq directly rather than
12901         lll_robust_trylock.
12902         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
12903         (__lll_robust_trylock, lll_robust_trylock): Removed.
12904         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
12905         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
12906         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12907         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12908         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
12909         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
12910         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12911         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
12912         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12913         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12914         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12915         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12916         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12917         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12919 2014-07-02  Florian Weimer  <fweimer@redhat.com>
12921         * manual/locale.texi (Locale Names): New section documenting
12922         locale name syntax.  Adjust menu and node chaining accordingly.
12923         (Choosing Locale): Reference Locale Names, Locale Categories.
12924         Mention setting LC_ALL=C.  Reflect that name syntax is now
12925         documented.
12926         (Locale Categories): New section title.  Reference Locale Names.
12927         LC_ALL is an environment variable, but not a category.
12928         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
12929         description, now in Locale Name.  Reference that section.  Locale
12930         name syntax is now documented.
12932 2014-07-02  Florian Weimer  <fweimer@redhat.com>
12934         [BZ #17137]
12935         * locale/findlocale.c (name_present, valid_locale_name): New
12936         functions.
12937         (_nl_find_locale): Use the loc_name variable to store name
12938         candidates.  Call name_present and valid_locale_name to check and
12939         validate locale names.  Return an error if the locale is invalid.
12941 2014-07-02  Florian Weimer  <fweimer@redhat.com>
12943         * locale/setlocale.c (setlocale): Use strdup for allocating
12944         composite name copy.
12946 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12948         Sync up with gnulib.
12949         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
12950         [!_LIBC && ENABLE_NLS]: Include gettext.h.
12951         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
12952         and _GL_ARG_NONNULL.
12953         [USE_UNLOCKED_IO]: Include unlocked-io.h.
12954         [!_LIBC]: Include code for Windows and Cygwin.
12955         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
12956         Include prototype for int strerror_r.
12957         [!_LIBC] (is_open): New function.
12958         (flush_stdout): New function.
12959         (print_errno_message): Use it.
12960         (error): Likewise.
12961         (error_at_line): Likewise.
12962         (error_tail) Add function attribute macros.  Use
12963         __builtin_expect.
12965         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
12967         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
12969         * io/ftw.c: Include sys/param.h unconditionally.
12971         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
12973         [BZ #17125]
12974         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
12975         libc_freeres_ptr.
12976         (freecache): New function to free CACHE on exit.
12978         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
12979         initialization.
12981 2014-07-09  David S. Miller  <davem@davemloft.net>
12983         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12985         * sysdeps/sparc/nptl/internaltypes.h: Delete.
12986         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
12987         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
12988         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
12989         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
12990         * sysdeps/sparc/nptl/sem_init.c: Likewise.
12991         * sysdeps/sparc/nptl/sem_post.c: Likewise.
12992         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
12993         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
12994         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
12995         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
12996         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
12997         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
12999 2014-07-09  Andreas Schwab  <schwab@suse.de>
13001         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
13002         output.
13003         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
13004         (do_test): Likewise.
13006         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13008 2014-07-09  Will Newton  <will.newton@linaro.org>
13010         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
13011         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
13012         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
13013         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
13014         * sysdeps/hppa/start.S (_start): Likewise.
13016 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
13018         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
13020         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
13021         defined.
13023 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
13025         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
13026         after checking that it is non-NULL.
13028         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
13030 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13032         * sysdeps/powerpc/memmove.c: Remove file.
13033         * sysdeps/powerpc/powerpc32/power4/memcopy.h
13034         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
13035         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
13036         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
13037         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
13038         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
13039         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
13040         string memmove instead of removed powerpc one.
13042         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13043         [weak_alias]: Fix compiler warning due trailing data.
13044         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
13045         [weak_alias]: Likewise.
13046         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
13047         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
13049         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13050         (__libc_ifunc_impl_list): Add memmove functions.
13052 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
13054         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
13055         Remove code.
13056         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
13057         Likewise
13058         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
13059         Likewise
13060         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
13061         Likewise
13062         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
13063         Likewise
13064         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
13065         Likewise
13066         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
13067         Likewise
13068         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
13069         Likewise
13070         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
13071         Likewise
13072         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
13073         Likewise
13074         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
13075         Likewise
13076         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
13077         Likewise
13078         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
13079         Likewise
13080         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
13081         Likewise
13082         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
13083         Likewise
13084         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
13085         Likewise
13086         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
13087         Likewise
13089 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13091         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
13092         to avoid alignment traps in non-cacheable memory.
13093         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13095         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
13096         multiarch objects.
13097         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
13098         file: multiarch power7 memmove.
13099         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
13100         multiarch default memmove.
13101         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
13102         multiarch memove for powerpc32/power4.
13104         * string/bcopy.c: Use full path to include memmove.c.
13105         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
13106         multiarch objects.
13107         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
13108         bcopy for powerpc64.
13109         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
13110         bcopy for powerpc64.
13111         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
13112         and memmove implementations.
13113         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
13114         optimized multiarch memmove for POWER7/powerpc64.
13115         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
13116         default multiarch memmove for powerpc64.
13117         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
13118         multiarch for powerpc64.
13119         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
13120         for POWER7/powerpc64.
13121         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
13122         memmove for POWER7/powerpc64.
13124         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
13125         glibc default one.
13127         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
13128         __ELF_NATIVE_CLASS equal to 64.
13130 2014-07-07  Roland McGrath  <roland@hack.frob.com>
13132         * sysdeps/nptl/lowlevellock.h: File removed.
13134         * NEWS: NPTL is no longer an add-on!
13135         * nptl/internaltypes.h: Moved ...
13136         * sysdeps/nptl/internaltypes.h: ... here.
13137         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
13138         * sysdeps/nptl/fork.c: Likewise.
13139         * sysdeps/nptl/gai_misc.h: Likewise.
13140         * sysdeps/nptl/librt-cancellation.c: Likewise.
13141         * sysdeps/nptl/jmp-unwind.c: Likewise.
13142         * sysdeps/nptl/setxid.h: Likewise.
13143         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
13144         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
13145         * sysdeps/unix/sysv/linux/arm/Implies: New file.
13146         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
13147         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
13148         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
13149         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
13150         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
13151         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
13152         * sysdeps/unix/sysv/linux/mips/Implies: New file.
13153         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
13154         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
13155         * sysdeps/unix/sysv/linux/sh/Implies: New file.
13156         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
13157         * sysdeps/unix/sysv/linux/tile/Implies: New file.
13158         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
13159         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
13160         * nptl/Makeconfig: Moved ...
13161         * sysdeps/nptl/Makeconfig: ... here.
13162         * nptl/configure: File removed.
13163         * nptl/ANNOUNCE: File removed.
13164         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
13165         * sysdeps/unix/sysv/linux/configure: Regenerated.
13167         * nptl/Makefile (routines): Add libc_pthread_init,
13168         libc_multiple_threads, register-atfork and unregister-atfork.
13169         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
13170         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
13171         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
13172         pthread-pi-defines.sym, structsem.sym.
13173         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
13174         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
13175         [$(subdir) = nptl] (tests): Add tst-setgetname.
13176         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
13177         * sysdeps/unix/sysv/linux/sigaction.c: Just include
13178         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
13179         [!LIBC_SIGACTION]: Remove aliases.
13180         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
13181         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13182         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13183         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
13184         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13185         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
13186         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13187         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13188         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13189         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
13190         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
13191         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
13192         __libc_allocate_rtsig_private.
13193         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
13194         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
13195         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
13196         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
13197         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
13198         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
13199         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
13200         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
13201         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
13202         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
13203         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
13204         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
13205         * nptl/internaltypes.h: ... here.
13206         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
13207         * sysdeps/nptl/jmp-unwind.c: ... here.
13208         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
13209         * nptl/libc-lowlevellock.c: ... here.
13210         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
13211         * nptl/libc_multiple_threads.c: ... here.
13212         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
13213         * nptl/libc_pthread_init.c: ... here.
13214         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
13215         * nptl/lowlevelbarrier.sym: ... here.
13216         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
13217         * nptl/lowlevelcond.sym: ... here.
13218         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
13219         * nptl/lowlevellock.c: ... here.
13220         * nptl/lowlevellock.h: Moved ...
13221         * sysdeps/nptl/lowlevellock.h: ... here.
13222         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
13223         * nptl/lowlevelrobustlock.c: ... here.
13224         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
13225         * nptl/lowlevelrobustlock.sym: ... here.
13226         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
13227         * nptl/lowlevelrwlock.sym: ... here.
13228         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
13229         * nptl/pt-fork.c: ... here.
13230         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
13231         * nptl/pthread-pi-defines.sym: ... here.
13232         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
13233         * nptl/pthread_attr_getaffinity.c: ... here.
13234         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
13235         * nptl/pthread_attr_setaffinity.c: ... here.
13236         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
13237         * nptl/pthread_mutex_cond_lock.c: ... here.
13238         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13239         Update #include.
13240         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
13241         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
13242         * nptl/pthread_once.c: ... here, replacing old file.
13243         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
13244         * nptl/pthread_yield.c: ... here.
13245         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
13246         * nptl/register-atfork.c: ... here.
13247         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
13248         * nptl/sem_post.c: ... here.
13249         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
13250         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
13251         * nptl/sem_timedwait.c: ... here.
13252         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
13253         * nptl/sem_trywait.c: ... here.
13254         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
13255         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
13256         * nptl/sem_wait.c: ... here.
13257         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
13258         * nptl/structsem.sym: ... here.
13259         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
13260         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
13261         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
13262         * nptl/unregister-atfork.c: ... here.
13263         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
13264         * nptl/unwindbuf.sym: ... here.
13265         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
13266         * sysdeps/nptl/fork.c: ... here.
13267         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
13268         * sysdeps/nptl/fork.h: ... here.
13269         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
13270         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
13271         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
13272         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
13273         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
13274         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
13275         * sysdeps/unix/sysv/linux/getpid.c: ... here.
13276         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
13277         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
13278         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
13279         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
13280         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
13281         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
13282         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
13283         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
13284         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
13285         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
13286         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
13287         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
13288         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
13289         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
13290         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
13291         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
13292         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
13293         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
13294         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
13295         * sysdeps/unix/sysv/linux/raise.c: ... here.
13296         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
13297         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
13298         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
13299         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
13300         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
13301         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
13302         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
13303         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
13304         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
13305         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
13306         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
13307         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
13308         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
13309         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
13310         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
13312 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13314         * sysdeps/generic/memcopy.h: Add comment for
13315         MEMCPY_OK_FOR_FWD_MEMMOVE.
13317 2014-07-04  Will Newton  <will.newton@linaro.org>
13319         * string/memchr.c: Merge from gnulib.
13320         [_LIBC]: Remove conditionals.
13321         (__ptr_t): Remove define.
13322         (LONG_MAX_32_BITS): Likewise.
13323         (LONG_MAX): Likewise.
13324         (MEMCHR): Use ANSI prototype and optimize algorithm.
13326         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
13328 2014-07-03  Roland McGrath  <roland@hack.frob.com>
13330         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
13331         (lll_futex_timed_wait_bitset): Fix syscall argument count.
13333         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
13334         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
13335         in a bare environment with no <stdlib.h> installed.
13336         * sysdeps/nptl/configure: Regenerated.
13338         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
13340         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
13341         AC_EGREP_CPP for kernel header checks, so they only succeed if
13342         including <linux/version.h> actually works right.
13343         * sysdeps/unix/sysv/linux/configure: Regenerated.
13345         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
13346         value so it's not diagnosed as unused.
13348         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
13349         thing) with "ifeq ($(subdir),rt)".
13351 2014-07-03  Richard Henderson  <rth@redhat.com>
13353         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
13354         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
13355         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
13357         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
13358         (math_force_eval): New.
13360         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
13361         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
13363         * sysdeps/alpha/fpu/s_round.c: Remove file.
13364         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
13366         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
13367         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
13368         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
13369         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
13370         (_dl_start, print_statistics): Likewise.
13371         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
13372         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
13374         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13375         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13376         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13377         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13378         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13379         (HP_SMALL_TIMING_AVAIL): Define.
13380         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13381         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13382         (HP_SMALL_TIMING_AVAIL): Define.
13383         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13384         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13386         * sysdeps/aarch64/hp-timing.h: New file.
13388         * sysdeps/generic/hp-timing.h: Remove dead comment.
13389         * sysdeps/generic/hp-timing-common.h: New file.
13390         * sysdeps/alpha/hp-timing.h: Include it.
13391         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
13392         * sysdeps/i386/i686/hp-timing.h: Likewise.
13393         * sysdeps/ia64/hp-timing.h: Likewise.
13394         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13395         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13396         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13397         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13398         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
13399         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
13400         (hp_timing_t): New.
13402         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
13403         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
13404         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
13405         * elf/rtld.c (_dl_start_final): Likewise.
13406         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
13407         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13408         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13409         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13410         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13411         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13412         (HP_TIMING_DIFF_INIT): Remove.
13413         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13414         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13415         (HP_TIMING_DIFF_INIT): Remove.
13416         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13417         * sysdeps/i386/i686/hp-timing.c: Remove file.
13418         * sysdeps/x86_64/hp-timing.c: Remove file.
13419         * sysdeps/ia64/hp-timing.c: Remove file.
13420         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
13421         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
13422         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
13423         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
13425         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
13426         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
13427         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
13428         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13429         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13430         (HP_TIMING_ACCUM): Remove.
13431         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13432         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
13433         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13435         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
13436         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
13437         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
13438         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
13439         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
13440         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13441         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
13442         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13444         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
13446 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
13448         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
13450 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13452         Sync up with gettext.
13453         * intl/loadmsgcat.c: Define O_BINARY if not defined.
13454         [_MSC_VER]: Include malloc.h
13455         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
13456         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
13457         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
13458         TEMP_FAILURE_RETRY.  Cast return of alloca.
13459         [!_LIBC] Call gl_rwlock_init.
13460         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
13462 2014-07-02  Roland McGrath  <roland@hack.frob.com>
13464         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
13465         before checking its value.
13467 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13469         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
13471         * debug/memcpy_chk.c: Don't include pagecopy.h.
13472         * debug/mempcpy_chk.c: Likewise.
13473         * string/memcpy.c: Likewise.
13474         * string/memmove.c: Likewise.
13475         * sysdeps/powerpc/memmove.c: Likewise.
13476         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
13477         definition of PAGE_COPY_FWD_MAYBE here...
13478         * sysdeps/generic/pagecopy.h: ... from here.
13479         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
13481 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13482             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13484         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
13485         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
13486         optimizations.
13487         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13488         (__libc_ifunc_impl_list): Likewise.
13489         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
13490         multiarch strcat for PPC64.
13491         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
13492         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
13494 2014-07-02  Roland McGrath  <roland@hack.frob.com>
13496         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
13498 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13500         * intl/loadmsgcat.c: Remove declaration of
13501         get_sysdep_segment_value.
13502         (get_sysdep_segment_value): Use ISO C style.
13503         (_nl_load_domain): Use ISO C style.  Get rid of redundant
13504         semicolon.  Fix typo and formatting in comment.
13505         (_nl_unload_domain): Use ISO C style.
13507         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
13509 2014-07-02  Will Newton  <will.newton@linaro.org>
13511         * malloc/obstack.c: Merge from gnulib master.
13512         [HAVE_CONFIG_H]: Remove conditional code.
13513         [!_LIBC]: Include config.h.
13514         [!ELIDE_CODE]: Don't include inttypes.h, include
13515         stdint.h unconditionally.
13516         (print_and_abort): Mark as _Noreturn.
13517         (_obstack_allocated_p): Mark as __attribute_pure__.
13518         (obstack_free): Rename to __obstack_free.
13519         [!__attribute__]: Remove conditional code.
13520         * malloc/obstack.h: Merge from gnulib master.
13521         [__cplusplus]: Move conditional down.
13522         [!__attribute_pure__]: Define __attribute_pure__ here
13523         if it is not already defined.
13524         (_obstack_memory_used): Mark as __attribute_pure__.
13525         [!__obstack_free]: Define as obstack_free.
13526         [__GNUC__]: Remove check for ancient NeXT gcc.
13528 2014-07-02  Will Newton  <will.newton@linaro.org>
13529             Paul Eggert  <eggert@cs.ucla.edu>
13531         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
13533 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13535         * resolv/gethnamaddr.c: Add comment warning that the file is
13536         not maintained.
13538 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
13540         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
13541         entries.
13543         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
13544         entry for aio_cancel and aio_cancel64.
13545         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
13546         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
13547         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
13548         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
13549         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
13550         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
13551         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
13552         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
13553         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
13554         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
13555         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
13556         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
13557         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
13559 2014-07-01  Roland McGrath  <roland@hack.frob.com>
13561         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
13562         * nptl/pthread_mutex_lock.c: Likewise.
13563         * nptl/pthread_mutex_timedlock.c: Likewise.
13564         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
13566 2014-07-01  Richard henderson  <rth@redhat.com>
13568         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
13569         (__isnan, __isnanl): Remove.
13570         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
13572         * sysdeps/alpha/fpu/libm-test-ulps: Update.
13574 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
13576         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13578 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
13580         * resolv/nss_dns/dns-host.c (getanswer_r)
13581         [MULTI_PTRS_ARE_ALIASES]: Remove code.
13583 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
13585         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13586         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
13587         undefine.
13588         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
13589         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
13591 2014-07-01  Roland McGrath <roland@hack.frob.com>
13593         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
13594         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
13596         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
13597         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
13599         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
13600         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
13601         ... here.
13602         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
13603         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
13605         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
13606         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
13607         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
13608         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
13610         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
13611         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
13612         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
13613         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
13614         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
13615         Moved ...
13616         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
13617         ... here.
13618         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
13619         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
13620         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
13621         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
13622         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
13623         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
13624         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
13625         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
13626         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
13627         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
13628         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
13629         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
13630         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
13631         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
13632         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
13633         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
13634         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
13635         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
13636         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
13637         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
13638         ... here.
13639         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
13640         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
13641         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
13642         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
13643         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
13644         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
13645         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
13646         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
13648 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
13650         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
13651         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
13652         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
13653         Add sysdep.
13655 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13657         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13659 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
13661         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13662         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13664         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13666         * sysdeps/arm/libm-test-ulps: Regenerated.
13668 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
13669             Roland McGrath <roland@hack.frob.com>
13671         * test-skeleton.c (signal_handler): Kill the whole process group
13672         before killing the child individually.
13673         (main): Report any failure on `setpgid'.
13675 2014-06-30  Roland McGrath  <roland@hack.frob.com>
13677         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
13678         from _TLS_H to _ARM_NPTL_TLS_H.
13679         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
13680         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
13682 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
13684         [BZ #16539]
13685         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
13686         (__expm1l): Return argument unchanged when small but not
13687         subnormal.
13689         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
13690         include macro name.
13691         (_FP_UNPACK_RAW_1_P): Likewise.
13692         (_FP_PACK_RAW_1): Likewise.
13693         (_FP_PACK_RAW_1_P): Likewise.
13694         (_FP_MUL_MEAT_1_wide): Likewise.
13695         (_FP_MUL_MEAT_DW_1_hard): Likewise.
13696         (_FP_MUL_MEAT_1_hard): Likewise.
13697         (_FP_DIV_MEAT_1_imm): Likewise.
13698         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
13699         (_FP_DIV_MEAT_1_udiv): Likewise.
13700         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
13701         (_FP_UNPACK_RAW_2): Likewise.
13702         (_FP_UNPACK_RAW_2_P): Likewise.
13703         (_FP_PACK_RAW_2): Likewise.
13704         (_FP_PACK_RAW_2_P): Likewise.
13705         (_FP_MUL_MEAT_DW_2_wide): Likewise.
13706         (_FP_MUL_MEAT_2_wide): Likewise.
13707         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
13708         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
13709         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
13710         (_FP_MUL_MEAT_2_gmp): Likewise.
13711         (_FP_DIV_MEAT_2_udiv): Likewise.
13712         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
13713         (_FP_FRAC_SRL_4): Likewise.
13714         (_FP_FRAC_SRST_4): Likewise.
13715         (_FP_FRAC_SRS_4): Likewise.
13716         (_FP_UNPACK_RAW_4): Likewise.
13717         (_FP_UNPACK_RAW_4_P): Likewise.
13718         (_FP_PACK_RAW_4): Likewise.
13719         (_FP_PACK_RAW_4_P): Likewise.
13720         (_FP_MUL_MEAT_DW_4_wide): Likewise.
13721         (_FP_MUL_MEAT_4_wide): Likewise.
13722         (_FP_MUL_MEAT_4_gmp): Likewise.
13723         (umul_ppppmnnn): Likewise.
13724         (_FP_DIV_MEAT_4_udiv): Likewise.
13725         (__FP_FRAC_ADD_4): Likewise.
13726         (__FP_FRAC_SUB_3): Likewise.
13727         (__FP_FRAC_SUB_4): Likewise.
13728         (__FP_FRAC_DEC_3): Likewise.
13729         (__FP_FRAC_DEC_4): Likewise.
13730         (__FP_FRAC_ADDI_4): Likewise.
13731         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
13732         (_FP_FRAC_SRL_8): Likewise.
13733         (_FP_FRAC_SRS_8): Likewise.
13735         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
13736         include macro name.
13737         (FP_UNPACK_RAW_EP): Likewise.
13738         (FP_PACK_RAW_E): Likewise.
13739         (FP_PACK_RAW_EP): Likewise.
13740         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
13741         (_FP_ISSIGNAN): Likewise.
13742         (_FP_ADD_INTERNAL): Likewise.
13743         (_FP_FMA): Likewise.
13744         (_FP_CMP): Likewise.
13745         (_FP_SQRT): Likewise.
13746         (_FP_TO_INT): Likewise.
13747         (_FP_FROM_INT): Likewise.
13748         (FP_EXTEND): Likewise.
13749         (_FP_DIV_MEAT_N_loop): Likewise.
13751 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
13753         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
13754         throughout.
13756 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
13758         [BZ #17097]
13759         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
13760         result with correct sign in case of exponents that produce
13761         overflow except for X very close to 1.
13763 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
13765         mktime: merge #if/#ifdef usage from glibc
13766         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
13767         as that works with both Glibc's and Gnulib's style.
13768         See thread starting at Siddhesh Poyarekar's bug report at:
13769         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
13771 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13773         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
13774         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
13775         * sysdeps/tile/tilegx/memmove.c: Remove file.
13777 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
13779         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
13780         abi-name definition.
13781         * scripts/soversions.awk: Do not handle or generate ABI lines.
13782         * shlib-versions: Remove ABI entries.
13783         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
13784         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
13786 2014-06-27  Roland McGrath  <roland@hack.frob.com>
13788         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
13789         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
13790         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
13791         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
13792         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
13793         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
13794         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
13795         Moved ...
13796         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
13797         ... here.
13798         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
13799         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
13800         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
13801         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
13802         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
13803         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
13804         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
13805         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
13806         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
13807         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
13808         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
13809         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
13810         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
13811         Moved ...
13812         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
13813         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
13814         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
13815         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
13816         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
13817         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
13818         Moved ...
13819         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
13820         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
13821         Moved ...
13822         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
13823         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
13824         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
13825         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
13826         Moved ...
13827         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
13828         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
13829         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
13830         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
13831         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
13832         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
13833         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
13834         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
13835         Moved ...
13836         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
13837         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
13838         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
13839         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
13840         Moved ...
13841         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
13842         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
13843         Moved ...
13844         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
13845         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
13846         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
13847         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
13848         Moved ...
13849         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
13850         ... here.
13851         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
13852         Identical file removed.
13853         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
13854         Moved ...
13855         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
13856         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
13857         Identical file removed.
13858         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
13859         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
13860         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
13861         Moved ...
13862         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
13863         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
13864         Identical file removed.
13865         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
13866         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
13867         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
13868         Identical file removed.
13869         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
13870         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
13871         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
13872         Identical file removed.
13873         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
13874         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
13875         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
13876         Identical file removed.
13877         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
13878         Moved ...
13879         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
13880         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
13881         Identical file removed.
13882         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
13883         Moved ...
13884         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
13885         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
13886         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
13887         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
13888         Identical file removed.
13889         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
13890         Moved ...
13891         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
13892         ... here.
13893         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
13894         Identical file removed.
13895         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
13896         Moved ...
13897         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
13898         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
13899         Identical file removed.
13900         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
13901         Moved ...
13902         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
13903         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
13904         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
13905         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
13906         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
13907         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
13908         Moved ...
13909         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
13910         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
13911         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
13913         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
13914         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
13915         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
13916         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
13917         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
13919 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
13921         [BZ #17092]
13922         * nscd/nscd.c (monitor_child): Return exit status of child
13923         instead of return value from wait syscall.
13925 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
13927         * configure.ac (libc_commonpagesize): Remove variable.
13928         (libc_relro_required): Likewise.
13929         (libc_cv_z_relro): Remove configure test.
13930         * configure: Regenerated.
13931         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
13932         variable.
13933         (libc_relro_required): Likewise.
13934         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
13935         (libc_relro_required): Likewise.
13936         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
13937         (libc_relro_required): Likewise.
13938         * sysdeps/arm/preconfigure: Regenerated.
13939         * sysdeps/ia64/preconfigure: Remove file.
13940         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
13941         variable.
13942         (libc_relro_required): Likewise.
13944         [BZ #16561]
13945         [BZ #16562]
13946         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
13947         (__ieee754_yn): Set FE_TONEAREST mode internally and then
13948         recompute overflowing results in original rounding mode.
13949         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
13950         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
13951         recompute overflowing results in original rounding mode.
13952         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
13953         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13954         recompute overflowing results in original rounding mode.
13955         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
13956         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13957         recompute overflowing results in original rounding mode.
13958         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
13959         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13960         recompute overflowing results in original rounding mode.
13961         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
13962         (libc_feholdsetround_ctx): New macro.
13963         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
13964         * sysdeps/i386/fpu/libm-test-ulps: Update.
13965         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
13967 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
13969         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
13970         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
13971         corresponding .cpsetup call.
13973 2014-06-26  Roland McGrath  <roland@hack.frob.com>
13975         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
13976         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
13977         * sysdeps/arm/Makefile [$(subdir) = csu]
13978         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
13979         (static-only-routines): Add aeabi_read_tp here.
13980         (shared-only-routines): Add libc-aeabi_read_tp here.
13981         (CFLAGS-libc-start.c): Add -fexceptions here.
13982         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
13983         (sysdep_routines, static-only-routines, shared-only-routines):
13984         Don't add to these here.
13985         (CFLAGS-libc-start.c): Likewise.
13987         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
13988         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
13989         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
13990         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
13991         * sysdeps/arm/Makefile [$(subdir) = rt]
13992         (librt-sysdep_routines, librt-shared-only-routines):
13993         Append rt-aeabi_unwind_cpp_pr1 here.
13994         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
13995         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
13996         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
13997         (libpthread-sysdep_routines, libpthread-shared-only-routines):
13998         Append nptl-aeabi_unwind_cpp_pr1 here.
13999         (tests): Filter out tst-cleanupx4 here.
14000         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
14001         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
14002         Don't do those here.
14004 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14006         * scripts/list-sources.sh: Do not handle ports specially.
14008 2014-06-26  Roland McGrath  <roland@hack.frob.com>
14010         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
14011         * sysdeps/arm/feupdateenv.c: Likewise.
14013         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
14015 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14017         * manual/texinfo.tex: Update to version 2014-05-05.10 with
14018         trailing whitespace removed.
14019         * scripts/config.guess: Update to version 2014-03-23.
14020         * scripts/config.sub: Update to version 2014-05-01
14021         * scripts/install-sh: Update to version 2013-12-25.23.
14022         * scripts/move-if-change: Update from gnulib.
14024 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14026         * debug/memmove_chk.c: Remove pagecopy.h include.
14028 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
14030         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
14031         identical to gnulib mktime.
14033 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14035         * configure.ac: Do not test for machine being rs6000.  Do not test
14036         for powerpc*-*soft.
14037         * configure: Regenerated.
14039         [BZ #11505]
14040         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
14041         test.
14042         * configure: Regenerated.
14043         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
14044         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
14045         Remove configure test.
14046         * sysdeps/arm/configure: Regenerated.
14047         * sysdeps/nptl/configure.ac: Do not check
14048         libc_cv_asm_cfi_directives.
14049         * sysdeps/nptl/configure: Regenerated.
14050         * sysdeps/x86_64/nptl/configure.ac: Remove file.
14051         * sysdeps/x86_64/nptl/configure: Remove generated file.
14052         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
14053         unconditional.
14054         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
14056 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14058         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
14059         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
14060         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
14061         it is defined.
14063         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
14064         instead of whether it is defined.
14065         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
14066         * sysdeps/hppa/dl-machine.h: Likewise.
14067         * sysdeps/ia64/dl-machine.h: Likewise.
14068         * sysdeps/m68k/dl-machine.h: Likewise.
14069         * sysdeps/microblaze/dl-machine.h: Likewise.
14070         * sysdeps/mips/dl-machine.: Likewise.
14071         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14072         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14073         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14074         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14075         * sysdeps/sh/dl-machine.h: Likewise.
14076         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14077         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14078         * sysdeps/tile/dl-machine.h: Likewise.
14079         * sysdeps/x86_64/dl-machine.h: Likewise.
14081         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
14082         code.
14083         (verify_persistent_db): Likewise.
14085 2014-06-26  Roland McGrath  <roland@hack.frob.com>
14087         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
14088         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
14089         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
14090         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
14091         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14092         Moved ...
14093         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
14094         ... here.
14095         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
14096         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
14097         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
14098         Identical file removed.
14099         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
14100         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
14101         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
14102         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
14103         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
14104         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
14105         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
14106         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
14107         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
14108         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
14109         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14110         Moved ...
14111         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
14112         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
14113         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
14114         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
14115         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
14116         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14117         Moved ...
14118         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
14119         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
14120         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
14121         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
14122         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
14123         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14124         Identical file removed.
14125         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
14126         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
14127         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
14128         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
14129         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14130         Moved ...
14131         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
14132         ... here.
14133         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
14134         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
14135         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
14136         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
14137         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
14138         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
14139         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
14140         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
14141         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
14142         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
14143         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14144         Moved ...
14145         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
14146         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
14147         Moved ...
14148         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
14149         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
14150         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
14151         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14152         Moved ...
14153         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
14154         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
14155         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
14157         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
14158         folded into ...
14159         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
14160         * sysdeps/unix/sysv/linux/s390/Versions
14161         (libpthread: GLIBC_2.19): New version set.
14162         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
14163         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
14164         (librt: GLIBC_2.3.3): New version set.
14165         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
14166         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
14167         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
14168         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
14169         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
14170         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
14171         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
14172         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
14173         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
14174         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
14175         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
14176         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
14177         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
14178         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
14179         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
14180         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
14181         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
14182         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
14183         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
14184         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
14185         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
14186         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
14187         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
14188         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
14189         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
14190         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
14191         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
14192         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
14193         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
14194         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
14195         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
14196         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
14197         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
14198         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
14199         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
14200         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
14201         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
14202         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
14203         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
14204         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
14205         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
14206         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
14207         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
14208         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
14209         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
14211         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
14212         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
14213         (__libc_vfork): Define the function under this name.
14214         [!NOT_IN_libc] (__vfork): Make this an alias.
14215         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
14216         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
14217         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
14218         (__libc_vfork): Define the function under this name.
14219         [!NOT_IN_libc] (__vfork): Make this an alias.
14220         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
14221         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
14222         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
14223         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
14224         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
14225         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
14227         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
14228         code that was previously under [RESET_PID].
14229         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
14230         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
14231         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
14233         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
14234         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
14235         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
14236         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
14237         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
14238         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
14239         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
14240         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
14241         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
14242         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
14243         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
14244         Moved ...
14245         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
14246         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
14247         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
14248         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
14249         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
14250         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
14251         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
14252         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
14253         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
14254         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
14255         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
14256         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
14257         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
14258         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
14259         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
14260         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
14261         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
14262         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
14263         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
14264         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
14265         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
14266         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
14267         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
14268         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
14269         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
14270         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
14271         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
14272         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
14273         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
14275 2014-06-25  Roland McGrath  <roland@hack.frob.com>
14277         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
14278         that was previously under [RESET_PID].
14279         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
14281 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
14283         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
14284         not undefine and redefine.
14285         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
14286         [O_CLOEXEC]: Make code unconditional.
14287         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
14288         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
14289         <kernel-features.h>.
14290         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
14291         conditional variable definition.
14292         (shm_open) [O_CLOEXEC]: Make code unconditional.
14293         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
14294         code.
14296         * configure.ac (USE_REGPARMS): Don't define here.
14297         * configure: Regenerated.
14298         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
14299         * sysdeps/i386/configure: Regenerated.
14301         * nptl/createthread.c: Don't include kernel-features.h.
14302         * nptl/pthread_cancel.c: Likewise.
14303         * nptl/pthread_condattr_setclock.c: Likewise.
14304         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
14305         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
14306         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
14307         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
14308         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
14309         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
14310         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
14311         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
14312         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
14313         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
14314         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
14315         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
14316         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
14317         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
14318         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
14319         * nscd/gai.c: Likewise.
14320         * nss/nss_db/db-open.c: Likewise.
14321         * sysdeps/generic/ldsodefs.h: Likewise.
14322         * sysdeps/sh/nptl/tls.h: Likewise.
14323         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
14324         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
14325         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
14326         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
14327         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
14328         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14329         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
14330         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14331         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14332         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
14333         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
14334         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14335         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
14336         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
14337         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
14338         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
14339         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
14340         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
14341         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
14342         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
14343         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
14344         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
14345         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
14346         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
14347         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
14348         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
14349         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
14350         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
14351         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
14352         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
14353         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
14354         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
14355         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
14356         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14357         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14358         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14359         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14360         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
14361         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
14362         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
14363         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14364         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
14365         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
14366         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14367         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
14368         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
14369         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
14370         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
14371         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
14372         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
14373         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
14374         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
14375         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
14376         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14377         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
14378         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14379         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
14380         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
14381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
14383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
14384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
14385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
14386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
14387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
14388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
14389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
14392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
14393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
14394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
14395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
14397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
14401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
14402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
14403         * sysdeps/unix/sysv/linux/pread.c: Likewise.
14404         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
14405         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
14406         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
14407         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
14408         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
14409         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
14410         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
14411         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
14412         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
14413         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
14414         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
14415         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
14416         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
14417         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
14418         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
14419         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14420         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
14421         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
14422         * sysdeps/unix/sysv/linux/system.c: Likewise.
14423         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
14424         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
14425         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
14426         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
14427         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14428         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14429         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14431         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
14432         * configure: Regenerated.
14433         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
14435         * configure.ac (base_machine): Do not set specially for particular
14436         machines here.
14437         * configure: Regenerated.
14438         * sysdeps/powerpc/preconfigure: Move machine and base_machine
14439         settings from configure.ac.
14440         * sysdeps/i386/preconfigure: New file.
14441         * sysdeps/s390/preconfigure: Likewise.
14442         * sysdeps/sh/preconfigure: Likewise.
14443         * sysdeps/sparc/preconfigure: Likewise.
14445 2014-06-25  Roland McGrath  <roland@hack.frob.com>
14447         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
14448         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
14449         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
14450         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
14451         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
14452         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
14453         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
14454         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
14455         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
14456         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
14457         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
14458         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
14459         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
14460         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
14461         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
14462         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
14463         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
14464         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
14465         * sysdeps/sparc/sparc64/Makefile: ... appended here.
14467         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
14468         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
14469         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
14470         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
14471         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
14472         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
14473         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
14474         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
14475         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
14476         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
14477         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
14478         * sysdeps/sparc/sparc32/sem_post.c: ... here.
14479         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
14480         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
14481         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
14482         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
14483         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
14484         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
14485         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
14486         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
14487         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
14488         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
14489         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
14490         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
14491         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
14492         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
14493         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
14494         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
14495         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
14496         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
14497         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
14498         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
14499         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
14500         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
14501         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
14502         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
14503         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
14504         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
14506         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
14507         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
14508         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
14509         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
14510         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14511         Moved ...
14512         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
14513         ... here.
14514         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
14515         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
14516         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
14517         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
14518         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
14519         Moved ...
14520         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
14521         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
14522         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
14523         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
14524         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
14525         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
14526         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
14527         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14528         Moved ...
14529         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
14530         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14531         Moved ...
14532         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
14533         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
14534         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
14535         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14536         Moved ...
14537         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
14538         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
14539         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
14540         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
14541         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
14542         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
14543         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
14544         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
14545         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
14546         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14547         Moved ...
14548         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
14549         ... here.
14550         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
14551         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
14552         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
14553         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
14554         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
14555         Moved ...
14556         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
14557         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
14558         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
14559         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
14560         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
14561         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
14562         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
14563         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14564         Moved ...
14565         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
14566         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14567         Moved ...
14568         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
14569         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
14570         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
14571         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14572         Moved ...
14573         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
14574         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
14575         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
14576         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
14577         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
14579 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
14581         * timezone/checktab.awk: Update from tzcode 2014e.
14582         * timezone/private.h: Likewise.
14583         * timezone/tzfile.h: Likewise.
14584         * timezone/zdump.c: Likewise.
14585         * timezone/zic.c: Likewise.
14587         * sysdeps/unix/sysv/linux/kernel-features.h
14588         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
14589         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
14590         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
14591         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
14592         Remove conditional code.
14594 2014-06-25  Will Newton  <will.newton@linaro.org>
14596         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
14597         (_dl_arm_cap_flags): Add HWCAP2 values.
14598         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
14599         (_DL_HWCAP_COUNT): Increase to 37.
14600         (_DL_HWCAP_LAST): New define.
14601         (_DL_HWCAP2_LAST): New define.
14602         (_dl_procinfo): Add support for printing
14603         AT_HWCAP2 entries.
14604         (_dl_string_hwcap): Use _dl_hwcap_string.
14606 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14608         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14610 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
14612         * README: Do not mention ports directory.
14614         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
14615         Remove macro.
14616         * sysdeps/unix/sysv/linux/futimes.c: Do not include
14617         <kernel-features.h>.
14618         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
14619         conditional variable definition.
14620         (__futimes): Update comment.
14621         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
14622         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
14624         [BZ #16560]
14625         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
14626         arguments close to 0.
14627         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
14628         Likewise.
14629         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
14630         Likewise.
14631         * math/auto-libm-test-in: Add more tests of exp10.
14632         * math/auto-libm-test-out: Regenerated.
14633         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14635         * sysdeps/unix/sysv/linux/kernel-features.h
14636         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
14637         * sysdeps/unix/sysv/linux/readv.c: Do not include
14638         <kernel-features.h>.
14639         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
14640         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
14641         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
14642         unconditional.
14643         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
14644         conditional code.
14645         * sysdeps/unix/sysv/linux/writev.c: Do not include
14646         <kernel-features.h>.
14647         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
14648         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
14649         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
14650         unconditional.
14651         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
14652         conditional code.
14654 2014-06-25  Will Newton  <will.newton@linaro.org>
14656         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
14657         comment changes throughout the file.  Remove checks
14658         for HAVE_*_H definitions that are not required.
14659         (__gen_tempname): Call abort if an unknown kind value is
14660         passed.
14662 2014-06-25  Andreas Schwab  <schwab@suse.de>
14664         [BZ #17086]
14665         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
14666         scalbln, scalblnf, scalblnl in libc.
14668 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
14670         [BZ #17086]
14671         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
14672         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
14673         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
14675 2014-06-24  Roland McGrath  <roland@hack.frob.com>
14677         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
14678         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
14679         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
14680         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
14681         Update #include.
14682         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
14683         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
14684         Update #include.
14685         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
14686         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
14687         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
14688         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
14689         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
14690         * sysdeps/x86/bits/pthreadtypes.h: ... here.
14691         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
14692         * sysdeps/x86/bits/semaphore.h: ... here.
14693         * sysdeps/x86/nptl/elide.h: Moved ...
14694         * sysdeps/x86/elide.h: ... here.
14695         * sysdeps/x86_64/nptl/Implies: File removed.
14696         * sysdeps/i386/nptl/Implies: File removed.
14698 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
14700         [BZ #16539]
14701         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
14702         return the argument for normal arguments with exponent below -64.
14703         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14704         Likewise.
14705         * math/auto-libm-test-in: Add another test of expm1.
14706         * math/auto-libm-test-out: Regenerated.
14708         [BZ #16287]
14709         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
14710         calling __erfcl for arguments at least 16.
14711         * math/auto-libm-test-in: Add more tests of erf.
14712         * math/auto-libm-test-out: Regenerated.
14714         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
14715         individual architectures.
14716         * sysdeps/unix/sysv/linux/configure: Regenerated.
14717         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
14718         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
14719         * sysdeps/unix/sysv/linux/powerpc/configure.ac
14720         (ldd_rewrite_script): Define variable.
14721         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
14723         file.
14724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
14725         generated file.
14726         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
14727         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
14728         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
14729         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
14730         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
14731         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
14732         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
14733         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
14735 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14737         [BZ #17084]
14738         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
14739         Rename member __data.d to __data.__elision_data.
14741 2014-06-24  Wilco  <wdijkstr@arm.com>
14743         * NEWS: Add 16918 to fixed bug list.
14745 2014-06-24  Wilco  <wdijkstr@arm.com>
14747         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
14749 2014-06-24  Wilco  <wdijkstr@arm.com>
14751         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
14752         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
14753         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
14754         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
14755         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
14756         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
14757         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
14758         Use _FPU_MASK_RM.
14760 2014-06-24  Wilco  <wdijkstr@arm.com>
14762         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
14764 2014-06-24  Wilco  <wdijkstr@arm.com>
14766         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
14767         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
14768         * sysdeps/arm/fesetround.c (fesetround): Remove space.
14769         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
14771 2014-06-24  Wilco  <wdijkstr@arm.com>
14773         [BZ #16918]
14774         * sysdeps/arm/feupdateenv.c (feupdateenv):
14775         Rewrite to reduce FPSCR accesses and fix return value.
14777 2014-06-24  Wilco  <wdijkstr@arm.com>
14779         * sysdeps/arm/fclrexcpt.c (feclearexcept):
14780         Optimize to avoid unnecessary FPSCR writes.
14781         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
14782         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
14783         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
14784         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
14786 2014-06-24  Wilco  <wdijkstr@arm.com>
14788         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
14789         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
14790         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
14791         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
14792         Call libc_fetestexcept_vfp.
14793         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
14794         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
14795         __SOFTFP__ ifdef so that they can be built for softfp.
14797 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14799         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
14800         argument type signed char.
14802         * Makerules (check-abi): Dump diff of symlist if the test
14803         fails.
14805 2014-06-23  Roland McGrath  <roland@hack.frob.com>
14807         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
14808         using abort.
14810         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
14811         Remove unused variable ST.
14813 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
14815         [BZ #16354]
14816         [BZ #17061]
14817         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
14818         small arguments before calling __expm1.
14819         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
14820         small arguments before calling __expm1f.
14821         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
14822         small arguments before calling __expm1l.
14823         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
14824         Likewise.
14825         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
14826         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
14827         spurious underflow for some cosh tests.
14828         * math/auto-libm-test-out: Regenerated.
14829         * sysdeps/i386/fpu/libm-test-ulps: Update.
14831         [BZ #17050]
14832         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
14833         (__ieee754_y1): Set errno if return value overflows.
14834         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
14835         (__ieee754_y1f): Set errno if return value overflows.
14836         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
14837         (__ieee754_y1l): Set errno if return value overflows.
14838         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
14839         (__ieee754_y1l): Set errno if return value overflows.
14840         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
14841         * math/auto-libm-test-out: Regenerated.
14843         * math/gen-auto-libm-tests.c: Document use of
14844         ignore-zero-inf-sign.
14845         (input_flag_type): Add value flag_ignore_zero_inf_sign.
14846         (input_flags): Add ignore-zero-inf-sign.
14847         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
14848         * math/gen-libm-test.pl (generate_testfile): Handle
14849         ignore-zero-inf-sign.
14850         * math/auto-libm-test-in: Mark some cpow tests with
14851         ignore-zero-inf-sign and some with xfail-rounding.
14852         * math/auto-libm-test-out: Regenerated.
14853         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
14854         * sysdeps/i386/fpu/libm-test-ulps: Update.
14855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14857         [BZ #16315]
14858         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
14859         overflowing or underflowing operations take place with sign of
14860         result.
14861         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14862         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14863         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
14864         (__ieee754_pow): Recompute overflowing and underflowing results in
14865         original rounding mode.
14866         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
14867         (__powl_helper): Allow negative argument X and scale negated value
14868         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
14869         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
14870         overflowing or underflowing operations take place with sign of
14871         result.
14872         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
14873         Include <math.h>.
14874         * math/auto-libm-test-in: Add more tests of pow.
14875         * math/auto-libm-test-out: Regenerated.
14876         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
14877         (pow_tonearest_test_data): Remove.
14878         (pow_test_tonearest): Likewise.
14879         (pow_towardzero_test_data): Likewise.
14880         (pow_test_towardzero): Likewise.
14881         (pow_downward_test_data): Likewise.
14882         (pow_test_downward): Likewise.
14883         (pow_upward_test_data): Likewise.
14884         (pow_test_upward): Likewise.
14885         (main): Don't call removed functions.
14886         * sysdeps/i386/fpu/libm-test-ulps: Update.
14887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14889 2014-06-23  Roland McGrath  <roland@hack.frob.com>
14891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
14892         Moved ...
14893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
14894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14895         Moved ...
14896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
14897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14898         Moved ...
14899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
14900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14901         Moved ...
14902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
14903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14904         File removed.
14905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14906         File removed.
14907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
14908         File removed.
14909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
14910         File removed.
14911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
14912         File removed.
14913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
14914         File removed.
14915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
14916         File removed.
14917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14918         File removed.
14919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
14920         File removed.
14921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
14922         File removed.
14923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
14924         File removed.
14925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
14926         File removed.
14927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
14928         Moved ...
14929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
14930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
14931         Moved ...
14932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
14933         ... here.
14934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
14935         Moved ...
14936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
14937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
14938         Moved ...
14939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
14940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
14941         Moved ...
14942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
14943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
14944         Moved ...
14945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
14946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
14947         Moved ...
14948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
14949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
14950         Moved ...
14951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
14952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
14953         Moved ...
14954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
14955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
14956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
14957         ... here.
14958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
14959         Moved ...
14960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
14961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14962         Moved ...
14963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14964         ... here.
14965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
14966         Moved ...
14967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14968         ... here.
14969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14970         Moved ...
14971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
14972         ... here.
14973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14974         Moved ...
14975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
14976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
14977         Moved ...
14978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
14979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
14980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
14981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
14982         Moved ...
14983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
14984         ... here.
14985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14986         Moved ...
14987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
14988         ... here.
14989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
14990         Moved ...
14991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
14992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14993         Moved ...
14994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
14995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
14996         Moved ...
14997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
14998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14999         Moved ...
15000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
15001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
15002         Moved ...
15003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
15004         ... here.
15005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15006         Moved ...
15007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
15008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
15009         Moved ...
15010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
15011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15012         Moved ...
15013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
15014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
15015         Moved ...
15016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
15017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
15018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
15019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
15020         Moved ...
15021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
15022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15023         Moved ...
15024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
15025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
15026         Moved ...
15027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
15028         ... here.
15029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15030         Moved ...
15031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
15032         ... here.
15033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
15034         Moved ...
15035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
15036         ... here.
15037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15038         Moved ...
15039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
15040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
15041         Moved ...
15042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
15043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15044         Moved ...
15045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
15046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
15047         Moved ...
15048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
15049         ... here.
15050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15051         Moved ...
15052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
15053         ... here.
15054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
15055         Moved ...
15056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
15057         ... here.
15058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15059         Moved ...
15060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
15061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15062         Moved ...
15063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
15065 2014-06-23  Will Newton  <will.newton@linaro.org>
15066             Wilco  <wdijkstr@arm.com>
15068         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
15069         implementation.  Include get-rounding-mode.h.
15070         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
15071         [!libc_feholdsetround_noex_ctx]: Define
15072         libc_feholdsetround_noex_ctx.
15073         [!libc_feholdsetround_noexf_ctx]: Define
15074         libc_feholdsetround_noexf_ctx.
15075         [!libc_feholdsetround_noexl_ctx]: Define
15076         libc_feholdsetround_noexl_ctx.
15077         (libc_feholdsetround_ctx): New function.
15078         (libc_feresetround_ctx): New function.
15079         (libc_feholdsetround_noex_ctx): New function.
15080         (libc_feresetround_noex_ctx): New function.
15082 2014-06-23  Roland McGrath  <roland@hack.frob.com>
15084         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
15085         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
15086         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
15087         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
15088         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
15089         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
15091         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
15092         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
15093         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
15094         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
15095         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
15096         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
15097         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
15098         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
15099         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
15100         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
15101         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
15102         Moved ...
15103         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
15104         ... here.
15105         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
15106         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
15107         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
15108         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
15109         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
15110         Moved ...
15111         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
15112         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
15113         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
15114         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
15115         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
15116         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
15117         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
15118         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
15119         Moved ...
15120         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
15121         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
15122         Moved ...
15123         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
15124         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
15125         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
15126         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
15127         Moved ...
15128         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
15129         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
15130         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
15131         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
15132         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
15133         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
15134         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
15135         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
15136         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
15137         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
15138         Moved ...
15139         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
15140         ... here.
15141         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
15142         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
15143         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
15144         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
15145         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
15146         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
15147         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
15148         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
15149         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
15150         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
15151         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
15152         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
15153         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
15154         Moved ...
15155         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
15156         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
15157         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
15158         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
15159         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
15160         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
15161         Moved ...
15162         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
15163         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
15164         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
15165         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
15166         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
15168         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
15169         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
15170         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
15171         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
15172         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
15173         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
15174         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
15175         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
15176         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
15177         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
15178         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
15179         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
15180         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
15181         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
15182         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
15183         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
15184         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
15185         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
15186         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
15187         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
15188         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
15189         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
15190         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
15191         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
15192         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
15193         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
15194         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
15195         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
15197 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
15199         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
15200         (FALLOC_FL_COLLAPSE_RANGE): New macro.
15201         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
15202         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
15203         (IPV6_PMTUDISC_INTERFACE): Likewise.
15204         (IPV6_PMTUDISC_OMIT): Likewise.
15206 2014-06-23  Andreas Schwab  <schwab@suse.de>
15208         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
15209         Remove unused errout label.
15211 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15213         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
15214         macro: hardware supports Vector Crypto instructions.
15216 2014-06-23  Will Newton  <will.newton@linaro.org>
15218         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
15219         rather than __builtin_expect.
15221         * elf/dl-lookup.c (undefined_msg): Remove variable.
15222         (_dl_lookup_symbol_x): Replace undefined_msg with string
15223         literal.
15225         * elf/dl-lookup.c (do_lookup_unique): New function.
15226         (do_lookup_x): Move STB_GNU_UNIQUE handling code
15227         to a separate function.
15229 2014-06-23  Andreas Schwab  <schwab@suse.de>
15231         [BZ #17079]
15232         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
15233         before reading the next line.
15235 2014-06-23  Will Newton  <will.newton@linaro.org>
15237         * test-skeleton.c (signal_handler): Use printf and %m
15238         rather than perror.  Use printf rather than fprintf to
15239         stderr.  Use puts rather than fputs to stderr.
15240         (main): Likewise.
15242 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
15244         * nscd/nscd.c (thread_info_t): Remove typedef.
15245         (thread_info): Remove variable.
15247 2014-06-21  Allan McRae  <allan@archlinux.org>
15249         * NEWS: Mention CVE-2014-4043.
15251 2014-06-20  Roland McGrath  <roland@hack.frob.com>
15253         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
15254         * nptl/smp.h: ... here.
15256         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
15258         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
15259         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
15260         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
15261         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
15263         * nptl/allocatestack.c: Include <stack-aliasing.h>.
15264         * nptl/stack-aliasing.h: New file.
15265         * sysdeps/i386/i686/stack-aliasing.h: New file.
15266         * sysdeps/i386/i686/nptl/Makefile: File removed.
15267         * sysdeps/x86_64/stack-aliasing.h: New file.
15268         * sysdeps/x86_64/nptl/Makefile
15269         (CFLAGS-pthread_create.c): Variable removed.
15271         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
15272         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
15273         old file.
15274         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
15275         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
15276         old file.
15278 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
15280         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15281         (__ASSUME_SIGFRAME_V2): Remove macro.
15282         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
15283         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
15284         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
15285         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
15286         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
15287         Declare as function.  Remove conditional macro definitions.
15288         (__default_rt_sa_restorer): Likewise.
15289         (__default_sa_restorer_v1): Remove declaration.
15290         (__default_sa_restorer_v2): Likewise.
15291         (__default_rt_sa_restorer_v1): Likewise.
15292         (__default_rt_sa_restorer_v2): Likewise.
15293         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
15294         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
15295         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
15297 2014-06-20  Roland McGrath  <roland@hack.frob.com>
15299         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
15300         (libpthread-routines): Add sysdep.
15301         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
15302         * sysdeps/unix/sysv/linux/sparc/Versions
15303         (libpthread: GLIBC_2.3.3): New version set.
15304         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
15305         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
15306         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
15307         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
15308         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
15309         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
15310         Moved ...
15311         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
15312         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
15313         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
15314         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
15315         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
15316         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
15317         * sysdeps/sparc/nptl/sem_init.c: ... here.
15318         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
15319         * sysdeps/sparc/nptl/sem_post.c: ... here.
15320         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
15321         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
15322         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
15323         * sysdeps/sparc/nptl/sem_wait.c: ... here.
15324         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
15325         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
15326         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
15327         (libpthread-routines): Add cpu_relax.
15328         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
15329         File removed.
15330         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
15331         (librt: GLIBC_2.3.3): New version set.
15332         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
15333         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
15334         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
15335         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
15336         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
15337         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
15338         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
15339         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
15340         Moved ...
15341         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
15342         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
15343         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
15344         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
15345         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
15346         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
15347         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
15348         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
15349         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
15350         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
15351         Moved ...
15352         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
15353         Update #include.
15354         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
15355         Moved ...
15356         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
15357         Update #include.
15358         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
15359         Moved ...
15360         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
15361         Update #include.
15362         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
15363         Moved ...
15364         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
15365         Update #include.
15366         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
15367         Moved ...
15368         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
15369         Update #include.
15370         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
15371         Moved ...
15372         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
15373         Update #include.
15374         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
15375         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
15376         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
15377         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
15378         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
15379         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
15380         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
15381         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
15382         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
15383         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
15384         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
15385         Moved ...
15386         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
15387         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
15388         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
15389         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
15390         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
15392 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
15394         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
15395         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
15396         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
15397         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
15398         * nscd/nscd.c: Likewise.
15399         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
15400         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
15401         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
15402         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
15404         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
15405         <kernel-features.h>.
15406         (init_mq_netlink): Remove conditional have_sock_cloexec
15407         definitions.  Remove code conditional on have_sock_cloexec < 0.
15408         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
15409         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
15410         * sysdeps/unix/sysv/linux/opensock.c: Do not include
15411         <kernel-features.h>.
15412         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
15413         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
15415 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
15417         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15418         Add tests for memset_chk and memset.
15420         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
15421         with AVX2_Usable.
15423 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
15425         [BZ #16046]
15426         * elf/tst-dl-iter-static.c: New file.
15427         * elf/Makefile (tests-static): Add tst-dl-iter-static.
15429         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
15430         error.
15432 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
15434         * sysdeps/unix/sysv/linux/kernel-features.h
15435         (__ASSUME_F_GETOWN_EX): Remove macro.
15436         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
15437         <kernel-features.h>.
15438         (miss_F_GETOWN_EX): Remove variable or macro.
15439         (do_fcntl): Do not check miss_F_GETOWN_EX.
15440         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
15442         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
15443         Remove macro.
15444         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
15445         [!__ASSUME_AT_RANDOM]: Remove conditional code.
15446         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
15448         * sysdeps/unix/sysv/linux/kernel-features.h
15449         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
15450         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
15451         [ADJ_OFFSET_SS_READ]: Make code unconditional.
15452         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
15454 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
15456         [BZ #17075]
15457         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
15458         Fix calculation of the symbol's value.
15459         * sysdeps/arm/tst-armtlsdescloc.c: New file.
15460         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
15461         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
15462         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
15463         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
15464         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
15465         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
15466         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
15467         (modules-names): Add `tst-armtlsdescmod',
15468         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
15469         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
15470         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15471         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
15472         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
15473         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15474         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
15475         ($(objpfx)tst-armtlsdescloc): New dependency.
15476         ($(objpfx)tst-armtlsdescextnow): Likewise.
15477         ($(objpfx)tst-armtlsdescextlazy): Likewise.
15478         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
15479         TLS scheme support.
15480         * sysdeps/arm/configure: Regenerate.
15482 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
15484         * include/fcntl.h (__atfct_seterrno): Remove prototype.
15485         (__atfct_seterrno_2): Likewise.
15486         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
15487         <kernel-features.h>.
15488         (__ASSUME_ATFCTS): Do not undefine and redefine.
15489         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
15490         (__have_atfcts): Remove conditional definition.
15491         (__fxstatat([__NR_fstatat64]: Make code unconditional.
15492         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
15493         unreachable if [__ASSUME_ATFCTS].
15494         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
15495         not undefine and redefine.
15496         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
15497         <kernel-features.h>.
15498         (faccessat) [__NR_faccessat]: Make code unconditional.
15499         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
15500         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
15501         <kernel-features.h>.
15502         (fchmodat) [__NR_fchmodat]: Make code unconditional.
15503         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
15504         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
15505         <kernel-features.h>.
15506         (fchownat) [__NR_fchownat]: Make code unconditional.
15507         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
15508         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
15509         <kernel-features.h>.
15510         (futimesat) [__NR_futimesat]: Make code unconditional.
15511         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
15512         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
15513         <kernel-features.h>.
15514         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
15515         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15516         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
15517         <kernel-features.h>.
15518         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
15519         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
15520         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
15521         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
15522         <kernel-features.h>.
15523         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
15524         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15525         * sysdeps/unix/sysv/linux/linkat.c: Do not include
15526         <kernel-features.h>.
15527         (linkat) [__NR_linkat]: Make code unconditional.
15528         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15529         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
15530         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
15531         <kernel-features.h>.
15532         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
15533         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
15534         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
15535         <kernel-features.h>.
15536         (mkdirat) [__NR_mkdirat]: Make code unconditional.
15537         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
15538         * sysdeps/unix/sysv/linux/openat.c: Do not include
15539         <kernel-features.h>.
15540         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
15541         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
15542         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
15543         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
15544         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
15545         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
15546         <kernel-features.h>.
15547         (readlinkat) [__NR_readlinkat]: Make code unconditional.
15548         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
15549         result of INLINE_SYSCALL directly, not via int variable.
15550         * sysdeps/unix/sysv/linux/renameat.c: Do not include
15551         <kernel-features.h>.
15552         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
15553         (renameat) [__NR_renameat]: Make code unconditional.
15554         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
15555         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
15556         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
15557         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
15558         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
15559         (__ASSUME_ATFCTS): Do not undefine and redefine.
15560         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
15561         <kernel-features.h>.
15562         (symlinkat) [__NR_symlinkat]: Make code unconditional.
15563         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15564         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
15565         <kernel-features.h>.
15566         (unlinkat) [__NR_unlinkat]: Make code unconditional.
15567         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15568         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
15569         (__ASSUME_ATFCTS): Do not undefine and redefine.
15570         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
15571         <kernel-features.h>.
15572         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
15573         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15574         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
15575         <kernel-features.h>.
15576         (__xmknodat) [__NR_mknodat]: Make code unconditional.
15577         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
15579 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
15581         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
15583 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
15585         [BZ #17069]
15586         * posix/regcomp.c (parse_reg_exp): Deallocate partially
15587         constructed tree before returning error.
15588         * posix/bug-regexp36.c: Expand test case.
15590 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
15592         [BZ #6803]
15593         * math/libm-test.inc (scalbln_test_date):
15594         Add errno expectations.
15595         * math/w_scalblnf.c: New File.
15596         Add wrapper which checks for setting errno to ERANGE.
15597         Add weak_alias for corresponding scalbln function.
15598         * math/w_scalbln.c: Likewise.
15599         * math/w_scalblnl.c: Likewise.
15600         * math/Makefile (libm-calls): Add w_scalbln.
15601         * sysdeps/ieee754/flt-32/s_scalblnf.c:
15602         Remove weak_alias for corresponding scalbln function.
15603         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15604         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
15605         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15606         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15607         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
15608         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
15609         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
15610         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
15611         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
15612         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
15613         Remove long_double_symbol for scalblnl function in libm, libc.
15614         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
15615         Add wrapper which checks for setting errno to ERANGE.
15616         Add long_double_symbol for scalblnl function in libm, libc.
15617         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
15618         Remove long_double_symbol for scalblnl in libm.
15619         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
15620         Add wrapper which checks for setting errno to ERANGE.
15621         Add long_double_symbol for scalblnl function in libm.
15622         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
15623         Do not use wrapper because of own implementation.
15625 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
15627         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
15628         3 bytes for __pad1 for x32.
15629         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
15631 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
15632             H.J. Lu  <hongjiu.lu@intel.com>
15634         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
15635         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
15636         * sysdeps/x86_64/multiarch/memset.S: Likewise.
15637         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15638         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
15640 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
15642         [BZ #17069]
15643         * posix/regcomp.c (parse_expression): Deallocate partially
15644         constructed tree before returning error.
15645         * posix/Makefile.c (tests): Add bug-regex36.
15646         (generated): Add bug-regex36.mtrace.
15647         (tests-special): Add $(objpfx)bug-regex36-mem.out
15648         (bug-regex36-ENV): New variable.
15649         ($(objpfx)bug-regex36-mem.out): New rule.
15650         * posix/bug-regex36.c: New file.
15652 2014-06-19  Will Newton  <will.newton@linaro.org>
15654         * malloc/malloc.c (systrim): If extra is zero then return
15655         early.
15657 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15659         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
15661 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
15663         * sysdeps/aarch64/strchr.S: New file.
15665 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
15667         [BZ #17022]
15668         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
15669         from arguments -2 or below.
15670         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15671         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
15673 2014-06-18  Andreas Schwab  <schwab@suse.de>
15675         [BZ #17062]
15676         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
15677         of a bracket expr not to run off the end of the string.
15678         * posix/Makefile (tests): Add tst-fnmatch3.
15679         * posix/tst-fnmatch3.c: New file.
15681 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
15683         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
15684         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15685         [$(cross-compiling) = no]: Likewise.
15686         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15687         [$(cross-compiling) = no]: Likewise.
15689 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15691         [BZ #17031]
15692         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
15693         double, adjusted for any remainder from the high double.
15694         * math/libm-test.inc (nearbyint): Add tests.
15695         (rint): Likewise.
15697 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15699         * nptl/sysdeps/powerpc/Makefile: Moved ...
15700         * sysdeps/powerpc/nptl/Makefile: ... here.
15701         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
15702         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
15703         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
15704         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
15705         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
15706         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
15707         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
15708         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
15709         * nptl/sysdeps/powerpc/tls.h: Moved ...
15710         * sysdeps/powerpc/nptl/tls.h: ... here.
15712 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
15714         [BZ #16681]
15715         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
15716         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
15717         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
15718         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
15719         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
15720         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
15721         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
15722         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
15723         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
15725 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
15727         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15729 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
15731         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
15732         defined operator.
15734         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
15735         $TIMEOUTFACTOR.
15737 2014-06-16  Florian Weimer  <fweimer@redhat.com>
15739         [BZ #17058]
15740         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
15741         non-executed part of the test.
15743 2014-06-16  Andreas Schwab  <schwab@suse.de>
15745         * string/bits/string2.h (strdup, strndup): Update feature guard.
15747 2014-06-14  David S. Miller  <davem@davemloft.net>
15749         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15751 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
15753         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
15754         that was previously under [RESET_PID].
15755         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
15757         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
15758         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
15759         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
15760         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15761         (__libc_vfork): New strong alias.
15762         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
15764 2014-06-14 Andi Kleen  <ak@linux.intel.com>
15766         * sysdeps/generic/elide.h: New file.
15768 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
15770         * Makefile (installed-headers): Adjust path of pthread.h header.
15772 2014-06-13  Roland McGrath  <roland@hack.frob.com>
15774         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
15775         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
15776         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
15777         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
15779         * nptl/sysdeps/s390/Makefile: Moved ...
15780         * sysdeps/s390/nptl/Makefile: ... here.
15781         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
15782         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
15783         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
15784         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
15785         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
15786         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
15787         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
15788         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
15789         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
15790         * sysdeps/s390/nptl/pthreaddef.h: ... here.
15791         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
15792         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
15793         * nptl/sysdeps/s390/tls.h: Moved ...
15794         * sysdeps/s390/nptl/tls.h: ... here.
15796         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
15797         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
15799 2014-06-13  David S. Miller  <davem@davemloft.net>
15801         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
15802         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
15803         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
15804         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
15805         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
15806         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
15807         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
15808         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
15809         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
15810         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
15811         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
15812         Remove RESET_PID cpp guards.
15813         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
15814         Remove RESET_PID cpp guards.
15815         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
15817 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
15819         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
15820         __sp to uintptr_t.
15822 2014-06-13  Andi Kleen  <ak@linux.intel.com>
15824         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
15825         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
15826         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
15827         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
15828         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
15829         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
15830         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
15831         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
15832         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
15833         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
15834         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
15835         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
15836         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
15837         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
15838         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
15839         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
15840         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
15841         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
15842         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
15843         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
15845         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
15846         (pthread_rwlock_rdlock): Add elision.
15847         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
15848         (pthread_rwlock_wrlock): Add elision.
15849         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
15850         (pthread_rwlock_trywrlock): Add elision.
15851         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
15852         (pthread_rwlock_tryrdlock): Add elision.
15853         * nptl/pthread_rwlock_unlock.c: Include elide.h.
15854         (pthread_rwlock_tryrdlock): Add elision unlock.
15855         * nptl/sysdeps/pthread/pthread.h:
15856         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
15857         (PTHREAD_RWLOCK_INITIALIZER,
15858         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
15859         Handle new elision field.
15860         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
15861         * sysdeps/arm/nptl/bits/pthreadtypes.h
15862         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15863         * sysdeps/sh/nptl/bits/pthreadtypes.h
15864         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15865         * sysdeps/tile/nptl/bits/pthreadtypes.h
15866         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15867         * sysdeps/a/nptl/bits/pthreadtypes.h
15868         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15869         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
15870         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15871         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
15872         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15873         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
15874         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15875         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
15876         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15877         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
15878         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15879         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
15880         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15881         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
15882         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15883         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
15884         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15885         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
15886         (elision_init): Set try_xbegin to zero when no RTM.
15887         * sysdeps/x86/nptl/bits/pthreadtypes.h
15888         (pthread_rwlock_t): Change __pad1 to __rwelision.
15889         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15891 2014-06-13  Andi Kleen  <ak@linux.intel.com>
15893         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
15894         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
15895         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
15896         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
15898 2014-06-13  Meador Inge  <meadori@codesourcery.com>
15900         [BZ #16996]
15901         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
15902         that the cached result has been set before returning it.
15904 2014-06-12  Roland McGrath  <roland@hack.frob.com>
15906         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
15907         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
15908         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
15909         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
15910         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
15911         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
15913         * nptl/sysdeps/sparc/Makefile: Moved ...
15914         * sysdeps/sparc/nptl/Makefile: ... here.
15915         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
15916         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
15917         * nptl/sysdeps/sparc/tls.h: Moved ...
15918         * sysdeps/sparc/nptl/tls.h: ... here.
15919         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
15920         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
15921         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
15922         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
15923         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
15924         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
15925         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
15926         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
15927         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
15928         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
15929         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
15930         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
15931         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
15932         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
15933         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
15934         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
15935         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
15936         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
15937         Update #include.
15938         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
15939         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
15940         Update #include.
15941         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
15942         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
15943         Update #include.
15944         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
15945         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
15946         Update #include.
15948         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
15950         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
15951         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
15953         * sysdeps/pthread/posix-timer.h: Include <list.h>.
15954         (struct list_links): Type removed.
15955         (struct thread_node, struct timer_node): Replace struct list_links
15956         with struct list_head.
15957         (list_unlink_ip): Likewise.
15958         * sysdeps/pthread/timer_routines.c
15959         (timer_free_list, thread_free_list, thread_active_list): Likewise.
15960         (list_append, list_insbefore): Likewise.
15961         (list_init): Function removed.
15962         (thread_init, init_module): Use INIT_LIST_HEAD instead.
15963         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
15964         * sysdeps/pthread/Makefile: ... here, new file.
15966         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
15967         * sysdeps/nptl/Implies: ... here.
15968         * sysdeps/unix/sysv/linux/Implies: Add nptl.
15969         * nptl/sysdeps/pthread/list.h: Moved ...
15970         * include/list.h: ... here.
15971         * nptl/sysdeps/pthread/createthread.c: Moved ...
15972         * nptl/createthread.c: ... here.
15973         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
15974         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
15975         * nptl/pt-longjmp.c: ... here.
15976         * nptl/sysdeps/pthread/Makefile: Moved ...
15977         * sysdeps/nptl/Makefile: ... here.
15978         * nptl/sysdeps/pthread/Subdirs: Moved ...
15979         * sysdeps/nptl/Subdirs: ... here.
15980         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
15981         * sysdeps/nptl/aio_misc.h: ... here.
15982         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
15983         * sysdeps/nptl/bits/libc-lock.h: ... here.
15984         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
15985         * sysdeps/nptl/bits/libc-lockP.h: ... here.
15986         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
15987         * sysdeps/nptl/bits/stdio-lock.h: ... here.
15988         * nptl/sysdeps/pthread/configure: Moved ...
15989         * sysdeps/nptl/configure: ... here.
15990         * nptl/sysdeps/pthread/configure.ac: Moved ...
15991         * sysdeps/nptl/configure.ac: ... here.
15992         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
15993         * sysdeps/nptl/gai_misc.h: ... here.
15994         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
15995         * sysdeps/nptl/librt-cancellation.c: ... here.
15996         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
15997         * sysdeps/nptl/malloc-machine.h: ... here.
15998         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
15999         * sysdeps/nptl/pthread-functions.h: ... here.
16000         * nptl/sysdeps/pthread/pthread.h: Moved ...
16001         * sysdeps/nptl/pthread.h: ... here.
16002         * nptl/sysdeps/pthread/setxid.h: Moved ...
16003         * sysdeps/nptl/setxid.h: ... here.
16004         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
16005         * sysdeps/nptl/sigfillset.c: ... here.
16006         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
16007         * sysdeps/nptl/tcb-offsets.h: ... here.
16008         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
16009         * sysdeps/nptl/tst-mqueue8x.c: ... here.
16010         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
16011         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
16012         * nptl/sysdeps/pthread/allocalim.h: Moved ...
16013         * sysdeps/pthread/allocalim.h: ... here.
16014         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
16015         * sysdeps/pthread/bits/sigthread.h: ... here.
16016         * nptl/sysdeps/pthread/flockfile.c: Moved ...
16017         * sysdeps/pthread/flockfile.c: ... here.
16018         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
16019         * sysdeps/pthread/ftrylockfile.c: ... here.
16020         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
16021         * sysdeps/pthread/funlockfile.c: ... here.
16022         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
16023         * sysdeps/pthread/posix-timer.h: ... here.
16024         * nptl/sysdeps/pthread/timer_create.c: Moved ...
16025         * sysdeps/pthread/timer_create.c: ... here.
16026         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
16027         * sysdeps/pthread/timer_delete.c: ... here.
16028         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
16029         * sysdeps/pthread/timer_getoverr.c: ... here.
16030         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
16031         * sysdeps/pthread/timer_gettime.c: ... here.
16032         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
16033         * sysdeps/pthread/timer_routines.c: ... here.
16034         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
16035         * sysdeps/pthread/timer_settime.c: ... here.
16036         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
16037         * sysdeps/pthread/tst-timer.c: ... here.
16038         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
16039         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
16041         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
16042         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
16044         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
16045         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
16046         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
16047         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
16048         Update #include target.
16049         * nptl/sysdeps/i386/i686/Makefile: Moved ...
16050         * sysdeps/i386/i686/nptl/Makefile: ... here.
16051         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
16052         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
16053         Update #include target.
16054         * nptl/sysdeps/i386/i686/tls.h: Moved ...
16055         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
16056         * nptl/sysdeps/i386/Makefile: Moved ...
16057         * sysdeps/i386/nptl/Makefile: ... here.
16058         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
16059         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
16060         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
16061         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
16062         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
16063         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
16064         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
16065         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
16066         * sysdeps/i386/nptl/pthreaddef.h: ... here.
16067         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
16068         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
16069         * nptl/sysdeps/i386/tls.h: Moved ...
16070         * sysdeps/i386/nptl/tls.h: ... here.
16072         * sysdeps/sh/Makefile [$(subdir) = csu]
16073         (gen-as-const-headers): Add tcb-offsets.sym.
16074         * nptl/sysdeps/sh/Makefile: File removed.
16075         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
16076         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
16077         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
16078         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
16079         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
16080         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
16081         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
16082         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
16083         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
16084         * sysdeps/sh/nptl/pthreaddef.h: ... here.
16085         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
16086         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
16087         * nptl/sysdeps/sh/tls.h: Moved ...
16088         * sysdeps/sh/nptl/tls.h: ... here.
16089         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
16090         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
16091         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
16092         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
16093         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
16094         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
16095         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
16096         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
16097         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
16098         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
16099         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
16100         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
16101         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
16102         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
16103         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
16104         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
16105         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
16106         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
16107         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
16108         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
16109         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
16110         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
16111         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
16112         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
16113         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
16114         Moved ...
16115         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
16116         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
16117         Moved ...
16118         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
16119         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
16120         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
16121         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
16122         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
16123         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
16124         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
16125         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
16126         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
16127         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
16128         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
16129         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
16130         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
16131         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
16132         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
16133         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
16134         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
16135         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
16136         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
16138 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
16140         * posix/spawn_faction_addopen.c: Include string.h.
16142 2014-06-11  Roland McGrath  <roland@hack.frob.com>
16144         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
16145         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
16146         * nptl/sysdeps/x86_64/Makefile: Moved ...
16147         * sysdeps/x86_64/nptl/Makefile: ... here.
16148         * nptl/sysdeps/x86_64/configure: Moved ...
16149         * sysdeps/x86_64/nptl/configure: ... here.
16150         * nptl/sysdeps/x86_64/configure.ac: Moved ...
16151         * sysdeps/x86_64/nptl/configure.ac: ... here.
16152         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
16153         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
16154         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
16155         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
16156         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
16157         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
16158         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
16159         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
16160         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
16161         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
16162         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
16163         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
16164         * nptl/sysdeps/x86_64/tls.h: Moved ...
16165         * sysdeps/x86_64/nptl/tls.h: ... here.
16166         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
16167         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
16168         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
16169         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
16171         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
16173 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16175         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16177 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
16179         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
16180         type.
16181         [POSIX] (off_t): Likewise.
16182         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
16183         [POSIX] (S_ISBLK): Require macro.
16184         [POSIX] (S_ISCHR): Likewise.
16185         [POSIX] (S_ISDIR): Likewise.
16186         [POSIX] (S_ISFIFO): Likewise.
16187         [POSIX] (S_ISREG): Likewise.
16188         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
16189         optional-macro.
16190         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
16191         type.
16192         [POSIX] (time_t): Likewise.
16193         [POSIX] (timer_t): Likewise.
16195 2014-06-11  Florian Weimer  <fweimer@redhat.com>
16197         [BZ #17048]
16198         * posix/spawn_int.h (struct __spawn_action): Make the path string
16199         non-const to support deallocation.
16200         * posix/spawn_faction_addopen.c
16201         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
16202         * posix/spawn_faction_destroy.c
16203         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
16204         path in all spawn_do_open actions.
16205         * posix/tst-spawn.c (do_test): Exercise the copy operation in
16206         posix_spawn_file_actions_addopen.
16208 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
16210         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
16211         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
16212         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
16213         conditional code always true.
16214         (__libc_vfork): New alias.
16216 2014-06-11  Roland McGrath  <roland@hack.frob.com>
16218         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16219         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
16221         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
16223         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16224         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
16226         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
16227         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
16229         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16230         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
16232 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
16234         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
16235         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
16236         multiarch strcmp for PPC64.
16237         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
16238         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
16239         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
16240         multiarch optimizations.
16241         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16242         (__libc_ifunc_impl_list): Likewise.
16244 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16246         * benchtests/scripts/validate_benchout.py: New script.
16247         * benchtests/Makefile (bench-func): Call it.
16248         * benchtests/scripts/benchout.schema.json: New file.
16250 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
16252         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
16253         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
16254         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
16255         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
16256         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
16257         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
16258         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
16259         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
16260         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
16261         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
16262         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
16263         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
16264         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
16265         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
16266         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
16267         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
16268         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
16269         Moved ...
16270         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
16271         ... here.
16272         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
16273         Moved ...
16274         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
16275         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
16276         Moved ...
16277         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
16278         ... here.
16279         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
16280         Moved ...
16281         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
16282         ... here.
16283         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
16284         Moved ...
16285         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
16286         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
16287         Moved ...
16288         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
16289         ... here.
16290         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
16291         Moved ...
16292         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
16293         ... here.
16294         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
16295         Moved ...
16296         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
16297         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
16298         Moved ...
16299         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
16300         ... here.
16301         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
16302         Moved ...
16303         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
16304         ... here.
16305         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
16306         Moved ...
16307         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
16308         ... here.
16309         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
16310         Moved ...
16311         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
16312         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
16313         Moved ...
16314         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
16315         ... here.
16316         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
16317         Moved ...
16318         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
16319         ... here.
16320         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
16321         Moved ...
16322         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
16323         ... here.
16324         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
16325         Moved ...
16326         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
16327         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
16328         Moved ...
16329         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
16330         ... here.
16331         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
16332         Moved ...
16333         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
16334         ... here.
16335         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
16336         Moved ...
16337         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
16338         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
16339         Moved ...
16340         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
16341         ... here.
16342         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
16343         Moved ...
16344         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
16345         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
16346         Moved ...
16347         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
16348         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
16349         Moved ...
16350         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
16351         ... here.
16352         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
16353         Moved ...
16354         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
16355         ... here.
16356         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
16357         Moved ...
16358         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
16359         ... here.
16360         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
16361         Moved ...
16362         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
16363         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
16364         Moved ...
16365         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
16366         ... here.
16367         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
16368         Moved ...
16369         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
16370         ... here.
16371         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
16372         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
16373         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
16374         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
16375         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
16376         Moved ...
16377         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
16378         ... here.
16379         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
16380         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
16381         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
16382         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
16383         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
16384         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
16385         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
16386         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
16387         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
16388         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
16389         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
16390         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
16391         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
16392         Moved ...
16393         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
16394         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
16395         Moved ...
16396         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
16397         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
16398         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
16399         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
16400         Moved ...
16401         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
16402         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
16403         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
16404         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
16405         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
16406         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
16407         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
16409 2014-06-10  Wilco  <wdijkstr@arm.com>
16411         * math/test-fenv-return.c: New file.
16412         * math/Makefile: Add new test test-fenv-return.
16414 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
16416         [BZ #17042]
16417         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
16418         when x - 1 is zero.
16419         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
16420         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
16421         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
16422         0.0L for an argument of 1.0L.
16423         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
16424         Likewise.
16425         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
16426         value when x - 1 is zero.
16427         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
16428         * sysdeps/i386/fpu/libm-test-ulps: Update.
16429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16431 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
16433         [BZ #15119]
16434         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
16436 2014-06-09  Roland McGrath  <roland@hack.frob.com>
16438         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
16439         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
16441 2014-06-09  Roland McGrath  <roland@hack.frob.com>
16443         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16444         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
16446         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16447         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
16449         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16450         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
16452         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16453         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
16455         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
16456         if not already defined.
16457         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
16458         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
16459         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
16460         (TLS_INIT_TP): Use it.
16461         (TLS_DEFINE_INIT_TP): New macro.
16462         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
16464 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
16466         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
16467         constant.
16468         [POSIX] (IXANY): Likewise.
16469         [POSIX] (OLCUC): Likewise.
16470         [POSIX || POSIX2008] (CBAUD): Do not allow.
16471         [POSIX || POSIX2008] (DEFECHO): Likewise.
16472         [POSIX || POSIX2008] (ECHOCTL): Likewise.
16473         [POSIX || POSIX2008] (ECHOKE): Likewise.
16474         [POSIX || POSIX2008] (ECHOPRT): Likewise.
16475         [POSIX || POSIX2008] (EXTA): Likewise.
16476         [POSIX || POSIX2008] (EXTB): Likewise.
16477         [POSIX || POSIX2008] (FLUSHO): Likewise.
16478         [POSIX || POSIX2008] (LOBLK): Likewise.
16479         [POSIX || POSIX2008] (PENDIN): Likewise.
16480         [POSIX || POSIX2008] (SWTCH): Likewise.
16481         [POSIX || POSIX2008] (VDISCARD): Likewise.
16482         [POSIX || POSIX2008] (VDSUSP): Likewise.
16483         [POSIX || POSIX2008] (VLNEXT): Likewise.
16484         [POSIX || POSIX2008] (VREPRINT): Likewise.
16485         [POSIX || POSIX2008] (VSTATUS): Likewise.
16486         [POSIX || POSIX2008] (VWERASE): Likewise.
16487         (B*): Change to B[0123456789]*.
16488         * conform/data/time.h-data [POSIX || UNIX98]
16489         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
16490         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16491         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
16492         [POSIX] (tm_*): Do not allow.
16494 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
16496         * Makefile (install): Don't set LANGUAGE.
16497         * Makefile.in (install): Likewise.
16498         * assert/Makefile (test-assert-ENV): Remove variable.
16499         (test-assert-perr-ENV): Likewise.
16500         * elf/Makefile (neededtest4-ENV): Likewise.
16501         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16502         [$(cross-compiling) = no]: Don't set LANGUAGE.
16503         * io/ftwtest-sh (LANG): Remove variable.
16504         * libio/Makefile (tst-widetext-ENV): Likewise.
16505         * manual/install.texi (Running make install): Don't refer to
16506         environment settings for make install.
16507         * INSTALL: Regenerated.
16508         * nptl/tst-tls6.sh: Don't set LANG.
16509         * posix/globtest.sh (LANG): Remove variable.
16510         * string/Makefile (tester-ENV): Likewise.
16511         (inl-tester-ENV): Likewise.
16512         (noinl-tester-ENV): Likewise.
16513         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16514         [$(cross-compiling) = no]: Don't set LANGUAGE.
16515         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
16516         without explicit environment settings.
16518 2014-06-06  Roland McGrath  <roland@hack.frob.com>
16520         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
16521         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
16522         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
16523         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
16525 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
16527         * crypt/crypt-private.h [DOS]: Add some includes taken from the
16528         other files in the crypt directory.
16529         * crypt/crypt.c: Remove duplicate includes.
16530         * crypt/crypt-entry.c: Likewise.
16531         * crypt/crypt_util.c: Likewise.
16533 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
16535         * Makeconfig (run-program-env): New variable.
16536         (run-program-prefix-before-env): Likewise.
16537         (run-program-prefix-after-env): Likewise.
16538         (run-program-prefix): Define in terms of new variables.
16539         (built-program-cmd-before-env): New variable.
16540         (built-program-cmd-after-env): Likewise.
16541         (built-program-cmd): Define in terms of new variables.
16542         (test-program-prefix-before-env): New variable.
16543         (test-program-prefix-after-env): Likewise.
16544         (test-program-prefix): Define in terms of new variables.
16545         (test-program-cmd-before-env): New variable.
16546         (test-program-cmd-after-env): Likewise.
16547         (test-program-cmd): Define in terms of new variables.
16548         * Rules (make-test-out): Use $(run-program-env).
16549         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
16550         (help): Do not mention environment variables.  Mention
16551         --timeoutfactor option.
16552         (timeoutfactor): New variable.
16553         (blacklist_exports): Remove function.
16554         (exports): Remove variable.
16555         (command): Do not include ${exports}.
16556         * manual/install.texi (Configuring and compiling): Do not mention
16557         test wrappers preserving environment variables.  Mention that last
16558         assignment to a variable must take precedence.
16559         * INSTALL: Regenerated.
16560         * benchtests/Makefile (run-bench): Use $(run-program-env).
16561         * catgets/Makefile ($(objpfx)test1.cat): Use
16562         $(built-program-cmd-before-env), $(run-program-env) and
16563         $(built-program-cmd-after-env).
16564         ($(objpfx)test2.cat): Do not specify environment variables
16565         explicitly.
16566         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
16567         $(run-program-env) and $(built-program-cmd-after-env).
16568         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
16569         $(run-program-env) and $(test-program-cmd-after-env).
16570         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
16571         explicitly.
16572         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
16573         run_program_env and test_program_cmd_after_env arguments.
16574         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
16575         * elf/tst-pathopt.sh: Use run_program_env argument.
16576         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
16577         $(test-wrapper-env) and $(run-program-env).
16578         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
16579         run_program_env arguments.
16580         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
16581         * intl/Makefile ($(objpfx)tst-gettext.out): Use
16582         $(test-program-prefix-before-env), $(run-program-env) and
16583         $(test-program-prefix-after-env).
16584         ($(objpfx)tst-gettext2.out): Likewise.
16585         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
16586         run_program_env and test_program_prefix_after_env arguments.
16587         * intl/tst-gettext2.sh: Likewise.
16588         * intl/tst-gettext4.sh: Do not set environment variables
16589         explicitly.
16590         * intl/tst-gettext6.sh: Likewise.
16591         * intl/tst-translit.sh: Likewise.
16592         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
16593         $(test-program-prefix-before-env), $(run-program-env) and
16594         $(test-program-prefix-after-env).
16595         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
16596         run_program_env and test_program_prefix_after_env arguments.
16597         * math/Makefile (run-regen-ulps): Use $(run-program-env).
16598         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
16599         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
16600         explicitly with each use of ${test_wrapper_env}.
16601         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
16602         $(test-program-prefix-before-env), $(run-program-env) and
16603         $(test-program-prefix-after-env).
16604         * posix/tst-getconf.sh: Do not set environment variables
16605         explicitly.
16606         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
16607         run_program_env and test_program_prefix_after_env arguments.
16608         * stdio-common/tst-printf.sh: Do not set environment variables
16609         explicitly.
16610         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
16611         $(test-program-prefix-before-env), $(run-program-env) and
16612         $(test-program-prefix-after-env).
16613         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
16614         run_program_env and test_program_prefix_after_env arguments.
16615         Split $test calls into $test_pre and $test.
16616         * timezone/Makefile (build-testdata): Use
16617         $(built-program-cmd-before-env), $(run-program-env) and
16618         $(built-program-cmd-after-env).
16620 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16622         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
16623         strlen for non SHARED builds.
16625 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16627         * nptl/allocatestack.c (check_list): Inlined function...
16628         (__reclaim_stacks): ... here.
16630 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
16632         [BZ #15698]
16633         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
16634         memory overrun.
16636 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
16638         * Rules (make-test-out): Include
16639         LOCPATH=$(common-objpfx)localedata in default environment.
16640         * debug/Makefile (tst-chk1-ENV): Remove variable.
16641         (tst-chk2-ENV): Likewise.
16642         (tst-chk3-ENV): Likewise.
16643         (tst-chk4-ENV): Likewise.
16644         (tst-chk5-ENV): Likewise.
16645         (tst-chk6-ENV): Likewise.
16646         (tst-lfschk1-ENV): Likewise.
16647         (tst-lfschk2-ENV): Likewise.
16648         (tst-lfschk3-ENV): Likewise.
16649         (tst-lfschk4-ENV): Likewise.
16650         (tst-lfschk5-ENV): Likewise.
16651         (tst-lfschk6-ENV): Likewise.
16652         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
16653         (tst-iconv7-ENV): Likewise.
16654         * intl/Makefile (LOCPATH-ENV): Likewise.
16655         (tst-codeset-ENV): Likewise.
16656         (tst-gettext3-ENV): Likewise.
16657         (tst-gettext5-ENV): Likewise.
16658         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
16659         (tst-fopenloc-ENV): Likewise.
16660         (tst-fgetws-ENV): Remove variable.
16661         (tst-ungetwc1-ENV): Likewise.
16662         (tst-ungetwc2-ENV): Likewise.
16663         (bug-ungetwc2-ENV): Likewise.
16664         (tst-swscanf-ENV): Likewise.
16665         (bug-ftell-ENV): Likewise.
16666         (tst-fgetwc-ENV): Likewise.
16667         (tst-fseek-ENV): Likewise.
16668         (tst-ftell-partial-wide-ENV): Likewise.
16669         (tst-ftell-active-handler-ENV): Likewise.
16670         (tst-ftell-append-ENV): Likewise.
16671         * posix/Makefile (tst-fnmatch-ENV): Likewise.
16672         (tst-regexloc-ENV): Likewise.
16673         (bug-regex1-ENV): Likewise.
16674         (tst-regex-ENV): Likewise.
16675         (tst-regex2-ENV): Likewise.
16676         (bug-regex5-ENV): Likewise.
16677         (bug-regex6-ENV): Likewise.
16678         (bug-regex17-ENV): Likewise.
16679         (bug-regex18-ENV): Likewise.
16680         (bug-regex19-ENV): Likewise.
16681         (bug-regex20-ENV): Likewise.
16682         (bug-regex22-ENV): Likewise.
16683         (bug-regex23-ENV): Likewise.
16684         (bug-regex25-ENV): Likewise.
16685         (bug-regex26-ENV): Likewise.
16686         (bug-regex30-ENV): Likewise.
16687         (bug-regex32-ENV): Likewise.
16688         (bug-regex33-ENV): Likewise.
16689         (bug-regex34-ENV): Likewise.
16690         (bug-regex35-ENV): Likewise.
16691         (tst-rxspencer-ENV): Likewise.
16692         (tst-rxspencer-no-utf8-ENV): Likewise.
16693         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
16694         (tst-sscanf-ENV): Likewise.
16695         (tst-swprintf-ENV): Likewise.
16696         (tst-swscanf-ENV): Likewise.
16697         (test-vfprintf-ENV): Likewise.
16698         (scanf13-ENV): Likewise.
16699         (bug14-ENV): Likewise.
16700         (tst-grouping-ENV): Likewise.
16701         * stdlib/Makefile (tst-strtod-ENV): Likewise.
16702         (tst-strtod3-ENV): Likewise.
16703         (tst-strtod4-ENV): Likewise.
16704         (tst-strtod5-ENV): Likewise.
16705         (testmb2-ENV): Likewise./
16706         * string/Makefile (tst-strxfrm-ENV): Likewise.
16707         (tst-strxfrm2-ENV): Likewise.
16708         (bug-strcoll1-ENV): Likewise.
16709         (test-strcasecmp-ENV): Likewise.
16710         (test-strncasecmp-ENV): Likewise.
16711         * time/Makefile (tst-strptime-ENV): Likewise.
16712         (tst-ftime_l-ENV): Likewise.
16713         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
16714         (tst-mbrtowc-ENV): Likewise.
16715         (tst-wcrtomb-ENV): Likewise.
16716         (tst-mbrtowc2-ENV): Likewise.
16717         (tst-c16c32-1-ENV): Likewise.
16718         (tst-mbsnrtowcs-ENV): Likewise.
16720 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
16722         * manual/resource.texi (How to get information about the memory
16723         subsystem?): Fix typo.
16724         Reported by Peon de la Parra Ivan <peon@keba.com>
16726 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
16728         [BZ #16882]
16729         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
16730         (pthread_spin_lock): Branch out of spin loop to proper location.
16731         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
16732         (pthread_spin_lock): Likewise.
16734         * nptl/tst-spin4.c: New test.
16735         * nptl/Makefile (tests): Add tst-spin4.
16737 2014-06-03  Andreas Schwab  <schwab@suse.de>
16739         [BZ #15946]
16740         * resolv/res_send.c (send_dg): Reload file descriptor after
16741         calling reopen.
16743 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
16745         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16747 2014-06-03  Richard Henderson  <rth@redhat.com>
16749         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
16750         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
16751         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
16752         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
16753         in the SAVE_PID block.
16754         (__libc_vfork): New alias.
16755         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
16757         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
16758         child in registers, not on the stack.  Remove RESET_PID conditionals.
16759         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
16761 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
16763         * sysdeps/aarch64/libm-test-ulps: Regenerate.
16765 2014-06-03  Wilco  <wdijkstr@arm.com>
16767         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
16768         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
16769         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
16770         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
16771         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
16772         Likewise.
16774 2014-06-03  Wilco  <wdijkstr@arm.com>
16776         * sysdeps/aarch64/fpu/math_private.h
16777         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
16778         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
16779         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
16780         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
16781         Fix declarations.
16783 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
16785         * crypt/crypt-private.h: Include ufc-crypt.h.
16786         (__b64_from_24bit): Declare extern.
16787         * crypt/crypt_util.c(__b64_from_24bit): New function.
16788         (b64t): New static const variable.
16789         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
16790         (b64t): Remove variable.
16791         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
16792         * crypt/sha256-crypt.c: Include crypt-private.h.
16793         (b64t): Remove variable.
16794         (__sha256_crypt_r): Remove b64_from_24bit and replace
16795         with __b64_from_24bit.
16796         * crypt/sha512-crypt.c: Likewise.
16798 2014-06-02  Roland McGrath  <roland@hack.frob.com>
16800         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
16801         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
16802         Label the code __libc_vfork rather than __vfork.
16803         [!NOT_IN_libc] (vfork): Define as weak alias.
16804         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
16805         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
16806         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
16808 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16810         * malloc/malloc.c (malloc_info): Fix format specifier for
16811         n_mmaps.
16813 2014-06-02  Wilco  <wdijkstr@arm.com>
16815         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
16816         FPCR write.
16818 2014-06-02  Wilco  <wdijkstr@arm.com>
16820         [BZ #17009]
16821         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
16822         Rewrite to reduce FPCR/FPSR accesses.
16824 2014-06-01  David S. Miller  <davem@davemloft.net>
16826         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16828 2014-05-31  David S. Miller  <davem@davemloft.net>
16830         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
16831         to occur in round to nearest mode when |x| >= 2.0
16833 2014-05-30  Richard Henderson  <rth@twiddle.net>
16835         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
16836         (PSEUDO_RET_NOERRNO): Remove.
16837         (ret): Don't redefine.
16838         (ret_NOERRNO): Define in terms of ret.
16839         (ret_ERRVAL): Likewise.
16841         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
16842         use of PSEUDO_RET; perform the error check directly.
16844 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
16846         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
16847         with __int128_t.
16849 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16851         * malloc/malloc (malloc_info): Fix formatting.
16853 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16854             Roland McGrath  <roland@hack.frob.com>
16856         * malloc/malloc (malloc_info): Also print mmapped statistics.
16858 2014-05-30  Roland McGrath  <roland@hack.frob.com>
16860         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
16861         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
16863 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
16865         * malloc/malloc.c (malloc_info): Inline mi_arena.
16867 2014-05-29  Richard Henderson  <rth@twiddle.net>
16869         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
16870         Remove comma before expanding ASM_ARGS_##nr.
16871         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
16872         Make _x0 a strict output; make _x8 a strict input; adjust expansion
16873         of ASM_ARGS_##nr.
16874         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
16875         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
16876         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
16877         (ASM_ARGS_1): Add leading comma.
16879         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
16880         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
16881         to __errno_location.
16882         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
16883         Remove the expected plt for __errno_location.
16885         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16886         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
16887         call to __read_tp.
16889         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16890         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
16891         it and break it down.
16892         (DOCARGS_0, DOCARGS_1): Do nothing.
16893         (DOCARGS_2): Update to store into the new stack frame.
16894         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
16895         (UNDOCARGS_1): Update to restore from the new stack frame.
16896         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
16897         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
16899         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16900         (SINGLE_THREAD_P): New parameter for result regno.
16901         (PSEUDO): Update to match; use cbz instead of beq.
16903         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16904         Use ENTRY to define the _nocancel entry point.  Share the syscall
16905         and syscall error check paths with the cancel path.
16906         (PSEUDO_END): New.
16908         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
16909         whitespace; tabs before and after asm mnemonics.
16911 2014-05-29  Eric Wong  <normalperson@yhbt.net>
16913         [BZ #15132]
16914         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16915         Call fstat64 or stat64 internally, depending on arguments passed.
16916         Replace stat buffer argument with file descriptor argument.
16917         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
16918         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
16919         Pass fd to __internal_statvfs instead of calling fstat64.
16920         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
16921         Pass fd to __internal_statvfs64 instead of calling fstat64.
16922         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
16923         Pass -1 to __internal_statvfs instead of calling stat64.
16924         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
16925         Pass -1 to __internal_statvfs64 instead of calling stat64.
16927 2014-05-28  Roland McGrath  <roland@hack.frob.com>
16929         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
16930         that was previously under [RESET_PID].
16931         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
16933         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
16934         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
16936 2014-05-27  Roland McGrath  <roland@hack.frob.com>
16938         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
16940         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
16941         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
16943 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
16945         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
16947 2014-05-27  Andreas Schwab  <schwab@suse.de>
16949         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
16950         TLS_INIT_TP macro.
16951         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
16952         * elf/rtld.c (init_tls, dl_main): Likewise.
16953         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
16954         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
16955         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
16956         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
16957         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
16958         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
16959         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
16960         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
16961         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
16962         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
16963         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
16964         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
16965         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
16966         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
16967         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
16968         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
16969         * sysdeps/generic/tls.h: Update description.
16971 2014-05-27  Will Newton  <will.newton@linaro.org>
16973         [BZ #16990]
16974         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
16975         and restore r2 rather than just restoring.
16977 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16979         [BZ #16724]
16980         * libio/tst-ftell-append.c: New test case.
16981         * libio/Makefile (tests): Add test case.
16982         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
16983         append mode.
16984         * libio/wfileops.c (do_ftell_wide): Likewise.
16986 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16988         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16990         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
16991         ...
16992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
16993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16994         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
16995         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
16996         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
16997         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
16998         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
16999         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
17000         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
17001         Moved ...
17002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
17003         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
17004         Moved ...
17005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
17006         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
17007         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
17008         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
17009         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
17010         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
17011         ...
17012         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
17013         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
17014         Moved ...
17015         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
17016         here.
17017         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
17018         ...
17019         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
17020         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
17021         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
17023         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
17024         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
17025         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
17026         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
17028         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
17029         merge into ...
17030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
17031         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
17032         ...
17033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
17034         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
17035         ...
17036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
17037         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
17038         Moved ...
17039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
17040         here.
17041         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
17042         Moved ...
17043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
17044         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
17045         Moved ...
17046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
17048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
17049         conditional [RESET_PID].
17050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
17051         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
17052         removed.
17053         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
17054         removed.
17056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
17057         <tcb-offsets.h>.
17058         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17059         (__libc_vfork): New strong alias.
17060         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
17061         removed.
17062         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
17063         Removed.
17065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
17066         <tcb-offsets.h>.
17067         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
17068         (__libc_vfork): New strong alias.
17069         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
17070         removed.
17071         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
17072         removed.
17074 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
17076         * malloc/malloc.c (mi_arena): New function.
17077         (malloc_info): Remove nested function mi_arena. Call non-nosted
17078         function mi_arena.
17080 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17082         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
17083         by insrwi.
17084         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
17085         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
17086         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
17087         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
17088         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
17089         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
17090         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
17092 2014-05-26  Andreas Schwab  <schwab@suse.de>
17094         [BZ #16984]
17095         * locale/programs/repertoire.c (repertoire_read): Add slash
17096         between I18NPATH element and file name.
17097         * locale/programs/locfile.c (locfile_read): Likewise.
17099 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
17101         * nptl/pthread_mutexattr_settype.c
17102         (__pthread_mutexattr_settype):
17103         Disable lock elision for PTHREAD_MUTEX_NORMAL.
17105 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
17107         * nptl/tst-mutex5 (do_test):
17108         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
17110 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17112         * benchtests/README: Document 'init' directive.
17113         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
17114         BENCH_INIT.
17115         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
17116         (parse_file): Recognize 'init' directive.
17118 2014-05-26  Kyle McMartin  <kyle@redhat.com>
17120         [BZ #16796]
17121         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
17122         alignment of struct pthread.
17124 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17126         [BZ #16878]
17127         * nscd/netgroupcache.c (addgetnetgrentX): Look for
17128         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
17129         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
17130         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
17132 2014-05-25  Richard Henderson  <rth@twiddle.net>
17134         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17135         (SINGLE_THREAD_P_PIC): Remove.
17136         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
17137         (SINGLE_THREAD_P_PIC): Remove.
17139         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
17140         branch to syscall error ...
17141         (PSEUDO): ... here.
17142         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
17143         from __local_syscall_error to .Lsyscall_error.
17144         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
17145         (SYSCALL_ERROR): Update label name.
17147         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17148         Do not use DOARGS/UNDOARGS.
17149         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
17150         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
17151         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
17152         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
17153         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
17155         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
17156         block comment.
17158         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
17159         define if !NOT_IN_libc.
17160         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
17161         define with non-default symbol versions.
17163 2014-05-23  Richard Henderson  <rth@twiddle.net>
17165         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
17166         (vfork, __vfork): Define via compat_symbol.
17168         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
17169         [!HAVE_IFUNC] (vfork_compat): Remove.
17170         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
17172 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
17174         [BZ #16978]
17175         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
17176         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
17177         variable.
17179 2014-05-23  Richard Henderson  <rth@twiddle.net>
17181         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
17182         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
17183         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
17184         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
17186         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
17187         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
17188         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
17189         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
17190         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
17191         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
17192         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
17193         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
17194         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
17195         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
17196         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
17197         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
17198         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
17199         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
17200         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
17201         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
17202         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
17203         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
17204         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
17205         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
17206         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
17207         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
17208         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
17209         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
17210         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
17211         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
17212         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
17213         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
17214         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
17215         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
17216         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
17217         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
17218         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
17219         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
17220         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
17221         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
17222         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
17223         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
17224         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
17225         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
17226         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
17227         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
17228         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
17229         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
17230         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
17231         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
17232         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
17233         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
17234         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
17235         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
17236         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
17237         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
17238         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
17239         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
17240         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
17241         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
17243         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
17244         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
17245         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
17246         before exiting on error.
17247         (__libc_vfork): New strong alias.
17248         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
17249         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
17251         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
17252         that was previously under [RESET_PID].
17253         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
17255         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
17257 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
17259         [BZ #16977]
17260         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
17261         value when x - 1 is zero.
17262         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
17263         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
17264         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
17265         0.0L for an argument of 1.0L.
17266         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
17267         Likewise.
17268         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
17269         value when x - 1 is zero.
17270         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
17271         * sysdeps/i386/fpu/libm-test-ulps: Update.
17272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17274 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
17276         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
17277         alphasort and versionsort.
17279 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17281         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
17282         macro.
17283         [copysignf]: Likewise.
17285 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
17287         * crypt/md5-crypt.c: Fix formatting.
17289 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
17291         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
17292         (b64_from_24bit): New function.
17294 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17296         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
17297         libc_hidden_builtin_def to ifunc.
17298         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
17299         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
17301 2014-05-21  Roland McGrath  <roland@hack.frob.com>
17303         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
17304         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
17306 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
17308         * nscd/Depend (linuxthreads): Remove.
17309         (nptl): Add.
17310         * resolv/Depend (linuxthreads): Remove.
17311         * rt/Depend (linuxthreads): Remove.
17313         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
17314         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
17315         $(common-objpfx)elf/.
17316         (link-libc-before-gnulib): Likewise.
17317         (elfobjdir): Remove variable.
17318         * Makefile (install): Use $(elf-objpfx) instead of
17319         $(common-objpfx)elf/.
17320         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
17321         $(elfobjdir)/.
17322         (link-libc-deps): Likewise.
17323         ($(common-objpfx)libc.so): Likewise.
17324         ($(common-objpfx)linkobj/libc.so): Likewise.
17325         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
17326         instead of $(common-objpfx)elf/.
17327         (symbolic-link-list): Likewise.
17328         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17329         [$(cross-compiling) = no]: Likewise.
17330         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
17331         $(elfobjdir)/.
17332         (static-gnulib-arch): Likewise.
17333         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17334         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
17335         $(common-objpfx)elf/.
17337 2014-05-21  Richard Henderson  <rth@redhat.com>
17339         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17340         (SINGLE_THREAD_P): Use the correct width load.  Fold
17341         into the ldr offset.
17343         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
17344         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
17346 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
17348         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
17349         (libgcc_s_resume): Use __attribute_used__.
17350         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
17351         Likewise.
17353 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17355         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
17356         optimization when used with float constants.
17358         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17360 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
17362         [BZ #16915]
17363         * locale/nl_langinfo_l.c: Make direct reference to every
17364         _nl_current_CATEGORY symbol.
17365         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
17366         (tests-static): Add tst-langinfo-static.
17367         (tests-special): Add tst-langinfo-static.out.
17368         ($(objpfx)tst-langinfo.out): Redirect output.
17369         ($(objpfx)tst-langinfo-static.out): New.
17370         * localedata/tst-langinfo.sh: Send output to stdout.
17371         * localedata/tst-langinfo-static.c: New file.
17373         [BZ #16965]
17374         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
17375         when the shift amount is modulo the limb size.
17377 2014-05-20  Richard Henderson  <rth@redhat.com>
17379         [BZ #16967]
17380         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
17381         Change type of sa_flags from unsigned int to int.
17383         [BZ #16966]
17384         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
17386         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
17388 2014-05-20  Will Newton  <will.newton@linaro.org>
17390         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17391         Test the return value of the system call in the nocancel case.
17393 2014-05-20  Will Newton  <will.newton@linaro.org>
17394             Yvan Roux  <yvan.roux@linaro.org>
17396         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
17397         #include of asm/ptrace.h.
17398         (PTRACE_GET_THREAD_AREA): Remove #undef.
17399         (PTRACE_GETHBPREGS): Likewise.
17400         (PTRACE_SETHBPREGS): Likewise.
17401         (struct user_regs_struct): New structure.
17402         (struct user_fpsimd_struct): New structure.
17403         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
17404         #include of asm/ptrace.h and second #include of sys/user.h.
17405         (PTRACE_GET_THREAD_AREA): Remove #undef.
17406         (PTRACE_GETHBPREGS): Likewise.
17407         (PTRACE_SETHBPREGS): Likewise.
17408         (ELF_NGREG): Use new struct user_regs_struct.
17409         (elf_fpregset_t): Use new struct user_fpsimd_struct.
17411 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17413         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
17414         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
17416 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
17418         [BZ #16958]
17419         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
17420         membar to avoid block loads/stores to overlap previous stores.
17422 2014-05-17  Richard Henderson  <rth@redhat.com>
17424         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
17425         Create the __##syscall_name##_nocancel entry point.
17426         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
17427         Remove; let the sysdep-cancel.h code create it.
17429 2014-05-17  David S. Miller  <davem@davemloft.net>
17431         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
17432         Protect with __USE_GNU.
17433         (TIOCSET_TEMPT): Likewise.
17434         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
17435         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
17436         these are already provided in bits/ioctl-types.h
17438 2014-05-16  Roland McGrath  <roland@hack.frob.com>
17440         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
17441         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
17443         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
17444         Use wait4 regardless of [__NR_waitpid].
17446 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
17448         PR libgcc/60166
17449         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17450         (_FP_NANSIGN_Q): Set the quiet bit.
17452 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
17454         * benchtests/Makefile
17455         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
17456         not $(common-objpfx)math/libm.so.
17457         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
17458         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
17459         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
17460         $(common-objpfx)dlfcn/libdl.so.
17461         ($(objpfx)tst-audit8): Depend on $(libm), not
17462         $(common-objpfx)math/libm.so.
17463         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
17464         not $(common-objpfx)dlfcn/libdl.so.
17465         * math/Makefile
17466         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17467         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
17468         [$(build-shared) = yes].
17469         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
17470         $(common-objpfx)nptl/libpthread.so.
17471         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
17472         $(common-objpfx)math/libm.so$(libm.so-version) or
17473         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
17474         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
17475         $(common-objpfx)dlfcn/libdl.so.
17476         * setjmp/Makefile (link-libm): Remove variable.
17477         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
17478         * stdio-common/Makefile (link-libm): Remove variable.
17479         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
17480         * stdlib/Makefile (link-libm): Remove variable.
17481         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
17482         ($(objpfx)tst-strtod-round): Likewise.
17483         ($(objpfx)tst-tininess): Likewise.
17484         ($(objpfx)tst-strtod-underflow): Likewise.
17485         ($(objpfx)tst-strtod6): Likewise.
17486         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
17487         $(libdl), not $(common-objpfx)nptl/libpthread.so and
17488         $(common-objpfx)dlfcn/libdl.so.
17490 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17492         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
17493         BSD terminal modes definitions.
17495 2014-05-16  Roland McGrath  <roland@hack.frob.com>
17497         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
17498         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
17500         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
17501         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
17502         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
17503         Don't do #include_next.
17504         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
17505         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
17506         Don't do #include_next.
17507         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
17508         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
17509         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
17510         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
17512 2014-05-16  Allan McRae  <allan@archlinux.org>
17514         * po/sv.po: Update Swedish translation from translation project.
17516         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
17517         in sed expression.
17519 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
17521         [BZ #16917]
17522         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
17523         errno if the TIOCGPTN ioctl fails with an error different than
17524         EINVAL.
17525         * login/tst-ptsname.c: New file.
17526         * login/Makefile (tests): Add tst-ptsname.
17528         [BZ #16943]
17529         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
17530         and prlimit64.
17532 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17534         [BZ #16849]
17535         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
17536         herrno to return EAI_AGAIN.
17538 2014-05-14  Roland McGrath  <roland@hack.frob.com>
17540         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
17541         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
17542         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
17543         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
17544         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
17545         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
17546         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
17547         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
17548         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
17549         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
17550         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
17551         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
17552         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
17553         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
17554         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
17555         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
17556         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
17557         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
17558         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
17559         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
17560         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
17561         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
17562         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
17563         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
17564         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
17565         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
17566         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
17567         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
17568         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
17569         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
17570         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
17571         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
17572         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
17573         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
17574         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
17575         Moved ...
17576         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
17577         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
17578         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
17579         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
17580         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
17581         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
17582         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
17583         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
17584         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
17585         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
17586         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
17587         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
17588         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
17589         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
17590         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
17591         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
17592         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
17593         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
17594         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
17595         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
17596         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
17597         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
17598         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
17599         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
17600         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
17601         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
17602         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
17603         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17604         Moved ...
17605         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
17606         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
17607         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
17608         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
17609         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
17610         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
17611         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
17612         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
17613         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
17614         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
17615         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
17616         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
17617         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
17618         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
17619         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
17620         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
17621         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
17622         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
17623         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
17624         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17625         Moved ...
17626         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
17627         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
17628         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
17630         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
17631         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
17632         (libpthread-sysdep_routines): Add elision-related stuff here instead.
17633         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
17634         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
17635         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
17636         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
17637         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
17638         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
17639         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
17640         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
17641         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
17642         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
17643         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
17644         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
17645         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
17646         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
17647         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
17648         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
17649         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
17650         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
17651         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
17652         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
17653         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
17654         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
17655         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
17656         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
17657         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
17658         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
17659         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
17660         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
17662         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
17663         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
17665         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
17666         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
17667         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
17668         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
17669         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
17670         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
17671         Moved ...
17672         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
17673         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
17674         Moved ...
17675         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
17676         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
17677         Moved ...
17678         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
17679         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
17680         Moved ...
17681         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
17682         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
17683         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
17684         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
17685         Moved ...
17686         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
17687         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
17688         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
17689         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
17690         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
17691         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
17692         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
17693         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
17694         Moved ...
17695         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
17696         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
17697         Moved ...
17698         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
17699         ... here.
17700         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
17701         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
17702         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
17703         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
17704         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
17705         Moved ...
17706         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
17707         ... here.
17708         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
17709         Moved ...
17710         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
17711         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
17712         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
17713         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
17714         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
17715         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
17716         Moved ...
17717         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
17718         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
17719         Moved ...
17720         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
17721         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
17722         Moved ...
17723         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
17724         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
17725         Moved ...
17726         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
17727         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
17728         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
17729         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
17730         Moved ...
17731         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
17732         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
17733         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
17734         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
17735         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
17736         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
17737         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
17738         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
17739         Moved ...
17740         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
17741         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
17742         Moved ...
17743         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
17744         ... here.
17745         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
17746         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
17747         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
17748         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
17749         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
17750         Moved ...
17751         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
17752         ... here.
17753         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
17754         Moved ...
17755         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
17756         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
17757         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
17758         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
17759         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
17760         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
17761         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
17762         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
17763         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
17764         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
17765         Moved ...
17766         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
17767         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
17768         Moved ...
17769         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
17770         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
17771         Moved ...
17772         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
17773         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
17774         Moved ...
17775         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
17776         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
17777         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
17778         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
17779         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
17780         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
17781         Moved ...
17782         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
17783         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
17784         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
17785         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
17786         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
17787         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
17788         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
17789         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
17790         Moved ...
17791         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
17792         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
17793         Moved ...
17794         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
17795         ... here.
17796         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
17797         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
17798         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
17799         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
17800         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
17801         Moved ...
17802         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
17803         ... here.
17804         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
17805         Moved ...
17806         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
17807         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
17808         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
17809         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
17810         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
17811         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
17812         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
17813         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
17814         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
17815         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
17816         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
17818         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
17819         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
17821         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
17822         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
17824         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
17825         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
17826         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
17827         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
17828         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
17829         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
17830         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
17831         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
17832         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
17833         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
17834         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
17835         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
17836         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
17837         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
17838         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
17839         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
17840         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
17841         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
17842         Moved ...
17843         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
17844         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
17845         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
17846         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
17847         Moved ...
17848         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
17849         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
17850         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
17851         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
17852         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
17853         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
17854         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
17855         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
17856         Moved ...
17857         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
17858         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
17859         Moved ...
17860         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
17861         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
17862         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
17863         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
17864         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
17865         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
17866         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
17867         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
17868         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
17869         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
17870         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
17871         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
17872         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
17873         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
17874         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
17875         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
17876         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
17878         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
17879         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
17880         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
17881         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
17882         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
17884         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
17885         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
17886         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
17887         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
17888         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
17889         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
17890         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
17891         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
17892         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
17893         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
17895         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
17896         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
17898         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
17899         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
17900         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
17901         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
17902         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
17903         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
17904         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
17905         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
17906         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
17907         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
17908         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
17909         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
17910         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
17911         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
17912         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
17913         Update #include.
17914         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
17915         Likewise.
17916         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
17917         Likewise.
17918         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
17919         Likewise.
17920         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
17921         Likewise.
17922         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
17923         Likewise.
17924         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
17925         Likewise.
17926         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
17927         Likewise.
17928         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
17929         Likewise.
17930         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
17931         Likewise.
17932         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
17933         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
17934         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
17935         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
17936         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
17937         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
17938         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
17939         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
17940         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
17941         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
17942         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
17943         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
17944         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
17945         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
17946         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
17948         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
17949         that was previously under [RESET_PID].
17950         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17951         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
17952         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
17954         * sysdeps/i386/nptl/Implies: New file.
17955         * sysdeps/x86_64/nptl/Implies: New file.
17956         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
17957         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
17958         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
17959         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
17961         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
17962         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17963         (__libc_vfork): New strong alias.
17964         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
17965         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
17967         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
17968         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17969         (__libc_vfork): New strong alias.
17970         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
17971         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
17973         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
17974         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17975         (__libc_vfork): New strong alias.
17976         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
17977         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
17978         * nptl/pt-vfork.c: New file.
17979         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
17980         (libpthread: GLIBC_2.20): New version set (empty).
17982 2014-05-14  Will Newton  <will.newton@linaro.org>
17984         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
17985         rather than #if.
17987 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
17989         [BZ #16564]
17990         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
17991         arguments with exponent 65 or above.
17992         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
17993         arguments 0x1p113L or above.
17994         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
17995         to arguments 0x1p107L or above.
17996         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
17997         positive arguments with exponent 65 or above.
17998         * math/auto-libm-test-in: Add more tests of log1p.
17999         * math/auto-libm-test-out: Regenerated.
18001         [BZ #16928]
18002         * math/s_cacos.c (__cacos): Ensure zero real part of result from
18003         non-finite arguments is +0.
18004         * math/s_cacosf.c (__cacosf): Likewise.
18005         * math/s_cacosl.c (__cacosl): Likewise.
18006         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
18007         * sysdeps/i386/fpu/libm-test-ulps: Update.
18008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18010         [BZ #16927]
18011         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
18012         value.
18013         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
18014         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
18015         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
18016         for explicit high bit of mantissa when testing for argument equal
18017         to 1.
18018         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
18019         * sysdeps/i386/fpu/libm-test-ulps: Update.
18020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18022         [BZ #16516]
18023         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
18024         (__erf): Scale by 16 instead of 8 in potentially underflowing
18025         case.  Ensure exception if result actually underflows.
18026         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
18027         (__erff): Scale by 16 instead of 8 in potentially underflowing
18028         case.  Ensure exception if result actually underflows.
18029         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
18030         (efx8): Remove variable.
18031         (__erfl): Scale by 16 instead of 8 in potentially underflowing
18032         case.  Ensure exception if result actually underflows.
18033         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
18034         (efx8): Remove variable.
18035         (__erfl): Scale by 16 instead of 8 in potentially underflowing
18036         case.  Ensure exception if result actually underflows.
18037         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
18038         (efx8): Remove variable.
18039         (__erfl): Scale by 16 instead of 8 in potentially underflowing
18040         case.  Ensure exception if result actually underflows.
18041         * math/auto-libm-test-in: Add more tests of erf.
18042         * math/auto-libm-test-out: Regenerated.
18044 2014-05-14  Andreas Schwab  <schwab@suse.de>
18046         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
18047         Remove code conditionalized on USE___THREAD.
18049         * config.h.in (HAVE_PT_CHOWN): Define as 0.
18050         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
18051         not definedness.
18053 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
18055         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
18056         Define unconditionally.
18057         (__ASSUME_O_CLOEXEC): Likewise.
18058         (__ASSUME_SOCK_CLOEXEC): Likewise.
18059         (__ASSUME_IN_NONBLOCK): Likewise.
18060         (__ASSUME_PIPE2): Likewise.
18061         (__ASSUME_EVENTFD2): Likewise.
18062         (__ASSUME_SIGNALFD4): Likewise.
18063         (__ASSUME_DUP3): Likewise.
18064         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18065         (__ASSUME_DUP3): Do not define.
18066         (__ASSUME_EVENTFD2): Likewise.
18067         (__ASSUME_IN_NONBLOCK): Likewise.
18068         (__ASSUME_O_CLOEXEC): Likewise.
18069         (__ASSUME_PIPE2): Likewise.
18070         (__ASSUME_SIGNALFD4): Likewise.
18071         (__ASSUME_SOCK_CLOEXEC): Likewise.
18072         (__ASSUME_UTIMES): Undefine.
18073         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18074         (__ASSUME_UTIMES): Do not define.
18075         (__ASSUME_O_CLOEXEC): Likewise.
18076         (__ASSUME_SOCK_CLOEXEC): Likewise.
18077         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
18078         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
18079         0x020621].
18080         (__ASSUME_PIPE2): Likewise.
18081         (__ASSUME_EVENTFD2): Likewise.
18082         (__ASSUME_SIGNALFD4): Likewise.
18083         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
18084         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
18085         Do not define.
18086         (__ASSUME_EVENTFD2): Likewise.
18087         (__ASSUME_SIGNALFD4): Likewise.
18088         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18089         (__ASSUME_32BITUIDS): Likewise.
18090         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18091         (__ASSUME_IPC64): Likewise.
18092         (__ASSUME_ST_INO_64_BIT): Likewise.
18093         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
18094         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
18095         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18096         (__ASSUME_UTIMES): Do not define.
18097         (__ASSUME_PSELECT): Likewise.
18098         (__ASSUME_PPOLL): Likewise.
18099         (__ASSUME_O_CLOEXEC): Likewise.
18100         (__ASSUME_SOCK_CLOEXEC): Likewise.
18101         (__ASSUME_IN_NONBLOCK): Likewise.
18102         (__ASSUME_PIPE2): Likewise.
18103         (__ASSUME_EVENTFD2): Likewise.
18104         (__ASSUME_SIGNALFD4): Likewise.
18105         (__ASSUME_DUP3): Likewise.
18106         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18107         (__ASSUME_UTIMES): 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/microblaze/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/mips/kernel-features.h (__ASSUME_IPC64):
18125         Likewise.
18126         (__ASSUME_UTIMES): Likewise.
18127         (__ASSUME_EVENTFD2): Likewise.
18128         (__ASSUME_SIGNALFD4): Likewise.
18129         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18130         (__ASSUME_O_CLOEXEC): Likewise.
18131         (__ASSUME_SOCK_CLOEXEC): Likewise.
18132         (__ASSUME_IN_NONBLOCK): Likewise.
18133         (__ASSUME_PIPE2): Likewise.
18134         (__ASSUME_EVENTFD2): Likewise.
18135         (__ASSUME_SIGNALFD4): Likewise.
18136         (__ASSUME_DUP3): Likewise.
18137         (__ASSUME_UTIMES): Undefine.
18139         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
18140         feclearexcept.  Remove symbol versioning code.
18141         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
18142         symbol versioning code.
18143         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
18144         symbol versioning code.
18145         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
18146         feupdateenv.  Remove symbol versioning code.
18147         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
18148         fegetexceptflag.  Remove symbol versioning code.
18149         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
18150         fesetexceptflag.  Remove symbol versioning code.
18151         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
18152         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
18153         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
18154         (__posix_fadvise64_l32): Remove prototype.
18155         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
18156         code.
18158 2014-05-13  Roland McGrath  <roland@hack.frob.com>
18160         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
18161         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
18162         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
18163         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
18165 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
18167         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
18168         current working directory
18170 2014-05-13  Roland McGrath  <roland@hack.frob.com>
18172         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
18173         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
18174         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
18175         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
18176         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
18177         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
18178         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
18179         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
18180         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
18181         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
18182         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
18183         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
18184         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
18185         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
18186         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
18187         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
18188         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
18189         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
18190         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
18191         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
18192         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
18193         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
18194         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
18195         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
18196         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
18197         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
18198         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
18199         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
18200         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
18201         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
18202         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
18203         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
18204         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
18205         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
18206         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
18207         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
18208         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
18209         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
18210         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
18211         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
18212         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
18213         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
18215         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
18216         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
18218         * sysdeps/unix/sysv/linux/arm/Makefile
18219         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
18220         Add rt-aeabi_unwind_cpp_pr1.
18221         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
18222         Add nptl-aeabi_unwind_cpp_pr1.
18223         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
18224         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
18225         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
18226         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
18227         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
18228         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
18230         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
18231         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
18232         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
18233         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
18235         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
18236         Deconditionalize the code that was previously under [RESET_PID].
18237         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
18239         * sysdeps/generic/exit-thread.h: New file.
18240         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
18241         * include/unistd.h (__exit_thread): Remove declaration.
18242         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
18243         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
18244         * csu/libc-start.c: Include <exit-thread.h>.
18245         (LIBC_START_MAIN): Pass no argument to __exit_thread.
18246         * nptl/pthread_create.c: Include <exit-thread.h>.
18247         (start_thread): Call __exit_thread in place of __exit_thread_inline.
18248         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
18249         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
18250         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
18251         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
18252         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
18253         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
18254         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
18255         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
18256         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
18257         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
18258         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
18259         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
18260         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
18261         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
18262         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
18263         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
18265 2014-05-13  Andreas Schwab  <schwab@suse.de>
18267         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
18269 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
18271         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
18272         (__ASSUME_UTIMES): Do not condition on kernel version.
18273         (__ASSUME_PSELECT): Define unconditionally.
18274         (__ASSUME_PPOLL): Likewise.
18275         (__ASSUME_ATFCTS): Likewise.
18276         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
18277         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
18278         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
18279         (__ASSUME_UTIMENSAT): Define unconditionally.
18280         (__ASSUME_PRIVATE_FUTEX): Likewise.
18281         (__ASSUME_FALLOCATE): Likewise.
18282         (__ASSUME_O_CLOEXEC): Likewise.
18283         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
18284         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
18285         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
18286         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
18287         (__ASSUME_IN_NONBLOCK): Likewise.
18288         (__ASSUME_PIPE2): Likewise.
18289         (__ASSUME_EVENTFD2): Likewise.
18290         (__ASSUME_SIGNALFD4): Likewise.
18291         (__ASSUME_DUP3): Likewise.
18292         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18293         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
18294         (__ASSUME_AT_RANDOM): Likewise.
18295         (__ASSUME_PREADV): Likewise.
18296         (__ASSUME_PWRITEV): Likewise.
18297         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
18298         (__ASSUME_F_GETOWN_EX): Define unconditionally.
18299         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
18300         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
18301         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
18302         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18303         (__ASSUME_O_CLOEXEC): Define unconditionally.
18304         (__ASSUME_PSELECT): Do not undefine conditionally.
18305         (__ASSUME_PPOLL): Likewise.
18306         (__ASSUME_ATFCTS): Likewise.
18307         (__ASSUME_SET_ROBUST_LIST): Likewise.
18308         (__ASSUME_UTIMENSAT): Likewise.
18309         (__ASSUME_FDATASYNC): Define unconditionally.
18310         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18311         (__ASSUME_SIGFRAME_V2): Likewise.
18312         )__ASSUME_EVENTFD2): Likewise.
18313         (__ASSUME_SIGNALFD4): Likewise.
18314         (__ASSUME_PSELECT): Do not undefine conditionally.
18315         (__ASSUME_PPOLL): Likewise.
18316         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18317         (__ASSUME_PSELECT): Define unconditionally.
18318         (__ASSUME_PPOLL): Likewise.
18319         (__ASSUME_O_CLOEXEC): Likewise.
18320         (__ASSUME_SOCK_CLOEXEC): Likewise.
18321         (__ASSUME_IN_NONBLOCK): Likewise.
18322         (__ASSUME_PIPE2): Likewise.
18323         (__ASSUME_EVENTFD2): Likewise.
18324         (__ASSUME_SIGNALFD4): Likewise.
18325         (__ASSUME_DUP3): Likewise.
18326         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18327         (__ASSUME_O_CLOEXEC): Likewise.
18328         (__ASSUME_SOCK_CLOEXEC): Likewise.
18329         (__ASSUME_IN_NONBLOCK): Likewise.
18330         (__ASSUME_PIPE2): Likewise.
18331         (__ASSUME_EVENTFD2): Likewise.
18332         (__ASSUME_SIGNALFD4): Likewise.
18333         (__ASSUME_DUP3): Likewise.
18334         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18335         (__ASSUME_EVENTFD2): Likewise.
18336         (__ASSUME_SIGNALFD4): Likewise.
18337         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18339 2014-05-12  Andreas Schwab  <schwab@suse.de>
18341         [BZ #16932]
18342         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
18343         (_nss_nis_gethostbyname4_r): Return error if item length is larger
18344         than maximum RPC packet size.
18345         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
18346         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
18347         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
18348         (_nss_nis_getservbyport_r): Likewise.
18350 2014-05-12  Will Newton  <will.newton@linaro.org>
18352         * malloc/Makefile (tests): Add tst-mallopt.
18353         * malloc/tst-mallopt.c: New file.
18355 2014-05-09  Roland McGrath  <roland@hack.frob.com>
18357         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
18358         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
18360 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18362         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
18363         (tst-tlsmod6.so): Likewise.
18365 2014-05-09  Roland McGrath  <roland@hack.frob.com>
18367         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
18369 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
18371         [BZ #16064]
18372         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
18373         and <dl-procinfo.h>.
18374         (__fegetenv): Save SSE state in envp->__eip if supported.
18375         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
18376         envp->__eip if supported.
18377         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
18378         and <dl-procinfo.h>.
18379         (__fesetenv): Always set __eip, __cs_selector, __opcode,
18380         __data_offset and __data_selector in environment to 0.  Set SSE
18381         state if supported.
18382         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
18383         test-fenv-sse.
18384         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
18385         -mfpmath=sse.
18386         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
18388 2014-05-09  Will Newton  <will.newton@linaro.org>
18390         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
18391         and libc_relro_required for ARM.
18392         * sysdeps/arm/preconfigure: Regenerate.
18394 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
18395             Stefan Liebler  <stli@linux.vnet.ibm.com>
18397         * config.make.in (enable-lock-elision): New Makefile variable.
18398         * configure.ac: Likewise.
18399         * configure: Regenerate.
18400         * sysdeps/s390/configure.ac:
18401         Add check for gcc transactions support.
18402         * sysdeps/s390/configure: Regenerate.
18403         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
18404         Build elision files if enabled.
18405         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
18406         Add lock elision support for s390.
18407         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
18408         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
18409         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
18410         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
18411         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
18412         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
18413         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
18414         Likewise.
18415         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
18416         Likewise.
18417         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
18418         Likewise.
18419         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
18420         Likewise.
18421         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
18422         (__lll_timedlock_elision, __lll_lock_elision)
18423         (__lll_unlock_elision, __lll_trylock_elision)
18424         (lll_timedlock_elision, lll_lock_elision)
18425         (lll_unlock_elision, lll_trylock_elision): Add.
18426         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18427         (pthread_mutex_t): Add lock elision support for s390.
18429 2014-05-14  Wilco  <wdijkstr@arm.com>
18431         * sysdeps/arm/fclrexcpt.c: Cleanup.
18432         * sysdeps/arm/fedisblxcpt.c: Cleanup.
18433         * sysdeps/arm/feenablxcpt.c: Cleanup.
18434         * sysdeps/arm/fegetenv.c: Cleanup.
18435         * sysdeps/arm/fegetexcept.c: Cleanup.
18436         * sysdeps/arm/fegetround.c: Cleanup.
18437         * sysdeps/arm/feholdexcpt.c: Cleanup.
18438         * sysdeps/arm/fesetenv.c: Cleanup.
18439         * sysdeps/arm/fesetround.c: Cleanup.
18440         * sysdeps/arm/feupdateenv.c: Cleanup.
18441         * sysdeps/arm/fgetexcptflg.c: Cleanup.
18442         * sysdeps/arm/fraiseexcpt.c: Cleanup.
18443         * sysdeps/arm/fsetexcptflg.c: Cleanup.
18444         * sysdeps/arm/ftestexcept.c: Cleanup.
18445         * sysdeps/arm/get-rounding-mode.h: Cleanup.
18446         * sysdeps/arm/setfpucw.c: Cleanup.
18448 2014-05-09  Will Newton  <will.newton@linaro.org>
18450         * sysdeps/arm/armv7/strcmp.S: New file.
18451         * NEWS: Mention addition of ARMv7 optimized strcmp.
18453 2014-05-08  Roland McGrath  <roland@hack.frob.com>
18455         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
18456         look for %.ac rather than %.in.
18458         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
18459         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
18460         * sysdeps/mach/hurd/configure: Regenerated.
18461         * sysdeps/unix/sysv/linux/configure: Regenerated.
18463         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
18465 2014-05-07  Steve Ellcey  <sellcey@mips.com>
18467         [BZ# 16922]
18468         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
18469         (LONG_SUB): Ditto.
18470         (PTR_SUB): Ditto.
18472 2014-05-07  Andreas Schwab  <schwab@suse.de>
18474         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
18475         when skipping over non-matching result from nscd.
18477 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
18479         [BZ #16876]
18480         * nptl/sockperf.c (client): Check socket return value.
18482         [BZ #16877]
18483         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
18484         nscd security class.
18486 2014-05-06  Roland McGrath  <roland@hack.frob.com>
18488         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
18489         * sysdeps/arm/unwind.h: ... here.
18491 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
18493         [BZ# 16916]
18494         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
18495         Define.
18497 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18499         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
18500         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
18501         multiarch strncpy for PPC64.
18502         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
18503         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
18504         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
18505         multiarch optimizations.
18506         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18507         (__libc_ifunc_impl_list): Likewise.
18508         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
18509         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
18510         multiarch stpncpy for PPC64.
18511         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
18512         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
18514 2014-05-06  Andreas Schwab  <schwab@suse.de>
18516         [BZ #16912]
18517         * gmon/mcount.c (_MCOUNT_DECL): Use
18518         atomic_compare_and_exchange_bool_acq instead of
18519         catomic_compare_and_exchange_bool_acq.
18521 2014-05-05  Roland McGrath  <roland@hack.frob.com>
18523         * elf/Makefile (others, install-bin): Remove pldd.
18524         (pldd-modules): Variable removed.
18525         ($(objpfx)pldd): Target removed.
18526         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
18527         (others, install-bin): Append pldd here.
18528         ($(objpfx)pldd): New target.
18530         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
18531         to 0, so the first #if test emitted later doesn't see it undefined.
18532         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
18533         * sysdeps/gnu/errlist.c: Regenerated.
18535 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18537         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
18538         [libc_hidden_builtin_def]: Define to empty value.
18539         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
18540         [libc_hidden_builtin_def]: Likewise.
18541         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
18542         [libc_hidden_builtin_def]: Likewise.
18543         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
18544         [libc_hidden_builtin_def]: Likewise.
18545         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
18546         __redirect_memcpy and define ifunc as default hidden symbol.
18547         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
18548         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
18550 2014-05-04  Adam Conrad  <adconrad@0c3.net>
18552         * locale/iso-4217.def: Reintroduce XDR currency.
18554 2014-05-04  Allan McRae  <allan@archlinux.org>
18556         * po/eo.po: Update Esperanto translation from translation project.
18558 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
18560         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
18561         and FEATURE_INDEX_MAX to 1.
18562         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
18564 2014-05-01  Steve Ellcey  <sellcey@mips.com>
18566         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
18567         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
18568         * iconvdata/big5.c (ONE_DIRECTION): Define.
18569         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
18570         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
18571         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
18572         * iconvdata/cp932.c (ONE_DIRECTION): Define.
18573         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
18574         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
18575         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
18576         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
18577         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
18578         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
18579         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
18580         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
18581         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
18582         * iconvdata/gbk.c (ONE_DIRECTION): Define.
18583         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
18584         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
18585         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
18586         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
18587         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
18588         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
18589         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
18590         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
18591         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
18592         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
18593         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
18594         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
18595         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
18596         * iconvdata/iso646.c (ONE_DIRECTION): Define.
18597         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
18598         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
18599         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
18600         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
18601         * iconvdata/johab.c (ONE_DIRECTION): Define.
18602         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
18603         * iconvdata/sjis.c (ONE_DIRECTION): Define.
18604         * iconvdata/t.61.c (ONE_DIRECTION): Define.
18605         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
18606         * iconvdata/tscii.c (ONE_DIRECTION): Define.
18607         * iconvdata/uhc.c (ONE_DIRECTION): Define.
18608         * iconvdata/unicode.c (ONE_DIRECTION): Define.
18609         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
18610         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
18611         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
18613 2014-05-01  Roland McGrath  <roland@hack.frob.com>
18615         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
18616         (_IO_JUMPS_OFFSET): Define to 0.
18618         * nptl/sysdeps/pthread/bits/libc-lock.h
18619         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
18620         (__libc_lock_define_initialized_recursive): Always define using
18621         initializer.  Modern compilers treat uninitialized (implicit zero) and
18622         explicit zero initializers the same (i.e. put the datum in bss).
18624 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
18626         * nscd/nscd-client.h: Include <string.h>.
18628 2014-05-01  David S. Miller  <davem@davemloft.net>
18630         [BZ #16885]
18631         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
18632         multiple zero bytes exist at the end of a string.
18633         Reported by Aurelien Jarno <aurelien@aurel32.net>
18635         * string/test-strcmp.c (check): Add explicit test for situations where
18636         there are multiple zero bytes after the first.
18638 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
18640         [BZ #16890]
18641         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
18642         when compiling wprintf.
18643         * stdio-common/tstdiomisc.c (t3): New function.
18644         (main): Call it.
18646 2014-05-01  Steve Ellcey  <sellcey@mips.com>
18648         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
18649         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
18650         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
18651         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
18653 2014-05-01  Steve Ellcey  <sellcey@mips.com>
18655         * stdlib/longlong.h: Updated from GCC.
18657 2014-05-01  Will Newton  <will.newton@linaro.org>
18658             Bernard Ogden  <bernie.ogden@linaro.org>
18660         * NEWS: Update fixed bug list.
18662         [BZ #15119]
18663         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
18665 2014-04-30  David S. Miller  <davem@davemloft.net>
18667         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
18668         (libc_feholdexcept_setround_sparc_ctx): New function.
18669         (libc_fesetenv_sparc_ctx): Likewise.
18670         (libc_feupdateenv_sparc_ctx): Likewise.
18671         (libc_feholdsetround_sparc_ctx): Likewise.
18672         (libc_feholdexcept_setround_ctx): Define.
18673         (libc_feholdexcept_setroundf_ctx): Likewise.
18674         (libc_feholdexcept_setroundl_ctx): Likewise.
18675         (libc_fesetenv_ctx): Likewise.
18676         (libc_fesetenvf_ctx): Likewise.
18677         (libc_fesetenvl_ctx): Likewise.
18678         (libc_feupdateenv_ctx): Likewise.
18679         (libc_feupdateenvf_ctx): Likewise.
18680         (libc_feupdateenvl_ctx): Likewise.
18681         (libc_feresetround_ctx): Likewise.
18682         (libc_feresetroundf_ctx): Likewise.
18683         (libc_feresetroundl_ctx): Likewise.
18684         (libc_feholdsetround_ctx): Likewise.
18685         (libc_feholdsetroundf_ctx): Likewise.
18686         (libc_feholdsetroundl_ctx): Likewise.
18688         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
18689         with __USE_GNU instead of XOPEN cpp guards.
18691         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
18692         0.
18694         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
18695         with XOPEN cpp guards.
18697 2014-04-30  Julian Brown  <julian@codesourcery.com>
18699         [BZ #16888]
18700         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
18701         handling.
18703 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
18705         [BZ #9894]
18706         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
18707         Change to 2.6.32.
18708         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
18709         * sysdeps/unix/sysv/linux/configure: Regenerated.
18710         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
18711         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
18712         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
18713         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
18714         * README: Update reference to required Linux kernel version.
18715         * manual/install.texi (Linux): Update reference to required Linux
18716         kernel headers version.
18717         * INSTALL: Regenerated.
18719         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
18720         header inclusion.
18721         [POSIX] (limits.h): Likewise.
18722         [POSIX] (math.h): Likewise.
18723         [POSIX] (sys/wait.h): Likewise.
18724         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
18725         function.
18726         [POSIX] (stddef.h): Do not allow header inclusion.
18728 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18730         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
18732 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
18734         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
18735         Return immediately after lll_futex_wake.
18737 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18739         [BZ #16791]
18740         * nscd/nscd-client.h (datahead_init_common): Initialize entire
18741         structure.
18742         (datahead_init_pos): Call datahead_init_common early.
18743         (datahead_init_neg): Likewise.
18745         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
18746         datahead_init_neg): New functions.
18747         * nscd/aicache.c (addhstaiX): Use them.
18748         * nscd/grpcache.c (cache_addgr): Likewise.
18749         * nscd/hstcache.c (cache_addhst): Likewise.
18750         * nscd/initgrcache.c (addinitgroupsX): Likewise.
18751         * nscd/netgroupcache.c (do_notfound): Likewise.
18752         (addgetnetgrentX): Likewise.
18753         (addinnetgrX): Likewise.
18754         * nscd/pwdcache.c (cache_addpw): Likewise.
18755         * nscd/servicescache.c (cache_addserv): Likewise.
18757 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18758             Atsushi Onoe  <atsushi@onoe.org>
18760         [BZ #14308]
18761         [BZ #12994]
18762         [BZ #13651]
18763         * resolv/res_query.c (__libc_res_nsearch): Return if at least
18764         one response is valid.
18765         * resolv/res_send.c (send_dg): Check for validity of other
18766         response if the current response is a referral.
18768 2014-04-29  Steve Ellcey  <sellcey@mips.com>
18770         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
18772 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
18774         [BZ #16823]
18775         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
18776         Always divide by positive zero when computing -Inf result.
18777         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
18778         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
18780 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18782         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
18783         FPSCR if value do not change.
18784         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18785         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
18786         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
18787         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
18788         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
18789         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
18790         function.
18792 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
18794         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
18795         * sysdeps/unix/sysv/linux/hppa: Move directory from
18796         ports/systeps/unix/sysv/linux/hppa.
18797         * README: Update listing for hppa-*-linux-gnu.
18799 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
18801         [BZ #16754]
18802         * manual/stdio.texi (Hook functions): Fix types of stream hook
18803         functions.
18804         [BZ #16854]
18805         * socket/sys/socket.h: Fix typo in comment.
18807 2014-04-28  Wilco  <wdijkstr@arm.com>
18809         * sysdeps/arm/fenv_private.h: New file.
18810         * sysdeps/arm/math_private.h: New file.
18811         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
18813 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
18815         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
18816         with __int128_t.
18817         (La_x86_64_retval): Likewise.
18819 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
18821         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
18822         fpsr if value didn't change.
18823         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
18824         to fpcr if value didn't change.
18825         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
18826         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
18827         fpsr or fpcr if value didn't change.
18828         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
18829         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
18830         fpcr if value didn't change.
18831         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
18832         to fpsr if value didn't change.
18834 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
18836         * nptl/tst-sem3.c: Use test-skeleton.c
18837         (main): Rename to do_test.  Use return instead of
18838         exit.
18839         * nptl/tst-sem4.c: Use test-skeleton.c
18840         (main): Rename to do_test.
18842 2014-04-22  David S. Miller  <davem@davemloft.net>
18844         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
18845         (struct sigaction): New struct member __glibc_reserved0, change
18846         type of sa_flags to int.
18848 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
18850         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
18851         (COUNT_LEADING_ZEROS_0): Define for AArch64.
18853 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18855         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
18856         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
18858 2014-04-22  Will Newton  <will.newton@linaro.org>
18859             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
18861         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
18862         (__longjmp): Add longjmp and longjmp_target SystemTap
18863         probes.
18864         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
18865         (__sigsetjmp): Add setjmp SystemTap probe.
18867 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
18869         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
18870         match manual order.
18872 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18874         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
18876         * sysdeps/powerpc/fpu/fenv_private.h
18877         (libc_feholdexcept_setroundl_ctx): Define to
18878         libc_feholdexcept_setround_ppc_ctx.
18879         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
18880         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
18881         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
18882         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
18884 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
18886         * sysdeps/aarch64/math-tests.h: New file.
18888 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
18890         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
18891         New.
18892         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18893         Check and set bit_AVX2_Usable.
18894         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
18895         macro.
18896         (bit_AVX2): Likewise.
18897         (index_AVX2_Usable): Likewise.
18898         (CPUID_AVX2): Likewise.
18899         (HAS_AVX2): Likewise.
18901 2014-04-17  Will Newton  <will.newton@linaro.org>
18903         * manual/setjmp.texi (System V contexts): Add note that
18904         calling setcontext on a context created by a call to a
18905         signal handler is undefined.  Update text to note that
18906         setcontext from a signal handler is possible but not
18907         recommended.
18909         [BZ #16629]
18910         * stdlib/tst-setcontext.c: Include signal.h.
18911         (main): Check that the signal stack before and
18912         after swapcontext is the same.
18914         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
18915         Re-implement to restore registers in user code and avoid
18916         rt_sigreturn system call.
18918 2014-04-17  Wilco  <wdijkstr@arm.com>
18920         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
18921         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
18922         * math/test-fenv.c: Skip exception trap tests on targets which only
18923         support non-stop mode.
18925 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
18926             Wilco Dijkstra  <wilco.dijkstra@arm.com>
18928         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
18929         (libc_feholdsetround_aarch64_ctx)
18930         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
18931         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
18932         (libc_feresetround_ctx, libc_feresetroundf_ctx)
18933         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
18934         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
18935         (libc_feresetround_noexl_ctx): Define.
18937 2014-04-16  Richard Henderson  <rth@redhat.com>
18939         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
18941         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
18942         unwind tables.
18944         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
18945         const from the non-libc, non-ldso copy.
18947         * sysdeps/alpha/libm-test-ulps: Regenerate.
18949 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
18950             Wilco Dijkstra  <wilco.dijkstra@arm.com>
18952         * sysdeps/aarch64/fpu/math_private.h: New file.
18954 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
18956         * sysdeps/aarch64/libm-test-ulps: Regenerate.
18958 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
18960         [BZ #16275]
18961         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
18962         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
18963         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
18964         Intel MPX bound registers before _dl_profile_fixup.
18965         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
18966         registers after _dl_profile_fixup.  Save and restore bound
18967         registers bnd0/bnd1 when calling _dl_call_pltexit.
18968         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
18969         (LR_BND_OFFSET): Likewise.
18970         (LRV_BND0_OFFSET): Likewise.
18971         (LRV_BND1_OFFSET): Likewise.
18973 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18975         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
18976         to...
18977         * sysdeps/mach/hurd/i386/tls.h: ... here.
18978         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
18979         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
18980         fields.
18982 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18984         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
18986 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
18988         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18990 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
18992         [BZ #14770]
18993         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
18994         * sysdeps/s390/configure: Regenerate.
18996         [BZ #16824]
18997         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
18998         Set round-to-nearest internally to reduce error accumulation.
19000 2014-04-16  Alan Modra  <amodra@gmail.com>
19002         [BZ #16740]
19003         [BZ #16619]
19004         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
19005         * math/libm-test.inc (frexp_test_data): Add tests.
19006         * NEWS: Update fixed bug list.
19008 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19010         * benchtests/Makefile: Depend on libraries in build directory.
19011         (bench-math): Separate out math tests.
19012         (bench-pthread): Separate out pthread tests.
19013         (bench): Include math and pthread tests.
19015 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
19017         [BZ #16831]
19018         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
19019         _dl_debug_initialize.
19021         * configure.ac: Remove SELinux header check.
19022         * configure: Regenerate.
19023         * nscd/selinux.c (perms): Array of const char* to permission names.
19024         (nscd_request_avc_has_perm): Call security_deny_unknown to find
19025         default policy. Call string_to_security_class and string_to_av_perm to
19026         translate strings. Enforce default policy and call avs_has_perm with
19027         results of translated strings.
19029 2014-04-13  David S. Miller  <davem@davemloft.net>
19031         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19033 2014-04-12  Allan McRae  <allan@archlinux.org>
19035         [BZ #16838]
19036         * manual/string.texi (Collation Functions): Fix qsort argument
19037         order in example.
19038         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19040 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
19042         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
19043         Make the test a no-op if there are no exceptions defined.
19045 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
19047         * elf/Makefile (tests): make tst-dlopen-aout conditional on
19048         enable-hardcoded-path-in-tests
19050 2014-04-11  Will Newton  <will.newton@linaro.org>
19052         * benchtests/Makefile (extra-objs): Add json-lib.o.
19053         (bench-func): Tidy up JSON output.
19054         * benchtests/bench-skeleton.c: Include json-lib.h.
19055         (main): Use JSON library functions to do output of
19056         benchmark results.
19057         * benchtests/bench-timing-type.c (main): Output the
19058         timing type simply, leaving formatting to the user.
19059         * benchtests/json-lib.c: New file.
19060         * benchtests/json-lib.h: Likewise.
19062 2014-04-11  Torvald Riegel  <triegel@redhat.com>
19064         [BZ #15215]
19065         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
19066         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
19067         memory barriers.  Add comments.
19068         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
19069         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
19070         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
19071         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
19072         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
19073         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
19075 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19077         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
19078         * sysdeps/s390/s390-64/configure.ac: ... this ...
19079         * sysdeps/s390/configure.ac: ... to here.
19080         * sysdeps/s390/s390-32/configure: Delete file.
19081         * sysdeps/s390/s390-64/configure: Delete file.
19082         * sysdeps/s390/configure: Regenerate.
19084 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
19086         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
19088 2014-04-11  Will Newton  <will.newton@linaro.org>
19090         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
19091         to zero if it is not defined elsewhere.  (mtrim): Test
19092         the value of MALLOC_DEBUG with #if rather than #ifdef.
19094 2014-04-10 Torvald Riegel  <triegel@redhat.com>
19096         * benchtests/pthread_once-inputs: New file.
19097         * benchtests/pthread_once-source.c: New file.
19098         * benchtests/README: Update documentation.
19100 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
19101             H.J. Lu  <hongjiu.lu@intel.com>
19103         [BZ #16275]
19104         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
19105         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
19106         * sysdeps/x86_64/configure: Regenerated.
19107         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
19108         macro.
19109         (REGISTER_SAVE_RAX): Likewise.
19110         (REGISTER_SAVE_RCX): Likewise.
19111         (REGISTER_SAVE_RDX): Likewise.
19112         (REGISTER_SAVE_RSI): Likewise.
19113         (REGISTER_SAVE_RDI): Likewise.
19114         (REGISTER_SAVE_R8): Likewise.
19115         (REGISTER_SAVE_R9): Likewise.
19116         (REGISTER_SAVE_BND0): Likewise.
19117         (REGISTER_SAVE_BND1): Likewise.
19118         (REGISTER_SAVE_BND2): Likewise.
19119         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
19120         bound registers when calling _dl_fixup.
19122 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19124         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
19125         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
19126         of its definition.
19127         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
19128         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
19129         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
19130         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
19131         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
19132         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
19133         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
19135 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
19137         [BZ #15514]
19138         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
19139         pathconf(_PC_NAME_MAX).
19141 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19143         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
19144         Remove macro usage.
19145         (__PTHREAD_SPINS): Move definition to ...
19146         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19147         (__PTHREAD_SPINS): ... here.
19148         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19149         (__PTHREAD_SPIN): Likewise.
19150         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
19151         (__PTHREAD_SPIN): Likewise.
19152         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
19153         (__PTHREAD_SPIN): Likewise.
19154         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
19155         (__PTHREAD_SPIN): Likewise.
19156         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
19157         (__PTHREAD_SPIN): Likewise.
19158         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
19159         (__PTHREAD_SPIN): Likewise.
19160         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
19161         (__PTHREAD_SPIN): Likewise.
19162         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
19163         (__PTHREAD_SPIN): Likewise.
19164         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
19165         (__PTHREAD_SPIN): Likewise.
19166         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
19167         (__PTHREAD_SPIN): Likewise.
19168         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
19169         (__PTHREAD_SPIN): Likewise.
19170         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
19171         (__PTHREAD_SPIN): Likewise.
19173         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
19174         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
19175         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
19176         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
19177         imply folder.
19178         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
19179         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
19180         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
19181         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
19182         correct imply path.
19183         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
19184         strlen symbol for non multi-arch builds.
19185         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
19186         missing hidden_def and weak_alias.
19188 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
19190         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
19192 2014-04-07  Will Newton  <will.newton@linaro.org>
19194         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
19195         and contents.  [!_LIBC] Remove #ifndef and contents.
19196         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
19197         * string/memccpy.c (__memccpy): Use ANSI prototype.
19198         * string/memfrob.c (memfrob): Likewise.
19199         * string/strcoll.c (STRCOLL): Likewise.
19200         * string/strlen.c (strlen): Likewise.
19201         * string/strtok.c (STRTOK): Likewise.
19202         * string/strcat.c: Remove unused #include of memcopy.h.
19203         (strcat): Use ANSI prototype.
19204         * string/strchr.c: Remove unused #include of memcopy.h.
19205         (strchr): Use ANSI prototype.
19206         * string/strcmp.c: Remove unused #include of memcopy.h.
19207         (strcmp): Use ANSI prototype.
19208         * string/strcpy.c: Remove unused #include of memcopy.h.
19209         (strcpy): Use ANSI prototype.
19211 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19213         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
19214         * config.make.in (config-extra-cppflags): Set it from
19215         libc_extra_cppflags.
19216         * configure.ac (libc_extra_cflags): Make it accumulate over
19217         configure fragments.
19218         (libc_extra_cppflags): New flag.
19219         * configure. Regenerate.
19220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
19221         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
19222         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
19223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19225         [BZ #16815]
19226         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
19227         result for FE_DOWNWARD rounding mode.
19228         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
19229         Likewise.
19230         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19232 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
19234         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
19235         in function argument name.
19237 2014-04-03  David Svoboda  <svoboda@cert.org>
19239         [BZ #5666]
19240         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
19241         explicitly.
19243 2014-04-03  Roland McGrath  <roland@hack.frob.com>
19245         * elf/dl-unmap-segments.h: New file.
19246         * sysdeps/generic/ldsodefs.h
19247         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
19248         * elf/dl-close.c: Include <dl-unmap-segments.h>.
19249         * elf/dl-fptr.c: Likewise.
19250         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
19251         * sysdeps/aarch64/tlsdesc.c: Likewise.
19252         * sysdeps/arm/tlsdesc.c: Likewise.
19253         * sysdeps/i386/tlsdesc.c: Likewise.
19254         * sysdeps/tile/dl-runtime.c: Likewise.
19255         * sysdeps/x86_64/tlsdesc.c: Likewise.
19256         * elf/dl-load.h: New file.
19257         * elf/dl-load.c: Include it.
19258         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
19259         Macros moved to dl-load.h.
19260         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
19261         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
19262         Use _dl_unmap_segments in place of __munmap.
19263         Break out segment-mapping loop into ...
19264         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
19266 2014-04-03  Will Newton  <will.newton@linaro.org>
19268         * elf/dl-lookup.c (do_lookup_x): Remove comment
19269         referring to nested function and move variable
19270         declarations down to before first use.
19272 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
19274         [BZ #16799]
19275         [BZ #16800]
19276         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
19277         with 0 numerator.
19278         * math/s_catanf.c (__catanf): Likewise.
19279         * math/s_catanh.c (__catanh): Likewise.
19280         * math/s_catanhf.c (__catanhf): Likewise.
19281         * math/s_catanhl.c (__catanhl): Likewise.
19282         * math/s_catanl.c (__catanl): Likewise.
19283         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
19284         by positive zero when computing -Inf result.
19285         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
19286         (catanh_test): Likewise.
19287         * sysdeps/i386/fpu/libm-test-ulps: Update.
19288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19290         [BZ #16789]
19291         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
19292         instead of using underflowing value in computing result.
19293         * math/s_clog10.c (__clog10): Likewise.
19294         * math/s_clog10f.c (__clog10f): Likewise.
19295         * math/s_clog10l.c (__clog10l): Likewise.
19296         * math/s_clogf.c (__clogf): Likewise.
19297         * math/s_clogl.c (__clogl): Likewise.
19298         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
19299         (clog10_test): Likewise.
19300         * sysdeps/i386/fpu/libm-test-ulps: Update.
19301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19303 2014-04-02  Alan Modra  <amodra@gmail.com>
19305         [BZ #16739]
19306         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
19307         output when value is near a power of two.  Use int64_t for lx and
19308         remove casts.  Use decimal rather than hex exponent constants.
19309         Don't use long double multiplication when double will suffice.
19310         * math/libm-test.inc (nextafter_test_data): Add tests.
19311         * NEWS: Add 16739 and 16786 to bug list.
19313         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
19315         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
19317 2014-04-01  Will Newton  <will.newton@linaro.org>
19319         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
19320         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
19322 2014-04-01  Florian Weimer  <fweimer@redhat.com>
19324         [BZ #13347]
19325         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
19326         * nptl/tst-setuid2.c: New file.
19327         * nptl/Makefile (xtests): Add tst-setuid2.
19329 2014-04-01  Alan Modra  <amodra@gmail.com>
19331         [BZ #16786]
19332         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
19334 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
19336         [BZ #6803]
19337         [BZ #6804]
19338         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
19339         set errno as appropriate.
19340         * math/w_scalbf.c (__scalbf): Likewise.
19341         * math/w_scalbl.c (__scalbl): Likewise.
19342         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
19343         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
19344         * math/libm-test.inc (scalb_test_data): Add errno expectations.
19345         Add more NaN tests.
19347         [BZ #16349]
19348         * math/w_atan2.c: Include <errno.h>.
19349         (__atan2): Set errno for result underflowing to zero.
19350         * math/w_atan2f.c: Include <errno.h>.
19351         (__atan2f): Set errno for result underflowing to zero.
19352         * math/w_atan2l.c: Include <errno.h>.
19353         (__atan2l): Set errno for result underflowing to zero.
19354         * math/auto-libm-test-in: Don't allow missing errno for some atan2
19355         tests.
19356         * math/auto-libm-test-out: Regenerated.
19358 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19360         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
19361         Encode instruction correctly in little endian.
19362         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
19363         Likewise.
19364         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
19365         Likewise.
19366         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
19367         Likewise.
19368         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
19369         Likewise.
19371 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
19373         [BZ #9894]
19374         * sysdeps/unix/sysv/linux/kernel-features.h
19375         [__sparc__ && !__arch64__ && !__sparc_v9__]
19376         (__ASSUME_SET_ROBUST_LIST): Do not define.
19377         [__sparc__ && !__arch64__ && !__sparc_v9__]
19378         (__ASSUME_FUTEX_LOCK_PI): Likewise.
19379         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
19380         Likewise.
19381         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19382         (__ASSUME_FUTEX_LOCK_PI): Undefine.
19383         (__ASSUME_REQUEUE_PI): Likewise.
19384         (__ASSUME_SET_ROBUST_LIST): Likewise.
19385         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19386         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
19387         Undefine.
19388         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19389         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
19390         Likewise.
19391         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
19392         Likewise.
19393         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
19394         Likewise.
19395         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19396         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
19397         Undefine.
19398         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
19399         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
19400         Likewise.
19402         [BZ #16648]
19403         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19404         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
19405         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
19407 2014-03-31  Will Newton  <will.newton@linaro.org>
19409         * benchtests/Makefile (bench): Add ffs and ffsll to list
19410         of tests.
19411         * benchtests/ffs-inputs: New file.
19412         * benchtests/ffsll-inputs: Likewise.
19414 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
19416         [BZ #16770]
19417         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
19418         too large before casting to int.
19419         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
19420         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
19421         * math/libm-test.inc (scalb_test_data): Add more tests.
19423 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19425         * benchtests/Makefile (DETAILED_OPT): New make option.
19426         (bench-func): Run benchmark program with -d if DETAILED_OPT is
19427         set.
19428         * benchtests/bench-skeleton.c: Include stdbool.h.
19429         (main): Store and print timings per input.
19430         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
19431         member to each argument value.
19432         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
19433         (_print_arg_data): Initialize per-input timing to 0.
19435         * benchtests/Makefile (timing-type): New binary.
19436         (bench-clean): Also remove bench-timing-type.
19437         (bench): New target for timing-type.
19438         (bench-func): Print output in JSON format.
19439         * benchtests/bench-skeleton.c (main): Print output in JSON
19440         format.
19441         * benchtests/bench-timing-type.c: New file.
19442         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
19443         (TIMING_PRINT_STATS): Remove.
19444         * benchtests/scripts/bench.py (_print_arg_data): Store variant
19445         name separately.
19447         * benchtests/bench-modf.c: Remove.
19448         * benchtests/modf-inputs: New inputs file.
19450 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
19452         [BZ #16362]
19453         * math/s_clog10.c (M_PI_LOG10E): New macro.
19454         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
19455         imaginary parts are 0.
19456         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
19457         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
19458         imaginary parts are 0.
19459         * math/s_clog10l.c (M_PI_LOG10El): New macro.
19460         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
19461         imaginary parts are 0.
19462         * math/libm-test.inc (clog10_test_data): Update expected results
19463         for when real and imaginary parts are 0.
19465 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
19467         * elf/dl-load.c: Finish conversion of __builtin_expect into
19468         __glibc_{un}likely.
19470 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
19472         [BZ #16348]
19473         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
19474         1+x for argument with exponent below -67.
19475         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
19476         Likewise.
19477         * math/auto-libm-test-in: Add more tests of exp.
19478         * math/auto-libm-test-out: Regenerated.
19480 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19482         [BZ #16759]
19483         * inet/getnetgrent_r.c (get_nonempty_val): New function.
19484         (nscd_getnetgrent): Use it.
19486         [BZ #16760]
19487         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
19488         of stpcpy.
19490 2014-03-27  Andi Kleen  <ak@linux.intel.com>
19492         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
19493         (lll_robust_lock, lll_cond_lock, lll_timedlock)
19494         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
19495         (lll_robust_unlock): Remove out of line section. Use cfi
19496         intrinsics.
19497         (LLL_STUB_UNWIND_INFO*): Remove.
19498         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
19499         (lll_robust_lock, lll_cond_lock, lll_timedlock)
19500         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
19501         (lll_robust_unlock): Remove out of line section. Use cfi
19502         intrinsics.
19503         (LLL_STUB_UNWIND_INFO*): Remove.
19505 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19507         [BZ #16758]
19508         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
19509         blank values.
19511 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
19513         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
19515 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
19517         [BZ #16198]
19518         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
19519         fnstenv.
19520         * math/test-fenv-preserve.c: New file.
19521         * math/Makefile (tests): Add test-fenv-preserve.
19523 2014-03-26  Will Newton <will.newton@linaro.org>
19525         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
19527 2014-03-25  Roland McGrath  <roland@hack.frob.com>
19529         * scripts/versionlist.awk: Partition the version sets and emit all
19530         GLIBC_* (sorted) before all others (sorted).
19532 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
19534         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
19535         GLIBC_2.2.5 version.
19537 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19539         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
19540         calls.
19542         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
19543         previous change.
19545         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19547 2014-03-25  Andreas Schwab  <schwab@suse.de>
19549         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
19550         label to be used after in6ailist is initialized.
19552 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19554         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19555         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
19557 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
19559         [BZ #16357]
19560         [BZ #16599]
19561         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
19562         min_plus_half.
19563         (fp_formats): Update initializers.
19564         (init_fp_formats): Initialize new field.
19565         (output_for_one_input_case): Allow underflow for results up to
19566         min_plus_half.
19567         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
19568         * math/auto-libm-test-in: Don't mark some underflows from asin and
19569         atanh as spurious.
19570         * math/auto-libm-test-out: Regenerated.
19571         * sysdeps/i386/fpu/libm-test-ulps: Update.
19572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19574 2014-03-25  Andreas Schwab  <schwab@suse.de>
19576         * libio/Makefile (tst-ftell-partial-wide-ENV)
19577         (tst-ftell-active-handler-ENV): Define.
19579 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
19581         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
19583 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
19585         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
19587 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
19589         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
19590         * sysdeps/x86_64/fpu/multiarch/e_exp.c
19591         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19593 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
19595         [BZ #16634]
19596         * elf/dl-load.c (open_verify): Add mode parameter.
19597         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
19598         (open_path): Change from boolean 'secure' to complete flag 'mode'
19599         (_dl_map_object): Adjust.
19600         * elf/Makefile (tests): Add tst-dlopen-aout.
19601         * elf/tst-dlopen-aout.c: New test.
19603 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
19605         [BZ #16714]
19606         * sysdeps/unix/sysv/linux/s390/bits/stat.h
19607         (struct stat): Rename member pad0 to __glibc_reserved0.
19609         [BZ #16712]
19610         * sysdeps/s390/s390-32/bits/wordsize.h
19611         (__WORDSIZE32_SIZE_ULONG): New define.
19612         * sysdeps/s390/s390-64/bits/wordsize.h
19613         (__WORDSIZE32_SIZE_ULONG): Likewise.
19614         * sysdeps/generic/stdint.h (SIZE_MAX):
19615         Define as UL if __WORDSIZE32_SIZE_ULONG.
19617         [BZ #16713]
19618         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
19619         (__glibc_reserved0): New variable.
19620         (sa_flags): Change type to int.
19622         * posix/Makefile (before-compile): Use += before-compile instead
19623         of a :=.
19625         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19626         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
19628 2014-03-20  Andreas Schwab  <schwab@suse.de>
19630         [BZ #16743]
19631         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
19632         non-matching result from nscd.
19634 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19636         * scripts/bench.py: Moved to ...
19637         * benchtests/scripts/bench.py: ... here.
19638         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
19640 2014-03-24  Andreas Schwab  <schwab@suse.de>
19642         [BZ #16002]
19643         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
19644         alloca_account and account alloca use for struct in6ailist.
19646 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
19648         [BZ #16284]
19649         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
19650         rounding mode to recompute results that overflow to infinity or
19651         underflow to zero.
19652         * math/auto-libm-test-in: Don't mark tests as expected to fail for
19653         bug 16284.
19654         * math/auto-libm-test-out: Regenerated.
19655         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
19656         (ccosh_test): Likewise.
19657         (csin_test_data): Use plus_oflow.
19658         (csin_test): Use ALL_RM_TEST.
19659         (csinh_test_data): Use plus_oflow.
19660         (csinh_test): Use ALL_RM_TEST.
19661         * sysdeps/i386/fpu/libm-test-ulps: Update.
19662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19664 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
19666         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
19667         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
19668         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
19670         [BZ #16731]
19671         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
19672         when x - 1 is zero.
19673         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
19674         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
19675         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
19676         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
19677         argument is 1.
19678         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
19679         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
19680         zero.
19681         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
19682         * sysdeps/i386/fpu/libm-test-ulps: Update.
19683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19685 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19687         * scripts/bench.pl: Remove file.
19688         * scripts/bench.py: New benchmark script.
19689         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
19690         * benchtests/README: Mention python dependency.
19691         * scripts/pylintrc: New file.
19692         * scripts/pylint: New file.
19694         * bits/mathdef.h: Use #ifdef instead of #if.
19695         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
19696         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19697         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
19698         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19699         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
19700         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19702 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19703             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
19705         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
19706         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
19707         and strpbrk-ppc64 objects.
19708         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19709         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
19710         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
19711         multiarch strpbrk for POWER7.
19712         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
19713         multiarch strpbrk for PPC64.
19714         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
19715         ifunc selector.
19716         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
19717         strpbrk for POWER7.
19719 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
19721         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
19722         (atan_test): Likewise.
19723         (atanh_test_data): Use NO_TEST_INLINE for two tests.
19724         (atanh_test): Use ALL_RM_TEST.
19725         (atan2_test_data): Likewise.
19726         (cabs_test): Likewise.
19727         (cacosh_test): Likewise.
19728         (carg_test): Likewise.
19729         (casin_test): Likewise.
19730         (casinh_test): Likewise.
19731         (cbrt_test): Likewise.
19732         (csqrt_test): Likewise.
19733         (erf_test): Likewise.
19734         (erfc_test): Likewise.
19735         (pow10_test): Likewise.
19736         (exp2_test): Likewise.
19737         (hypot_test): Likewise.
19738         (j0_test): Likewise.
19739         (j1_test): Likewise.
19740         (lgamma_test): Likewise.
19741         (gamma_test): Likewise.
19742         (sincos_test): Likewise.
19743         (tanh_test): Likewise.
19744         (y0_test): Likewise.
19745         (y1_test): Likewise.
19746         * sysdeps/i386/fpu/libm-test-ulps: Update.
19747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19749 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19751         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
19752         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
19753         and strcspn-ppc64 objects.
19754         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19755         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
19756         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
19757         multiarch strcspn for POWER7.
19758         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
19759         multiarch strcspn for PPC64.
19760         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
19761         ifunc selector.
19762         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
19763         strcspn for POWER7.
19765 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
19767         * math/gen-libm-test.pl (generate_testfile): Expect only function
19768         name as argument to AUTO_TESTS_* and pass results for all rounding
19769         modes to parse_args.
19770         (parse_auto_input): Separate inputs of automatic tests from
19771         outputs before storing in %auto_tests.
19772         * math/libm-test.inc (acos_test_data): Update call to
19773         AUTO_TESTS_f_f.
19774         (acos_test): Use ALL_RM_TEST.
19775         (acos_tonearest_test_data): Remove.
19776         (acos_test_tonearest): Likewise.
19777         (acos_towardzero_test_data): Likewise.
19778         (acos_test_towardzero): Likewise.
19779         (acos_downward_test_data): Likewise.
19780         (acos_test_downward): Likewise.
19781         (acos_upward_test_data): Likewise.
19782         (acos_test_upward): Likewise.
19783         (acosh_test_data): Update call to AUTO_TESTS_f_f.
19784         (asin_test_data): Likewise.
19785         (asin_test): Use ALL_RM_TEST.
19786         (asin_tonearest_test_data): Remove.
19787         (asin_test_tonearest): Likewise.
19788         (asin_towardzero_test_data): Likewise.
19789         (asin_test_towardzero): Likewise.
19790         (asin_downward_test_data): Likewise.
19791         (asin_test_downward): Likewise.
19792         (asin_upward_test_data): Likewise.
19793         (asin_test_upward): Likewise.
19794         (asinh_test_data): Update call to AUTO_TESTS_f_f.
19795         (atan_test_data): Likewise.
19796         (atanh_test_data): Likewise.
19797         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
19798         (cabs_test_data): Update call to AUTO_TESTS_c_f.
19799         (carg_test_data): Likewise.
19800         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
19801         (ccos_test_data): Update call to AUTO_TESTS_c_c.
19802         (ccosh_test_data): Likewise.
19803         (cexp_test_data): Likewise.
19804         (clog_test_data): Likewise.
19805         (clog10_test_data): Likewise.
19806         (cos_test_data): Update call to AUTO_TESTS_f_f.
19807         (cos_test): Use ALL_RM_TEST.
19808         (cos_tonearest_test_data): Remove.
19809         (cos_test_tonearest): Likewise.
19810         (cos_towardzero_test_data): Likewise.
19811         (cos_test_towardzero): Likewise.
19812         (cos_downward_test_data): Likewise.
19813         (cos_test_downward): Likewise.
19814         (cos_upward_test_data): Likewise.
19815         (cos_test_upward): Likewise.
19816         (cosh_test_data): Update call to AUTO_TESTS_f_f.
19817         (cosh_test): Use ALL_RM_TEST.
19818         (cosh_tonearest_test_data): Remove.
19819         (cosh_test_tonearest): Likewise.
19820         (cosh_towardzero_test_data): Likewise.
19821         (cosh_test_towardzero): Likewise.
19822         (cosh_downward_test_data): Likewise.
19823         (cosh_test_downward): Likewise.
19824         (cosh_upward_test_data): Likewise.
19825         (cosh_test_upward): Likewise.
19826         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
19827         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
19828         (ctan_test_data): Likewise.
19829         (ctan_test): Use ALL_RM_TEST.
19830         (ctan_tonearest_test_data): Remove.
19831         (ctan_test_tonearest): Likewise.
19832         (ctan_towardzero_test_data): Likewise.
19833         (ctan_test_towardzero): Likewise.
19834         (ctan_downward_test_data): Likewise.
19835         (ctan_test_downward): Likewise.
19836         (ctan_upward_test_data): Likewise.
19837         (ctan_test_upward): Likewise.
19838         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
19839         (ctanh_test): Use ALL_RM_TEST.
19840         (ctanh_tonearest_test_data): Remove.
19841         (ctanh_test_tonearest): Likewise.
19842         (ctanh_towardzero_test_data): Likewise.
19843         (ctanh_test_towardzero): Likewise.
19844         (ctanh_downward_test_data): Likewise.
19845         (ctanh_test_downward): Likewise.
19846         (ctanh_upward_test_data): Likewise.
19847         (ctanh_test_upward): Likewise.
19848         (erf_test_data): Update call to AUTO_TESTS_f_f.
19849         (erfc_test_data): Likewise.
19850         (exp_test_data): Likewise.
19851         (exp_test): Use ALL_RM_TEST.
19852         (exp_tonearest_test_data): Remove.
19853         (exp_test_tonearest): Likewise.
19854         (exp_towardzero_test_data): Likewise.
19855         (exp_test_towardzero): Likewise.
19856         (exp_downward_test_data): Likewise.
19857         (exp_test_downward): Likewise.
19858         (exp_upward_test_data): Likewise.
19859         (exp_test_upward): Likewise.
19860         (exp10_test_data): Update call to AUTO_TESTS_f_f.
19861         (exp10_test): Use ALL_RM_TEST.
19862         (exp10_tonearest_test_data): Remove.
19863         (exp10_test_tonearest): Likewise.
19864         (exp10_towardzero_test_data): Likewise.
19865         (exp10_test_towardzero): Likewise.
19866         (exp10_downward_test_data): Likewise.
19867         (exp10_test_downward): Likewise.
19868         (exp10_upward_test_data): Likewise.
19869         (exp10_test_upward): Likewise.
19870         (exp2_test_data): Update call to AUTO_TESTS_f_f.
19871         (expm1_test_data): Likewise.
19872         (expm1_test): Use ALL_RM_TEST.
19873         (expm1_tonearest_test_data): Remove.
19874         (expm1_test_tonearest): Likewise.
19875         (expm1_towardzero_test_data): Likewise.
19876         (expm1_test_towardzero): Likewise.
19877         (expm1_downward_test_data): Likewise.
19878         (expm1_test_downward): Likewise.
19879         (expm1_upward_test_data): Likewise.
19880         (expm1_test_upward): Likewise.
19881         (fma_test_data): Update call to AUTO_TESTS_fff_f.
19882         (fma_test): Use ALL_RM_TEST.
19883         (fma_towardzero_test_data): Remove.
19884         (fma_test_towardzero): Likewise.
19885         (fma_downward_test_data): Likewise.
19886         (fma_test_downward): Likewise.
19887         (fma_upward_test_data): Likewise.
19888         (fma_test_upward): Likewise.
19889         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
19890         (j0_test_data): Update call to AUTO_TESTS_f_f.
19891         (j1_test_data): Likewise.
19892         (jn_test_data): Update call to AUTO_TESTS_if_f.
19893         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
19894         (log_test_data): Update call to AUTO_TESTS_f_f.
19895         (log10_test_data): Likewise.
19896         (log1p_test_data): Likewise.
19897         (log2_test_data): Likewise.
19898         (pow_test_data): Update call to AUTO_TESTS_ff_f.
19899         (pow_tonearest_test_data): Likewise.
19900         (sin_test_data): Update call to AUTO_TESTS_f_f.
19901         (sin_test): Use ALL_RM_TEST.
19902         (sin_tonearest_test_data): Remove.
19903         (sin_test_tonearest): Likewise.
19904         (sin_towardzero_test_data): Likewise.
19905         (sin_test_towardzero): Likewise.
19906         (sin_downward_test_data): Likewise.
19907         (sin_test_downward): Likewise.
19908         (sin_upward_test_data): Likewise.
19909         (sin_test_upward): Likewise.
19910         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
19911         (sinh_test_data): Update call to AUTO_TESTS_f_f.
19912         (sinh_test): Use ALL_RM_TEST.
19913         (sinh_tonearest_test_data): Remove.
19914         (sinh_test_tonearest): Likewise.
19915         (sinh_towardzero_test_data): Likewise.
19916         (sinh_test_towardzero): Likewise.
19917         (sinh_downward_test_data): Likewise.
19918         (sinh_test_downward): Likewise.
19919         (sinh_upward_test_data): Likewise.
19920         (sinh_test_upward): Likewise.
19921         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
19922         (sqrt_test): Use ALL_RM_TEST.
19923         (sqrt_tonearest_test_data): Remove.
19924         (sqrt_test_tonearest): Likewise.
19925         (sqrt_towardzero_test_data): Likewise.
19926         (sqrt_test_towardzero): Likewise.
19927         (sqrt_downward_test_data): Likewise.
19928         (sqrt_test_downward): Likewise.
19929         (sqrt_upward_test_data): Likewise.
19930         (sqrt_test_upward): Likewise.
19931         (tan_test_data): Update call to AUTO_TESTS_f_f.
19932         (tan_test): Use ALL_RM_TEST.
19933         (tan_tonearest_test_data): Remove.
19934         (tan_test_tonearest): Likewise.
19935         (tan_towardzero_test_data): Likewise.
19936         (tan_test_towardzero): Likewise.
19937         (tan_downward_test_data): Likewise.
19938         (tan_test_downward): Likewise.
19939         (tan_upward_test_data): Likewise.
19940         (tan_test_upward): Likewise.
19941         (tanh_test_data): Update call to AUTO_TESTS_f_f.
19942         (tgamma_test_data): Likewise.
19943         (y0_test_data): Likewise.
19944         (y1_test_data): Likewise.
19945         (yn_test_data): Update call to AUTO_TESTS_if_f.
19946         (main): Do not call removed functions.
19948 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
19950         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
19951         (ldexp_test_data): Remove.
19952         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
19953         scalbn_test_data.
19954         (scalb_test): Use ALL_RM_TEST.
19956 2014-03-19  Andreas Schwab  <schwab@suse.de>
19958         * nscd/nscd.service: Also invalidate netgroup cache on reload.
19960 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
19962         [BZ #16649]
19963         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19964         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
19965         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
19966         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19967         (__ASSUME_PREADV): Undefine.
19968         (__ASSUME_PWRITEV): Likewise.
19970 2014-03-18  Roland McGrath  <roland@hack.frob.com>
19972         * bits/mman-linux.h: Add comment about non-Linux use.
19973         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
19974         bits/mman-linux.h resting place.
19976         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
19977         * bits/mman-linux.h: ... here.
19979 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19981         * conform/conformtest.pl: Add standard definition when calling C
19982         preprocessor on data files.
19983         (checknamespace): Remove unused variable.
19985 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
19987         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
19988         minus_oflow, plus_uflow and minus_uflow in expected results.
19989         * math/libm-test.inc (scalbn_test_data): Add more tests of
19990         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
19991         minus_uflow.
19992         (scalbn_test): Use ALL_RM_TEST.
19993         (scalbln_test_data): Add more tests of negative arguments.  Use
19994         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
19995         (scalbln_test): Use ALL_RM_TEST.
19997 2014-03-18  Roland McGrath  <roland@hack.frob.com>
19999         * scripts/abilist.awk: Ignore symbols marked with .hidden.
20001 2014-03-18  Will Newton  <will.newton@linaro.org>
20003         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
20004         inaccurate comment.
20006 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
20008         * Makerules [!subdir] (check-abi): Exit with error status if a
20009         test failed.
20011 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
20013         * math/libm-test.inc (nearbyint_test_data): Include all tests used
20014         for rint.  Include results for all rounding modes.
20015         (nearbyint_test): Use ALL_RM_TEST.
20016         (rint_test_data): Include all tests used for nearbyint.
20018 2014-03-17  Will Newton  <will.newton@linaro.org>
20020         * nptl/sysdeps/pthread/pthread.h: Revert previous
20021         change.
20023         * sysdeps/generic/ldsodefs.h: Revert previous
20024         change.
20026         * libio/genops.c: Revert previous change.
20027         * libio/libioP.h: Likewise.
20028         * stdio-common/vfprintf.c: Likewise.
20030         * sysdeps/generic/math_private.h: Revert previous
20031         change.
20033         * sysdeps/generic/math_private.h: Check whether
20034         HAVE_RM_CTX is defined with #ifdef rather
20035         than #if.
20037         * argp/argp-fmtstream.h: Check whether
20038         __STRICT_ANSI__ is defined with #ifdef rather
20039         than #if.
20040         * argp/argp.h: Likewise.
20042         * libio/genops.c: Check whether
20043         _IO_JUMPS_OFFSET is defined with #ifdef rather
20044         than #if.
20045         * libio/libioP.h: Likewise.
20046         * stdio-common/vfprintf.c: Likewise.
20048         * sysdeps/generic/ldsodefs.h: Check whether
20049         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
20050         than #if.
20052         * nptl/sysdeps/pthread/pthread.h: Check
20053         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
20054         its value.
20056 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20058         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
20059         setting O_APPEND.
20060         * libio/tst-ftell-active-handler.c (do_append_test): Add a
20061         test case.
20063         [BZ #16680]
20064         * libio/fileops.c (_IO_file_open): Seek to end of file but
20065         don't cache the offset.
20066         (get_file_offset): Remove function.
20067         (do_ftell): Use cached offset when available.
20068         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
20069         don't cache the offset.
20070         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
20071         case.
20072         (do_one_test): Call it.
20073         (do_ftell_test): Fix up expected old offset for a+ mode.
20074         * libio/wfileops.c (do_ftell_wide): Used cached offset when
20075         available.
20077         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
20078         up test status with function return status.
20079         (do_write_test): Likewise.
20080         (do_append_test): Likewise.
20082         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
20083         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
20084         Remove.
20086 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
20088         * math/gen-libm-test.pl (parse_args): Handle results specified for
20089         each rounding mode separately.
20090         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
20091         tests and results from lrint_tonearest_test_data,
20092         lrint_towardzero_test_data, lrint_downward_test_data and
20093         lrint_upward_test_data.
20094         (lrint_test): Use ALL_RM_TEST.
20095         (lrint_tonearest_test_data): Remove.
20096         (lrint_test_tonearest): Likewise.
20097         (lrint_towardzero_test_data): Likewise.
20098         (lrint_test_towardzero): Likewise.
20099         (lrint_downward_test_data): Likewise.
20100         (lrint_test_downward): Likewise.
20101         (lrint_upward_test_data): Likewise.
20102         (lrint_test_upward): Likewise.
20103         (llrint_test_data): Merge in per-rounding-mode tests and results
20104         from llrint_tonearest_test_data, llrint_towardzero_test_data,
20105         llrint_downward_test_data and llrint_upward_test_data.
20106         (llrint_test): Use ALL_RM_TEST.
20107         (llrint_tonearest_test_data): Remove.
20108         (llrint_test_tonearest): Likewise.
20109         (llrint_towardzero_test_data): Likewise.
20110         (llrint_test_towardzero): Likewise.
20111         (llrint_downward_test_data): Likewise.
20112         (llrint_test_downward): Likewise.
20113         (llrint_upward_test_data): Likewise.
20114         (llrint_test_upward): Likewise.
20115         (rint_test_data): Merge in per-rounding-mode tests and results
20116         from rint_tonearest_test_data, rint_towardzero_test_data,
20117         rint_downward_test_data and rint_upward_test_data.  Add
20118         per-rounding-mode results for tests not in those arrays.
20119         (rint_test): Use ALL_RM_TEST.
20120         (rint_tonearest_test_data): Remove.
20121         (rint_test_tonearest): Likewise.
20122         (rint_towardzero_test_data): Likewise.
20123         (rint_test_towardzero): Likewise.
20124         (rint_downward_test_data): Likewise.
20125         (rint_test_downward): Likewise.
20126         (rint_upward_test_data): Likewise.
20127         (rint_test_upward): Likewise.
20128         (main): Don't call removed functions.
20130 2014-03-14  Roland McGrath  <roland@hack.frob.com>
20132         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
20133         "Compiled on ..." crapola.  It is anti-useful.
20135 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
20137         * scripts/evaluate-test.sh: Handle fourth argument to determine
20138         whether test run should stop on failure.
20139         * Makeconfig (stop-on-test-failure): New variable.
20140         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
20141         $(stop-on-test-failure).
20142         * Makefile (tests): Give a summary of results from testing and
20143         exit with failure status if they include an ERROR or FAIL.
20144         (xtests): Likewise.
20145         * manual/install.texi (Configuring and compiling): Mention
20146         stop-on-test-failure=y.
20147         * INSTALL: Regenerated.
20149 2014-03-14  Roland McGrath  <roland@hack.frob.com>
20151         * scripts/versionlist.awk: New file.
20152         * Makerules [$(build-shared) = yes]
20153         (postclean-generated): Add Versions.def, not Versions.def.v and
20154         Versions.def.v.i.
20155         ($(common-objpfx)Versions.def.v.i): Target removed.
20156         ($(common-objpfx)Versions.def): New target.
20157         ($(common-objpfx)Versions.all): Depend on that rather that
20158         $(common-objpfx)Versions.def.v.
20159         * Versions.def: File removed.
20161         * Makeconfig (+gccwarn): Add -Wundef.
20162         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
20163         a dl-sysdep.h breaking its contract.
20164         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
20165         * include/stackinfo.h: New file.
20166         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
20167         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
20168         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
20169         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
20170         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
20171         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
20172         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20173         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20174         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20175         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20176         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20177         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
20178         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20179         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20180         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20182 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20184         [BZ #16707]
20185         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
20186         implementation.
20187         * math/libm-test.inc (round_test_data): Add more tests.
20189         [BZ #16706]
20190         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
20191         implementation.
20192         * math/libm-test.inc (nearbyint_test_data): Add more tests.
20194         [BZ #16701]
20195         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
20196         implementation.
20197         * math/libm-test.inc (ceil_test_data): Add more tests.
20199         * math/libm-test.inc (trunc_test_data): Add more tests related to
20200         BZ#16414.
20202 2014-03-14  Roland McGrath  <roland@hack.frob.com>
20204         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
20205         with #if rather than #ifdef.
20206         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
20208 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
20210         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
20211         first.  Disable AVX-512 GCC support if assembler doesn't support
20212         it.
20213         * sysdeps/x86_64/configure: Regenerated.
20215 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
20217         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
20218         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
20219         (__old_pthread_attr_setstack): Likewise.
20220         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
20221         [!_STACK_GROWS_DOWN]: Likewise.
20223 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
20225         * config.make.in (have-bash2): Delete.
20226         * configure.ac (libc_cv_have_bash2): Delete.
20227         * configure: Regenerate.
20228         * elf/Makefile (common-ldd-rewrite): Rename to ...
20229         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
20230         (sh-ldd-rewrite): Delete.
20231         (bash-ldd-rewrite): Delete.
20232         (have-bash2): Delete checks.
20233         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
20234         ldd-rewrite.
20236         * config.make.in (have-ksh): Delete.
20237         (KSH): Delete.
20238         * configure.ac (libc_cv_have_ksh): Delete.
20239         * configure: Regenerate.
20241         * elf/Makefile: Delete $(have-ksh) check.
20242         ($(objpfx)sotruss): Change KSH to BASH.
20243         * elf/sotruss.ksh: Rename to ...
20244         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
20245         function style to match POSIX.  Drop ksh vim mode setting.
20247         * manual/time.texi (Specifying the Time Zone with TZ): Change
20248         Tuesday to Thursday.
20250         * debug/tst-longjmp_chk2.c: Update header comment.
20251         (stackoverflow_handler): Add comment.  Call assert on pass value.
20253 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
20255         [BZ #16194]
20256         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
20257         (HAVE_AVX512_ASM_SUPPORT): Likewise.
20258         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
20259         (La_x86_64_vector): Add zmm.
20260         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
20261         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
20262         ($(objpfx)tst-audit10): New target.
20263         ($(objpfx)tst-audit10.out): Likewise.
20264         (tst-audit10-ENV): New.
20265         (AVX512-CFLAGS): Likewise.
20266         (CFLAGS-tst-audit10.c): Likewise.
20267         (CFLAGS-tst-auditmod10a.c): Likewise.
20268         (CFLAGS-tst-auditmod10b.c): Likewise.
20269         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
20270         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
20271         * sysdeps/x86_64/configure: Regenerated.
20272         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
20273         AVX-512 zmm register support.
20274         (_dl_x86_64_save_sse): Likewise.
20275         (_dl_x86_64_restore_sse): Likewise.
20276         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
20277         size vector registers.
20278         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
20279         (ZMM_SIZE): Likewise.
20280         * sysdeps/x86_64/tst-audit10.c: New file.
20281         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
20282         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
20284 2014-03-13  Roland McGrath  <roland@hack.frob.com>
20286         * configure.ac (HAVE_EHDR_START): New check.
20287         * configure: Regenerated.
20288         * config.h.in (HAVE_EHDR_START): New #undef.
20289         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
20290         assuming the lowest-addressed segment maps the start of the file.
20292 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
20294         * INSTALL: Regenerated.
20296 2014-03-13  Will Newton  <will.newton@linaro.org>
20298         * manual/setjmp.texi (System V contexts): Improve
20299         clarity and grammar of documentation.
20301 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
20303         [BZ #16381]
20304         * elf/Makefile (tests): Add tst-pie2.
20305         (tests-pie): Add tst-pie2.
20306         * elf/tst-pie2.c: New file.
20307         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
20308         for ET_EXEC.
20309         * elf/rtld.c (map_doit): Load executable as lt_executable.
20310         (dl_main): Likewise.
20312 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
20314         [BZ #16642]
20315         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20316         (__ASSUME_PSELECT): Undefine.
20318 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20320         [BZ #16689]
20321         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
20322         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
20323         static build.
20324         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
20325         selector for static builds.
20327 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20329         [BZ #16695]
20330         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
20331         key in the buffer.
20333 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20335         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
20336         IFUNC selector for static builds.
20338 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
20340         * sysdeps/mips/math_private.h [__mips_hard_float]
20341         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
20342         libc_feresetround_mips_ctx.
20343         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
20344         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
20345         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
20347         [BZ #16677]
20348         * math/s_nextafter.c (__nextafter): Do not return value from
20349         overflowing computation.
20350         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
20351         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
20352         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
20353         Likewise.
20354         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
20355         Likewise.
20356         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
20357         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
20359 2014-03-11  Roland McGrath  <roland@hack.frob.com>
20361         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
20362         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
20363         Move sfi_sp use from the load-multiple (that no longer sets sp) to
20364         the new mov targetting sp.
20366 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20368         [BZ #16683]
20369         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
20370         Define it for static builds as well.
20371         (NO_BZERO_IMPL): Likewise.
20373 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20375         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
20376         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
20377         multiarch strspn for PPC64.
20378         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
20379         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
20380         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20381         (__libc_ifunc_impl_list): Likewise.
20382         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
20383         multiarch optimizations
20384         * string/strspn.c (strspn): Using macro to redefine symbol name.
20386 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20387             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20389         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
20390         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
20391         multiarch strncat for PPC64.
20392         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
20393         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
20394         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20395         (__libc_ifunc_impl_list): Likewise.
20396         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
20397         multiarch optimizations
20399 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20401         [BZ #16639]
20402         * nscd/nscd.service: Make service type forking.
20404 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20406         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
20407         sign in non default rounding modes.
20408         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
20410 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
20412         * math/libm-test.inc (ALL_RM_TEST): New macro.
20413         (ceil_test): Use ALL_RM_TEST.
20414         (cimag_test): Likewise.
20415         (conj_test): Likewise.
20416         (copysign_test): Likewise.
20417         (cproj_test): Likewise.
20418         (creal_test): Likewise.
20419         (fabs_test): Likewise.
20420         (floor_test): Likewise.
20421         (fmax_test): Likewise.
20422         (fmin_test): Likewise.
20423         (fmod_test): Likewise.
20424         (fpclassify_test): Likewise.
20425         (frexp_test): Likewise.
20426         (ilogb_test): Likewise.
20427         (isfinite_test): Likewise.
20428         (finite_test): Likewise.
20429         (isgreater_test): Likewise.
20430         (isgreaterequal_test): Likewise.
20431         (isinf_test): Likewise.
20432         (isless_test): Likewise.
20433         (islessequal_test): Likewise.
20434         (islessgreater_test): Likewise.
20435         (isnan_test): Likewise.
20436         (isnormal_test): Likewise.
20437         (issignaling_test): Likewise.
20438         (isunordered_test): Likewise.
20439         (logb_test): Likewise.
20440         (logb_downward_test_data): Remove.
20441         (logb_test_downward): Likewise.
20442         (lround_test): Use ALL_RM_TEST.
20443         (llround_test): Likewise.
20444         (modf_test): Likewise.
20445         (nexttoward_test): Likewise.
20446         (remainder_test): Likewise.
20447         (drem_test): Likewise.
20448         (remainder_tonearest_test_data): Likewise.
20449         (remainder_test_tonearest): Likewise.
20450         (drem_test_tonearest): Likewise.
20451         (remainder_towardzero_test_data): Likewise.
20452         (remainder_test_towardzero): Likewise.
20453         (drem_test_towardzero): Likewise.
20454         (remainder_downward_test_data): Likewise.
20455         (remainder_test_downward): Likewise.
20456         (drem_test_downward): Likewise.
20457         (remainder_upward_test_data): Likewise.
20458         (remainder_test_upward): Likewise.
20459         (drem_test_upward): Likewise.
20460         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
20461         (round_test): Use ALL_RM_TEST.
20462         (signbit_test): Likewise.
20463         (trunc_test): Likewise.
20464         (significand_test): Likewise.
20465         (main): Don't call removed functions.
20467 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
20469         [BZ #16674]
20470         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
20471         || __USE_XOPEN2K8].
20472         (ILL_ILLOPN): Likewise.
20473         (ILL_ILLADR): Likewise.
20474         (ILL_ILLTRP): Likewise.
20475         (ILL_PRVOPC): Likewise.
20476         (ILL_PRVREG): Likewise.
20477         (ILL_COPROC): Likewise.
20478         (ILL_BADSTK): Likewise.
20479         (FPE_INTDIV): Likewise.
20480         (FPE_INTOVF): Likewise.
20481         (FPE_FLTDIV): Likewise.
20482         (FPE_FLTOVF): Likewise.
20483         (FPE_FLTUND): Likewise.
20484         (FPE_FLTRES): Likewise.
20485         (FPE_FLTINV): Likewise.
20486         (FPE_FLTSUB): Likewise.
20487         (SEGV_MAPERR): Likewise.
20488         (SEGV_ACCERR): Likewise.
20489         (BUS_ADRALN): Likewise.
20490         (BUS_ADRERR): Likewise.
20491         (BUS_OBJERR): Likewise.
20492         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20493         (TRAP_TRACE): Likewise.
20494         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20495         __USE_XOPEN2K8].
20496         (CLD_KILLED): Likewise.
20497         (CLD_DUMPED): Likewise.
20498         (CLD_TRAPPED): Likewise.
20499         (CLD_STOPPED): Likewise.
20500         (CLD_CONTINUED): Likewise.
20501         (POLL_IN): Likewise.
20502         (POLL_OUT): Likewise.
20503         (POLL_MSG): Likewise.
20504         (POLL_ERR): Likewise.
20505         (POLL_PRI): Likewise.
20506         (POLL_HUP): Likewise.
20507         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
20508         Likewise.
20509         (ILL_ILLOPN): Likewise.
20510         (ILL_ILLADR): Likewise.
20511         (ILL_ILLTRP): Likewise.
20512         (ILL_PRVOPC): Likewise.
20513         (ILL_PRVREG): Likewise.
20514         (ILL_COPROC): Likewise.
20515         (ILL_BADSTK): Likewise.
20516         (FPE_INTDIV): Likewise.
20517         (FPE_INTOVF): Likewise.
20518         (FPE_FLTDIV): Likewise.
20519         (FPE_FLTOVF): Likewise.
20520         (FPE_FLTUND): Likewise.
20521         (FPE_FLTRES): Likewise.
20522         (FPE_FLTINV): Likewise.
20523         (FPE_FLTSUB): Likewise.
20524         (SEGV_MAPERR): Likewise.
20525         (SEGV_ACCERR): Likewise.
20526         (BUS_ADRALN): Likewise.
20527         (BUS_ADRERR): Likewise.
20528         (BUS_OBJERR): Likewise.
20529         (BUS_MCEERR_AR): Likewise.
20530         (BUS_MCEERR_AO): Likewise.
20531         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20532         (TRAP_TRACE): Likewise.
20533         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20534         __USE_XOPEN2K8].
20535         (CLD_KILLED): Likewise.
20536         (CLD_DUMPED): Likewise.
20537         (CLD_TRAPPED): Likewise.
20538         (CLD_STOPPED): Likewise.
20539         (CLD_CONTINUED): Likewise.
20540         (POLL_IN): Likewise.
20541         (POLL_OUT): Likewise.
20542         (POLL_MSG): Likewise.
20543         (POLL_ERR): Likewise.
20544         (POLL_PRI): Likewise.
20545         (POLL_HUP): Likewise.
20546         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
20547         (ILL_ILLOPN): Likewise.
20548         (ILL_ILLADR): Likewise.
20549         (ILL_ILLTRP): Likewise.
20550         (ILL_PRVOPC): Likewise.
20551         (ILL_PRVREG): Likewise.
20552         (ILL_COPROC): Likewise.
20553         (ILL_BADSTK): Likewise.
20554         (FPE_INTDIV): Likewise.
20555         (FPE_INTOVF): Likewise.
20556         (FPE_FLTDIV): Likewise.
20557         (FPE_FLTOVF): Likewise.
20558         (FPE_FLTUND): Likewise.
20559         (FPE_FLTRES): Likewise.
20560         (FPE_FLTINV): Likewise.
20561         (FPE_FLTSUB): Likewise.
20562         (SEGV_MAPERR): Likewise.
20563         (SEGV_ACCERR): Likewise.
20564         (BUS_ADRALN): Likewise.
20565         (BUS_ADRERR): Likewise.
20566         (BUS_OBJERR): Likewise.
20567         (BUS_MCEERR_AR): Likewise.
20568         (BUS_MCEERR_AO): Likewise.
20569         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20570         (TRAP_TRACE): Likewise.
20571         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20572         __USE_XOPEN2K8].
20573         (CLD_KILLED): Likewise.
20574         (CLD_DUMPED): Likewise.
20575         (CLD_TRAPPED): Likewise.
20576         (CLD_STOPPED): Likewise.
20577         (CLD_CONTINUED): Likewise.
20578         (POLL_IN): Likewise.
20579         (POLL_OUT): Likewise.
20580         (POLL_MSG): Likewise.
20581         (POLL_ERR): Likewise.
20582         (POLL_PRI): Likewise.
20583         (POLL_HUP): Likewise.
20584         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
20585         Likewise.
20586         (ILL_ILLOPN): Likewise.
20587         (ILL_ILLADR): Likewise.
20588         (ILL_ILLTRP): Likewise.
20589         (ILL_PRVOPC): Likewise.
20590         (ILL_PRVREG): Likewise.
20591         (ILL_COPROC): Likewise.
20592         (ILL_BADSTK): Likewise.
20593         (ILL_BADIADDR): Likewise.
20594         (ILL_BREAK): Likewise.
20595         (FPE_INTDIV): Likewise.
20596         (FPE_INTOVF): Likewise.
20597         (FPE_FLTDIV): Likewise.
20598         (FPE_FLTOVF): Likewise.
20599         (FPE_FLTUND): Likewise.
20600         (FPE_FLTRES): Likewise.
20601         (FPE_FLTINV): Likewise.
20602         (FPE_FLTSUB): Likewise.
20603         (FPE_DECOVF): Likewise.
20604         (FPE_DECDIV): Likewise.
20605         (FPE_DECERR): Likewise.
20606         (FPE_INVASC): Likewise.
20607         (FPE_INVDEC): Likewise.
20608         (SEGV_MAPERR): Likewise.
20609         (SEGV_ACCERR): Likewise.
20610         (SEGV_PSTKOVF): Likewise.
20611         (BUS_ADRALN): Likewise.
20612         (BUS_ADRERR): Likewise.
20613         (BUS_OBJERR): Likewise.
20614         (BUS_MCEERR_AR): Likewise.
20615         (BUS_MCEERR_AO): Likewise.
20616         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20617         (TRAP_TRACE): Likewise.
20618         (TRAP_BRANCH): Likewise.
20619         (TRAP_HWBKPT): Likewise.
20620         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20621         __USE_XOPEN2K8].
20622         (CLD_KILLED): Likewise.
20623         (CLD_DUMPED): Likewise.
20624         (CLD_TRAPPED): Likewise.
20625         (CLD_STOPPED): Likewise.
20626         (CLD_CONTINUED): Likewise.
20627         (POLL_IN): Likewise.
20628         (POLL_OUT): Likewise.
20629         (POLL_MSG): Likewise.
20630         (POLL_ERR): Likewise.
20631         (POLL_PRI): Likewise.
20632         (POLL_HUP): Likewise.
20633         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
20634         (ILL_ILLOPN): Likewise.
20635         (ILL_ILLADR): Likewise.
20636         (ILL_ILLTRP): Likewise.
20637         (ILL_PRVOPC): Likewise.
20638         (ILL_PRVREG): Likewise.
20639         (ILL_COPROC): Likewise.
20640         (ILL_BADSTK): Likewise.
20641         (FPE_INTDIV): Likewise.
20642         (FPE_INTOVF): Likewise.
20643         (FPE_FLTDIV): Likewise.
20644         (FPE_FLTOVF): Likewise.
20645         (FPE_FLTUND): Likewise.
20646         (FPE_FLTRES): Likewise.
20647         (FPE_FLTINV): Likewise.
20648         (FPE_FLTSUB): Likewise.
20649         (SEGV_MAPERR): Likewise.
20650         (SEGV_ACCERR): Likewise.
20651         (BUS_ADRALN): Likewise.
20652         (BUS_ADRERR): Likewise.
20653         (BUS_OBJERR): Likewise.
20654         (BUS_MCEERR_AR): Likewise.
20655         (BUS_MCEERR_AO): Likewise.
20656         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20657         (TRAP_TRACE): Likewise.
20658         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20659         __USE_XOPEN2K8].
20660         (CLD_KILLED): Likewise.
20661         (CLD_DUMPED): Likewise.
20662         (CLD_TRAPPED): Likewise.
20663         (CLD_STOPPED): Likewise.
20664         (CLD_CONTINUED): Likewise.
20665         (POLL_IN): Likewise.
20666         (POLL_OUT): Likewise.
20667         (POLL_MSG): Likewise.
20668         (POLL_ERR): Likewise.
20669         (POLL_PRI): Likewise.
20670         (POLL_HUP): Likewise.
20671         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
20672         (ILL_ILLOPN): Likewise.
20673         (ILL_ILLADR): Likewise.
20674         (ILL_ILLTRP): Likewise.
20675         (ILL_PRVOPC): Likewise.
20676         (ILL_PRVREG): Likewise.
20677         (ILL_COPROC): Likewise.
20678         (ILL_BADSTK): Likewise.
20679         (FPE_INTDIV): Likewise.
20680         (FPE_INTOVF): Likewise.
20681         (FPE_FLTDIV): Likewise.
20682         (FPE_FLTOVF): Likewise.
20683         (FPE_FLTUND): Likewise.
20684         (FPE_FLTRES): Likewise.
20685         (FPE_FLTINV): Likewise.
20686         (FPE_FLTSUB): Likewise.
20687         (SEGV_MAPERR): Likewise.
20688         (SEGV_ACCERR): Likewise.
20689         (BUS_ADRALN): Likewise.
20690         (BUS_ADRERR): Likewise.
20691         (BUS_OBJERR): Likewise.
20692         (BUS_MCEERR_AR): Likewise.
20693         (BUS_MCEERR_AO): Likewise.
20694         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20695         (TRAP_TRACE): Likewise.
20696         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20697         __USE_XOPEN2K8].
20698         (CLD_KILLED): Likewise.
20699         (CLD_DUMPED): Likewise.
20700         (CLD_TRAPPED): Likewise.
20701         (CLD_STOPPED): Likewise.
20702         (CLD_CONTINUED): Likewise.
20703         (POLL_IN): Likewise.
20704         (POLL_OUT): Likewise.
20705         (POLL_MSG): Likewise.
20706         (POLL_ERR): Likewise.
20707         (POLL_PRI): Likewise.
20708         (POLL_HUP): Likewise.
20709         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
20710         (ILL_ILLOPN): Likewise.
20711         (ILL_ILLADR): Likewise.
20712         (ILL_ILLTRP): Likewise.
20713         (ILL_PRVOPC): Likewise.
20714         (ILL_PRVREG): Likewise.
20715         (ILL_COPROC): Likewise.
20716         (ILL_BADSTK): Likewise.
20717         (FPE_INTDIV): Likewise.
20718         (FPE_INTOVF): Likewise.
20719         (FPE_FLTDIV): Likewise.
20720         (FPE_FLTOVF): Likewise.
20721         (FPE_FLTUND): Likewise.
20722         (FPE_FLTRES): Likewise.
20723         (FPE_FLTINV): Likewise.
20724         (FPE_FLTSUB): Likewise.
20725         (SEGV_MAPERR): Likewise.
20726         (SEGV_ACCERR): Likewise.
20727         (BUS_ADRALN): Likewise.
20728         (BUS_ADRERR): Likewise.
20729         (BUS_OBJERR): Likewise.
20730         (BUS_MCEERR_AR): Likewise.
20731         (BUS_MCEERR_AO): Likewise.
20732         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20733         (TRAP_TRACE): Likewise.
20734         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20735         __USE_XOPEN2K8].
20736         (CLD_KILLED): Likewise.
20737         (CLD_DUMPED): Likewise.
20738         (CLD_TRAPPED): Likewise.
20739         (CLD_STOPPED): Likewise.
20740         (CLD_CONTINUED): Likewise.
20741         (POLL_IN): Likewise.
20742         (POLL_OUT): Likewise.
20743         (POLL_MSG): Likewise.
20744         (POLL_ERR): Likewise.
20745         (POLL_PRI): Likewise.
20746         (POLL_HUP): Likewise.
20747         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
20748         (ILL_ILLOPN): Likewise.
20749         (ILL_ILLADR): Likewise.
20750         (ILL_ILLTRP): Likewise.
20751         (ILL_PRVOPC): Likewise.
20752         (ILL_PRVREG): Likewise.
20753         (ILL_COPROC): Likewise.
20754         (ILL_BADSTK): Likewise.
20755         (ILL_DBLFLT): Likewise.
20756         (ILL_HARDWALL): Likewise.
20757         (FPE_INTDIV): Likewise.
20758         (FPE_INTOVF): Likewise.
20759         (FPE_FLTDIV): Likewise.
20760         (FPE_FLTOVF): Likewise.
20761         (FPE_FLTUND): Likewise.
20762         (FPE_FLTRES): Likewise.
20763         (FPE_FLTINV): Likewise.
20764         (FPE_FLTSUB): Likewise.
20765         (SEGV_MAPERR): Likewise.
20766         (SEGV_ACCERR): Likewise.
20767         (BUS_ADRALN): Likewise.
20768         (BUS_ADRERR): Likewise.
20769         (BUS_OBJERR): Likewise.
20770         (BUS_MCEERR_AR): Likewise.
20771         (BUS_MCEERR_AO): Likewise.
20772         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20773         (TRAP_TRACE): Likewise.
20774         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20775         __USE_XOPEN2K8].
20776         (CLD_KILLED): Likewise.
20777         (CLD_DUMPED): Likewise.
20778         (CLD_TRAPPED): Likewise.
20779         (CLD_STOPPED): Likewise.
20780         (CLD_CONTINUED): Likewise.
20781         (POLL_IN): Likewise.
20782         (POLL_OUT): Likewise.
20783         (POLL_MSG): Likewise.
20784         (POLL_ERR): Likewise.
20785         (POLL_PRI): Likewise.
20786         (POLL_HUP): Likewise.
20787         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
20788         (ILL_ILLOPN): Likewise.
20789         (ILL_ILLADR): Likewise.
20790         (ILL_ILLTRP): Likewise.
20791         (ILL_PRVOPC): Likewise.
20792         (ILL_PRVREG): Likewise.
20793         (ILL_COPROC): Likewise.
20794         (ILL_BADSTK): Likewise.
20795         (FPE_INTDIV): Likewise.
20796         (FPE_INTOVF): Likewise.
20797         (FPE_FLTDIV): Likewise.
20798         (FPE_FLTOVF): Likewise.
20799         (FPE_FLTUND): Likewise.
20800         (FPE_FLTRES): Likewise.
20801         (FPE_FLTINV): Likewise.
20802         (FPE_FLTSUB): Likewise.
20803         (SEGV_MAPERR): Likewise.
20804         (SEGV_ACCERR): Likewise.
20805         (BUS_ADRALN): Likewise.
20806         (BUS_ADRERR): Likewise.
20807         (BUS_OBJERR): Likewise.
20808         (BUS_MCEERR_AR): Likewise.
20809         (BUS_MCEERR_AO): Likewise.
20810         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20811         (TRAP_TRACE): Likewise.
20812         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20813         __USE_XOPEN2K8].
20814         (CLD_KILLED): Likewise.
20815         (CLD_DUMPED): Likewise.
20816         (CLD_TRAPPED): Likewise.
20817         (CLD_STOPPED): Likewise.
20818         (CLD_CONTINUED): Likewise.
20819         (POLL_IN): Likewise.
20820         (POLL_OUT): Likewise.
20821         (POLL_MSG): Likewise.
20822         (POLL_ERR): Likewise.
20823         (POLL_PRI): Likewise.
20824         (POLL_HUP): Likewise.
20825         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
20826         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
20828         [BZ #16670]
20829         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
20830         before #include of <time.h>.
20831         [!__USE_XOPEN2K] (__need_timespec): Likewise.
20832         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
20833         (test-xfail-UNIX98/sched.h/conform): Likewise.
20835 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
20837         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
20838         error absence of trapping exception support.
20839         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
20841 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
20843         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
20844         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
20845         * timezone/Makefile (testdata): Move definition above include of
20846         Rules.
20847         (test-zones): New variable.
20848         (tests-special): Add zone files.
20849         (build-testdata): Use $(evaluate-test).
20851         * elf/Makefile (tests-special): Rename tests to end with .out.
20852         ($(objpfx)noload-mem): Likewise.
20853         ($(objpfx)tst-leaks1-mem): Likewise.
20854         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
20855         * iconv/Makefile (xtests-special): Change test-iconvconfig to
20856         $(objpfx)test-iconvconfig.out.
20857         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
20858         set -e inside subshell and redirect output to file.
20859         * iconvdata/Makefile (generated): Rename tests to end with .out.
20860         Correct type.
20861         (tests-special): Rename tests to end with .out.
20862         ($(objpfx)mtrace-tst-loading): Likewise.
20863         * intl/Makefile (generated): Likewise.
20864         (tests-special): Likewise.
20865         ($(objpfx)mtrace-tst-gettext): Likewise.
20866         * misc/Makefile (generated): Likewise.
20867         (tests-special): Likewise.
20868         ($(objpfx)tst-error1-mem): Likewise.
20869         * nptl/Makefile (tests-special): Likewise.
20870         ($(objpfx)tst-stack3-mem): Likewise.
20871         (generated): Likewise.
20872         * posix/Makefile (generated): Likewise.
20873         (tests-special): Likewise.
20874         (xtests-special): Likewise.
20875         ($(objpfx)tst-fnmatch-mem): Likewise.
20876         ($(objpfx)bug-regex2-mem): Likewise.
20877         ($(objpfx)bug-regex14-mem): Likewise.
20878         ($(objpfx)bug-regex21-mem): Likewise.
20879         ($(objpfx)bug-regex31-mem): Likewise.
20880         ($(objpfx)tst-vfork3-mem): Likewise.
20881         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
20882         ($(objpfx)tst-pcre-mem): Likewise.
20883         ($(objpfx)tst-boost-mem): Likewise.
20884         ($(objpfx)bug-ga2-mem): Likewise.
20885         ($(objpfx)bug-glob2-mem): Likewise.
20886         * resolv/Makefile (generate): Likewise.
20887         (tests-special): Likewise.
20888         (xtests-special): Likewise.
20889         (generated): Likewise.
20890         ($(objpfx)mtrace-tst-leaks): Likewise.
20891         ($(objpfx)mtrace-tst-leaks2): Likewise.
20893         * scripts/merge-test-results.sh: New file.
20894         * Makefile (tests-special-notdir): New variable.
20895         (tests): Run merge-test-results.sh.
20896         (xtests): Likewise.
20897         * Rules (tests-special-notdir): New variable.
20898         (xtests-special-notdir): Likewise.
20899         (tests): Run merge-test-results.sh
20900         (xtests): Likewise.
20902         * Makeconfig (test-xfail-name): New variable.
20903         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
20904         compute variable name for expected failures.
20905         * conform/Makefile (conformtest-headers-data): New variable.
20906         (conformtest-standards): Likewise.
20907         (conformtest-headers-ISO): Likewise.
20908         (conformtest-headers-ISO99): Likewise.
20909         (conformtest-headers-ISO11): Likewise.
20910         (conformtest-headers-POSIX): Likewise.
20911         (conformtest-headers-XPG3): Likewise.
20912         (conformtest-headers-XPG4): Likewise.
20913         (conformtest-headers-UNIX98): Likewise.
20914         (conformtest-headers-XOPEN2K): Likewise.
20915         (conformtest-headers-POSIX2008): Likewise.
20916         (conformtest-headers-XOPEN2K8): Likewise.
20917         (conformtest-header-list-base): Likewise.
20918         (conformtest-header-list-tests): Likewise.
20919         (conformtest-header-base): Likewise.
20920         (conformtest-header-tests): Likewise.
20921         (tests-special): Add $(conformtest-header-list-tests).  If
20922         [$(fast-check) && !$(cross-compiling)], add
20923         $(conformtest-header-tests) instead of
20924         $(objpfx)run-conformtest.out.
20925         (generated): Add $(conformtest-header-list-base).  If
20926         [$(fast-check) && !$(cross-compiling)], add
20927         $(conformtest-header-base).  Remove previous setting.
20928         ($(conformtest-header-list-tests)): New target.
20929         (test-xfail-run-conformtest): Remove variable.
20930         ($(objpfx)run-conformtest.out): Remove target.
20931         (test-xfail-ISO11/complex.h/conform): New variable.
20932         (test-xfail-ISO11/stdalign.h/conform): Likewise.
20933         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
20934         (test-xfail-XPG3/varargs.h/conform): Likewise.
20935         (test-xfail-XPG4/varargs.h/conform): Likewise.
20936         (test-xfail-UNIX98/varargs.h/conform): Likewise.
20937         (test-xfail-XPG4/ndbm.h/conform): Likewise.
20938         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
20939         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
20940         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
20941         (test-xfail-XPG3/fcntl.h/conform): Likewise.
20942         (test-xfail-XPG3/ftw.h/conform): Likewise.
20943         (test-xfail-XPG3/grp.h/conform): Likewise.
20944         (test-xfail-XPG3/langinfo.h/conform): Likewise.
20945         (test-xfail-XPG3/limits.h/conform): Likewise.
20946         (test-xfail-XPG3/pwd.h/conform): Likewise.
20947         (test-xfail-XPG3/search.h/conform): Likewise.
20948         (test-xfail-XPG3/signal.h/conform): Likewise.
20949         (test-xfail-XPG3/stdio.h/conform): Likewise.
20950         (test-xfail-XPG3/stdlib.h/conform): Likewise.
20951         (test-xfail-XPG3/string.h/conform): Likewise.
20952         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
20953         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
20954         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
20955         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
20956         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
20957         (test-xfail-XPG3/sys/types.h/conform): Likewise.
20958         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
20959         (test-xfail-XPG3/termios.h/conform): Likewise.
20960         (test-xfail-XPG3/time.h/conform): Likewise.
20961         (test-xfail-XPG3/unistd.h/conform): Likewise.
20962         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
20963         (test-xfail-XPG4/fcntl.h/conform): Likewise.
20964         (test-xfail-XPG4/langinfo.h/conform): Likewise.
20965         (test-xfail-XPG4/netdb.h/conform): Likewise.
20966         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
20967         (test-xfail-XPG4/signal.h/conform): Likewise.
20968         (test-xfail-XPG4/stdio.h/conform): Likewise.
20969         (test-xfail-XPG4/stdlib.h/conform): Likewise.
20970         (test-xfail-XPG4/stropts.h/conform): Likewise.
20971         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
20972         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
20973         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
20974         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
20975         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
20976         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
20977         (test-xfail-XPG4/sys/time.h/conform): Likewise.
20978         (test-xfail-XPG4/sys/types.h/conform): Likewise.
20979         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
20980         (test-xfail-XPG4/termios.h/conform): Likewise.
20981         (test-xfail-XPG4/ucontext.h/conform): Likewise.
20982         (test-xfail-XPG4/unistd.h/conform): Likewise.
20983         (test-xfail-XPG4/utmpx.h/conform): Likewise.
20984         (test-xfail-POSIX/sched.h/conform): Likewise.
20985         (test-xfail-POSIX/signal.h/conform): Likewise.
20986         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
20987         (test-xfail-POSIX/tar.h/conform): Likewise.
20988         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
20989         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
20990         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
20991         (test-xfail-UNIX98/netdb.h/conform): Likewise.
20992         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
20993         (test-xfail-UNIX98/sched.h/conform): Likewise.
20994         (test-xfail-UNIX98/signal.h/conform): Likewise.
20995         (test-xfail-UNIX98/stdio.h/conform): Likewise.
20996         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
20997         (test-xfail-UNIX98/stropts.h/conform): Likewise.
20998         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
20999         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
21000         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
21001         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
21002         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
21003         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
21004         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
21005         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
21006         (test-xfail-UNIX98/unistd.h/conform): Likewise.
21007         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
21008         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
21009         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
21010         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
21011         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
21012         (test-xfail-XOPEN2K/math.h/conform): Likewise.
21013         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
21014         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
21015         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
21016         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
21017         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
21018         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
21019         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
21020         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
21021         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
21022         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
21023         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
21024         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
21025         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
21026         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
21027         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
21028         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
21029         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
21030         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
21031         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
21032         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
21033         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
21034         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
21035         (test-xfail-POSIX2008/signal.h/conform): Likewise.
21036         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
21037         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
21038         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
21039         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
21040         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
21041         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
21042         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
21043         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
21044         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
21045         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
21046         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
21047         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
21048         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
21049         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
21050         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
21051         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
21052         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
21053         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
21054         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
21055         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
21056         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
21057         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
21058         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
21059         (conformtest-cc-flags): Likewise.
21060         ($(conformtest-header-tests): New target.
21061         * conform/check-header-lists.sh: New file.
21062         * conform/run-conformtest.sh: Remove.
21064         * conform/conformtest.pl: Allow ' and \ in values given for
21065         constants.
21066         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
21067         inclusion.
21068         [POSIX] (sys/types.h): Likewise.
21069         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
21070         inclusion.
21071         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
21072         inclusion.
21073         * conform/data/signal.h-data (SIGIO): Remove expectation.
21074         [XPG3] (SIGBUS): Do not expect.
21075         [POSIX || XPG3] (SIGPOLL): Likewise.
21076         [POSIX || XPG3] (SIGPROF): Likewise.
21077         [POSIX || XPG3] (SIGSYS): Likewise.
21078         [XPG3] (SIGTRAP): Likewise.
21079         [POSIX || XPG3] (SIGURG): Likewise.
21080         [POSIX || XPG3] (SIGVTALRM): Likewise.
21081         [POSIX || XPG3] (SIGXCPU): Likewise.
21082         [POSIX || XPG3] (SIGXFSZ): Likewise.
21083         [POSIX] (SA_SIGINFO): Expect.
21084         [XPG3] (siginfo_t): Do not expect type or contents.
21085         [POSIX] (si_pid): Do not expect element.
21086         [POSIX] (si_uid): Likewise.
21087         [POSIX] (si_addr): Likewise.
21088         [POSIX] (si_status): Likewise.
21089         [POSIX] (si_band): Likewise.
21090         [XPG4] (si_value): Likewise.
21091         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
21092         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
21093         [POSIX || XPG3] (ILL_ILLADR): Likewise.
21094         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
21095         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
21096         [POSIX || XPG3] (ILL_PRVREG): Likewise.
21097         [POSIX || XPG3] (ILL_COPROC): Likewise.
21098         [POSIX || XPG3] (ILL_BADSTK): Likewise.
21099         [POSIX || XPG3] (FPE_INTDIV): Likewise.
21100         [POSIX || XPG3] (FPE_INTOVF): Likewise.
21101         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
21102         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
21103         [POSIX || XPG3] (FPE_FLTUND): Likewise.
21104         [POSIX || XPG3] (FPE_FLTRES): Likewise.
21105         [POSIX || XPG3] (FPE_FLTINV): Likewise.
21106         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
21107         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
21108         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
21109         [POSIX || XPG3] (BUS_ADRALN): Likewise.
21110         [POSIX || XPG3] (BUS_ADRERR): Likewise.
21111         [POSIX || XPG3] (BUS_OBJERR): Likewise.
21112         [POSIX || XPG3] (CLD_EXITED): Likewise.
21113         [POSIX || XPG3] (CLD_KILLED): Likewise.
21114         [POSIX || XPG3] (CLD_DUMPED): Likewise.
21115         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
21116         [POSIX || XPG3] (CLD_STOPPED): Likewise.
21117         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
21118         [POSIX || XPG3] (POLL_IN): Likewise.
21119         [POSIX || XPG3] (POLL_OUT): Likewise.
21120         [POSIX || XPG3] (POLL_MSG): Likewise.
21121         [POSIX || XPG3] (POLL_ERR): Likewise.
21122         [POSIX || XPG3] (POLL_PRI): Likewise.
21123         [POSIX || XPG3] (POLL_HUP): Likewise.
21124         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
21125         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
21126         (SIG*): Do not allow.
21127         [XPG3] (si_*): Likewise.
21128         [XPG3] (SI_*): Likewise.
21129         [XPG3 || XPG4] (sigev_*): Likewise.
21130         [XPG3 || XPG4] (SIGEV_*): Likewise.
21131         [XPG3 || XPG4] (sival_*): Likewise.
21132         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
21133         [POSIX || XPG3] (BUS_*): Likewise.
21134         [POSIX || XPG3] (CLD_*): Likewise.
21135         [POSIX || XPG3] (FPE_*): Likewise.
21136         [POSIX || XPG3] (ILL_*): Likewise.
21137         [POSIX || XPG3] (POLL_*): Likewise.
21138         [POSIX || XPG3] (SEGV_*): Likewise.
21139         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
21140         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
21141         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
21142         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
21143         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
21144         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
21145         Specify type and value.
21146         (TVERSLEN): Likewise.
21147         (REGTYPE): Likewise.
21148         (AREGTYPE): Likewise.
21149         (LNKTYPE): Likewise.
21150         (SYMTYPE): Likewise.
21151         (CHRTYPE): Likewise.
21152         (BLKTYPE): Likewise.
21153         (DIRTYPE): Likewise.
21154         (FIFOTYPE): Likewise.
21155         (CONTTYPE): Likewise.
21156         (TSUID): Likewise.
21157         (TSGID): Likewise.
21158         (TSVTX): Likewise.
21159         (TUREAD): Likewise.
21160         (TUWRITE): Likewise.
21161         (TUEXEC): Likewise.
21162         (TGREAD): Likewise.
21163         (TGWRITE): Likewise.
21164         (TGEXEC): Likewise.
21165         (TOREAD): Likewise.
21166         (TOWRITE): Likewise.
21167         (TOEXEC): Likewise.
21168         [POSIX] (TSVTX): Expect constant.
21170 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
21172         * Makefile (tests): Change dependencies to ....
21173         (tests-special): ... additions to this variable.
21174         (tests): Depend on $(tests-special).
21175         * Makerules (check-abi-list): New variable.
21176         (check-abi): Depend on $(check-abi-list).
21177         [$(subdir) = elf] (tests-special): Add
21178         $(objpfx)check-abi-libc.out.
21179         [$(build-shared) = yes && subdir] (tests-special): Add
21180         $(check-abi-list).
21181         [$(build-shared) = yes && subdir] (tests): Do not depend on
21182         check-abi.
21183         * Rules (tests): Depend on $(tests-special).
21184         (xtests): Depend on $(xtests-special).
21185         * catgets/Makefile (tests): Change dependencies to ....
21186         (tests-special): ... additions to this variable.
21187         * conform/Makefile (tests): Change dependencies to ....
21188         (tests-special): ... additions to this variable.
21189         * elf/Makefile (tests): Change dependencies to ....
21190         (tests-special): ... additions to this variable.
21191         * grp/Makefile (tests): Change dependencies to ....
21192         (tests-special): ... additions to this variable.
21193         * iconv/Makefile (xtests): Change dependencies to ....
21194         (xtests-special): ... additions to this variable.
21195         * iconvdata/Makefile (tests): Change dependencies to ....
21196         (tests-special): ... additions to this variable.
21197         * intl/Makefile (tests): Change dependencies to ....
21198         (tests-special): ... additions to this variable.  Also add
21199         $(objpfx)tst-gettext.out.
21200         * io/Makefile (tests): Change dependencies to ....
21201         (tests-special): ... additions to this variable.
21202         * libio/Makefile (tests): Change dependencies to ....
21203         (tests-special): ... additions to this variable.
21204         * malloc/Makefile (tests): Change dependencies to ....
21205         (tests-special): ... additions to this variable.
21206         * misc/Makefile (tests): Change dependencies to ....
21207         (tests-special): ... additions to this variable.
21208         * nptl/Makefile (tests): Change dependencies to ....
21209         (tests-special): ... additions to this variable.
21210         * nptl_db/Makefile (tests): Change dependencies to ....
21211         (tests-special): ... additions to this variable.
21212         * posix/Makefile (tests): Change dependencies to ....
21213         (tests-special): ... additions to this variable.
21214         (xtests): Change dependencies to ....
21215         (xtests-special): ... additions to this variable.
21216         * resolv/Makefile (tests): Change dependencies to ....
21217         (tests-special): ... additions to this variable.
21218         (xtests): Change dependencies to ....
21219         (xtests-special): ... additions to this variable.
21220         * stdio-common/Makefile (tests): Change dependencies to ....
21221         (tests-special): ... additions to this variable.
21222         (do-tst-unbputc): Remove target.
21223         (do-tst-printf): Likewise.
21224         * stdlib/Makefile (tests): Change dependencies to ....
21225         (tests-special): ... additions to this variable.
21226         * string/Makefile (tests): Change dependencies to ....
21227         (tests-special): ... additions to this variable.
21228         * sysdeps/x86/Makefile (tests): Change dependencies to ....
21229         (tests-special): ... additions to this variable.
21231         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
21232         whole file.
21233         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
21234         whole file.
21235         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
21236         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
21238         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
21239         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
21240         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
21241         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
21242         * conform/data/libgen.h-data [XPG3]: Likewise.
21243         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
21244         * conform/data/ndbm.h-data [XPG3]: Likewise.
21245         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21246         * conform/data/netdb.h-data [XPG3]: Likewise.
21247         * conform/data/netinet/in.h-data [XPG3]: Likewise.
21248         * conform/data/poll.h-data [XPG3]: Likewise.
21249         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21250         * conform/data/strings.h-data [XPG3]: Likewise.
21251         * conform/data/stropts.h-data [XPG3]: Likewise.
21252         * conform/data/sys/mman.h-data [XPG3]: Likewise.
21253         * conform/data/sys/resource.h-data [XPG3]: Likewise.
21254         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
21255         Likewise.
21256         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
21257         * conform/data/sys/time.h-data [XPG3]: Likewise.
21258         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
21259         * conform/data/sys/uio.h-data [XPG3]: Likewise.
21260         * conform/data/sys/un.h-data [XPG3]: Likewise.
21261         * conform/data/syslog.h-data [XPG3]: Likewise.
21262         * conform/data/ucontext.h-data [XPG3]: Likewise.
21263         * conform/data/utmpx.h-data [XPG3]: Likewise.
21264         * conform/data/varargs.h-data [UNIX98]: Enable file.
21266         * manual/Makefile (INSTALL_INFO): Remove variable setting.
21268         * math/libm-test.inc (struct test_f_f_data): Move expected results
21269         into structure for each rounding mode.
21270         (struct test_ff_f_data): Likewise.
21271         (struct test_ff_f_data_nexttoward): Likewise.
21272         (struct test_fi_f_data): Likewise.
21273         (struct test_fl_f_data): Likewise.
21274         (struct test_if_f_data): Likewise.
21275         (struct test_fff_f_data): Likewise.
21276         (struct test_c_f_data): Likewise.
21277         (struct test_f_f1_data): Likewise.
21278         (struct test_fF_f1_data): Likewise.
21279         (struct test_ffI_f1_data): Likewise.
21280         (struct test_c_c_data): Likewise.
21281         (struct test_cc_c_data): Likewise.
21282         (struct test_f_i_data): Likewise.
21283         (struct test_ff_i_data): Likewise.
21284         (struct test_f_l_data): Likewise.
21285         (struct test_f_L_data): Likewise.
21286         (struct test_fFF_11_data): Likewise.
21287         (RM_): New macro.
21288         (RM_FE_DOWNWARD): Likewise.
21289         (RM_FE_TONEAREST): Likewise.
21290         (RM_FE_TOWARDZERO): Likewise.
21291         (RM_FE_UPWARD): Likewise.
21292         (RUN_TEST_LOOP_f_f): Update references to expected results.
21293         (RUN_TEST_LOOP_2_f): Likewise.
21294         (RUN_TEST_LOOP_fff_f): Likewise.
21295         (RUN_TEST_LOOP_c_f): Likewise.
21296         (RUN_TEST_LOOP_f_f1): Likewise.
21297         (RUN_TEST_LOOP_fF_f1): Likewise.
21298         (RUN_TEST_LOOP_fI_f1): Likewise.
21299         (RUN_TEST_LOOP_ffI_f1): Likewise.
21300         (RUN_TEST_LOOP_c_c): Likewise.
21301         (RUN_TEST_LOOP_cc_c): Likewise.
21302         (RUN_TEST_LOOP_f_i): Likewise.
21303         (RUN_TEST_LOOP_f_i_tg): Likewise.
21304         (RUN_TEST_LOOP_ff_i_tg): Likewise.
21305         (RUN_TEST_LOOP_f_b): Likewise.
21306         (RUN_TEST_LOOP_f_b_tg): Likewise.
21307         (RUN_TEST_LOOP_f_l): Likewise.
21308         (RUN_TEST_LOOP_f_L): Likewise.
21309         (RUN_TEST_LOOP_fFF_11): Likewise.
21310         * math/gen-libm-test.pl (parse_args): Output four copies of
21311         expected results for each test.
21313         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21314         (__ASSUME_UTIMES): Remove.
21315         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21316         (__ASSUME_UTIMES): Likewise.
21318         * math/gen-auto-libm-tests.c: Update comment on output format.
21319         (output_for_one_input_case): Generate before-rounding and
21320         after-rounding information as conditions on output flags not
21321         floating-point format.
21322         * math/auto-libm-test-out: Regenerated.
21323         * math/gen-libm-test.pl (cond_value): New function.
21324         (or_cond_value): Use cond_value.
21325         (generate_testfile): Handle conditional exceptions.
21327 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
21329         * math/libm-test.inc (max_valid_error): New variable.
21330         (init_max_error): Take new argument specifying whether function
21331         results are exactly determined.  Set max_valid_error and bound
21332         other variables for errors based on this argument.
21333         (set_max_error): Do not record results above max_valid_error.
21334         (check_float_internal): Only accept errors of up to 0.5ulps if
21335         also at most max_valid_error.
21336         (START): Take new argument EXACT and pass it to init_max_error.
21337         (acos_test): Update call to START.
21338         (acos_test_tonearest): Likewise.
21339         (acos_test_towardzero): Likewise.
21340         (acos_test_downward): Likewise.
21341         (acos_test_upward): Likewise.
21342         (acosh_test): Likewise.
21343         (asin_test): Likewise.
21344         (asin_test_tonearest): Likewise.
21345         (asin_test_towardzero): Likewise.
21346         (asin_test_downward): Likewise.
21347         (asin_test_upward): Likewise.
21348         (asinh_test): Likewise.
21349         (atan_test): Likewise.
21350         (atanh_test): Likewise.
21351         (atan2_test): Likewise.
21352         (cabs_test): Likewise.
21353         (cacos_test): Likewise.
21354         (cacosh_test): Likewise.
21355         (carg_test): Likewise.
21356         (casin_test): Likewise.
21357         (casinh_test): Likewise.
21358         (catan_test): Likewise.
21359         (catanh_test): Likewise.
21360         (cbrt_test): Likewise.
21361         (ccos_test): Likewise.
21362         (ccosh_test): Likewise.
21363         (ceil_test): Likewise.
21364         (cexp_test): Likewise.
21365         (cimag_test): Likewise.
21366         (clog_test): Likewise.
21367         (clog10_test): Likewise.
21368         (conj_test): Likewise.
21369         (copysign_test): Likewise.
21370         (cos_test): Likewise.
21371         (cos_test_tonearest): Likewise.
21372         (cos_test_towardzero): Likewise.
21373         (cos_test_downward): Likewise.
21374         (cos_test_upward): Likewise.
21375         (cosh_test): Likewise.
21376         (cosh_test_tonearest): Likewise.
21377         (cosh_test_towardzero): Likewise.
21378         (cosh_test_downward): Likewise.
21379         (cosh_test_upward): Likewise.
21380         (cpow_test): Likewise.
21381         (cproj_test): Likewise.
21382         (creal_test): Likewise.
21383         (csin_test): Likewise.
21384         (csinh_test): Likewise.
21385         (csqrt_test): Likewise.
21386         (ctan_test): Likewise.
21387         (ctan_test_tonearest): Likewise.
21388         (ctan_test_towardzero): Likewise.
21389         (ctan_test_downward): Likewise.
21390         (ctan_test_upward): Likewise.
21391         (ctanh_test): Likewise.
21392         (ctanh_test_tonearest): Likewise.
21393         (ctanh_test_towardzero): Likewise.
21394         (ctanh_test_downward): Likewise.
21395         (ctanh_test_upward): Likewise.
21396         (erf_test): Likewise.
21397         (erfc_test): Likewise.
21398         (exp_test): Likewise.
21399         (exp_test_tonearest): Likewise.
21400         (exp_test_towardzero): Likewise.
21401         (exp_test_downward): Likewise.
21402         (exp_test_upward): Likewise.
21403         (exp10_test): Likewise.
21404         (exp10_test_tonearest): Likewise.
21405         (exp10_test_towardzero): Likewise.
21406         (exp10_test_downward): Likewise.
21407         (exp10_test_upward): Likewise.
21408         (pow10_test): Likewise.
21409         (exp2_test): Likewise.
21410         (expm1_test): Likewise.
21411         (expm1_test_tonearest): Likewise.
21412         (expm1_test_towardzero): Likewise.
21413         (expm1_test_downward): Likewise.
21414         (expm1_test_upward): Likewise.
21415         (fabs_test): Likewise.
21416         (fdim_test): Likewise.
21417         (floor_test): Likewise.
21418         (fma_test): Likewise.
21419         (fma_test_towardzero): Likewise.
21420         (fma_test_downward): Likewise.
21421         (fma_test_upward): Likewise.
21422         (fmax_test): Likewise.
21423         (fmin_test): Likewise.
21424         (fmod_test): Likewise.
21425         (fpclassify_test): Likewise.
21426         (frexp_test): Likewise.
21427         (hypot_test): Likewise.
21428         (ilogb_test): Likewise.
21429         (isfinite_test): Likewise.
21430         (finite_test): Likewise.
21431         (isgreater_test): Likewise.
21432         (isgreaterequal_test): Likewise.
21433         (isinf_test): Likewise.
21434         (isless_test): Likewise.
21435         (islessequal_test): Likewise.
21436         (islessgreater_test): Likewise.
21437         (isnan_test): Likewise.
21438         (isnormal_test): Likewise.
21439         (issignaling_test): Likewise.
21440         (isunordered_test): Likewise.
21441         (j0_test): Likewise.
21442         (j1_test): Likewise.
21443         (jn_test): Likewise.
21444         (ldexp_test): Likewise.
21445         (lgamma_test): Likewise.
21446         (gamma_test): Likewise.
21447         (lrint_test): Likewise.
21448         (lrint_test_tonearest): Likewise.
21449         (lrint_test_towardzero): Likewise.
21450         (lrint_test_downward): Likewise.
21451         (lrint_test_upward): Likewise.
21452         (llrint_test): Likewise.
21453         (llrint_test_tonearest): Likewise.
21454         (llrint_test_towardzero): Likewise.
21455         (llrint_test_downward): Likewise.
21456         (llrint_test_upward): Likewise.
21457         (log_test): Likewise.
21458         (log10_test): Likewise.
21459         (log1p_test): Likewise.
21460         (log2_test): Likewise.
21461         (logb_test): Likewise.
21462         (logb_test_downward): Likewise.
21463         (lround_test): Likewise.
21464         (llround_test): Likewise.
21465         (modf_test): Likewise.
21466         (nearbyint_test): Likewise.
21467         (nextafter_test): Likewise.
21468         (nexttoward_test): Likewise.
21469         (pow_test): Likewise.
21470         (pow_test_tonearest): Likewise.
21471         (pow_test_towardzero): Likewise.
21472         (pow_test_downward): Likewise.
21473         (pow_test_upward): Likewise.
21474         (remainder_test): Likewise.
21475         (drem_test): Likewise.
21476         (remainder_test_tonearest): Likewise.
21477         (drem_test_tonearest): Likewise.
21478         (remainder_test_towardzero): Likewise.
21479         (drem_test_towardzero): Likewise.
21480         (remainder_test_downward): Likewise.
21481         (drem_test_downward): Likewise.
21482         (remainder_test_upward): Likewise.
21483         (drem_test_upward): Likewise.
21484         (remquo_test): Likewise.
21485         (rint_test): Likewise.
21486         (rint_test_tonearest): Likewise.
21487         (rint_test_towardzero): Likewise.
21488         (rint_test_downward): Likewise.
21489         (rint_test_upward): Likewise.
21490         (round_test): Likewise.
21491         (scalb_test): Likewise.
21492         (scalbn_test): Likewise.
21493         (scalbln_test): Likewise.
21494         (signbit_test): Likewise.
21495         (sin_test): Likewise.
21496         (sin_test_tonearest): Likewise.
21497         (sin_test_towardzero): Likewise.
21498         (sin_test_downward): Likewise.
21499         (sin_test_upward): Likewise.
21500         (sincos_test): Likewise.
21501         (sinh_test): Likewise.
21502         (sinh_test_tonearest): Likewise.
21503         (sinh_test_towardzero): Likewise.
21504         (sinh_test_downward): Likewise.
21505         (sinh_test_upward): Likewise.
21506         (sqrt_test): Likewise.
21507         (sqrt_test_tonearest): Likewise.
21508         (sqrt_test_towardzero): Likewise.
21509         (sqrt_test_downward): Likewise.
21510         (sqrt_test_upward): Likewise.
21511         (tan_test): Likewise.
21512         (tan_test_tonearest): Likewise.
21513         (tan_test_towardzero): Likewise.
21514         (tan_test_downward): Likewise.
21515         (tan_test_upward): Likewise.
21516         (tanh_test): Likewise.
21517         (tgamma_test): Likewise.
21518         (trunc_test): Likewise.
21519         (y0_test): Likewise.
21520         (y1_test): Likewise.
21521         (yn_test): Likewise.
21522         (significand_test): Likewise.
21524         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
21525         individual tests in comment.
21526         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
21527         (prev_max_error): New variable.
21528         (prev_real_max_error): Likewise.
21529         (prev_imag_max_error): Likewise.
21530         (compare_ulp_data): Don't refer to test names in comment.
21531         (find_test_ulps): Remove function.
21532         (find_function_ulps): Likewise.
21533         (find_complex_function_ulps): Likewise.
21534         (init_max_error): Take function name as argument.  Look up ulps
21535         for that function.
21536         (print_ulps): Remove function.
21537         (print_max_error): Use prev_max_error instead of calling
21538         find_function_ulps.
21539         (print_complex_max_error): Use prev_real_max_error and
21540         prev_imag_max_error instead of calling find_complex_function_ulps.
21541         (check_float_internal): Take max_ulp parameter instead of calling
21542         find_test_ulps.  Don't call print_ulps.
21543         (check_float): Update call to check_float_internal.
21544         (check_complex): Update calls to check_float_internal.
21545         (START): Pass argument to init_max_error.
21546         * math/gen-libm-test.pl (%results): Don't include "kind"
21547         information.
21548         (parse_ulps): Don't handle ulps of individual tests.
21549         (print_ulps_file): Likewise.
21550         (output_ulps): Likewise.
21551         * math/README.libm-test: Update.
21552         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
21553         individual tests.
21554         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
21555         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
21556         * sysdeps/arm/libm-test-ulps: Likewise.
21557         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21558         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
21559         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
21560         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
21561         * sysdeps/microblaze/libm-test-ulps: Likewise.
21562         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
21563         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21564         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21565         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
21566         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21567         * sysdeps/sh/libm-test-ulps: Likewise.
21568         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21569         * sysdeps/tile/libm-test-ulps: Likewise.
21570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21572 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
21574         * math/libm-test.inc (print_complex_max_error): Check separately
21575         whether real and imaginary errors are within allowed range and
21576         pass 0 to print_complex_function_ulps instead of value within
21577         allowed range.
21579 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21581         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
21582         formatting.
21583         (get_handles_fopen): Likewise.
21584         (do_write_test): Likewise.
21586         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
21588         * libio/fileops.c (do_ftell): Use cached offset when
21589         available.
21590         * libio/iofwide.c (do_ftell_wide): Likewise.
21591         * libio/iofdopen.c (_IO_new_fdopen): Don't use
21592         _IO_file_attach.
21593         * libio/wfileops.c (_IO_fwide): Don't cache offset.
21595         [BZ #16532]
21596         * libio/libioP.h (get_file_offset): New function.
21597         * libio/fileops.c (get_file_offset): Likewise.
21598         (do_ftell): Likewise.
21599         (_IO_new_file_seekoff): Split out ftell logic.
21600         * libio/wfileops.c (do_ftell_wide): Likewise.
21601         (_IO_wfile_seekoff): Split out ftell logic.
21602         * libio/tst-ftell-active-handler.c: New test case.
21603         * libio/Makefile (tests): Add it.
21605 2014-03-03  Roland McGrath  <roland@hack.frob.com>
21607         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
21608         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
21610 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
21612         [BZ #16639]
21613         * nscd/connections.c (nscd_init): Call do_exit.
21614         (start_threads): Call do_exit and notify_parent.
21615         (begin_drop_privileges): Call do_exit.
21616         (finish_drop_privileges): Likewise.
21617         * nscd/selinux.c (preserve_capabilities): Likewise.
21618         (install_real_capabilities): Likewise.
21619         (nscd_selinux_enabled): Likewise.
21620         (avc_create_thread): Likewise.
21621         (avc_alloc_lock): Likewise.
21622         (nscd_avc_init): Likewise.
21623         * nscd/nscd.c (parent_fd): New static variable.
21624         (main): Create a pipe between parent and child processes.
21625         Skip closing parent_fd.
21626         (monitor_child): New function.
21627         (do_exit): Likewise.
21628         (notify_parent): Likewise.
21629         * nscd/nscd.h (notify_parent): Likewise.
21630         (do_exit): Likewise.
21632 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
21634         * malloc/malloc.c (__libc_calloc): Revert last change.
21636 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21638         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21640 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21642         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
21643         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
21644         implementation.
21645         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21646         (__libc_ifunc_impl_list): Likewise.
21647         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
21648         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
21649         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
21650         * string/strrchr.c: Define STRRCHR.
21652 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
21654         * benchtest/bench-strtok.c (simple_strtok): Delete.
21655         (strtok_string): Use as benchmark.
21656         * string/strtok (STRTOK): New macro.
21658 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
21660         * manual/threads.texi: Add header and standard comments to all
21661         functions.
21663         * elf/dl-lookup.c (check_match): New function.
21664         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
21665         (do_lookup_x): Remove nested function check_match. Use non-nested
21666         function check_match.
21668 2014-02-28  Roland McGrath  <roland@hack.frob.com>
21670         * csu/Makefile (generated, before-compile): Use += rather than =.
21671         * catgets/Makefile (generated, generated-dirs): Likewise.
21672         * debug/Makefile (generated): Likewise.
21673         * dlfcn/Makefile (generated): Likewise.
21674         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
21675         * iconvdata/Makefile (before-compile, generated): Likewise.
21676         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
21677         * libio/Makefile (generated): Likewise.
21678         * malloc/Makefile (generated): Likewise.
21679         * manual/Makefile (generated, generated-dirs): Likewise.
21680         * misc/Makefile (generated): Likewise.
21681         * posix/Makefile (generated): Likewise.
21682         * resolv/Makefile (generated): Likewise.
21683         * sunrpc/Makefile (generated, generated-dirs): Likewise.
21684         * timezone/Makefile (generated, generated-dirs): Likewise.
21686         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
21688 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21690         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
21691         power8 implementation.
21692         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
21693         file: POWER8 llround ifunc implementation.
21694         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
21695         (__lllround): Add POWER8 implementation.
21696         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
21697         POWER8 llround implementation.
21699         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
21700         power8 implementation.
21701         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
21702         file: POWER8 llrint ifunc implementation.
21703         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
21704         Add POWER8 implementation.
21705         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
21706         POWER8 llrint implementation.
21708         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
21709         power8 implementation.
21710         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
21711         file: POWER8 finite ifunc implementation.
21712         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
21713         Add POWER8 implementation.
21714         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
21715         Likewise.
21716         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
21717         POWER8 finite implementation.
21718         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
21720         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
21721         power8 implementation.
21722         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
21723         file: POWER8 isinf ifunc implementation.
21724         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
21725         POWER8 implementation.
21726         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
21727         Likewise.
21728         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
21729         isinf implementation.
21730         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
21732         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
21733         (INIT_ARCH): Add hwcap2 initialization.
21734         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
21735         power8 implementation.
21736         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
21737         file: POWER8 isnan ifunc implementation.
21738         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
21739         POWER8 implementation.
21740         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
21741         Likewise.
21742         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
21743         isnan implementation.
21744         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
21746 2014-02-27  Joey Ye  <joey.ye@arm.com>
21748         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
21749         (_FP_NANFRAC_Q): Set to zero.
21751 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21753         [BZ #16623]
21754         * math/auto-libm-test-in: New test inputs.
21755         * math/auto-libm-test-out: Regenerate.
21756         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
21757         and DA.
21758         (__cos): Likewise.
21759         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21761 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
21763         * scripts/evaluate-test.sh: Take new argument indicating whether
21764         failure is expected.
21765         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
21766         indicating whether failure is expected.
21767         * conform/Makefile (test-xfail-run-conformtest): New variable.
21768         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
21769         level.
21770         * posix/Makefile (test-xfail-annexc): New variable.
21771         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
21773 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
21775         * argp/Makefile: Include Makeconfig immediately after defining
21776         subdir.
21777         * assert/Makefile: Likewise.
21778         * benchtests/Makefile: Likewise.
21779         * catgets/Makefile: Likewise.
21780         * conform/Makefile: Likewise.
21781         * crypt/Makefile: Likewise.
21782         * csu/Makefile: Likewise.
21783         (all): Remove target.
21784         * ctype/Makefile: Include Makeconfig immediately after defining
21785         subdir.
21786         * debug/Makefile: Likewise.
21787         * dirent/Makefile: Likewise.
21788         * dlfcn/Makefile: Likewise.
21789         * gmon/Makefile: Likewise.
21790         * gnulib/Makefile: Likewise.
21791         * grp/Makefile: Likewise.
21792         * gshadow/Makefile: Likewise.
21793         * hesiod/Makefile: Likewise.
21794         * hurd/Makefile: Likewise.
21795         (all): Remove target.
21796         * iconvdata/Makefile: Include Makeconfig immediately after
21797         defining subdir.
21798         * inet/Makefile: Likewise.
21799         * intl/Makefile: Likewise.
21800         * io/Makefile: Likewise.
21801         * libio/Makefile: Likewise.
21802         (all): Remove target.
21803         * locale/Makefile: Include Makeconfig immediately after defining
21804         subdir.
21805         * login/Makefile: Likewise.
21806         * mach/Makefile: Likewise.
21807         (all): Remove target.
21808         * malloc/Makefile: Include Makeconfig immediately after defining
21809         subdir.
21810         (all): Remove target.
21811         * manual/Makefile: Include Makeconfig immediately after defining
21812         subdir.
21813         * math/Makefile: Likewise.
21814         * misc/Makefile: Likewise.
21815         * nis/Makefile: Likewise.
21816         * nss/Makefile: Likewise.
21817         * po/Makefile: Likewise.
21818         (all): Remove target.
21819         * posix/Makefile: Include Makeconfig immediately after defining
21820         subdir.
21821         * pwd/Makefile: Likewise.
21822         * resolv/Makefile: Likewise.
21823         * resource/Makefile: Likewise.
21824         * rt/Makefile: Likewise.
21825         * setjmp/Makefile: Likewise.
21826         * shadow/Makefile: Likewise.
21827         * signal/Makefile: Likewise.
21828         * socket/Makefile: Likewise.
21829         * soft-fp/Makefile: Likewise.
21830         * stdio-common/Makefile: Likewise.
21831         * stdlib/Makefile: Likewise.
21832         * streams/Makefile: Likewise.
21833         * string/Makefile: Likewise.
21834         * sunrpc/Makefile: Likewise.
21835         (all): Remove target.
21836         * sysvipc/Makefile: Include Makeconfig immediately after defining
21837         subdir.
21838         * termios/Makefile: Likewise.
21839         * time/Makefile: Likewise.
21840         * timezone/Makefile: Likewise.
21841         (all): Remove target.
21842         * wcsmbs/Makefile: Include Makeconfig immediately after defining
21843         subdir.
21844         * wctype/Makefile: Likewise.
21846 2014-02-26  Steve Ellcey  <sellcey@mips.com>
21848         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
21849         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
21850         (libc_feholdexcept_setround_mips): Ditto.
21851         (libc_feholdsetround): New.
21852         (libc_feholdsetroundf): New.
21853         (libc_feholdsetroundl): New.
21854         (libc_feupdateenv_test_mips): New.
21855         (libc_feupdateenv_test): New.
21856         (libc_feupdateenv_testf): New.
21857         (libc_feupdateenv_testl): New.
21858         (libc_feresetround): New.
21859         (libc_feresetroundf): New.
21860         (libc_feresetroundl): New.
21861         (libc_fetestexcept_mips): New.
21862         (libc_fetestexcept): New.
21863         (libc_fetestexceptf): New.
21864         (libc_fetestexceptl): New.
21865         (HAVE_RM_CTX): New.
21866         (libc_feholdexcept_setround_mips_ctx): New.
21867         (libc_feholdexcept_setround_ctx): New.
21868         (libc_feholdexcept_setroundf_ctx): New.
21869         (libc_feholdexcept_setroundl_ctx): New.
21870         (libc_fesetenv_mips_ctx): New.
21871         (libc_fesetenv_ctx): New.
21872         (libc_fesetenv_ctxf): New.
21873         (libc_fesetenv_ctxl): New.
21874         (libc_feupdateenv_mips_ctx): New.
21875         (libc_feupdateenv_ctx): New.
21876         (libc_feupdateenvf_ctx): New.
21877         (libc_feupdateenvl_ctx): New.
21878         (libc_feholdsetround_mips_ctx): New.
21879         (libc_feholdsetround_ctx): New.
21880         (libc_feholdsetroundf_ctx): New.
21881         (libc_feholdsetroundl_ctx): New.
21882         (libc_feresetround_mips_ctx): New.
21883         (libc_feresetround_ctx): New.
21884         (libc_feresetroundf_ctx): New.
21885         (libc_feresetroundl_ctx): New.
21887 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
21889         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
21891         * manual/ipc.texi: New file.
21892         * manual/Makefile (chapters): Add ipc.
21893         * manual/job.texi: Add "Inter-Process Communication" to next.
21894         * manual/process.texi: Add "Inter-Process Communication" to prev.
21896 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21898         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21900 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
21902         * malloc/malloc.c (__libc_calloc): Simplify implementation.
21904         * manual/arith.texi: Fix spaces after sentences.
21905         * manual/charset.texi: Likewise.
21906         * manual/errno.texi: Likewise.
21907         * manual/install.texi: Likewise.
21908         * manual/llio.texi: Likewise.
21909         * manual/locale.texi: Likewise.
21910         * manual/maint.texi: Likewise.
21911         * manual/math.texi: Likewise.
21912         * manual/memory.texi: Likewise.
21913         * manual/message.texi: Likewise.
21914         * manual/probes.texi: Likewise.
21915         * manual/resource.texi: Likewise.
21916         * manual/signal.texi: Likewise.
21917         * manual/socket.texi: Likewise.
21918         * manual/stdio.texi: Likewise.
21919         * manual/string.texi: Likewise.
21920         * manual/time.texi: Likewise.
21921         * manual/users.texi: Likewise.
21923 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
21925         [BZ #16632]
21926         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
21927         _DEFAULT_SOURCE is defined.
21929 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
21930             Carlos O'Donell  <carlos@redhat.com>
21932         [BZ #16613]
21933         * elf/dl-tls.c (_dl_count_modids): New function.
21934         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
21935         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
21936         audit library and increment generation counter.
21937         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
21938         * elf/tst-audit9.c: New file.
21939         * elf/tst-auditmod9a.c: New file.
21940         * elf/tst-auditmod9b.c: New file.
21941         * elf/Makefile: Add rules to build and run tst-audit9.
21943 2014-02-25  Florian Weimer  <fweimer@redhat.com>
21945         [BZ #15347]
21946         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
21948 2014-02-25  Will Newton  <will.newton@linaro.org>
21950         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
21951         (__longjmp): Restore sp and lr before restoring callee
21952         saved registers.  Add longjmp and longjmp_target
21953         SystemTap probe point.
21954         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
21955         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
21956         Define to zero to match jmpbuf layout.
21957         * sysdeps/arm/setjmp.S: Include stap-probe.h.
21958         (__sigsetjmp): Save sp and lr before saving callee
21959         saved registers.  Add setjmp SystemTap probe point.
21961 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21963         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21965 2014-02-24  Andreas Schwab  <schwab@suse.de>
21967         [BZ #15804]
21968         * elf/pldd.c (wait_for_ptrace_stop): New function.
21969         (main): Call it after attaching.
21971 2014-02-22  Roland McGrath  <roland@hack.frob.com>
21973         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
21974         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
21975         Versions files is now verboten.
21976         * hurd/Versions (libc: GLIBC_2.0):
21977         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
21978         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
21979         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
21980         * mach/Versions: Likewise.
21982         * csu/Versions: Remove unused %include.
21983         * resolv/Versions: Likewise.
21985 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
21987         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
21988         ($(objpfx)check-local-headers.out): Likewise.
21989         ($(objpfx)begin-end-check.out): Likewise.
21990         * Makerules (check-abi-%.out): Likewise.
21991         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
21992         ($(objpfx)test2.cat): Likewise.
21993         ($(objpfx)de/libc.cat): Likewise.
21994         ($(objpfx)test-gencat.out): Likewise.
21995         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
21996         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
21997         ($(objpfx)noload-mem): Likewise.
21998         ($(objpfx)tst-pathopt.out): Likewise.
21999         ($(objpfx)tst-rtld-load-self.out): Likewise.
22000         ($(objpfx)tst-array1-cmp.out): Likewise.
22001         ($(objpfx)tst-array1-static-cmp.out): Likewise.
22002         ($(objpfx)tst-array2-cmp.out): Likewise.
22003         ($(objpfx)tst-array3-cmp.out): Likewise.
22004         ($(objpfx)tst-array4-cmp.out): Likewise.
22005         ($(objpfx)tst-array5-cmp.out): Likewise.
22006         ($(objpfx)tst-array5-static-cmp.out): Likewise.
22007         ($(objpfx)check-textrel.out): Likewise.
22008         ($(objpfx)check-execstack.out): Likewise.
22009         ($(objpfx)check-localplt.out): Likewise.
22010         ($(objpfx)order2-cmp.out): Likewise.
22011         ($(objpfx)tst-leaks1-mem): Likewise.
22012         ($(objpfx)tst-leaks1-static-mem): Likewise.
22013         ($(objpfx)tst-initorder-cmp.out): Likewise.
22014         ($(objpfx)tst-initorder2-cmp.out): Likewise.
22015         ($(objpfx)tst-unused-dep.out): Likewise.
22016         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
22017         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
22018         * iconv/Makefile (test-iconvconfig): Likewise.
22019         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
22020         ($(objpfx)iconv-test.out): Likewise.
22021         ($(objpfx)tst-tables.out): Likewise.
22022         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
22023         ($(objpfx)tst-gettext.out): Likewise.
22024         ($(objpfx)tst-translit.out): Likewise.
22025         ($(objpfx)tst-gettext2.out): Likewise.
22026         ($(objpfx)tst-gettext4.out): Likewise.
22027         ($(objpfx)tst-gettext6.out): Likewise.
22028         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
22029         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
22030         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
22031         ($(objpfx)tst-fopenloc-mem.out): Likewise.
22032         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
22033         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
22034         * posix/Makefile ($(objpfx)globtest.out): Likewise.
22035         ($(objpfx)wordexp-tst.out): Likewise.
22036         ($(objpfx)annexc.out): Likewise.
22037         ($(objpfx)tst-fnmatch-mem): Likewise.
22038         ($(objpfx)bug-regex2-mem): Likewise.
22039         ($(objpfx)bug-regex14-mem): Likewise.
22040         ($(objpfx)bug-regex21-mem): Likewise.
22041         ($(objpfx)bug-regex31-mem): Likewise.
22042         ($(objpfx)tst-vfork3-mem): Likewise.
22043         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
22044         ($(objpfx)tst-pcre-mem): Likewise.
22045         ($(objpfx)tst-boost-mem): Likewise.
22046         ($(objpfx)tst-getconf.out): Likewise.
22047         ($(objpfx)bug-ga2-mem): Likewise.
22048         ($(objpfx)bug-glob2-mem): Likewise.
22049         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
22050         ($(objpfx)mtrace-tst-leaks2): Likewise.
22051         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
22052         ($(objpfx)tst-printf.out): Likewise.
22053         ($(objpfx)tst-setvbuf1.out): Likewise.
22054         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
22055         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
22056         ($(objpfx)tst-fmtmsg.out): Likewise.
22057         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
22058         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
22060         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
22061         * bits/sigaction.h [__USE_MISC]: Likewise.
22062         * bits/waitstatus.h: Update #endif comments.
22063         * ctype/ctype.h: Likewise.
22064         * dirent/dirent.h: Likewise.
22065         [__USE_MISC]: Remove redundant conditionals.
22066         * grp/grp.h: Update #endif comments.
22067         [__USE_GNU]: Remove redundant conditionals.
22068         [__USE_MISC]: Likewise.
22069         * inet/netinet/in.h [__USE_GNU]: Likewise.
22070         * io/sys/stat.h [__USE_MISC]: Likewise.
22071         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
22072         * libio/bits/stdio.h: Update #endif comments.
22073         [__USE_MISC]: Remove redundant conditionals.
22074         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
22075         * libio/stdio.h: Update #endif comments.
22076         [__USE_MISC]: Remove redundant conditionals.
22077         * math/bits/math-finite.h [__USE_MISC]: Likewise.
22078         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
22079         * math/math.h: Update #else and #endif comments.
22080         [__USE_MISC]: Remove redundant conditionals.
22081         * misc/sys/uio.h: Update #endif comments.
22082         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
22083         * posix/glob.h [__USE_MISC]: Likewise.
22084         * posix/sys/types.h: Update #endif comments.
22085         [__USE_MISC]: Remove redundant conditionals.
22086         * posix/sys/wait.h: Update #endif comments.
22087         [__USE_MISC]: Remove redundant conditionals.
22088         * posix/unistd.h: Update #endif comments.
22089         [__USE_MISC]: Remove redundant conditionals.
22090         * pwd/pwd.h [__USE_GNU]: Likewise.
22091         [__USE_MISC]: Likewise.
22092         * resolv/netdb.h [__USE_GNU]: Likewise.
22093         * signal/signal.h: Update #endif comments.
22094         [__USE_MISC]: Remove redundant conditionals.
22095         * stdlib/stdlib.h: Update #else and #endif comments.
22096         [__USE_MISC]: Remove redundant conditionals.
22097         [__USE_GNU]: Likewise.
22098         * string/bits/string2.h [__USE_MISC]: Likewise.
22099         * string/string.h: Update #endif comments.
22100         [__USE_MISC]: Remove redundant conditionals.
22101         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
22102         Likewise.
22103         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
22104         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
22105         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
22106         Likewise.
22107         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
22108         Likewise.
22109         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
22110         comments.
22111         [__USE_MISC]: Remove redundant conditionals.
22112         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
22113         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
22114         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
22115         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
22116         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
22117         Likewise.
22118         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
22119         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
22120         Likewise.
22121         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
22122         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
22123         Likewise.
22124         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
22125         Likewise.
22126         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
22127         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
22128         Likewise.
22129         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
22130         Likewise.
22131         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
22132         * sysdeps/x86/bits/string.h: Update #endif comments.
22133         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
22134         conditionals.
22135         * time/sys/time.h: Update #endif comments.
22136         * time/time.h: Likewise.
22137         [__USE_MISC]: Remove redundant conditionals.
22139 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
22141         [BZ #16600]
22142         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
22144 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
22146         * Versions.def (librt): Add GLIBC_2.17.
22148 2014-02-21  Adam Conrad  <adconrad@0c3.net>
22150         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
22151         synonym for _SYS_AUXV_H to allow direct inclusion.
22152         * sysdeps/sparc/bits/hwcap.h: Likewise.
22153         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
22154         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
22155         * sysdeps/sparc/sysdep.h: Likewise.
22157 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22159         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
22161 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22163         * benchtests/bench-strrchr.c: Print length instead of position.
22165 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
22167         [BZ #16611]
22168         * sysdeps/unix/sysv/linux/kernel-features.h
22169         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
22170         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
22171         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
22172         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
22173         Likewise.
22174         [__i386__ || __powerpc__ || __sh__ || __sparc__]
22175         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22176         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
22177         (__ASSUME_SENDMMSG): Define instead of using previous
22178         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
22179         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22180         (__ASSUME_SENDMMSG_SYSCALL): Define.
22181         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22182         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
22183         Likewise.
22184         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22185         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22186         Likewise.
22187         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22188         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22189         Likewise.
22190         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
22191         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
22192         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
22193         [__ASSUME_SENDMMSG]: Change conditionals to
22194         [__ASSUME_SENDMMSG_SOCKETCALL].
22195         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22196         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
22197         Define.
22198         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22199         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
22200         Likewise.
22201         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
22202         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
22203         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
22204         [!__ASSUME_SENDMMSG]: Change conditional to
22205         [!__ASSUME_SENDMMSG_SOCKETCALL].
22206         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22207         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22208         Define.
22210         [BZ #16610]
22211         * sysdeps/unix/sysv/linux/kernel-features.h
22212         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
22213         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
22214         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
22215         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
22216         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22217         [__i386__ || __sparc__]
22218         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22219         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
22220         (__ASSUME_RECVMMSG): Define instead of using previous
22221         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
22222         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22223         (__ASSUME_RECVMMSG_SYSCALL): Define.
22224         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22225         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22226         Likewise.
22227         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22228         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22229         Likewise.
22230         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22231         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22232         Likewise.
22233         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
22234         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22235         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22236         [__ASSUME_RECVMMSG]: Change condition to
22237         [__ASSUME_RECVMMSG_SOCKETCALL].
22238         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22239         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22240         Define.
22241         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22242         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22243         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22244         Likewise.
22245         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
22246         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22247         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22248         [!__ASSUME_RECVMMSG]: Change condition to
22249         [!__ASSUME_RECVMMSG_SOCKETCALL].
22250         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22251         (__ASSUME_RECVMMSG_SYSCALL): Define.
22253         [BZ #16609]
22254         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
22255         __powerpc__ || __s390__ || __sh__ || __sparc__]
22256         (__ASSUME_SOCKETCALL): Define.
22257         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
22258         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
22259         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
22260         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
22261         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22262         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
22263         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
22264         (__ASSUME_ACCEPT4): Define instead of using previous
22265         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
22266         __powerpc__ || __sparc__ || __s390__)] condition.
22267         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22268         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22269         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
22270         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22271         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22272         [!__ASSUME_ACCEPT4]: Change condition to
22273         [!__ASSUME_ACCEPT4_SOCKETCALL].
22274         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22275         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
22276         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
22277         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22278         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
22279         __ASSUME_ACCEPT4_SYSCALL.
22280         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
22281         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
22282         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22283         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
22284         __ASSUME_ACCEPT4_SYSCALL.
22285         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
22286         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22287         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22288         [__ASSUME_ACCEPT4]: Change condition to
22289         [__ASSUME_ACCEPT4_SOCKETCALL].
22290         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22291         (__ASSUME_SOCKETCALL): Define.
22292         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
22293         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22294         (__ASSUME_SOCKETCALL): Define.
22295         (__ASSUME_ACCEPT4): Remove.
22296         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
22297         Define.
22298         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22299         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
22300         Likewise.
22301         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22302         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22304         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
22305         macro.
22306         (HWCAP_ARM_LPAE): Likewise.
22307         (HWCAP_ARM_EVTSTRM): Likewise.
22308         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
22309         Add vpfd32, lpae and evtstrm.
22310         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
22311         Increase to 22.
22313 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
22315         * math/auto-libm-test-in: Add tests of clog10.
22316         * math/auto-libm-test-out: Regenerated.
22317         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
22318         * sysdeps/i386/fpu/libm-test-ulps: Update.
22319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22321 2014-02-18  Andreas Schwab  <schwab@suse.de>
22323         [BZ #16574]
22324         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
22325         Store non-zero if the second buffer was newly allocated.
22326         (send_dg): Likewise.
22327         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
22328         to send_vc and send_dg.
22329         (res_nsend): Pass NULL for ansp2_malloced.
22330         * resolv/res_query.c (__libc_res_nquery): Add parameter
22331         answerp2_malloced and pass it down to __libc_res_nsend.
22332         (res_nquery): Pass additional NULL to __libc_res_nquery.
22333         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
22334         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
22335         second answer buffer if answerp2_malloced was set.
22336         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
22337         (__libc_res_nquerydomain): Add parameter
22338         answerp2_malloced and pass it down to __libc_res_nquery.
22339         (res_nquerydomain): Pass additional NULL to
22340         __libc_res_nquerydomain.
22341         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
22342         additional NULL to __libc_res_nsend and __libc_res_nquery.
22343         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
22344         additional NULL to __libc_res_nsearch.
22345         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
22346         parameter of __libc_res_nsearch to check for separately allocated
22347         second buffer.
22348         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
22349         __libc_res_nquery.
22350         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
22351         additional NULL to __libc_res_nquery.
22352         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
22353         __libc_res_nsearch.
22354         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
22355         * include/resolv.h: Update prototypes of __libc_res_nquery,
22356         __libc_res_nsearch, __libc_res_nsend.
22358 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
22360         * math/auto-libm-test-in: Add tests of fma.
22361         * math/auto-libm-test-out: Regenerated.
22362         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
22363         (fma_towardzero_test_data): Likewise.
22364         (fma_downward_test_data): Likewise.
22365         (fma_upward_test_data): Likewise.
22366         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
22367         mpc_mode.
22368         (rounding_modes): Add values for new field.
22369         (func_calc_method): Add value mpfr_fff_f.
22370         (func_calc_desc): Add mpfr_fff_f union field.
22371         (test_function): Add field exact_args.
22372         (FUNC): Add macro argument EXACT_ARGS.
22373         (FUNC_mpfr_f_f): Update call to FUNC.
22374         (FUNC_mpfr_f_f): Likewise.
22375         (FUNC_mpfr_ff_f): Likewise.
22376         (FUNC_mpfr_if_f): Likewise.
22377         (FUNC_mpc_c_f): Likewise.
22378         (FUNC_mpc_c_c): Likewise.
22379         (test_functions): Add fma.  Update calls to FUNC.
22380         (handle_input_arg): Add argument exact_args.
22381         (add_test): Update call to handle_input_arg.
22382         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
22383         (output_for_one_input_case): Update call to calc_generic_results.
22384         Recalculate exact zero results in each rounding mode.
22386         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
22387         non-negative before setting low bit.
22388         * math/auto-libm-test-in: Mark one asin test possibly having
22389         spurious underflow.
22390         * math/auto-libm-test-out: Regenerated.
22391         * sysdeps/i386/fpu/libm-test-ulps: Update.
22392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22394 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
22396         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
22397         * sysdeps/unix/sysv/linux/microblaze: Move directory from
22398         ports/sysdeps/unix/sysv/linux/microblaze.
22399         * README: Add missing listing for microblaze*-*-linux-gnu.
22401 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
22403         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
22404         duplicate code
22406 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
22408         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
22409         * sysdeps/unix/sysv/linux/ia64: Move directory from
22410         ports/sysdeps/unix/sysv/linux/ia64.
22411         * README: Update listing for ia64-*-linux-gnu.
22413 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
22414             Joseph Myers  <joseph@codesourcery.com>
22416         * Makeconfig (test-name): New variable.
22417         (evaluate-test): Likewise.
22418         * Makerules (do-test-clean): Remove .test-result files.
22419         (common-mostlyclean): Likewise.
22420         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
22421         * scripts/evaluate-test.sh: New file.
22423 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
22425         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
22426         separate $(objpfx)tst-fopenloc-cmp.out and
22427         $(objpfx)tst-fopenloc-mem.out targets.
22428         (tests): Update dependencies.
22429         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
22430         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
22431         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
22432         (tst-rxspencer-no-utf8-ARGS): New variable.
22433         (tst-rxspencer-no-utf8-ENV): Likewise.
22434         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
22435         instead of $(objpfx)tst-rxspencer-mem.
22436         ($(objpfx)tst-rxspencer-mem): Change target to
22437         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
22438         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
22439         * posix/tst-rxspencer-no-utf8.c: New file.
22441         * elf/Makefile ($(objpfx)order.out): Remove rule.
22442         [$(run-built-tests) = yes] (tests): Depend on
22443         $(objpfx)order-cmp.out.
22444         ($(objpfx)order-cmp.out): New rule.
22445         [$(run-built-tests) = yes] (tests): Depend on
22446         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
22447         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
22448         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
22449         $(objpfx)tst-array5-static-cmp.out.
22450         ($(objpfx)tst-array1.out): Remove rule.
22451         ($(objpfx)tst-array1-cmp.out): New rule.
22452         ($(objpfx)tst-array1-static.out): Remove rule.
22453         ($(objpfx)tst-array1-static-cmp.out): New rule.
22454         ($(objpfx)tst-array2.out): Remove rule.
22455         ($(objpfx)tst-array2-cmp.out): New rule.
22456         ($(objpfx)tst-array3.out): Remove rule.
22457         ($(objpfx)tst-array3-cmp.out): New rule.
22458         ($(objpfx)tst-array4.out): Remove rule.
22459         ($(objpfx)tst-array4-cmp.out): New rule.
22460         ($(objpfx)tst-array5.out): Remove rule.
22461         ($(objpfx)tst-array5-cmp.out): New rule.
22462         ($(objpfx)tst-array5-static.out): Remove rule.
22463         ($(objpfx)tst-array5-static-cmp.out): New rule.
22464         [$(run-built-tests) = yes] (tests): Depend on
22465         $(objpfx)order2-cmp.out.
22466         ($(objpfx)order2.out): Remove rule.
22467         ($(objpfx)order2-cmp.out): New rule.
22468         ($(objpfx)tst-initorder.out): Remove rule.
22469         [$(run-built-tests) = yes] (tests): Depend on
22470         $(objpfx)tst-initorder-cmp.out.
22471         ($(objpfx)tst-initorder-cmp.out): New rule.
22472         ($(objpfx)tst-initorder2.out): Remove rule.
22473         [$(run-built-tests) = yes] (tests): Depend on
22474         $(objpfx)tst-initorder2-cmp.out.
22475         ($(objpfx)tst-initorder2-cmp.out): New rule.
22476         [$(run-built-tests) = yes] (tests): Depend on
22477         $(objpfx)tst-unused-dep-cmp.out.
22478         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
22479         ($(objpfx)tst-unused-dep-cmp.out): New rule.
22480         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
22481         on $(objpfx)tst-setvbuf1-cmp.out.
22482         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
22483         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
22484         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
22485         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
22486         ($(objpfx)tst-svc.out): Remove rule.
22487         ($(objpfx)tst-svc-cmp.out): New rule.
22489 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
22491         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
22492         * ctype/ctype.h [__USE_MISC]: Likewise.
22493         * dirent/dirent.h [__USE_MISC]: Likewise.
22494         * grp/grp.h [__USE_MISC]: Likewise.
22495         * io/fcntl.h [__USE_MISC]: Likewise.
22496         * io/sys/stat.h [__USE_MISC]: Likewise.
22497         * libio/stdio.h [__USE_MISC]: Likewise.
22498         * posix/unistd.h [__USE_MISC]: Likewise.
22499         * pwd/pwd.h [__USE_MISC]: Likewise.
22500         * stdlib.h [__USE_MISC]: Likewise.
22501         * string/bits/string2.h [__USE_MISC]: Likewise.
22502         * string/string.h [__USE_MISC]: Likewise.
22503         * time/time.h [__USE_MISC]: Likewise.
22505 2014-02-13  Andreas Schwab  <schwab@suse.de>
22507         [BZ #16574]
22508         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
22509         second answer buffer if it was separately allocated.
22511 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
22513         * sysdeps/mips/math-tests.h: Include <features.h>.
22514         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
22515         (ROUNDING_TESTS_long_double): Do not define.
22516         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
22517         (EXCEPTION_TESTS_long_double): Likewise.
22518         * sysdeps/mips/mips64/libm-test-ulps: Update.
22520         * include/features.h (__USE_BSD): Remove macro definitions.
22521         (__USE_SVID): Likewise.
22522         (_BSD_SOURCE): Likewise.
22523         (_SVID_SOURCE): Likewise.
22524         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
22525         from definition of _DEFAULT_SOURCE.
22526         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
22527         [_DEFAULT_SOURCE].
22528         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
22529         * bits/mman.h [__USE_BSD]: Likewise.
22530         * bits/termios.h [__USE_BSD]: Likewise.
22531         * bits/waitstatus.h [__USE_BSD]: Likewise.
22532         * ctype/ctype.h [__USE_SVID]: Likewise.
22533         * dirent/dirent.h [__USE_BSD]: Likewise.
22534         * grp/grp.h [__USE_SVID]: Likewise.
22535         [__USE_BSD]: Likewise.
22536         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
22537         * io/fcntl.h [__USE_BSD]: Likewise.
22538         * io/ftw.h [__USE_BSD]: Likewise.
22539         * io/sys/stat.h [__USE_BSD]: Likewise.
22540         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
22541         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
22542         * libio/stdio.h [__USE_SVID]: Likewise.
22543         [__USE_BSD]: Likewise.
22544         * math/math.h [__USE_SVID]: Likewise.
22545         [__USE_BSD]: Likewise.
22546         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
22547         * misc/bits/syslog.h [__USE_BSD]: Likewise.
22548         * misc/search.h [__USE_SVID]: Likewise.
22549         * misc/sys/mman.h [__USE_BSD]: Likewise.
22550         * misc/sys/syslog.h [__USE_BSD]: Likewise.
22551         * misc/sys/uio.h [__USE_BSD]: Likewise.
22552         * posix/bits/unistd.h [__USE_BSD]: Likewise.
22553         * posix/glob.h [__USE_BSD]: Likewise.
22554         * posix/regex.h [__USE_BSD]: Likewise.
22555         * posix/sys/types.h [__USE_BSD]: Likewise.
22556         [__USE_SVID]: Likewise.
22557         * posix/sys/utsname.h [__USE_SVID]: Likewise.
22558         * posix/sys/wait.h [__USE_BSD]: Likewise.
22559         [__USE_SVID]: Likewise.
22560         * posix/unistd.h [__USE_BSD]: Likewise.
22561         [__USE_SVID]: Likewise.
22562         * pwd/pwd.h [__USE_SVID]: Likewise.
22563         * resolv/netdb.h [__USE_BSD]: Likewise.
22564         * setjmp/setjmp.h [__USE_BSD]: Likewise.
22565         * signal/signal.h [__USE_BSD]: Likewise.
22566         [__USE_SVID]: Likewise.
22567         * socket/sys/socket.h [__USE_BSD]: Likewise.
22568         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
22569         * stdlib/stdlib.h [__USE_BSD]: Likewise.
22570         [__USE_SVID]: Likewise.
22571         * string/bits/string2.h [__USE_BSD]: Likewise.
22572         [__USE_SVID]: Likewise.
22573         * string/bits/string3.h [__USE_BSD]: Likewise.
22574         * string/endian.h [__USE_BSD]: Likewise.
22575         * string/string.h [__USE_SVID]: Likewise.
22576         [__USE_BSD]: Likewise.
22577         * string/strings.h [__USE_BSD]: Likewise.
22578         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
22579         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
22580         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
22581         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
22582         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
22583         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
22584         Likewise.
22585         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
22586         Likewise.
22587         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
22588         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
22589         Likewise.
22590         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
22591         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
22592         Likewise.
22593         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
22594         Likewise.
22595         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
22596         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
22597         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
22598         Likewise.
22599         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
22600         Likewise.
22601         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
22602         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
22603         * termios/termios.h [__USE_BSD]: Likewise.
22604         * time/sys/time.h [__USE_BSD]: Likewise.
22605         * time/time.h [__USE_BSD]: Likewise.
22606         [__USE_SVID]: Likewise.
22608         * Makefile (subdir_targets): Remove subdir_lint.out.
22610         * stdio-common/Makefile (do-tst-unbputc): Remove target.
22611         (do-tst-printf): Likewise.
22612         (tests): Depend directly on $(objpfx)tst-unbputc.out and
22613         $(objpfx)tst-printf.out.
22615         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
22617         * Makerules (check-abi-%): Change target to
22618         $(objpfx)check-abi-%.out.
22619         (check-abi target): Update dependencies.
22620         (check-abi-pattern variable): Redirect output of diff to $@.
22621         (check-abi variable): Likewise.
22622         * elf/Makefile (check-abi): Update dependencies.
22624         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
22625         unused.
22626         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
22627         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
22628         subnormal range.
22629         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
22630         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
22631         value has largest subnormal exponent.
22632         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
22633         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
22634         * sysdeps/aarch64/soft-fp/sfp-machine.h
22635         (_FP_TININESS_AFTER_ROUNDING): New macro.
22636         * sysdeps/alpha/soft-fp/sfp-machine.h
22637         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22638         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22639         Likewise.
22640         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
22641         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22642         * sysdeps/mips/soft-fp/sfp-machine.h
22643         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22644         * sysdeps/powerpc/soft-fp/sfp-machine.h
22645         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22646         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22647         Likewise.
22648         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22649         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22650         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22651         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22652         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22653         Likewise.
22655 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
22657         [BZ #16545]
22658         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
22659         model 1.
22661 2014-02-12  Richard Henderson  <rth@redhat.com>
22663         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
22664         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
22665         * sysdeps/unix/sysv/linux/alpha: Move directory from
22666         ports/sysdeps/unix/sysv/linux/alpha.
22667         * README: Update listing for alpha-*-linux-gnu.
22669 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
22671         * include/features.h: Update comment documenting feature test
22672         macros.
22673         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
22674         _DEFAULT_SOURCE.
22675         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
22676         (_SVID_SOURCE): Likewise.
22677         (_DEFAULT_SOURCE): Update description of default features.
22678         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
22679         with _GNU_SOURCE.
22680         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
22681         (S_ISVTX): Likewise.
22682         * manual/math.texi (Mathematical Constants): Likewise.
22683         * manual/signal.texi (Interrupted Primitives): Likewise.
22684         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
22685         * math/test-matherr.c (_SVID_SOURCE): Do not define.
22686         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
22687         Don't refer to _SVID_SOURCE in warning text.
22689         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22691         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
22692         already defined.
22693         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
22694         * sysdeps/mips/dl-lookup.c: Remove.
22695         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
22697 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
22699         [BZ #16447]
22700         * math/auto-libm-test-in: Add testcase for expl.
22701         * math/auto-libm-test-out: Regenerate.
22702         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
22703         calculation of unsafe.
22704         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
22706 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
22708         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
22709         * sysdeps/unix/sysv/linux/aarch64: Move directory from
22710         ports/sysdeps/unix/sysv/linux/aarch64.
22711         * README: Update listing for aarch64*-*-linux-gnu.
22713 2014-02-11  Will Newton  <will.newton@linaro.org>
22715         * manual/probes.texi (Mathematical Function Probes): Use
22716         "triggered" instead of "hit".
22718         * manual/probes.texi (Internal Probes): Add documentation
22719         of setjmp, longjmp and longjmp_target probes.
22721         * include/stap-probe.h: Add comment about probe argument
22722         format.
22724         * malloc/mtrace.c (attribute_hidden): Remove unused macro
22725         definition.  (tr_where, tr_freehook, tr_mallochook,
22726         tr_reallochook, tr_memalignhook): Use ANSI protoype.
22728 2014-02-11  David S. Miller  <davem@davemloft.net>
22730         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
22731         processing int_tests.
22733 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
22735         * sysdeps/mips: Move directory from ports/sysdeps/mips.
22736         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
22737         * sysdeps/unix/sysv/linux/mips: Move directory from
22738         ports/sysdeps/unix/sysv/linux/mips.
22739         * README: Update listing for mips-*-linux-gnu and
22740         mips64-*-linux-gnu.
22742 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
22744         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
22745         * sysdeps/unix/sysv/linux/m68k: Move directory from
22746         ports/sysdeps/unix/sysv/linux/m68k.
22747         * README: Update listing for m68k-*-linux-gnu.
22749 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
22751         * sysdeps/tile: Move directory from ports/sysdeps/tile.
22752         * sysdeps/unix/sysv/linux/generic: Move directory from
22753         ports/sysdeps/unix/sysv/linux/generic.
22754         * sysdeps/unix/sysv/linux/tile: Move directory from
22755         ports/sysdeps/unix/sysv/linux/tile.
22756         * README: Update listing for tile*-*-linux-gnu.
22758 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
22760         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
22761         __builtin_expect.
22762         * benchtests/bench-memmem.c (simple_memmem): Likewise.
22763         * catgets/open_catalog.c (__open_catalog): Likewise.
22764         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
22765         * debug/confstr_chk.c: Likewise.
22766         * debug/fread_chk.c (__fread_chk): Likewise.
22767         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
22768         * debug/getgroups_chk.c: Likewise.
22769         * debug/mbsnrtowcs_chk.c: Likewise.
22770         * debug/mbsrtowcs_chk.c: Likewise.
22771         * debug/mbstowcs_chk.c: Likewise.
22772         * debug/memcpy_chk.c: Likewise.
22773         * debug/memmove_chk.c: Likewise.
22774         * debug/mempcpy_chk.c: Likewise.
22775         * debug/memset_chk.c: Likewise.
22776         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
22777         * debug/strcat_chk.c (__strcat_chk): Likewise.
22778         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
22779         * debug/strncat_chk.c (__strncat_chk): Likewise.
22780         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
22781         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
22782         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
22783         * debug/wcpncpy_chk.c: Likewise.
22784         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
22785         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
22786         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
22787         * debug/wcsncpy_chk.c: Likewise.
22788         * debug/wcsnrtombs_chk.c: Likewise.
22789         * debug/wcsrtombs_chk.c: Likewise.
22790         * debug/wcstombs_chk.c: Likewise.
22791         * debug/wmemcpy_chk.c: Likewise.
22792         * debug/wmemmove_chk.c: Likewise.
22793         * debug/wmempcpy_chk.c: Likewise.
22794         * debug/wmemset_chk.c: Likewise.
22795         * dirent/scandirat.c (SCANDIRAT): Likewise.
22796         * dlfcn/dladdr1.c (dladdr1): Likewise.
22797         * dlfcn/dladdr.c (dladdr): Likewise.
22798         * dlfcn/dlclose.c (dlclose_doit): Likewise.
22799         * dlfcn/dlerror.c (__dlerror): Likewise.
22800         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
22801         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
22802         * dlfcn/dlopen.c (dlopen_doit): Likewise.
22803         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
22804         * dlfcn/dlsym.c (dlsym_doit): Likewise.
22805         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
22806         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
22807         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
22808         Likewise.
22809         * elf/dl-conflict.c: Likewise.
22810         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
22811         * elf/dl-dst.h: Likewise.
22812         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
22813         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
22814         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
22815         * elf/dl-init.c (call_init, _dl_init): Likewise.
22816         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
22817         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
22818         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
22819         Likewise.
22820         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
22821         Likewise.
22822         * elf/dl-minimal.c (__libc_memalign): Likewise.
22823         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
22824         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
22825         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
22826         * elf/dl-sym.c (do_sym): Likewise.
22827         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
22828         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
22829         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
22830         * elf/dl-writev.h (_dl_writev): Likewise.
22831         * elf/ldconfig.c (search_dir): Likewise.
22832         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
22833         (dl_main): Likewise.
22834         * elf/setup-vdso.h (setup_vdso): Likewise.
22835         * grp/compat-initgroups.c (compat_call): Likewise.
22836         * grp/fgetgrent.c (fgetgrent): Likewise.
22837         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
22838         * grp/putgrent.c (putgrent): Likewise.
22839         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22840         Likewise.
22841         * hurd/hurdinit.c: Likewise.
22842         * iconvdata/8bit-gap.c (struct): Likewise.
22843         * iconvdata/ansi_x3.110.c : Likewise.
22844         * iconvdata/big5.c : Likewise.
22845         * iconvdata/big5hkscs.c : Likewise.
22846         * iconvdata/cp1255.c: Likewise.
22847         * iconvdata/cp1258.c : Likewise.
22848         * iconvdata/cp932.c : Likewise.
22849         * iconvdata/euc-cn.c: Likewise.
22850         * iconvdata/euc-jisx0213.c : Likewise.
22851         * iconvdata/euc-jp.c: Likewise.
22852         * iconvdata/euc-jp-ms.c : Likewise.
22853         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
22854         * iconvdata/gb18030.c : Likewise.
22855         * iconvdata/gbbig5.c (const): Likewise.
22856         * iconvdata/gbgbk.c: Likewise.
22857         * iconvdata/gbk.c : Likewise.
22858         * iconvdata/ibm1364.c : Likewise.
22859         * iconvdata/ibm930.c : Likewise.
22860         * iconvdata/ibm932.c: Likewise.
22861         * iconvdata/ibm933.c : Likewise.
22862         * iconvdata/ibm935.c : Likewise.
22863         * iconvdata/ibm937.c : Likewise.
22864         * iconvdata/ibm939.c : Likewise.
22865         * iconvdata/ibm943.c: Likewise.
22866         * iconvdata/iso_11548-1.c: Likewise.
22867         * iconvdata/iso-2022-cn.c : Likewise.
22868         * iconvdata/iso-2022-cn-ext.c : Likewise.
22869         * iconvdata/iso-2022-jp-3.c: Likewise.
22870         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
22871         * iconvdata/iso-2022-kr.c : Likewise.
22872         * iconvdata/iso646.c (gconv_end): Likewise.
22873         * iconvdata/iso_6937-2.c : Likewise.
22874         * iconvdata/iso_6937.c : Likewise.
22875         * iconvdata/iso8859-1.c: Likewise.
22876         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
22877         * iconvdata/shift_jisx0213.c : Likewise.
22878         * iconvdata/sjis.c : Likewise.
22879         * iconvdata/t.61.c : Likewise.
22880         * iconvdata/tcvn5712-1.c : Likewise.
22881         * iconvdata/tscii.c: Likewise.
22882         * iconvdata/uhc.c : Likewise.
22883         * iconvdata/unicode.c (gconv_end): Likewise.
22884         * iconvdata/utf-16.c (gconv_end): Likewise.
22885         * iconvdata/utf-32.c (gconv_end): Likewise.
22886         * iconvdata/utf-7.c (base64): Likewise.
22887         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
22888         * iconv/gconv_close.c (__gconv_close): Likewise.
22889         * iconv/gconv_open.c (__gconv_open): Likewise.
22890         * iconv/gconv_simple.c (internal_ucs4_loop_single)
22891         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
22892         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
22893         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
22894         (ucs4le_internal_loop_single): Likewise.
22895         * iconv/iconv.c (iconv): Likewise.
22896         * iconv/iconv_close.c: Likewise.
22897         * iconv/loop.c (SINGLE): Likewise.
22898         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
22899         * include/atomic.h: Likewise.
22900         * inet/inet6_option.c (option_alloc): Likewise.
22901         * intl/bindtextdom.c (set_binding_values): Likewise.
22902         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
22903         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
22904         * intl/localealias.c (read_alias_file): Likewise.
22905         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
22906         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
22907         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
22908         * libio/fmemopen.c (fmemopen): Likewise.
22909         * libio/iofgets.c (_IO_fgets): Likewise.
22910         * libio/iofgets_u.c (fgets_unlocked): Likewise.
22911         * libio/iofgetws.c (fgetws): Likewise.
22912         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
22913         * libio/iogetdelim.c (_IO_getdelim): Likewise.
22914         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
22915         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
22916         * locale/findlocale.c (_nl_find_locale): Likewise.
22917         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
22918         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
22919         Likewise.
22920         * locale/setlocale.c (setlocale): Likewise.
22921         * login/programs/pt_chown.c (main): Likewise.
22922         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
22923         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
22924         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
22925         (mmap, mmap64, mremap, munmap): Likewise.
22926         * math/e_exp2l.c: Likewise.
22927         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
22928         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
22929         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
22930         * math/s_catan.c (__catan): Likewise.
22931         * math/s_catanf.c (__catanf): Likewise.
22932         * math/s_catanh.c (__catanh): Likewise.
22933         * math/s_catanhf.c (__catanhf): Likewise.
22934         * math/s_catanhl.c (__catanhl): Likewise.
22935         * math/s_catanl.c (__catanl): Likewise.
22936         * math/s_ccosh.c (__ccosh): Likewise.
22937         * math/s_ccoshf.c (__ccoshf): Likewise.
22938         * math/s_ccoshl.c (__ccoshl): Likewise.
22939         * math/s_cexp.c (__cexp): Likewise.
22940         * math/s_cexpf.c (__cexpf): Likewise.
22941         * math/s_cexpl.c (__cexpl): Likewise.
22942         * math/s_clog10.c (__clog10): Likewise.
22943         * math/s_clog10f.c (__clog10f): Likewise.
22944         * math/s_clog10l.c (__clog10l): Likewise.
22945         * math/s_clog.c (__clog): Likewise.
22946         * math/s_clogf.c (__clogf): Likewise.
22947         * math/s_clogl.c (__clogl): Likewise.
22948         * math/s_csin.c (__csin): Likewise.
22949         * math/s_csinf.c (__csinf): Likewise.
22950         * math/s_csinh.c (__csinh): Likewise.
22951         * math/s_csinhf.c (__csinhf): Likewise.
22952         * math/s_csinhl.c (__csinhl): Likewise.
22953         * math/s_csinl.c (__csinl): Likewise.
22954         * math/s_csqrt.c (__csqrt): Likewise.
22955         * math/s_csqrtf.c (__csqrtf): Likewise.
22956         * math/s_csqrtl.c (__csqrtl): Likewise.
22957         * math/s_ctan.c (__ctan): Likewise.
22958         * math/s_ctanf.c (__ctanf): Likewise.
22959         * math/s_ctanh.c (__ctanh): Likewise.
22960         * math/s_ctanhf.c (__ctanhf): Likewise.
22961         * math/s_ctanhl.c (__ctanhl): Likewise.
22962         * math/s_ctanl.c (__ctanl): Likewise.
22963         * math/w_pow.c: Likewise.
22964         * math/w_powf.c: Likewise.
22965         * math/w_powl.c: Likewise.
22966         * math/w_scalb.c (sysv_scalb): Likewise.
22967         * math/w_scalbf.c (sysv_scalbf): Likewise.
22968         * math/w_scalbl.c (sysv_scalbl): Likewise.
22969         * misc/error.c (error_tail): Likewise.
22970         * misc/pselect.c (__pselect): Likewise.
22971         * nis/nis_callback.c (__nis_create_callback): Likewise.
22972         * nis/nis_call.c (__nisfind_server): Likewise.
22973         * nis/nis_creategroup.c (nis_creategroup): Likewise.
22974         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
22975         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
22976         * nis/nis_getservlist.c (nis_getservlist): Likewise.
22977         * nis/nis_lookup.c (nis_lookup): Likewise.
22978         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
22979         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
22980         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
22981         * nis/nis_xdr.c (xdr_endpoint): Likewise.
22982         * nis/nss_compat/compat-grp.c (getgrent_next_file)
22983         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
22984         * nis/nss_compat/compat-initgroups.c (add_group)
22985         (internal_getgrent_r): Likewise.
22986         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
22987         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
22988         * nis/nss_compat/compat-spwd.c (getspent_next_file)
22989         (internal_getspnam_r): Likewise.
22990         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
22991         (_nss_nis_getaliasbyname_r): Likewise.
22992         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
22993         (_nss_nis_getntohost_r): Likewise.
22994         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
22995         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
22996         (_nss_nis_getgrgid_r): Likewise.
22997         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
22998         (internal_nis_gethostent_r, internal_gethostbyname2_r)
22999         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
23000         (_nss_nis_gethostbyname4_r): Likewise.
23001         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
23002         (initgroups_netid): Likewise.
23003         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
23004         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
23005         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
23006         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
23007         (_nss_nis_getprotobynumber_r): Likewise.
23008         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
23009         (_nss_nis_getsecretkey): Likewise.
23010         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
23011         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
23012         (_nss_nis_getpwuid_r): Likewise.
23013         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
23014         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
23015         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
23016         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
23017         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
23018         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
23019         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
23020         Likewise.
23021         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
23022         (_nss_nisplus_getntohost_r): Likewise.
23023         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
23024         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
23025         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
23026         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
23027         Likewise.
23028         * nis/nss_nisplus/nisplus-initgroups.c
23029         (_nss_nisplus_initgroups_dyn): Likewise.
23030         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
23031         (_nss_nisplus_getnetbyaddr_r): Likewise.
23032         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
23033         (_nss_nisplus_getprotobynumber_r): Likewise.
23034         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
23035         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
23036         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
23037         Likewise.
23038         * nis/nss_nisplus/nisplus-service.c
23039         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
23040         (_nss_nisplus_getservbyport_r): Likewise.
23041         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
23042         (_nss_nisplus_getspnam_r): Likewise.
23043         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
23044         Likewise.
23045         * nscd/aicache.c (addhstaiX): Likewise.
23046         * nscd/cache.c (cache_search, prune_cache): Likewise.
23047         * nscd/connections.c (register_traced_file, send_ro_fd)
23048         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
23049         (main_loop_epoll): Likewise.
23050         * nscd/grpcache.c (addgrbyX): Likewise.
23051         * nscd/hstcache.c (addhstbyX): Likewise.
23052         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23053         * nscd/mem.c (gc, mempool_alloc): Likewise.
23054         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
23055         (addinnetgrX): Likewise.
23056         * nscd/nscd-client.h (__nscd_acquire_maplock)
23057         (__nscd_drop_map_ref): Likewise.
23058         * nscd/nscd_getai.c (__nscd_getai): Likewise.
23059         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
23060         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
23061         Likewise.
23062         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
23063         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
23064         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
23065         (__nscd_get_map_ref): Likewise.
23066         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
23067         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
23068         Likewise.
23069         * nscd/pwdcache.c (addpwbyX): Likewise.
23070         * nscd/selinux.c (preserve_capabilities): Likewise.
23071         * nscd/servicescache.c (addservbyX): Likewise.
23072         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
23073         * posix/fnmatch.c (fnmatch): Likewise.
23074         * posix/getopt.c (_getopt_internal_r): Likewise.
23075         * posix/glob.c (glob, glob_in_dir): Likewise.
23076         * posix/wordexp.c (exec_comm_child): Likewise.
23077         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
23078         (getanswer_r, gaih_getanswer_slice): Likewise.
23079         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
23080         * resolv/res_init.c: Likewise.
23081         * resolv/res_mkquery.c (res_nmkquery): Likewise.
23082         * resolv/res_query.c (__libc_res_nquery): Likewise.
23083         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
23084         Likewise.
23085         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
23086         * stdio-common/perror.c (perror): Likewise.
23087         * stdio-common/printf_fp.c (___printf_fp): Likewise.
23088         * stdio-common/tmpnam.c (tmpnam): Likewise.
23089         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
23090         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
23091         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
23092         Likewise.
23093         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
23094         * stdlib/putenv.c (putenv): Likewise.
23095         * stdlib/setenv.c (__add_to_environ): Likewise.
23096         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23097         * stdlib/strtol_l.c (INTERNAL): Likewise.
23098         * string/memmem.c (memmem): Likewise.
23099         * string/strerror.c (strerror): Likewise.
23100         * string/strnlen.c (__strnlen): Likewise.
23101         * string/test-memmem.c (simple_memmem): Likewise.
23102         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
23103         * sunrpc/pm_getport.c (__get_socket): Likewise.
23104         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
23105         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
23106         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
23107         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
23108         Likewise.
23109         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
23110         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
23111         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
23112         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
23113         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
23114         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
23115         Likewise.
23116         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
23117         Likewise.
23118         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
23119         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
23120         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23121         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
23122         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
23123         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
23124         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
23125         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
23126         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
23127         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
23128         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23129         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
23130         Likewise.
23131         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
23132         Likewise.
23133         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
23134         Likewise.
23135         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
23136         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23137         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
23138         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
23139         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
23140         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
23141         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
23142         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
23143         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
23144         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
23145         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
23146         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23147         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
23148         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
23149         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23150         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
23151         Likewise.
23152         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
23153         Likewise.
23154         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
23155         Likewise.
23156         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
23157         Likewise.
23158         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23159         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23160         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
23161         Likewise.
23162         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
23163         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
23164         * sysdeps/posix/opendir.c (__opendirat): Likewise.
23165         * sysdeps/posix/sleep.c: Likewise.
23166         * sysdeps/posix/tempname.c: Likewise.
23167         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
23168         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23169         Likewise.
23170         * sysdeps/powerpc/powerpc32/dl-machine.h
23171         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
23172         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
23173         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23174         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
23175         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
23176         Likewise.
23177         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
23178         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
23179         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
23180         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
23181         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
23182         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
23183         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
23184         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
23185         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23186         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
23187         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
23188         (elf_machine_lazy_rel): Likewise.
23189         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23190         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
23191         (elf_machine_lazy_rel): Likewise.
23192         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
23193         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
23194         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
23195         * sysdeps/unix/grantpt.c (grantpt): Likewise.
23196         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
23197         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
23198         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
23199         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23200         Likewise.
23201         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
23202         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
23203         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
23204         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
23205         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23206         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23207         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
23208         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
23209         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
23210         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23211         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23212         Likewise.
23213         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
23214         (__posix_fallocate64_l64): Likewise.
23215         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
23216         (posix_fallocate): Likewise.
23217         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
23218         Likewise.
23219         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23220         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
23221         (getifaddrs_internal): Likewise.
23222         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
23223         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
23224         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
23225         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
23226         * sysdeps/unix/sysv/linux/posix_fallocate64.c
23227         (__posix_fallocate64_l64): Likewise.
23228         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
23229         Likewise.
23230         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
23231         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
23232         (__get_clockfreq): Likewise.
23233         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
23234         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
23235         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
23236         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23237         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23238         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
23239         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
23240         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
23241         Likewise.
23242         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
23243         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
23244         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
23245         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
23246         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23247         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
23248         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
23249         Likewise.
23250         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23251         (posix_fallocate): Likewise.
23252         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23253         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
23254         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
23255         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
23256         (elf_machine_rela, elf_machine_rela_relative)
23257         (elf_machine_lazy_rel): Likewise.
23258         * time/asctime.c (asctime_internal): Likewise.
23259         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
23260         * time/tzset.c (__tzset_parse_tz): Likewise.
23261         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
23262         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
23263         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
23264         * wcsmbs/wcsmbsload.h: Likewise.
23266         [BZ #15894]
23267         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
23269         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
23270         (arena_get2): Remove THREAD_STATS conditionals.
23271         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
23272         (__malloc_stats, int): Likewise.
23274 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
23276         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
23277         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
23279         * manual/setjmp.texi: Fix typos/grammar errors.
23281         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
23282         Only return early when n is <= 0.  Delete unused return statement.
23284         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
23285         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
23286         * debug/tst-longjmp_chk3.c: New file.
23288         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
23289         (test_main): Replace code with set_fortify_handler call.
23290         * debug/test-strcpy_chk.c: Likewise.
23291         * debug/tst-chk1.c: Likewise.
23292         * debug/tst-longjmp_chk.c: Likewise.
23293         * test-skeleton.c: Include fcntl.h & paths.h
23294         (set_fortify_handler): Define.
23296         * debug/tst-longjmp_chk.c: Add header comment and include
23297         ../test-skeleton.c.
23298         (do_test): Mark static.
23299         (TEST_FUNCTION): Define.
23301         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
23302         (IP_PMTUDISC_INTERFACE): Likewise.
23303         (IP_MULTICAST_IF): Likewise.
23304         (IP_MULTICAST_TTL): Likewise.
23305         (IP_MULTICAST_LOOP): Likewise.
23306         (IP_ADD_MEMBERSHIP): Likewise.
23307         (IP_DROP_MEMBERSHIP): Likewise.
23308         (IP_UNBLOCK_SOURCE): Likewise.
23309         (IP_BLOCK_SOURCE): Likewise.
23310         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
23311         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
23312         (IP_MSFILTER): Likewise.
23313         (MCAST_JOIN_GROUP): Likewise.
23314         (MCAST_BLOCK_SOURCE): Likewise.
23315         (MCAST_UNBLOCK_SOURCE): Likewise.
23316         (MCAST_LEAVE_GROUP): Likewise.
23317         (MCAST_JOIN_SOURCE_GROUP): Likewise.
23318         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
23319         (MCAST_MSFILTER): Likewise.
23320         (IP_MULTICAST_ALL): Likewise.
23321         (IP_UNICAST_IF): Likewise.
23323         * timezone/Makefile: Delete $(have-ksh) check.
23324         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
23325         * timezone/tzselect.ksh: Add +x mode bits.
23327         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
23328         (ANON_INODE_FS_MAGIC): Likewise.
23329         (BDEVFS_MAGIC): Likewise.
23330         (BINFMTFS_MAGIC): Likewise.
23331         (BTRFS_TEST_MAGIC): Likewise.
23332         (CRAMFS_MAGIC_WEND): Likewise.
23333         (DEBUGFS_MAGIC): Likewise.
23334         (ECRYPTFS_SUPER_MAGIC): Likewise.
23335         (EXT3_SUPER_MAGIC): Likewise.
23336         (EXT4_SUPER_MAGIC): Likewise.
23337         (FUTEXFS_SUPER_MAGIC): Likewise.
23338         (HOSTFS_SUPER_MAGIC): Likewise.
23339         (HUGETLBFS_MAGIC): Likewise.
23340         (MINIX3_SUPER_MAGIC): Likewise.
23341         (MTD_INODE_FS_MAGIC): Likewise.
23342         (NILFS_SUPER_MAGIC): Likewise.
23343         (OPENPROM_SUPER_MAGIC): Likewise.
23344         (PIPEFS_MAGIC): Likewise.
23345         (PSTOREFS_MAGIC): Likewise.
23346         (QNX6_SUPER_MAGIC): Likewise.
23347         (RAMFS_MAGIC): Likewise.
23348         (REISERFS_SUPER_MAGIC_STRING): Likewise.
23349         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
23350         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
23351         (SECURITYFS_MAGIC): Likewise.
23352         (SELINUX_MAGIC): Likewise.
23353         (SMACK_MAGIC): Likewise.
23354         (SOCKFS_MAGIC): Likewise.
23355         (SQUASHFS_MAGIC): Likewise.
23356         (STACK_END_MAGIC): Likewise.
23357         (TMPFS_MAGIC): Likewise.
23358         (USBDEVICE_SUPER_MAGIC): Likewise.
23359         (V9FS_MAGIC): Likewise.
23360         (XENFS_SUPER_MAGIC): Likewise.
23361         (CRAMFS_MAGIC): Fix typo in comment.
23362         (EXT2_SUPER_MAGIC): Update comment.
23363         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
23365 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
23367         * sysdeps/arm: Move directory from ports/sysdeps/arm.
23368         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
23369         * sysdeps/unix/sysv/linux/arm: Move directory from
23370         ports/sysdeps/unix/sysv/linux/arm.
23371         * README: Update listing for arm-*-linux-gnueabi.
23373         * README: Remove mention of am33.
23375 2014-02-07  Roland McGrath  <roland@hack.frob.com>
23377         * bits/sigset.h (__sigemptyset): Use a statement expression rather
23378         than the comma operator, to avoid "rhs of comma has no effect"
23379         compiler warnings.
23380         (__sigfillset, __sigandset, __sigorset): Likewise.
23381         * include/signal.h (__sigemptyset): Likewise.
23382         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
23384 2014-02-07  Allan McRae  <allan@archlinux.org>
23386         * version.h (RELEASE): Set to "development".
23387         (VERSION): Set to "2.19.90"
23388         * NEWS: Add 2.20 section.
23390 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
23392         [BZ #16529]
23393         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
23395 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
23397         * manual/contrib.texi: Update entry for Carlos O'Donell,
23398         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
23400 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
23402         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
23404         * sysdeps/unix/sysv/linux/kernel-features.h
23405         [__LINUX_KERNEL_VERSION >= 0x020621]
23406         (__ASSUME_PROC_PID_TASK_COMM): Define.
23408 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
23410         [BZ #16398]
23411         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
23412         conversion when destination buffer does not have enough space.
23413         * libio/tst-ftell-partial-wide.c: New test case.
23414         * libio/Makefile (tests): Add tst-ftell-partial-wide.
23416         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
23417         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
23418         Leonard and Allan McRae.
23420 2014-02-04  David S. Miller  <davem@davemloft.net>
23422         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
23423         32-bit.
23425 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
23428         New file
23429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
23430         New file
23431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
23432         New file.
23433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
23434         New file.
23435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
23436         New file.
23437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
23438         New file.
23439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
23440         New file.
23441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
23442         New file.
23443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
23444         New file.
23445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
23446         New file.
23447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
23448         New file.
23449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
23450         New file.
23451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
23452         New file.
23454 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23456         * nptl/shlib-versions: Change powerpc*le start to 2.17.
23457         * shlib-versions: Likewise.
23459 2014-02-04  Roland McGrath  <roland@hack.frob.com>
23460             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23462         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
23463         (abilist-pattern): New variable, set to %-le.abilist.
23465         * Makerules (abilist-pattern): New variable.
23466         (vpath): Use $(abilist-pattern) in place of %.abilist.
23467         (check-abi-% pattern rule): Likewise.
23468         (check-abi, update-abi): Likewise.
23470 2014-02-04  Eric Wong  <normalperson@yhbt.net>
23472         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23474 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
23476         * manual/startup.texi: Add next, previous, and top entries for
23477         the `Program Arguments' and `Environment Variables' nodes.
23479 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
23481         * manual/macros.texi: Add comments before MTASC-safety macros.
23483         * manual/users.texi: Document MTASC-safety properties.
23485         * manual/threads.texi (pthread_key_create, pthread_key_delete)
23486         (pthread_getspecific, pthread_setspecific): Format with
23487         @deftypefun, and add @safety note.
23488         * manual/signal.texi: Move comments that analyze the above
23489         functions to their home place.
23491 2014-02-03  Allan McRae  <allan@archlinux.org>
23493         * po/sl.po: Update Slovenian translation from translation project.
23495 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
23497         * manual/time.texi (timegm): Add missing blank after @c.
23498         Reported by Joseph Myers <joseph@codesourcery.com>.
23500 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
23502         * manual/check-safety.sh: New.
23503         * manual/Makefile ($(objpfx)stamp-summary): Run it.
23505         * manual/terminal.texi: Document MTASC-safety properties.
23507         * manual/filesys.texi: Document MTASC-safety properties.
23509         * manual/errno.texi: Document MTASC-safety properties.
23511         * manual/intro.texi: Document safety identifiers and
23512         conditionals.
23514         * manual/string.texi (wcstok): Fix prototype.
23515         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
23517         * manual/time.texi: Document MTASC-safety properties.
23519         * manual/string.texi: Document MTASC-safety properties.
23521         * manual/threads.texi: Document MTASC-safety properties.
23523         * manual/stdio.texi: Document MTASC-safety properties.
23525         * manual/syslog.texi: Document MTASC-safety properties.
23527         * manual/sysinfo.texi: Document MTASC-safety properties.
23529         * manual/startup.texi: Document MTASC-safety properties.
23531         * manual/socket.texi: Document MTASC-safety properties.
23533         * manual/signal.texi: Document MTASC-safety properties.
23535 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
23537         * manual/setjmp.texi: Document MTASC-safety properties.
23539         * manual/search.texi: Document MTASC-safety properties.
23541         * manual/resource.texi: Document MTASC-safety properties.
23543         * manual/process.texi: Document MTASC-safety properties.
23545         * manual/platform.texi: Document MTASC-safety properties.
23547         * manual/pipe.texi: Document MTASC-safety properties.
23549         * manual/pattern.texi: Document MTASC-safety properties.
23551         * manual/message.texi: Document MTASC-safety properties.
23553         [BZ #12751]
23554         * manual/memory.texi: Document MTASC-safety properties.
23556         * manual/math.texi: Document MTASC-safety properties.
23558         * manual/locale.texi: Document MTASC-safety properties.
23560         * manual/llio.texi: Document MTASC-safety properties.
23562         * manual/libdl.texi: New.
23564         * manual/lang.texi: Document MTASC-safety properties.
23566         * manual/job.texi: Document MTASC-safety properties.
23568         * manual/getopt.texi: Document MTASC-safety properties.
23570         * manual/ctype.texi: Document MTASC-safety properties.
23572 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
23574         [BZ #16046]
23575         * csu/libc-tls.c (static_map): Remove variable.
23576         (__libc_setup_tls): Use main executable's link map for TLS data.
23577         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
23578         casing for LM_ID_BASE and GL(dl_nns).
23579         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
23580         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
23581         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
23582         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
23583         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
23584         member.
23585         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
23586         l_phnum members.
23588 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
23590         * manual/debug.texi: Document MTASC-safety properties.
23592 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
23594         [BZ #16510]
23595         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
23596         of __x86_64__ when disabling x87 inline functions.
23598 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
23600         * manual/charset.texi: Document MTASC-safety properties.
23602         * manual/crypt.texi: Document MTASC-safety properties.
23604         * manual/conf.texi: Document MTASC-safety properties.
23606         * manual/arith.texi: Document MTASC-safety properties.
23608         * manual/argp.texi: Document MTASC-safety properties.
23610         * manual/macros.texi: Introduce macros to document multi
23611         thread, asynchronous signal and asynchronous cancellation
23612         safety properties.
23613         * manual/intro.texi: Introduce the properties themselves.
23615 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23617         * sysdeps/sh/sh4/Makefile: New file.
23619 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
23621         * math/gen-libm-test.pl ($srcdir): New variable.
23622         ($auto_input): Use it.
23624 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23626         [BZ #16506]
23627         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
23628         access beyond array bounds when parsing netgroups file.
23630         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
23631         the old buffer before realloc.
23633 2014-01-27  Allan McRae  <allan@archlinux.org>
23635         * po/fr.po: Update French translation from translation project.
23637 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23639         * sysdeps/sh/libm-test-ulps: Regenerate.
23641 2014-01-24  David S. Miller  <davem@davemloft.net>
23643         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
23645 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23647         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
23648         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
23650 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23652         [BZ #16474]
23653         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
23654         string pointers after reallocation.
23656 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23658         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
23659         __SH4A__ instead of __SH_FPU_ANY__.
23661 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23663         * sysdeps/sh/fpu_control.h: New file.
23664         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
23665         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
23666         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
23667         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
23668         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
23669         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
23670         * sysdeps/sh/sys/ucontext.h: Remove.
23671         * sysdeps/sh/sys: Remove directory.
23673 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23675         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
23676         s390/sys/ucontext.h.
23677         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
23678         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
23680 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
23682         [BZ #15605]
23683         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
23685 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23687         [BZ#16431]
23688         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23689         Adjust the vDSO correctly for internal calls.
23690         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
23692 2014-01-20  Allan McRae  <allan@archlinux.org>
23694         * po/ca.po: Update Catalan translation from translation project.
23696 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
23698         * sysdeps/s390/sotruss-lib.c: New file.
23700 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23702         [BZ#16430]
23703         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
23704         (__GI___gettimeofday): Alias for a different internal symbol to avoid
23705         local calls issues by not having a PLT stub required for IFUNC calls.
23706         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
23708 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
23710         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
23711         * math/test-fpucw-static.c: Likewise.
23713 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23715         [BZ #16453]
23716         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
23718 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23720         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
23721         implementation for powerpc.
23723 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
23725         [BZ #14782]
23726         * sysdeps/posix/system.c (__libc_system): Do not enable
23727         asynchronous cancellation.
23729 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23731         [BZ #16427]
23732         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
23733         handling only for numbers special also in the IEEE case.
23735 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23737         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23739 2014-01-11  Allan McRae  <allan@archlinux.org>
23741         * po/bg.po: Update Bulgarian translation from translation project.
23743         * po/de.po: Update German translation from translation project.
23745 2014-01-10  Roland McGrath  <roland@hack.frob.com>
23747         * sysdeps/generic/gcc-compat.h: New file.
23749 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23751         * benchtests/asin-inputs: Correct slow inputs.
23752         * benchtests/acos-inputs: Likewise.
23754 2014-01-10  Allan McRae  <allan@archlinux.org>
23756         * po:sv.po: Update Swedish translation from translation project.
23758         * po/vi.po: Update Vietnamese translation from translation project.
23760         * po/eo.po: Update Esperanto translation from translation project.
23762         * po/cs.po: Update Czech translation from translation project.
23764         * po/nl.po: Update Dutch translation from translation project.
23766         * po/pl.po: Update Polish translation from translation project.
23768         * po/ru.po: Update Russian translation from translation project.
23770         * po/uk.po: Update Ukrainian translation from translation project.
23772 2014-01-08  Brooks Moses  <bmoses@google.com>
23774         * elf/dl-load.c: Fix comment typo.
23776 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
23778         * po/header.pot: Rename to...
23779         * po/pot.header: ... this.
23780         * po/Makefile: Use pot.header.
23782 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
23783             Maxim Kuvyrkov  <maxim@kugelworks.com>
23785         [BZ #16394]
23786         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
23787         SRC and DEST against LEN.
23789 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23791         [BZ #16414]
23792         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
23793         implementation.
23794         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
23796 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23798         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23800 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
23802         [BZ #16408]
23803         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
23804         for large positive arguments.
23806 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
23808         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23810         * math/auto-libm-test-in: Mark various tests with
23811         xfail-rounding:ldbl-128ibm.
23812         * math/auto-libm-test-out: Regenerated.
23814         [BZ #16407]
23815         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
23816         Increase overflow threshold.
23818 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
23820         [BZ #14286]
23821         * stdio-common/vfprintf.c: Check for integer overflow.
23823 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23825         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
23826         the first argument and return value of __tls_get_addr_internal.
23828 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23830         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
23831         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
23833 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23835         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
23836         * sysdeps/s390/rtld-global-offsets.sym: New file.
23837         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
23838         GLIBC_2.19 symbol.
23839         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
23840         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
23841         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
23842         ... this.
23843         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
23844         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
23845         ... this.
23846         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23847         Regenerate.
23848         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23849         Regenerate.
23850         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
23851         halfs of GPRs for high_gprs contexts.
23852         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
23853         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
23854         field.
23855         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
23856         uc_flags field.
23857         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
23858         64 bit versions:
23859         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
23860         for high GPRs (uc_high_gprs) and for future extensions
23861         (__reserved).
23862         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
23863         for future extensions (__reserved).
23864         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
23865         64 bit versions:
23866         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
23867         SC_HIGHGPRS offset definition.
23868         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
23869         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
23871         * Versions.def: Add GLIBC_2.19 for libpthread.
23872         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
23873         siglongjmp for libpthread with GLIBC_2.19 symver.
23874         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
23875         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
23876         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
23877         * sysdeps/s390/__longjmp.c: New file.
23878         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
23879         * sysdeps/s390/longjmp.c: New file.
23880         * sysdeps/s390/setjmp.S: New file.
23881         * sysdeps/s390/sigjmp.S: New file.
23882         * sysdeps/s390/v1-longjmp.c: New file.
23883         * sysdeps/s390/v1-setjmp.h: New file.
23884         * sysdeps/s390/v1-sigjmp.c: New file.
23885         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
23886         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
23887         GLIBC_2.19 version.
23888         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
23889         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
23890         versioned symbols for ____longjmp_chk.
23891         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
23892         Likewise.
23893         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23894         Regenerate.
23895         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23896         Regenerate.
23897         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23898         Regenerate.
23899         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23900         Regenerate.
23901         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
23902         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
23903         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
23904         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
23905         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
23906         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
23907         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
23908         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
23909         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
23910         * sysdeps/s390/rtld-__longjmp.c: New file.
23911         * sysdeps/s390/rtld-setjmp.S: New file.
23913 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
23915         [BZ #16400]
23916         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
23917         Return -__logl (x) for small positive arguments without evaluating
23918         a polynomial.
23920 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
23922         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
23923         Rename to ...
23924         (__ptrace_peeksiginfo_args): ... this.
23925         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23926         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23927         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23929 2014-01-06  Allan McRae  <allan@archlinux.org>
23931         * inet/netinet/in.h: Fix typo in comment.
23933 2014-01-05  Andreas Jaeger  <aj@suse.de>
23935         * sysdeps/i386/fpu/libm-test-ulps: Update.
23937 2014-01-05  Allan McRae  <allan@archlinux.org>
23939         * po/libc.pot: Regenerated.
23941         * malloc/memusagestat.c: Fix gettext call formatting.
23943 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
23945         * nscd/nscd.c: Improve usage() output.
23947 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
23949         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
23950         * sysdeps/unix/sysv/linux/configure: Regenerated.
23951         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
23952         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
23954 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
23956         [BZ #16390]
23957         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23958         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
23960 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23962         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
23963         extra tokens at end of #undef directive.
23964         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
23965         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
23966         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
23968 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
23970         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23972         * math/auto-libm-test-in: Mark various tests with
23973         xfail-rounding:ldbl-128ibm.
23974         * math/auto-libm-test-out: Regenerated.
23976 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
23978         [BZ #16386]
23979         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
23980         numbers with subnormal high part when calculating exponent.
23982         [BZ #16385]
23983         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
23984         fabs.
23986         [BZ #16384]
23987         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
23988         M_LN2l.
23989         (__ieee754_acoshl): Use __log1pl not __log1p.
23991 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
23993         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
23994         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
23995         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
23996         (grow_heap, heap_trim, _int_new_arena, get_free_list)
23997         (reused_arena, arena_get2): Convert to GNU style.
23998         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
23999         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
24000         (memalign_check, __malloc_set_state): Likewise.
24001         * malloc/mallocbug.c (main): Likewise.
24002         * malloc/malloc.c (__malloc_assert, malloc_init_state)
24003         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
24004         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
24005         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
24006         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
24007         (__posix_memalign, malloc_info): Likewise.
24008         * malloc/malloc.h: Likewise.
24009         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
24010         (mallochook, memalignhook, reallochook, mabort): Likewise.
24011         * malloc/mcheck.h: Likewise.
24012         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
24013         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
24014         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
24015         * malloc/morecore.c (__default_morecore): Likewise.
24016         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
24017         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
24018         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
24019         (print_and_abort): Likewise.
24020         * malloc/obstack.h: Likewise.
24021         * malloc/set-freeres.c (__libc_freeres): Likewise.
24022         * malloc/tst-mallocstate.c (main): Likewise.
24023         * malloc/tst-mtrace.c (main): Likewise.
24024         * malloc/tst-realloc.c (do_test): Likewise.
24026 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24028         [BZ #16366]
24029         * nscd/netgroupcache.c (do_notfound): New function.
24030         (addgetnetgrentX): Use it.
24032         [BZ # 16365]
24033         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
24034         NSS_STATUS_NOTFOUND.
24036 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
24038         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24041 2014-01-01  Allan McRae  <allan@archlinux.org>
24043         * scripts/update-copyrights: Update configure input file suffix.
24045         * NEWS: Update copyright year.
24046         * catgets/gencat.c: Likewise.
24047         * csu/version.c: Likewise.
24048         * debug/catchsegv.sh: Likewise.
24049         * debug/pcprofiledump.c: Likewise.
24050         * debug/xtrace.sh: Likewise.
24051         * elf/ldconfig.c: Likewise.
24052         * elf/ldd.bash.in: Likewise.
24053         * elf/pldd.c: Likewise.
24054         * elf/sotruss.ksh: Likewise.
24055         * elf/sprof.c: Likewise.
24056         * iconv/iconv_prog.c: Likewise.
24057         * iconv/iconvconfig.c: Likewise.
24058         * locale/programs/locale.c: Likewise.
24059         * locale/programs/localedef.c: Likewise.
24060         * login/programs/pt_chown.c: Likewise.
24061         * malloc/memusage.sh: Likewise.
24062         * malloc/memusagestat.c: Likewise.
24063         * malloc/mtrace.pl: Likewise.
24064         * manual/libc.texinfo: Likewise.
24065         * nscd/nscd.c: Likewise.
24066         * nss/getent.c: Likewise.
24067         * nss/makedb.c: Likewise.
24068         * posix/getconf.c: Likewise.
24069         * scripts/test-installation.pl: Likewise.
24071         * All files with FSF copyright notices: Update copyright dates
24072         using scripts/update-copyrights.
24073         * intl/plural.c: Regenerated.
24074         * locale/programs/charmap-kw.h: Likewise.
24075         * locale/programs/locfile-kw.h: Likewise.
24077 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
24079         * sysdeps/unix/sysv/linux/configure: Regenerated.
24080         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
24081         the linux/fanotify.h header.
24082         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
24083         HAVE_LINUX_FANOTIFY_H is defined.
24085 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
24087         * benchtests/cos-inputs: New inputs.
24088         * benchtests/sin-inputs: Likewise.
24090         * benchtests/atan-inputs: New inputs. Fix name of multiple
24091         precision fallback inputs.
24093         * benchtests/atanh-inputs: New inputs.
24094         * benchtests/tanh-inputs: Likewise.
24096         * benchtests/acosh-inputs: New inputs.
24097         * benchtests/asinh-inputs: Likewise.
24099         * benchtests/cosh-inputs: New inputs.
24100         * benchtests/sinh-inputs: Likewise.
24102         * benchtests/acos-inputs: Add more inputs.
24103         * benchtests/asin-inputs: Likewise.
24105 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
24107         [BZ #16375]
24108         * manual/arith.texi: Fix spelling.
24109         * manual/charset.texi: Likewise.
24110         * manual/errno.texi: Likewise.
24111         * manual/filesys.texi: Likewise.
24112         * manual/lang.texi: Likewise.
24113         * manual/llio.texi: Likewise.
24114         * manual/locale.texi: Likewise.
24115         * manual/message.texi: Likewise.
24116         * manual/resource.texi: Likewise.
24117         * manual/search.texi: Likewise.
24118         * manual/setjmp.texi: Likewise.
24119         * manual/stdio.texi: Likewise.
24120         * manual/string.texi: Likewise.
24121         * manual/sysinfo.texi: Likewise.
24122         * manual/time.texi: Likewise.
24124 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
24126         * po/sl.po: New file.
24128 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
24130         * .gitignore: Add core/.gdbinit/.gdb_history.
24132 2013-12-27  Allan McRae  <allan@archlinux.org>
24134         [BZ #16369]
24135         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
24136         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
24138 2013-12-24  Brooks Moses  <bmoses@google.com>
24140         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
24141         all compilers that claim C++98 compliance, not just GCC.
24142         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
24143         Likewise.
24145 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
24147         * NEWS: Restore accidentally deleted bug-fix entries.
24149 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
24150             Ondřej Bílka  <neleai@seznam.cz>
24152         [BZ #15073]
24153         * malloc/malloc.c (_int_free): Perform sanity check only if we
24154         have_lock.
24156 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
24158         [BZ #12986]
24159         * manual/stdio.texi (String Input Conversions): Clarify that character
24160         classes are not supported.
24162 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24164         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24166 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
24168         [BZ #16337]
24169         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24170         Calculate results for small negative arguments directly rather
24171         than using reflection formula with special underflow handling.
24173         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
24174         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
24175         sysdeps/unix/bsd/bsd4.4/syscalls.list.
24176         (fchflags): Likewise.
24177         (revoke): Likewise.
24178         (setlogin): Likewise.
24179         (sigaltstack): Likewise.
24180         (wait4): Likewise.
24181         (sigblock): Remove.
24182         (sigsetmask): Likewise.
24183         (wait3): Likewise.
24184         (waitpid): Likewise.
24185         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
24186         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
24187         file.
24188         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
24189         * sysdeps/unix/bsd/Makefile: ... here.
24190         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
24191         * sysdeps/unix/bsd/Versions: ... here.
24192         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
24193         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
24194         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
24195         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
24196         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
24197         * sysdeps/unix/bsd/sigblock.c: ... here.
24198         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
24199         * sysdeps/unix/bsd/sigsetmask.c: ... here.
24200         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
24201         * sysdeps/unix/bsd/sigvec.c: ... here.
24202         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
24203         * sysdeps/unix/bsd/tcdrain.c: ... here.
24204         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
24205         * sysdeps/unix/bsd/tcgetattr.c: ... here.
24206         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
24207         * sysdeps/unix/bsd/tcsetattr.c: ... here.
24208         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
24209         * sysdeps/unix/bsd/wait.c: ... here.
24210         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
24211         * sysdeps/unix/bsd/wait3.c: ... here.
24212         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
24213         * sysdeps/unix/bsd/waitpid.c: ... here.
24215 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
24217         [BZ #16356]
24218         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
24219         round-to-nearest for [!USE_AS_EXPM1L].
24220         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
24221         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
24222         more tests of exp and exp10.  Expect some exp10 tests to miss
24223         exceptions or fail in directed rounding modes.
24224         * math/auto-libm-test-out: Regenerated.
24225         * math/libm-test.inc (exp10_tonearest_test_data): New array.
24226         (exp10_test_tonearest): New function.
24227         (exp10_towardzero_test_data): New array.
24228         (exp10_test_towardzero): New function.
24229         (exp10_downward_test_data): New array.
24230         (exp10_test_downward): New function.
24231         (exp10_upward_test_data): New array.
24232         (exp10_test_upward): New function.
24233         (main): Call the new functions.
24234         * sysdeps/i386/fpu/libm-test-ulps: Update.
24235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24237 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
24239         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24240         asinh, atan, atan2, atanh, cbrt, cos and cosh.
24241         * math/auto-libm-test-out: Regenerated.
24242         * math/libm-test.inc (acosh_test_data): Add more tests.
24243         (atanh_test_data): Likewise.
24244         (ceil_test_data): Likewise.
24245         (copysign_test_data): Likewise.
24246         * sysdeps/i386/fpu/libm-test-ulps: Update.
24247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24249         * timezone/checktab.awk: Update from tzcode 2013i.
24250         * timezone/private.h: Likewise.
24251         * timezone/scheck.c: Likewise.
24252         * timezone/tzfile.h: Likewise.
24253         * timezone/tzselect.ksh: Likewise.
24254         * timezone/zdump.c: Likewise.
24255         * timezone/zic.c: Likewise.
24257         * math/auto-libm-test-in: Add tests of cpow.
24258         * math/auto-libm-test-out: Regenerated.
24259         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
24260         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24261         mpc_cc_c.
24262         (func_calc_desc): Add mpc_cc_c union field.
24263         (test_functions): Add cpow.
24264         (special_fill_2pi): New function.
24265         (special_real_inputs): Add 2pi.
24266         (calc_generic_results): Handle mpc_cc_c.
24267         * sysdeps/i386/fpu/libm-test-ulps: Update.
24268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24270         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
24271         csqrt, ctan and ctanh.
24272         * math/auto-libm-test-out: Regenerated.
24273         * math/libm-test.inc (TEST_COND_x86_64): New macro.
24274         (TEST_COND_x86): Likewise.
24275         (ccos_test_data): Use AUTO_TESTS_c_c.
24276         (ccosh_test_data): Likewise.
24277         (cexp_test_data): Likewise.
24278         (clog_test_data): Likewise.
24279         (csqrt_test_data): Likewise.
24280         (ctan_test_data): Likewise.
24281         (ctan_tonearest_test_data): Likewise.
24282         (ctan_towardzero_test_data): Likewise.
24283         (ctan_downward_test_data): Likewise.
24284         (ctan_upward_test_data): Likewise.
24285         (ctanh_test_data): Likewise.
24286         (ctanh_tonearest_test_data): Likewise.
24287         (ctanh_towardzero_test_data): Likewise.
24288         (ctanh_downward_test_data): Likewise.
24289         (ctanh_upward_test_data): Likewise.
24290         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24291         mpc_c_c.
24292         (func_calc_desc): Add mpc_c_c union field.
24293         (FUNC_mpc_c_c): New macro.
24294         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
24295         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
24296         ctanh.
24297         (special_fill_min_subnorm_p120): New function.
24298         (special_real_inputs): Add min_subnorm_p120.
24299         (calc_generic_results): Handle mpc_c_c.
24300         * sysdeps/i386/fpu/libm-test-ulps: Update.
24301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24303 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24305         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
24306         (do_sin_slow): New functions.
24307         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
24308         (cslow2, csloww1, csloww2): Use the new functions.
24310         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
24311         Use M to change sign of result instead of X.  Assume X is
24312         positive.
24313         (csloww1): Likewise.
24314         (__sin): Adjust.
24315         (__cos): Adjust.
24317         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
24318         arguments A and DA.
24319         (__sin): Adjust.
24320         (__cos): Likewise.
24322         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
24323         (__cos): Likewise.
24324         (sloww1): Don't adjust sign of DX.
24325         (csloww1): Likewise.
24326         (sloww2): Use X directly and don't adjust sign of DX.
24327         (csloww2): Likewise.
24329 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
24331         * math/auto-libm-test-in: Add tests of cabs and carg.
24332         * math/auto-libm-test-out: Regenerated.
24333         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
24334         (carg_test_data): Likewise.
24335         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24336         mpc_c_f.
24337         (func_calc_desc): Add mpc_c_f union field.
24338         (test_functions): Add cabs and carg.
24339         (calc_generic_results): Handle mpc_c_f.
24341         * sysdeps/powerpc/powerpc32/libgcc-compat.S
24342         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
24343         as a macro and a compat symbol.
24344         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
24345         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
24346         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
24347         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
24348         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
24349         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
24350         not use .hidden.
24351         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
24352         Likewise.
24353         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
24354         Likewise.
24355         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
24356         Likewise.
24357         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
24358         Likewise.
24359         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
24360         Likewise.
24361         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
24362         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
24363         from GLIBC_2.3.2.
24365 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24367         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24369 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
24371         * manual/texinfo.tex: Update to version 2013-11-26.10 with
24372         trailing whitespace removed.
24373         * scripts/config.guess: Update to version 2013-11-29.
24374         * scripts/config.sub: Update to version 2013-10-01.
24376         * math/auto-libm-test-in: Add tests of sincos.
24377         * math/auto-libm-test-out: Regenerated.
24378         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
24379         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24380         mpfr_f_11.
24381         (func_calc_desc): Add mpfr_f_11 union field.
24382         (test_functions): Add sincos.
24383         (calc_generic_results): Handle mpfr_f_11.
24384         * sysdeps/i386/fpu/libm-test-ulps: Update.
24385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24387 2013-12-19  Andreas Schwab  <schwab@suse.de>
24389         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
24390         CALL_MCOUNT.
24391         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24392         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
24393         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
24395 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
24397         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
24398         * sysdeps/i386/fpu/libm-test-ulps: Update.
24399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24401         [BZ #16293]
24402         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
24403         round-to-nearest mode when using frndint.
24404         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
24405         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
24406         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24407         Likewise.
24408         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
24409         sinh test to fail.
24410         * math/auto-libm-test-out: Regenerated.
24411         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
24412         (TEST_COND_x86): Likewise.
24413         (expm1_tonearest_test_data): New array.
24414         (expm1_test_tonearest): New function.
24415         (expm1_towardzero_test_data): New array.
24416         (expm1_test_towardzero): New function.
24417         (expm1_downward_test_data): New array.
24418         (expm1_test_downward): New function.
24419         (expm1_upward_test_data): New array.
24420         (expm1_test_upward): New function.
24421         (main): Run the new test functions.
24422         * sysdeps/i386/fpu/libm-test-ulps: Update.
24423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24425         * include/features.h: Update comment documenting feature test
24426         macros.  Mention _DEFAULT_SOURCE in comment.
24427         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
24428         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
24429         _BSD_SOURCE and _SVID_SOURCE.
24430         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
24431         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
24432         !_SVID_SOURCE]: Likewise.
24433         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24434         (__USE_POSIX_IMPLICITLY): Define.
24435         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24436         (_POSIX_SOURCE): Undefine and redefine.
24437         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24438         (_POSIX_C_SOURCE): Likewise.
24439         * manual/creature.texi (_DEFAULT_SOURCE): Document.
24440         (Feature Test Macros): Update documentation of default features.
24442 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24444         * benchtests/Makefile: Add bench-strtok.
24445         * benchtests/bench-strtok.c: New file: strtok benchtest.
24447 2013-12-19  Allan McRae  <allan@archlinux.org>
24449         * manual/install.texi: Suppress menu for plain text output.
24450         * INSTALL: Regenerated.
24452 2013-12-18  Brooks Moses  <bmoses@google.com>
24454         [BZ #15846]
24455         * misc/getauxval.c: Include errno.h.
24456         (__getauxval): Set errno to ENOENT if the requested type is not
24457         found.
24458         * misc/sys/auxv.h (getauxval): Document that it may set errno;
24459         don't declare with __attribute_const__.
24460         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
24461         * manual/startup.texi: Document that getauxval sets errno.
24463 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
24465         * math/auto-libm-test-in: Add tests of jn and yn.
24466         * math/auto-libm-test-out: Regenerated.
24467         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
24468         (yn_test_data): Likewise.
24469         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24470         mpfr_if_f.
24471         (func_calc_desc): Add mpfr_if_f union field.
24472         (FUNC_mpfr_if_f): New macro.
24473         (test_functions): Add jn and yn.
24474         (calc_generic_results): Assert type of second input for
24475         mpfr_ff_f.  Handle mpfr_if_f.
24476         (output_for_one_input_case): Disable all checking for arguments
24477         fitting floating-point types in case of an integer argument.
24478         * sysdeps/i386/fpu/libm-test-ulps: Update.
24479         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
24482         Don't expect fegetround reference in libm.so.
24484 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24486         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
24487         $(config-cflags-nofma).
24489 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
24491         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
24492         * math/auto-libm-test-out: Regenerated.
24494         [BZ #16338]
24495         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
24496         to determine exponent and adjust argument to have exponent of -1.
24497         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
24498         log2.
24499         * math/auto-libm-test-out: Regenerated.
24500         * sysdeps/i386/fpu/libm-test-ulps: Update.
24501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24503 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
24505         * manual/probes.texi: Remove cases when per-thread arenas are
24506         disabled.
24508 2013-12-18  Andreas Schwab  <schwab@suse.de>
24510         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
24511         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
24512         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
24513         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
24514         * sysdeps/i386/i686/multiarch/Makefile: Update.
24515         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
24517 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
24519         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
24520         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
24522 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
24524         [BZ #15968]
24525         Support TZ transition times < 00:00:00.
24526         This is needed for version-3 tz-format files; it supports time
24527         stamps past 2037 for America/Godthab (the only entry in the tz
24528         database for which this change is relevant).
24529         * manual/time.texi (TZ Variable): Document transition times
24530         from -167:59:59 through -00:00:01.
24531         * time/tzset.c (tz_rule): Time of day is now signed.
24532         (__tzset_parse_tz): Parse negative time of day.
24534         Document TZ transition times >= 25:00:00.
24535         * manual/time.texi (TZ Variable): Document transition times from
24536         25:00:00 through 167:59:59.  These are already supported, and this
24537         support will help with version-3 tz-format files.
24539         * manual/time.texi (TZ Variable): Modernize North America example
24540         to reflect current (i.e., 2007-and-later) daylight saving rules.
24542         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
24544 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
24546         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
24547         * sysdeps/unix/bsd/bits/stat.h: Likewise.
24548         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
24549         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24550         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
24551         * sysdeps/unix/bsd/bsdstat.h: Likewise.
24552         * sysdeps/unix/bsd/clock.c: Likewise.
24553         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
24554         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
24555         * sysdeps/unix/bsd/init-posix.c: Likewise.
24556         * sysdeps/unix/bsd/poll.c: Likewise.
24557         * sysdeps/unix/bsd/ptsname.c: Likewise.
24558         * sysdeps/unix/bsd/seekdir.c: Likewise.
24559         * sysdeps/unix/bsd/setegid.c: Likewise.
24560         * sysdeps/unix/bsd/seteuid.c: Likewise.
24561         * sysdeps/unix/bsd/setgid.c: Likewise.
24562         * sysdeps/unix/bsd/setrgid.c: Likewise.
24563         * sysdeps/unix/bsd/setruid.c: Likewise.
24564         * sysdeps/unix/bsd/setsid.c: Likewise.
24565         * sysdeps/unix/bsd/setuid.c: Likewise.
24566         * sysdeps/unix/bsd/sigaction.c: Likewise.
24567         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
24568         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
24569         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
24570         * sysdeps/unix/bsd/telldir.c: Likewise.
24571         * sysdeps/unix/bsd/times.c: Likewise.
24572         * sysdeps/unix/bsd/usleep.c: Likewise.
24574         * misc/Makefile (install-lib): Remove libbsd-compat.a.
24575         ($(objpfx)libbsd-compat.a): Remove rule.
24577         * include/features.h (__FAVOR_BSD): Do not define.
24578         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
24579         features conflicting with POSIX.
24580         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
24581         (_BSD_SOURCE): Remove description of not being a subset of other
24582         feature test macros.
24583         * manual/job.texi (getpgrp): Do not document BSD version.
24584         (getpgid): Do not document by reference to BSD getpgrp.
24585         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
24586         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
24587         * signal/signal.h [__FAVOR_BSD]: Likewise.
24588         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
24589         instead of making contents conditional on [__FAVOR_BSD].
24590         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
24592 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24594         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24596 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
24598         [BZ #16314]
24599         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
24600         values below 2**-450, not 2**-500.
24601         * math/auto-libm-test-in: Don't allow spurious underflow from
24602         hypot.
24603         * math/auto-libm-test-out: Regenerated.
24605         [BZ #16316]
24606         [BZ #16330]
24607         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
24608         values of ha and hb and sort them after adjusting subnormal
24609         arguments.
24610         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
24611         Likewise.
24612         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
24613         values of ea and eb and sort them after adjusting subnormal
24614         arguments.
24615         * math/auto-libm-test-in: Do not expect some hypot tests of
24616         subnormals to fail.  Add more hypot tests.
24617         * math/auto-libm-test-out: Regenerated.
24619 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24621         [BZ #13304]
24622         * sysdeps/sh/s_fma.c: New file.
24623         * sysdeps/sh/s_fmaf.c: New file.
24624         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
24625         version.
24626         * sysdeps/sh/Implies: Add sh/soft-fp.
24628 2013-12-16  Roland McGrath  <roland@hack.frob.com>
24630         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
24631         level of indirection to members `objname', `errstring', `malloced'.
24632         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
24633         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
24634         it as the __longjmp argument (just pass 1 instead).
24635         (_dl_catch_error): Initialize C with argument pointers and address of
24636         volatile local ERRCODE rather than copying values out of C at return.
24638 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
24640         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
24641         * math/auto-libm-test-out: Regenerated.
24642         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
24643         (hypot_test_data): Likewise.
24644         (pow_test_data): Likewise.
24645         (pow_tonearest_test_data): Likewise.
24646         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24647         mpfr_ff_f.
24648         (func_calc_desc): Add mpfr_ff_f union field.
24649         (FUNC_mpfr_ff_f): New macro.
24650         (test_functions): Add atan2, hypot and pow.
24651         (special_fill_min): New function.
24652         (special_fill_minus_min): Likewise.
24653         (special_fill_min_subnorm): Likewise.
24654         (special_fill_minus_min_subnorm): Likewise.
24655         (special_real_inputs): Add min, -min, min_subnorm and
24656         -min_subnorm.
24657         (calc_generic_results): Handle mpfr_ff_f.
24658         * sysdeps/i386/fpu/libm-test-ulps: Update.
24659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24661 2013-12-16  Will Newton  <will.newton@linaro.org>
24663         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
24664         (Aligned Memory Blocks): Add documentation for aligned_alloc
24665         and suggest it as an alternative to posix_memalign.
24666         (Hooks for Malloc): Document __memalign_hook is also called
24667         for aligned_alloc.  (Summary of Malloc): Add summary for
24668         aligned alloc.  Document __memalign_hook is also called
24669         for aligned_alloc.
24671 2013-12-16  Will Newton  <will.newton@linaro.org>
24673         * manual/memory.texi (Malloc Examples): Clarify default
24674         alignment documentation.  Suggest posix_memalign rather
24675         than memalign or valloc.
24676         (Aligned Memory Blocks): Remove suggestion to use memalign
24677         or valloc.  Remove obsolete comment about BSD.
24678         Document memalign errno values and mark the function obsolete.
24679         Document posix_memalign returned error codes.  Mark valloc
24680         as obsolete.  (Hooks for Malloc): __memalign_hook is also
24681         called for posix_memalign and valloc.
24682         (Summary of Malloc): Add posix_memalign to function summary.
24683         __memalign_hook is also called for posix_memalign and valloc.
24685 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24687         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
24688         TAYLOR_SIN.
24689         (__sin): Adjust.
24690         (__cos): Likewise.
24691         (sloww): Use mynumber union.  Expand ternary operator into
24692         if-else statements.
24693         (cslow): use mynumber union.
24695 2013-12-16  Allan McRae  <allan@archlinux.org>
24697         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
24698         * configure: Regenerated.
24700         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
24702         [BZ #14120]
24703         * configure.ac: Added --enable-maintainer-mode. Check for
24704         autoconf when enabled.
24705         * configure: Regenerated.
24707         * nscd/nscd.service: New file.
24708         * nscd/nscd.tmpfiles: New file.
24710 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
24712         [BZ #12100]
24713         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
24714         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
24715         * sysdeps/x86_64/multiarch/strstr.c: ... here.
24716         (strstr): Add __strstr_sse2_unaligned ifunc.
24717         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
24718         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
24719         (strcasestr): Remove __strcasestr_sse42 ifunc.
24720         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
24721         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
24722         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24724 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24726         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
24727         * sysdeps/sh/bits/fenv.h: ... here.
24728         * sysdeps/sh/sh4/fpu/bits: Remove directory.
24730 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24732         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
24734         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
24735         hypotf multiarch implementations.
24736         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
24737         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
24738         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
24739         multiarch hypot for PPC64.
24740         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
24741         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
24742         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
24743         multiarch hypotf for PPC64.
24745         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
24746         modff multiarch implementations.
24747         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
24748         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
24749         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
24750         multiarch modf for PPC64.
24751         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
24752         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
24753         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
24754         multiarch modff for PPC64.
24756         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
24757         and logl multiarch implementations.
24758         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
24759         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
24760         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
24761         multiarch logb for PPC64.
24762         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
24763         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
24764         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
24765         multiarch logb for PPC64.
24766         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
24767         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
24768         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
24769         multiarch logb for PPC64.
24771         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
24772         isinff multiarch implementation.
24773         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
24774         file.
24775         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
24776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
24777         multiarch isinf for PPC64.
24778         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
24779         file.
24780         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
24781         multiarch isinff for PPC64.
24783         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
24784         finitef multiarch implementation.
24785         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
24786         file.
24787         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
24788         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
24789         multiarch finite for PPC64.
24790         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
24791         file.
24792         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
24793         multiarch finitef for PPC64.
24795         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
24796         lrint multiarch implementation.
24797         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
24798         file.
24799         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
24800         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
24801         multiarch llrint for PPC64.
24802         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
24803         multiarch lrint for PPC64.
24805         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
24806         copysignf multiarch implementation.
24807         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
24808         file.
24809         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
24810         file.
24811         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
24812         multiarch copysign for PPC64.
24813         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
24814         multiarch copysignf for PPC64.
24816         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
24817         multiarch implementation.
24818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
24819         file.
24820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
24821         file.
24822         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
24823         file.
24824         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
24825         file.
24826         multiarch llround for PPC64.
24827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
24828         multiarch trunc for PPC64.
24829         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
24830         multiarch truncf for PPC64.
24832         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
24833         multiarch implementation.
24834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
24835         file.
24836         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
24837         file.
24838         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
24839         file.
24840         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
24841         file.
24842         multiarch llround for PPC64.
24843         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
24844         multiarch round for PPC64.
24845         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
24846         multiarch roundf for PPC64.
24848         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
24849         multiarch implementation.
24850         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
24851         file.
24852         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
24853         file.
24854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
24855         file.
24856         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
24857         file.
24858         multiarch llround for PPC64.
24859         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
24860         multiarch floor for PPC64.
24861         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
24862         multiarch floorf for PPC64.
24864         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
24865         multiarch implementation.
24866         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
24867         file.
24868         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
24869         file.
24870         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
24871         file.
24872         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
24873         file.
24874         multiarch llround for PPC64.
24875         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
24876         multiarch ceil for PPC64.
24877         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
24878         multiarch ceilf for PPC64.
24880         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
24881         multiarch implementation.
24882         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
24883         file.
24884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
24885         file.
24886         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
24887         file.
24888         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
24889         multiarch llround for PPC64.
24890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
24891         multiarch lround for PPC64.
24893         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
24894         multiarch implementation.
24895         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
24896         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
24897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
24898         file.
24899         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
24900         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
24901         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
24902         multiarch isnan for PPC64.
24903         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
24904         multiarch isnanf for PPC64.
24906         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
24907         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
24908         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
24909         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
24910         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
24911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
24913         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
24914         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24915         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24916         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24918         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
24919         multiarch implementations.
24920         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24921         (__libc_ifunc_impl_list): Likewise.
24922         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
24923         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
24924         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
24925         multiarch stpcpy for PPC64.
24927         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
24928         multiarch implementations.
24929         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24930         (__libc_ifunc_impl_list): Likewise.
24931         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
24932         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
24933         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
24934         multiarch strcpy for PPC64.
24936         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
24937         redefine function name.
24938         (_wordcopy_fwd_dest_aligned): Likewise.
24939         (_wordcopy_bwd_aligned): Likewise.
24940         (_wordcopy_bwd_dest_aligned): Likewise.
24941         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
24942         multiarch implementations.
24943         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24944         (__libc_ifunc_impl_list): Likewise.
24945         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
24946         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
24947         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
24948         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
24949         multiarch wcscpy for PPC64.
24951         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
24952         multiarch implementations.
24953         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24954         (__libc_ifunc_impl_list): Likewise.
24955         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
24956         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
24957         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
24958         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
24959         multiarch wcscpy for PPC64.
24961         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
24962         multiarch implementations.
24963         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24964         (__libc_ifunc_impl_list): Likewise.
24965         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
24966         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
24967         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
24968         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
24969         multiarch wcsrchr for PPC64.
24971         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
24972         multiarch implementations.
24973         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24974         (__libc_ifunc_impl_list): Likewise.
24975         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
24976         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
24977         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
24978         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
24979         multiarch wcschr for PPC64.
24981         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
24982         multiarch implementations.
24983         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24984         (__libc_ifunc_impl_list): Likewise.
24985         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
24986         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
24987         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
24988         multiarch strchrnul for PPC64.
24990         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
24991         implementations.
24992         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24993         (__libc_ifunc_impl_list): Likewise.
24994         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
24995         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
24996         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
24997         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
24998         strchr for PPC64.
25000         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
25001         implementations.
25002         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25003         (__libc_ifunc_impl_list): Likewise.
25004         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
25005         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
25006         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
25007         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
25008         strncmp for PPC64.
25010         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
25011         multiarch implementations.
25012         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25013         (__libc_ifunc_impl_list): Likewise.
25014         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
25015         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
25016         strncasecmp for PPC64.
25017         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
25018         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
25019         multiarch strncasecmp_l for PPC64.
25021         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
25022         multiarch implementations.
25023         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25024         (__libc_ifunc_impl_list): Likewise.
25025         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
25026         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
25027         multiarch strcasecmp for PPC64.
25028         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
25029         file.
25030         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
25031         multiarch strcasecmp_l for PPC64.
25033         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
25034         implementations.
25035         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25036         (__libc_ifunc_impl_list): Likewise.
25037         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
25038         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
25039         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
25040         strnlen for PPC64.
25042         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
25043         implementations.
25044         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25045         (__libc_ifunc_impl_list): Likewise.
25046         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
25047         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
25048         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
25049         strlen for PPC64.
25051         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
25052         implementations.
25053         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25054         (__libc_ifunc_impl_list): Likewise.
25055         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
25056         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
25057         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
25058         rawmemrchr for PPC64.
25060         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
25061         implementation.
25062         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25063         (__libc_ifunc_impl_list): Likewise.
25064         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
25065         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
25066         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
25067         memrchr for PPC64.
25069         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
25070         implementation.
25071         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25072         (__libc_ifunc_impl_list): Likewise.
25073         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
25074         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
25075         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
25076         memchr for PPC64.
25078         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
25079         implementation.
25080         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25081         (__libc_ifunc_impl_list): Likewise.
25082         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
25083         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
25084         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
25085         mempcpy for PPC64.
25087         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
25088         avoid cretion of __bzero symbol.
25089         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
25090         Likewise.
25091         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
25092         Likewise.
25093         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
25094         Likewise.
25095         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
25096         multiarch implementations.
25097         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25098         (__libc_ifunc_impl_list): Likewise.
25099         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
25100         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
25101         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
25102         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
25103         bzero for PPC32.
25104         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
25105         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
25106         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
25107         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
25108         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
25109         memset for PPC64.
25110         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
25112         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
25113         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
25114         implementations.
25115         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25116         (__libc_ifunc_impl_list): Likewise.
25117         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
25118         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
25119         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
25120         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
25121         memcmp for PPC64.
25123         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
25124         multiarch for POWER/PPC64.
25125         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
25126         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
25127         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
25128         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
25129         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
25130         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
25131         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
25132         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
25133         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
25134         memcpy for PPC64.
25136         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
25137         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
25138         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
25139         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
25140         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
25141         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
25142         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
25143         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
25144         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
25145         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
25146         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
25147         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
25148         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
25149         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
25150         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
25151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
25152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
25153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
25154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
25155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
25156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
25157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
25159 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25161         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
25163 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25165         * benchtests/Makefile (bench): Add exp2 and log2.
25166         (LDLIBS-bench-exp2): Add -lm.
25167         (LDLIBS-bench-log2): Likewise.
25168         * benchtests/exp2-inputs: New inputs file.
25169         * benchtests/log2-inputs: New inputs file.
25170         * benchtests/log-inputs: Add new inputs.
25171         * benchtests/tan-inputs: Likewise.
25173 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25175         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
25176         definition...
25177         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
25178         (csloww2): ... from here.
25180         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
25181         instead of structures.
25182         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
25183         (POLYNOMIAL): Likewise.
25184         (TAYLOR_SLOW): Likewise.
25185         (__sin): Likewise.
25186         (__cos): Likewise.
25187         (slow1): Likewise.
25188         (slow2): Likewise.
25189         (sloww): Likewise.
25190         (sloww1); Likewise.
25191         (sloww2): Likewise.
25192         (bsloww1): Likewise.
25193         (bsloww2): Likewise.
25194         (cslow2): Likewise.
25195         (csloww): Likewise.
25196         (csloww1): Likewise.
25197         (csloww2): Likewise.
25199 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
25201         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
25202         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
25203         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
25204         * malloc/hooks.c (realloc_check): Likewise.
25206         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
25207         * malloc/arena.c: Remove PER_THREAD conditional.
25208         [!PER_THREAD]: Remove code.
25209         (ptmalloc_unlock_all2): Likewise.
25210         (ptmalloc_init): Likewise.
25211         (_int_new_arena): Likewise.
25212         (arena_get2): Likewise.
25213         * malloc/hooks.c (__malloc_get_state): Likewise.
25214         (__malloc_set_state): Likewise.
25215         * malloc/malloc.c: Likewise.
25216         (struct malloc_state): Likewise.
25217         (struct malloc_par): Likewise.
25218         (__libc_realloc): Likewise.
25219         (__libc_mallopt): Likewise.
25221 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25223         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
25225 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
25227         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
25228         macro to a function.  Check for zero perturb_byte.
25229         (_int_malloc, _int_free): Remove zero perturb_byte checks.
25231         * malloc/malloc.c: (force_reg): Remove.
25232         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
25233         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
25234         force_reg by atomic_forced_read.
25235         * malloc/arena.c (ptmalloc_init): Likewise.
25236         * malloc/hooks.c (top_check): Likewise.
25238 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25240         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25242 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
25244         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25246 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
25248         * math/auto-libm-test-in: Add tests of lgamma.
25249         * math/auto-libm-test-out: Regenerated.
25250         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
25251         (M_LOG_2_SQRT_PIl): Likewise.
25252         (lgamma_test_data): Use AUTO_TESTS_f_f1.
25253         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25254         mpfr_f_f1.
25255         (func_calc_desc): Add mpfr_f_f1 union field.
25256         (ARGS1): New macro.
25257         (ARGS2): Likewise.
25258         (ARGS3): Likewise.
25259         (ARGS4): Likewise.
25260         (RET1): Likewise.
25261         (RET2): Likewise.
25262         (CALC): Likewise.
25263         (FUNC): Likewise.
25264         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
25265         (test_functions): Add lgamma.
25266         (calc_generic_results): Handle mpfr_f_f1.
25267         * sysdeps/i386/fpu/libm-test-ulps: Update.
25268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25270 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25272         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
25273         __mpn_add_n for PowerPC64/POWER7.
25274         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
25275         __mpn_sub_n for PowerPC64/POWER7.
25277         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
25278         __mpn_addmul_1 for PowerPC64.
25279         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
25280         __mpn_submul_1 for PowerPC64.
25281         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
25282         for PowerPC64.
25283         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
25284         for PowerPC64.
25286 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
25288         [BZ #15089]
25289         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
25291 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25293         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
25295         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
25296         add multiarch folders.
25297         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
25298         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
25299         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
25300         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
25301         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
25302         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
25303         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
25304         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
25305         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
25306         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
25307         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
25308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
25309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
25310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
25311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
25312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
25313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
25315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
25316         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
25317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
25318         New file.
25319         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
25320         New file.
25321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
25322         multiarch __ieee754_hypot for PowerPC32.
25323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
25324         New file.
25325         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
25326         New file.
25327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
25328         multiarch __ieee754_hypotf for PowerPC32.
25330         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
25331         long_double_symbol only if __logbl is defined.
25332         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
25333         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
25334         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
25335         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
25336         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
25337         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
25338         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
25339         path for implementation.
25340         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
25341         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
25342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
25343         logb, and logbl multiarch implementations for PowerPC32.
25344         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
25345         file.
25346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
25347         file.
25348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
25349         multiarch logb for PowerPC32.
25350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
25351         file.
25352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
25353         file.
25354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
25355         multiarch logbf for PowerPC32.
25356         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
25357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
25358         file.
25359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
25360         multiarch logbl implementation for PowerPC32.
25362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
25363         and modff multiarch implementations.
25364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
25365         New file.
25366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
25367         New file.
25368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
25369         multiarch modf for PowerPC32.
25370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
25371         New file.
25372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
25373         New file.
25374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
25375         multiarch modff for PowerPC32.
25377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
25378         and lrintf multiarch implementations.
25379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
25380         New file.
25381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
25382         New file.
25383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
25384         multiarch lrint for PowerPC32.
25385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
25386         file: multiarch lrintf for PowerPC32.
25388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
25389         and lroundf multiarch implementations.
25390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
25391         New file.
25392         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
25393         New file.
25394         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
25395         New file.
25396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
25397         multiarch lround for PowerPC32.
25398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
25399         file: multiarch lroundf for PowerPC32.
25401         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
25402         copysign and copysignf multiarch implementations.
25403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
25404         New file.
25405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
25406         New file.
25407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
25408         file: multiarch copysign for PowerPC32.
25409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
25410         file: multiarch copysignf for PowerPC32.
25412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
25413         and truncf multiarch implementations.
25414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
25415         New file.
25416         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
25417         file.
25418         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
25419         multiarch trunc for PowerPC32.
25420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
25421         New file.
25422         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
25423         New file.
25424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
25425         multiarch truncf for PowerPC32.
25427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
25428         and roundf multiarch implementations.
25429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
25430         New file.
25431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
25432         file.
25433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
25434         multiarch round for PowerPC32.
25435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
25436         New file.
25437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
25438         New file.
25439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
25440         multiarch roundf for PowerPC32.
25442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
25443         and floorf multiarch implementations.
25444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
25445         New file.
25446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
25447         file.
25448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
25449         multiarch floor for PowerPC32.
25450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
25451         New file.
25452         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
25453         New file.
25454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
25455         multiarch floorf for PowerPC32.
25457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
25458         and ceilf multiarch implementations.
25459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
25460         New file.
25461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
25462         file.
25463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
25464         multiarch ceil for PowerPC32.
25465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
25466         New file.
25467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
25468         file.
25469         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
25470         multiarch ceilf for PowerPC32.
25472         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
25473         is defined.
25474         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
25475         FINITEF is defined.
25476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
25477         and finitef multiarch implementations.
25478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
25479         New file.
25480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
25481         file.
25482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
25483         multiarch finite for PowerPC32.
25484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
25485         New file.
25486         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
25487         file: multiarch finitef for PowerPC32.
25489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
25490         and isinff multiarch implementations.
25491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
25492         file.
25493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
25494         file.
25495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
25496         multiarch isinf for PowerPC32.
25497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
25498         New file.
25499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
25500         multiarch isinff for PowerPC32.
25502         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
25503         alias when __isnan is defined.
25504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
25505         and isnanf multiarch implementations.
25506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
25507         file.
25508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
25509         file.
25510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
25511         file.
25512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
25513         file.
25514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
25515         multiarch isnan for PowerPC32.
25516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
25517         New file.
25518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
25519         New file.
25520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
25521         multiarch isnanf for PowerPC32.
25523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
25524         and sqrtf multiarch implementations.
25525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
25526         file.
25527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
25528         file.
25529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
25530         multiarch sqrt for PowerPC32.
25531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
25532         file.
25533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
25534         file.
25535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
25536         multiarch sqrtf for PowerPC32.
25538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
25539         and llroundf multiarch implementations.
25540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
25541         New file.
25542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
25543         New file.
25544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
25545         New file.
25546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
25547         file: multiarch llround for PowerPC32.
25548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
25549         file: multiarch llroundf for PowerPC32.
25551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
25552         multiarch PowerPC32 fpu implementations.
25553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
25554         New file.
25555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
25556         New file.
25557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
25558         multiarch llrint for PowerPC32.
25559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
25560         New file.
25561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
25562         New file.
25563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
25564         file.
25566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
25568         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
25569         file.
25570         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
25571         file.
25572         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
25573         file.
25574         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
25575         multiarch wordcopy for PPC32.
25576         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
25577         wordcopy objects.
25578         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25579         (__libc_ifunc_impl_list): Likewise.
25580         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
25581         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
25582         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
25583         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
25584         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
25585         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
25587         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
25588         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
25589         file.
25590         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
25591         file.
25592         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
25593         file.
25594         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
25595         multiarch wcscpy for PPC32.
25596         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
25597         multiarch objects.
25598         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25599         (__libc_ifunc_impl_list): Likewise.
25600         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
25601         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
25602         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
25603         sysdeps/powerpc/power6/wcscpy.c.
25605         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
25606         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
25607         file.
25608         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
25609         file.
25610         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
25611         file.
25612         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
25613         multiarch wcsrchr for PPC32.
25614         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
25615         multiarch objects.
25616         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25617         (__libc_ifunc_impl_list): Likewise.
25618         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
25619         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
25620         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
25621         sysdeps/powerpc/power6/wcsrchr.c.
25623         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
25624         file.
25625         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
25626         file.
25627         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
25628         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
25629         multiarch wcschr for PPc32.
25630         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
25631         multiarch objects.
25632         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25633         (__libc_ifunc_impl_list): Likewise.
25634         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
25635         * sysdeps/powerpc/power6/wcschr.c: ... to here.
25636         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
25637         sysdeps/powerpc/power6/wcschr.c.
25639         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
25640         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
25641         file.
25642         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
25643         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
25644         file: multiarch strchr for PPC32.
25645         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
25646         multiarch objects.
25647         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25648         (__libc_ifunc_impl_list): Likewise.
25650         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
25651         name.
25652         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
25653         file.
25654         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
25655         file.
25656         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
25657         multiarch strchrnul for PPC32.
25658         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
25659         multiarch objects.
25660         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25661         (__libc_ifunc_impl_list): Likewise.
25663         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
25664         file.
25665         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
25666         multiarch strncasecmp for PPC32.
25667         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
25668         file.
25669         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
25670         multiarch strncasecmp_l for PPC32.
25671         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
25672         strncasecmp multiarch objects.
25673         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25674         (__libc_ifunc_impl_list): Likewise.
25676         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
25677         file.
25678         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
25679         multiarch strncasecmp for PPC32.
25680         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
25681         New file.
25682         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
25683         multiarch strcasecmp_l for PPC32.
25684         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
25685         multiarch objects.
25686         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25687         (__libc_ifunc_impl_list): Likewise.
25689         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
25690         file.
25691         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
25692         file.
25693         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
25694         multiarch strncmp for PPC32.
25695         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
25696         multiarch objects.
25697         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25698         (__libc_ifunc_impl_list): Likewise.
25700         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
25701         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
25702         file.
25703         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
25704         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
25705         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
25706         multiarch objects.
25707         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25708         (__libc_ifunc_impl_list): Likewise.
25710         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
25711         file.
25712         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
25713         file.
25714         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
25715         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
25716         multiarch objects.
25717         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25718         (__libc_ifunc_impl_list): Likewise.
25720         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
25721         file.
25722         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
25723         file.
25724         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
25725         multiarch rawmemchr for PPC32.
25726         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
25727         multiarch objects.
25728         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25729         (__libc_ifunc_impl_list): Likewise.
25731         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
25732         file.
25733         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
25734         file.
25735         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
25736         file: memrchr multiarch for PPC32.
25737         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
25738         multiarch objects.
25739         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25740         (__libc_ifunc_impl_list): Likewise.
25742         * string/memchr.c (__memchr): Using macro to redefine symbol name.
25743         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
25744         file.
25745         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
25746         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
25747         multiarch memchr for PPC32.
25748         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
25749         multiarch objects.
25750         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25751         (__libc_ifunc_impl_list): Likewise.
25753         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
25754         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
25755         file.
25756         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
25757         file.
25758         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
25759         file: multiarch mempcpy for PPC32.
25760         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
25761         multiarch objects.
25762         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25763         (__libc_ifunc_impl_list): Likewise.
25765         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
25766         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
25767         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
25768         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
25769         multiarch bzero for PPC32.
25770         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
25771         file.
25772         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
25773         file.
25774         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
25775         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
25776         file: multiarch memset for PPC32.
25777         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
25778         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
25779         memset multiarch objects.
25780         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25781         (__libc_ifunc_impl_list): Likewise.
25783         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
25784         file.
25785         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
25786         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
25787         memcmp for PPC32.
25788         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
25789         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
25790         multiarch objects.
25791         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25792         (__libc_ifunc_impl_list): Likewise.
25794         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
25795         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
25796         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
25797         file.
25798         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
25799         file.
25800         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
25801         file.
25802         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
25803         multiarch memcpy for PPC32.
25804         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
25805         multiarch objects.
25806         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25807         (__libc_ifunc_impl_list): Likewise.
25809         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
25810         support multiarch for POWER/PPC32.
25811         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
25812         Likewise.
25813         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
25814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
25815         Implies file to make multiarch folder appers before the fpu and
25816         default folder for power4 configuration.
25818 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25820         * scripts/bench.pl: Append volatile keyword to type.
25822 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25824         * sysdeps/sh/sotruss-lib.c: New file.
25825         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
25827 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25829         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25831 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
25833         [BZ #6810]
25834         * math/w_tgamma.c: Include <errno.h>.
25835         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
25836         * math/w_tgammaf.c: Include <errno.h>.
25837         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
25838         * math/w_tgammal.c: Include <errno.h>.
25839         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
25840         * math/auto-libm-test-in: Do not allow missing errno on tgamma
25841         underflow.  Add more tgamma tests.
25842         * math/auto-libm-test-out: Regenerated.
25843         * sysdeps/i386/fpu/libm-test-ulps: Update.
25844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25846         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
25847         sin, sinh, tan, tanh, tgamma, y0 and y1.
25848         * math/auto-libm-test-out: Regenerated.
25849         * math/libm-test.inc (TEST_COND_x86_64): New macro.
25850         (TEST_COND_x86): Likewise.
25851         (M_E2l): Remove macro.
25852         (M_E3l): Likewise.
25853         (M_2_SQRT_PIl): Likewise.
25854         (M_SQRT_PIl): Likewise.
25855         (M_1_DIV_El): Likewise.
25856         (log_test_data): Use AUTO_TESTS_f_f.
25857         (log10_test_data): Likewise.
25858         (log1p_test_data): Likewise.
25859         (log2_test_data): Likewise.
25860         (sin_test_data): Likewise.
25861         (sin_tonearest_test_data): Likewise.
25862         (sin_towardzero_test_data): Likewise.
25863         (sin_downward_test_data): Likewise.
25864         (sin_upward_test_data): Likewise.
25865         (sinh_test_data): Likewise.
25866         (sinh_tonearest_test_data): Likewise.
25867         (sinh_towardzero_test_data): Likewise.
25868         (sinh_downward_test_data): Likewise.
25869         (sinh_upward_test_data): Likewise.
25870         (tan_test_data): Likewise.
25871         (tan_tonearest_test_data): Likewise.
25872         (tan_towardzero_test_data): Likewise.
25873         (tan_downward_test_data): Likewise.
25874         (tan_upward_test_data): Likewise.
25875         (tanh_test_data): Likewise.
25876         (tgamma_test_data): Likewise.
25877         (y0_test_data): Likewise.
25878         (y1_test_data): Likewise.
25879         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
25880         (special_real_inputs): Add pi/4.
25881         * sysdeps/i386/fpu/libm-test-ulps: Update.
25882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25884 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25886         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
25887         "longjmp_target" static probes.
25888         (__longjmp): Rename to __longjmp_symbol.
25889         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25890         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
25891         on which longjmp to generate.
25892         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
25893         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
25894         probe.
25895         (__sigsetjmp): Rename to __sigsetjmp_symbol.
25896         (__sigjmp_save): Rename to __sigjmp_save_symbol.
25897         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
25898         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
25899         and __sigjmp_save_symbol based on which sigsetjmp to generated.
25900         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
25901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
25902         __longjmp_symbol based on which __longjmp to generate.
25903         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
25904         probe.
25905         (setjmp): Rename to setjmp_symbol.
25906         (__sigsetjmp): Rename to __sigsetjmp_symbol.
25907         (_setjmp): Rename to _setjmp_symbol.
25908         (__sigsetjmp): Rename to __sigsetjmp_symbol.
25909         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
25910         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
25911         which setjmp to generate.
25912         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
25913         "longjmp_target" static probes.
25915 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25917         * benchtests/README: Add note about output arguments.
25918         * benchtests/bench-sincos.c: Remove file.
25919         * benchtests/sincos-inputs: New file.
25920         * scripts/bench.pl: Identify output arguments and define
25921         static variables for them.
25923         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
25925         [BZ #15941]
25926         * Makefile (INSTALL): Add install-plain.texi as the primary
25927         dependency.
25928         * manual/install-plain.texi: New file.
25929         * manual/install.texi: Include node directive only for
25930         non-plaintext output.
25932 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
25934         * stdlib/longlong.h: Update from GCC.
25936         [BZ #6807]
25937         [BZ #15901]
25938         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
25939         * math/w_j0f.c (y0f): Likewise.
25940         * math/w_j0l.c (__y0l): Likewise.
25941         * math/w_j1.c (y1): Likewise.
25942         * math/w_j1f.c (y1f): Likewise.
25943         * math/w_j1l.c (__y1l): Likewise
25944         * math/w_jn.c (yn): Likewise.
25945         * math/w_jnf.c (ynf): Likewise.
25946         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
25947         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
25948         value for Bessel function domain errors outside _SVID_ mode.
25949         Adjust sign of return value for yn (negative integer, 0).
25950         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
25951         by zero in return for negative x and set sign appropriately for
25952         negative n.
25953         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
25954         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25955         * math/libm-test.inc (y0_test_data): Add more tests and adjust
25956         expectations in error cases.
25957         (y1_test_data): Likewise.
25958         (yn_test_data): Likewise.
25959         * sysdeps/i386/fpu/libm-test-ulps: Update.
25960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25962 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25964         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
25965         "64" to "64-v1".  Add "64-v2".
25966         (abi-64-options): Rename to ...
25967         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
25968         (abi-64-condition): Rename to ...
25969         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
25970         (abi-64-ld-soname): Rename to ...
25971         (abi-64-v1-ld-soname): ... this.
25972         (abi-64-v2-options): Define.
25973         (abi-64-v2-condition): Likewise.
25974         (abi-64-v2-ld-soname): Likewise.
25975         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
25976         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
25977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
25978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
25979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
25981 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25982             Alan Modra  <amodra@gmail.com>
25984         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
25985         New versions for use with the ELFv2 ABI.
25986         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
25987         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
25988         declaration.
25989         (struct La_ppc64v2_retval): Likewise.
25990         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
25991         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
25992         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
25993         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
25994         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
25995         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
25996         Do not save or restore CR.
25997         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
25998         (_dl_profile_resolve): Do no save or restore CR.  Support extended
25999         return values for ELFv2 ABI.  Fix location of FPR return registers.
26000         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
26001         updated values for _CALL_ELF == 2.
26002         (La_regs, La_retval, int_retval): Likewise.
26004 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26006         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
26007         (FRAME_MIN_SIZE_PARM): Likewise.
26008         (FRAME_BACKCHAIN): Likewise.
26009         (FRAME_CR_SAVE): Likewise.
26010         (FRAME_LR_SAVE): Likewise.
26011         (FRAME_TOC_SAVE): Likewise.
26012         (FRAME_PARM_SAVE): Likewise.
26013         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
26014         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
26015         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
26016         (call_mcount_parm_offset): New macro.
26017         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
26018         (PROF): Use symbolic stack frame offsets.
26019         (TAIL_CALL_SYSCALL_ERROR): Likewise.
26020         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
26021         Redefine in terms of FRAME_MIN_SIZE.
26022         (_dl_runtime_resolve): Use symbolic stack frame offsets.
26023         (_dl_profile_resolve): Likewise.  Update comment.
26024         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
26025         symbols stack frame offsets.
26026         (__sigsetjmp): Likewise.
26027         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
26028         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
26029         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
26030         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
26032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
26033         (FRAME_BACKCHAIN): Remove.
26034         (FRAME_CR_SAVE): Likewise.
26035         (FRAME_LR_SAVE): Likewise.
26036         (FRAME_COMPILER_DW): Likewise.
26037         (FRAME_LINKER_DW): Likewise.
26038         (FRAME_TOC_SAVE): Likewise.
26039         (FRAME_PARM_SAVE): Likewise.
26040         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
26041         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
26042         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
26043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
26044         (CHECK_SP): Use symbolic stack frame offsets.
26045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
26046         zone" instead of caller's parameter save area for temp storage.
26047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26048         Likewise.  Also, use symbolic stack frame offsets.
26049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
26050         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
26051         our own stack frame instead of the caller's.
26052         (__socket): Use symbolic stack frame offsets.
26054 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26055             Alan Modra  <amodra@gmail.com>
26057         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
26058         Define.
26059         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
26060         (PPC64_LOCAL_ENTRY_OFFSET): Define.
26061         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
26062         New function.
26063         (elf_machine_fixup_plt): Call it.
26064         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
26065         reloc arguments.
26066         (elf_machine_rela): Update call to elf_machine_plt_conflict.
26067         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
26068         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
26069         r2 before calling target.
26071 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26072             Alan Modra  <amodra@gmail.com>
26074         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
26075         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
26076         versions of macros to support ELFv2 ABI.
26077         (LOCALENTRY): New macro.
26078         (ENTRY, EALIGN): Use it.
26079         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
26080         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
26081         fall through into ENTRY entry point.
26082         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
26083         Only define if _CALL_ELF != 2.
26085         (elf_machine_matches_host): Verify ABI version matches.
26086         (RTLD_START): Use LOCALENTRY.
26087         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
26088         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
26089         (PLT_ENTRY_WORDS): New macro.
26090         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
26091         (elf_machine_runtime_setup): Support ELFv2 ABI.
26092         (elf_machine_fixup_plt): Likewise.
26093         (elf_machine_plt_conflict): Likewise.
26094         (resolve_ifunc): Likewise.
26095         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
26096         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
26097         Likewise.
26098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
26099         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
26100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26101         (makecontext): Support ELFv2 ABI.
26102         * elf/elf.h (EF_PPC64_ABI): Define.
26104 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26106         * sysdeps/powerpc/powerpc64/sysdep.h
26107         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
26108         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
26109         (ENTRY) [ASSEMBLER]: ... but instead here ...
26110         (EALIGN) [ASSEMBLER]: ... and here.
26111         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
26112         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
26113         (ENTRY_2) [!ASSEMBLER]: Use it.
26114         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
26115         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
26116         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
26117         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
26118         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
26119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
26120         Use PPC64_LOAD_FUNCPTR.
26122         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
26124 2013-12-04  Alan Modra  <amodra@gmail.com>
26126         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
26127         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
26128         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
26129         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
26131         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
26132         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
26133         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
26134         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
26135         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
26136         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
26138 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26141         (__makecontext): Fix incorrect CFI when backtracing out of
26142         context created via makecontext.
26143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
26144         (__setcontext): Fix incorrect CFI during switch to new context.
26145         (__novec_setcontext): Likewise.
26147 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
26149         [BZ #4772]
26150         * time/strptime_l.c (__strptime_internal): Allow modifiers
26151         in strptime.
26152         * time/tst-strptime.c (day_tests): Add testcase.
26154 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26156         * scripts/bench.pl: Skip over blank lines.
26158 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
26160         [BZ #926]
26161         * manual/time.texi (Calendar Time): Clarify what timezone functions
26162         use.
26164 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26166         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26168 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
26170         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
26171         implementation.
26172         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
26173         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
26174         * debug/memset_chk.c (__memset_chk): Likewise.
26175         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
26176         * debug/strncpy_chk.c: Likewise.
26178 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
26180         [BZ #15268]
26181         [BZ #15425]
26182         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
26183         (__ieee754_exp): For possibly underflowing results, check size of
26184         result and force underflow exception if required.
26185         * math/auto-libm-test-in: Add more tests of exp.
26186         * math/auto-libm-test-out: Regenerated.
26187         * sysdeps/i386/fpu/libm-test-ulps: Update.
26188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26190         [BZ #16283]
26191         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
26192         * math/w_exp2f.c (__exp2f): Likewise.
26193         * math/w_exp2l.c (__exp2l): Likewise.
26194         * math/auto-libm-test-in: Do not allow missing errno on exp2
26195         underflow.
26196         * math/auto-libm-test-out: Regenerated.
26198 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
26200         [BZ #16274]
26201         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
26202         handle filename validation.
26203         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
26204         (do_open): Delete.
26206 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
26208         [BZ #6786]
26209         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
26210         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
26211         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
26212         <float.h>.
26213         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
26214         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
26215         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26216         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
26217         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26218         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
26219         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26220         * math/auto-libm-test-in: Don't allow missing errno from erfc.
26221         Add more erfc tests.
26222         * math/auto-libm-test-out: Regenerated.
26223         * sysdeps/i386/fpu/libm-test-ulps: Update.
26224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26226         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
26227         exp2, expm1, j0 and j1.
26228         * math/auto-libm-test-out: Regenerated.
26229         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
26230         (erfc_test_data): Likewise.
26231         (exp_test_data): Likewise.
26232         (exp_tonearest_test_data): Likewise.
26233         (exp_towardzero_test_data): Likewise.
26234         (exp_downward_test_data): Likewise.
26235         (exp_upward_test_data): Likewise.
26236         (exp10_test_data): Likewise.
26237         (exp2_test_data): Likewise.
26238         (expm1_test_data): Likewise.
26239         (j0_test_data): Likewise.
26240         (j1_test_data): Likewise.
26241         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
26242         (input_flag_type): Add flag_xfail_rounding.
26243         (input_flags): Add xfail-rounding.
26244         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
26245         (output_for_one_input_case): Handle flag_xfail_rounding.
26246         * sysdeps/i386/fpu/libm-test-ulps: Update.
26247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26249 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
26251         [BZ #16289]
26252         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
26253         division by 0.
26255 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
26257         [BZ #16195]
26258         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
26259         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
26260         (STAP_PROBE0): New macro.
26261         (STAP_PROBE1): Likewise.
26262         (STAP_PROBE2): Likewise.
26263         (STAP_PROBE3): Likewise.
26264         (STAP_PROBE4): Likewise.
26266 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
26268         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
26270 2013-12-02  Steve Ellcey  <sellcey@mips.com>
26272         * benchtests/Makefile (bench): Add sqrt.
26273         (LDLIBS-bench-sqrt): New.
26274         * benchtests/sqrt-input: New.
26276 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
26278         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
26279         (GAIH_EAI): Likewise.
26280         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
26281         (gaih_inet): Likewise.
26282         (getaddrinfo): Don't use GAIH_EAI.
26284         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
26285         (struct gaih): Remove definition.
26287 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26289         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
26290         Use HERRNOP directly.
26292 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26294         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26296 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
26298         * math/gen-auto-libm-tests.c (test_functions): Add more
26299         single-argument functions.
26300         (special_fill_pi_2): New function.
26301         (special_fill_minus_pi_2): Likewise.
26302         (special_fill_pi_6): Likewise.
26303         (special_fill_minus_pi_6): Likewise.
26304         (special_fill_pi_3): Likewise.
26305         (special_fill_2pi_3): Likewise.
26306         (special_fill_e): Likewise.
26307         (special_fill_1_e): Likewise.
26308         (special_fill_e_minus_1): Likewise.
26309         (special_real_inputs): Add more special inputs.
26310         (output_for_one_input_case): Do not require ERANGE on underflow to
26311         zero if round-to-nearest result does not underflow to zero, unless
26312         exact results required.
26313         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
26314         atan, atanh, cbrt, cos and cosh.
26315         * math/auto-libm-test-out: Regenerated.
26316         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
26317         (acos_tonearest_test_data): Likewise.
26318         (acos_towardzero_test_data): Likewise.
26319         (acos_downward_test_data): Likewise.
26320         (acos_upward_test_data): Likewise.
26321         (acosh_test_data): Likewise.
26322         (asin_test_data): Likewise.
26323         (asin_tonearest_test_data): Likewise.
26324         (asin_towardzero_test_data): Likewise.
26325         (asin_upward_test_data): Likewise.
26326         (asinh_test_data): Likewise.
26327         (atan_test_data): Likewise.
26328         (atanh_test_data): Likewise.
26329         (cbrt_test_data): Likewise.
26330         (cos_test_data): Likewise.
26331         (cos_tonearest_test_data): Likewise.
26332         (cos_towardzero_test_data): Likewise.
26333         (cos_downward_test_data): Likewise.
26334         (cos_upward_test_data): Likewise.
26335         (cosh_test_data): Likewise.
26336         (cosh_tonearest_test_data): Likewise.
26337         (cosh_towardzero_test_data): Likewise.
26338         (cosh_downward_test_data): Likewise.
26339         (cosh_upward_test_data): Likewise.
26340         * sysdeps/i386/fpu/libm-test-ulps: Update.
26341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26343 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
26345         [BZ #6787]
26346         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
26347         * math/w_exp10f.c (__exp10f): Likewise.
26348         * math/w_exp10l.c (__exp10l): Likewise.
26349         * math/libm-test.inc (exp10_test_data): Add more tests and expect
26350         errno settings in existing tests.
26352         [BZ #14032]
26353         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
26354         precision control set to double precision.
26355         * sysdeps/i386/fpu/w_sqrt.c: New file.
26356         * math/auto-libm-test-in: Add more tests.
26357         * math/auto-libm-test-out: Update.
26359         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
26360         (sqrt_test_tonearest): New function.
26361         (sqrt_towardzero_test_data): New variable.
26362         (sqrt_test_towardzero): New function.
26363         (sqrt_downward_test_data): New variable.
26364         (sqrt_test_downward): New function.
26365         (sqrt_upward_test_data): New variable.
26366         (sqrt_test_upward): New function.
26367         (main): Call the new functions.
26369         * math/gen-auto-libm-tests.c: New file.
26370         * math/auto-libm-test-in: Likewise.
26371         * math/auto-libm-test-out: New generated file.
26372         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
26373         variables.
26374         (%beautify): Add generated representations of zero.
26375         (top level): Set $auto_input and call parse_auto_input.
26376         (beautify): Remove trailing "f" from hex float constants.
26377         (parse_args): Handle XFAIL_TEST.
26378         (convert_condition): New function.
26379         (or_value): Likewise.
26380         (or_cond_value): Likewise.
26381         (generate_testfile): Handle AUTO_TESTS_* lines.
26382         (parse_auto_input): New function.
26383         * math/libm-test.inc (XFAIL_TEST): New macro.
26384         (ERRNO_UNCHANGED): Update value.
26385         (ERRNO_EDOM): Likewise.
26386         (ERRNO_ERANGE): Likewise.
26387         (IGNORE_RESULT): Likewise.
26388         (TEST_COND_flt_32): New macro.
26389         (TEST_COND_dbl_64): Likewise.
26390         (TEST_COND_ldbl_96_intel): Likewise.
26391         (TEST_COND_ldbl_96_m68k): Likewise.
26392         (TEST_COND_ldbl_128): Likewise.
26393         (TEST_COND_ldbl_128ibm): Likewise.
26394         (TEST_COND_long32): Likewise.
26395         (TEST_COND_long64): Likewise.
26396         (TEST_COND_before_rounding): Likewise.
26397         (TEST_COND_after_rounding): Likewise.
26398         (enable_test): Handle XFAIL_TEST flag.
26399         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
26400         with finite results.
26401         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
26402         auto-libm-test-out.
26404 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26405             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26407         [BZ #16214]
26408         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
26409         __tls_get_addr_internal instead of __tls_get_offset in order to
26410         avoid GOT pointer dependency.  Make rtld export
26411         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
26412         __tls_get_addr since we are a __tls_get_offset platform.
26413         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
26414         GOT pointer being set up before.
26415         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
26417 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
26419         * manual/math.texi (Errors in Math Functions): Document accuracy
26420         goals.
26422         [BZ #15004]
26423         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
26424         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
26425         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26426         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26427         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26428         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26429         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26430         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26431         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26432         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26433         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26434         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26435         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26436         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26437         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26438         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26440         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
26441         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
26442         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
26443         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
26444         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
26445         Likewise.
26446         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
26447         Likewise.
26448         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
26449         Likewise.
26450         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
26451         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
26452         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
26453         atomic-feupdateenv and flt-rounds.
26454         * sysdeps/powerpc/nofpu/Versions (libc): Add
26455         __atomic_feholdexcept, __atomic_feclearexcept,
26456         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
26457         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
26458         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
26459         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
26460         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
26461         here.
26462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
26463         Update.
26465         * manual/arith.texi (FP Exceptions): Document that exceptions may
26466         not be raised when matherr is used.
26467         (Math Error Reporting): Document overflow in directed rounding
26468         modes.  Document that errno may not be set when finite values are
26469         returned on overflow.  Document intent to set errno on underflow
26470         only for underflow to zero.
26472         [BZ #16271]
26473         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
26474         round-to-nearest then adjust result for other rounding modes.
26475         * include/fenv.h (fegetround): Use libm_hidden_proto.
26476         * math/fegetround.c (fegetround): Use libm_hidden_def.
26477         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
26478         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
26479         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
26480         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
26481         Likewise.
26482         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
26483         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26484         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
26485         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
26487 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26489         [BZ #16077]
26490         * nss/Versions (libnss_files): Add
26491         _nss_files_gethostbyname3_r.
26492         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
26493         New function.
26494         (HOST_DB_LOOKUP): Remove macro.
26495         (_nss_files_gethostbyname_r): Implement function without the
26496         HOST_DB_LOOKUP macro.
26497         (_nss_files_gethostbyname2_r): Likewise.
26499 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
26501         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
26503 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
26505         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
26506         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
26507         warning.
26509 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26511         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
26512         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
26513         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
26514         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
26515         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
26516         __fe_nomask_env_priv and attribute_hidden.
26517         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
26518         (libc_feupdateenv_test_ppc): Likewise.
26519         (libc_feresetround_ppc): Likewise.
26520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26521         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
26522         compat_symbol macro.
26523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26524         (__fe_nomask_env): Likewise.
26525         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
26527 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
26529         * string/Makefile: Remove ifunc tests.
26530         * string/test-string.h: Define TEST_IFUNC.
26531         * string/test-bcopy-ifunc.c: Remove.
26532         * string/test-bzero-ifunc.c: Likewise.
26533         * string/test-memccpy-ifunc.c: Likewise.
26534         * string/test-memchr-ifunc.c: Likewise.
26535         * string/test-memcmp-ifunc.c: Likewise.
26536         * string/test-memcpy-ifunc.c: Likewise.
26537         * string/test-memmem-ifunc.c: Likewise.
26538         * string/test-memmove-ifunc.c: Likewise.
26539         * string/test-mempcpy-ifunc.c: Likewise.
26540         * string/test-memrchr-ifunc.c: Likewise.
26541         * string/test-memset-ifunc.c: Likewise.
26542         * string/test-rawmemchr-ifunc.c: Likewise.
26543         * string/test-stpcpy-ifunc.c: Likewise.
26544         * string/test-stpncpy-ifunc.c: Likewise.
26545         * string/test-strcasecmp-ifunc.c: Likewise.
26546         * string/test-strcasestr-ifunc.c: Likewise.
26547         * string/test-strcat-ifunc.c: Likewise.
26548         * string/test-strchr-ifunc.c: Likewise.
26549         * string/test-strchrnul-ifunc.c: Likewise.
26550         * string/test-strcmp-ifunc.c: Likewise.
26551         * string/test-strcpy-ifunc.c: Likewise.
26552         * string/test-strcspn-ifunc.c: Likewise.
26553         * string/test-strlen-ifunc.c: Likewise.
26554         * string/test-strncasecmp-ifunc.c: Likewise.
26555         * string/test-strncat-ifunc.c: Likewise.
26556         * string/test-strncmp-ifunc.c: Likewise.
26557         * string/test-strncpy-ifunc.c: Likewise.
26558         * string/test-strnlen-ifunc.c: Likewise.
26559         * string/test-strpbrk-ifunc.c: Likewise.
26560         * string/test-strrchr-ifunc.c: Likewise.
26561         * string/test-strspn-ifunc.c: Likewise.
26562         * string/test-strstr-ifunc.c: Likewise.
26564 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
26566         * benchtests/Makefile: Remove ifunc tests.
26567         * benchtests/bench-string.h: Define TEST_IFUNC.
26568         * benchtests/bench-bcopy-ifunc.c: Remove.
26569         * benchtests/bench-bzero-ifunc.c: Likewise.
26570         * benchtests/bench-memccpy-ifunc.c: Likewise.
26571         * benchtests/bench-memchr-ifunc.c: Likewise.
26572         * benchtests/bench-memcmp-ifunc.c: Likewise.
26573         * benchtests/bench-memcpy-ifunc.c: Likewise.
26574         * benchtests/bench-memmem-ifunc.c: Likewise.
26575         * benchtests/bench-memmove-ifunc.c: Likewise.
26576         * benchtests/bench-mempcpy-ifunc.c: Likewise.
26577         * benchtests/bench-memrchr-ifunc.c: Likewise.
26578         * benchtests/bench-memset-ifunc.c: Likewise.
26579         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
26580         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
26581         * benchtests/bench-stpcpy-ifunc.c: Likewise.
26582         * benchtests/bench-stpncpy-ifunc.c: Likewise.
26583         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
26584         * benchtests/bench-strcasestr-ifunc.c: Likewise.
26585         * benchtests/bench-strcat-ifunc.c: Likewise.
26586         * benchtests/bench-strchr-ifunc.c: Likewise.
26587         * benchtests/bench-strchrnul-ifunc.c: Likewise.
26588         * benchtests/bench-strcmp-ifunc.c: Likewise.
26589         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
26590         * benchtests/bench-strcpy-ifunc.c: Likewise.
26591         * benchtests/bench-strcspn-ifunc.c: Likewise.
26592         * benchtests/bench-strlen-ifunc.c: Likewise.
26593         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
26594         * benchtests/bench-strncat-ifunc.c: Likewise.
26595         * benchtests/bench-strncmp-ifunc.c: Likewise.
26596         * benchtests/bench-strncpy-ifunc.c: Likewise.
26597         * benchtests/bench-strnlen-ifunc.c: Likewise.
26598         * benchtests/bench-strpbrk-ifunc.c: Likewise.
26599         * benchtests/bench-strrchr-ifunc.c: Likewise.
26600         * benchtests/bench-strsep-ifunc.c: Likewise.
26601         * benchtests/bench-strspn-ifunc.c: Likewise.
26602         * benchtests/bench-strstr-ifunc.c: Likewise.
26604 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
26606         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
26608 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
26610         * resolv/netdb.h: Use __glibc_reserved instead __unused.
26611         * rt/aio.h: Likewise.
26612         * sysdeps/gnu/bits/utmp.h: Likewise.
26613         * sysdeps/gnu/bits/utmpx.h: Likewise.
26614         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26615         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
26616         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
26617         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
26618         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
26619         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
26620         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
26621         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
26622         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
26623         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
26624         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
26625         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
26626         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
26627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
26628         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26629         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
26630         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
26631         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
26632         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
26633         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
26634         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
26635         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
26636         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
26637         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26638         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
26639         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26640         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
26641         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
26642         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
26643         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
26644         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
26645         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
26646         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
26647         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
26648         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
26649         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
26650         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
26651         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
26652         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
26653         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
26654         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
26655         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
26657 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
26659         [BZ #16245]
26660         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
26661         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
26663 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
26665         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
26666         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
26667         Likewise.
26669 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26671         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
26672         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
26673         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
26674         (__fesetround): Remove define.
26675         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
26676         rounding and exceptions handling.
26677         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
26678         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
26679         (__fe_nomask_env): Likewise.
26680         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
26681         __fegetround instead of fegetround.
26682         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
26683         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
26685 2013-11-21  Roland McGrath  <roland@hack.frob.com>
26687         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
26688         it's there.
26690         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
26692 2013-11-21  Meador Inge  <meadori@codesourcery.com>
26694         [BZ #11157]
26695         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
26696         (encrypt_r): Likewise.
26697         * malloc/obstack.h (obstack_free): Likewise.
26698         * posix/unistd.h (encrypt): Likewise.
26700 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
26702         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
26703         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
26704         DL_CALL_DT_FINI() that call the functions directly.
26705         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
26706         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
26707         * elf/dl-fini.c: Likewise.
26709 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
26711         * malloc/hooks.c (memalign_check): Add alignment rounding.
26712         * malloc/malloc.c (_mid_memalign): New function.
26713         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
26714         Implement by calling _mid_memalign.
26715         * manual/probes.texi (Memory Allocation Probes): Remove
26716         memory_valloc_retry and memory_pvalloc_retry.
26718 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26720         * locale/programs/locarchive.c (open_archive): Add const
26721         qualifier to ARCHIVEFNAME and copy default fname to
26722         DEFAULT_FNAME.
26724         [BZ #15601]
26725         * libio/tst-widetext.input: Rename Oriya to Odia.
26726         * locale/iso-639.def: Likewise.
26728         * manual/probes.texi (Mathematical Function Probes): Add
26729         documentation for sin, cos, asin and acos probes.
26730         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
26731         (__sin32): Add slowasin probe.
26732         (__cos32): Add slowacos probe.
26733         (__mpsin): Add slowsin probe.
26734         (__mpcos): Add slowcos probe.
26736 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
26738         [BZ #15483]
26739         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
26740         thread-local __sim_exceptions_thread and global
26741         __sim_exceptions_global.
26742         (__sim_disabled_exceptions): Change to thread-local
26743         __sim_disabled_exceptions_thread and global
26744         __sim_disabled_exceptions_global.
26745         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
26746         and global __sim_round_mode_global.
26747         (__simulate_exceptions): Use thread-local floating-point state and
26748         set global state from it as needed.
26749         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
26750         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
26751         __sim_round_mode_thread.
26752         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
26753         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
26754         and global __sim_exceptions_global.
26755         (__sim_disabled_exceptions): Change to thread-local
26756         __sim_disabled_exceptions_thread and global
26757         __sim_disabled_exceptions_global.
26758         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
26759         and global __sim_round_mode_global.
26760         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
26761         (SIM_SET_GLOBAL): Likewise.
26762         * sysdeps/powerpc/soft-fp/sfp-machine.h
26763         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
26764         __sim_round_mode_thread.
26765         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
26766         __sim_disabled_exceptions_thread.
26767         (__sim_exceptions): Change to __sim_exceptions_thread.
26768         (__sim_disabled_exceptions): Change to
26769         __sim_disabled_exceptions_thread.
26770         (__sim_round_mode): Change to __sim_round_mode_thread.
26771         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
26772         thread-local floating-point state and set global state from it as
26773         needed.
26774         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
26775         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
26776         (__sim_disabled_exceptions): Remove extern declaration.
26777         (feenableexcept): Use thread-local floating-point state and set
26778         global state from it as needed.
26779         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
26780         extern declaration.
26781         (__sim_disabled_exceptions): Likewise.
26782         (__sim_round_mode): Likewise.
26783         (__fegetenv): Use thread-local floating-point state.
26784         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
26785         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
26786         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
26787         floating-point state and set global state from it as needed.
26788         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
26789         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
26790         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
26791         Likewise.
26792         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
26793         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
26794         Likewise.
26795         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
26796         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
26797         Use __sim_round_mode_thread.
26798         * math/test-fenv-tls.c: New file.
26799         * math/Makefile (tests): Add test-fenv-tls.
26800         ($(objpfx)test-fenv-tls): Depend on
26801         $(common-objpfx)nptl/libpthread.so.
26803 2013-11-19  Andreas Schwab  <schwab@suse.de>
26805         * locale/programs/locale.c (show_info): Decode wordarray elements.
26806         * locale/categories.def (LC_MONETARY): Add element for
26807         _NL_MONETARY_CRNCYSTR.
26808         * locale/C-monetary.c (conversion_rate): New variable.
26809         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
26810         element.
26812 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
26814         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
26815         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
26817 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
26819         * elf/Makefile (tst-auxv): New test.
26820         * elf/tst-auxv.c: New
26821         * elf/rtld.c (dl_main): Adjust AT_EXECFN
26823 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
26825         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
26826         (hidden_proto): Caller changed.
26827         (hidden_tls_proto): New macro.
26828         (libc_hidden_tls_proto): Likewise.
26829         (rtld_hidden_tls_proto): Likewise.
26830         (libm_hidden_tls_proto): Likewise.
26831         (libresolv_hidden_tls_proto): Likewise.
26832         (librt_hidden_tls_proto): Likewise.
26833         (libdl_hidden_tls_proto): Likewise.
26834         (libnss_files_hidden_tls_proto): Likewise.
26835         (libnsl_hidden_tls_proto): Likewise.
26836         (libnss_nisplus_hidden_tls_proto): Likewise.
26837         (libutil_hidden_tls_proto): Likewise.
26839 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
26841         [BZ #10253]
26842         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
26843         (decompose_rpath): Defer expansion to fillin_rpath.
26844         (_dl_init_paths): Pass linkmap to fillin_rpath.
26846 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26848         * benchtests/Makefile: Add strsep.
26849         * benchtests/bench-strsep.c: New file: strsep benchtest.
26850         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
26852 2013-11-18  Andreas Schwab  <schwab@suse.de>
26854         * locale/programs/locale.c (show_info) [case byte]: Check for
26855         '\377' instead of '\177'.
26856         * locale/C-monetary.c (not_available): Always use "\377".
26857         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
26858         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
26859         detect unavailable sign_posn locale elements.
26860         * locale/localeconv.c (__localeconv): For grouping and
26861         mon_grouping handle "\177" and "\377" like no grouping.
26862         (INT_ELEM): New macro.  Use it to set all numeric members.
26863         * locale/programs/ld-monetary.c (monetary_read)
26864         <tok_mon_grouping>: Normalize single -1 to the empty string.
26865         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
26866         Likewise.
26868 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
26870         [BZ #16055]
26871         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
26872         when we match (nil).
26873         * stdio-common/tst-sscanf.c (struct test): Add testcase.
26875 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
26877         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
26878         (NO_TEST_INLINE): Update value.
26879         (ERRNO_UNCHANGED): Likewise.
26880         (ERRNO_EDOM): Likewise.
26881         (ERRNO_ERANGE): Likewise.
26882         (IGNORE_RESULT): Likewise.
26883         (check_float_internal): Check signs of NaN results if
26884         TEST_NAN_SIGN used.
26885         (check_complex): Pass TEST_NAN_SIGN flag through to second
26886         check_float_internal call.
26887         (copysign_test_data): Add tests with quiet NaNs as second
26888         argument.  Use TEST_NAN_SIGN.
26889         (fabs_test_data): Add test of negative quiet NaN argument.  Use
26890         TEST_NAN_SIGN.
26891         (signbit_test_data): Add tests of quiet NaN argument.
26892         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
26894         * math/gen-libm-test.pl (show_exceptions): Take extra argument
26895         $ignore_result.
26896         (parse_args): Handle function results specified as IGNORE.
26897         * math/libm-test.inc (IGNORE_RESULT): New macro.
26898         (check_float_internal): Do not check numerical result if flag
26899         IGNORE_RESULT set.
26900         (check_complex): Pass through IGNORE_RESULT to second
26901         check_float_internal call.
26902         (check_int): Do not check numerical result if flag IGNORE_RESULT
26903         set.
26904         (check_long): Likewise.
26905         (check_bool): Likewise.
26906         (check_longlong): Likewise.
26907         (lrint_test_data): Add tests of infinite and NaN arguments.
26908         (lrint_tonearest_test_data): Likewise.
26909         (lrint_towardzero_test_data): Likewise.
26910         (lrint_downward_test_data): Likewise.
26911         (lrint_upward_test_data): Likewise.
26912         (llrint_test_data): Likewise.
26913         (llrint_tonearest_test_data): Likewise.
26914         (llrint_towardzero_test_data): Likewise.
26915         (llrint_downward_test_data): Likewise.
26916         (llrint_upward_test_data): Likewise.
26917         (lround_test_data): Likewise.
26918         (llround_test_data): Likewise.
26920         * math/libm-test.inc (NO_TEST_INLINE): New macro.
26921         (ERRNO_UNCHANGED): Update value.
26922         (ERRNO_EDOM): Likewise.
26923         (ERRNO_ERANGE): Likewise.
26924         (NO_TEST_INLINE_FLOAT): New macro.
26925         (NO_TEST_INLINE_DOUBLE): Likewise.
26926         (enable_test): New function.
26927         (RUN_TEST_f_f): Check enable_test before running test.
26928         (RUN_TEST_2_f): Likewise.
26929         (RUN_TEST_fff_f): Likewise.
26930         (RUN_TEST_c_f): Likewise.
26931         (RUN_TEST_f_f1): Likewise.
26932         (RUN_TEST_fF_f1): Likewise.
26933         (RUN_TEST_fI_f1): Likewise.
26934         (RUN_TEST_ffI_f1): Likewise.
26935         (RUN_TEST_c_c): Likewise.
26936         (RUN_TEST_cc_c): Likewise.
26937         (RUN_TEST_f_i): Likewise.
26938         (RUN_TEST_f_i_tg): Likewise.
26939         (RUN_TEST_ff_i_tg): Likewise.
26940         (RUN_TEST_f_b): Likewise.
26941         (RUN_TEST_f_b_tg): Likewise.
26942         (RUN_TEST_f_l): Likewise.
26943         (RUN_TEST_f_L): Likewise.
26944         (RUN_TEST_fFF_11): Likewise.
26945         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
26946         conditionals.
26947         (cosh_test_data): Likewise.
26948         (exp_test_data): Likewise.
26949         (expm1_test_data): Likewise.
26950         (hypot_test_data): Likewise.
26951         (pow_test_data): Likewise.
26952         (sinh_test_data): Likewise.
26953         (tanh_test_data): Likewise.
26954         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
26955         flags argument.
26957         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
26958         tests with quiet NaN input and output.
26959         (acosh_test_data): Likewise.
26960         (asin_test_data): Likewise.
26961         (asinh_test_data): Likewise.
26962         (atan_test_data): Likewise.
26963         (atanh_test_data): Likewise.
26964         (atan2_test_data): Likewise.
26965         (cbrt_test_data): Likewise.
26966         (cos_test_data): Likewise.
26967         (cosh_test_data): Likewise.
26968         (erf_test_data): Likewise.
26969         (erfc_test_data): Likewise.
26970         (exp_test_data): Likewise.
26971         (exp10_test_data): Likewise.
26972         (exp2_test_data): Likewise.
26973         (expm1_test_data): Likewise.
26974         (hypot_test_data): Likewise.
26975         (j0_test_data): Likewise.
26976         (j1_test_data): Likewise.
26977         (jn_test_data): Likewise.
26978         (lgamma_test_data): Likewise.
26979         (log_test_data): Likewise.
26980         (log10_test_data): Likewise.
26981         (log1p_test_data): Likewise.
26982         (log2_test_data): Likewise.
26983         (pow_test_data): Likewise.
26984         (scalb_test_data): Likewise.
26985         (sin_test_data): Likewise.
26986         (sincos_test_data): Likewise.
26987         (sinh_test_data): Likewise.
26988         (tan_test_data): Likewise.
26989         (tanh_test_data): Likewise.
26990         (tgamma_test_data): Likewise.
26991         (y0_test_data): Likewise.
26992         (y1_test_data): Likewise.
26993         (yn_test_data): Likewise.
26995         [BZ #16167]
26996         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
26997         argument being NaN and avoid computations with second argument in
26998         that case.
26999         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27000         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
27001         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27003 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
27005         * locale/iso-639.def: Add Chitwani Tharu (the).
27007 2013-11-14  Andreas Schwab  <schwab@suse.de>
27009         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
27010         word instead of empty string.
27012 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27015         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
27016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27017         (__fe_nomask_env): Likewise.
27019 2013-11-13  Steve Ellcey  <sellcey@mips.com>
27021         * benchtests/bench-timing.h: Include time.h.
27023 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
27025         [BZ #15997]
27026         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
27027         to 3.4.0 for x32.
27028         * sysdeps/unix/sysv/linux/configure: Regenerated.
27030 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
27032         [BZ #16151]
27033         * stdlib/strtod_l.c (round_and_return): Do not consider
27034         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
27035         exponent one less than half the least subnormal exponent.
27036         * stdlib/test-strtod-round-data: Add more tests.
27037         * stdlib/tst-strtod-round.c (tests): Regenerated.
27039 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27041         [BZ #14143]
27042         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
27043         (__fe_mask_env): Likewise.
27044         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
27045         libm_hidden_proto and add function prototype.
27046         (__fe_mask_env): Add function prototype.
27047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27048         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
27049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27050         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
27051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27052         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
27054 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27056         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
27057         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
27059 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27061         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
27062         of htab_find_slot().
27064 2013-11-11  David S. Miller  <davem@davemloft.net>
27066         [BZ #16150]
27067         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
27068         symbol in the non-vis3 case in static builds.
27069         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
27070         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
27071         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
27072         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
27074 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
27076         [BZ #387]
27077         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
27078         it is empty.
27080 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27082         * benchtests/Makefile: Add bench-strtod.
27083         * benchtests/bench-strtod.c: New file: strtod benchtest
27085 2013-11-11  Andreas Schwab  <schwab@suse.de>
27087         [BZ #16153]
27088         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
27089         terminating NUL in key length.
27091 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27093         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
27094         Add artificial ODP entry for vDSO symbol for PPC64.
27095         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
27096         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
27098 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
27100         [BZ #15374]
27101         * nss/getent.c (services_keys): Recognize services starting with digit.
27103 2013-11-06  David S. Miller  <davem@davemloft.net>
27105         [BZ #15985]
27106         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
27107         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
27109 2013-11-06  Will Newton  <will.newton@linaro.org>
27111         * manual/memory.texi (Malloc Examples): Remove register
27112         keyword from examples.
27114 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
27116         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
27118 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
27120         [BZ #6981]
27121         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
27122         depending on [__GCC_IEC_559 > 0].
27123         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
27124         depending on [__GCC_IEC_559_COMPLEX > 0].
27126 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
27128         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
27129         to iso-639.def.
27131 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
27133         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
27135 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
27137         [BZ #16112]
27138         * malloc/malloc (malloc_info): Do not handle first bin as
27139         special case.
27141 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
27143         * locale/iso-639.def: Add Central Nahuatl (nhn).
27145 2013-11-01  Bruno Haible  <bruno@clisp.org>
27147         [BZ #7003]
27148         * manual/math.texi (BSD Random): Specify range upper bound as
27149         in POSIX.
27151 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
27153         * locale/iso-639.def: Add Meadow Mari (mhr).
27155 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
27157         [BZ #14752], [BZ #15763]
27158         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
27159         Validate name.
27160         * rt/tst_shm.c: Add test for escaping directory.
27162 2013-10-31  Andreas Schwab  <schwab@suse.de>
27164         [BZ #15917]
27165         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
27166         followed by 'x' as part of digit sequence.
27167         * stdio-common/tst-sscanf.c (double_tests2): New tests.
27169 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
27171         [BZ #16037]
27172         * configure.ac: allow GNU Make 4.0 and greater.
27173         * configure: Regenerated.
27175 2013-10-30  Will Newton  <will.newton@linaro.org>
27177         [BZ #16038]
27178         * malloc/hooks.c (memalign_check): Limit alignment to the
27179         maximum representable power of two.
27180         * malloc/malloc.c (__libc_memalign): Likewise.
27181         * malloc/tst-memalign.c (do_test): Add test for very
27182         large alignment values.
27183         * malloc/tst-posix_memalign.c (do_test): Likewise.
27185 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
27187         [BZ #11087]
27188         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
27189         (munmap_chunk): Likewise.
27190         (mremap_chunk): Likewise.
27192 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
27194         [BZ #15799]
27195         * stdlib/div.c (div): Remove obsolete code.
27196         * stdlib/ldiv.c (ldiv): Likewise.
27197         * stdlib/lldiv.c (lldiv): Likewise.
27199 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27201         [BZ #16071]
27202         * nss/nss_files/files-XXX.c (get_contents_ret): New
27203         enumerator.
27204         (get_contents): New function.
27205         (internal_getent): Use it.  Expand size of LINEBUFLEN.
27207 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
27209         * configure.in: Moved to ...
27210         * configure.ac: ... here. Change reference to configure.in
27211         to configure.ac.
27212         * sysdeps/arm/preconfigure.ac: ... here.
27213         configure.in to configure.ac.
27214         * sysdeps/gnu/configure.in: Moved to ...
27215         * sysdeps/gnu/configure.ac: ... here.
27216         * sysdeps/i386/configure.in: Moved to ...
27217         * sysdeps/i386/configure.ac: ... here.
27218         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
27219         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
27220         * sysdeps/mach/configure.in: Moved to ...
27221         * sysdeps/mach/configure.ac: ... here.
27222         * sysdeps/mach/hurd/configure.in: Moved to ...
27223         * sysdeps/mach/hurd/configure.ac: ... here.
27224         * sysdeps/powerpc/configure.in: Moved to ...
27225         * sysdeps/powerpc/configure.ac: ... here.
27226         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
27227         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
27228         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
27229         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
27230         * sysdeps/s390/s390-32/configure.in: Moved to ...
27231         * sysdeps/s390/s390-32/configure.ac: ... here.
27232         * sysdeps/s390/s390-64/configure.in: Moved to ...
27233         * sysdeps/s390/s390-64/configure.ac: ... here.
27234         * sysdeps/sh/configure.in: Moved to ...
27235         * sysdeps/sh/configure.ac: ... here.
27236         * sysdeps/sparc/configure.in: Moved to ...
27237         * sysdeps/sparc/configure.ac: ... here.
27238         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
27239         * sysdeps/unix/sysv/linux/configure.ac: ... here.
27240         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
27241         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
27242         * sysdeps/x86_64/configure.in: Moved to ...
27243         * sysdeps/x86_64/configure.ac: ... here.
27244         * sysdeps/x86_64/preconfigure.in: Moved to ...
27245         * sysdeps/x86_64/preconfigure.ac: ... here.
27246         * aclocal.m4: Change reference to configure.in to configure.ac.
27247         * config.h.in: Likewise.
27248         * manual/install.texi: Likewise.
27249         * manual/maint.texi: Likewise.
27250         * Makefile: Likewise.
27251         * malloc/Makefile: Likewise.
27252         * nscd/Makefile: Likewise.
27253         * Makeconfig: Change reference to configure.in and
27254         preconfigure.in to configure.ac and preconfigure.ac
27255         respectively.
27256         * INSTALL: Regenerated.
27257         * configure: Likewise.
27258         * sysdeps/gnu/configure: Likewise.
27259         * sysdeps/i386/configure: Likewise.
27260         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
27261         * sysdeps/mach/configure: Likewise.
27262         * sysdeps/mach/hurd/configure: Likewise.
27263         * sysdeps/powerpc/configure: Likewise.
27264         * sysdeps/powerpc/powerpc32/configure: Likewise.
27265         * sysdeps/powerpc/powerpc64/configure: Likewise.
27266         * sysdeps/s390/s390-32/configure: Likewise.
27267         * sysdeps/s390/s390-64/configure: Likewise.
27268         * sysdeps/sh/configure: Likewise.
27269         * sysdeps/sparc/configure: Likewise.
27270         * sysdeps/unix/sysv/linux/configure: Likewise.
27271         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
27272         * sysdeps/x86_64/configure: Likewise.
27273         * sysdeps/x86_64/preconfigure: Likewise.
27275 2013-10-29  Andreas Schwab  <schwab@suse.de>
27277         * stdio-common/Makefile (tst-swscanf-ENV): Define.
27279 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27281         * benchtests/pow-inputs: Add new inputs.
27283         * benchtests/exp-inputs: Add new inputs.
27285         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
27286         conditional check for return value.
27287         (__cos32): Likewise.
27289 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27291         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
27292         to provide a boost for large inputs with word alignment.
27293         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
27294         implementation based on optimized PPC64 strcpy.
27295         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
27296         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
27297         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
27298         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
27300 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
27302         [BZ #2801]
27303         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
27305 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
27307         [BZ #14876]
27308         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
27309         * time/tst-strptime.c (day_tests): Add testcase.
27311 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
27313         [BZ #14029]
27314         * manual/pattern.texi: Acknowledge that fnmatch can fail.
27316 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
27318         [BZ #16074]
27319         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
27320         MAP_FAILED on error.
27322 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27324         [BZ #16072]
27325         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
27326         heap for large requests.
27328 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
27330         [BZ #9954]
27331         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
27332         result if the result has no associated interface.
27333         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
27334         interface for all 127.X.Y.Z addresses.
27336 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
27338         * locale/iso-639.def: Add Ligurian (lij)
27340 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
27342         [BZ #15825]
27343         * sunrpc/rpc_main.c: Document rpcgen -5.
27345 2013-10-19  Michael Stahl  <mstahl@redhat.com>
27347         * elf/rtld.c (do_preload): Print the reason why preloading failed.
27349 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
27351         [BZ #10278]
27352         * posix/glob.c: Match only directories when trailing slash is present.
27353         * posix/tst-gnuglob.c (my_opendir): Do not open files.
27354         (main): Add testcase.
27356 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
27358         [BZ #15670]
27359         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
27361 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
27363         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
27364         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
27365         AUTH_DES and cindex for FIPS 140-2.
27366         (DES Encryption): Add cindex FIPS 46-3.
27368         * locale/locarchive.h (struct locarhandle): Add fname.
27369         * locale/programs/localedef.c (main): Pass ARGV[remaining]
27370         if an optional argument was specified to --list-archive,
27371         otherwise NULL.
27372         * locale/programs/locarchive.c (show_archive_content): Take new
27373         argument fname and pass it via ah.fname to open_archive.
27374         * locale/programs/localedef.h: Update decl.
27375         (open_archive): If AH->fname is non-null, open that file
27376         rather than the default file name, and don't ignore ENOENT.
27377         (create_archive): Set AH.fname to NULL.
27378         (delete_locales_from_archive): Likewise.
27379         (add_locales_to_archive): Likewise.
27380         * locale/programs/locfile.c (write_all_categories): Likewise.
27382 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
27383             Aldy Hernandez  <aldyh@redhat.com>
27385         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
27386         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
27387         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
27388         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
27389         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
27390         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
27391         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
27392         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
27393         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
27394         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
27395         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
27396         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
27397         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
27398         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
27399         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
27400         Likewise.
27401         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
27402         Likewise.
27403         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
27404         Likewise.
27405         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
27406         Likewise.
27407         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
27408         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
27409         Likewise.
27410         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
27411         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
27412         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
27413         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
27414         Likewise.
27415         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
27416         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
27417         * sysdeps/powerpc/preconfigure: Likewise.
27418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
27419         Likewise.
27420         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
27421         Replace contents of file by #include of <fenv_libc.h>.
27422         * sysdeps/powerpc/soft-fp/sfp-machine.h
27423         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
27424         and <sys/prctl.h>.
27425         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
27426         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
27427         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
27428         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
27429         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
27430         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
27431         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
27432         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
27433         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
27434         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
27435         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
27436         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
27437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
27438         Allow copysignl PLT reference to be missing.
27440 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
27441             Joseph Myers  <joseph@codesourcery.com
27443         [BZ #15948]
27444         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
27445         single character.
27446         (add_to_tablewc): Assert sequence of wide characters is nonempty.
27448 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27450         * elf/tst-tls-dlinfo.c: Don't include tls.h.
27451         * elf/tst-tls1.c: Likewise.
27452         * elf/tst-tls10.h: Likewise.
27453         * elf/tst-tls14.c: Likewise.
27454         * elf/tst-tls2.c: Likewise.
27455         * elf/tst-tls3.c: Likewise.
27456         * elf/tst-tls4.c: Likewise.
27457         * elf/tst-tls5.c: Likewise.
27458         * elf/tst-tls6.c: Likewise.
27459         * elf/tst-tls7.c: Likewise.
27460         * elf/tst-tls8.c: Likewise.
27461         * elf/tst-tls9.c: Likewise.
27462         * elf/tst-tlsmod1.c: Likewise.
27463         * elf/tst-tlsmod13.c: Likewise.
27464         * elf/tst-tlsmod13a.c: Likewise.
27465         * elf/tst-tlsmod14a.c: Likewise.
27466         * elf/tst-tlsmod16a.c: Likewise.
27467         * elf/tst-tlsmod16b.c: Likewise.
27468         * elf/tst-tlsmod2.c: Likewise.
27469         * elf/tst-tlsmod3.c: Likewise.
27470         * elf/tst-tlsmod4.c: Likewise.
27471         * elf/tst-tlsmod5.c: Likewise.
27472         * elf/tst-tlsmod6.c: Likewise.
27474 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
27476         [BZ #12486]
27477         * malloc/malloc.c: remove checks for statistics.
27479 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
27481         [BZ #15277]
27482         * inet/inet_net.c (inet_network): Detect additional invalid strings.
27483         * inet/tst-network.c: Add testcase.
27485 2013-10-17  Andreas Schwab  <schwab@suse.de>
27487         [BZ #15218]
27488         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
27489         to determine canonical name.
27491 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
27493         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
27494         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
27495         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27496         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27497         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27498         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27499         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27500         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27501         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27502         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27503         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27504         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27505         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27506         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27507         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27508         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27509         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27510         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27511         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27512         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27513         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27514         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27515         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27516         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
27517         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
27518         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27519         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27520         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
27521         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27522         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
27523         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27524         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27525         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27526         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27527         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27528         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27529         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27530         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27531         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27532         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27533         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27534         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27535         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27536         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27537         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27538         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27539         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27540         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27541         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27542         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27543         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27544         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27545         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27546         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27547         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27548         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27549         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27550         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27552 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
27554         [BZ #16041]
27555         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
27556         make result into a quiet NaN.
27558 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
27560         * soft-fp/adddf3.c: Fix horizontal whitespace.
27561         * soft-fp/addsf3.c: Likewise.
27562         * soft-fp/addtf3.c: Likewise.
27563         * soft-fp/divdf3.c: Likewise.
27564         * soft-fp/divsf3.c: Likewise.
27565         * soft-fp/divtf3.c: Likewise.
27566         * soft-fp/double.h: Likewise.
27567         * soft-fp/eqdf2.c: Likewise.
27568         * soft-fp/eqsf2.c: Likewise.
27569         * soft-fp/eqtf2.c: Likewise.
27570         * soft-fp/extenddftf2.c: Likewise.
27571         * soft-fp/extended.h: Likewise.
27572         * soft-fp/extendsfdf2.c: Likewise.
27573         * soft-fp/extendsftf2.c: Likewise.
27574         * soft-fp/extendxftf2.c: Likewise.
27575         * soft-fp/fixdfdi.c: Likewise.
27576         * soft-fp/fixdfsi.c: Likewise.
27577         * soft-fp/fixdfti.c: Likewise.
27578         * soft-fp/fixsfdi.c: Likewise.
27579         * soft-fp/fixsfsi.c: Likewise.
27580         * soft-fp/fixsfti.c: Likewise.
27581         * soft-fp/fixtfdi.c: Likewise.
27582         * soft-fp/fixtfsi.c: Likewise.
27583         * soft-fp/fixtfti.c: Likewise.
27584         * soft-fp/fixunsdfdi.c: Likewise.
27585         * soft-fp/fixunsdfsi.c: Likewise.
27586         * soft-fp/fixunsdfti.c: Likewise.
27587         * soft-fp/fixunssfdi.c: Likewise.
27588         * soft-fp/fixunssfsi.c: Likewise.
27589         * soft-fp/fixunssfti.c: Likewise.
27590         * soft-fp/fixunstfdi.c: Likewise.
27591         * soft-fp/fixunstfsi.c: Likewise.
27592         * soft-fp/fixunstfti.c: Likewise.
27593         * soft-fp/floatdidf.c: Likewise.
27594         * soft-fp/floatdisf.c: Likewise.
27595         * soft-fp/floatditf.c: Likewise.
27596         * soft-fp/floatsidf.c: Likewise.
27597         * soft-fp/floatsisf.c: Likewise.
27598         * soft-fp/floatsitf.c: Likewise.
27599         * soft-fp/floattidf.c: Likewise.
27600         * soft-fp/floattisf.c: Likewise.
27601         * soft-fp/floattitf.c: Likewise.
27602         * soft-fp/floatundidf.c: Likewise.
27603         * soft-fp/floatundisf.c: Likewise.
27604         * soft-fp/floatunditf.c: Likewise.
27605         * soft-fp/floatunsidf.c: Likewise.
27606         * soft-fp/floatunsisf.c: Likewise.
27607         * soft-fp/floatunsitf.c: Likewise.
27608         * soft-fp/floatuntidf.c: Likewise.
27609         * soft-fp/floatuntisf.c: Likewise.
27610         * soft-fp/floatuntitf.c: Likewise.
27611         * soft-fp/fmadf4.c: Likewise.
27612         * soft-fp/fmasf4.c: Likewise.
27613         * soft-fp/fmatf4.c: Likewise.
27614         * soft-fp/gedf2.c: Likewise.
27615         * soft-fp/gesf2.c: Likewise.
27616         * soft-fp/getf2.c: Likewise.
27617         * soft-fp/ledf2.c: Likewise.
27618         * soft-fp/lesf2.c: Likewise.
27619         * soft-fp/letf2.c: Likewise.
27620         * soft-fp/muldf3.c: Likewise.
27621         * soft-fp/mulsf3.c: Likewise.
27622         * soft-fp/multf3.c: Likewise.
27623         * soft-fp/negdf2.c: Likewise.
27624         * soft-fp/negsf2.c: Likewise.
27625         * soft-fp/negtf2.c: Likewise.
27626         * soft-fp/op-1.h: Likewise.
27627         * soft-fp/op-2.h: Likewise.
27628         * soft-fp/op-4.h: Likewise.
27629         * soft-fp/op-8.h: Likewise.
27630         * soft-fp/op-common.h: Likewise.
27631         * soft-fp/quad.h: Likewise.
27632         * soft-fp/single.h: Likewise.
27633         * soft-fp/soft-fp.h: Likewise.
27634         * soft-fp/sqrtdf2.c: Likewise.
27635         * soft-fp/sqrtsf2.c: Likewise.
27636         * soft-fp/sqrttf2.c: Likewise.
27637         * soft-fp/subdf3.c: Likewise.
27638         * soft-fp/subsf3.c: Likewise.
27639         * soft-fp/subtf3.c: Likewise.
27640         * soft-fp/truncdfsf2.c: Likewise.
27641         * soft-fp/trunctfdf2.c: Likewise.
27642         * soft-fp/trunctfsf2.c: Likewise.
27643         * soft-fp/trunctfxf2.c: Likewise.
27644         * soft-fp/unorddf2.c: Likewise.
27645         * soft-fp/unordsf2.c: Likewise.
27646         * soft-fp/unordtf2.c: Likewise.
27648 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
27650         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
27651         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
27653 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
27655         * elf/dl-libc.c: Clear initfini list after freeing.
27657 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
27659         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
27660         * soft-fp/addsf3.c: Likewise.
27661         * soft-fp/addtf3.c: Likewise.
27662         * soft-fp/divdf3.c: Likewise.
27663         * soft-fp/divsf3.c: Likewise.
27664         * soft-fp/divtf3.c: Likewise.
27665         * soft-fp/double.h: Likewise.
27666         * soft-fp/eqdf2.c: Likewise.
27667         * soft-fp/eqsf2.c: Likewise.
27668         * soft-fp/eqtf2.c: Likewise.
27669         * soft-fp/extenddftf2.c: Likewise.
27670         * soft-fp/extended.h: Likewise.
27671         * soft-fp/extendsfdf2.c: Likewise.
27672         * soft-fp/extendsftf2.c: Likewise.
27673         * soft-fp/extendxftf2.c: Likewise.
27674         * soft-fp/fixdfdi.c: Likewise.
27675         * soft-fp/fixdfsi.c: Likewise.
27676         * soft-fp/fixdfti.c: Likewise.
27677         * soft-fp/fixsfdi.c: Likewise.
27678         * soft-fp/fixsfsi.c: Likewise.
27679         * soft-fp/fixsfti.c: Likewise.
27680         * soft-fp/fixtfdi.c: Likewise.
27681         * soft-fp/fixtfsi.c: Likewise.
27682         * soft-fp/fixtfti.c: Likewise.
27683         * soft-fp/fixunsdfdi.c: Likewise.
27684         * soft-fp/fixunsdfsi.c: Likewise.
27685         * soft-fp/fixunsdfti.c: Likewise.
27686         * soft-fp/fixunssfdi.c: Likewise.
27687         * soft-fp/fixunssfsi.c: Likewise.
27688         * soft-fp/fixunssfti.c: Likewise.
27689         * soft-fp/fixunstfdi.c: Likewise.
27690         * soft-fp/fixunstfsi.c: Likewise.
27691         * soft-fp/fixunstfti.c: Likewise.
27692         * soft-fp/floatdidf.c: Likewise.
27693         * soft-fp/floatdisf.c: Likewise.
27694         * soft-fp/floatditf.c: Likewise.
27695         * soft-fp/floatsidf.c: Likewise.
27696         * soft-fp/floatsisf.c: Likewise.
27697         * soft-fp/floatsitf.c: Likewise.
27698         * soft-fp/floattidf.c: Likewise.
27699         * soft-fp/floattisf.c: Likewise.
27700         * soft-fp/floattitf.c: Likewise.
27701         * soft-fp/floatundidf.c: Likewise.
27702         * soft-fp/floatundisf.c: Likewise.
27703         * soft-fp/floatunsidf.c: Likewise.
27704         * soft-fp/floatunsisf.c: Likewise.
27705         * soft-fp/floatuntidf.c: Likewise.
27706         * soft-fp/floatuntisf.c: Likewise.
27707         * soft-fp/floatuntitf.c: Likewise.
27708         * soft-fp/fmadf4.c: Likewise.
27709         * soft-fp/fmasf4.c: Likewise.
27710         * soft-fp/fmatf4.c: Likewise.
27711         * soft-fp/gedf2.c: Likewise.
27712         * soft-fp/gesf2.c: Likewise.
27713         * soft-fp/getf2.c: Likewise.
27714         * soft-fp/ledf2.c: Likewise.
27715         * soft-fp/lesf2.c: Likewise.
27716         * soft-fp/letf2.c: Likewise.
27717         * soft-fp/muldf3.c: Likewise.
27718         * soft-fp/mulsf3.c: Likewise.
27719         * soft-fp/multf3.c: Likewise.
27720         * soft-fp/negdf2.c: Likewise.
27721         * soft-fp/negsf2.c: Likewise.
27722         * soft-fp/negtf2.c: Likewise.
27723         * soft-fp/op-1.h: Likewise.
27724         * soft-fp/op-2.h: Likewise.
27725         * soft-fp/op-4.h: Likewise.
27726         * soft-fp/op-8.h: Likewise.
27727         * soft-fp/op-common.h: Likewise.
27728         * soft-fp/quad.h: Likewise.
27729         * soft-fp/single.h: Likewise.
27730         * soft-fp/soft-fp.h: Likewise.
27731         * soft-fp/sqrtdf2.c: Likewise.
27732         * soft-fp/sqrtsf2.c: Likewise.
27733         * soft-fp/sqrttf2.c: Likewise.
27734         * soft-fp/subdf3.c: Likewise.
27735         * soft-fp/subsf3.c: Likewise.
27736         * soft-fp/subtf3.c: Likewise.
27737         * soft-fp/truncdfsf2.c: Likewise.
27738         * soft-fp/trunctfdf2.c: Likewise.
27739         * soft-fp/trunctfsf2.c: Likewise.
27740         * soft-fp/trunctfxf2.c: Likewise.
27741         * soft-fp/unorddf2.c: Likewise.
27742         * soft-fp/unordsf2.c: Likewise.
27743         * soft-fp/unordtf2.c: Likewise.
27745 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
27747         [BZ #15672]
27748         * misc/error.c (error_tail): Fix possible buffer overflow.
27750 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
27752         [BZ #13028]
27753         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
27754         address.
27756 2013-10-14  P. J. McDermott  <pj@pehjota.net>
27758         [BZ #832]
27759         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
27760         testing pipefail option.
27762 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
27764         * soft-fp/double.h: Indent preprocessor directives inside #if.
27765         * soft-fp/extended.h: Likewise.
27766         * soft-fp/op-2.h: Likewise.
27767         * soft-fp/op-4.h: Likewise.
27768         * soft-fp/op-common.h: Likewise.
27769         * soft-fp/quad.h: Likewise.
27770         * soft-fp/single.h: Likewise.
27771         * soft-fp/soft-fp.h: Likewise.
27773 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
27775         * iconv/iconv_prog.c: Fix typos.
27776         * stdio-common/psiginfo-data.h: Likewise.
27778 2013-10-12   Reuben Thomas <rrt@sc3d.org>
27780         [BZ #15764]
27781         * locale/setlocale.c: Fix typo.
27783 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
27785         [BZ #16036]
27786         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
27787         signaling NaN arguments.
27788         * soft-fp/unordsf2.c (__unordsf2): Likewise.
27789         * soft-fp/unordtf2.c (__unordtf2): Likewise.
27791         [BZ #14910]
27792         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
27793         unordered operands.
27794         * soft-fp/gesf2.c (__gesf2): Likewise.
27795         * soft-fp/getf2.c (__getf2): Likewise.
27796         * soft-fp/ledf2.c (__ledf2): Likewise.
27797         * soft-fp/lesf2.c (__lesf2): Likewise.
27798         * soft-fp/letf2.c (__letf2): Likewise.
27800         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
27801         * soft-fp/eqsf2.c (__eqsf2): Likewise.
27802         * soft-fp/eqtf2.c (__eqtf2): Likewise.
27803         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
27804         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
27805         * soft-fp/fixdfti.c (__fixdfti): Likewise.
27806         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
27807         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
27808         * soft-fp/fixsfti.c (__fixsfti): Likewise.
27809         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
27810         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
27811         * soft-fp/fixtfti.c (__fixtfti): Likewise.
27812         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
27813         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
27814         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
27815         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
27816         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
27817         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
27818         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
27819         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
27820         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
27821         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
27822         * soft-fp/floatdisf.c (__floatdisf): Likewise.
27823         * soft-fp/floatsisf.c (__floatsisf): Likewise.
27824         * soft-fp/floattidf.c (__floattidf): Likewise.
27825         * soft-fp/floattisf.c (__floattisf): Likewise.
27826         * soft-fp/floattitf.c (__floattitf): Likewise.
27827         * soft-fp/floatundidf.c (__floatundidf): Likewise.
27828         * soft-fp/floatundisf.c (__floatundisf): Likewise.
27829         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
27830         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
27831         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
27832         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
27833         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
27834         * soft-fp/gesf2.c (__gesf2): Likewise.
27835         * soft-fp/getf2.c (__getf2): Likewise.
27836         * soft-fp/ledf2.c (__ledf2): Likewise.
27837         * soft-fp/lesf2.c (__lesf2): Likewise.
27838         * soft-fp/letf2.c (__letf2): Likewise.
27840         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
27841         Undefine and redefine.
27842         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
27843         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
27844         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
27845         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
27846         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27847         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
27848         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27849         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
27850         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27851         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
27852         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27853         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
27854         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27855         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
27856         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27858         [BZ #16032]
27859         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
27860         without decrementing exponent if mantissa >= that for the
27861         denominator, not >.
27862         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
27863         denominator, not >.  Decrement exponent in < case instead of
27864         incrementing in >= case.
27865         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
27866         without decrementing exponent if mantissa >= that for the
27867         denominator, not >.
27869         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
27870         computing saturated result for unsigned overflow.
27872 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27873             Jeff Law  <law@redhat.com>
27875         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
27876         (atan2Mp): Add systemtap probe marker.
27877         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
27878         (__ieee754_log): Add systemtap probe marker.
27879         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
27880         (atanMp): Add systemtap probe marker.
27881         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
27882         (tanMp): Add systemtap probe marker.
27883         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
27884         (__slowexp): Add systemtap probe marker.
27885         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
27886         (__slowpow): Add systemtap probe marker.
27887         * manual/probes.texi: Document probes.
27889 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
27891         [BZ #15362]
27892         * libio/fileops.c (_IO_new_file_write): Return count of bytes
27893         written.
27894         (_IO_new_file_xsputn): Don't return EOF if nothing has been
27895         written.
27896         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
27897         written to buffer but not flushed.
27898         * libio/iofwrite_u.c:  Likewise.
27899         * libio/iopadn.c:  Return bytes returned even if EOF was
27900         encountered.
27901         * libio/iowpadn.c:  Likewise.
27902         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
27903         if _IO_padn does not write the whole buffer.
27904         [!COMPILE_WPRINTF] (PAD): Likewise.
27906 2013-10-10  David S. Miller  <davem@davemloft.net>
27908         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
27909         directory block.
27911 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
27913         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
27914         instead of FSF address.
27915         * soft-fp/fixdfti.c: Likewise.
27916         * soft-fp/fixsfti.c: Likewise.
27917         * soft-fp/fixtfti.c: Likewise.
27918         * soft-fp/fixunsdfti.c: Likewise.
27919         * soft-fp/fixunssfti.c: Likewise.
27920         * soft-fp/fixunstfti.c: Likewise.
27921         * soft-fp/floattidf.c: Likewise.
27922         * soft-fp/floattisf.c: Likewise.
27923         * soft-fp/floattitf.c: Likewise.
27924         * soft-fp/floatuntidf.c: Likewise.
27925         * soft-fp/floatuntisf.c: Likewise.
27926         * soft-fp/floatuntitf.c: Likewise.
27927         * soft-fp/trunctfxf2.c: Likewise.
27929         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
27930         * soft-fp/fixdfti.c: Likewise.
27931         * soft-fp/fixsfti.c: Likewise.
27932         * soft-fp/fixtfti.c: Likewise.
27933         * soft-fp/fixunsdfti.c: Likewise.
27934         * soft-fp/fixunssfti.c: Likewise.
27935         * soft-fp/fixunstfti.c: Likewise.
27936         * soft-fp/floattidf.c: Likewise.
27937         * soft-fp/floattisf.c: Likewise.
27938         * soft-fp/floattitf.c: Likewise.
27939         * soft-fp/floatuntidf.c: Likewise.
27940         * soft-fp/floatuntisf.c: Likewise.
27941         * soft-fp/floatuntitf.c: Likewise.
27942         * soft-fp/trunctfxf2.c: Likewise.
27944 2013-10-10  David S. Miller  <davem@davemloft.net>
27946         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27948 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
27950         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
27951         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
27952         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
27953         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
27954         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
27955         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
27956         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
27958         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
27959         for NaNs before doing comparisons on argument.
27960         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
27961         Likewise.
27963 2013-10-10  Will Newton  <will.newton@linaro.org>
27965         * malloc/hooks.c (memalign_check): Ensure the value of bytes
27966         passed to _int_memalign does not overflow.
27968 2013-10-10  Torvald Riegel  <triegel@redhat.com>
27970         * scripts/bench.pl: Add include-sources directive.
27971         * benchtests/README: Update documentation.
27973 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
27975         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
27976         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
27977         instead of FP_INIT_ROUNDMODE.
27978         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
27979         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
27981         [BZ #16034]
27982         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
27983         copy class of input value.
27984         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
27985         not handle exceptions.
27986         * soft-fp/negsf2.c (__negsf2): Likewise.
27987         * soft-fp/negtf2.c (__negtf2): Likewise.
27988         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
27990 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
27992         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
27993         semicolon.  From Linux kernel.
27995 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
27997         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
27999 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
28001         [BZ #156]
28002         * manual/socket.texi: Added statement about buffer
28003         for gethostbyname2_r.
28005 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
28007         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
28008         Use .p2align directive instead, throughout.
28009         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28010         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
28011         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
28012         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28013         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28014         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
28015         * sysdeps/x86_64/strchr.S: Likewise.
28016         * sysdeps/x86_64/strrchr.S: Likewise.
28018 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28020         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
28022         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
28024         * sysdeps/generic/math_private.h (__mpsin1): Remove
28025         declaration.
28026         (__mpcos1): Likewise.
28027         (__mpsin): New argument __range_reduce.
28028         (__mpcos): Likewise.
28029         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28030         (slow): Use __mpsin and __mpcos.
28031         (slow1): Likewise.
28032         (slow2): Likewise.
28033         (sloww): Likewise.
28034         (sloww1): Likewise.
28035         (sloww2): Likewise.
28036         (bsloww): Likewise.
28037         (bsloww1): Likewise.
28038         (bsloww2): Likewise.
28039         (cslow2): Likewise.
28040         (csloww): Likewise.
28041         (csloww1): Likewise.
28042         (csloww2): Likewise.
28043         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
28044         range_reduce.  Merge in __mpsin1.
28045         (__mpcos): Likewise.
28046         (__mpsin1): Remove.
28047         (__mpcos1): Likewise.
28049 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
28051         * locale/loadlocale.c (_nl_intern_locale_data): Use
28052         LOCFILE_ALIGNED_P.
28053         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
28054         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
28055         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
28056         obstack data is appropriately aligned.
28057         (obstack_int32_grow_fast): Likewise.
28058         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
28059         * locale/programs/locfile.c (add_locale_uint32): Likewise.
28060         (add_locale_uint32_array): Likewise.
28062 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
28064         * benchtests/Makefile: Remove ARGLIST and RET variables.
28065         ($(objpfx)bench-%.c): Pass only function name to the script.
28066         * benchtests/README: Update documentation.
28067         * benchtests/acos-inputs: Add new directives.
28068         * benchtests/acosh-inputs: Likewise.
28069         * benchtests/asin-inputs: Likewise.
28070         * benchtests/asinh-inputs: Likewise.
28071         * benchtests/atan-inputs: Likewise.
28072         * benchtests/atanh-inputs: Likewise.
28073         * benchtests/cos-inputs: Likewise.
28074         * benchtests/cosh-inputs: Likewise.
28075         * benchtests/exp-inputs: Likewise.
28076         * benchtests/log-inputs: Likewise.
28077         * benchtests/pow-inputs: Likewise.
28078         * benchtests/rint-inputs: Likewise.
28079         * benchtests/sin-inputs: Likewise.
28080         * benchtests/sinh-inputs: Likewise.
28081         * benchtests/tan-inputs: Likewise.
28082         * benchtests/tanh-inputs: Likewise.
28083         * scripts/bench.pl: Add support for new directives.
28085 2013-10-07  Alan Modra  <amodra@gmail.com>
28087         * README: Fix careless merge.
28089 2013-10-05  Alan Modra  <amodra@gmail.com>
28091         * NEWS: Mention powerpc64le support and bugs fixed.
28092         * README: Both big-endian and little-endian powerpc64 supported.
28094 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28096         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
28097         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
28098         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
28099         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
28101 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
28103         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
28104         match prototype.
28106 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
28108         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
28109         Move -mhard-float appending from
28110         ports/sysdeps/powerpc/powerpc32/Makefile.
28111         [$(with-fp) = yes] (ASFLAGS): Likewise.
28112         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
28113         * sysdeps/powerpc/nofpu: Move directory from
28114         ports/sysdeps/powerpc/nofpu.
28115         * sysdeps/powerpc/soft-fp: Move directory from
28116         ports/sysdeps/powerpc/soft-fp.
28117         * sysdeps/powerpc/powerpc32/405: Move directory from
28118         ports/sysdeps/powerpc/powerpc32/405.
28119         * sysdeps/powerpc/powerpc32/440: Move directory from
28120         ports/sysdeps/powerpc/powerpc32/440.
28121         * sysdeps/powerpc/powerpc32/464: Move directory from
28122         ports/sysdeps/powerpc/powerpc32/464.
28123         * sysdeps/powerpc/powerpc32/476: Move directory from
28124         ports/sysdeps/powerpc/powerpc32/476.
28125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
28126         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
28127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
28128         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
28129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
28130         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
28131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
28132         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
28133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
28134         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
28135         * README: Update for powerpc-*-linux-gnu software floating point
28136         support in libc.
28138         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
28139         case to powerpc/powerpc32*.
28140         * sysdeps/unix/sysv/linux/configure: Regenerated.
28142         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
28143         (_FPU_MASK_OM): Define as 0x04.
28144         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
28145         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
28146         0x00c10080.
28147         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
28148         0x0000003c.
28149         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
28151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
28152         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
28153         getcontext_e500.
28154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
28155         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
28156         setcontext_e500.
28157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
28158         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
28159         and setcontext_e500.
28161 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
28163         * locale/iso-3166.def: Update iso-1366.def and related occurrences
28165 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28167         * manual/threads.texi (Default Thread Attributes): Fix typo.
28169 2013-10-04  Will Newton  <will.newton@linaro.org>
28171         * malloc/Makefile: Add tst-memalign.
28172         * malloc/tst-memalign.c: New file.
28174         * malloc/tst-posix_memalign.c: Add comments.
28175         (do_test): Add comments and call free on all potentially
28176         allocated pointers. Add space after cast.
28178         * malloc/tst-pvalloc.c: Add comments.
28179         (do_test): Add comments and call free on all potentially
28180         allocated pointers. Remove duplicate check for NULL pointer.
28181         Add space after cast.
28183         * malloc/tst-valloc.c: Add comments.
28184         (do_test): Add comments and call free on all potentially
28185         allocated pointers. Remove duplicate check for NULL pointer.
28186         Add space after cast.
28188 2013-10-04  Alan Modra  <amodra@gmail.com>
28190         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28191         Use stdint types in rather than __attribute__((mode())).
28192         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28194 2013-10-04  Alan Modra  <amodra@gmail.com>
28196         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28197         Correct handling of unaligned relocs for little-endian.
28198         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28200 2013-10-04  Alan Modra  <amodra@gmail.com>
28202         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
28203         * configure: Regenerate.
28204         * nptl/shlib-versions: Powerpc*le starts at 2.18.
28205         * shlib-versions: Likewise.
28207 2013-10-04  Alan Modra  <amodra@gmail.com>
28209         * string/tester.c (test_memrchr): Increment reported test cycle.
28211 2013-10-04  Alan Modra  <amodra@gmail.com>
28213         * string/test-memcpy.c (do_one_test): When reporting errors, print
28214         string address and don't overrun end of string.
28216 2013-10-04  Alan Modra  <amodra@gmail.com>
28218         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
28219         insrdi.  Make better use of reg selection to speed exit slightly.
28220         Schedule entry path a little better.  Remove useless "are we done"
28221         checks on entry to main loop.  Handle wrapping around zero address.
28222         Correct main loop count.  Handle single left-over word from main
28223         loop inline rather than by using loop_small.  Remove extra word
28224         case in loop_small caused by wrong loop count.  Add little-endian
28225         support.
28226         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28227         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
28228         cache hint.
28229         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28230         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
28231         support.  Avoid rlwimi.
28232         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
28234 2013-10-04  Alan Modra  <amodra@gmail.com>
28236         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
28237         insrdi.  Formatting.
28238         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
28239         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28240         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
28241         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
28242         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28243         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
28245 2013-10-04  Alan Modra  <amodra@gmail.com>
28247         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
28248         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28249         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
28250         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
28251         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28252         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28253         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28254         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28255         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
28256         use of regs.  Use power7 mtocrf.  Tidy function tails.
28258 2013-10-04  Alan Modra  <amodra@gmail.com>
28260         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
28261         Formatting.  Consistently use rXXX register defines or rN defines.
28262         Use early exit labels that avoid restoring unused non-volatile regs.
28263         Make cr field use more consistent with rWORDn compares.  Rename
28264         regs used as shift registers for unaligned loop, using rN defines
28265         for short lifetime/multiple use regs.
28266         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28267         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
28268         addi 1,1,64 to pop stack frame.  Simplify return value code.
28269         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28271 2013-10-04  Alan Modra  <amodra@gmail.com>
28273         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
28274         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
28275         rather than rlwimi.
28276         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
28277         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
28278         little-endian support.  Correct typos.
28279         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
28280         rather than rlwimi.
28281         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
28282         in loop and entry code to keep "and." results.
28283         (strchr): Add little-endian support.  Comment.  Move cntlzd
28284         earlier in tail.
28285         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
28287 2013-10-04  Alan Modra  <amodra@gmail.com>
28289         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
28290         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
28291         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
28292         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
28294 2013-10-04  Alan Modra  <amodra@gmail.com>
28296         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
28297         (rTMP): Define as r11.
28298         (strcmp): Add little-endian support.  Optimise tail.
28299         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
28300         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28301         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28302         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28303         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28304         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28305         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28307 2013-10-04  Alan Modra  <amodra@gmail.com>
28309         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
28310         little-endian support.  Remove unnecessary "are we done" tests.
28311         Handle "s" wrapping around zero and extremely large "size".
28312         Correct main loop count.  Handle single left-over word from main
28313         loop inline rather than by using small_loop.  Correct comments.
28314         Delete "zero" tail, use "end_max" instead.
28315         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
28317 2013-10-04  Alan Modra  <amodra@gmail.com>
28319         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
28320         support.  Don't branch over align.
28321         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
28322         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
28323         support.  Rearrange tmp reg use to suit.  Comment.
28324         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
28326 2013-10-04  Alan Modra  <amodra@gmail.com>
28328         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
28330 2013-10-04  Alan Modra  <amodra@gmail.com>
28332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
28333         conditional form of branch and link when obtaining pc.
28334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
28336 2013-10-04  Alan Modra  <amodra@gmail.com>
28338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
28339         HIWORD/LOWORD.
28340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
28341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
28343 2013-10-04  Alan Modra  <amodra@gmail.com>
28345         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
28346         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
28347         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
28348         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
28349         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
28350         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28351         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
28352         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28353         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
28354         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
28356 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28357             Alistair Popple <alistair@ozlabs.au.ibm.com>
28358             Alan Modra <amodra@gmail.com>
28360         [BZ #15723]
28361         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
28362         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
28363         _dl_hwcap access for little-endian.
28364         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
28365         destroy vmx regs when saving unaligned.
28366         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
28367         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
28368         destroy vmx regs when saving unaligned.
28370 2013-10-04  Alan Modra  <amodra@gmail.com>
28372         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
28373         Don't use a union to pack hi/low value.
28375 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28377         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
28378         for little-endian.
28379         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
28380         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
28381         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28382         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
28383         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
28385 2013-10-04  Alan Modra  <amodra@gmail.com>
28387         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
28388         constants to usual value for .cst8 section, and remove redundant
28389         high address load.
28390         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
28391         constant for 0x1p52.  Load little-endian words of double from
28392         correct stack offsets.
28394 2013-10-04  Alan Modra  <amodra@gmail.com>
28396         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
28397         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
28398         words of double from correct stack offsets.
28399         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
28400         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
28401         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
28402         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
28403         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
28404         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
28405         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
28406         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
28407         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
28408         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
28409         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
28410         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
28411         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28412         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28413         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28414         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
28415         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
28417 2013-10-04  Alan Modra  <amodra@gmail.com>
28419         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
28420         64-bit int/double union.
28421         (_FPU_SETCW): Likewise.
28422         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
28423         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
28425 2013-10-04  Alan Modra  <amodra@gmail.com>
28427         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
28428         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
28430 2013-10-04  Alan Modra  <amodra@gmail.com>
28432         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
28433         use vector int constants.
28434         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
28436 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28438         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
28439         array with long long.
28440         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
28441         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
28442         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
28443         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
28444         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
28445         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
28446         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
28447         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
28448         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
28449         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
28450         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
28451         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
28452         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
28454 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28456         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
28457         (__signbit): Likewise.  Correct for little-endian.
28458         (__signbitl): Call __signbit.
28459         (lrint): Correct for little-endian.
28460         (lrintf): Call lrint.
28462 2013-10-04  Alan Modra  <amodra@gmail.com>
28464         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
28465         union 32-bit int array member with 64-bit int array.
28466         (t515, tm256): Double rather than long double.
28467         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
28469 2013-10-04  Alan Modra  <amodra@gmail.com>
28471         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
28472         Delete.
28473         (IEEE854_LONG_DOUBLE_BIAS): Delete.
28474         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
28475         version of math_ldbl.h.
28477 2013-10-04  Alan Modra  <amodra@gmail.com>
28479         [BZ #15734], [BZ #15735]
28480         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
28481         all uses of ieee875 long double macros and unions.  Simplify test
28482         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
28483         ldbl_extract_mantissa value for ix,iy exponents.  Properly
28484         normalize after ldbl_extract_mantissa, and don't add hidden bit
28485         already handled.  Don't treat low word of ieee854 mantissa like
28486         low word of IBM long double and mask off bit when testing for
28487         zero.
28488         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
28489         all uses of ieee875 long double macros and unions.  Simplify tests
28490         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
28491         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
28492         two1022, instead use their values.  Recognise that tests for large
28493         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
28494         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
28495         Rewrite all uses of ieee875 long double macros and unions.  Simplify
28496         test for 0.0L and nan.  Correct negation.
28497         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
28498         ieee875 long double macros and unions.  Correct output for large
28499         magnitude x.  Correct absolute value calculation.
28500         (__erfcl): Likewise.
28501         * math/libm-test.inc: Add tests for errors discovered in IBM long
28502         double versions of fmodl, remainderl, erfl and erfcl.
28504 2013-10-04  Alan Modra  <amodra@gmail.com>
28506         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
28507         all uses of ieee854 long double macros and unions.  Simplify tests
28508         for long doubles that are fully specified by the high double.
28509         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
28510         Likewise.
28511         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
28512         Remove dead code too.
28513         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
28514         (__ieee754_ynl): Likewise.
28515         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
28516         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
28517         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
28518         Remove dead code too.
28519         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
28520         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
28521         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
28522         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
28523         Simplify.
28524         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
28525         Simplify.
28526         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
28527         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
28528         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
28529         Comment on variable precision.
28530         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
28531         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28532         Likewise.
28533         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
28534         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28535         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28536         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
28537         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
28539 2013-10-04  Alan Modra  <amodra@gmail.com>
28541         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
28542         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
28543         all uses of ieee854 long double macros and unions.
28544         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
28545         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
28546         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
28547         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
28548         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
28549         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
28550         Likewise.
28551         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
28552         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28553         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
28554         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28555         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
28556         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
28557         Simplify sign and nan test too.
28558         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
28559         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
28560         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
28561         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
28562         Likewise.
28563         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
28564         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
28565         Likewise.
28566         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28567         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
28568         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
28569         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
28570         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
28571         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
28573 2013-10-04  Alan Modra  <amodra@gmail.com>
28575         * stdio-common/printf_size.c (__printf_size): Don't use
28576         union ieee854_long_double in fpnum union.
28577         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
28578         signbit macro to retrieve sign from long double.
28579         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
28580         retrieve sign from long double.
28581         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
28582         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
28583         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
28584         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28585         * math/test-misc.c (main): Don't use union ieee854_long_double.
28587 2013-10-04  Alan Modra  <amodra@gmail.com>
28589         [BZ #15680]
28590         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
28591         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
28592         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
28593         calculation.  Remove unnecessary test for denormal exponent.
28594         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
28595         Correct handling of denormals.  Avoid undefined shift behaviour.
28596         Correct normalisation of low mantissa when low double is denormal.
28597         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
28598         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
28599         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
28600         Correct normalisation of low mantissa.  Test for overflow of high
28601         mantissa and normalise.
28602         (ldbl_nearbyint): Use more readable constant for two52.
28603         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
28604         (__mpn_construct_long_double): Fix test for overflow of high
28605         mantissa and correct normalisation.  Avoid undefined shift.
28607 2013-10-04  Alan Modra  <amodra@gmail.com>
28609         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
28610         (union ibm_extended_long_double): Define as an array of ieee754_double.
28611         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
28612         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
28613         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
28614         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
28615         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28616         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
28617         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28618         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28619         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28620         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
28621         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28623 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
28625         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
28626         page size instead of calling getpagesize.
28628         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
28629         (LOCFILE_ALIGN_MASK): Likewise.
28630         (LOCFILE_ALIGN_UP): Likewise.
28631         (LOCFILE_ALIGNED_P): Likewise.
28632         * locale/programs/ld-collate.c (collate_output): Use the new
28633         macros instead of __alignof__ (int32_t).
28634         * locale/weight.h (findidx): Likewise.
28636 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
28638         [BZ #431]
28639         * manual/string.texi: Fix strncat and wcsncat.
28641 2013-10-03  Brooks Moses  <bmoses@google.com>
28643         [BZ #15915]
28644         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
28645         * Makerules: ...here, and adjust associated comments.
28647 2013-10-02  Will Newton  <will.newton@linaro.org>
28649         * malloc/Makefile: Add tst-pvalloc.
28650         * malloc/tst-pvalloc.c: New file.
28652 2013-10-02  Will Newton  <will.newton@linaro.org>
28654         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
28655         improve test coverage.
28657 2013-10-02  Will Newton  <will.newton@linaro.org>
28659         * malloc/Makefile: Add tst-posix_memalign.
28660         * malloc/tst-posix_memalign.c: New file.
28662 2013-10-01  Eric Blake  <eblake@redhat.com>
28664         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
28665         Use __THROWNL rather than __THROW on static functions.
28667 2013-09-30  Petr Machata  <pmachata@redhat.com>
28669         * elf/elf.h (R_AARCH64_ABS16): New macro.
28670         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
28671         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
28672         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
28673         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
28674         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
28675         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
28676         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
28677         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
28678         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
28679         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
28680         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
28681         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
28682         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
28683         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
28684         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
28685         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
28686         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
28687         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
28688         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
28689         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
28690         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
28691         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
28692         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
28693         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
28694         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
28695         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
28696         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
28697         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
28698         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
28699         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
28700         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
28701         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
28702         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
28703         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
28704         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
28705         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
28706         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
28707         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
28708         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
28709         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
28710         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
28711         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
28712         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
28713         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
28714         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
28715         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
28716         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
28717         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
28718         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
28719         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
28720         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
28721         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
28722         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
28723         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
28724         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
28725         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
28726         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
28727         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
28728         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
28729         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
28730         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
28731         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
28732         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
28733         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
28734         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
28735         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
28736         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
28737         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
28738         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
28739         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
28740         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
28741         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
28742         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
28743         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
28744         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
28745         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
28746         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
28747         (R_AARCH64_TLSDESC_LDR): Likewise.
28748         (R_AARCH64_TLSDESC_ADD): Likewise.
28749         (R_AARCH64_TLSDESC_CALL): Likewise.
28751 2013-09-30  Andreas Schwab  <schwab@suse.de>
28753         [BZ #15048]
28754         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
28755         the nss database lookup.
28756         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28757         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28759 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
28761         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
28763 2013-09-28  P. J. McDermott  <pj@pehjota.net>
28765         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
28766         ${Bash-specific parameter/pattern/string} parameter expansion.
28767         * sysdeps/unix/make-syscalls.sh: Likewise.
28769 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28771         * sysdeps/sh/stackguard-macros.h: New file.
28773 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
28775         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
28776         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
28777         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
28778         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
28779         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28780         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
28782 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28784         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
28785         Fix thread ID register.
28787 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
28789         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
28790         [POSIX || UNIX98]: Require rather than permitting all symbols from
28791         <time.h>.
28792         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
28793         element of struct sched_param.
28794         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
28795         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
28796         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
28797         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
28798         constant.
28800 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
28802         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
28803         argument calculation.
28805 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
28807         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
28808         Expect macro.
28809         [POSIX] (pthread_attr_t): Do not require type.
28810         [POSIX] (pthread_cond_t): Likewise.
28811         [POSIX] (pthread_condattr_t): Likewise.
28812         [POSIX] (pthread_key_t): Likewise.
28813         [POSIX] (pthread_mutex_t): Likewise.
28814         [POSIX] (pthread_mutexattr_t): Likewise.
28815         [POSIX] (pthread_once_t): Likewise.
28816         [POSIX] (pthread_t): Likewise.
28817         [POSIX-based standards] (pthread_atfork): Expect function.
28819 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
28820             Richard Sandiford  <richard@codesourcery.com>
28822         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
28823         (swap_endianness_p): New extern variable.
28824         (set_big_endian): New inline function.
28825         (maybe_swap_uint32): Likewise.
28826         (maybe_swap_uint32_array): Likewise.
28827         (maybe_swap_uint32_obstack): Likewise.
28828         * locale/programs/locfile.c: Include <stdbool.h>.
28829         (swap_endianness_p): New variable.
28830         (add_locale_uint32): Call maybe_swap_uint32.
28831         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
28832         (write_locale_data): Call maybe_swap_uint32_array.
28833         * locale/programs/ld-collate.c (obstack_int32_grow): Call
28834         maybe_swap_uint32.
28835         (obstack_int32_grow_fast): Likewise.
28836         (output_weightwc): Call maybe_swap_uint32_obstack.
28837         (collate_output): Likewise.
28838         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
28839         (OPT_LITTLE_ENDIAN): Likewise.
28840         (options): Add --little-endian and --big-endian options.
28841         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
28842         * locale/programs/locarchive.c: Include "locfile.h".
28843         (GET): New macro.
28844         (SET): Likewise.
28845         (INC): Likewise.
28846         (create_archive): Use the new macros to access fields of
28847         structures directly mapped from or written to locale archives.
28848         (oldlocrecentcmp): Likewise.
28849         (enlarge_archive): Likewise.
28850         (insert_name): Likewise.
28851         (add_alias): Likewise.
28852         (add_locale): Likewise.
28853         (delete_locales_from_archive): Likewise.
28854         (show_archive_content): Likewise.
28855         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
28856         locale data.
28858 2013-09-24  Roland McGrath  <roland@hack.frob.com>
28860         * manual/freemanuals.texi: Updated from (newly) canonical copy at
28861         http://www.gnu.org/doc/freemanuals.texi.
28862         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
28864 2013-09-24  Will Newton  <will.newton@linaro.org>
28866         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
28867         macro.
28869 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
28871         * locale/hashval.h (compute_hashval): Interpret bytes of key as
28872         unsigned char.
28874 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
28876         * manual/threads.texi (POSIX Threads): Fix a typo.
28878 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
28880         [BZ #14547]
28881         * string/tst-strcoll-overflow.c: New test case.
28882         * string/Makefile (xtests): Add tst-strcoll-overflow.
28883         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
28884         cache if string sizes may cause integer overflow.
28886         [BZ #14547]
28887         * string/strcoll_l.c (coll_seq): New members rule, idx,
28888         save_idx and back_us.
28889         (get_next_seq_nocache): New function.
28890         (do_compare_nocache): New function.
28891         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
28892         when malloc fails.
28894 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
28896         [BZ #15754]
28897         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
28898         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
28899         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
28901         [BZ #15754]
28902         * elf/Makefile (tests): Add tst-ptrguard1.
28903         (tests-static): Add tst-ptrguard1-static.
28904         (tst-ptrguard1-ARGS): Define.
28905         (tst-ptrguard1-static-ARGS): Define.
28906         * elf/tst-ptrguard1.c: New file.
28907         * elf/tst-ptrguard1-static.c: New file.
28908         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
28909         * sysdeps/i386/stackguard-macros.h: Likewise.
28910         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28911         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28912         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28913         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28914         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28915         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28917 2013-09-23  Hector Marco  <hecmargi@upv.es>
28918             Ismael Ripoll  <iripoll@disca.upv.es>
28919             Carlos O'Donell  <carlos@redhat.com>
28921         [BZ #15754]
28922         * sysdeps/generic/stackguard-macros.h: Define
28923         __pointer_chk_guard_local and POINTER_CHK_GUARD.
28924         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
28925         Define __pointer_chk_guard_local.
28926         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
28927         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
28929 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
28931         [BZ #15859]
28932         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
28934 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
28936         * include/string.h (__ffs): Declare as hidden.
28937         * string/ffs.c (__ffs): Define as hidden.
28938         * sysdeps/i386/ffs.c (__ffs): Likewise.
28939         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
28940         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
28941         * sysdeps/s390/ffs.c (__ffs): Likewise.
28942         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
28944 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
28946         * NEWS: Mention malloc probes.
28948         * malloc/arena.c (new_heap): New memory_heap_new probe.
28949         (grow_heap): New memory_heap_more probe.
28950         (shrink_heap): New memory_heap_less probe.
28951         (heap_trim): New memory_heap_free probe.
28952         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
28953         (systrim): New memory_sbrk_less probe.
28954         * manual/probes.texi: Document them.
28956         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
28957         * manual/probes.texi: Document it.
28959         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
28960         (__libc_realloc): Add memory_realloc_retry probe.
28961         (__libc_memalign): Add memory_memalign_retry probe.
28962         (__libc_valloc): Add memory_valloc_retry probe.
28963         (__libc_pvalloc): Add memory_pvalloc_retry probe.
28964         (__libc_calloc): Add memory_calloc_retry probe.
28965         * manual/probes.texi: Document them.
28967         * malloc/arena.c (get_free_list): Add probe
28968         memory_arena_reuse_free_list.
28969         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
28970         and memory_arena_reuse.
28971         (arena_get2) [!PER_THREAD]: Likewise.
28972         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
28973         memory_arena_reuse_realloc.
28974         * manual/probes.texi: Document them.
28976         * malloc/malloc.c (__libc_free): Add
28977         memory_mallopt_free_dyn_thresholds probe.
28978         (__libc_mallopt): Add multiple memory_mallopt probes.
28979         * manual/probes.texi: Document them.
28981         * malloc/malloc.c: Include stap-probe.h.
28982         (__libc_mallopt): Add memory_mallopt probe.
28983         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
28984         * manual/probes.texi: New.
28985         * manual/Makefile (chapters): Add probes.
28986         * manual/threads.texi: Set next node.
28988 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
28990         [BZ #15963, #13985]
28991         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
28992         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
28993         Add `Chinese' to `nan' entry name.
28995 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28997         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
28998         (POLYNOMIAL): Likewise.
28999         (TAYLOR_SINCOS): Likewise.
29000         (TAYLOR_SLOW): Likewise.
29001         (__sin): Use TAYLOR_SINCOS.
29002         (__cos): Likewise.
29003         (slow): Use TAYLOR_SLOW.
29004         (sloww): Likewise.
29005         (bsloww): Likewise.
29006         (csloww): Likewise.
29008 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29010         * stdlib/strtod_l.c: Fix buffer overrun.
29012 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29014         * benchtests/Makefile (bench): Add sincos.
29015         * benchtests/bench-sincos.c: New file.
29017         * math/libm-test.inc (cos_test_data): New test inputs.
29018         (sin_test_data): Likewise.
29020         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
29021         macro.
29022         (__sin): Use it.
29023         (__cos): Likewise.
29024         (slow1): Likewise.
29025         (slow2): Likewise.
29026         (sloww1): Likewise.
29027         (sloww2): Likewise.
29028         (bsloww1): Likewise.
29029         (bsloww2): Likewise.
29030         (cslow2): Likewise.
29031         (csloww1): Likewise.
29032         (csloww2): Likewise.
29034         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
29035         function.
29036         (__sin): Use it.
29037         (__cos): Likewise.
29039         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
29040         gotos.
29041         (__cos): Likewise.
29043 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
29045         * config.h.in (HAVE_MIPS_NAN2008): New macro.
29046         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
29047         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
29048         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
29049         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
29050         * elf/cache.c (print_entry): Handle the new cache flags.
29052 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
29053             Aldy Hernandez  <aldyh@redhat.com>
29055         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
29056         Change condition to [_SOFT_FLOAT].
29057         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
29058         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
29059         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
29060         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
29061         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
29062         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
29063         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
29064         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
29065         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
29066         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
29067         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
29068         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
29069         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
29070         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
29071         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
29072         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
29073         declaration.
29075 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
29077         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
29078         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
29079         (__longjmp): Use LOAD_GP to load saved GPRs.
29080         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
29081         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
29082         (__sigsetjmp): Use SAVE_GP to save GPRs.
29084         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
29085         Do not append -msoft-float.
29086         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
29088 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29090         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
29092 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
29094         [BZ #15966]
29095         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
29096         (_FPU_GETCW): Use initial "__" on variable and field names but not
29097         on macro parameter name.
29098         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
29099         parentheses around reference to macro parameter.
29101 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
29103         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
29104         prototype.
29105         (ctype_startup): Use uint32_t in cast and sizeof for
29106         ctype->charnames.
29108 2013-09-11  Jia Liu  <proljc@gmail.com>
29110         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
29111         __daddr_t_defined.
29112         [__FreeBSD__]: Likewise.
29114 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
29116         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
29117         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
29118         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
29119         (strchr): Remove __strchr_sse42 ifunc selection.
29120         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
29121         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
29123 2013-09-11  Will Newton  <will.newton@linaro.org>
29125         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
29126         parameter to RES. Remove hardcoded 1000 value.
29127         * benchtests/bench-skeleton.c (main): Pass RES parameter
29128         to TIMING_INIT and multiply result by 1000.
29130 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29132         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29134 2013-09-11  Andreas Schwab  <schwab@suse.de>
29136         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
29137         if not defined.
29138         (O_TMPFILE) [__USE_GNU]: Define.
29139         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
29140         Define.
29142 2013-09-11  Will Newton  <will.newton@linaro.org>
29144         [BZ #15857]
29145         * malloc/malloc.c (__libc_memalign): Check the value of bytes
29146         does not overflow.
29148 2013-09-11  Will Newton  <will.newton@linaro.org>
29150         [BZ #15856]
29151         * malloc/malloc.c (__libc_valloc): Check the value of bytes
29152         does not overflow.
29154 2013-09-11  Will Newton  <will.newton@linaro.org>
29156         [BZ #15855]
29157         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
29158         does not overflow.
29160 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
29162         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
29163         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29164         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29165         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29166         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29168 2013-09-10  Allan McRae  <allan@archlinux.org>
29170         [BZ #15748]
29171         * manual/arith.texi (Parsing of Floats): Clarify
29172         cross-reference.
29174         [BZ #15849]
29175         * manual/install.texi (Running make install): Mention
29176         --enable-pt-chown.
29177         * INSTALL: Regenerated.
29179 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
29181         * csu/init-first.c (_init): Remove the !SHARED condition around
29182         FPU control word initialization.
29183         * elf/dl-support.c (_dl_fpu_control): New variable.
29184         (_dl_aux_init) <AT_FPUCW>: Initialize it.
29185         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
29186         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
29187         * math/test-fpucw-static.c: New file.
29188         * math/test-fpucw-ieee.c: New file.
29189         * math/test-fpucw-ieee-static.c: New file.
29190         * math/Makefile (tests): Add `test-fpucw-ieee' and
29191         `$(tests-static)'.
29192         (tests-static): New variable.
29193         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
29194         dependency to...
29195         [($(build-shared),yes)]
29196         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
29197         ... this.
29198         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
29199         New dependency.
29201 2013-09-09  Allan McRae  <allan@archlinux.org>
29203         [BZ #15939]
29204         * manual/string.texi (Collation Functions): Fix typo in
29205         strcoll example.
29206         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
29208         [BZ #15893]
29209         * stdlib/isomac.c (get_null_defines): Fix memory leak.
29211         [BZ #15892]
29212         * libio/memstream.c (open_memstream): Fix memory leak.
29213         * libio/wmemstream.c (open_wmemstream): Likewise.
29215         [BZ #15895]
29216         * nscd/netgroupcache.c: Fix nesting of ifdefs.
29218 2013-09-09  Will Newton  <will.newton@linaro.org>
29220         * malloc/Makefile: Add tst-realloc to tests.
29221         * malloc/tst-realloc.c: New file.
29223 2013-09-09  Allan McRae  <allan@archlinux.org>
29225         [BZ #15844]
29226         * COPYING: Update from GNU website to fix FSF address.
29227         * COPYING.LIB: Likewise.
29229 2013-09-06  David S. Miller  <davem@davemloft.net>
29231         * po/zh_TW.po: Update Chinese (traditional) translation from
29232         translation project.
29234 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
29235             Joseph Myers  <joseph@codesourcery.com>
29237         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
29238         "localeinfo.h".
29239         (obstack_chunk_alloc): New macro.
29240         (obstack_chunk_free): Likewise.
29241         (record_offset): New function.
29242         (init_locale_data): Likewise.
29243         (align_locale_data): Likewise.
29244         (add_locale_empty): Likewise.
29245         (add_locale_raw_data): Likewise.
29246         (add_locale_raw_obstack): Likewise.
29247         (add_locale_string): Likewise.
29248         (add_locale_wstring): Likewise.
29249         (add_locale_uint32): Likewise.
29250         (add_locale_uint32_array): Likewise.
29251         (add_locale_char): Likewise.
29252         (start_locale_structure): Likewise.
29253         (end_locale_structure): Likewise.
29254         (start_locale_prelude): Likewise.
29255         (end_locale_prelude): Likewise.
29256         (write_locale_data): Take locale_file structure rather than an
29257         iovec.
29258         * locale/programs/locfile.h: Include "obstack.h".
29259         (struct locale_file): Change to store locale file contents instead
29260         of header.
29261         (init_locale_data): New prototype.
29262         (align_locale_data): Likewise.
29263         (add_locale_empty): Likewise.
29264         (add_locale_raw_data): Likewise.
29265         (add_locale_raw_obstack): Likewise.
29266         (add_locale_string): Likewise.
29267         (add_locale_wstring): Likewise.
29268         (add_locale_uint32): Likewise.
29269         (add_locale_uint32_array): Likewise.
29270         (add_locale_char): Likewise.
29271         (start_locale_structure): Likewise.
29272         (end_locale_structure): Likewise.
29273         (start_locale_prelude): Likewise.
29274         (end_locale_prelude): Likewise.
29275         (write_locale_data): Update prototype.
29276         * locale/programs/3level.h (struct TABLE): Remove result field.
29277         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
29278         Use new locale_file interface.
29279         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
29280         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
29281         * locale/programs/ld-address.c (address_output): Use new
29282         locale_file interface.
29283         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
29284         NO_ADD_LOCALE.
29285         (collate_finish): Don't call collseq_table_finalize.
29286         (collate_output): Use new locale_file interface.
29287         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
29288         in file.
29289         (NO_FINALIZE): Change to NO_ADD_LOCALE.
29290         (TABLE): Move defines earlier in file.
29291         (ELEMENT): Likewise.
29292         (DEFAULT): Likewise.
29293         (wctrans_table_add): Move macro and inline function earlier in
29294         file.
29295         (struct wctype_table): Move type earlier in file.
29296         (add_locale_wctype_table): New static prototype.
29297         (struct locale_ctype_t): Use logical types instead of struct iovec
29298         pointers for members.
29299         (ctype_output): Use new locale_file interface.
29300         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
29301         new locale_file interface.
29302         (allocate_arrays): Update for use of new locale_file interface.
29303         * locale/programs/ld-identification.c (identification_output): Use
29304         new locale_file interface.
29305         * locale/programs/ld-measurement.c (measurement_output): Likewise.
29306         * locale/programs/ld-messages.c (messages_output): Likewise.
29307         * locale/programs/ld-monetary.c (monetary_output): Likewise.
29308         * locale/programs/ld-name.c (name_output): Likewise.
29309         * locale/programs/ld-numeric.c (numeric_output): Likewise.
29310         * locale/programs/ld-paper.c (paper_output): Likewise.
29311         * locale/programs/ld-telephone.c (telephone_output): Likewise.
29312         * locale/programs/ld-time.c (time_output): Likewise.
29314 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29316         * benchtests/Makefile: Add memrchr benchmark.
29317         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
29318         benchmark as memrchr.
29319         * benchtests/bench-memrchr-ifunc.c: New file.
29320         * benchtests/bench-memrchr.c: New file.
29322 2013-09-06   Will Newton  <will.newton@linaro.org>
29324         * benchtests/Makefile (string-bench): Add memcpy.
29326 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
29327             Cong Wang  <amwang@redhat.com>
29329         [BZ #15850]
29330         * sysdeps/unix/sysv/linux/bits/in.h
29331         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
29332         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
29333         before __USE_KERNEL_IPV6_DEFS uses.
29334         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
29335         IPPROTO_BEETPH.
29336         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
29337         sockaddr_in6, or ipv6_mreq.
29339 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29341         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
29342         memory access for final bytes in some large inputs.
29343         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
29345 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29347         * string/test-memrchr.c: New file.
29348         * string/test-memrchr-ifunc.c: New file.
29349         * string/Makefile: Add new memrchr testcase.
29351 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
29353         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
29354         fanotify_init returns EPERM.
29356 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
29358         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
29359         errors.
29360         (top level): Treat second token from macro or constant entries for
29361         allowed headers as allowed.
29362         * include/complex.h: Condition internal declarations on
29363         [!_ISOMAC].
29364         * include/fenv.h: Condition include of <stdbool.h> and internal
29365         declarations on [!_ISOMAC].
29367 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
29369         [BZ #15923]
29370         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
29372 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
29374         * configure.in (--enable-versioning): Remove configure option.
29375         (libc_cv_asm_symver_directive): Remove configure test.
29376         (libc_cv_ld_version_script_option): Likewise.
29377         (VERSIONING): Remove variable and AC_SUBST.
29378         (DO_VERSIONING): Remove AC_DEFINE.
29379         * configure: Regenerated.
29380         * config.h.in (DO_VERSIONING): Remove macro.
29381         * Makerules [$(versioning) = yes]: Change conditionals to
29382         [$(build-shared) = yes].
29383         * config.make.in (versioning): Remove variable.
29384         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
29385         [$(build-shared) = yes].
29386         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
29387         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
29388         * elf/Makefile [$(versioning) = yes]: Change conditionals to
29389         [$(build-shared) = yes].
29390         * extra-lib.mk [$(versioning) = yes]: Likewise.
29391         * hurd/Makefile [$(versioning) = yes]: Likewise.
29392         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
29393         [SHARED].
29394         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
29395         [SHARED].
29396         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29397         [SHARED && !NO_HIDDEN].
29398         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
29399         [SHARED].
29400         [SHARED && DO_VERSIONING]: Likewise..
29401         * libio/Makefile [$(versioning) = yes]: Change conditionals to
29402         [$(build-shared) = yes].
29403         * manual/install.texi (--disable-versioning): Remove
29404         documentation.
29405         * INSTALL: Regenerated.
29406         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
29407         to [SHARED].
29408         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
29409         [$(build-shared) = yes].
29410         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
29411         * sysdeps/i386/i686/multiarch/strstr-c.c
29412         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29413         [SHARED && !NO_HIDDEN].
29414         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
29415         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
29416         * sysdeps/powerpc/powerpc32/dl-machine.c
29417         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
29418         * sysdeps/powerpc/powerpc32/sysdep.h
29419         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
29420         to [SHARED && PIC && !NO_HIDDEN].
29421         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
29422         conditional to [SHARED].
29424 2013-09-04   Will Newton  <will.newton@linaro.org>
29426         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
29427         * benchtests/bench-string.h: Include bench-timing.h instead
29428         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
29429         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
29430         call to HP_TIMING_DIFF_INIT.
29431         * benchtests/bench-memccpy.c: Use bench-timing.h macros
29432         instead of hp-timing.h macros.
29433         * benchtests/bench-memchr.c: Likewise.
29434         * benchtests/bench-memcmp.c: Likewise.
29435         * benchtests/bench-memcpy.c: Likewise.
29436         * benchtests/bench-memmem.c: Likewise.
29437         * benchtests/bench-memmove.c: Likewise.
29438         * benchtests/bench-memset.c: Likewise.
29439         * benchtests/bench-rawmemchr.c: Likewise.
29440         * benchtests/bench-strcasecmp.c: Likewise.
29441         * benchtests/bench-strcasestr.c: Likewise.
29442         * benchtests/bench-strcat.c: Likewise.
29443         * benchtests/bench-strchr.c: Likewise.
29444         * benchtests/bench-strcmp.c: Likewise.
29445         * benchtests/bench-strcpy.c: Likewise.
29446         * benchtests/bench-strcpy_chk.c: Likewise.
29447         * benchtests/bench-strlen.c: Likewise.
29448         * benchtests/bench-strncasecmp.c: Likewise.
29449         * benchtests/bench-strncat.c: Likewise.
29450         * benchtests/bench-strncmp.c: Likewise.
29451         * benchtests/bench-strncpy.c: Likewise.
29452         * benchtests/bench-strnlen.c: Likewise.
29453         * benchtests/bench-strpbrk.c: Likewise.
29454         * benchtests/bench-strrchr.c: Likewise.
29455         * benchtests/bench-strspn.c: Likewise.
29456         * benchtests/bench-strstr.c: Likewise.
29458 2013-09-04  Will Newton  <will.newton@linaro.org>
29460         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
29462 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
29464         [BZ #15427]
29465         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
29466         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
29467         * math/libm-test.inc (lgamma_test_data): Add more tests.
29468         * sysdeps/i386/fpu/libm-test-ulps: Update.
29469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29471 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
29473         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
29474         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29475         Add ifunc.
29476         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29477         Add strcmp-sse2-unaligned
29478         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
29480 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
29482         * Versions.def (libc): Add GLIBC_2.19.
29484 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
29486         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
29487         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
29489 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
29491         [BZ #14155]
29492         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
29493         intermediate calculations in recurrence.
29494         (__ieee754_ynf): Likewise.
29495         * math/libm-test.inc (jn_test_data): Do not allow spurious
29496         underflow exception.  Add more tests.
29497         (yn_test_data): Add more tests.
29498         * sysdeps/i386/fpu/libm-test-ulps: Update.
29499         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29501 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
29503         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
29505 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
29507         * csu/init-first.c: Fix then/than typos.
29508         * locale/programs/ld-collate.c: Likewise.
29509         * locale/programs/linereader.h: Likewise.
29510         * manual/charset.texi: Likewise.
29511         * manual/filesys.texi: Likewise.
29512         * manual/stdio.texi: Likewise.
29513         * manual/string.texi: Likewise.
29514         * stdlib/fmtmsg.c: Likewise.
29515         * sysdeps/i386/stpncpy.S: Likewise.
29516         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29517         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
29518         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29519         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29521 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
29523         * elf/dl-open.c: Fix typos.
29524         * iconvdata/gbbig5.c: Likewise.
29525         * iconvdata/iso-2022-jp.c: Likewise.
29526         * iconv/gconv_int.h: Likewise.
29527         * iconv/loop.c: Likewise.
29528         * nis/rpcsvc/nis.h: Likewise.
29529         * resolv/ns_name.c: Likewise.
29530         * stdio-common/vfscanf.c: Likewise.
29531         * streams/stropts.h: Likewise.
29532         * sunrpc/rpc_thread.c: Likewise.
29533         * sysdeps/i386/strpbrk.S: Likewise.
29534         * sysdeps/ieee754/k_standard.c: Likewise.
29535         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29536         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29537         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
29538         * sysdeps/mach/hurd/profil.c: Likewise.
29539         * sysdeps/s390/dl-procinfo.h: Likewise.
29540         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
29541         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
29542         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
29543         * sysdeps/x86_64/dl-trampoline.S: Likewise.
29544         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29546 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
29548         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
29549         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
29551 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
29553         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
29554         aix specific files.
29555         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
29556         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
29557         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
29558         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
29559         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
29560         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
29561         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
29562         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
29564 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
29565             Roland McGrath  <roland@hack.frob.com>
29567         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
29568         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
29570 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29572         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
29573         __executable_start symbol instead of _start.
29575 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
29577         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
29578         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
29579         Move macros to...
29580         * sysdeps/gnu/ldsodefs.h: ... this new file.
29582         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
29583         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
29584         instead of ELFOSABI_LINUX.
29586         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
29587         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
29588         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
29589         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
29590         Likewise.
29591         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
29592         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
29593         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
29594         Likewise.
29595         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
29596         (ibm_extended_long_double): Add ieee_nan member.
29597         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
29598         (do_test): New function.
29600         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
29601         TEST_TRUNC.
29602         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
29603         functions, renamed from truncdfsf_test, trunctfsf_test,
29604         trunctfdf_test.
29605         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
29606         functions.
29607         (do_test): Run all these.
29609 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
29611         * argp/argp-help.c: Fix typos.
29612         * argp/argp-parse.c: Likewise.
29613         * debug/backtracesyms.c: Likewise.
29614         * elf/elf.h: Likewise.
29615         * malloc/malloc.c: Likewise.
29616         * nis/nis_print.c: Likewise.
29617         * resolv/res_comp.c: Likewise.
29618         * stdlib/stdlib.h: Likewise.
29619         * sunrpc/clnt_tcp.c: Likewise.
29620         * sunrpc/clnt_udp.c: Likewise.
29621         * sunrpc/clnt_unix.c: Likewise.
29622         * sysdeps/unix/bsd/ptsname.c: Likewise.
29623         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
29624         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
29625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
29626         Likewise.
29627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
29628         Likewise.
29629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
29630         Likewise.
29631         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
29633 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29635         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
29636         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29638 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
29640         [BZ #15897]
29641         * dlfcn/Makefile (tests): Add bug-dl-leaf.
29642         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
29643         ($(objpfx)bug-dl-leaf): New rule.
29644         ($(objpfx)bug-dl-leaf.so): Likewise.
29645         ($(objpfx)bug-dl-leaf.out): Likewise.
29646         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
29647         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
29648         * dlfcn/bug-dl-leaf.c: New test.
29649         * dlfcn/bug-dl-leaf-lib.c: Likewise.
29650         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
29651         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
29652         (dlclose): Likewise.
29653         (dlmopen): Likewise.
29655 2013-08-27  Roland McGrath  <roland@hack.frob.com>
29657         * include/netdb.h [!_ISOMAC]:
29658         Don't include <tls.h>.
29659         (h_errno, __libc_h_errno): Move declaration and macros out of
29660         [_LIBC_REENTRANT].
29662         * include/resolv.h [_RESOLV_H_]:
29663         Don't include <tls.h>.
29664         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
29665         * resolv/res_libc.c: Don't include <tls.h>.
29666         (_res): Use __attribute__ ((nocommon)) in place of
29667         __attribute__ ((section (".bss"))).
29669         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
29670         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
29672         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
29674         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
29675         only under [SIOCGIFCONF && SIOCGIFNETMASK].
29677         * resolv/res_mkquery.c: Include <sys/time.h>.
29679         * inet/ifreq.c: Moved to ...
29680         * sysdeps/unix/ifreq.c: ... here.
29681         * inet/ifreq.c: New file, true stub version.
29683         * socket/sa_len.c: New file.
29684         * socket/Makefile (aux): Add it.
29685         * sysdeps/unix/sysv/linux/Makefile
29686         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
29687         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
29688         and #include <socket/sa_len.c>.
29689         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
29690         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
29692         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
29693         * bits/socket.h: ... here.
29695         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
29696         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
29697         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
29699 2013-08-27  Andreas Schwab  <schwab@suse.de>
29701         [BZ #15736]
29702         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
29703         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
29704         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
29705         * string/test-strcasecmp.c (test_main): Run tests in several
29706         locales.
29707         * string/test-strncasecmp.c (test_main): Likewise.
29709         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
29710         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
29711         to __strcasecmp_nonascii and __strncasecmp_nonascii.
29712         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
29713         (__strncasecmp_ssse3) [PIC]: Likewise.
29715 2013-08-26  Roland McGrath  <roland@hack.frob.com>
29717         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
29719         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
29720         instead of explicitly declaring xdecrypt.
29721         * nis/nss_nis/nis-publickey.c: Likewise.
29723 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29725         [BZ #15890]
29726         * nscd/aicache.c: Include res_hconf.h.
29727         (addhstaiX): Initialize res_hconf.
29729 2013-08-26  Andreas Schwab  <schwab@suse.de>
29731         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
29732         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
29734 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29736         * nscd/aicache.c (addhstaiX): Fix indentation.
29738 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
29740         * configure.ac: Quote $build_pt_chown test.
29741         * configure: Regenerated.
29743 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
29745         [BZ #15532]
29746         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
29747         * math/s_cexpf.c (__cexpf): Likewise.
29748         * math/s_cexpl.c (__cexpl): Likewise.
29749         * math/libm-test.inc (cexp_test_data): Correct expected return
29750         value for NaN + i0.  Add another test.
29752 2013-08-22  David S. Miller  <davem@davemloft.net>
29754         * po/ca.po: Update Catalan translation from translation project.
29755         * po/uk.po: Add Ukrainian translations from translation project.
29757 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
29759         [BZ #15797]
29760         * math/s_fdim.c (__fdim): Check for infinite arguments if result
29761         is infinite, not alongside NaN test.
29762         * math/s_fdimf.c (__fdimf): Likewise.
29763         * math/s_fdiml.c (__fdiml): Likewise.
29764         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
29765         errno is unchanged.
29767 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
29769         * argp/argp-help.c: Fix typos.
29770         * crypt/speeds.c: Likewise.
29771         * csu/check_fds.c: Likewise.
29772         * elf/dl-load.c: Likewise.
29773         * elf/dl-open.c: Likewise.
29774         * elf/reldep3.c: Likewise.
29775         * elf/reldep.c: Likewise.
29776         * elf/sprof.c: Likewise.
29777         * iconv/iconv_charmap.c: Likewise.
29778         * iconv/skeleton.c: Likewise.
29779         * iconv/strtab.c: Likewise.
29780         * io/lockf64.c: Likewise.
29781         * libio/libioP.h: Likewise.
29782         * resolv/gai_notify.c: Likewise.
29783         * resolv/ns_name.c: Likewise.
29784         * resolv/ns_samedomain.c: Likewise.
29785         * resolv/res_send.c: Likewise.
29786         * stdlib/random.c: Likewise.
29787         * sunrpc/rpc/xdr.h: Likewise.
29788         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
29789         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29790         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29791         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29792         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29793         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29794         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29795         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29796         * sysdeps/mach/hurd/check_fds.c: Likewise.
29797         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
29798         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29799         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29800         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
29801         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29802         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
29803         * sysdeps/pthread/aio_notify.c: Likewise.
29804         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
29805         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
29806         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
29807         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29808         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
29810 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29812         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
29813         version if bit_Slow_SSE4_2 is set.
29814         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29815         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29817 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29819         [BZ #15867]
29820         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
29821         trampoline stack frame information.
29822         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
29823         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
29824         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
29825         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
29826         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
29827         * sysdeps/unix/sysv/linux/powerpc/init-first.c
29828         (_libc_vdso_platform_setup): Initialize the signal trampolines.
29829         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
29830         sa_flags value.
29831         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
29832         interrupting a syscall and set with option SA_SIGINFO.
29834 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
29836         [BZ #15531]
29837         * math/s_cproj.c (__cproj): Only return an infinity if one part of
29838         argument is infinite.
29839         * math/s_cprojf.c (__cprojf): Likewise.
29840         * math/s_cprojl.c (__cprojl): Likewise.
29841         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
29842         * math/libm-test.inc (cproj_test_data): Add more tests.
29844         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
29846         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
29847         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
29848         size.  Use __ffs to determine corresponding shift.
29850 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
29851             Roland McGrath  <roland@hack.frob.com>
29853         * Makefile (INSTALL): Remove trailing blank lines from output of
29854         makeinfo.
29856 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29858         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
29859         Align 32 bit compat elf_greg to 8 bytes.
29861 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
29863         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
29865 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29867         * string/strcoll_l.c (coll_seq): New structure.
29868         (get_next_seq_cached): New function.
29869         (get_next_seq): New function.
29870         (do_compare): New function.
29871         (STRCOLL): Use GNU style definition.  Simplify implementation
29872         by using get_next_seq, get_next_seq_cached and do_compare.
29874 2013-08-16  Florian Weimer  <fweimer@redhat.com>
29876         [BZ #14699]
29877         CVE-2013-4237
29878         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
29879         member.
29880         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
29881         member.
29882         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
29883         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
29884         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
29885         conditional.
29886         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
29887         GETDENTS_64BIT_ALIGNED.
29888         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29889         * manual/filesys.texi (Reading/Closing Directory): Document
29890         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
29891         strongly.
29892         * manual/conf.texi (Limits for Files): Add portability note to
29893         NAME_MAX, PATH_MAX.
29894         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
29896 2013-08-13  Andreas Schwab  <schwab@suse.de>
29898         [BZ #15749]
29899         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
29900         of fabs.
29901         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
29902         LDBL_MAX_EXP >= 16384]: Add tests for it.
29904 2013-08-12  David S. Miller  <davem@davemloft.net>
29906         * version.h (RELEASE): Set to "development".
29907         (VERSION): Set to "2.18.90".
29908         * NEWS: Add 2.19 section.
29910 2013-08-03  David S. Miller  <davem@davemloft.net>
29912         * po/ko.po: Update Korean translation from translation project.
29914 2013-08-01  David S. Miller  <davem@davemloft.net>
29916         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
29917         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
29918         Bilka.
29920 2013-07-30  David S. Miller  <davem@davemloft.net>
29922         * po/fr.po: Update French translation from translation project.
29924 2013-07-28  David S. Miller  <davem@davemloft.net>
29926         * po/cs.po: Update Czech translation from translation project.
29928         * po/sv.po: Update Swedish translation from translation project.
29930 2013-07-27  David S. Miller  <davem@davemloft.net>
29932         * po/eo.po: Update Esperanto translation from translation project.
29934         * po/vi.po: Update Vietnamese translation from translation project.
29936         * po/de.po: Update German translation from translation project.
29938 2013-07-26  David S. Miller  <davem@davemloft.net>
29940         * po/bg.po: Update Bulgarian translation from translation project.
29942         * po/nl.po: Update Dutch translation from translation project.
29943         * po/pl.po: Update Polish translation from translation project.
29944         * po/ru.po: Update Russian translation from translation project.
29946 2013-07-24  David S. Miller  <davem@davemloft.net>
29948         * po/libc.pot: Update.
29950 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29952         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
29953         variable page size.
29954         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
29955         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
29956         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
29958 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29960         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
29962 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29963             Andreas Schwab  <schwab@suse.de>
29964             Roland McGrath  <roland@hack.frob.com>
29965             Joseph Myers  <joseph@codesourcery.com>
29966             Carlos O'Donell  <carlos@redhat.com>
29968         [BZ #15755]
29969         * config.h.in: Define HAVE_PT_CHOWN.
29970         * config.make.in (build-pt-chown): New variable.
29971         * configure.in (--enable-pt_chown): New configure option.
29972         * configure: Regenerate.
29973         * login/Makefile: Include Makeconfig.  Build pt_chown only if
29974         build-pt-chown is enabled.
29975         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
29976         pt_chown to fix pty ownership.
29977         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
29978         CLOSE_ALL_FDS.
29979         * manual/install.texi (Configuring and compiling): Mention
29980         --enable-pt_chown. Add @findex for grantpt.
29981         * INSTALL: Regenerate.
29983 2013-07-20  David S. Miller  <davem@davemloft.net>
29985         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
29986         difference between 32-bit and 64-bit.
29988 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
29990         [BZ #15711]
29991         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
29992         Avoid system header dependency with -ffreestanding.
29993         ($(objpfx)bits/syscall%d): Likewise.
29995 2013-07-13  David S. Miller  <davem@davemloft.net>
29997         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
29998         underflows from atanl/atan2l due to bug 15319.
29999         (casinh_test_data): Likewise.
30001 2013-07-07  David S. Miller  <davem@davemloft.net>
30003         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
30005 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
30007         * sysdeps/i386/fpu/libm-test-ulps: Update.
30008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30010 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30012         * configure.in (--enable-lock-elision): Fix message text.
30013         * INSTALL: Regenerate.
30014         * configure: Regenerate.
30016 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30018         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30020 2013-07-03  Andreas Jaeger  <aj@suse.de>
30022         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
30023         define.
30024         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
30025         (ptrace_peeksiginfo_args): Add.
30026         (__ptrace_peeksiginfo_flags): Add.
30027         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30028         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30029         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30031 2013-07-03  Allan McRae  <allan@archlinux.org>
30033         * sysdeps/i386/fpu/libm-test-ulps: Update.
30035 2013-07-02  David S. Miller  <davem@davemloft.net>
30037         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30039 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
30041         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30043 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
30045         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30048 2013-07-02  Andi Kleen <ak@linux.intel.com>
30050         * config.h.in (ENABLE_LOCK_ELISION): Add.
30051         * configure.in (--enable-lock-elision): Add option.
30052         * manual/install.texi: Document --enable lock elision.
30053         * configure: Regenerate
30054         * INSTALL: Regenerate.
30056 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
30058         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
30059         SSE4.2 strcasecmp for libc.a.
30060         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
30062 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
30064         [BZ #13304]
30065         * soft-fp/op-common.h (_FP_FMA): New macro.
30066         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
30067         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
30068         (_FP_MUL_MEAT_1_imm): ... here.
30069         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
30070         (_FP_MUL_MEAT_1_wide): ... here.
30071         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
30072         (_FP_MUL_MEAT_1_hard): ... here.
30073         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
30074         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
30075         (_FP_MUL_MEAT_2_wide): ... here.
30076         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
30077         (_FP_MUL_MEAT_2_wide_3mul): ... here.
30078         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
30079         (_FP_MUL_MEAT_2_gmp): ... here.
30080         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
30081         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
30082         (_FP_MUL_MEAT_4_wide): ... here.
30083         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
30084         (_FP_MUL_MEAT_4_gmp): ... here.
30085         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
30086         (_FP_WFRACBITS_DW_S): Likewise.
30087         (_FP_WFRACXBITS_DW_S): Likewise.
30088         (_FP_HIGHBIT_DW_S): Likewise.
30089         (FP_FMA_S): Likewise.
30090         (_FP_FRAC_HIGH_DW_S): Likewise.
30091         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
30092         (_FP_WFRACBITS_DW_D): Likewise.
30093         (_FP_WFRACXBITS_DW_D): Likewise.
30094         (_FP_HIGHBIT_DW_D): Likewise.
30095         (FP_FMA_D): Likewise.
30096         (_FP_FRAC_HIGH_DW_D): Likewise.
30097         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
30098         (_FP_WFRACBITS_DW_E): Likewise.
30099         (_FP_WFRACXBITS_DW_E): Likewise.
30100         (_FP_HIGHBIT_DW_E): Likewise.
30101         (FP_FMA_E): Likewise.
30102         (_FP_FRAC_HIGH_DW_E): Likewise.
30103         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
30104         (_FP_WFRACBITS_DW_Q): Likewise.
30105         (_FP_WFRACXBITS_DW_Q): Likewise.
30106         (_FP_HIGHBIT_DW_Q): Likewise.
30107         (FP_FMA_Q): Likewise.
30108         (_FP_FRAC_HIGH_DW_Q): Likewise.
30109         * soft-fp/fmasf4.c: New file.
30110         * soft-fp/fmadf4.c: Likewise.
30111         * soft-fp/fmatf4.c: Likewise.
30113 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30115         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
30116         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
30117         Silvermont.
30118         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
30119         macro.
30120         (index_Slow_SSE4_2): Likewise.
30121         (index_Prefer_PMINUB_for_stringop): Likewise.
30122         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
30123         bit_Slow_SSE4_2 is set.
30124         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30125         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30127 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30129         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
30130         rtld_global._dl_hwcap2.
30131         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
30132         POWER8.
30133         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
30134         POWER8 feature descriptions defined in _dl_hwcap2.
30135         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
30136         string handling for POWER8 feature bits.
30137         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
30138         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
30139         _dl_powerpc_cap_flags.
30140         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
30141         * sysdeps/powerpc/rtld-global-offsets.sym
30142         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
30143         _dl_hwcap2 in the rtld_global_ro structure.
30145 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30147         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
30148         hardware capabilities in support of AT_HWCAP2.
30149         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
30150         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
30151         GLRO(dl_hwcap2).
30152         (_dl_show_auxv): Add support for calling _dl_procinfo to display
30153         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
30154         explicitly the unknown a_type display mechanism is used.
30155         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
30156         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
30157         struct member.
30158         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
30159         to macro prototype for AT_HWCAP2 support.
30160         * sysdeps/i386/dl-procinfo.h: Likewise.
30161         * sysdeps/s390/dl-procinfo.h: Likewise.
30162         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
30163         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
30164         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
30165         return -1 for unknown a_type display fallback.
30166         * sysdeps/sparc/dl-procinfo.h: Likewise.
30167         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
30168         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
30170 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
30172         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
30173         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
30175 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
30177         [BZ #12492]
30178         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
30179         mprotect making __stack_prot writable.
30181 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
30182             Joseph Myers  <joseph@codesourcery.com>
30184         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
30185         as being properly aligned.
30187 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
30189         * dlfcn/modstatic5.c: New file.
30190         * dlfcn/tststatic5.c: New file.
30191         * dlfcn/Makefile (tests): Add tststatic5.
30192         (tests-static): Likewise.
30193         (modules-names): Add modstatic5.
30194         (tststatic5-ENV): New variable.
30195         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
30197         [BZ #15022]
30198         * elf/dl-support.c (_dl_main_map): New variable.
30199         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
30200         (_dl_nns, _dl_load_adds): Set to 1.
30201         (_dl_initial_searchlist): Refer to _dl_main_map.
30202         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
30203         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
30204         call to _dl_get_origin.
30205         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
30206         around call_map.
30207         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
30208         * dlfcn/modstatic3.c: New file.
30209         * dlfcn/tststatic3.c: New file.
30210         * dlfcn/tststatic4.c: New file.
30211         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
30212         (tests-static): Likewise.
30213         (modules-names): Add modstatic3.
30214         (tststatic3-ENV, tststatic4-ENV): New variables.
30215         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
30216         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
30218 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
30220         * configure.in (CC): Require GCC version 4.4 or later.
30221         * configure: Regenerated.
30222         * manual/install.texi (Tools for Compilation): Update GCC version
30223         requirement.
30224         * INSTALL: Regenerated.
30226 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30228         [BZ #15674]
30229         * string/test-memcmp.c (check2): New.
30230         (main): Call check2.
30232         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
30234 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
30236         [BZ #15022]
30237         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
30238         over to...
30239         (dl_open_worker) [!SHARED]: ... here.
30241 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30243         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
30245 2013-06-25  Richard Henderson  <rth@redhat.com>
30247         * locale/programs/locarchive.c: Include <libc-internal.h>
30249 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
30251         * manual/texinfo.tex: Update to version 2013-06-21.17, with
30252         trailing whitespace removed.
30254 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
30256         [BZ #10283]
30257         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
30258         * locale/programs/locarchive.c: Include libc-mmap.h.
30259         (prepare_address_space): Take two new outputs (the mmap base and len).
30260         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
30261         values.
30262         (create_archive): Declare new mmap base and len values for
30263         prepare_address_space, and store the result in ah.
30264         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
30265         (enlarge_archive): If ah->mmap_base is not NULL, use that and
30266         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30267         Declare new mmap base and len values for
30268         prepare_address_space, and store the result in new_ah.
30269         (open_archive): Declare new mmap base and len values for
30270         prepare_address_space, and store the result in ah.
30271         (close_archive): If ah->mmap_base is not NULL, use that and
30272         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30273         * sysdeps/generic/libc-mmap.h: New file.
30275 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
30277         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
30278         (ALIGN_UP): Likewise.
30279         (PTR_ALIGN_DOWN): Likewise.
30280         (PTR_ALIGN_UP): Likewise.
30282 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30284         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
30285         entry mapped to PPC_PLATFORM_POWER8.
30286         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
30287         POWER8.
30288         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
30289         (_dl_string_platform): Add case for exporting platform position for
30290         POWER8.
30291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
30292         search path to sysdeps/powerpc/powerpc32/power8 directory.
30293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
30294         search path to sysdeps/powerpc/powerpc64/power8 directory.
30295         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
30296         power7 directories.
30297         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
30298         power7 directories.
30300 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30302         * INSTALL: Regenerate.
30304         * nscd/connections.c (nscd_init): Fix comment.
30306 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
30308         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
30310         [BZ #15667]
30311         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
30312         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
30314 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
30316         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
30317         DL_DST_REQ_STATIC.
30318         (DL_DST_REQ_STATIC): Remove macro.
30320 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
30322         [BZ #7006]
30323         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
30324         with a shift of 0 bits.
30326 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
30328         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
30329         $(tststatic-ENV).
30331 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30333         [BZ #15655]
30334         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
30336 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30338         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
30339         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
30340         accepts -fno-tree-loop-distribute-patterns.
30341         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
30342         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
30343         recursive call.
30344         * string/memset.c (memset): Likewise.
30345         * string/test-memmove.c (simple_memmove): Disable loop transformation
30346         to library calls.
30347         * string/test-memset.c (simple_memset): Likewise.
30348         * benchtests/bench-memmove.c (simple_memmove): Likewise.
30349         * benchtests/bench-memset.c (simple_memset): Likewise.
30350         * configure: Regenerated.
30352 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
30354         * math/test-misc.c (main): Ignore fesetround failure when failures
30355         of subsequent rounding tests would be ignored.
30357         [BZ #15654]
30358         * math/fedisblxcpt.c (fedisableexcept): Return 0.
30359         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
30360         * math/fegetenv.c (__fegetenv): Return 0.
30361         * math/fegetexcept.c (fegetexcept): Return 0.
30362         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
30363         FE_TONEAREST.
30364         * math/feholdexcpt.c (feholdexcept): Return 0.
30365         * math/fesetenv.c (__fesetenv): Return 0.
30366         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
30367         argument FE_TONEAREST.
30368         * math/feupdateenv.c (__feupdateenv): Return 0.
30369         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
30371 2013-06-18  Roland McGrath  <roland@hack.frob.com>
30373         * elf/rtld-Rules (rtld-compile-command.S): New variable.
30374         (rtld-compile-command.s, rtld-compile-command.c): New variables.
30375         ($(objpfx)rtld-%.os rules): Use them.
30377 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30379         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
30380         fields.
30382 2013-06-17  Roland McGrath  <roland@hack.frob.com>
30384         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
30385         length of target pattern, then descending length of dependency pattern.
30386         * configure.in (AWK): Require gawk 3.1.2 or newer.
30387         * manual/install.texi (Tools for Compilation): Say that we do.
30388         * configure: Regenerated.
30390         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
30391         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
30392         * scripts/sysd-rules.awk: ... this new script.
30393         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
30394         than a glob-style pattern.
30396 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
30398         * math/test-misc.c (main): Do not treat incorrectly rounded
30399         conversions as failure unless ROUNDING_TESTS passes.
30401 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
30403         [BZ #15631]
30404         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
30405         restore exception state around main square root computation, then
30406         check for inexactness explicitly.
30408         * math/libm-test.inc (fma_test_data): Add another test.
30410 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30412         * manual/threads.texi (Non-POSIX Extensions): New document
30413         node.  Document pthread_getattr_default_np and
30414         pthread_setattr_default_np.
30416         * Versions.def (libpthread): Add GLIBC_2.18.
30417         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
30418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30419         Likewise.
30420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30421         Likewise.
30422         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30423         Likewise.
30424         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30425         Likewise.
30426         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
30427         Likewise.
30428         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30429         Likewise.
30430         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30431         Likewise.
30432         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30433         Likewise.
30434         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30435         Likewise.
30437 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30439         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30440         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
30442 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30443             H.J. Lu  <hjl.tools@gmail.com>
30445         [BZ #15627]
30446         * sysdeps/x86_64/rtld-memset.c: Remove file.
30447         * sysdeps/x86_64/rtld-memset.S: New file.
30449 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
30451         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
30452         (test_in_one_mode): Take arguments for whether the rounding mode
30453         is supported for each floating-point type.
30454         (do_test): Pass new arguments to test_in_one_mode using
30455         ROUNDING_TESTS.
30457 2013-06-13  Roland McGrath  <roland@hack.frob.com>
30459         * posix/tst-waitid.c (do_test): Distinguish different instances of
30460         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
30461         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
30462         before entering the kernel for waitpid.
30464 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30466         * NEWS: Fix note on clock function precision.  Text by Roland
30467         McGrath.
30469 2013-06-13  Roland McGrath  <roland@hack.frob.com>
30471         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
30472         it into place only when and if the sanity check passes.
30474 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
30476         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
30477         output for whether conversion result is exact.  Take argument
30478         indicating whether type is IBM long double.
30479         (round_for_all): Change need_exact field to ibm_ld.
30480         * stdlib/tst-strtod-round.c (struct exactness): New type.
30481         (struct test): Change bool ld_ok field to struct exactness exact.
30482         (TEST): Update all definitions for change to field.
30483         (tests): Regenerate array contents.
30484         (test_in_one_mode): Take pointer to new field instead of old ld_ok
30485         field value.  Check for IBM long double here.
30486         (do_test): Update calls to test_in_one_mode.
30488 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30490         [BZ #12515]
30491         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
30492         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
30494 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30496         [BZ #15605]
30497         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
30498         generated by the compiler on loop optimizations.
30499         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
30500         general definitions.
30502 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
30504         * math/bug-nextafter.c: Include <math-tests.h>.
30505         (main): Only test for exceptions if EXCEPTION_TESTS is true for
30506         the relevant type.
30507         * math/bug-nexttoward.c: Include <math-tests.h>.
30508         (main): Only test for exceptions if EXCEPTION_TESTS is true for
30509         the relevant type.
30510         * math/test-misc.c: Include <math-tests.h>.
30511         (main): Only test for exceptions if EXCEPTION_TESTS is true for
30512         the relevant type.
30514 2013-06-12  Andreas Jaeger  <aj@suse.de>
30516         * po/ia.po: Update Interlingua translation from translation
30517         project.
30519 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30521         * include/fenv.h: Include stdbool.h.
30522         (struct rm_ctx): New structure.
30523         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
30524         Define macro.
30525         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
30526         (SET_RESTORE_ROUNDF): Likewise.
30527         (SET_RESTORE_ROUNDL): Likewise.
30528         (SET_RESTORE_ROUND_NOEX): Likewise.
30529         (SET_RESTORE_ROUND_NOEXF): Likewise.
30530         (SET_RESTORE_ROUND_NOEXL): Likewise.
30531         (SET_RESTORE_ROUND_53BIT): Likewise.
30532         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
30533         (libc_feresetround_noexf_ctx): Likewise.
30534         (libc_feresetround_noexl_ctx): Likewise.
30535         (libc_feholdsetround_53bit_ctx): Likewise.
30536         (libc_feresetround_53bit_ctx): Likewise.
30537         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
30538         (libc_feholdexcept_setround_sse_ctx): New function.
30539         (libc_fesetenv_sse_ctx): Likewise.
30540         (libc_feupdateenv_sse_ctx): Likewise.
30541         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
30542         (libc_feholdexcept_setround_387_ctx): Likewise.
30543         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
30544         (libc_feholdsetround_387_prec_ctx): Likewise.
30545         (libc_feholdsetround_387_ctx): Likewise.
30546         (libc_feholdsetround_387_53bit_ctx): Likewise.
30547         (libc_feholdsetround_sse_ctx): Likewise.
30548         (libc_feresetround_sse_ctx): Likewise.
30549         (libc_feresetround_387_ctx): Likewise.
30550         (libc_feupdateenv_387_ctx): Likewise.
30551         (libc_feholdexcept_setroundf_ctx): Define macro.
30552         (libc_fesetenvf_ctx): Likewise.
30553         (libc_feupdateenvf_ctx): Likewise.
30554         (libc_feholdsetroundf_ctx): Likewise.
30555         (libc_feresetroundf_ctx): Likewise.
30556         (libc_feholdexcept_setround_ctx): Likewise.
30557         (libc_fesetenv_ctx): Likewise.
30558         (libc_feupdateenv_ctx): Likewise.
30559         (libc_feholdsetround_ctx): Likewise.
30560         (libc_feresetround_ctx): Likewise.
30561         (libc_feholdexcept_setroundl_ctx): Likewise.
30562         (libc_feupdateenvl_ctx): Likewise.
30563         (libc_feholdsetroundl_ctx): Likewise.
30564         (libc_feresetroundl_ctx): Likewise.
30565         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
30566         (libc_feresetround_53bit_ctx): Likewise.
30568 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30570         * locale/iso-639.def: Convert to UTF-8.
30572 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
30574         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
30575         (EXCEPTION_TESTS_double): Likewise.
30576         (EXCEPTION_TESTS_long_double): Likewise.
30577         (EXCEPTION_TESTS): Likewise.
30578         * math/libm-test.inc (test_exceptions): Only test exceptions if
30579         EXCEPTION_TESTS (FLOAT).
30581 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30583         * benchtests/Makefile (string-bench): Add strcpy_chk and
30584         stpcpy_chk.
30585         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
30586         * benchtests/bench-stpcpy_chk.c: New file.
30587         * benchtests/bench-strcpy_chk-ifunc.c: New file.
30588         * benchtests/bench-strcpy_chk.c: New file.
30589         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
30590         code.
30591         (do_test): Likewise.
30593 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30595         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
30596         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
30597         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
30598         with tabs where appropriate.
30599         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
30600         dl-procinfo.h.
30601         [PPC_PLATFORM_PPC440]: Likewise.
30602         [PPC_PLATFORM_PPC464]: Likewise.
30603         [PPC_PLATFORM_PPC476]: Likewise.
30604         (_dl_string_platform): Add support for detecting ppc405, ppc440,
30605         ppc464, and ppc476 platform strings merging from ports/
30606         dl-procinfo.h.
30608 2013-06-11  Andreas Schwab  <schwab@suse.de>
30610         [BZ #14991]
30611         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
30612         (from_ucs4_idx): Regenerate.
30613         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
30614         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
30615         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
30616         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
30617         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
30618         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
30619         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
30620         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
30621         from FROM_LOOP and TO_LOOP specific macros.
30622         (BODY): Handle combining characters.
30623         * iconvdata/BIG5HKSCS.irreversible: Update.
30624         * iconvdata/BIG5HKSCS.precomposed: New file.
30625         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
30626         characters.
30627         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
30629 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30631         * include/sys/time.h: Fix indentation and add copyright header.
30633         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
30634         (do_test): Likewise.
30635         * string/test-memchr.c (do_one_test): Likewise.
30636         (do_test): Likewise.
30637         * string/test-memcmp.c (do_one_test): Likewise.
30638         (do_test): Likewise.
30639         * string/test-memcpy.c (do_one_test): Likewise.
30640         (do_test): Likewise.
30641         * string/test-memmem.c (do_one_test): Likewise.
30642         (do_test): Likewise.
30643         (do_random_tests): Likewise.
30644         * string/test-memmove.c (do_one_test): Likewise.
30645         (do_test): Likewise.
30646         * string/test-memset.c (do_one_test): Likewise.
30647         (do_test): Likewise.
30648         * string/test-rawmemchr.c (do_one_test): Likewise.
30649         (do_test): Likewise.
30650         * string/test-strcasecmp.c (do_one_test): Likewise.
30651         (do_test): Likewise.
30652         * string/test-strcasestr.c (do_one_test): Likewise.
30653         (do_test): Likewise.
30654         * string/test-strcat.c (do_one_test): Likewise.
30655         (do_test): Likewise.
30656         * string/test-strchr.c (do_one_test): Likewise.
30657         (do_test): Likewise.
30658         * string/test-strcmp.c (do_one_test): Likewise.
30659         (do_test): Likewise.
30660         * string/test-strcpy.c (do_one_test): Likewise.
30661         (do_test): Likewise.
30662         * string/test-string.h: Likewise.
30663         (test_init): Likewise.
30664         * string/test-strlen.c (do_one_test): Likewise.
30665         (do_test): Likewise.
30666         * string/test-strncasecmp.c (do_one_test): Likewise.
30667         (do_test): Likewise.
30668         * string/test-strncat.c (do_one_test): Likewise.
30669         (do_test): Likewise.
30670         * string/test-strncmp.c (do_one_test): Likewise.
30671         (do_test_limit): Likewise.
30672         (do_test): Likewise.
30673         * string/test-strncpy.c (do_one_test): Likewise.
30674         (do_test): Likewise.
30675         * string/test-strnlen.c (do_one_test): Likewise.
30676         (do_test): Likewise.
30677         * string/test-strpbrk.c (do_one_test): Likewise.
30678         (do_test): Likewise.
30679         * string/test-strrchr.c (do_one_test): Likewise.
30680         (do_test): Likewise.
30681         * string/test-strspn.c (do_one_test): Likewise.
30682         (do_test): Likewise.
30683         * string/test-strstr.c (do_one_test): Likewise.
30684         (do_test): Likewise.
30686         * benchtests/Makefile (string-bench): Add string benchmarks.
30687         * benchtests/bench-bcopy-ifunc.c: New file.
30688         * benchtests/bench-bcopy.c: New file.
30689         * benchtests/bench-bzero-ifunc.c: New file.
30690         * benchtests/bench-bzero.c: New file.
30691         * benchtests/bench-memccpy-ifunc.c: New file.
30692         * benchtests/bench-memccpy.c: New file.
30693         * benchtests/bench-memchr-ifunc.c: New file.
30694         * benchtests/bench-memchr.c: New file.
30695         * benchtests/bench-memcmp-ifunc.c: New file.
30696         * benchtests/bench-memcmp.c: New file.
30697         * benchtests/bench-memmem-ifunc.c: New file.
30698         * benchtests/bench-memmem.c: New file.
30699         * benchtests/bench-memmove-ifunc.c: New file.
30700         * benchtests/bench-memmove.c: New file.
30701         * benchtests/bench-mempcpy-ifunc.c: New file.
30702         * benchtests/bench-mempcpy.c: New file.
30703         * benchtests/bench-memset-ifunc.c: New file.
30704         * benchtests/bench-memset.c: New file.
30705         * benchtests/bench-rawmemchr-ifunc.c: New file.
30706         * benchtests/bench-rawmemchr.c: New file.
30707         * benchtests/bench-stpcpy-ifunc.c: New file.
30708         * benchtests/bench-stpcpy.c: New file.
30709         * benchtests/bench-stpncpy-ifunc.c: New file.
30710         * benchtests/bench-stpncpy.c: New file.
30711         * benchtests/bench-strcasecmp-ifunc.c: New file.
30712         * benchtests/bench-strcasecmp.c: New file.
30713         * benchtests/bench-strcasestr-ifunc.c: New file.
30714         * benchtests/bench-strcasestr.c: New file.
30715         * benchtests/bench-strcat-ifunc.c: New file.
30716         * benchtests/bench-strcat.c: New file.
30717         * benchtests/bench-strchr-ifunc.c: New file.
30718         * benchtests/bench-strchr.c: New file.
30719         * benchtests/bench-strchrnul-ifunc.c: New file.
30720         * benchtests/bench-strchrnul.c: New file.
30721         * benchtests/bench-strcmp-ifunc.c: New file.
30722         * benchtests/bench-strcmp.c: New file.
30723         * benchtests/bench-strcpy-ifunc.c: New file.
30724         * benchtests/bench-strcpy.c: New file.
30725         * benchtests/bench-strcspn-ifunc.c: New file.
30726         * benchtests/bench-strcspn.c: New file.
30727         * benchtests/bench-strlen-ifunc.c: New file.
30728         * benchtests/bench-strlen.c: New file.
30729         * benchtests/bench-strncasecmp-ifunc.c: New file.
30730         * benchtests/bench-strncasecmp.c: New file.
30731         * benchtests/bench-strncat-ifunc.c: New file.
30732         * benchtests/bench-strncat.c: New file.
30733         * benchtests/bench-strncmp-ifunc.c: New file.
30734         * benchtests/bench-strncmp.c: New file.
30735         * benchtests/bench-strncpy-ifunc.c: New file.
30736         * benchtests/bench-strncpy.c: New file.
30737         * benchtests/bench-strnlen-ifunc.c: New file.
30738         * benchtests/bench-strnlen.c: New file.
30739         * benchtests/bench-strpbrk-ifunc.c: New file.
30740         * benchtests/bench-strpbrk.c: New file.
30741         * benchtests/bench-strrchr-ifunc.c: New file.
30742         * benchtests/bench-strrchr.c: New file.
30743         * benchtests/bench-strspn-ifunc.c: New file.
30744         * benchtests/bench-strspn.c: New file.
30745         * benchtests/bench-strstr-ifunc.c: New file.
30746         * benchtests/bench-strstr.c: New file.
30748         * benchtests/Makefile: Disable parallel execution of targets.
30749         (string-bench): Add memcpy.
30750         (benchset): New variable to store a list of benchmark sets.
30751         (bench-func): Renamed from bench.
30752         (bench-set): New target.
30753         (bench): Depend on bench-func and bench-set.
30754         * benchtests/README: Add section on benchmark sets.
30755         * benchtests/bench-memcpy-ifunc.c: New file.
30756         * benchtests/bench-memcpy.c: New file.
30757         * benchtests/bench-string.h: New file.
30759 2013-06-11  Andreas Schwab  <schwab@suse.de>
30761         [BZ #15577]
30762         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
30763         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
30764         values in the triple.
30765         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
30766         terminator in the group key.
30768 2013-06-11  Andreas Jaeger  <aj@suse.de>
30770         * po/zh_TW.po: Update Chinese (traditional) translation from
30771         translation project.
30773 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30775         * include/time.h (__clock_gettime): Add libc_hidden_proto.
30776         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
30777         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
30778         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30779         (clock_getcpuclockid): Likewise.
30780         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
30781         Add weak_alias and libc_hidden_def.
30782         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
30783         * rt/clock_gettime.c (clock_gettime): Rename to
30784         __clock_gettime.  Add weak_alias and libc_hidden_def.
30785         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
30786         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
30787         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
30788         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
30789         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
30790         Likewise.
30791         * rt/clock_settime.c (clock_settime): Rename to
30792         __clock_settime.  Add weak_alias and libc_hidden_def.
30793         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
30795 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
30797         * mach/err_boot.sub: Remove trailing whitespace.
30798         * mach/err_ipc.sub: Likewise.
30799         * mach/err_mach.sub: Likewise.
30801         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
30802         (ROUNDING_TESTS_double): Likewise.
30803         (ROUNDING_TESTS_long_double): Likewise.
30804         (ROUNDING_TESTS): Likewise.
30805         * math/libm-test.inc: Include <math-tests.h>.
30806         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
30807         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
30808         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
30809         (IF_ROUND_INIT_FE_UPWARD): Likewise.
30811 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30813         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
30814         of assigning.
30816 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
30818         * sysdeps/gnu/errlist.awk: Do not generate space at end of
30819         otherwise empty TRANS lines.
30820         * sysdeps/gnu/errlist.c: Regenerated.
30822         * catgets/gencat.c (error_print): Use (void) in function
30823         definition.
30824         * crypt/crypt_util.c (__init_des): Likewise.
30825         * crypt/speeds.c (Stop): Likewise.
30826         (main): Likewise.
30827         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
30828         * inet/ruserpass.c (token): Likewise.
30829         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
30830         * intl/localealias.c (extend_alias_table): Likewise.
30831         * intl/plural-exp.c (init_germanic_plural): Likewise.
30832         * libio/fcloseall.c (__fcloseall): Likewise.
30833         * libio/genops.c (_IO_flush_all): Likewise.
30834         (_IO_flush_all_linebuffered): Likewise.
30835         (_IO_cleanup): Likewise.
30836         (_IO_iter_begin): Likewise.
30837         (_IO_iter_end): Likewise.
30838         (_IO_list_lock): Likewise.
30839         (_IO_list_unlock): Likewise.
30840         (_IO_list_resetlock): Likewise.
30841         * libio/getchar.c (getchar): Likewise.
30842         * libio/getchar_u.c (getchar_unlocked): Likewise.
30843         * libio/getwchar.c (getwchar): Likewise.
30844         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
30845         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
30846         * login/getpt.c (__getpt): Likewise.
30847         * login/tst-utmp.c (main): Likewise.
30848         * malloc/hooks.c (__malloc_check_init): Likewise.
30849         * malloc/malloc.c (__malloc_stats): Likewise.
30850         * malloc/mtrace.c (tr_break): Likewise.
30851         (mtrace): Likewise.
30852         (muntrace): Likewise.
30853         * misc/fstab.c (endfsent): Likewise.
30854         * misc/getclktck.c (__getclktck): Likewise.
30855         * misc/getdtsz.c (__getdtablesize): Likewise.
30856         * misc/gethostid.c (gethostid): Likewise.
30857         * misc/getpagesize.c (__getpagesize): Likewise.
30858         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
30859         (__get_nprocs): Likewise.
30860         (__get_phys_pages): Likewise.
30861         (__get_avphys_pages): Likewise.
30862         * misc/getttyent.c (getttyent): Likewise.
30863         (setttyent): Likewise.
30864         (endttyent): Likewise.
30865         * misc/getusershell.c (getusershell): Likewise.
30866         (endusershell): Likewise.
30867         (setusershell): Likewise.
30868         (initshells): Likewise.
30869         * misc/hsearch.c (__hdestroy): Likewise.
30870         * misc/sync.c (sync): Likewise.
30871         * misc/syslog.c (closelog_internal): Likewise.
30872         (closelog): Likewise.
30873         * misc/ttyslot.c (ttyslot): Likewise.
30874         * misc/vhangup.c (vhangup): Likewise.
30875         * posix/fork.c (__fork): Likewise.
30876         * posix/getegid.c (__getegid): Likewise.
30877         * posix/geteuid.c (__geteuid): Likewise.
30878         * posix/getgid.c (__getgid): Likewise.
30879         * posix/getpid.c (__getpid): Likewise.
30880         * posix/getppid.c (__getppid): Likewise.
30881         * posix/getuid.c (__getuid): Likewise.
30882         * posix/pause.c (pause): Likewise.
30883         * posix/setpgrp.c (setpgrp): Likewise.
30884         * posix/setsid.c (__setsid): Likewise.
30885         * posix/test-vfork.c (noop): Likewise.
30886         * resolv/gethnamaddr.c (_endhtent): Likewise.
30887         (_gethtent): Likewise.
30888         (ht_endhostent): Likewise.
30889         (gethostent): Likewise.
30890         (dns_service): Likewise.
30891         * stdlib/drand48.c (drand48): Likewise.
30892         * stdlib/lrand48.c (lrand48): Likewise.
30893         * stdlib/mrand48.c (mrand48): Likewise.
30894         * stdlib/rand.c (rand): Likewise.
30895         * stdlib/random.c (__random): Likewise.
30896         * stdlib/setenv.c (clearenv): Likewise.
30897         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
30898         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
30899         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
30900         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
30901         (__get_nprocs): Likewise.
30902         (__get_phys_pages): Likewise.
30903         (__get_avphys_pages): Likewise.
30904         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
30905         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
30906         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
30907         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
30908         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
30909         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
30910         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
30911         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
30912         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
30913         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
30914         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
30915         * sysdeps/mach/hurd/sync.c (sync): Likewise.
30916         * sysdeps/posix/clock.c (clock): Likewise.
30917         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
30918         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
30919         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
30920         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
30921         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
30922         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30923         (__get_nprocs_conf): Likewise.
30924         (__get_phys_pages): Likewise.
30925         (__get_avphys_pages): Likewise.
30926         * time/clock.c (clock): Likewise.
30927         * time/tzset.c (__tzname_max): Likewise.
30929 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
30931         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
30932         (__bswap_32): Do not use "register".
30933         * crypt/crypt.c (_ufc_doit_r): Likewise.
30934         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
30935         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
30936         * gmon/gmon.c (__monstartup): Likewise.
30937         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
30938         * hurd/hurdmalloc.c (more_memory): Likewise.
30939         (malloc): Likewise.
30940         (free): Likewise.
30941         (realloc): Likewise.
30942         (malloc_fork_prepare): Likewise.
30943         (malloc_fork_parent): Likewise.
30944         (malloc_fork_child): Likewise.
30945         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
30946         (_svcauth_des): Likewise.
30947         * inet/inet_lnaof.c (inet_lnaof): Likewise.
30948         * inet/inet_net.c (inet_network): Likewise.
30949         * inet/inet_netof.c (inet_netof): Likewise.
30950         * inet/rcmd.c (__validuser2_sa): Likewise.
30951         * io/fts.c (fts_open): Likewise.
30952         (fts_load): Likewise.
30953         (fts_close): Likewise.
30954         (fts_read): Likewise.
30955         (fts_children): Likewise.
30956         (fts_build): Likewise.
30957         (fts_stat): Likewise.
30958         (fts_sort): Likewise.
30959         (fts_alloc): Likewise.
30960         (fts_lfree): Likewise.
30961         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
30962         (_IO_file_xsgetn): Likewise.
30963         (_IO_file_xsgetn_mmap): Likewise.
30964         * libio/iofopncook.c (_IO_cookie_read): Likewise.
30965         (_IO_cookie_write): Likewise.
30966         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
30967         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
30968         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
30969         * malloc/obstack.c (_obstack_begin): Likewise.
30970         (_obstack_begin_1): Likewise.
30971         (_obstack_newchunk): Likewise.
30972         (_obstack_allocated_p): Likewise.
30973         (obstack_free): Likewise.
30974         (_obstack_memory_used): Likewise.
30975         * misc/getttyent.c (getttynam): Likewise.
30976         (getttyent): Likewise.
30977         (skip): Likewise.
30978         (value): Likewise.
30979         * misc/getusershell.c (initshells): Likewise.
30980         * misc/syslog.c (__vsyslog_chk): Likewise.
30981         * misc/ttyslot.c (ttyslot): Likewise.
30982         * nis/nis_hash.c (__nis_hash): Likewise.
30983         * posix/fnmatch_loop.c (FCT): Likewise.
30984         * posix/getconf.c (print_all): Likewise.
30985         (main): Likewise.
30986         * posix/getopt.c (exchange): Likewise.
30987         * posix/glob.c (globfree): Likewise.
30988         (prefix_array): Likewise.
30989         (__glob_pattern_type): Likewise.
30990         * resolv/arpa/nameser.h (NS_GET16): Likewise.
30991         (NS_GET32): Likewise.
30992         (NS_PUT16): Likewise.
30993         (NS_PUT32): Likewise.
30994         * resolv/gethnamaddr.c (getanswer): Likewise.
30995         (gethostbyname2): Likewise.
30996         (gethostbyaddr): Likewise.
30997         (_gethtent): Likewise.
30998         (_gethtbyname2): Likewise.
30999         (_gethtbyaddr): Likewise.
31000         * resolv/ns_print.c (dst_s_get_int16): Likewise.
31001         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
31002         * resolv/res_init.c (__res_vinit): Likewise.
31003         (net_mask): Likewise.
31004         * resolv/res_mkquery.c (outchar): Likewise.
31005         (PRINT): Likewise.
31006         * stdio-common/printf_fp.c (outchar): Likewise.
31007         (PRINT): Likewise.
31008         * stdio-common/printf_fphex.c (outchar): Likewise.
31009         (PRINT): Likewise.
31010         * stdio-common/printf_size.c (outchar): Likewise.
31011         (PRINT): Likewise.
31012         * stdio-common/test_rdwr.c (main): Likewise.
31013         * stdio-common/tfformat.c (matches): Likewise.
31014         * stdio-common/vfprintf.c (outchar): Likewise.
31015         (printf_unknown): Likewise.
31016         (buffered_vfprintf): Likewise.
31017         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
31018         * stdio-common/xbug.c (AppendToBuffer): Likewise.
31019         (ReadFile): Likewise.
31020         * stdlib/qsort.c (SWAP): Likewise.
31021         (_quicksort): Likewise.
31022         * stdlib/setenv.c (__add_to_environ): Likewise.
31023         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
31024         * stdlib/strtol_l.c (__strtol_l): Likewise.
31025         * stdlib/tst-strtod.c (main): Likewise.
31026         * stdlib/tst-strtol.c (main): Likewise.
31027         * stdlib/tst-strtoll.c (main): Likewise.
31028         * string/bits/string2.h (__strcmp_cc): Likewise.
31029         (__strcmp_cg): Likewise.
31030         (__strcspn_c1): Likewise.
31031         (__strcspn_c2): Likewise.
31032         (__strcspn_c3): Likewise.
31033         (__strspn_c1): Likewise.
31034         (__strspn_c2): Likewise.
31035         (__strspn_c3): Likewise.
31036         (__strsep_1c): Likewise.
31037         (__strsep_2c): Likewise.
31038         (__strsep_3c): Likewise.
31039         * string/memccpy.c (__memccpy): Likewise.
31040         * string/stpcpy.c (__stpcpy): Likewise.
31041         * string/strcmp.c (strcmp): Likewise.
31042         * string/strrchr.c (strrchr): Likewise.
31043         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
31044         Likewise.
31045         * sysdeps/mach/hurd/getcwd.c
31046         (_hurd_canonicalize_directory_name_internal): Likewise.
31047         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
31048         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
31049         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
31050         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
31051         Likewise, in both definitions.
31052         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
31053         definitions.
31054         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
31055         64] (__bswap_64): Likewise.
31056         * time/test_time.c (main): Likewise.
31057         * time/tzfile.c (__tzfile_read): Likewise.
31058         (__tzfile_compute): Likewise.
31059         * time/tzset.c (__tzset_parse_tz): Likewise.
31060         (tzset_internal): Likewise.
31061         (compute_change): Likewise.
31062         * wcsmbs/wcscat.c (__wcscat): Likewise.
31063         * wcsmbs/wcschr.c (wcschr): Likewise.
31064         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
31065         * wcsmbs/wcscspn.c (wcscspn): Likewise.
31066         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
31067         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
31068         * wcsmbs/wcsspn.c (wcsspn): Likewise.
31069         * wcsmbs/wcsstr.c (wcsstr): Likewise.
31070         * wcsmbs/wmemchr.c (wmemchr): Likewise.
31071         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31072         * wcsmbs/wmemset.c (wmemset): Likewise.
31074 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
31076         * scripts/config.guess: Update to version 2013-05-16.
31077         * scripts/config.sub: Update to version 2013-04-24.
31078         * scripts/install-sh: Update to version 2011-11-20.07.
31079         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
31080         * scripts/move-if-change: Update to version 2012-01-06 07:23.
31082 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
31084         * debug/fgetws_u_chk.c: Fix leading whitespaces.
31085         * elf/sln.c: Likewise.
31086         * hurd/hurd/ioctl.h: Likewise.
31087         * hurd/hurdmalloc.c: Likewise.
31088         * hurd/xattr.c: Likewise.
31089         * include/shlib-compat.h: Likewise.
31090         * inet/ruserpass.c: Likewise.
31091         * libio/iofgets_u.c: Likewise.
31092         * libio/iofgetws_u.c: Likewise.
31093         * locale/programs/ld-identification.c: Likewise.
31094         * locale/programs/ld-time.c: Likewise.
31095         * mach/msg-destroy.c: Likewise.
31096         * nss/nss_files/files-netgrp.c: Likewise.
31097         * resolv/res_data.c: Likewise.
31098         * soft-fp/op-1.h: Likewise.
31099         * soft-fp/op-2.h: Likewise.
31100         * soft-fp/op-4.h: Likewise.
31101         * soft-fp/op-common.h: Likewise.
31102         * stdio-common/printf_fphex.c: Likewise.
31103         * stdlib/strtod_l.c: Likewise.
31104         * sunrpc/rpc/clnt.h: Likewise.
31105         * sysdeps/generic/framestate.c: Likewise.
31106         * sysdeps/i386/bsd-_setjmp.S: Likewise.
31107         * sysdeps/i386/bsd-setjmp.S: Likewise.
31108         * sysdeps/i386/__longjmp.S: Likewise.
31109         * sysdeps/i386/setjmp.S: Likewise.
31110         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31111         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31112         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31113         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31114         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31115         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
31116         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31117         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31118         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31119         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31120         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
31121         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
31122         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
31123         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
31124         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
31125         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31126         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
31127         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
31128         * sysdeps/ieee754/support.c: Likewise.
31129         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31130         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
31131         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
31132         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
31133         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
31134         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
31135         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
31136         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
31137         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
31138         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
31139         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
31140         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
31141         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
31142         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
31143         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
31144         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
31145         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
31148 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
31150         * posix/transbug.c: Remove executable mode.
31152 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
31154         * crypt/speeds.c: Remove trailing whitespace.
31155         * dlfcn/default.c: Likewise.
31156         * elf/ifuncdep2.c: Likewise.
31157         * elf/ifuncmain1.c: Likewise.
31158         * elf/ifuncmain1vis.c: Likewise.
31159         * elf/testobj.h: Likewise.
31160         * elf/tst-stackguard1.c: Likewise.
31161         * gmon/sys/gmon.h: Likewise.
31162         * hurd/hurdmsg.c: Likewise.
31163         * hurd/new-fd.c: Likewise.
31164         * hurd/ports-get.c: Likewise.
31165         * iconvdata/ibm1008_420.c: Likewise.
31166         * inet/tst-getni1.c: Likewise.
31167         * inet/tst-getni2.c: Likewise.
31168         * libio/ioungetc.c: Likewise.
31169         * libio/wfiledoalloc.c: Likewise.
31170         * manual/libm-err-tab.pl: Likewise.
31171         * math/w_dremf.c: Likewise.
31172         * misc/ftruncate.c: Likewise.
31173         * posix/bug-glob2.c: Likewise.
31174         * posix/tst-pcre.c: Likewise.
31175         * posix/wait4.c: Likewise.
31176         * resolv/README: Likewise.
31177         * resolv/res_debug.h: Likewise.
31178         * resolv/tst-inet_ntop.c: Likewise.
31179         * setjmp/bug269-setjmp.c: Likewise.
31180         * soft-fp/extended.h: Likewise.
31181         * soft-fp/op-1.h: Likewise.
31182         * soft-fp/op-2.h: Likewise.
31183         * soft-fp/op-4.h: Likewise.
31184         * soft-fp/op-8.h: Likewise.
31185         * soft-fp/testit.c: Likewise.
31186         * stdio-common/bug16.c: Likewise.
31187         * stdlib/random.c: Likewise.
31188         * sunrpc/rpcsvc/rquota.x: Likewise.
31189         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
31190         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31191         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31192         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31193         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31194         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31195         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31196         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31197         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31198         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31199         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31200         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
31201         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31202         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
31203         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31204         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
31205         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
31206         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31207         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
31208         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31209         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31210         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31211         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
31212         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
31213         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
31214         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
31215         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31216         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31217         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31218         * sysdeps/ieee754/s_lib_version.c: Likewise.
31219         * sysdeps/mach/hurd/check_fds.c: Likewise.
31220         * sysdeps/mach/hurd/getsockname.c: Likewise.
31221         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
31222         * sysdeps/mach/hurd/recvfrom.c: Likewise.
31223         * sysdeps/powerpc/bits/link.h: Likewise.
31224         * sysdeps/powerpc/dl-procinfo.c: Likewise.
31225         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
31226         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
31227         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
31228         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31229         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
31230         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
31231         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31232         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
31233         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31234         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
31235         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
31236         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
31237         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31238         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31239         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31240         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
31241         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
31242         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31243         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31244         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31245         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
31246         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31247         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
31248         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
31249         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
31250         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
31251         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31252         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31253         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
31254         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
31255         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
31256         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31257         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31258         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
31259         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31260         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
31261         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
31262         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
31263         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
31264         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
31265         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
31266         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
31267         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
31268         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
31269         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
31270         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
31271         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
31272         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
31273         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
31274         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31275         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31276         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31277         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31278         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
31279         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
31280         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
31281         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31282         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
31283         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
31284         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
31285         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
31286         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
31287         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31288         * sysdeps/powerpc/sysdep.h: Likewise.
31289         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31290         * sysdeps/s390/s390-64/sub_n.S: Likewise.
31291         * sysdeps/sh/dl-trampoline.S: Likewise.
31292         * sysdeps/sh/memset.S: Likewise.
31293         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
31294         * sysdeps/sh/strlen.S: Likewise.
31295         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
31296         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
31297         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
31298         * sysdeps/sparc/sparc32/rem.S: Likewise.
31299         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
31300         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
31301         * sysdeps/sparc/sparc32/strchr.S: Likewise.
31302         * sysdeps/sparc/sparc32/udiv.S: Likewise.
31303         * sysdeps/sparc/sparc32/urem.S: Likewise.
31304         * sysdeps/sparc/sparc64/add_n.S: Likewise.
31305         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31306         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
31307         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
31308         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
31309         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
31310         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
31311         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
31312         * sysdeps/unix/bsd/times.c: Likewise.
31313         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
31314         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
31315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
31316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
31317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
31318         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
31319         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
31320         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
31321         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
31322         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
31323         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
31324         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31325         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
31326         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
31327         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31328         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
31329         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31330         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
31331         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
31332         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
31333         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
31334         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
31335         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
31336         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
31337         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
31338         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
31339         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
31340         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31341         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
31342         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
31343         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
31344         * sysdeps/x86_64/strcspn.S: Likewise.
31346 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31348         * locale/C-translit.h: Revert #include <stdint.h> because this is a
31349         generated file.  Regenerate properly from gen-translit.pl.
31350         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
31351         locale/C-translit.h.
31353 2013-06-05  Andreas Schwab  <schwab@suse.de>
31355         [BZ #15100]
31356         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
31357         week as 6 instead of -1.
31358         * time/tst-strptime.c (day_tests): Add test case.
31360 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31362         * sysdeps/generic/math_private.h
31363         (libc_feholdexcept_setround_53bit): Replace with
31364         libc_feholdsetround_53bit.
31365         (libc_feupdateenv_53bit): Replace with
31366         libc_feresetround_53bit.
31367         (SET_RESTORE_ROUND_53BIT): Adjust.
31369 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
31371         * string/test-strchrnul.c: Add copyright header.
31373         * posix/tst-getaddrinfo4.c: Increase test timeout.
31375 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
31377         [BZ #15536]
31378         * math/libm-test.inc (MAX_EXP): Remove
31379         (MIN_EXP): Define.
31380         (ulp): Use MIN_EXP - MANT_DIG.
31381         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
31383 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
31385         * po/be.po: Revert last change.
31386         * po/zh_CN.po: Likewise.
31387         * po/header.pot: Likewise.
31389 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
31391         * Makefile ($(common-objpfx)linkobj/libc.so): Define
31392         link-libc-deps to empty as target-specific variable.
31393         * Makerules (link-libc-args): New variable.
31394         (libc-for-link): Likewise.
31395         (link-libc-deps): Likewise.
31396         (lib%.so): Depend on $(link-libc-deps).  Link with
31397         $(link-libc-args).
31398         (build-module): Link with $(link-libc-args).
31399         (build-module-asneeded): Likewise.
31400         (build-module-helper-objlist): Filter out $(link-libc-deps) from
31401         list of objects.
31402         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
31403         target-specific variable.
31404         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
31405         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
31406         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
31407         libc.
31408         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
31409         libc and ld.so.
31410         ($(objpfx)libpcprofile.so): Likewise.
31411         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
31412         libc_nonshared.a.
31413         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
31414         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
31415         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
31416         $(link-libc-deps).
31417         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
31418         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
31419         * login/Makefile ($(objpfx)libutil.so): Likewise.
31420         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
31421         * math/Makefile ($(objpfx)libm.so): Likewise.
31422         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
31423         $(objpfx)libnsl.so): Define libc-for-link as target-specific
31424         variable instead of depending directly on libc.
31425         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
31426         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
31427         $(link-libc-deps).
31428         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
31429         libc.
31430         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
31431         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
31432         ($(objpfx)libanl.so): Likewise.
31433         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
31434         ld.so.
31435         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
31436         $(link-libc-deps).
31437         * sysdeps/i386/fpu/Makefile: Remove file.
31438         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
31439         ($(objpfx)libm.so): Remove dependency on ld.so.
31441 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
31443         [BZ # 15553]
31444         * nis/yp_xdr.c (XDRMAXNAME): Define.
31445         (XDRMAXRECORD): Define.
31446         (xdr_domainname): Use XDRMAXNAME.
31447         (xdr_mapname): Likewise.
31448         (xdr_peername): Likewise.
31449         (xdr_keydat): Use XDRMAXRECORD.
31450         (xdr_valdat): Likewise.
31452 2013-05-30  Jeff Law  <law@redhat.com>
31454         [BZ #14256]
31455         * manual/errno.texi (ESTALE): Update to account for more than
31456         just NFS file systems.
31457         * sysdeps/gnu/errlist.c: Regenerated.
31459 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31461         [BZ #15465]
31462         * elf/Makefile (tests): Add tst-null-argv.
31463         (modules-names):  Add tst-null-argv-lib.
31464         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
31465         (tst-null-argv-ENV): Set environment for tst-null-argv.
31466         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
31467         (RTLD_PROGNAME): New macro.
31468         * elf/tst-null-argv.c: New test case.
31469         * elf/tst-null-argv-lib.c: Library for test case.
31470         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
31471         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
31472         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
31473         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
31474         * elf/dl-init.c (call_init): Likewise.
31475         (_dl_init): Likewise.
31476         * elf/dl-load.c (print_search_path): Likewise.
31477         (_dl_map_object): Likewise.
31478         * elf/dl-lookup.c (do_lookup_x): Likewise.
31479         (add_dependency): Likewise.
31480         (_dl_lookup_symbol_x): Likewise.
31481         (_dl_debug_bindings): Likewise.
31482         * elf/dl-open.c (_dl_show_scope): Likewise.
31483         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
31484         * elf/dl-version.c (match_symbol): Likewise.
31485         (_dl_check_map_versions): Likewise.
31486         * elf/rtld.c (dl_main): Likewise.
31487         (print_unresolved): Use RTLD_PROGNAME.
31488         (print_missing_version): Likewise.
31489         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
31490         (elf_machine_rela): Likewise.
31491         * sysdeps/powerpc/powerpc32/dl-machine.c
31492         (__process_machine_rela): Likewise.
31493         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31494         Likewise.
31495         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31496         Likewise.
31497         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
31498         Likewise.
31499         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31500         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
31501         Likewise.
31502         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
31503         Likewise.
31504         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31506 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
31508         * po/be.po: Add descriptive title.
31509         * po/zh_CN.po: Likewise.
31510         * po/header.pot: Likewise.
31512 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
31514         * locale/programs/locarchive.c (create_archive): Inlucde fname in
31515         error message.
31516         (enlarge_archive): Likewise.
31518 2013-05-28  Ben North  <ben@redfrontdoor.org>
31520         * manual/arith.texi (frexp): It is the magnitude of the return
31521         value which lies in [0.5, 1), not the return value itself.
31523 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31525         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31527 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
31529         * stdio-common/bug26.c (main): Correct fscanf template.
31531         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
31532         declare _dl_skip_args.
31534         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
31535         Don't declare.
31537         * manual/platform.texi: Add missing @end deftypefun.
31539 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
31541         [BZ #15529]
31542         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
31543         bit of mantissa of 2^16382.
31544         * math/libm-test.inc (hypot_test_data): Add more tests.
31546         * math/libm-test.inc: Add drem and pow10 to list of tested
31547         functions.
31548         (pow10_test): New function.
31549         (drem_test): Likewise.
31550         (drem_test_tonearest): Likewise.
31551         (drem_test_towardzero): Likewise.
31552         (drem_test_downward): Likewise.
31553         (drem_test_upward): Likewise.
31554         (main): Call the new functions.
31556         * math/libm-test.inc (finite_test_data): Remove.
31557         (finite_test): Run tests from isfinite_test_data.
31558         (gamma_test_data): Remove.
31559         (gamma_test): Run tests from lgamma_test_data.
31560         * sysdeps/i386/fpu/libm-test-ulps: Update.
31561         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31563 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31565         * manual/platform.texi: Add PowerPC PPR function set documentation.
31566         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
31567         implementation.
31569 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
31571         * math/libm-test.inc (MAX_EXP): Define.
31572         (ULPDIFF): Define.
31573         (ulp): New function.
31574         (check_float_internal): Use ULPDIFF.
31575         (cpow_test): Disable failing test.
31576         (check_ulp): Test ulp() implemetnation.
31577         (main): Call check_ulp before starting tests.
31579 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
31581         * math/gen-libm-test.pl (generate_testfile): Do not handle
31582         START_DATA and END_DATA.
31583         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
31584         END_DATA.
31585         (acos_tonearest_test_data): Likewise.
31586         (acos_towardzero_test_data): Likewise.
31587         (acos_downward_test_data): Likewise.
31588         (acos_upward_test_data): Likewise.
31589         (acosh_test_data): Likewise.
31590         (asin_test_data): Likewise.
31591         (asin_tonearest_test_data): Likewise.
31592         (asin_towardzero_test_data): Likewise.
31593         (asin_downward_test_data): Likewise.
31594         (asin_upward_test_data): Likewise.
31595         (asinh_test_data): Likewise.
31596         (atan_test_data): Likewise.
31597         (atanh_test_data): Likewise.
31598         (atan2_test_data): Likewise.
31599         (cabs_test_data): Likewise.
31600         (cacos_test_data): Likewise.
31601         (cacosh_test_data): Likewise.
31602         (carg_test_data): Likewise.
31603         (casin_test_data): Likewise.
31604         (casinh_test_data): Likewise.
31605         (catan_test_data): Likewise.
31606         (catanh_test_data): Likewise.
31607         (cbrt_test_data): Likewise.
31608         (ccos_test_data): Likewise.
31609         (ccosh_test_data): Likewise.
31610         (ceil_test_data): Likewise.
31611         (cexp_test_data): Likewise.
31612         (cimag_test_data): Likewise.
31613         (clog_test_data): Likewise.
31614         (clog10_test_data): Likewise.
31615         (conj_test_data): Likewise.
31616         (copysign_test_data): Likewise.
31617         (cos_test_data): Likewise.
31618         (cos_tonearest_test_data): Likewise.
31619         (cos_towardzero_test_data): Likewise.
31620         (cos_downward_test_data): Likewise.
31621         (cos_upward_test_data): Likewise.
31622         (cosh_test_data): Likewise.
31623         (cosh_tonearest_test_data): Likewise.
31624         (cosh_towardzero_test_data): Likewise.
31625         (cosh_downward_test_data): Likewise.
31626         (cosh_upward_test_data): Likewise.
31627         (cpow_test_data): Likewise.
31628         (cproj_test_data): Likewise.
31629         (creal_test_data): Likewise.
31630         (csin_test_data): Likewise.
31631         (csinh_test_data): Likewise.
31632         (csqrt_test_data): Likewise.
31633         (ctan_test_data): Likewise.
31634         (ctan_tonearest_test_data): Likewise.
31635         (ctan_towardzero_test_data): Likewise.
31636         (ctan_downward_test_data): Likewise.
31637         (ctan_upward_test_data): Likewise.
31638         (ctanh_test_data): Likewise.
31639         (ctanh_tonearest_test_data): Likewise.
31640         (ctanh_towardzero_test_data): Likewise.
31641         (ctanh_downward_test_data): Likewise.
31642         (ctanh_upward_test_data): Likewise.
31643         (erf_test_data): Likewise.
31644         (erfc_test_data): Likewise.
31645         (exp_test_data): Likewise.
31646         (exp_tonearest_test_data): Likewise.
31647         (exp_towardzero_test_data): Likewise.
31648         (exp_downward_test_data): Likewise.
31649         (exp_upward_test_data): Likewise.
31650         (exp10_test_data): Likewise.
31651         (exp2_test_data): Likewise.
31652         (expm1_test_data): Likewise.
31653         (fabs_test_data): Likewise.
31654         (fdim_test_data): Likewise.
31655         (finite_test_data): Likewise.
31656         (floor_test_data): Likewise.
31657         (fma_test_data): Likewise.
31658         (fma_towardzero_test_data): Likewise.
31659         (fma_downward_test_data): Likewise.
31660         (fma_upward_test_data): Likewise.
31661         (fmax_test_data): Likewise.
31662         (fmin_test_data): Likewise.
31663         (fmod_test_data): Likewise.
31664         (fpclassify_test_data): Likewise.
31665         (frexp_test_data): Likewise.
31666         (gamma_test_data): Likewise.
31667         (hypot_test_data): Likewise.
31668         (ilogb_test_data): Likewise.
31669         (isfinite_test_data): Likewise.
31670         (isgreater_test_data): Likewise.
31671         (isgreaterequal_test_data): Likewise.
31672         (isinf_test_data): Likewise.
31673         (isless_test_data): Likewise.
31674         (islessequal_test_data): Likewise.
31675         (islessgreater_test_data): Likewise.
31676         (isnan_test_data): Likewise.
31677         (isnormal_test_data): Likewise.
31678         (issignaling_test_data): Likewise.
31679         (isunordered_test_data): Likewise.
31680         (j0_test_data): Likewise.
31681         (j1_test_data): Likewise.
31682         (jn_test_data): Likewise.
31683         (ldexp_test_data): Likewise.
31684         (lgamma_test_data): Likewise.
31685         (lrint_test_data): Likewise.
31686         (lrint_tonearest_test_data): Likewise.
31687         (lrint_towardzero_test_data): Likewise.
31688         (lrint_downward_test_data): Likewise.
31689         (lrint_upward_test_data): Likewise.
31690         (llrint_test_data): Likewise.
31691         (llrint_tonearest_test_data): Likewise.
31692         (llrint_towardzero_test_data): Likewise.
31693         (llrint_downward_test_data): Likewise.
31694         (llrint_upward_test_data): Likewise.
31695         (log_test_data): Likewise.
31696         (log10_test_data): Likewise.
31697         (log1p_test_data): Likewise.
31698         (log2_test_data): Likewise.
31699         (logb_test_data): Likewise.
31700         (logb_downward_test_data): Likewise.
31701         (lround_test_data): Likewise.
31702         (llround_test_data): Likewise.
31703         (modf_test_data): Likewise.
31704         (nearbyint_test_data): Likewise.
31705         (nextafter_test_data): Likewise.
31706         (nexttoward_test_data): Likewise.
31707         (pow_test_data): Likewise.
31708         (pow_tonearest_test_data): Likewise.
31709         (pow_towardzero_test_data): Likewise.
31710         (pow_downward_test_data): Likewise.
31711         (pow_upward_test_data): Likewise.
31712         (remainder_test_data): Likewise.
31713         (remainder_tonearest_test_data): Likewise.
31714         (remainder_towardzero_test_data): Likewise.
31715         (remainder_downward_test_data): Likewise.
31716         (remainder_upward_test_data): Likewise.
31717         (remquo_test_data): Likewise.
31718         (rint_test_data): Likewise.
31719         (rint_tonearest_test_data): Likewise.
31720         (rint_towardzero_test_data): Likewise.
31721         (rint_downward_test_data): Likewise.
31722         (rint_upward_test_data): Likewise.
31723         (round_test_data): Likewise.
31724         (scalb_test_data): Likewise.
31725         (scalbn_test_data): Likewise.
31726         (scalbln_test_data): Likewise.
31727         (signbit_test_data): Likewise.
31728         (sin_test_data): Likewise.
31729         (sin_tonearest_test_data): Likewise.
31730         (sin_towardzero_test_data): Likewise.
31731         (sin_downward_test_data): Likewise.
31732         (sin_upward_test_data): Likewise.
31733         (sincos_test_data): Likewise.
31734         (sinh_test_data): Likewise.
31735         (sinh_tonearest_test_data): Likewise.
31736         (sinh_towardzero_test_data): Likewise.
31737         (sinh_downward_test_data): Likewise.
31738         (sinh_upward_test_data): Likewise.
31739         (sqrt_test_data): Likewise.
31740         (tan_test_data): Likewise.
31741         (tan_tonearest_test_data): Likewise.
31742         (tan_towardzero_test_data): Likewise.
31743         (tan_downward_test_data): Likewise.
31744         (tan_upward_test_data): Likewise.
31745         (tanh_test_data): Likewise.
31746         (tgamma_test_data): Likewise.
31747         (trunc_test_data): Likewise.
31748         (y0_test_data): Likewise.
31749         (y1_test_data): Likewise.
31750         (yn_test_data): Likewise.
31751         (significand_test_data): Likewise.
31753         * math/gen-libm-test.pl (@functions): Remove variable.
31754         (generate_testfile): Don't handle START and END lines.
31755         * math/libm-test.inc (START): New macro.
31756         (END): Likewise.
31757         (END_COMPLEX): Likewise.
31758         (acos_test): Use END macro without arguments.
31759         (acos_test_tonearest): Likewise.
31760         (acos_test_towardzero): Likewise.
31761         (acos_test_downward): Likewise.
31762         (acos_test_upward): Likewise.
31763         (acosh_test): Likewise.
31764         (asin_test): Likewise.
31765         (asin_test_tonearest): Likewise.
31766         (asin_test_towardzero): Likewise.
31767         (asin_test_downward): Likewise.
31768         (asin_test_upward): Likewise.
31769         (asinh_test): Likewise.
31770         (atan_test): Likewise.
31771         (atanh_test): Likewise.
31772         (atan2_test): Likewise.
31773         (cabs_test): Likewise.
31774         (cacos_test): Use END_COMPLEX macro without arguments.
31775         (cacosh_test): Likewise.
31776         (carg_test): Use END macro without arguments.
31777         (casin_test): Use END_COMPLEX macro without arguments.
31778         (casinh_test): Likewise.
31779         (catan_test): Likewise.
31780         (catanh_test): Likewise.
31781         (cbrt_test): Use END macro without arguments.
31782         (ccos_test): Use END_COMPLEX macro without arguments.
31783         (ccosh_test): Likewise.
31784         (ceil_test): Use END macro without arguments.
31785         (cexp_test): Use END_COMPLEX macro without arguments.
31786         (cimag_test): Use END macro without arguments.
31787         (clog_test): Use END_COMPLEX macro without arguments.
31788         (clog10_test): Likewise.
31789         (conj_test): Likewise.
31790         (copysign_test): Use END macro without arguments.
31791         (cos_test): Likewise.
31792         (cos_test_tonearest): Likewise.
31793         (cos_test_towardzero): Likewise.
31794         (cos_test_downward): Likewise.
31795         (cos_test_upward): Likewise.
31796         (cosh_test): Likewise.
31797         (cosh_test_tonearest): Likewise.
31798         (cosh_test_towardzero): Likewise.
31799         (cosh_test_downward): Likewise.
31800         (cosh_test_upward): Likewise.
31801         (cpow_test): Use END_COMPLEX macro without arguments.
31802         (cproj_test): Likewise.
31803         (creal_test): Use END macro without arguments.
31804         (csin_test): Use END_COMPLEX macro without arguments.
31805         (csinh_test): Likewise.
31806         (csqrt_test): Likewise.
31807         (ctan_test): Likewise.
31808         (ctan_test_tonearest): Likewise.
31809         (ctan_test_towardzero): Likewise.
31810         (ctan_test_downward): Likewise.
31811         (ctan_test_upward): Likewise.
31812         (ctanh_test): Likewise.
31813         (ctanh_test_tonearest): Likewise.
31814         (ctanh_test_towardzero): Likewise.
31815         (ctanh_test_downward): Likewise.
31816         (ctanh_test_upward): Likewise.
31817         (erf_test): Use END macro without arguments.
31818         (erfc_test): Likewise.
31819         (exp_test): Likewise.
31820         (exp_test_tonearest): Likewise.
31821         (exp_test_towardzero): Likewise.
31822         (exp_test_downward): Likewise.
31823         (exp_test_upward): Likewise.
31824         (exp10_test): Likewise.
31825         (exp2_test): Likewise.
31826         (expm1_test): Likewise.
31827         (fabs_test): Likewise.
31828         (fdim_test): Likewise.
31829         (finite_test): Likewise.
31830         (floor_test): Likewise.
31831         (fma_test): Likewise.
31832         (fma_test_towardzero): Likewise.
31833         (fma_test_downward): Likewise.
31834         (fma_test_upward): Likewise.
31835         (fmax_test): Likewise.
31836         (fmin_test): Likewise.
31837         (fmod_test): Likewise.
31838         (fpclassify_test): Likewise.
31839         (frexp_test): Likewise.
31840         (gamma_test): Likewise.
31841         (hypot_test): Likewise.
31842         (ilogb_test): Likewise.
31843         (isfinite_test): Likewise.
31844         (isgreater_test): Likewise.
31845         (isgreaterequal_test): Likewise.
31846         (isinf_test): Likewise.
31847         (isless_test): Likewise.
31848         (islessequal_test): Likewise.
31849         (islessgreater_test): Likewise.
31850         (isnan_test): Likewise.
31851         (isnormal_test): Likewise.
31852         (issignaling_test): Likewise.
31853         (isunordered_test): Likewise.
31854         (j0_test): Likewise.
31855         (j1_test): Likewise.
31856         (jn_test): Likewise.
31857         (ldexp_test): Likewise.
31858         (lgamma_test): Likewise.
31859         (lrint_test): Likewise.
31860         (lrint_test_tonearest): Likewise.
31861         (lrint_test_towardzero): Likewise.
31862         (lrint_test_downward): Likewise.
31863         (lrint_test_upward): Likewise.
31864         (llrint_test): Likewise.
31865         (llrint_test_tonearest): Likewise.
31866         (llrint_test_towardzero): Likewise.
31867         (llrint_test_downward): Likewise.
31868         (llrint_test_upward): Likewise.
31869         (log_test): Likewise.
31870         (log10_test): Likewise.
31871         (log1p_test): Likewise.
31872         (log2_test): Likewise.
31873         (logb_test): Likewise.
31874         (logb_test_downward): Likewise.
31875         (lround_test): Likewise.
31876         (llround_test): Likewise.
31877         (modf_test): Likewise.
31878         (nearbyint_test): Likewise.
31879         (nextafter_test): Likewise.
31880         (nexttoward_test): Likewise.
31881         (pow_test): Likewise.
31882         (pow_test_tonearest): Likewise.
31883         (pow_test_towardzero): Likewise.
31884         (pow_test_downward): Likewise.
31885         (pow_test_upward): Likewise.
31886         (remainder_test): Likewise.
31887         (remainder_test_tonearest): Likewise.
31888         (remainder_test_towardzero): Likewise.
31889         (remainder_test_downward): Likewise.
31890         (remainder_test_upward): Likewise.
31891         (remquo_test): Likewise.
31892         (rint_test): Likewise.
31893         (rint_test_tonearest): Likewise.
31894         (rint_test_towardzero): Likewise.
31895         (rint_test_downward): Likewise.
31896         (rint_test_upward): Likewise.
31897         (round_test): Likewise.
31898         (scalb_test): Likewise.
31899         (scalbn_test): Likewise.
31900         (scalbln_test): Likewise.
31901         (signbit_test): Likewise.
31902         (sin_test): Likewise.
31903         (sin_test_tonearest): Likewise.
31904         (sin_test_towardzero): Likewise.
31905         (sin_test_downward): Likewise.
31906         (sin_test_upward): Likewise.
31907         (sincos_test): Likewise.
31908         (sinh_test): Likewise.
31909         (sinh_test_tonearest): Likewise.
31910         (sinh_test_towardzero): Likewise.
31911         (sinh_test_downward): Likewise.
31912         (sinh_test_upward): Likewise.
31913         (sqrt_test): Likewise.
31914         (tan_test): Likewise.
31915         (tan_test_tonearest): Likewise.
31916         (tan_test_towardzero): Likewise.
31917         (tan_test_downward): Likewise.
31918         (tan_test_upward): Likewise.
31919         (tanh_test): Likewise.
31920         (tgamma_test): Likewise.
31921         (trunc_test): Likewise.
31922         (y0_test): Likewise.
31923         (y1_test): Likewise.
31924         (yn_test): Likewise.
31925         (significand_test): Likewise.
31927 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
31929         [BZ #15381]
31930         * libio/genops.c (_IO_no_init): Initialize wide struct info.
31932 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
31934         [BZ #14894]
31935         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
31936         __ppc_mdoio and __ppc_mdoom.
31937         * manual/platform.texi: Document new functions __ppc_yield,
31938         __ppc_mdoio and __ppc_mdoom.
31940 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
31942         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
31943         (main): Mention "tls" pseudo-hwcap is legacy.
31944         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
31946 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
31948         * math/gen-libm-test.pl (parse_args): Output only string of
31949         arguments as text for test name, not full call or descriptions of
31950         tests for extra outputs.
31951         (generate_testfile): Do not pass function name to parse_args.
31952         Generate this_func variable from START.
31953         * math/libm-test.inc (struct test_f_f_data): Rename test_name
31954         field to arg_str.
31955         (struct test_ff_f_data): Likewise.
31956         (test_ff_f_data_nexttoward): Likewise.
31957         (struct test_fi_f_data): Likewise.
31958         (struct test_fl_f_data): Likewise.
31959         (struct test_if_f_data): Likewise.
31960         (struct test_fff_f_data): Likewise.
31961         (struct test_c_f_data): Likewise.
31962         (struct test_f_f1_data): Likewise.  Remove field extra_name.
31963         (struct test_fF_f1_data): Likewise.
31964         (struct test_ffI_f1_data): Likewise.
31965         (struct test_c_c_data): Rename test_name field to arg_str.
31966         (struct test_cc_c_data): Likewise.
31967         (struct test_f_i_data): Likewise.
31968         (struct test_ff_i_data): Likewise.
31969         (struct test_f_l_data): Likewise.
31970         (struct test_f_L_data): Likewise.
31971         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
31972         and extra2_name.
31973         (COMMON_TEST_SETUP): New macro.
31974         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
31975         (COMMON_TEST_CLEANUP): Likewise.
31976         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
31977         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
31978         macros.
31979         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
31980         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
31981         macros.
31982         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
31983         (RUN_TEST_fff_f): Take argument string.  Call new setup and
31984         cleanup macros.
31985         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
31986         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
31987         macros.
31988         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
31989         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
31990         macros.
31991         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
31992         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
31993         cleanup macros.
31994         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
31995         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
31996         cleanup macros.
31997         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
31998         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
31999         cleanup macros.
32000         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
32001         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
32002         macros.
32003         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
32004         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
32005         macros.
32006         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
32007         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
32008         macros.
32009         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
32010         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
32011         cleanup macros.
32012         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
32013         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
32014         cleanup macros.
32015         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
32016         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
32017         macros.
32018         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
32019         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
32020         cleanup macros.
32021         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
32022         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
32023         macros.
32024         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
32025         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
32026         macros.
32027         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
32028         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
32029         cleanup macros.
32030         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
32032 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
32034         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
32035         to _sifields.sigfault.
32036         (si_addr_lsb): Define new macro.
32037         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
32038         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32039         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
32041 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
32043         [BZ #15441]
32044         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
32045         returns -1.
32046         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
32047         null return -1.
32048         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
32049         loading the domain.
32051 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
32053         * math/gen-libm-test.pl (parse_args): Do not include expected
32054         result in test name.
32055         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
32056         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32057         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32058         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32059         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32062 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
32064         * benchtests/Makefile: Sort function entries.
32066         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
32067         tanh, asinh, acosh, atanh.
32068         * benchtests/acos-inputs: New file.
32069         * benchtests/acosh-inputs: New file.
32070         * benchtests/asin-inputs: New file.
32071         * benchtests/asinh-inputs: New file.
32072         * benchtests/atanh-inputs: New file.
32073         * benchtests/cosh-inputs: New file.
32074         * benchtests/log-inputs: New file.
32075         * benchtests/sinh-inputs: New file.
32076         * benchtests/tanh-inputs: New file.
32078 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
32080         [BZ #15339]
32081         * posix/tst-getaddrinfo4.c: New test.
32082         * posix/Makefile (tests): Add it.
32084 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32086         [BZ #15339]
32087         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
32088         when no services were used.
32089         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
32090         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
32092 2013-05-21  Andreas Schwab  <schwab@suse.de>
32094         [BZ #15014]
32095         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
32096         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
32097         successful.
32098         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
32099         redundant variable declarations and reallocation of buffer when
32100         parsing as IPv6 address.  Always set NSS status when called from
32101         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
32102         buffer too small.  Correct computation of needed size.
32103         * nss/Makefile (tests): Add test-digits-dots.
32104         * nss/test-digits-dots.c: New test.
32106 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32108         * benchtests/Makefile: Remove instructions for adding
32109         benchmark tests.
32110         * benchtests/README: New file to explain how to execute and
32111         enhance the benchmark tests.
32113 2013-05-21  Andreas Schwab  <schwab@suse.de>
32115         [BZ #15493]
32116         * setjmp/Makefile (tests): Add tst-sigsetjmp.
32117         * setjmp/tst-sigsetjmp.c: New test.
32119 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
32121         * sysdeps/x86_64/memset.S (memset): New implementation.
32122         (__bzero): Likewise.
32123         (__memset_tail): New function.
32125 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
32127         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
32128         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
32129         __memcpy_sse2_unaligned ifunc selection.
32130         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
32131         Add memcpy-sse2-unaligned.S.
32132         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32133         Add: __memcpy_sse2_unaligned.
32135 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
32137         [BZ #15490]
32138         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32139         math_force_eval before restoring floating-point envrionment.
32140         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
32141         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32142         Likewise.
32143         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
32144         <math_private.h>.
32145         (__nearbyintl): Use math_force_eval before restoring
32146         floating-point environment.
32147         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
32149         * math/gen-libm-test.pl (special_functions): Remove.
32150         (parse_args): Don't handle TEST_extra.  Handle functions with no
32151         return value.
32152         * math/libm-test.inc (struct test_sincos_data): Replace with
32153         struct test_fFF_11_data.
32154         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
32155         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
32156         (sincos_test_data): Change element type to struct
32157         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
32158         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
32159         RUN_TEST_LOOP_sincos.
32160         * math/README.libm-test: Don't mention special handling of
32161         individual functions.
32162         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
32163         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32164         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32165         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32166         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32169         * math/gen-libm-test.pl (get_variable): Remove function.
32170         (parse_args): Don't show pointer parameters to call in test
32171         names.  Use "extra output N" in test names for extra outputs
32172         rather than naming variables.
32174 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
32176         [BZ #15488]
32177         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
32178         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
32179         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
32180         double tests.
32181         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
32182         disable.
32183         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
32184         check_long_double.
32186         * math/gen-libm-test.pl (@tests): Remove variable.
32187         ($count): Likewise.
32188         (new_test): Remove function.
32189         (show_exceptions): New function.
32190         (special_functions): Use show_exceptions instead of new_test.
32191         (parse_args): Likewise.
32192         (generate_testfile): Pass only function name in generated call to
32193         print_max_error or print_complex_max_error.
32194         (get_ulps): Do not handle complex tests specially.
32195         (output_test): Rename to ...
32196         (get_all_ulps_for_test): ... this.  Return a string rather than
32197         printing to a file.  Require ulps to be present.
32198         (output_ulps): Generate arrays rather than #defines.
32199         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
32200         (struct ulp_data): New type.
32201         (BUILD_COMPLEX_ULP): Remove macro.
32202         (compare_ulp_data): New function.
32203         (find_ulps): Likewise.
32204         (find_test_ulps): Likewise.
32205         (find_function_ulps): Likewise.
32206         (find_complex_function_ulps): Likewise.
32207         (print_max_error): Determine allowed ulps using
32208         find_function_ulps.
32209         (print_complex_max_error): Determine allowed ulps using
32210         find_complex_function_ulps.
32211         (check_float_internal): Determine max ulps using find_test_ulps.
32212         (check_float): Do not take max_ulp parameter.  Update call to
32213         check_float_internal.
32214         (check_complex): Likewise.
32215         (check_int): Do not take max_ulp parameter.
32216         (check_long): Likewise.
32217         (check_bool): Likewise.
32218         (check_longlong): Likewise.
32219         (struct test_f_f_data): Remove max_ulp field.
32220         (struct test_ff_f_data): Likewise.
32221         (struct test_ff_f_data_nexttoward): Likewise.
32222         (struct test_fi_f_data): Likewise.
32223         (struct test_fl_f_data): Likewise.
32224         (struct test_if_f_data): Likewise.
32225         (struct test_fff_f_data): Likewise.
32226         (struct test_c_f_data): Likewise.
32227         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
32228         (struct test_fF_f1_data): Likewise.
32229         (struct test_ffI_f1_data): Likewise.
32230         (struct test_c_c_data): Remove max_ulp field.
32231         (struct test_cc_c_data): Likewise.
32232         (struct test_f_i_data): Likewise.
32233         (struct test_ff_i_data): Likewise.
32234         (struct test_f_l_data): Likewise.
32235         (struct test_f_L_data): Likewise.
32236         (struct test_sincos_data): Likewise.
32237         (RUN_TEST_f_f): Do not handle ulps.
32238         (RUN_TEST_LOOP_f_f): Likewise.
32239         (RUN_TEST_2_f): Likewise.
32240         (RUN_TEST_LOOP_2_f): Likewise.
32241         (RUN_TEST_fff_f): Likewise.
32242         (RUN_TEST_LOOP_fff_f): Likewise.
32243         (RUN_TEST_c_f): Likewise.
32244         (RUN_TEST_LOOP_c_f): Likewise.
32245         (RUN_TEST_f_f1): Likewise.
32246         (RUN_TEST_LOOP_f_f1): Likewise.
32247         (RUN_TEST_fF_f1): Likewise.
32248         (RUN_TEST_LOOP_fF_f1): Likewise.
32249         (RUN_TEST_fI_f1): Likewise.
32250         (RUN_TEST_LOOP_fI_f1): Likewise.
32251         (RUN_TEST_ffI_f1): Likewise.
32252         (RUN_TEST_LOOP_ffI_f1): Likewise.
32253         (RUN_TEST_c_c): Likewise.
32254         (RUN_TEST_LOOP_c_c): Likewise.
32255         (RUN_TEST_cc_c): Likewise.
32256         (RUN_TEST_LOOP_cc_c): Likewise.
32257         (RUN_TEST_f_i): Likewise.
32258         (RUN_TEST_LOOP_f_i): Likewise.
32259         (RUN_TEST_f_i_tg): Likewise.
32260         (RUN_TEST_LOOP_f_i_tg): Likewise.
32261         (RUN_TEST_ff_i_tg): Likewise.
32262         (RUN_TEST_LOOP_ff_i_tg): Likewise.
32263         (RUN_TEST_f_b): Likewise.
32264         (RUN_TEST_LOOP_f_b): Likewise.
32265         (RUN_TEST_f_b_tg): Likewise.
32266         (RUN_TEST_LOOP_f_b_tg): Likewise.
32267         (RUN_TEST_f_l): Likewise.
32268         (RUN_TEST_LOOP_f_l): Likewise.
32269         (RUN_TEST_f_L): Likewise.
32270         (RUN_TEST_LOOP_f_L): Likewise.
32271         (RUN_TEST_sincos): Likewise.
32272         (RUN_TEST_LOOP_sincos): Likewise.
32274 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
32276         [BZ #15480]
32277         [BZ #15485]
32278         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
32279         main case of finite arguments, set rounding mode to FE_TONEAREST
32280         and discard exceptions.
32281         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
32282         exceptions.
32283         (remainder_tonearest_test_data): New variable.
32284         (remainder_test_tonearest): New function.
32285         (remainder_towardzero_test_data): New variable.
32286         (remainder_test_towardzero): New function.
32287         (remainder_downward_test_data): New variable.
32288         (remainder_test_downward): New function.
32289         (remainder_upward_test_data): New variable.
32290         (remainder_test_upward): New function.
32291         (main): Call the new test functions.
32293         * math/libm-test.inc (struct test_f_f1_data): Remove field
32294         extra_init.
32295         (struct test_fF_f1_data): Likewise.
32296         (struct test_ffI_f1_data): Likewise.
32297         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
32298         based on value of EXTRA_EXPECTED.
32299         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
32300         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
32301         EXTRA_VAR based on value of EXTRA_EXPECTED.
32302         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
32303         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
32304         EXTRA_VAR based on value of EXTRA_EXPECTED.
32305         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
32306         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
32307         EXTRA_VAR based on value of EXTRA_EXPECTED.
32308         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
32309         * math/gen-libm-test.pl (parse_args): Don't output initializers
32310         for extra output values.
32312         * math/libm-test.inc (check_int): Expect result to be exactly
32313         equal to expected value and do not handle ulps.
32314         (check_long): Likewise.
32315         (check_longlong): Likewise.
32317         * math/libm-test.inc (ceil_test_data): Test for "inexact"
32318         exceptions.
32319         (cimag_test_data): Likewise.
32320         (conj_test_data): Likewise.
32321         (copysign_test_data): Likewise.
32322         (cproj_test_data): Likewise.
32323         (creal_test_data): Likewise.
32324         (fabs_test_data): Likewise.
32325         (fdim_test_data): Likewise.
32326         (finite_test_data): Likewise.
32327         (floor_test_data): Likewise.
32328         (fmax_test_data): Likewise.
32329         (fmin_test_data): Likewise.
32330         (fmod_test_data): Likewise.
32331         (fpclassify_test_data): Likewise.
32332         (frexp_test_data): Likewise.
32333         (ilogb_test_data): Likewise.
32334         (isfinite_test_data): Likewise.
32335         (isgreater_test_data): Likewise.
32336         (isgreaterequal_test_data): Likewise.
32337         (isinf_test_data): Likewise.
32338         (isless_test_data): Likewise.
32339         (islessequal_test_data): Likewise.
32340         (islessgreater_test_data): Likewise.
32341         (isnan_test_data): Likewise.
32342         (isnormal_test_data): Likewise.
32343         (issignaling_test_data): Likewise.
32344         (isunordered_test_data): Likewise.
32345         (ldexp_test_data): Likewise.
32346         (lrint_test_data): Likewise.
32347         (lrint_test_data) [TEST_FLOAT]: Disable one test.
32348         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
32349         (lrint_tonearest_test_data): Test for "inexact" exceptions.
32350         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
32351         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
32352         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
32353         test input.
32354         (lrint_towardzero_test_data): Test for "inexact" exceptions.
32355         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
32356         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
32357         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
32358         that test input.
32359         (lrint_downward_test_data): Test for "inexact" exceptions.
32360         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
32361         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
32362         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
32363         test input.
32364         (lrint_upward_test_data): Test for "inexact" exceptions.
32365         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
32366         test input.
32367         (llrint_test_data): Test for "inexact" exceptions.
32368         (llrint_test_data) [TEST_FLOAT]: Disable one test.
32369         (llrint_tonearest_test_data): Test for "inexact" exceptions.
32370         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
32371         (llrint_towardzero_test_data): Test for "inexact" exceptions.
32372         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
32373         (llrint_downward_test_data): Test for "inexact" exceptions.
32374         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
32375         (llrint_upward_test_data): Test for "inexact" exceptions.
32376         (logb_test_data): Likewise.
32377         (logb_downward_test_data): Likewise.
32378         (nextafter_test_data): Likewise.
32379         (nexttoward_test_data): Likewise.
32380         (remainder_test_data): Likewise.
32381         (remquo_test_data): Likewise.
32382         (scalbn_test_data): Likewise.
32383         (scalbln_test_data): Likewise.
32384         (signbit_test_data): Likewise.
32385         (sqrt_test_data): Likewise.
32386         (significand_test_data): Likewise.
32388 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
32390         [BZ #15424]
32391         * benchtests/bench-modf.c (struct args): Mark arg0 as
32392         volatile.
32393         * scripts/bench.pl: Mark members of struct args as volatile.
32395 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32397         [BZ # 15497]
32398         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
32399         negative infinity on POWER6 or lower.
32400         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
32402 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
32404         [BZ #15442]
32405         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
32406         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
32407         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
32408         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
32409         (_FP_SETQNAN): New macro.
32410         (_FP_SETQNAN_SEMIRAW): Likewise.
32411         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
32412         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
32413         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
32414         (FP_EXTEND): Use _FP_FRAC_SNANP.
32415         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
32416         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
32417         into account.
32418         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32419         New macro.
32420         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32421         Likewise.
32423 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
32425         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
32426         with DIVIDE_BY_ZERO_EXCEPTION.
32427         (gamma_test_data): Likewise.
32428         (lgamma_test_data): Likewise.
32429         (log_test_data): Likewise.
32430         (log10_test_data): Likewise.
32431         (log2_test_data): Likewise.
32432         (tgamma_test_data): Likewise.
32434         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
32435         (acos_test_tonearest): Likewise.
32436         (acos_test_towardzero): Likewise.
32437         (acos_test_downward): Likewise.
32438         (acos_test_upward): Likewise.
32439         (acosh_test): Likewise.
32440         (asin_test): Likewise.
32441         (asin_test_tonearest): Likewise.
32442         (asin_test_towardzero): Likewise.
32443         (asin_test_downward): Likewise.
32444         (asin_test_upward): Likewise.
32445         (asinh_test): Likewise.
32446         (atan_test): Likewise.
32447         (atanh_test): Likewise.
32448         (atan2_test): Likewise.
32449         (cabs_test): Likewise.
32450         (cacos_test): Likewise.
32451         (cacosh_test): Likewise.
32452         (casin_test): Likewise.
32453         (casinh_test): Likewise.
32454         (catan_test): Likewise.
32455         (catanh_test): Likewise.
32456         (cbrt_test): Likewise.
32457         (ccos_test): Likewise.
32458         (ccosh_test): Likewise.
32459         (cexp_test): Likewise.
32460         (clog_test): Likewise.
32461         (clog10_test): Likewise.
32462         (cos_test): Likewise.
32463         (cos_test_tonearest): Likewise.
32464         (cos_test_towardzero): Likewise.
32465         (cos_test_downward): Likewise.
32466         (cos_test_upward): Likewise.
32467         (cosh_test): Likewise.
32468         (cosh_test_tonearest): Likewise.
32469         (cosh_test_towardzero): Likewise.
32470         (cosh_test_downward): Likewise.
32471         (cosh_test_upward): Likewise.
32472         (cpow_test): Likewise.
32473         (csin_test): Likewise.
32474         (csinh_test): Likewise.
32475         (csqrt_test): Likewise.
32476         (ctan_test): Likewise.
32477         (ctan_test_tonearest): Likewise.
32478         (ctan_test_towardzero): Likewise.
32479         (ctan_test_downward): Likewise.
32480         (ctan_test_upward): Likewise.
32481         (ctanh_test): Likewise.
32482         (ctanh_test_tonearest): Likewise.
32483         (ctanh_test_towardzero): Likewise.
32484         (ctanh_test_downward): Likewise.
32485         (ctanh_test_upward): Likewise.
32486         (erf_test): Likewise.
32487         (erfc_test): Likewise.
32488         (exp_test): Likewise.
32489         (exp_test_tonearest): Likewise.
32490         (exp_test_towardzero): Likewise.
32491         (exp_test_downward): Likewise.
32492         (exp_test_upward): Likewise.
32493         (exp10_test): Likewise.
32494         (exp2_test): Likewise.
32495         (expm1_test): Likewise.
32496         (fmod_test): Likewise.
32497         (gamma_test): Likewise.
32498         (hypot_test): Likewise.
32499         (j0_test): Likewise.
32500         (j1_test): Likewise.
32501         (jn_test): Likewise.
32502         (lgamma_test): Likewise.
32503         (log_test): Likewise.
32504         (log10_test): Likewise.
32505         (log1p_test): Likewise.
32506         (log2_test): Likewise.
32507         (logb_test_downward): Likewise.
32508         (pow_test): Likewise.
32509         (pow_test_tonearest): Likewise.
32510         (pow_test_towardzero): Likewise.
32511         (pow_test_downward): Likewise.
32512         (pow_test_upward): Likewise.
32513         (remainder_test): Likewise.
32514         (remquo_test): Likewise.
32515         (sin_test): Likewise.
32516         (sin_test_tonearest): Likewise.
32517         (sin_test_towardzero): Likewise.
32518         (sin_test_downward): Likewise.
32519         (sin_test_upward): Likewise.
32520         (sincos_test): Likewise.
32521         (sinh_test): Likewise.
32522         (sinh_test_tonearest): Likewise.
32523         (sinh_test_towardzero): Likewise.
32524         (sinh_test_downward): Likewise.
32525         (sinh_test_upward): Likewise.
32526         (sqrt_test): Likewise.
32527         (tan_test): Likewise.
32528         (tan_test_tonearest): Likewise.
32529         (tan_test_towardzero): Likewise.
32530         (tan_test_downward): Likewise.
32531         (tan_test_upward): Likewise.
32532         (tanh_test): Likewise.
32533         (tgamma_test): Likewise.
32534         (y0_test): Likewise.
32535         (y1_test): Likewise.
32536         (yn_test): Likewise.
32538         * math/gen-libm-test.pl (adjust_arg): Remove function.
32539         (special_function): Remove argument $in_func.  Only handle
32540         generating output for tables of tests, not inside functions.
32541         (parse_args): Likewise.
32542         (generate_testfile): Remove variable $in_func.  Update call to
32543         parse_args.
32544         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
32545         (MINUS_ZERO_INIT): Rename macro to minus_zero.
32546         (PLUS_INFTY_INIT): Rename macro to plus_infty.
32547         (MINUS_INFTY_INIT): Rename macro to minus_infty.
32548         (QNAN_VALUE_INIT): Rename macro to qnan_value.
32549         (MAX_VALUE_INIT): Rename macro to max_value.
32550         (MIN_VALUE_INIT): Rename macro to min_value.
32551         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
32552         (plus_zero): Remove variable.
32553         (minus_zero): Likewise.
32554         (plus_infty): Likewise.
32555         (minus_infty): Likewise.
32556         (qnan_value): Likewise.
32557         (max_value): Likewise.
32558         (min_value): Likewise.
32559         (min_subnorm_value): Likewise.
32561 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32563         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
32564         uint64_t or uint32_t usage.
32565         * crypt/sha256-block.c: Likewise.
32566         * crypt/sha256-crypt.c: Likewise.
32567         * crypt/sha256.c: Likewise.
32568         * crypt/sha512-block.c: Likewise.
32569         * crypt/sha512-crypt.c: Likewise.
32570         * crypt/sha512.c: Likewise.
32571         * debug/backtrace-tst.c: Likewise.
32572         * debug/pcprofiledump.c: Likewise.
32573         * elf/cache.c: Likewise.
32574         * elf/dl-cache.c: Likewise.
32575         * elf/dl-misc.c: Likewise.
32576         * elf/dl-profile.c: Likewise.
32577         * elf/dl-support.c: Likewise.
32578         * elf/ldconfig.c: Likewise.
32579         * elf/sprof.c: Likewise.
32580         * iconv/dummy-repertoire.c: Likewise.
32581         * iconv/iconv_charmap.c: Likewise.
32582         * iconv/skeleton.c: Likewise.
32583         * iconvdata/8bit-generic.c: Likewise.
32584         * iconvdata/cp737.h: Likewise.
32585         * iconvdata/cp775.h: Likewise.
32586         * iconvdata/ibm1008.h: Likewise.
32587         * iconvdata/ibm1025.h: Likewise.
32588         * iconvdata/ibm1046.h: Likewise.
32589         * iconvdata/ibm1097.h: Likewise.
32590         * iconvdata/ibm1112.h: Likewise.
32591         * iconvdata/ibm1122.h: Likewise.
32592         * iconvdata/ibm1123.h: Likewise.
32593         * iconvdata/ibm1124.h: Likewise.
32594         * iconvdata/ibm1129.h: Likewise.
32595         * iconvdata/ibm1130.h: Likewise.
32596         * iconvdata/ibm1132.h: Likewise.
32597         * iconvdata/ibm1133.h: Likewise.
32598         * iconvdata/ibm1137.h: Likewise.
32599         * iconvdata/ibm1140.h: Likewise.
32600         * iconvdata/ibm1141.h: Likewise.
32601         * iconvdata/ibm1142.h: Likewise.
32602         * iconvdata/ibm1143.h: Likewise.
32603         * iconvdata/ibm1144.h: Likewise.
32604         * iconvdata/ibm1145.h: Likewise.
32605         * iconvdata/ibm1146.h: Likewise.
32606         * iconvdata/ibm1147.h: Likewise.
32607         * iconvdata/ibm1148.h: Likewise.
32608         * iconvdata/ibm1149.h: Likewise.
32609         * iconvdata/ibm1153.h: Likewise.
32610         * iconvdata/ibm1154.h: Likewise.
32611         * iconvdata/ibm1155.h: Likewise.
32612         * iconvdata/ibm1156.h: Likewise.
32613         * iconvdata/ibm1157.h: Likewise.
32614         * iconvdata/ibm1158.h: Likewise.
32615         * iconvdata/ibm1160.h: Likewise.
32616         * iconvdata/ibm1161.h: Likewise.
32617         * iconvdata/ibm1162.h: Likewise.
32618         * iconvdata/ibm1163.h: Likewise.
32619         * iconvdata/ibm1164.h: Likewise.
32620         * iconvdata/ibm1166.h: Likewise.
32621         * iconvdata/ibm1167.h: Likewise.
32622         * iconvdata/ibm12712.h: Likewise.
32623         * iconvdata/ibm1390.h: Likewise.
32624         * iconvdata/ibm1399.h: Likewise.
32625         * iconvdata/ibm16804.h: Likewise.
32626         * iconvdata/ibm4517.h: Likewise.
32627         * iconvdata/ibm4899.h: Likewise.
32628         * iconvdata/ibm4909.h: Likewise.
32629         * iconvdata/ibm4971.h: Likewise.
32630         * iconvdata/ibm5347.h: Likewise.
32631         * iconvdata/ibm803.h: Likewise.
32632         * iconvdata/ibm856.h: Likewise.
32633         * iconvdata/ibm901.h: Likewise.
32634         * iconvdata/ibm902.h: Likewise.
32635         * iconvdata/ibm9030.h: Likewise.
32636         * iconvdata/ibm9066.h: Likewise.
32637         * iconvdata/ibm921.h: Likewise.
32638         * iconvdata/ibm922.h: Likewise.
32639         * iconvdata/ibm9448.h: Likewise.
32640         * iconvdata/isiri-3342.h: Likewise.
32641         * iconvdata/jis0201.h: Likewise.
32642         * include/link.h: Likewise.
32643         * include/netdb.h: Likewise.
32644         * inet/check_native.c: Likewise.
32645         * inet/check_pf.c: Likewise.
32646         * inet/getipv4sourcefilter.c: Likewise.
32647         * inet/getnameinfo.c: Likewise.
32648         * inet/getsourcefilter.c: Likewise.
32649         * inet/htonl.c: Likewise.
32650         * inet/setipv4sourcefilter.c: Likewise.
32651         * inet/setsourcefilter.c: Likewise.
32652         * inet/test-inet6_opt.c: Likewise.
32653         * inet/tst-network.c: Likewise.
32654         * locale/C-collate.c: Likewise.
32655         * locale/C-ctype.c: Likewise.
32656         * locale/C-time.c: Likewise.
32657         * locale/C-translit.h: Likewise.
32658         * locale/loadarchive.c: Likewise.
32659         * locale/programs/3level.h: Likewise.
32660         * locale/programs/charmap.c: Likewise.
32661         * locale/programs/charmap.h: Likewise.
32662         * locale/programs/ld-address.c: Likewise.
32663         * locale/programs/ld-collate.c: Likewise.
32664         * locale/programs/ld-ctype.c: Likewise.
32665         * locale/programs/ld-identification.c: Likewise.
32666         * locale/programs/ld-measurement.c: Likewise.
32667         * locale/programs/ld-messages.c: Likewise.
32668         * locale/programs/ld-monetary.c: Likewise.
32669         * locale/programs/ld-name.c: Likewise.
32670         * locale/programs/ld-numeric.c: Likewise.
32671         * locale/programs/ld-paper.c: Likewise.
32672         * locale/programs/ld-telephone.c: Likewise.
32673         * locale/programs/ld-time.c: Likewise.
32674         * locale/programs/linereader.c: Likewise.
32675         * locale/programs/locale.c: Likewise.
32676         * locale/programs/locarchive.c: Likewise.
32677         * locale/programs/locfile.h: Likewise.
32678         * locale/programs/repertoire.c: Likewise.
32679         * locale/programs/simple-hash.c: Likewise.
32680         * locale/programs/simple-hash.h: Likewise.
32681         * malloc/memusage.c: Likewise.
32682         * malloc/memusagestat.c: Likewise.
32683         * nis/nis_defaults.c: Likewise.
32684         * nis/nis_hash.c: Likewise.
32685         * nis/nis_print.c: Likewise.
32686         * nis/nis_xdr.c: Likewise.
32687         * nscd/connections.c: Likewise.
32688         * nscd/hstcache.c: Likewise.
32689         * nscd/nscd_gethst_r.c: Likewise.
32690         * nscd/nscd_getserv_r.c: Likewise.
32691         * nscd/nscd_helper.c: Likewise.
32692         * nscd/servicescache.c: Likewise.
32693         * nss/makedb.c: Likewise.
32694         * nss/nss_db/db-XXX.c: Likewise.
32695         * nss/nss_db/db-initgroups.c: Likewise.
32696         * nss/nss_db/db-netgrp.c: Likewise.
32697         * nss/nss_files/files-network.c: Likewise.
32698         * nss/nss_files/files-parse.c: Likewise.
32699         * posix/bug-regex5.c: Likewise.
32700         * posix/fnmatch_loop.c: Likewise.
32701         * posix/regcomp.c: Likewise.
32702         * posix/regexec.c: Likewise.
32703         * posix/tst-rfc3484-2.c: Likewise.
32704         * posix/tst-rfc3484-3.c: Likewise.
32705         * posix/tst-rfc3484.c: Likewise.
32706         * resolv/nss_dns/dns-canon.c: Likewise.
32707         * resolv/nss_dns/dns-network.c: Likewise.
32708         * resolv/res_init.c: Likewise.
32709         * resolv/res_mkquery.c: Likewise.
32710         * resolv/tst-aton.c: Likewise.
32711         * stdlib/cxa_atexit.c: Likewise.
32712         * stdlib/cxa_finalize.c: Likewise.
32713         * stdlib/gen-fpioconst.c: Likewise.
32714         * stdlib/strtol_l.c: Likewise.
32715         * string/tst-endian.c: Likewise.
32716         * sunrpc/auth_des.c: Likewise.
32717         * sunrpc/clnt_udp.c: Likewise.
32718         * sunrpc/rtime.c: Likewise.
32719         * sunrpc/svcauth_des.c: Likewise.
32720         * sunrpc/xdr.c: Likewise.
32721         * sunrpc/xdr_intXX_t.c: Likewise.
32722         * sunrpc/xdr_rec.c: Likewise.
32723         * sysdeps/generic/ldconfig.h: Likewise.
32724         * sysdeps/generic/ldsodefs.h: Likewise.
32725         * sysdeps/generic/memusage.h: Likewise.
32726         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
32727         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
32728         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
32729         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
32730         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32731         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32732         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
32733         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
32734         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32735         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32736         * sysdeps/posix/getaddrinfo.c: Likewise.
32737         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32738         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32739         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32740         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32741         * sysdeps/powerpc/test-gettimebase.c: Likewise.
32742         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
32743         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
32744         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
32745         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
32746         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
32747         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
32748         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
32749         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
32750         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
32751         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
32752         * sysdeps/x86_64/dl-tls.h: Likewise.
32753         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
32754         * time/alt_digit.c: Likewise.
32755         * time/era.c: Likewise.
32756         * wcsmbs/tst-c16c32-1.c: Likewise.
32758 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
32760         * math/libm-test.inc (struct test_sincos_data): New type.
32761         (RUN_TEST_LOOP_sincos): New macro.
32762         (sincos_test_data): New variable.
32763         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
32765 2013-05-16  Richard Henderson  <rth@redhat.com>
32767         * math/atest-exp2.c (LIMB64): New macro.
32768         (CONSTSZ): New macro.
32769         (mp_exp1, mp_exp_m1, mp_log2): New variables.
32770         (hexdig): Move ...
32771         (print_mpn_fp): ... to function scope.
32772         (read_mpn_hex): Remove.
32773         (get_log2): Remove.
32774         (exp2_mpn): Use mp_log2.
32775         (main): Use mp_exp1.
32777 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
32779         * math/libm-test.inc: Remove comment about not testing "inexact"
32780         exceptions.
32781         (INEXACT_EXCEPTION): New macro.
32782         (NO_INEXACT_EXCEPTION): Likewise.
32783         (INVALID_EXCEPTION_OK): Update value.
32784         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32785         (OVERFLOW_EXCEPTION_OK): Likewise.
32786         (UNDERFLOW_EXCEPTION_OK): Likewise.
32787         (IGNORE_ZERO_INF_SIGN): Likewise.
32788         (ERRNO_UNCHANGED): Likewise.
32789         (ERRNO_EDOM): Likewise.
32790         (ERRNO_ERANGE): Likewise.
32791         (test_exceptions): Handle testing "inexact" exceptions.
32792         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
32793         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
32794         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
32795         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
32796         INEXACT_EXCEPTION.
32797         (rint_towardzero_test_data): Likewise.
32798         (rint_downward_test_data): Likewise.
32799         (rint_upward_test_data): Likewise.
32801         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
32802         with OVERFLOW_EXCEPTION.
32803         (exp10_test_data): Likewise.
32804         (exp2_test_data): Likewise.
32805         (expm1_test_data): Likewise.
32806         (lgamma_test_data): Likewise.
32807         (pow_test_data): Likewise.
32808         (tgamma_test_data): Likewise.
32809         (yn_test_data): Remove duplicate test of overflow.
32811         * math/libm-test.inc (struct test_cc_c_data): New type.
32812         (RUN_TEST_LOOP_cc_c): New macro.
32813         (cpow_test_data): New variable.
32814         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
32816         * math/libm-test.inc (struct test_f_L_data): New type.
32817         (RUN_TEST_LOOP_f_L): New macro.
32818         (llrint_test_data): New variable.
32819         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
32820         (llrint_tonearest_test_data): New variable.
32821         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
32822         (llrint_towardzero_test_data): New variable.
32823         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
32824         (llrint_downward_test_data): New variable.
32825         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
32826         (llrint_upward_test_data): New variable.
32827         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
32828         (llround_test_data): New variable.
32829         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
32831 2013-05-13  Peter Collingbourne  <pcc@google.com>
32833         * math/atest-exp2.c (get_log2): Remove const attribute.
32835 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
32837         * math/libm-test.inc (struct test_f_l_data): New type.
32838         (RUN_TEST_LOOP_f_l): New macro.
32839         (lrint_test_data): New variable.
32840         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
32841         (lrint_tonearest_test_data): New variable.
32842         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
32843         (lrint_towardzero_test_data): New variable.
32844         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
32845         (lrint_downward_test_data): New variable.
32846         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
32847         (lrint_upward_test_data): New variable.
32848         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
32849         (lround_test_data): New variable.
32850         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
32852 2013-05-15  Peter Collingbourne  <pcc@google.com>
32854         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
32855         (EXTRACT_WORDS64) Use where appropriate.
32856         (INSERT_WORDS64) Likewise.
32858         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
32859         constraints with x constraints.
32860         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
32862         * malloc/obstack.c (_obstack_compat): Add initializer.
32864 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
32866         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
32867         si_trapno and add si_addr_lsb to _sifields.sigfault.
32868         (si_trapno): Remove macro.
32869         (si_addr_lsb): Define new macro.
32870         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
32872 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
32874         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
32875         instead of TEST_f_l.
32876         (llrint_test_tonearest): Likewise.
32877         (llrint_test_towardzero): Likewise.
32878         (llrint_test_downward): Likewise.
32879         (llrint_test_upward): Likewise.
32880         (llround_test): Likewise.
32882         * math/libm-test.inc (struct test_f_i_data): Add comment.
32883         (RUN_TEST_LOOP_f_b): New macro.
32884         (RUN_TEST_LOOP_f_b_tg): Likewise.
32885         (finite_test_data): New variable.
32886         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
32887         (isfinite_test_data): New variable.
32888         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32889         (isinf_test_data): New variable.
32890         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32891         (isnan_test_data): New variable.
32892         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32893         (isnormal_test_data): New variable.
32894         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32895         (issignaling_test_data): New variable.
32896         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32897         (signbit_test_data): New variable.
32898         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32900         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
32901         with INVALID_EXCEPTION.
32902         (acosh_test_data): Likewise.
32903         (asin_test_data): Likewise.
32904         (atanh_test_data): Likewise.
32905         (fmod_test_data): Likewise.
32906         (log_test_data): Likewise.
32907         (log10_test_data): Likewise.
32908         (log2_test_data): Likewise.
32909         (pow_test_data): Likewise.
32910         (sqrt_test_data): Likewise.
32911         (y0_test_data): Likewise.
32912         (y1_test_data): Likewise.
32913         (yn_test_data): Likewise.
32915         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
32916         function contents.
32918         * math/libm-test.inc (struct test_ff_i_data): New type.
32919         (RUN_TEST_LOOP_ff_i_tg): New macro.
32920         (isgreater_test_data): New variable.
32921         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32922         (isgreaterequal_test_data): New variable.
32923         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32924         (isless_test_data): New variable.
32925         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32926         (islessequal_test_data): New variable.
32927         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32928         (islessgreater_test_data): New variable.
32929         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32930         (isunordered_test_data): New variable.
32931         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32933 2013-05-14  David S. Miller  <davem@davemloft.net>
32935         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32937 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
32939         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
32941         * math/libm-test.inc (struct test_fF_f1_data): Change type of
32942         extra_test to int.
32943         (struct test_f_i_data): Change type of max_ulp to int.
32945         * math/libm-test.inc (test_ffI_f1_data): New type.
32946         (RUN_TEST_LOOP_ffI_f1): New macro.
32947         (remquo_test_data): New variable.
32948         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
32950         * setjmp/tst-setjmp-fp.c: New file.
32951         * setjmp/Makefile (tests): Add tst-setjmp-fp.
32952         (link-libm): New variable.
32953         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
32955         * math/libm-test.inc (struct test_f_i_data): New type.
32956         (RUN_TEST_LOOP_f_i): New macro.
32957         (RUN_TEST_LOOP_f_i_tg): Likewise.
32958         (fpclassify_test_data): New variable.
32959         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
32960         (ilogb_test_data): New variable.
32961         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
32963         * math/libm-test.inc (scalbln_test): Correct function name in END
32964         call.
32966         * math/libm-test.inc (struct test_f_f1_data): Add comment.
32967         (RUN_TEST_LOOP_fI_f1): New macro.
32968         (frexp_test_data): New variable.
32969         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
32971         * math/libm-test.inc (struct test_fF_f1_data): New type.
32972         (RUN_TEST_LOOP_fF_f1): New macro.
32973         (modf_test_data): New variable.
32974         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
32976         * math/libm-test.inc (struct test_f_f1_data): New type.
32977         (RUN_TEST_LOOP_f_f1): New macro.
32978         (gamma_test_data): New variable.
32979         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
32980         (lgamma_test_data): New variable.
32981         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
32983 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
32985         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
32986         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
32987         (main): Comment "tls" pseudo-hwcap.
32989 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
32991         * math/libm-test.inc (struct test_fl_f_data): New type.
32992         (RUN_TEST_LOOP_fl_f): New variable.
32993         (scalbln_test_data): New variable.
32994         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
32996         * math/libm-test.inc (struct test_fi_f_data): New type.
32997         (RUN_TEST_LOOP_fi_f): New macro.
32998         (ldexp_test_data): New variable.
32999         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
33000         (scalbn_test_data): New variable.
33001         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
33003         * math/libm-test.inc (struct test_c_f_data): New type.
33004         (RUN_TEST_LOOP_c_f): New macro.
33005         (cabs_test_data): New variable.
33006         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
33007         (carg_test_data): New variable.
33008         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
33009         (cimag_test_data): New variable.
33010         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
33011         (creal_test_data): New variable.
33012         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
33014         * math/libm-test.inc (struct test_if_f_data): New type.
33015         (RUN_TEST_LOOP_if_f): New macro.
33016         (jn_test_data): New variable.
33017         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
33018         (yn_test_data): New variable.
33019         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
33021         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
33023 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33025         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
33026         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
33028 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
33030         * benchtests/Makefile (CPPFLAGS-nonlib): Add
33031         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
33032         (bench-deps): Add bench-timing.h.
33033         * benchtests-bench-skeleton.c: Include bench-timing.h.
33034         (main): Use TIMING_* macros instead of clock_gettime.
33035         * benchtests/bench-timing.h: New file.
33037         [BZ #14582]
33038         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
33039         Renamed from _LIB_VERSION.
33040         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
33042 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
33044         * math/libm-test.inc (struct test_fff_f_data): New type.
33045         (RUN_TEST_LOOP_fff_f): New macro.
33046         (fma_test_data): New variable.
33047         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
33048         (fma_towardzero_test_data): New variable.
33049         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
33050         (fma_downward_test_data): New variable.
33051         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
33052         (fma_upward_test_data): New variable.
33053         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
33055         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
33056         (struct test_c_c_data): New type.
33057         (RUN_TEST_LOOP_c_c): New macro.
33058         (cacos_test_data): New variable.
33059         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
33060         (cacosh_test_data): New variable.
33061         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
33062         (casin_test_data): New variable.
33063         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
33064         (casinh_test_data): New variable.
33065         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
33066         (catan_test_data): New variable.
33067         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
33068         (catanh_test_data): New variable.
33069         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
33070         (ccos_test_data): New variable.
33071         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
33072         (ccosh_test_data): New variable.
33073         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
33074         (cexp_test_data): New variable.
33075         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
33076         (clog_test_data): New variable.
33077         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
33078         (clog10_test_data): New variable.
33079         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
33080         (conj_test_data): New variable.
33081         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
33082         (cproj_test_data): New variable.
33083         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
33084         (csin_test_data): New variable.
33085         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
33086         (csinh_test_data): New variable.
33087         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
33088         (csqrt_test_data): New variable.
33089         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
33090         (ctan_test_data): New variable.
33091         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
33092         (ctan_tonearest_test_data): New variable.
33093         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
33094         (ctan_towardzero_test_data): New variable.
33095         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
33096         (ctan_downward_test_data): New variable.
33097         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
33098         (ctan_upward_test_data): New variable.
33099         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
33100         (ctanh_test_data): New variable.
33101         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
33102         (ctanh_tonearest_test_data): New variable.
33103         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
33104         (ctanh_towardzero_test_data): New variable.
33105         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
33106         (ctanh_downward_test_data): New variable.
33107         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
33108         (ctanh_upward_test_data): New variable.
33109         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
33110         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
33111         of BUILD_COMPLEX.
33113         * math/libm-test.inc (struct test_ff_f_data): New type.
33114         (struct test_ff_f_data_nexttoward): Likewise.
33115         (RUN_TEST_LOOP_2_f): New macro.
33116         (RUN_TEST_LOOP_ff_f): Likewise.
33117         (atan2_test_data): New variable.
33118         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
33119         (copysign_test_data): New variable.
33120         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
33121         (fdim_test_data): New variable.
33122         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
33123         (fmax_test_data): New variable.
33124         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
33125         (fmin_test_data): New variable.
33126         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
33127         (fmod_test_data): New variable.
33128         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
33129         (hypot_test_data): New variable.
33130         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
33131         (nextafter_test_data): New variable.
33132         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
33133         (nexttoward_test_data): New variable.
33134         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
33135         (pow_test_data): New variable.
33136         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
33137         (pow_tonearest_test_data): New variable.
33138         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
33139         (pow_towardzero_test_data): New variable.
33140         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
33141         (pow_downward_test_data): New variable.
33142         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
33143         (pow_upward_test_data): New variable.
33144         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
33145         (remainder_test_data): New variable.
33146         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
33147         (scalb_test_data): New variable.
33148         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
33149         * sysdeps/i386/fpu/libm-test-ulps: Update.
33151 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
33153         * math/libm-test.inc (fma_test): Use max_value instead of local
33154         variable fltmax.
33155         (nextafter_test): Likewise.
33157         * math/libm-test.inc (acos_towardzero_test_data): New variable.
33158         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33159         (acos_downward_test_data): New variable.
33160         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33161         (acos_upward_test_data): New variable.
33162         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33163         (acosh_test_data): New variable.
33164         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
33165         (asin_test_data): New variable.
33166         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
33167         (asin_tonearest_test_data): New variable.
33168         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33169         (asin_towardzero_test_data): New variable.
33170         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33171         (asin_downward_test_data): New variable.
33172         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33173         (asin_upward_test_data): New variable.
33174         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33175         (asinh_test_data): New variable.
33176         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
33177         (atan_test_data): New variable.
33178         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
33179         (atanh_test_data): New variable.
33180         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
33181         (cbrt_test_data): New variable.
33182         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
33183         (ceil_test_data): New variable.
33184         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
33185         (cos_test_data): New variable.
33186         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
33187         (cos_tonearest_test_data): New variable.
33188         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33189         (cos_towardzero_test_data): New variable.
33190         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33191         (cos_downward_test_data): New variable.
33192         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33193         (cos_upward_test_data): New variable.
33194         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33195         (cosh_test_data): New variable.
33196         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
33197         (cosh_tonearest_test_data): New variable.
33198         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33199         (cosh_towardzero_test_data): New variable.
33200         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33201         (cosh_downward_test_data): New variable.
33202         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33203         (cosh_upward_test_data): New variable.
33204         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33205         (erf_test_data): New variable.
33206         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
33207         (erfc_test_data): New variable.
33208         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
33209         (exp_test_data): New variable.
33210         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
33211         (exp_tonearest_test_data): New variable.
33212         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33213         (exp_towardzero_test_data): New variable.
33214         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33215         (exp_downward_test_data): New variable.
33216         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33217         (exp_upward_test_data): New variable.
33218         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33219         (exp10_test_data): New variable.
33220         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
33221         (exp2_test_data): New variable.
33222         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
33223         (expm1_test_data): New variable.
33224         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
33225         (fabs_test_data): New variable.
33226         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
33227         (floor_test_data): New variable.
33228         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
33229         (j0_test_data): New variable.
33230         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
33231         (j1_test_data): New variable.
33232         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
33233         (log_test_data): New variable.
33234         (log_test): Run tests with RUN_TEST_LOOP_f_f.
33235         (log10_test_data): New variable.
33236         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
33237         (log1p_test_data): New variable.
33238         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
33239         (log2_test_data): New variable.
33240         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
33241         (logb_test_data): New variable.
33242         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
33243         (logb_downward_test_data): New variable.
33244         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33245         (nearbyint_test_data): New variable.
33246         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
33247         (rint_test_data): New variable.
33248         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
33249         (rint_tonearest_test_data): New variable.
33250         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33251         (rint_towardzero_test_data): New variable.
33252         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33253         (rint_downward_test_data): New variable.
33254         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33255         (rint_upward_test_data): New variable.
33256         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33257         (round_test_data): New variable.
33258         (round_test): Run tests with RUN_TEST_LOOP_f_f.
33259         (sin_test_data): New variable.
33260         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
33261         (sin_tonearest_test_data): New variable.
33262         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33263         (sin_towardzero_test_data): New variable.
33264         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33265         (sin_downward_test_data): New variable.
33266         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33267         (sin_upward_test_data): New variable.
33268         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33269         (sinh_test_data): New variable.
33270         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
33271         (sinh_tonearest_test_data): New variable.
33272         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33273         (sinh_towardzero_test_data): New variable.
33274         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33275         (sinh_downward_test_data): New variable.
33276         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33277         (sinh_upward_test_data): New variable.
33278         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33279         (sqrt_test_data): New variable.
33280         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
33281         (tan_test_data): New variable.
33282         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
33283         (tan_tonearest_test_data): New variable.
33284         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33285         (tan_towardzero_test_data): New variable.
33286         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33287         (tan_downward_test_data): New variable.
33288         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33289         (tan_upward_test_data): New variable.
33290         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33291         (tanh_test_data): New variable.
33292         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
33293         (tgamma_test_data): New variable.
33294         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
33295         (trunc_test_data): New variable.
33296         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
33297         (y0_test_data): New variable.
33298         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
33299         (y1_test_data): New variable.
33300         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
33301         (significand_test_data): New variable.
33302         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
33304 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
33306         [BZ #12387]
33307         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
33309 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
33311         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
33313 2013-05-10  Andreas Jaeger  <aj@suse.de>
33315         [BZ #15448]
33316         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
33317         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
33319 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
33321         * math/gen-libm-test.pl (adjust_arg): New function.
33322         (special_functions): Handle generating output in both functions
33323         and arrays.
33324         (parse_args): Likewise.
33325         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
33326         $in_func argument to parse_args.
33327         * math/libm-test.inc (struct test_f_f_data): New type.
33328         (IF_ROUND_INIT_): New macro.
33329         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
33330         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
33331         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
33332         (IF_ROUND_INIT_FE_UPWARD): Likewise.
33333         (ROUND_RESTORE_): Likewise.
33334         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
33335         (ROUND_RESTORE_FE_TONEAREST): Likewise.
33336         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
33337         (ROUND_RESTORE_FE_UPWARD): Likewise.
33338         (RUN_TEST_LOOP_f_f): New macro.
33339         (acos_test_data): New variable.
33340         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
33341         (acos_tonearest_test_data): New variable.
33342         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33344 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33346         * benchtests/bench-skeleton.c (startup): Fix coding style.
33348 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
33350         [BZ #6809]
33351         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
33352         negative infinity argument.
33353         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
33354         negative infinity argument.
33355         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
33356         negative infinity argument.
33357         * math/libm-test.inc (tgamma_test): Expect errno to be set for
33358         domain errors.
33360 2013-05-10  Florian Weimer  <fweimer@redhat.com>
33362         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
33363         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
33364         * iconv/iconv_prog.c (main): Likewise.
33365         * locale/programs/charmap-dir.c (charmap_readdir)
33366         (fopen_uncompressed): Likewise.
33367         * locale/programs/locfile.c (siblings_uncached)
33368         (write_locale_data): Use lstat64 instead of lstat.
33369         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
33370         stat.
33372 2013-05-10  Andreas Jaeger  <aj@suse.de>
33374         [BZ #15395]
33375         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
33376         localization.
33377         Include <locale.h>.
33379 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
33381         * elf/dl-close.c (_dl_close_worker): Add comments.
33383 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
33385         [BZ #15359]
33386         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
33387         high part of pi/2.
33388         (__ieee754_rem_pio2l): Update comments.
33390         [BZ #15429]
33391         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
33392         high part of pi/2.
33393         (__ieee754_rem_pio2l): Update comments.
33395         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
33396         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
33398         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
33399         M_PI_4l.
33401         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
33402         (M_PI_34_LOG10El): Likewise.
33403         (M_PI2_LOG10El): Likewise.
33404         (M_PI4_LOG10El): Likewise.
33405         (M_PI_LOG10El): Likewise.
33407 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33409         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33411 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
33413         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
33414         (MINUS_ZERO_INIT): Likewise.
33415         (PLUS_INFTY_INIT): Likewise.
33416         (MINUS_INFTY_INIT): Likewise.
33417         (QNAN_VALUE_INIT): Likewise.
33418         (MAX_VALUE_INIT): Likewise.
33419         (MIN_VALUE_INIT): Likewise.
33420         (MIN_SUBNORM_VALUE_INIT): Likewise.
33421         (plus_zero): Initialize with PLUS_ZERO_INIT.
33422         (minus_zero): Initialize with MINUS_ZERO_INIT.
33423         (plus_infty): Initialize with PLUS_INFTY_INIT.
33424         (minus_infty): Initialize with MINUS_INFTY_INIT.
33425         (qnan_value): Initialize with QNAN_VALUE_INIT.
33426         (max_value): Initialize with MAX_VALUE_INIT.
33427         (min_value): Initialize with MIN_VALUE_INIT.
33428         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
33430         * math/libm-test.inc (RUN_TEST_if_f): New macro.
33431         (jn_test): Use TEST_if_f instead of TEST_ff_f.
33432         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
33433         (yn_test): Use TEST_if_f instead of TEST_ff_f.
33435         * math/libm-test.inc (RUN_TEST_f_f): New macro.
33436         (RUN_TEST_2_f): Likewise.
33437         (RUN_TEST_ff_f): Likewise.
33438         (RUN_TEST_fi_f): Likewise.
33439         (RUN_TEST_fl_f): Likewise.
33440         (RUN_TEST_fff_f): Likewise.
33441         (RUN_TEST_c_f): Likewise.
33442         (RUN_TEST_f_f1): Likewise.
33443         (RUN_TEST_fF_f1): Likewise.
33444         (RUN_TEST_fI_f1): Likewise.
33445         (RUN_TEST_ffI_f1): Likewise.
33446         (RUN_TEST_c_c): Likewise.
33447         (RUN_TEST_cc_c): Likewise.
33448         (RUN_TEST_f_i): Likewise.
33449         (RUN_TEST_f_i_tg): Likewise.
33450         (RUN_TEST_ff_i_tg): Likewise.
33451         (RUN_TEST_f_b): Likewise.
33452         (RUN_TEST_f_b_tg): Likewise.
33453         (RUN_TEST_f_l): Likewise.
33454         (RUN_TEST_f_L): Likewise.
33455         (RUN_TEST_sincos): Likewise.
33456         * math/gen-libm-test.pl (new_test): Take new argument to indicate
33457         whether to show exceptions.  Do not include ");\n" in return
33458         value.
33459         (special_functions): Output call to RUN_TEST_sincos instead of
33460         check_float calls.  Update calls to new_test.
33461         (parse_args): Output call to single RUN_TEST_* macro instead of
33462         check_* calls and other assignments.  Update calls to new_test.
33464         [BZ #2546]
33465         [BZ #2560]
33466         [BZ #5159]
33467         [BZ #15426]
33468         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
33469         input to result for tgamma overflow.
33470         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
33471         (gamma_coeff): New variable.
33472         (NCOEFF): New macro.
33473         (gamma_positive): New function.
33474         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
33475         underflow here.  Use gamma_positive instead of exp (lgamma) for
33476         other arguments.
33477         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
33478         (gamma_coeff): New variable.
33479         (NCOEFF): New macro.
33480         (gammaf_positive): New function.
33481         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
33482         underflow here.  Use gamma_positive instead of exp (lgamma) for
33483         other arguments.
33484         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
33485         (gamma_coeff): New variable.
33486         (NCOEFF): New macro.
33487         (gammal_positive): New function.
33488         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
33489         underflow here.  Use gamma_positive instead of exp (lgamma) for
33490         other arguments.
33491         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
33492         (gamma_coeff): New variable.
33493         (NCOEFF): New macro.
33494         (gammal_positive): New function.
33495         (__ieee754_gammal_r): Handle positive infinity, overflow and
33496         underflow here.  Handle NaN the same as positive infinity.  Remove
33497         check x < 0xffffffff for negative integers.  Use gamma_positive
33498         instead of exp (lgamma) for other arguments.
33499         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
33500         (gamma_coeff): New variable.
33501         (NCOEFF): New macro.
33502         (gammal_positive): New function.
33503         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
33504         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
33505         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
33506         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
33507         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
33508         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
33509         * sysdeps/generic/math_private.h (__gamma_productf): New
33510         prototype.
33511         (__gamma_product): Likewise.
33512         (__gamma_productl): Likewise.
33513         * math/Makefile (libm-calls): Add gamma_product.
33514         * math/libm-test.inc (tgamma_test): Add more tests.
33515         * sysdeps/i386/fpu/libm-test-ulps: Update.
33516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33518 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
33520         * benchtests/bench-skeleton.c (main): Preheat CPU.
33522 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
33524         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
33526 2013-05-07  Roland McGrath  <roland@hack.frob.com>
33528         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
33529         and _dl_skip_args_internal.
33531 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
33533         * manual/message.texi (Message Translation): Talk about users.
33534         Message to key mapping impacts design.
33536 2013-05-06  Roland McGrath  <roland@hack.frob.com>
33538         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
33540         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
33542         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
33543         * sysdeps/wordsize-64/glob64.c: ... here.
33545         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
33546         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
33547         New macros.
33549         * debug/getlogin_r_chk.c: Moved to ...
33550         * login/getlogin_r_chk.c: ... here.
33551         * debug/Makefile (routines): Move getlogin_r_chk to ...
33552         * login/Makefile (routines): ... here.
33553         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
33554         * login/Versions (libc: GLIBC_2.4): ... here.
33556         * io/poll.c (__poll): Renamed from poll.
33557         Add libc_hidden_def.
33558         (poll): Define as weak alias.
33560         * debug/ptsname_r_chk.c: Moved to ...
33561         * login/ptsname_r_chk.c: ... here.
33562         * debug/Makefile (routines): Move ptsname_r_chk to ...
33563         * login/Makefile (routines): ... here.
33564         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
33565         * login/Versions (libc: GLIBC_2.4): ... here.
33567         * posix/getlogin.c: Moved to ...
33568         * login/getlogin.c: ... here.
33569         * posix/getlogin_r.c: Moved to ...
33570         * login/getlogin_r.c: ... here.
33571         * posix/getlogin_r.c: Moved to ...
33572         * login/getlogin_r.c: ... here.
33573         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
33574         * login/Makefile (routines): ... here.
33575         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
33576         * login/Versions (libc: GLIBC_2.0): ... here.
33578         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
33579         (setrlimit): Define as weak alias.
33581         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
33582         Call __ names for open, ftruncate, and close.
33583         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
33584         (truncate): Define as weak alias.
33586 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
33588         * math/gen-libm-test.pl (parse_args): Initialize x before each
33589         test of frexp, modf and remquo.
33591         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
33592         test signgam value.
33594 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33596         [BZ #15418]
33597         [BZ #15419]
33598         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
33599         internal tests.
33600         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33602 2013-05-06  Roland McGrath  <roland@hack.frob.com>
33604         * elf/dl-writev.h: New file.
33605         * elf/dl-misc.c: Include it.
33606         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
33607         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
33609 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
33611         * math/libm-test.inc (noXFails): Remove variable.
33612         (noXPasses): Likewise.
33613         (BUILD_COMPLEX_INT): Remove macro.
33614         (print_screen): Remove xfail argument.
33615         (print_screen_max_error): Likewise.
33616         (update_stats): Likewise.
33617         (print_max_error): Likewise.  Update calls to other affected
33618         functions.
33619         (print_complex_max_error): Likewise.
33620         (test_single_exception): Update calls to print_screen.
33621         (test_single_errno): Likewise.
33622         (check_float_internal): Remove xfail argument.  Update calls to
33623         other affected functions.
33624         (check_float): Likewise.
33625         (check_complex): Likewise.
33626         (check_int): Likewise.
33627         (check_long): Likewise.
33628         (check_bool): Likewise.
33629         (check_longlong): Likewise.
33630         (main): Don't print noXFails and noXPasses.
33631         * math/gen-libm-test.pl (top level): Don't mention expected
33632         failure handling in comment.
33633         (new_test): Don't handle expected failures.
33634         (parse_args): Don't mention expected failure handling in comment.
33635         (generate_testfile): Don't handle expected failures.
33636         (parse_ulps): Likewise.
33637         (print_ulps_file): Likewise.
33638         (get_failure): Remove function.
33639         (output_test): Don't handle expected failures.
33640         * make/README.libm-test: Don't mention expected failure handling.
33642         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
33643         (minus_zero): Likewise.
33644         (plus_infty): Likewise.
33645         (minus_infty): Likewise.
33646         (qnan_value): Likewise.
33647         (max_value): Likewise.
33648         (min_value): Likewise.
33649         (min_subnorm_value): Likewise.
33650         (initialize): Do not initialize those variables dynamically.
33652 2013-05-03  Roland McGrath  <roland@hack.frob.com>
33654         * io/open.c (__open_2): Moved to ...
33655         * io/open_2.c: ... this new file.
33656         * io/open64.c (__open64_2): Moved to ...
33657         * io/open64_2.c: ... this new file.
33658         * io/openat.c (__openat_2): Moved to ...
33659         * io/openat_2.c: ... this new file.
33660         * io/openat64.c (__openat64_2): Moved to ...
33661         * io/openat64_2.c: ... this new file.
33662         * io/Makefile (routines): Add them.
33663         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
33664         * sysdeps/unix/sysv/linux/open_2.c: File removed.
33665         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
33666         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
33667         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
33668         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
33669         (__openat64): Add hidden_ver.
33670         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
33671         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
33673         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
33674         Separately conditionalize setting of GLRO(dl_sysinfo) so
33675         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
33676         as well, but the actual setting is only under [NEED_DL_SYSINFO].
33678 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33680         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
33681         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
33682         definition.
33683         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
33684         * sysdeps/unix/sysv/linux/powerpc/init-first.c
33685         (_libc_vdso_platform_setup): Add __vdso_time initialization.
33686         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
33687         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
33689 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
33691         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
33692         test signgam value.
33694         * math/libm-test.inc (hypot_test): Do not use
33695         IGNORE_ZERO_INF_SIGN.
33697 2013-05-03  Andreas Jaeger  <aj@suse.de>
33699         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
33700         Linux 3.9.
33701         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
33702         (PF_MAX): Adjust for VSOCK change.
33704 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33706         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33708 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
33710         [BZ #15264]
33711         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
33712         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
33713         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
33715 2013-05-02  David S. Miller  <davem@davemloft.net>
33717         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33719 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
33721         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
33723 2013-05-01  Roland McGrath  <roland@hack.frob.com>
33725         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
33727 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
33729         [BZ #14952]
33730         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
33731         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
33732         Use __attribute__ ((__gnu_inline__)).
33733         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
33734         Don't use __attribute__ ((__gnu_inline__)).
33736 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
33738         [BZ #15423]
33739         * math/s_catan.c (__catan): Handle small real or imaginary part of
33740         input specially to avoid spurious underflow.
33741         * math/s_catanf.c (__catanf): Likewise.
33742         * math/s_catanh.c (__catanh): Likewise.
33743         * math/s_catanhf.c (__catanhf): Likewise.
33744         * math/s_catanhl.c (__catanhl): Likewise.
33745         * math/s_catanl.c (__catanl): Likewise.
33746         * math/libm-test.inc (catan_test): Add more tests.
33747         (catanh_test): Likewise.
33748         * sysdeps/i386/fpu/libm-test-ulps: Update.
33749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33751 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33753         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33755 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
33757         [BZ #15416]
33758         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
33759         accurately for denominator in atan2.
33760         * math/s_catanf.c (__catanf): Likewise.
33761         * math/s_catanh.c (__catanh): Likewise.
33762         * math/s_catanhf.c (__catanhf): Likewise.
33763         * math/s_catanhl.c (__catanhl): Likewise.
33764         * math/s_catanl.c (__catanl): Likewise.
33765         * math/libm-test.inc (catan_test): Add more tests.
33766         (catanh_test): Likewise.
33767         * sysdeps/i386/fpu/libm-test-ulps: Update.
33768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33770 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33772         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
33774         * benchtests/Makefile (bench): Remove slow benchmarks.
33775         * benchtests/atan-inputs: Add slow benchmark inputs.
33776         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
33777         (BENCH_FUNC): Accept variant offset.
33778         (VARIANT): Define.
33779         * benchtests/bench-skeleton.c (main): Run benchmark for each
33780         variant.
33781         * benchtests/cos-inputs: Add slow benchmark inputs.
33782         * benchtests/exp-inputs: Likewise.
33783         * benchtests/pow-inputs: Likewise.
33784         * benchtests/sin-inputs: Likewise.
33785         * benchtests/slowatan-inputs: Remove.
33786         * benchtests/slowatan.c: Remove.
33787         * benchtests/slowcos-inputs: Remove.
33788         * benchtests/slowcos.c: Remove.
33789         * benchtests/slowexp-inputs: Remove.
33790         * benchtests/slowexp.c: Remove.
33791         * benchtests/slowpow-inputs: Remove.
33792         * benchtests/slowpow.c: Remove.
33793         * benchtests/slowsin-inputs: Remove.
33794         * benchtests/slowsin.c: Remove.
33795         * benchtests/slowtan-inputs: Remove.
33796         * benchtests/slowtan.c: Remove.
33797         * benchtests/tan-inputs: Add slow benchmark inputs.
33798         * scripts/bench.pl: Parse comments and directives.
33800         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
33801         in CPPFLAGS.
33802         ($(objpfx)bench-%.c): Remove *-ITER.
33803         * benchtests/bench-modf.c: Remove definition of ITER.
33804         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
33805         (main): Loop for DURATION seconds instead of fixed number of
33806         iterations.
33807         * scripts/bench.pl: Don't expect iterations in parameters.
33809 2013-04-29  Roland McGrath  <roland@hack.frob.com>
33811         * io/fchdir.c (__fchdir): Renamed from fchdir.
33812         (fchdir): Define as weak alias.
33814 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
33816         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
33817         (ERRNO_EDOM): Likewise.
33818         (ERRNO_ERANGE): Likewise.
33819         (noErrnoTests): New variable.
33820         (init_max_error): Set errno to 0.
33821         (test_single_errno): New function.
33822         (test_errno): Likewise.
33823         (check_float_internal): Call test_errno.  Set errno to 0.
33824         (check_complex): Refer to errno tests in comment.
33825         (check_int): Call test_errno.  Set errno to 0.
33826         (check_long): Likewise.
33827         (check_bool): Likewise.
33828         (check_longlong): Likewise.
33829         (cos_test): Use ERRNO_* flags for errno tests instead of
33830         check_int.
33831         (expm1_test): Likewise.
33832         (fmod_test): Likewise.
33833         (ilogb_test): Likewise.
33834         (lgamma_test): Likewise.
33835         (pow_test): Likewise.
33836         (remainder_test): Likewise.
33837         (sin_test): Likewise.
33838         (tan_test): Likewise.
33839         (yn_test): Likewise.
33840         (initialize): Set errno to 0.
33841         (main): Print number of errno tests.
33842         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
33844 2013-04-29  Andreas Jaeger  <aj@suse.de>
33846         [BZ #15084]
33847         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
33848         and RES_USEVC.
33850         [BZ #15085]
33851         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
33852         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
33853         unimplemented.
33855         [BZ #15380]
33856         * stdlib/random.c (__initstate): Return NULL if
33857         __initstate fails.
33859         [BZ #15086]
33860         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
33861         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
33862         RES_SNGLKUPREOP.
33864 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33866         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33868 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
33870         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
33871         of individual tests.
33872         (casin_test): Likewise.
33873         (casinh_test): Likewise.
33875 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
33877         [BZ #15409]
33878         * math/s_catan.c (__catan): Handle arguments with large real or
33879         imaginary part separately without squaring.
33880         * math/s_catanf.c (__catanf): Likewise.
33881         * math/s_catanh.c (__catanh): Likewise.
33882         * math/s_catanhf.c (__catanhf): Likewise.
33883         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33884         and redefine.
33885         (__catanhl): Handle arguments with large real or imaginary part
33886         separately without squaring.
33887         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33888         and redefine.
33889         (__catanl): Handle arguments with large real or imaginary part
33890         separately without squaring.
33891         * math/libm-test.inc (catan_test): Add more tests.
33892         (catanh_test): Likewise.
33893         * sysdeps/i386/fpu/libm-test-ulps: Update.
33894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33896 2013-04-27  Andreas Jaeger  <aj@suse.de>
33898         [BZ #15007]
33899         * stdlib/stdlib.h: Update guards for qecvt.
33900         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
33901         <stdlib.h>.
33903 2013-04-27  Allan McRae  <allan@archlinux.org>
33905         * sysdeps/i386/fpu/libm-test-ulps: Update.
33907 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
33909         [BZ #15406]
33910         * math/s_catan.c: Include <float.h>.
33911         (__catan): Ensure underflow exception occurs for underflowed
33912         result.
33913         * math/s_catanf.c: Include <float.h>.
33914         (__catanf): Ensure underflow exception occurs for underflowed
33915         result.
33916         * math/s_catanh.c: Include <float.h>.
33917         (__catanh): Ensure underflow exception occurs for underflowed
33918         result.
33919         * math/s_catanhf.c: Include <float.h>.
33920         (__catanhf): Ensure underflow exception occurs for underflowed
33921         result.
33922         * math/s_catanhl.c: Include <float.h>.
33923         (__catanhl): Ensure underflow exception occurs for underflowed
33924         result.
33925         * math/s_catanl.c: Include <float.h>.
33926         (__catanl): Ensure underflow exception occurs for underflowed
33927         result.
33928         * math/libm-test.inc (catan_test): Add more tests.
33929         (catanh_test): Likewise.
33931         [BZ #15405]
33932         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
33933         underflowed result.
33934         * math/s_ccoshf.c (__ccoshf): Likewise.
33935         * math/s_ccoshl.c (__ccoshl): Likewise.
33936         * math/s_csin.c (__csin): Likewise.
33937         * math/s_csinf.c (__csinf): Likewise.
33938         * math/s_csinh.c (__csinh): Likewise.
33939         * math/s_csinhf.c (__csinhf): Likewise.
33940         * math/s_csinhl.c (__csinhl): Likewise.
33941         * math/s_csinl.c (__csinl): Likewise.
33942         * math/libm-test.inc (ccos_test): Add more tests.
33943         (ccosh_test): Likewise.
33944         (csin_test): Likewise.
33945         (csinh_test): Likewise.
33947 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33949         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
33950         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
33951         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
33952         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
33953         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
33954         powerpc/power5+/fpu folders.
33955         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
33958 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
33960         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33962 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
33964         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
33965         additions to variable.
33966         [$(config-machine) = x86_64] (modules-names): Likewise.
33967         ($(objpfx)tst-audit3): Remove dependency.
33968         ($(objpfx)tst-audit3.out): Likewise.
33969         ($(objpfx)tst-audit4): Likewise.
33970         ($(objpfx)tst-audit4.out): Likewise.
33971         ($(objpfx)tst-audit5): Likewise.
33972         ($(objpfx)tst-audit5.out): Likewise.
33973         ($(objpfx)tst-audit6): Likewise.
33974         ($(objpfx)tst-audit6.out): Likewise.
33975         ($(objpfx)tst-audit7): Likewise.
33976         ($(objpfx)tst-audit7.out): Likewise.
33977         (tst-audit3-ENV): Remove variable.
33978         (tst-audit4-ENV): Likewise.
33979         (tst-audit5-ENV): Likewise.
33980         (tst-audit6-ENV): Likewise.
33981         (tst-audit7-ENV): Likewise.
33982         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
33983         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
33984         addition to variable.
33985         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
33986         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
33987         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
33988         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
33989         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
33990         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
33991         tst-audit3, tst-audit4 and tst-audit5.
33992         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
33993         tst-audit6 and tst-audit7.
33994         [$(subdir) = elf] (modules-names): Add audit modules for those
33995         tests.
33996         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
33997         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
33998         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
33999         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
34000         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
34001         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
34002         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
34003         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
34004         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
34005         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
34006         [$(subdir) = elf] (tst-audit3-ENV): New variable.
34007         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
34008         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
34009         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
34010         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
34011         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
34012         Likewise.
34013         [$(subdir) = elf && $(config-cflags-avx) = yes]
34014         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
34015         [$(subdir) = elf && $(config-cflags-avx) = yes]
34016         (CFLAGS-tst-auditmod4a.c): Likewise.
34017         [$(subdir) = elf && $(config-cflags-avx) = yes]
34018         (CFLAGS-tst-auditmod4b.c): Likewise.
34019         [$(subdir) = elf && $(config-cflags-avx) = yes]
34020         (CFLAGS-tst-auditmod6b.c): Likewise.
34021         [$(subdir) = elf && $(config-cflags-avx) = yes]
34022         (CFLAGS-tst-auditmod6c.c): Likewise.
34023         [$(subdir) = elf && $(config-cflags-avx) = yes]
34024         (CFLAGS-tst-auditmod7b.c): Likewise.
34025         * elf/tst-audit3.c: Move to ...
34026         * sysdeps/x86_64/tst-audit3.c: ... here.
34027         * elf/tst-audit4.c: Move to ...
34028         * sysdeps/x86_64/tst-audit4.c: ... here.
34029         * elf/tst-audit5.c: Move to ...
34030         * sysdeps/x86_64/tst-audit5.c: ... here.
34031         * elf/tst-audit6.c: Move to ...
34032         * sysdeps/x86_64/tst-audit6.c: ... here.
34033         * elf/tst-audit7.c: Move to ...
34034         * sysdeps/x86_64/tst-audit7.c: ... here.
34035         * elf/tst-auditmod3a.c: Move to ...
34036         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
34037         * elf/tst-auditmod3b.c: Move to ...
34038         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
34039         * elf/tst-auditmod4a.c: Move to ...
34040         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
34041         * elf/tst-auditmod4b.c: Move to ...
34042         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
34043         * elf/tst-auditmod5a.c: Move to ...
34044         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
34045         * elf/tst-auditmod5b.c: Move to ...
34046         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
34047         * elf/tst-auditmod6a.c: Move to ...
34048         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
34049         * elf/tst-auditmod6b.c: Move to ...
34050         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
34051         * elf/tst-auditmod6c.c: Move to ...
34052         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
34053         * elf/tst-auditmod7a.c: Move to ...
34054         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
34055         * elf/tst-auditmod7b.c: Move to ...
34056         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
34058 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
34060         [BZ #15366]
34061         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
34062         define unconditionally.
34063         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
34064         define unconditionally.
34065         (INT8_C, INT16_C, etc.): Likewise.
34067 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
34069         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
34070         __ehdr_start with hidden visibility.
34072         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
34074 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
34076         * math/libm-test.inc (cos_test): Use accurate hex constants.
34077         (sincost_test): Likewise.
34079 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
34081         * math/libm-test.inc (catan_test): Add more tests.
34082         (catanh_test): Likewise.
34084         * math/s_catanf.c (__catanf): Use suffixed floating-point
34085         constants.
34086         * math/s_catanhf.c (__catanhf): Likewise.
34087         * math/s_catanhl.c (__catanhl): Likewise.
34088         * math/s_catanl.c (__catanl): Likewise.
34090         [BZ #15394]
34091         * math/s_catan.c (__catan): Calculate imaginary part of result
34092         with log1p not log unless computing log of number close to 0.
34093         * math/s_catanf.c (__catanf): Likewise.
34094         * math/s_catanl.c (__catanl): Likewise.
34095         * math/s_catanh.c (__catanh): Calculate real part of result with
34096         log1p not log unless computing log of number close to 0.
34097         * math/s_catanhf.c (__catanhf): Likewise.
34098         * math/s_catanhl.c (__catanhl): Likewise.
34099         * math/libm-test.inc (catan_test): Add more tests.
34100         (catanh_test): Likewise.
34101         * sysdeps/i386/fpu/libm-test-ulps: Update.
34102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34104 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34106         * benchtests/Makefile: Mention files in which fast and slow
34107         paths of math functions are implemented.
34109 2013-04-23  Roland McGrath  <roland@hack.frob.com>
34111         * sysdeps/posix/timespec_get.c: New file.
34113 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34115         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
34116         POWER.
34117         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
34118         for POWER.
34119         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
34120         powerpc/power5/fpu folders.
34121         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
34122         * benchtests/Makefile: Add modf testcase.
34123         * benchtests/bench-modf.c: New file: Benchmark test for mo
34125 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
34127         [BZ #14888]
34128         * time/Makefile (tests): Add tst-strptime-whitespace.
34129         * time/strptime_l.c (get_number): Use ISSPACE.
34130         (__strptime_internal): Likewise.
34131         * time/tst-strptime-whitespace.c: New test case.
34133 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
34135         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
34136         member.
34137         (_nss_files_init): Set it here.
34139 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
34141         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
34142         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
34143         unsigned.
34145 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
34147         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
34149 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34151         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
34152         size just once.
34154 2013-04-21  David S. Miller  <davem@davemloft.net>
34156         * po/ru.po: Update Russion translation from translation project.
34158 2013-04-17  Adam Conrad  <adconrad@0c3.net>
34160         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
34161         and setfsgid.
34163 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
34165         * configure.in: Remove i386 configure warning. Remove i386 case.
34166         * configure: Regenerate.
34167         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
34168         Add example to error message.
34169         * sysdeps/i386/configure: Regenerate.
34171 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34173         * benchtests/Makefile (bench): Add cos, tan, slowcos and
34174         slowtan.
34175         * benchtests/cos-inputs: New file.
34176         * benchtests/slowcos-inputs: New file.
34177         * benchtests/slowcos.c: New file.
34178         * benchtests/slowtan-inputs: New file.
34179         * benchtests/slowtan.c: New file.
34180         * benchtests/tan-inputs: New file.
34182 2013-04-16  Roland McGrath  <roland@hack.frob.com>
34184         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
34185         considered kosher.
34187 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34189         * benchtests/Makefile: Include cppflags-iterator.mk to add
34190         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
34192         * Makefile.in (bench-clean): New target.
34193         * benchtests/Makefile (bench-clean): Likewise.
34195 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
34197         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
34199 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
34201         * stdio-common/tstdiomisc.c: Fix coding-style violation.
34203 2013-04-15  Andreas Schwab  <schwab@suse.de>
34205         * nscd/grpcache.c (cache_addgr): Properly check for short write.
34206         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34207         * nscd/pwdcache.c (cache_addpw): Likewise.
34208         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
34209         more than recsize.
34211 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34213         * benchtests/Makefile (bench): Write all output to
34214         bench-out.tmp together.
34216 2013-04-15  Andreas Schwab  <schwab@suse.de>
34218         * nscd/nscd.c (main): Don't fork again after closing files.
34220 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34222         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
34224         * benchtests/Rules (bench-deps): Collect dependencies into a
34225         single variable.  Add Makefile to dependencies.
34226         ($(objpfx)bench-%.c): Depend on bench-deps.
34228 2013-04-12  Roland McGrath  <roland@hack.frob.com>
34229             Xavier Roche  <roche+kml2@exalead.com>
34231         [BZ #15361]
34232         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
34233         just that it's a file descriptor.
34234         * manual/llio.texi (Synchronizing AIO Operations): Update description
34235         for EBADF error from aio_fsync.
34237 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
34239         * Rules (bench): Move target definition...
34240         * benchtests/Makefile: ... here.
34242 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
34244         * math/libm-test.inc (cos_test): Fix PI/2 test.
34245         (sincos_test): Likewise.
34246         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
34247         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
34249 2013-04-11  Andreas Schwab  <schwab@suse.de>
34251         [BZ #13988]
34252         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
34253         accept exponent character only when digits were seen.
34254         * stdio-common/Makefile (tests): Add bug26.
34255         * stdio-common/bug26.c: New file.
34257         [BZ #14293]
34258         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
34259         non-freeable.
34261 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34263         * Makeconfig (rtld-prefix): Define built linker prefix.
34264         * Rules (run-bench): Use it.
34265         * math/Makefile (run-regen-ulps): Likewise.
34267         * Rules (bench): Remove eval.
34269 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34270             Roland McGrath  <roland@hack.frob.com>
34271             Ondrej Bilka  <neleai@seznam.cz>
34273         [BZ #15346]
34274         * time/getdate.c: Include ctype.h and alloca.h.
34275         (__getdate_r): Trim leading and trailing spaces of input.
34276         * time/tst-getdate.c (tests): Add tests with leading and
34277         trailing spaces.
34279 2013-04-08  Roland McGrath  <roland@hack.frob.com>
34281         [BZ #14280]
34282         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
34283         when computing value.
34285 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34287         * math/README.libm-test (How can I generate "libm-test-ulps"?):
34288         Use testrun.sh to run libm tests.
34290         [BZ #15309]
34291         * elf/dl-open.c (dl_open_worker): memset all of seen array.
34293 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
34295         [BZ #15264]
34296         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
34298 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34300         * Makefile.in (regen-ulps): New target.
34301         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
34302         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
34303         [ifneq (no,$(PERL)] (regen-ulps): New target.
34304         [ifeq (no,$(PERL)] (regen-ulps): New target.
34305         * math/libm-test.inc (ulps_file_name): Define.
34306         (output_dir): New variable.
34307         (options): Add "output-dir" option.
34308         (parse_opt): Handle 'o' case.
34309         (main): If output_dir is non-NULL use it as a prefix
34310         otherwise use "".
34311         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
34313 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34315         [BZ #10060, #10062]
34316         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
34317         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
34318         fail configure if __sync_val_compare_and_swap is not inlined.
34319         * sysdeps/i386/configure: Regenerate.
34320         * configure.in: Build for i686 when configured for i386.
34321         * configure: Regenerate.
34322         * README: Remove i386 reference.
34324 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34326         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
34327         * sysdeps/s390/s390-64/sysdep.h: Likewise.
34329 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
34331         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
34332         (lmsnanval): New variables.
34333         (F): Add conversion tests.
34334         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
34335         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
34337         * stdio-common/tstdiomisc.c (F): Properly collect individual
34338         tests' results.
34340         [BZ #14686, #15336]
34341         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
34342         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
34343         Instead, use input NaN values or generate a qNaN by arithmetic
34344         operation.  Also fix bugs to comply with the standard.
34345         * math/libm-test.inc (remainder_test): Add more tests.
34347         [BZ #15335, #15342]
34348         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
34349         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
34350         input NaN values or generate a qNaN by arithmetic operation.
34352         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
34353         unreachable code.
34355         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
34356         definitions.
34358 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
34360         [BZ #14478]
34361         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
34362         underflowed result.
34363         * math/s_cexpf.c (__cexpf): Likewise.
34364         * math/s_cexpl.c (__cexpl): Likewise.
34365         * math/libm-test.inc (cexp_test): Add more tests.
34367 2013-04-03  Andreas Schwab  <schwab@suse.de>
34369         [BZ #15330]
34370         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
34371         order arrays from heap if bigger than alloca cutoff.
34373 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
34375         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
34376         (SNAN_TESTS_double): Refer to GCC PR56831.
34377         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
34378         GCC PR56828.
34380 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
34382         * Rules (bench): Move bench.out after the run is complete.
34384         * Rules (bench): Echo currently running benchmark.
34386         * benchtests/Makefile (bench): Add atan and slowatan.
34387         * benchtests/atan-inputs: New file.
34388         * benchtests/slowatan-inputs: New file.
34389         * benchtests/slowatan.c: New file.
34391         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
34392         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
34393         its value.
34395         [BZ #15305]
34396         * sysdeps/unix/sysv/linux/kernel-features.h
34397         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
34398         __ASSUME_XFS_RESTRICTED_CHOWN.
34399         * sysdeps/unix/sysv/linux/pathconf.c
34400         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
34401         Save and restore errno.
34403 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
34405         [BZ #15327]
34406         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
34407         arguments using __kernel_casinh.
34408         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
34409         arguments using __kernel_casinhf.
34410         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
34411         arguments using __kernel_casinhl.
34412         * math/libm-test.inc (cacosh_test): Add more tests.
34413         * sysdeps/i386/fpu/libm-test-ulps: Update.
34414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34416 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34418         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
34419         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
34421         * bench/Makefile (bench): Add sin and slowsin.
34422         * benchtests/sin-inputs: New file.
34423         * benchtests/slowsin-inputs: New file.
34424         * benchtests/slowsin.c: New file.
34426         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
34427         (bench): Add slowexp and slowpow.
34428         (exp-ITER): Increase iterations.
34429         (pow-ITER): Likewise.
34430         * benchtests/exp-inputs: Change input.
34431         * benchtests/pow-inputs: Likewise.
34432         * benchtests/slowexp-inputs: New file.
34433         * benchtests/slowexp.c: New file.
34434         * benchtests/slowpow-inputs: New file.
34435         * benchtests/slowpow.c: New file.
34437 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34439         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
34440         instructions.
34441         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
34442         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
34443         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
34444         * benchtests/Makefile: Add rint benchtest.
34445         * benchtests/rint-inputs: Input for rint benchtest.
34447 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
34449         * Versions.def (libm): Add GLIBC_2.18.
34450         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
34451         hidden libm prototypes.
34452         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
34453         * math/Makefile (libm-calls): Add s_issignaling.
34454         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
34455         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
34456         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
34457         declaration.
34458         * math/math.h [__USE_GNU] (issignaling): New macro.
34459         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
34460         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
34461         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
34462         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
34463         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
34464         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
34465         * manual/arith.texi (issignaling): New section.
34466         * manual/libm-err-tab.pl (@all_functions): Update comment.
34467         * math/gen-libm-test.pl (parse_args): Apply special handling for
34468         issignaling.
34469         * math/libm-test.inc (print_float, issignaling_test): New
34470         functions.
34471         (check_float_internal): Add issignaling checks.
34472         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
34473         default definition.
34474         * sysdeps/powerpc/math-tests.h: New file.
34475         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
34476         tests.
34477         * math/test-snan.c (TEST_FUNC): Likewise.
34479 2013-03-30  David S. Miller  <davem@davemloft.net>
34481         * po/de.po: Update from translation team.
34483 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
34485         [BZ #10357]
34486         * math/k_casinh.c (__kernel_casinh): Handle arguments with
34487         imaginary part less than 1.0 and real part less than 0.5
34488         specially.
34489         * math/k_casinhf.c (__kernel_casinhf): Likewise.
34490         * math/k_casinhl.c (__kernel_casinhl): Likewise.
34491         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
34492         (cacos_test): Add more tests.
34493         (casin_test): Likewise.
34494         (casinh_test): Likewise.
34495         * sysdeps/i386/fpu/libm-test-ulps: Update.
34496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34498 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34500         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
34501         ONE with its value.
34503         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
34504         (__pow_mp): Replace ONE and MONE with their values.
34505         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34506         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
34507         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34508         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
34509         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34510         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34512         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
34514         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
34515         (__pow_mp): Replace ZERO and MZERO with their values.
34516         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
34517         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34518         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34519         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34520         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34521         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
34522         (__sqr): Likewise.
34524         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
34526         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
34528 2013-03-28  Roland McGrath  <roland@hack.frob.com>
34530         * include/stdlib.h [!SHARED] (__call_tls_dtors):
34531         Declare with __attribute__ ((weak)).
34532         * stdlib/exit.c (__libc_atexit) [!SHARED]:
34533         Call __call_tls_dtors only if it's not NULL.
34535 2013-03-28  Roland McGrath  <roland@hack.frob.com>
34537         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
34538         didn't do it already, then set _dl_phdr and _dl_phnum based on the
34539         magic __ehdr_start linker symbol if it's defined.
34540         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
34541         them up here if it was already done.
34543         * elf/dl-support.c (_dl_phdr): Make pointer to const.
34544         (_dl_aux_init): Use const in cast when setting it.
34545         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
34546         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
34547         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
34549         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
34550         Declare them here.
34551         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
34552         * csu/libc-tls.c: Nor here.
34553         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
34555         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
34556         (__libc_message): Never call vsyslog.
34558 2013-03-28  Alan Modra  <amodra@gmail.com>
34560         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
34561         Define as empty.
34562         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
34563         Likewise.
34565 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34567         [BZ #15214]
34568         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
34569         underflow.
34570         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34572 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34574         [BZ #15304]
34575         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
34576         Don't add gid passed as argument.
34578         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
34580 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
34582         [BZ #15307]
34583         * math/k_casinh.c (__kernel_casinh): Handle arguments with
34584         imaginary part between 1.0 and 1.5 and real part less than 0.5
34585         specially.
34586         * math/k_casinhf.c (__kernel_casinhf): Likewise.
34587         * math/k_casinhl.c (__kernel_casinhl): Likewise.
34588         * math/libm-test.inc (cacos_test): Add more tests.
34589         (casin_test): Likewise.
34590         (casinh_test): Likewise.
34591         * sysdeps/i386/fpu/libm-test-ulps: Update.
34592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34594 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34596         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
34597         constants.
34598         (norm): Likewise.
34599         (denorm): Likewise.
34600         (__dbl_mp): Likewise.
34601         (add_magnitudes): Likewise.
34602         (sub_magnitudes): Likewise.
34603         (__add): Likewise.
34604         (__sub): Likewise.
34605         (__mul): Likewise.
34606         (__sqr): Likewise.
34607         (__inv): Likewise.
34608         (__dvd): Likewise.
34610         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
34611         commented code.
34612         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
34613         (__dubcos): Likewise.
34614         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
34615         (__ieee754_acos): Likewise.
34616         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
34617         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
34618         (__exp1): Likewise.
34619         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34620         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34621         (log1): Likewise.
34622         (my_log2): Likewise.
34623         (checkint): Likewise.
34624         * sysdeps/ieee754/dbl-64/e_remainder.c
34625         (__ieee754_remainder): Likewise.
34626         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34627         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
34628         (bsloww): Likewise.
34629         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34631         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
34632         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
34633         MANTISSA_STORE_T to store computations on mantissa.  Use
34634         macros for rounding and division.
34635         (denorm): Likewise.
34636         (__dbl_mp): Likewise.
34637         (add_magnitudes): Likewise.
34638         (sub_magnitudes): Likewise.
34639         (__mul): Likewise.
34640         (__sqr): Likewise.
34641         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
34642         powers of two in terms of TWOPOW macro.
34643         (mp_no): Make type of mantissa as MANTISSA_T.
34644         [!RADIXI]: Define RADIXI.
34645         [!TWO52]: Define TWO52.
34646         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
34648 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34650         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
34651         llroundl symbol when building for PPC32.
34653 2013-03-24  Mark H Weaver  <mhw@netris.org>
34655         * manual/arith.texi (Normalization Functions): Fix prototypes for
34656         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
34658 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34660         [BZ #13889]
34661         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
34662         high value to check if expl overflow.
34663         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
34664         to check for underflow and overflow.
34665         * math/libm-test.inc: Add exp test.
34667 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
34669         [BZ #11120]
34670         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
34671         with NOT_IN_libc.
34673 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34675         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
34676         symbol.
34678 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
34680         * math/gen-libm-test.pl (parse_args, special_functions): Properly
34681         wrap blocks consisting of several statements.
34683         * sysdeps/generic/math-tests.h: New file.
34684         * sysdeps/i386/fpu/math-tests.h: Likewise.
34685         * math/test-snan.c: Include it.
34686         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
34688 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
34690         [BZ #15285]
34691         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
34692         (__ieee754_j0l): Do not improve calculations using cos of twice
34693         input for inputs above LDBL_MAX / 2.0L.
34694         (__ieee754_y0l): Likewise.
34695         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
34696         (__ieee754_j1l): Do not improve calculations using cos of twice
34697         input for inputs above LDBL_MAX / 2.0L.
34698         (__ieee754_y1l): Likewise.
34699         * math/libm-test.inc (j0_test): Add another test.
34700         (j1_test): Likewise.
34701         (y0_test): Likewise.
34702         (y1_test): Likewise.
34703         * sysdeps/i386/fpu/libm-test-ulps: Update.
34705 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34707         * Rules ($(objpfx)bench-%.c): Include code from a C source
34708         file.
34710 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
34712         [BZ #15287]
34713         * math/k_casinh.c (__kernel_casinh): Handle arguments with
34714         imaginary part 1.0 and real part less than 0.5 specially.
34715         * math/k_casinhf.c (__kernel_casinhf): Likewise.
34716         * math/k_casinhl.c (__kernel_casinhl): Likewise.
34717         * math/libm-test.inc (cacos_test): Add more tests.
34718         (casin_test): Likewise.
34719         (casinh_test): Likewise.
34720         * sysdeps/i386/fpu/libm-test-ulps: Update.
34721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34723 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34725         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
34726         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
34728 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
34730         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
34731         * config.make.in (config-cflags-sse4): Remove variable.
34732         (config-cflags-avx): Likewise.
34733         (config-cflags-sse2avx): Likewise.
34734         (config-cflags-novzeroupper): Likewise.
34735         (config-asflags-i686): Likewise.
34736         (have-mfma4): Likewise.
34737         (have-as-vis3): Likewise.
34738         (MIG): Likewise.
34739         * configure.in (MIG): Do not AC_SUBST.
34740         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
34741         (libc_cv_cc_sse4): Do not AC_SUBST.
34742         (libc_cv_cc_avx): Likewise.
34743         (libc_cv_cc_sse2avx): Likewise.
34744         (libc_cv_cc_novzeroupper): Likewise.
34745         (libc_cv_cc_fma4): Likewise.
34746         (libc_cv_as_i686): Likewise.
34747         (libc_cv_sparc_as_vis3): Likewise.
34748         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
34749         LIBC_CONFIG_VAR.
34750         (config-asflags-i686): Likewise.
34751         (config-cflags-avx): Likewise.
34752         (config-cflags-sse2avx): Likewise.
34753         (have-mfma4): Likewise.
34754         (config-cflags-novzeroupper): Likewise.
34755         * sysdeps/mach/configure.in (MIG): Likewise.
34756         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
34757         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
34758         LIBC_CONFIG_VAR.
34759         (config-cflags-avx): Likewise.
34760         (config-cflags-sse2avx): Likewise.
34761         (have-mfma4): Likewise.
34762         (config-cflags-novzeroupper): Likewise.
34763         * configure: Regenerated.
34764         * sysdeps/i386/configure: Likewise.
34765         * sysdeps/mach/configure: Likewise.
34766         * sysdeps/sparc/configure: Likewise.
34767         * sysdeps/x86_64/configure: Likewise.
34769 2013-03-20  Roland McGrath  <roland@hack.frob.com>
34771         [BZ #14812]
34772         * locale/programs/localedef.c (options): Put N_ translation marker
34773         on argument names, not just descriptions.
34775 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34777         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
34779 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
34781         [BZ #14176]
34782         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
34784 2013-03-19  Roland McGrath  <roland@hack.frob.com>
34786         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
34787         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
34788         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
34789         [!BEFORE_ABORT] (before_abort): New function.
34790         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
34791         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
34792         (writev_for_fatal): New function.
34793         (WRITEV_FOR_FATAL): New macro; call that.
34794         (backtrace_and_maps): New function.
34795         (BEFORE_ABORT): New macro; call that.
34796         (struct str_list): Type removed.
34797         (__libc_message, __libc_fatal): Functions removed.
34798         Include <sysdeps/posix/libc_fatal.c> instead.
34800 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
34802         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
34803         constants.
34804         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
34805         double constants.
34807 2013-03-19  Andreas Schwab  <schwab@suse.de>
34809         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
34810         * sysdeps/gnu/configure: Regenerate.
34812         * configure.in: Substitute libc_cv_rtlddir.
34813         * configure: Regenerate.
34814         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
34815         * Makeconfig (rtlddir, inst_rtlddir): New variables.
34816         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
34817         * elf/Makefile (install-others, CFLAGS-interp.c)
34818         (ldso_install, common-ldd-rewrite): Likewise.
34819         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
34820         $(inst_slibdir)/$(rtld-installed-name).
34821         * scripts/rellns-sh: Add -p option.
34822         * Makerules (make-shlib-link): Use rellns-sh to get relative name
34823         for source.
34825 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34827         * manual/nptl.texi: Renamed to ...
34828         * manual/threads.texi: ... this.
34829         * manual/Makefile (chapters): Update.
34831 2013-03-18  Roland McGrath  <roland@hack.frob.com>
34833         [BZ #14812]
34834         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
34835         on argument names, not just descriptions.
34836         * malloc/memusagestat.c (options): Likewise.
34837         * nss/getent.c (options): Likewise.
34839 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
34841         [BZ #14812]
34842         * iconv/iconv_prog.c (options): Put N_ translation marker
34843         on argument names, not just descriptions.
34844         * iconv/iconvconfig.c (options): Likewise.
34846 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
34848         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
34849         implementation which is faster on all x86_64 architectures.
34850         Tested on AMD, Intel Nehalem, SNB, IVB.
34851         * sysdeps/x86_64/strnlen.S: Likewise.
34853         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
34854         Remove all multiarch strlen and strnlen versions.
34855         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
34856         Remove strlen and strnlen related parts.
34858         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
34859         Inline strlen part.
34860         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
34862         * sysdeps/x86_64/multiarch/strlen.S: Remove.
34863         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
34864         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
34865         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
34866         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
34867         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
34869 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
34871         * manual/memory.texi (Malloc Tunable Parameters):
34872         Sort parameters alphabetically. Add comments for missing entries.
34874 2013-03-17  David S. Miller  <davem@davemloft.net>
34876         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34878 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
34880         [BZ #15283]
34881         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
34882         for arguments at most half maximum finite value.
34883         * math/libm-test.inc (j0_test): Add more tests.
34884         (j1_test): Likewise.
34885         (y0_test): Likewise.
34886         (y1_test): Likewise.
34887         * sysdeps/i386/fpu/libm-test-ulps: Update.
34888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34890         [BZ #14155]
34891         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
34892         1 / x and functions P and Q for arguments above 0x1p256L.
34893         (__ieee754_y0l): Likewise.
34894         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
34895         (__ieee754_y1l): Likewise.
34896         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
34897         (j1_test): Likewise.
34898         (y0_test): Likewise.
34899         (y1_test): Likewise.
34901 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
34903         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
34904         variable.
34906 2013-03-15  Roland McGrath  <roland@hack.frob.com>
34908         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
34909         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
34910         zero since it's initialized to EXEC_PAGESIZE.
34912         * sysdeps/unix/sysv/linux/ldsodefs.h
34913         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
34914         * sysdeps/generic/ldsodefs.h: ... here.
34916 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
34918         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
34920         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
34921         math/test-snan.c.
34922         * math/test-snan.c: Renamed from
34923         sysdeps/powerpc/fpu/test-powerpc-snan.c.
34924         * math/Makefile (tests): Add test-snan.
34925         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
34926         test-powerpc-snan.
34928         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
34929         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
34930         functions.
34931         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
34932         __builtin_nan family of functions.
34933         * math/libm-test.inc (initialize): Initialize qnan_value with
34934         __builtin_nan family of functions.
34935         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
34936         Remove variables.
34937         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
34938         Remove functions.
34939         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
34940         storage class.  Initialize qNaN_var and sNaN_var with
34941         __builtin_nan and __builtin_nans families of functions,
34942         respectively.
34944         * math/libm-test.inc (acosh_test): Also test with qNaN input.
34945         (sqrt_test): Remove duplicate test with qNaN input.
34946         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
34947         (round_test, signbit_test, significand_test): Note missing +/-Inf
34948         as well as qNaN tests.
34950         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
34951         qNaN_var.  Fix a few strings, too.
34952         * math/libm-test.inc (nan_value): Rename to qnan_value.
34953         * math/gen-libm-test.pl (%beautify): Adjust to that.
34954         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
34955         * math/test-misc.c (main): Likewise.
34956         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
34957         to __qnan_bytes, and __qnan_union, respectively.
34958         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
34959         Likewise.
34960         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
34961         and lqnanval, respectively.
34962         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
34963         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
34964         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
34965         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
34967         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
34968         * math/test-misc.c (main) [__x86_64__]: Enable test for long
34969         doubles.
34971         * math/test-misc.c (main): Fix copy'n'pastos.
34972         * misc/tst-efgcvt.c (special): Likewise.
34974         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
34975         Remove declarations.
34977 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34979         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
34980         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
34981         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
34982         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
34984 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34986         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
34987         macro to return vdso values correctly in IFUNC implementations.
34988         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
34989         Optimization by using IFUNC.
34991 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34992             Richard Henderson  <rth@redhat.com>
34993             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34995         * Makefile.in (bench): New target.
34996         * NEWS: Mention the benchmark framework.
34997         * Rules (bench): Likewise.
34998         (binaries-bench): Generate binaries for functions to
34999         benchmark.
35000         * benchtests/Makefile: New makefile for benchmark tests.
35001         * benchtests/bench-skeleton.c: New skeleton file for benchmark
35002         programs.
35003         * benchtests/exp-inputs: New input file for EXP function.
35004         * benchtests/pow-inputs: New input file for POW function.
35005         * scripts/bench.pl: New script to generate source files for
35006         benchmark programs.
35008 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35010         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
35011         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
35012         computations on mantissa.  Use macros for rounding and
35013         division.
35014         (denorm): Likewise.
35015         (__dbl_mp): Likewise.
35016         (add_magnitudes): Likewise.
35017         (sub_magnitudes): Likewise.
35018         (__mul): Likewise.
35019         (__sqr): Likewise.
35020         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
35021         powers of two in terms of TWOPOW macro.
35022         (mp_no): Make type of mantissa as MANTISSA_T.
35023         [!RADIXI]: Define RADIXI.
35024         [!TWO52]: Define TWO52.
35025         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
35027         * manual/nptl.texi (cindex): Modify threads to pthreads.
35029 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
35031         * sysdeps/x86_64/preconfigure: Regenerated.
35033 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
35035         [BZ #14155]
35036         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
35037         0x1p28 and above.
35038         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
35039         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
35040         0x1p28 and above.
35041         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
35042         * math/libm-test.inc (j0_test): Do not allow one spurious
35043         underflow exception.
35044         (y1_test): Likewise.
35046 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
35048         * manual/Makefile (chapters): Add nptl.
35049         * manual/debug.texi (Debugging Support): Add link to Threads
35050         chapter.
35051         * manual/nptl.texi: New file.
35053         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
35055 2013-03-14  Petr Baudis  <pasky@ucw.cz>
35057         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
35058         for non-NULL pointer before the memory validity test. Pointed
35059         out by Holger Brunck <holger.brunck@keymile.com>.
35061 2013-03-13  Andreas Schwab  <schwab@suse.de>
35063         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
35064         instead of .os.
35066 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
35068         * timezone/zic.c: Update from tzcode 2013b.
35070 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
35072         * manual/install.texi (Configuring and compiling):
35073         Mention i686 and i586.
35074         * INSTALL: Regenerate.
35076 2013-03-12  Roland McGrath  <roland@hack.frob.com>
35078         * sysdeps/init_array/elf-init.c: New file.
35079         * csu/elf-init.c
35080         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
35081         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
35083         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
35084         __gmon_start__ as global, but as static with a .preinit_array pointer.
35085         * sysdeps/init_array/gmon-start.c: New file.  Use that.
35086         * sysdeps/init_array/crti.S: New file, empty except for comments.
35087         * sysdeps/init_array/crtn.S: Likewise.
35089 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
35091         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
35092         definining bcopy.
35093         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35094         Remove Prefer_SSE_for_memop.
35095         * sysdeps/x86_64/multiarch/init-arch.h: Remove
35096         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
35097         HAS_PREFER_SSE_FOR_MEMOP.
35098         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
35099         memset-x86-64.
35100         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35101         Remove bzero, memset ifunc support.
35102         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
35103         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
35104         * sysdeps/x86_64/multiarch/memset.S: Likewise.
35105         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35107 2013-03-11  Andreas Schwab  <schwab@suse.de>
35109         [BZ #15234]
35110         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
35111         by SHLIB_COMPAT.
35112         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
35113         (GLIBC_2.16): Remove pthread_atfork.
35115 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
35117         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
35118         (ptestcases.h): Likewise.
35120 2013-03-08  Roland McGrath  <roland@hack.frob.com>
35122         * Makeconfig ($(common-objpfx)config.status): Depend on
35123         sysdeps/*/preconfigure{,.in} too.
35125 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
35127         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
35128         (__free_hook): Use void * instead of __malloc_ptr_t.
35129         (__malloc_hook): Likewise.
35130         (__realloc_hook): Likewise.
35131         (__memalign_hook): Likewise.
35132         (__after_morecore_hook): Likewise.
35133         * malloc/arena.c (save_malloc_hook): Likewise.
35134         (save_free_hook): Likewise.
35135         * malloc/hooks.c (malloc_hook_ini): Likewise.
35136         (realloc_hook_ini): Likewise.
35137         (memalign_hook_ini): Likewise.
35138         * malloc/malloc.c (malloc_hook_ini): Likewise.
35139         (realloc_hook_ini): Likewise.
35140         (memalign_hook_ini): Likewise.
35141         (__free_hook): Likewise.
35142         (__malloc_hook): Likewise.
35143         (__realloc_hook): Likewise.
35144         (__memalign_hook): Likewise.
35145         (__libc_malloc): Likewise.
35146         (__libc_free): Likewise.
35147         (__libc_realloc): Likewise.
35148         (__libc_memalign): Likewise.
35149         (__libc_valloc): Likewise.
35150         (__libc_pvalloc): Likewise.
35151         (__libc_calloc): Likewise.
35152         (__posix_memalign): Likewise.
35153         * malloc/morecore.c (__sbrk): Likewise.
35154         (__default_morecore): Likewise.
35156         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
35158         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
35159         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
35160         __malloc_ptrdiff_t.
35162         * malloc/malloc.h (__malloc_size_t): Remove macro.
35163         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
35164         __malloc_size_t.
35165         (old_memalign_hook): Likewise.
35166         (old_realloc_hook): Likewise.
35167         (struct hdr): Likewise.
35168         (flood): Likewise.
35169         (mallochook): Likewise.
35170         (memalignhook): Likewise.
35171         (reallochook): Likewise.
35172         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
35173         (tr_old_realloc_hook): Likewise.
35174         (tr_old_memalign_hook): Likewise.
35175         (tr_mallochook): Likewise.
35176         (tr_reallochook): Likewise.
35177         (tr_memalignhook): Likewise.
35179 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35181         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
35182         default_ldbl_pack and using as default implementation.
35183         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
35184         implementation.
35185         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
35186         redundant definition.
35187         (ldbl_insert_mantissa): Likewise.
35188         (ldbl_canonicalize): Likewise.
35189         (ldbl_nearbyint): Likewise.
35190         (ldbl_pack): Rename to ldbl_pack_ppc.
35191         (ldbl_unpack): Rename to ldbl_unpack_ppc.
35192         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
35193         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
35195 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
35197         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
35198         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
35199         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
35200         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
35201         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
35202         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
35203         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
35204         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
35206 2013-03-07  Andreas Jaeger  <aj@suse.de>
35208         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35209         bits/mman-linux.h.
35211 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
35213         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
35214         Include mpa.h and declare __MPEXP.
35215         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
35216         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
35217         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
35218         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
35219         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
35220         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
35221         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
35223         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
35224         (__slowpow): Use long double EXPL and LOGL functions to
35225         compute POW.
35226         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
35227         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35228         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
35229         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
35230         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35231         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
35233         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
35234         intermediate variable to calculate exponent.
35235         (__sqr): Likewise.
35236         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
35237         Likewise.
35238         (__sqr): Likewise.
35240         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
35241         [!NO__SQR]: Define __sqr.
35242         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
35243         and NO__SQR.  Remove all code except __mul and __sqr.  Include
35244         sysdeps/ieee754/dbl-64/mpa.c.
35245         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35247         [BZ #12723]
35248         * posix/Makefile (tests): Add tst-pathconf.
35249         * posix/tst-pathconf.c: New test case.
35250         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
35251         _PC_PIPE_BUF.
35252         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
35254 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
35256         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
35258 2013-03-06  Andreas Jaeger  <aj@suse.de>
35260         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
35261         definition via __MAP_ANONYMOUS.
35263         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
35264         it's not part of Linux headers.
35266         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
35267         (MAP_HUGE_MASK): Define.
35269         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35270         Define.
35271         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35272         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35273         Define.
35274         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35275         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35276         Define.
35277         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35278         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
35279         Define.
35280         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35282         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
35283         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
35284         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
35285         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
35286         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
35287         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
35289         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
35290         Handle f2fs.
35292         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35293         Handle f2fs and efivarfs.
35295         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
35296         f2fs.
35298         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
35299         (EFIVARFS_MAGIC): Add.
35300         (F2FS_LINK_MAX): Add.
35302 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
35304         * stdio-common/vfprintf.c: Replace __builtin_expect with
35305         __glibc_unlikely.
35307 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
35309         [BZ #13550]
35310         * sysdeps/generic/bp-sym.h: Remove file.
35311         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
35312         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
35313         <bp-sym.h> and <bp-asm.h>.
35314         (__longjmp): Don't use BP_SYM.
35315         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
35316         and <bp-asm.h>.
35317         (memcpy): Don't use BP_SYM.
35318         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
35319         <bp-sym.h> and <bp-asm.h>.
35320         (memcpy): Don't use BP_SYM.
35321         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
35322         <bp-asm.h>.
35323         (memcpy): Don't use BP_SYM.
35324         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
35325         <bp-asm.h>.
35326         (memset): Don't use BP_SYM.
35327         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35328         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35329         (__bzero): Don't use BP_SYM.
35330         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35331         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35332         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
35333         <bp-sym.h> and <bp-asm.h>.
35334         (memcmp): Don't use BP_SYM.  Remove comment about bounded
35335         pointers.
35336         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
35337         <bp-sym.h> and <bp-asm.h>.
35338         (memcpy): Don't use BP_SYM.
35339         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
35340         <bp-sym.h> and <bp-asm.h>.
35341         (memset): Don't use BP_SYM.
35342         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35343         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35344         (__bzero): Don't use BP_SYM.
35345         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35346         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35347         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
35348         <bp-sym.h> and <bp-asm.h>.
35349         (strncmp): Don't use BP_SYM.  Remove comment about bounded
35350         pointers.
35351         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
35352         <bp-sym.h> and <bp-asm.h>.
35353         (memcpy): Don't use BP_SYM.
35354         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
35355         <bp-sym.h> and <bp-asm.h>.
35356         (memset): Don't use BP_SYM.
35357         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35358         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35359         (__bzero): Don't use BP_SYM.
35360         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35361         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35362         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
35363         <bp-sym.h> and <bp-asm.h>.
35364         (__memchr): Don't use BP_SYM.
35365         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
35366         <bp-sym.h> and <bp-asm.h>.
35367         (memcmp): Don't use BP_SYM.  Remove comment about bounded
35368         pointers.
35369         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
35370         <bp-sym.h> and <bp-asm.h>.
35371         (memcpy): Don't use BP_SYM.
35372         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
35373         <bp-sym.h> and <bp-asm.h>.
35374         (__mempcpy): Don't use BP_SYM.
35375         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
35376         <bp-sym.h> and <bp-asm.h>.
35377         (__memrchr): Don't use BP_SYM.
35378         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
35379         <bp-sym.h> and <bp-asm.h>.
35380         (memset): Don't use BP_SYM.
35381         (__bzero): Likewise.
35382         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
35383         <bp-sym.h> and <bp-asm.h>.
35384         (__rawmemchr): Don't use BP_SYM.
35385         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
35386         <bp-sym.h> and <bp-asm.h>.
35387         (__STRCMP): Don't use BP_SYM.
35388         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
35389         <bp-sym.h> and <bp-asm.h>.
35390         (strchr): Don't use BP_SYM.
35391         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
35392         <bp-sym.h> and <bp-asm.h>.
35393         (__strchrnul): Don't use BP_SYM.
35394         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
35395         <bp-sym.h> and <bp-asm.h>.
35396         (strlen): Don't use BP_SYM.
35397         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
35398         <bp-sym.h> and <bp-asm.h>.
35399         (strncmp): Don't use BP_SYM.  Remove comment about bounded
35400         pointers.
35401         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
35402         <bp-sym.h> and <bp-asm.h>.
35403         (__strnlen): Don't use BP_SYM.
35404         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
35405         <bp-sym.h> and <bp-asm.h>.
35406         (__GI__setjmp): Don't use BP_SYM.
35407         (_setjmp): Likewise.
35408         (__sigsetjmp): Likewise.
35409         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
35410         (L(start_addresses)): Don't use BP_SYM.
35411         (_start): Likewise.
35412         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
35413         <bp-asm.h>.
35414         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
35415         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
35416         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35417         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35418         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
35419         <bp-asm.h>.
35420         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
35421         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
35422         about bounded pointers.
35423         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35424         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35425         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
35426         <bp-asm.h>.
35427         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
35428         about bounded pointers.  Remove GKM FIXME comments.
35429         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35430         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
35431         <bp-asm.h>.
35432         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
35433         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
35434         Remove GKM FIXME comments.
35435         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35436         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35437         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
35438         <bp-asm.h>.
35439         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
35440         about bounded pointers.  Remove GKM FIXME comment.
35441         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
35442         and <bp-asm.h>.
35443         (strncmp): Don't use BP_SYM.  Remove comment about bounded
35444         pointers.
35445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
35446         <bp-sym.h> and <bp-asm.h>.
35447         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
35448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
35449         <bp-sym.h> and <bp-asm.h>.
35450         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
35451         comment.
35453 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
35455         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
35456         call free(NULL).
35458 2013-03-05  David S. Miller  <davem@davemloft.net>
35460         * po/es.po: Update from translation team.
35462 2013-03-05  Andreas Jaeger  <aj@suse.de>
35464         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
35465         <bits/mman-linux.h>.
35466         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35467         is fine.
35468         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
35469         <bits/mman-linux.h> to end of file.
35470         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35471         is fine.
35472         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
35473         <bits/mman-linux.h> to end of file.
35474         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35475         is fine.
35476         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
35477         <bits/mman-linux.h> to end of file.
35479         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
35480         (MCL_CURRENT, MCL_FUTURE): Define here.
35482 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35484         [BZ #15232]
35485         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
35486         attribute_hidden.
35487         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35489 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35491         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
35492         fourth parameter needed for rt_sigprocmask syscall.
35493         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
35494         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
35495         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
35496         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
35497         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
35498         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
35500 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
35502         [BZ #13550]
35503         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
35504         comment about bounded pointers.
35505         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
35506         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
35508 2013-03-04  Andreas Jaeger  <aj@suse.de>
35510         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
35511         common definitions.
35513         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
35514         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
35515         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
35516         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35517         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
35518         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35520 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35522         [BZ #15055]
35523         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
35524         __ieee754_sqrl instead of __sqrl.
35526 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
35528         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
35529         * sysdeps/powerpc/fpu_control.h: ... here.
35530         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
35531         * sysdeps/powerpc/bits/fenvinline.h: ... here.
35532         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
35533         * sysdeps/powerpc/bits/mathinline.h: ... here.
35535 2013-03-01  Roland McGrath  <roland@hack.frob.com>
35537         * elf/dl-hwcaps.c (_dl_important_hwcaps):
35538         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
35539         to just [NEED_DL_SYSINFO_DSO].
35540         * elf/dl-support.c: Likewise.
35541         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
35542         * elf/rtld.c (dl_main): Likewise.
35543         * elf/setup-vdso.h (setup_vdso): Likewise.
35544         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
35545         * sysdeps/unix/sysv/linux/dl-sysdep.c
35546         (_dl_discover_osversion): Likewise.
35548 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
35550         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
35551         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
35553 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
35555         * NEWS: Mention libm performance improvements and non-x86 PI
35556         futex support.
35558         * csu/libc-start.c (__pthread_initialize_minimal): Change
35559         function arguments.
35560         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
35562 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
35564         [BZ #13550]
35565         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
35566         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
35567         <bp-sym.h> and <bp-asm.h>.
35568         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35569         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
35570         and <bp-asm.h>.
35571         (memcpy): Don't use BP_SYM.
35572         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
35573         <bp-asm.h>.
35574         (__mpn_add_n): Don't use BP_SYM.
35575         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
35576         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
35577         and <bp-asm.h>.
35578         (__mpn_addmul_1): Don't use BP_SYM.
35579         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35580         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
35581         <bp-sym.h>.
35582         (_setjmp): Don't use BP_SYM.
35583         (__novmx_setjmp): Likewise.
35584         (__GI__setjmp): Likewise.
35585         (__vmx_setjmp): Likewise.
35586         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
35587         <bp-sym.h>.
35588         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
35589         (__bzero): Don't use BP_SYM.
35590         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35591         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35592         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
35593         <bp-sym.h> and <bp-asm.h>.
35594         (memcpy): Don't use BP_SYM.
35595         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
35596         <bp-sym.h> and <bp-asm.h>.
35597         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35598         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
35599         <bp-sym.h> and <bp-asm.h>.
35600         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35601         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
35602         <bp-asm.h>.
35603         (__mpn_lshift): Don't use BP_SYM.
35604         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35605         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
35606         <bp-asm.h>.
35607         (memset): Don't use BP_SYM.
35608         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35609         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35610         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
35611         <bp-asm.h>.
35612         (__mpn_mul_1): Don't use BP_SYM.
35613         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35614         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
35615         <bp-sym.h> and <bp-asm.h>.
35616         (memcmp): Don't use BP_SYM.
35617         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
35618         <bp-sym.h> and <bp-asm.h>.
35619         (memcpy): Don't use BP_SYM.
35620         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
35621         <bp-sym.h> and <bp-asm.h>.
35622         (memset): Don't use BP_SYM.
35623         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
35624         <bp-sym.h> and <bp-asm.h>.
35625         (strncmp): Don't use BP_SYM.
35626         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
35627         <bp-sym.h> and <bp-asm.h>.
35628         (memcpy): Don't use BP_SYM.
35629         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
35630         <bp-sym.h> and <bp-asm.h>.
35631         (memset): Don't use BP_SYM.
35632         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
35633         <bp-sym.h> and <bp-asm.h>.
35634         (__memchr): Don't use BP_SYM.
35635         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
35636         <bp-sym.h> and <bp-asm.h>.
35637         (memcmp): Don't use BP_SYM.
35638         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
35639         <bp-sym.h> and <bp-asm.h>.
35640         (memcpy): Don't use BP_SYM.
35641         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
35642         <bp-sym.h> and <bp-asm.h>.
35643         (__mempcpy): Don't use BP_SYM.
35644         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
35645         <bp-sym.h> and <bp-asm.h>.
35646         (__memrchr): Don't use BP_SYM.
35647         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
35648         <bp-sym.h> and <bp-asm.h>.
35649         (memset): Don't use BP_SYM.
35650         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
35651         <bp-sym.h> and <bp-asm.h>.
35652         (__rawmemchr): Don't use BP_SYM.
35653         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
35654         <bp-sym.h> and <bp-asm.h>.
35655         (__STRCMP): Don't use BP_SYM.
35656         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
35657         <bp-sym.h> and <bp-asm.h>.
35658         (strchr): Don't use BP_SYM.
35659         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
35660         <bp-sym.h> and <bp-asm.h>.
35661         (__strchrnul): Don't use BP_SYM.
35662         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
35663         <bp-sym.h> and <bp-asm.h>.
35664         (strlen): Don't use BP_SYM.
35665         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
35666         <bp-sym.h> and <bp-asm.h>.
35667         (strncmp): Don't use BP_SYM.
35668         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
35669         <bp-sym.h> and <bp-asm.h>.
35670         (__strnlen): Don't use BP_SYM.
35671         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
35672         <bp-asm.h>.
35673         (__mpn_rshift): Don't use BP_SYM.
35674         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35675         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
35676         <bp-sym.h> and <bp-asm.h>.
35677         (__sigsetjmp): Don't use BP_SYM.
35678         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
35679         (L(start_addresses)): Don't use BP_SYM.
35680         (_start): Likewise.
35681         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
35682         <bp-asm.h>.
35683         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
35684         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35685         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35686         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
35687         <bp-asm.h>.
35688         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
35689         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35690         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35691         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
35692         <bp-asm.h>.
35693         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
35694         comments.
35695         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35696         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
35697         <bp-asm.h>.
35698         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
35699         FIXME comments.
35700         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35701         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35702         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
35703         <bp-asm.h>.
35704         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
35705         comment.
35706         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
35707         and <bp-asm.h>.
35708         (strncmp): Don't use BP_SYM,
35709         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
35710         <bp-asm.h>.
35711         (__mpn_sub_n): Don't use BP_SYM.
35712         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35713         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
35714         and <bp-asm.h>.
35715         (__mpn_submul_1): Don't use BP_SYM.
35716         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
35718         <bp-sym.h> and <bp-asm.h>.
35719         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
35720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
35721         <bp-sym.h> and <bp-asm.h>.
35722         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
35723         comment.
35725 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35727         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
35728         Use ZK to minimize writes to Z.
35729         (sub_magnitudes): Simplify code a bit.
35730         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
35731         Use ZK to minimize writes to Z.
35732         (sub_magnitudes): Simplify code a bit.
35734 2013-02-27  Roland McGrath  <roland@hack.frob.com>
35736         * csu/gmon-start.c: Add special exception to license text.
35738 2013-02-27  Richard Henderson  <rth@redhat.com>
35740         * scripts/config.guess: Update from config.git.
35741         * scripts/config.sub: Likewise.
35743 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35745         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
35747         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
35749         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
35751         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
35753         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
35755 2013-02-26  Roland McGrath  <roland@hack.frob.com>
35757         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
35758         [$(build-shared = yes].
35760 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35762         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
35763         (__mul): Reduce iterations for calculating mantissa.
35765         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
35766         MPTWO.
35767         (__mpranred): Likewise.
35769         [BZ #15160]
35770         * malloc/memusagestat.c (main): Draw graphs for heap and stack
35771         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
35773 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
35775         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
35776         Define __attribute__.
35778 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35780         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
35781         unused.
35782         * posix/regex_internal.h (__attribute): Remove.
35783         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
35784         (re_string_context_at): Likewise.
35785         (bitset_not): Use __attribute__ and mark function as possibly
35786         unused.
35787         (bitset_merge): Likewise.
35788         (bitset_mask): Likewise.
35789         (re_string_char_size_at): Likewise.
35790         (re_string_wchar_at): Likewise.
35791         (re_string_elem_size_at): Likewise.
35793 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35795         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
35796         code.
35797         (cc32): Likewise.
35799         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
35800         (__acr): Likewise.
35801         (__cpy): Likewise.
35802         (norm): Likewise.
35803         (denorm): Likewise.
35804         (__dbl_mp): Likewise.
35805         (add_magnitudes): Likewise.
35806         (sub_magnitudes): Likewise.
35807         (__mul): Likewise.
35808         (__inv): Likewise.
35810         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
35811         style.
35813         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
35814         style.
35816         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
35817         code.
35819         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
35820         up changes with default code.
35821         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
35822         Likewise.
35824 2013-02-24  Allan McRae  <allan@archlinux.org>
35826         * manual/socket.texi (The Internet Namespace): Order menu items
35827         to match that in the file.
35829         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
35830         node listing of the info page menu.
35832 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
35834         [BZ #13550]
35835         * sysdeps/i386/bp-asm.h: Remove file.
35836         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
35837         (PARMS): Do not use macros from bp-asm.h.
35838         (S1): Likewise.
35839         (S2): Likewise.
35840         (SIZE): Likewise.
35841         (__mpn_add_n): Do not use BP_SYM
35842         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
35843         "bp-asm.h".
35844         (PARMS): Do not use macros from bp-asm.h.
35845         (S1): Likewise.
35846         (SIZE): Likewise.
35847         (__mpn_addmul_1): Do not use BP_SYM
35848         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
35849         "bp-asm.h".
35850         (PARMS): Do not use macros from bp-asm.h.
35851         (SIGMSK): Likewise.
35852         (_setjmp): Likewise.  Do not use BP_SYM.
35853         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
35854         "bp-asm.h".
35855         (PARMS): Do not use macros from bp-asm.h.
35856         (SIGMSK): Likewise.
35857         (setjmp): Likewise.  Do not use BP_SYM.
35858         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
35859         "bp-asm.h".
35860         (PARMS): Do not use macros from bp-asm.h.
35861         (__frexp): Do not use BP_SYM.
35862         (frexp): Likewise.
35863         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
35864         "bp-asm.h".
35865         (PARMS): Do not use macros from bp-asm.h.
35866         (__frexpf): Do not use BP_SYM.
35867         (frexpf): Likewise.
35868         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
35869         "bp-asm.h".
35870         (PARMS): Do not use macros from bp-asm.h.
35871         (__frexpl): Do not use BP_SYM.
35872         (frexpl): Likewise.
35873         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
35874         "bp-asm.h".
35875         (PARMS): Do not use macros from bp-asm.h.
35876         (__remquo): Do not use BP_SYM.
35877         (remquo): Likewise.
35878         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
35879         "bp-asm.h".
35880         (PARMS): Do not use macros from bp-asm.h.
35881         (__remquof): Do not use BP_SYM.
35882         (remquof): Likewise.
35883         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
35884         "bp-asm.h".
35885         (PARMS): Do not use macros from bp-asm.h.
35886         (__remquol): Do not use BP_SYM.
35887         (remquol): Likewise.
35888         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
35889         "bp-asm.h".
35890         (PARMS): Do not use macros from bp-asm.h.
35891         (DEST): Likewise.
35892         (SRC): Likewise.
35893         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
35894         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
35895         "bp-asm.h".
35896         (PARMS): Do not use macros from bp-asm.h.
35897         (strlen): Do not use BP_SYM.
35898         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
35899         "bp-asm.h".
35900         (PARMS): Do not use macros from bp-asm.h.
35901         (S1): Likewise.
35902         (S2): Likewise.
35903         (SIZE): Likewise.
35904         (__mpn_add_n): Do not use BP_SYM.
35905         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
35906         "bp-asm.h".
35907         (PARMS): Do not use macros from bp-asm.h.
35908         (S1): Likewise.
35909         (SIZE): Likewise.
35910         (__mpn_addmul_1): Do not use BP_SYM.
35911         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
35912         weak_alias.
35913         (bzero): Likewise.
35914         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
35915         "bp-asm.h".
35916         (PARMS): Do not use macros from bp-asm.h.
35917         (S): Likewise.
35918         (SIZE): Likewise.
35919         (__mpn_lshift): Do not use BP_SYM.
35920         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
35921         "bp-asm.h".
35922         (PARMS): Do not use macros from bp-asm.h.
35923         (DEST): Likewise.
35924         (SRC): Likewise.
35925         (LEN): Likewise.
35926         (memcpy): Likewise.  Do not use BP_SYM.
35927         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
35928         libc_hidden_def and weak_alias.
35929         (mempcpy): Do not use BP_SYM in weak_alias.
35930         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
35931         "bp-asm.h".
35932         (PARMS): Do not use macros from bp-asm.h.
35933         (DEST): Likewise.
35934         (LEN): Likewise.
35935         [!BZERO_P] (CHR): Likewise.
35936         (memset): Likewise.  Do not use BP_SYM.
35937         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
35938         "bp-asm.h".
35939         (PARMS): Do not use macros from bp-asm.h.
35940         (S1): Likewise.
35941         (SIZE): Likewise.
35942         (__mpn_mul_1): Do not use BP_SYM.
35943         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
35944         "bp-asm.h".
35945         (PARMS): Do not use macros from bp-asm.h.
35946         (S): Likewise.
35947         (SIZE): Likewise.
35948         (__mpn_rshift): Do not use BP_SYM.
35949         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
35950         "bp-asm.h".
35951         (PARMS): Do not use macros from bp-asm.h.
35952         (STR): Likewise.
35953         (CHR): Likewise.
35954         (strchr): Likewise.  Do not use BP_SYM.
35955         (index): Do not use BP_SYM in weak_alias.
35956         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
35957         "bp-asm.h".
35958         (PARMS): Do not use macros from bp-asm.h.
35959         (DEST): Likewise.
35960         (SRC): Likewise.
35961         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
35962         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
35963         "bp-asm.h".
35964         (PARMS): Do not use macros from bp-asm.h.
35965         (strlen): Do not use BP_SYM.
35966         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
35967         "bp-asm.h".
35968         (PARMS): Do not use macros from bp-asm.h.
35969         (S1): Likewise.
35970         (S2): Likewise.
35971         (SIZE): Likewise.
35972         (__mpn_sub_n): Do not use BP_SYM.
35973         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
35974         "bp-asm.h".
35975         (PARMS): Do not use macros from bp-asm.h.
35976         (S1): Likewise.
35977         (SIZE): Likewise.
35978         (__mpn_submul_1): Do not use BP_SYM.
35979         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
35980         "bp-asm.h".
35981         (PARMS): Do not use macros from bp-asm.h.
35982         (S1): Likewise.
35983         (S2): Likewise.
35984         (SIZE): Likewise.
35985         (__mpn_add_n): Do not use BP_SYM.
35986         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
35987         weak_alias.
35988         (bzero): Likewise.
35989         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
35990         "bp-asm.h".
35991         (PARMS): Do not use macros from bp-asm.h.
35992         (BLK2): Likewise.
35993         (LEN): Likewise.
35994         (memcmp): Do not use BP_SYM.
35995         (bcmp): Do not use BP_SYM in weak_alias.
35996         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
35997         "bp-asm.h".
35998         (PARMS): Do not use macros from bp-asm.h.
35999         (DEST): Likewise.
36000         (SRC): Likewise.
36001         (LEN): Likewise.
36002         (memcpy): Likewise.  Do not use BP_SYM.
36003         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
36004         "bp-asm.h".
36005         (PARMS): Do not use macros from bp-asm.h.
36006         (DEST): Likewise.
36007         (SRC): Likewise.
36008         (LEN): Likewise.
36009         (memmove): Likewise.  Do not use BP_SYM.
36010         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
36011         "bp-asm.h".
36012         (PARMS): Do not use macros from bp-asm.h.
36013         (DEST): Likewise.
36014         (SRC): Likewise.
36015         (LEN): Likewise.
36016         (__mempcpy): Likewise.  Do not use BP_SYM.
36017         (mempcpy): Do not use BP_SYM in weak_alias.
36018         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
36019         "bp-asm.h".
36020         (PARMS): Do not use macros from bp-asm.h.
36021         (DEST): Likewise.
36022         (LEN): Likewise.
36023         [!BZERO_P] (CHR): Likewise.
36024         (memset): Likewise.  Do not use BP_SYM.
36025         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
36026         "bp-asm.h".
36027         (PARMS): Do not use macros from bp-asm.h.
36028         (STR2): Likewise.
36029         (strcmp): Do not use BP_SYM.
36030         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
36031         "bp-asm.h".
36032         (PARMS): Do not use macros from bp-asm.h.
36033         (STR): Likewise.
36034         (DELIM): Likewise.
36035         [USE_AS_STRTOK_R] (SAVE): Likewise.
36036         (FUNCTION): Likewise.  Do not use BP_SYM.
36037         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
36038         aliases.
36039         (strtok_r): Likewise.
36040         (__GI___strtok_r): Likewise.
36041         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
36042         (PARMS): Do not use macros from bp-asm.h.
36043         (S): Likewise.
36044         (SIZE): Likewise.
36045         (__mpn_lshift): Do not use BP_SYM.
36046         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
36047         (PARMS): Do not use macros from bp-asm.h.
36048         (STR): Likewise.
36049         (CHR): Likewise.
36050         (__memchr): Do not use BP_SYM.
36051         (memchr): Do not use BP_SYM in weak_alias.
36052         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
36053         (PARMS): Do not use macros from bp-asm.h.
36054         (BLK2): Likewise.
36055         (LEN): Likewise.
36056         (memcmp): Do not use BP_SYM.
36057         (bcmp): Do not use BP_SYM in weak_alias.
36058         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
36059         (PARMS): Do not use macros from bp-asm.h.
36060         (S1): Likewise.
36061         (SIZE): Likewise.
36062         (__mpn_mul_1): Do not use BP_SYM.
36063         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
36064         "bp-asm.h".
36065         (PARMS): Do not use macros from bp-asm.h.
36066         (STR): Likewise.
36067         (CHR): Likewise.
36068         (__rawmemchr): Do not use BP_SYM.
36069         (rawmemchr): Do not use BP_SYM in weak_alias.
36070         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
36071         (PARMS): Do not use macros from bp-asm.h.
36072         (S): Likewise.
36073         (SIZE): Likewise.
36074         (__mpn_rshift): Do not use BP_SYM.
36075         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
36076         (PARMS): Do not use macros from bp-asm.h.
36077         (SIGMSK): Likewise.
36078         (__sigsetjmp): Likewise.  Do not use BP_SYM.
36079         * sysdeps/i386/start.S: Do not include "bp-sym.h".
36080         (_start): Do not use BP_SYM.
36081         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
36082         (PARMS): Do not use macros from bp-asm.h.
36083         (DEST): Likewise.
36084         (SRC): Likewise.
36085         (__stpcpy): Likewise.  Do not use BP_SYM.
36086         (stpcpy): Do not use BP_SYM in weak_alias.
36087         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
36088         "bp-asm.h".
36089         (PARMS): Do not use macros from bp-asm.h.
36090         (DEST): Likewise.
36091         (SRC): Likewise.
36092         (LEN): Likewise.
36093         (__stpncpy): Likewise.  Do not use BP_SYM.
36094         (stpncpy): Do not use BP_SYM in weak_alias.
36095         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
36096         (PARMS): Do not use macros from bp-asm.h.
36097         (STR): Likewise.
36098         (CHR): Likewise.
36099         (strchr): Likewise.  Do not use BP_SYM.
36100         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
36101         "bp-asm.h".
36102         (PARMS): Do not use macros from bp-asm.h.
36103         (STR): Likewise.
36104         (CHR): Likewise.
36105         (__strchrnul): Likewise.  Do not use BP_SYM.
36106         (strchrnul): Do not use BP_SYM in weak_alias.
36107         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
36108         "bp-asm.h".
36109         (PARMS): Do not use macros from bp-asm.h.
36110         (STOP): Likewise.
36111         (strcspn): Do not use BP_SYM.
36112         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
36113         "bp-asm.h".
36114         (PARMS): Do not use macros from bp-asm.h.
36115         (STR): Likewise.
36116         (STOP): Likewise.
36117         (strpbrk): Likewise.  Do not use BP_SYM.
36118         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
36119         "bp-asm.h".
36120         (PARMS): Do not use macros from bp-asm.h.
36121         (STR): Likewise.
36122         (CHR): Likewise.
36123         (strrchr): Likewise.  Do not use BP_SYM.
36124         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
36125         (PARMS): Do not use macros from bp-asm.h.
36126         (SKIP): Likewise.
36127         (strspn): Do not use BP_SYM.
36128         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
36129         (PARMS): Do not use macros from bp-asm.h.
36130         (STR): Likewise.
36131         (DELIM): Likewise.
36132         (SAVE): Likewise.
36133         (FUNCTION): Likewise.  Do not use BP_SYM.
36134         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
36135         aliases.
36136         (strtok_r): Likewise.
36137         (__GI___strtok_r): Likewise.
36138         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
36139         (PARMS): Do not use macros from bp-asm.h.
36140         (S1): Likewise.
36141         (S2): Likewise.
36142         (SIZE): Likewise.
36143         (__mpn_sub_n): Do not use BP_SYM.
36144         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
36145         "bp-asm.h".
36146         (PARMS): Do not use macros from bp-asm.h.
36147         (S1): Likewise.
36148         (SIZE): Likewise.
36149         (__mpn_submul_1): Do not use BP_SYM.
36150         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
36151         <bp-sym.h>.
36152         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
36153         and <bp-asm.h>.
36154         (PARMS): Do not use macros from bp-asm.h.
36155         (FLAGS): Likewise.
36156         (PTID): Likewise.
36157         (TLS): Likewise.
36158         (CTID): Likewise.
36159         (__clone): Do not use BP_SYM.
36160         (clone): Do not use BP_SYM in weak_alias.
36161         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
36162         and <bp-asm.h>.
36163         (PARMS): Do not use macros from bp-asm.h.
36164         (LEN): Likewise.
36165         (__mmap64): Do not use BP_SYM.
36166         (mmap64): Do not use BP_SYM in weak_alias.
36167         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36168         <bp-sym.h> and <bp-asm.h>.
36169         (PARMS): Do not use macros from bp-asm.h.
36170         (__posix_fadvise64_l64): Do not use BP_SYM.
36171         * sysdeps/unix/sysv/linux/i386/semtimedop.S
36172         (PARMS): Do not use macros from bp-asm.h.
36173         (NSOPS): Likewise.
36174         (semtimedop): Do not use BP_SYM.
36175         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
36176         and <bp-asm.h>.
36178 2013-02-21  Allan McRae  <allan@archlinux.org>
36180         * manual/message.texi (Charset conversion in gettext):
36181         Move @end statement to beginning of line.
36183 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36185         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
36186         static.
36187         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
36188         Likewise.
36190         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
36191         (denorm): Likewise.
36192         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
36193         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
36195 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36197         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
36198         tail-call to the resolved function if pltexit isn't needed.
36200 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36202         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
36203         or Y being zero as being unlikely.
36204         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
36205         Likewise.
36207 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
36209         * manual/nss.texi (System Databases and Name Service Switch):
36210         Remove frobnicate @pxref.
36212 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
36214         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36215         __attribute__ ((unused)) to __attribute__ ((__unused__)).
36217 2013-02-20  Petr Machata  <pmachata@redhat.com>
36219         * elf/elf.h (R_ARM_TARGET1): New macro.
36220         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
36221         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
36222         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
36223         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
36224         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
36225         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
36226         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
36227         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
36228         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
36229         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
36230         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
36231         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
36232         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
36233         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
36234         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
36235         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
36236         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
36237         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
36238         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
36239         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
36240         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
36241         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
36242         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
36243         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
36244         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
36245         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
36246         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
36247         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
36248         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
36249         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
36250         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
36251         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
36252         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
36253         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
36254         (R_ARM_THM_GOT_BREL12): Likewise.
36255         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
36256         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
36257         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
36258         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
36259         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
36260         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
36261         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
36262         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
36263         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
36265 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
36267         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36268         __attribute_used__ to __attribute__ ((unused)).
36270 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
36272         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
36273         powerpc mpa.c.
36274         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
36275         comment formatting.
36276         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
36278 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
36280         [BZ #13550]
36281         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
36282         Remove macro.
36283         (ENTER): Remove both macro definitions.
36284         (LEAVE): Likewise.
36285         (CHECK_BOUNDS_LOW): Likewise.
36286         (CHECK_BOUNDS_HIGH): Likewise.
36287         (CHECK_BOUNDS_BOTH): Likewise.
36288         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
36289         (RETURN_BOUNDED_POINTER): Likewise.
36290         (RETURN_NULL_BOUNDED_POINTER): Likewise.
36291         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
36292         (POP_ERRNO_LOCATION_RETURN): Likewise.
36293         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
36294         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36295         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
36296         macros.
36297         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36298         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
36299         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
36300         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
36301         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
36302         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
36303         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
36304         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
36305         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
36306         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
36307         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
36308         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
36309         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36310         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
36311         removed macros.
36312         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36313         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
36314         macros.
36315         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36316         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
36317         * sysdeps/i386/i586/memset.S (memset): Likewise.
36318         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
36319         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36320         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
36321         macros.
36322         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36323         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
36324         Change uses of L(2) to L(out).
36325         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
36326         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
36327         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
36328         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36329         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
36330         removed macros.
36331         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36332         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
36333         macros.
36334         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36335         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
36336         (RETURN): Do not use macro LEAVE.
36337         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
36338         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
36339         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
36340         * sysdeps/i386/i686/memset.S (memset): Likewise.
36341         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
36342         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
36343         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36344         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
36345         Likewise.
36346         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36347         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
36348         L(1_2) and L(1_3) into L(1).
36349         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
36350         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
36351         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36352         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
36353         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36354         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
36355         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
36356         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36357         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
36358         macros.
36359         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
36360         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36361         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
36362         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
36363         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
36364         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36365         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
36366         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
36367         * sysdeps/i386/strcspn.S (strcspn): Likewise.
36368         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
36369         * sysdeps/i386/strrchr.S (strrchr): Likewise.
36370         * sysdeps/i386/strspn.S (strspn): Likewise.
36371         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
36372         conditional code.
36373         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36374         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
36375         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
36376         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
36377         L(1_3) into L(1_1).
36378         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
36379         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36380         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
36381         macros.
36382         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36384 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
36386         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
36387         macro.
36389 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36391         * math/atest-exp.c (exp_mpn): Remove ROUND.
36392         * math/atest-exp2.c (exp_mpn): Likewise.
36393         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
36395         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
36396         * stdlib/tst-tls-atexit-lib.c: Likewise.
36397         * stdlib/tst-tls-atexit.c: Likewise.
36399 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
36401         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
36402         and __attribute_alloc_size__.
36404 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
36406         * include/programs/xmalloc.h: Change __attribute_alloc_size to
36407         __attribute_alloc_size__.
36408         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
36409         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
36411 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
36413         * include/programs/xmalloc.h: New file.
36414         * catgets/gencat.c: Include it.
36415         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
36416         * elf/pldd.c: Likewise.
36417         * iconv/iconv_charmap.c: Likewise.
36418         * iconv/iconvconfig.c: Likewise.
36419         * iconv/strtab.c: Likewise.
36420         * locale/programs/locale.c: Likewise.
36421         * locale/programs/localedef.h: Likewise.
36422         * locale/programs/simple-hash.c: Likewise.
36423         * nscd/nscd.h: Likewise.
36424         * nss/makedb.c: Likewise.
36425         * sysdeps/generic/ldconfig.h: Likewise.
36427 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36429         * Versions.def: Add GLIBC_2.18.
36430         * include/link.h (struct link_map): New member l_tls_dtor_count.
36431         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
36432         (__call_tls_dtors): Likewise.
36433         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
36434         __cxa_thread_atexit_impl.
36435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36436         Likewise.
36437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36438         Likewise.
36439         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
36440         Likewise.
36441         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
36442         Likewise.
36443         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36444         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
36445         Likewise.
36446         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
36447         Likewise.
36448         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36449         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36450         Likewise.
36451         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
36452         (tests): Add test case tst-tls-atexit.
36453         (modules-names): Add shared library for tst-tls-atexit.
36454         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
36455         (GLIBC_PRIVATE): Add __call_tls_dtors.
36456         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
36457         for libstdc++.
36458         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
36459         * stdlib/tst-tls-atexit.c: New test case.
36460         * stdlib/tst-tls-atexit-lib.c: New test case.
36462         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
36464         * elf/Versions (ld): Add _dl_find_dso_for_object.
36465         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
36466         * elf/dl-open.c (_dl_find_dso_for_object): New function.
36467         (dl_open_worker): Use _dl_find_dso_for_object.
36468         * elf/dl-sym.c (do_sym): Likewise.
36469         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
36471 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36473         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
36474         Syntactic changes only.
36475         (_dl_runtime_profile): Do a tail-call to the resolved function.
36477 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
36479         [BZ #13550]
36480         * sysdeps/x86_64/bp-asm.h: Remove file.
36481         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
36482         <bp-sym.h> and <bp-asm.h>.
36483         (__clone): Do not use BP_SYM.
36484         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
36485         <bp-sym.h> and <bp-asm.h>.
36486         * sysdeps/unix/x86_64/sysdep.S: Likewise.
36487         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
36488         "bp-asm.h".
36489         (_setjmp): Do not use BP_SYM.
36490         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
36491         "bp-asm.h".
36492         (setjmp): Do not use BP_SYM.
36493         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
36494         libc_hidden_def.
36495         (mempcpy): Do not use BP_SYM in weak_alias.
36496         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
36497         "bp-asm.h".
36498         (strchr): Do not use BP_SYM.
36499         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
36500         "bp-asm.h".
36501         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
36502         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
36503         (_start): Do not use BP_SYM.
36504         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
36505         "bp-asm.h".
36506         (strcat): Do not use BP_SYM.
36507         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
36508         "bp-asm.h".
36509         (STRCMP): Do not use BP_SYM.
36510         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
36511         "bp-asm.h".
36512         (STRCPY): Do not use BP_SYM.
36513         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
36514         "bp-asm.h".
36515         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
36516         "bp-asm.h".
36517         (FUNCTION): Do not use BP_SYM.
36518         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
36519         weak_alias.
36520         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
36522 2013-02-17  Andreas Jaeger  <aj@suse.de>
36524         * time/Versions: Sort entries.
36525         * string/Versions: Likewise.
36526         * resolv/Versions: Likewise.
36527         * posix/Versions: Likewise.
36528         * iconv/Versions: Likewise.
36529         * elf/Versions: Likewise.
36530         * wcsmbs/Versions: Likewise.
36532 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36534         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
36535         loop termination condition.
36537         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
36538         variable to calculate EZ.
36539         (__sqr): Likewise.
36541         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
36542         the lower precision input.
36544 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
36546         [BZ #13550]
36547         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
36548         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
36549         (run-via-rtld-prefix): Do not handle %-bp tests.
36550         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
36551         (all-object-suffixes): Remove .ob.
36552         (bppfx): Remove variable.
36553         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
36554         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
36555         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
36556         [$(build-bounded) = yes] (libtype.ob): Likewise.
36557         * Makerules (elide-routines.ob): Remove variable.
36558         (do-tests-clean): Do not handle *-bp.out.
36559         (common-mostlyclean): Do not handle *-bp and *-bp.out.
36560         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
36561         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
36562         (tests): Do not include $(tests-bp.out).
36563         (xtests): Do not include $(xtests-bp.out).
36564         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
36565         [$(build-bounded) = yes] ($(addprefix
36566         $(objpfx),$(binaries-bounded))): Remove rule.
36567         ($(objpfx)%-bp.out): Remove rule.
36568         * config.make.in (build-bounded): Remove variable.
36569         * crypt/Makefile [$(build-bounded) = yes]
36570         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
36571         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
36572         append to variable.
36573         [$(build-bounded) = yes] (install-lib): Likewise.
36574         [$(build-bounded) = yes] (generated): Likewise.
36575         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
36576         Remove rule.
36577         * intl/Makefile [$(build-bounded) = yes]
36578         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
36579         * math/Makefile [$(build-bounded) = yes]
36580         ($(tests:%=$(objpfx)%-bp): Likewise.
36581         * misc/Makefile [$(build-bounded) = yes]
36582         ($(objpfx)tst-tsearch-bp): Likewise.
36583         * nptl/Makeconfig (bounded-thread-library): Remove variable.
36584         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
36585         Remove dependency.
36586         * string/Makefile (o-objects.ob): Remove variable.
36587         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
36588         (CFLAGS-.ob): Remove variable.
36589         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
36590         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
36591         both definitions of variable.
36592         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
36593         (ASFLAGS-.ob): Remove variable.
36595 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
36597         [BZ #13550]
36598         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
36599         Remove __BOUNDED_POINTERS__ from condition.
36600         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
36601         * string/bits/string2.h [!__NO_STRING_INLINES &&
36602         !__BOUNDED_POINTERS__]: Likewise.
36603         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
36604         Likewise.
36605         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
36606         Remove conditional code.
36607         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
36608         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
36609         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
36610         condition.
36612         [BZ #13550]
36613         * csu/libc-start.c: Do not include <bp-sym.h>.
36614         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
36615         * elf/dl-open.c: Do not include <bp-sym.h>.
36616         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
36617         * math/fegetenv.c: Do not include <bp-sym.h>.
36618         (fegetenv): Do not use BP_SYM in versioned symbols.
36619         * nptl/sysdeps/pthread/bits/libc-lockP.h
36620         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
36621         <bp-sym.h>.
36622         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36623         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
36624         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36625         (__pthread_mutex_destroy): Likewise.
36626         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36627         (__pthread_mutex_lock): Likewise.
36628         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36629         (__pthread_mutex_trylock): Likewise.
36630         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36631         (__pthread_mutex_unlock): Likewise.
36632         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36633         (__pthread_mutexattr_init): Likewise.
36634         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36635         (__pthread_mutexattr_destroy): Likewise.
36636         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36637         (__pthread_mutexattr_settype): Likewise.
36638         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36639         (__pthread_rwlock_init): Likewise.
36640         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36641         (__pthread_rwlock_destroy): Likewise.
36642         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36643         (__pthread_rwlock_rdlock): Likewise.
36644         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36645         (__pthread_rwlock_tryrdlock): Likewise.
36646         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36647         (__pthread_rwlock_wrlock): Likewise.
36648         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36649         (__pthread_rwlock_trywrlock): Likewise.
36650         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36651         (__pthread_rwlock_unlock): Likewise.
36652         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36653         (__pthread_key_create): Likewise.
36654         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36655         (__pthread_setspecific): Likewise.
36656         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36657         (__pthread_getspecific): Likewise.
36658         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
36659         Likewise.
36660         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36661         (_pthread_cleanup_push_defer): Likewise.
36662         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36663         (_pthread_cleanup_pop_restore): Likewise.
36664         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36665         (pthread_setcancelstate): Likewise.
36666         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
36667         <bp-sym.h>.
36668         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
36669         (memchr): Do not use BP_SYM in weak_alias.
36670         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
36671         (fegetenv): Do not use BP_SYM in versioned symbols.
36672         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
36673         (fesetenv): Do not use BP_SYM in versioned symbols.
36674         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
36675         (feupdateenv): Do not use BP_SYM in versioned symbols.
36676         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
36677         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
36678         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
36679         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
36680         (open64): Do not use BP_SYM in weak_alias.
36681         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
36682         (fegetenv): Do not use BP_SYM in versioned symbols.
36683         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
36684         (fesetenv): Do not use BP_SYM in versioned symbols.
36685         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
36686         (feupdateenv): Do not use BP_SYM in versioned symbols.
36687         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
36688         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
36689         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
36690         (feraiseexcept): Do not use BP_SYM in versioned symbols.
36691         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
36692         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
36693         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
36694         <bp-sym.h>.
36695         (__libc_start_main): Do not use BP_SYM.
36697 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
36699         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
36700         redundant return line.
36701         (norm): Likewise.
36702         (denorm): Likewise.
36703         (dbl_mp): Likewise.
36704         (sub_magnitudes): Likewise.
36705         (__add): Likewise.
36706         (__sub): Likewise.
36707         (__mul): Likewise.
36708         (__inv): Likewise.
36709         (__dvd): Likewise.
36710         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
36711         (norm): Likewise.
36712         (denorm): Likewise.
36713         (dbl_mp): Likewise.
36714         (sub_magnitudes): Likewise.
36715         (__add): Likewise.
36716         (__sub): Likewise.
36717         (__mul): Likewise.
36718         (__inv): Likewise.
36719         (__dvd): Likewise.
36721         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
36722         instead of __mul.
36723         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36724         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
36725         (cc32): Likewise.
36727         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
36728         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
36729         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
36730         of __mul for squares.
36731         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
36732         function
36733         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
36734         Likewise.
36735         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
36736         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36738 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
36740         [BZ #13550]
36741         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
36742         code.
36743         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
36744         prototype or function definition.  Rename ubp_* variables and
36745         parameters.  Remove argv definitions conditional on
36746         [__BOUNDED_POINTERS__].
36747         * debug/backtrace.c (__backtrace): Do not use __unbounded.
36748         * elf/dl-runtime.c (_dl_fixup): Likewise.
36749         * include/set-hooks.h (RUN_HOOK): Likewise.
36750         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
36751         definition.
36752         * string/strcpy.c (strcpy): Do not use __unbounded.
36753         * sysdeps/generic/frame.h (struct layout): Likewise.
36754         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
36755         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
36756         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
36757         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
36758         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
36759         (__backtrace): Likewise.
36760         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
36761         use __ptrvalue.
36762         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
36763         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
36764         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
36765         Likewise.
36766         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
36767         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
36768         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
36769         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
36770         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
36771         Do not use __unbounded.
36772         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
36773         Rename __unboundedrlimits parameter to rlimits in prototype.
36774         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
36775         Do not use __unbounded.
36776         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
36777         not use __ptrvalue.
36778         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
36779         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
36780         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
36781         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
36782         __ptrvalue or __unbounded.
36783         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
36784         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
36785         use __unbounded.
36786         (__new_msgctl): Do not use __ptrvalue.
36787         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
36788         __unbounded.
36789         (__libc_msgrcv): Do not use __ptrvalue.
36790         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
36791         startup_info): Do not use __unbounded.
36792         (__libc_start_main): Likewise.  Rename ubp_* variables and
36793         parameters.  Remove argv definitions conditional on
36794         [__BOUNDED_POINTERS__].
36795         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
36796         __ptrvalue.
36797         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
36798         use __unbounded.
36799         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
36800         or __ptrvalue.
36801         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
36802         use __unbounded.
36803         (__new_shmctl): Do not use __ptrvalue.
36804         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
36805         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
36806         Likewise.
36807         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
36808         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
36809         (__libc_sigaction): Likewise.
36810         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
36811         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
36812         Likewise.
36813         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
36815 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
36817         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
36819         * string/mempcpy.c: Implement by calling memcpy.
36821 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
36823         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
36825         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
36826         evaluation.
36828         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
36829         values in the mantissa.
36831         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
36832         minimize writes to Z.
36833         (sub_magnitudes): Simplify code a bit.
36835 2013-02-12  Roland McGrath  <roland@hack.frob.com>
36837         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
36838         from the message.  The linker prefixes all warnings with that already.
36840 2013-02-12  Andreas Schwab  <schwab@suse.de>
36842         [BZ #15078]
36843         * posix/regexec.c (extend_buffers): Add parameter min_len.
36844         (check_matching): Pass minimum needed length.
36845         (clean_state_log_if_needed): Likewise.
36846         (get_subexp): Likewise.
36847         * posix/Makefile (tests): Add bug-regex34.
36848         (bug-regex34-ENV): Define.
36849         * posix/bug-regex34.c: New file.
36851         [BZ #11561]
36852         * posix/regcomp.c (parse_bracket_exp): When looking up collating
36853         elements compare against the byte sequence of it, not its name.
36854         * posix/Makefile (tests): Add bug-regex35.
36855         (bug-regex35-ENV): Define.
36856         * posix/bug-regex35.c: New file.
36858 2013-02-11  Tom de Vries  <tom@codesourcery.com>
36860         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
36861         comment.
36862         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
36863         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
36864         (CHECK_EOL): Add undef.
36866 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
36868         * bits/stdlib-bsearch.h: New file.
36869         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
36870         * stdlib/stdlib.h: Likewise.
36872 2013-02-11  Roland McGrath  <roland@hack.frob.com>
36874         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
36875         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
36876         declaration.
36877         * manual/search.texi (Array Search Function): Add missing const in
36878         lfind prototype.
36879         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
36880         declaration to use rlim_t.
36881         (Basic Scheduling Functions): Remove erroneous const from
36882         sched_getparam prototype.  Remove erroneous * from
36883         sched_get_priority_max and sched_get_priority_min prototypes.
36884         (Resource Usage): Fix summary @comment on vtimes to refer to
36885         sys/vtimes.h rather than vtimes.h.
36886         Add missing *s in vtimes prototype.
36887         (Limits on Resources): Fix ulimit prototype to return long int.
36888         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
36889         prototypes to use long int rather than double.
36890         (BSD Random): Fix initstate and setstate to use char *, not void *.
36891         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
36892         prototype to make second argument 'struct aiocb64 *const[]'.
36893         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
36894         (Status of AIO Operations): Remove erroneous const in aio_return and
36895         aio_return64 prototypes.
36896         (Synchronizing I/O): Fix sync prototype to return void.
36897         * manual/startup.texi (Suboptions): Remove an erroneous const in
36898         getsubopt prototype.
36899         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
36900         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
36901         use size_t rather than int.
36902         (Scanning All Users): Likewise for getpwent_r.
36903         (Setting Groups): Add missing const to setgroups prototype.
36904         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
36905         * manual/socket.texi (Host Names): Fix gethostbyaddr and
36906         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
36907         'const void *' rather than 'const char *'.
36908         (Host Address Functions): Likewise for inet_ntop.
36909         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
36910         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
36911         ssize_t for return value.
36912         (Sending Data): Likewise for send, sendto, sendmsg.
36913         (Socket Option Functions): Add a missing const in setsockopt prototype.
36914         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
36915         use wchar_t for the argument.
36916         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
36917         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
36918         take no arguments.
36919         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
36920         double/float/long double for second argument.
36921         Fix return types of significand, significandf, significandl.
36922         * manual/filesys.texi (Setting Permissions): Use mode_t for second
36923         argument in fchmod prototype.
36924         (File Owner): Use uid_t and gid_t in fchown prototype.
36925         (File Times): Add const to utimes, futimes, and lutimes prototypes.
36926         (Making Special Files): Use mode_t and dev_t in mknod prototype.
36927         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
36928         use 'const struct dirent **' as argument types to CMP function pointer
36929         argument.
36930         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
36931         (File Times): Fix summary magic @comment for struct utimbuf and utime
36932         to refer to utime.h, not time.h.
36933         * manual/string.texi (Argz Functions): Add missing const in
36934         argz_extract and argz_next prototypes.
36935         (Finding Tokens in a String): Likewise for basename.
36936         (String/Array Comparison): Fix typo in wcscasecmp prototype.
36937         (Copying and Concatenation): Fix typo in wmemmove prototype.
36938         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
36939         (Signal Stack): Remove erroneous const in sigstack prototype.
36940         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
36941         prototype.
36942         (Simple Calendar Time): Likewise for stime.
36943         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
36944         prototype.
36945         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
36946         say sys/sysctl.h instead.
36947         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
36948         and vsyslog prototypes.
36950 2013-02-11  Tom de Vries  <tom@codesourcery.com>
36952         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
36953         Remove.
36955 2013-02-11  Roland McGrath  <roland@hack.frob.com>
36957         * misc/sys/mman.h: Fix typo in mremap comment.
36959 2013-02-08  Roland McGrath  <roland@hack.frob.com>
36961         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
36962         the '\0' terminator.
36964 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
36966         [BZ #13550]
36967         * debug/segfault.c: Don't include <bp-checks.h>.
36968         * sysdeps/generic/bp-checks.h: Remove file.
36969         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
36970         (__GETDENTS): Don't use CHECK_N.
36971         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
36972         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
36973         (__getgroups): Don't use CHECK_N.
36974         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
36975         (setgroups): Don't use CHECK_N.
36976         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
36977         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
36978         (__libc_msgrcv): Don't use CHECK_N.
36979         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
36980         (__libc_msgsnd): Don't use CHECK_N.
36981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
36982         <bp-checks.h>.
36983         (__libc_pread): Don't use CHECK_N.
36984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
36985         include <bp-checks.h>.
36986         (__libc_pread64): Don't use CHECK_N.
36987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
36988         include <bp-checks.h>.
36989         (__libc_pwrite): Don't use CHECK_N.
36990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
36991         include <bp-checks.h>.
36992         (__libc_pwrite64): Don't use CHECK_N.
36993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
36994         <bp-checks.h>.
36995         (__libc_pread): Don't use CHECK_N.
36996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
36997         include <bp-checks.h>.
36998         (__libc_pread64): Don't use CHECK_N.
36999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
37000         include <bp-checks.h>.
37001         (__libc_pwrite): Don't use CHECK_N.
37002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
37003         include <bp-checks.h>.
37004         (__libc_pwrite64): Don't use CHECK_N.
37005         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
37006         (do_pread): Don't use CHECK_N.
37007         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
37008         (do_pread64): Don't use CHECK_N.
37009         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
37010         (do_pwrite): Don't use CHECK_N.
37011         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
37012         (do_pwrite64): Don't use CHECK_N.
37013         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
37014         (__libc_readv): Don't use CHECK_N.
37015         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
37016         (semop): Don't use CHECK_N.
37017         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
37018         <bp-checks.h>.
37019         (semtimedop): Don't use CHECK_N.
37020         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
37021         (__libc_pread): Don't use CHECK_N.
37022         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
37023         <bp-checks.h>.
37024         (__libc_pread64): Don't use CHECK_N.
37025         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
37026         <bp-checks.h>.
37027         (__libc_pwrite): Don't use CHECK_N.
37028         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
37029         <bp-checks.h>.
37030         (__libc_pwrite64): Don't use CHECK_N.
37031         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
37032         <bp-checks.h>.
37033         (__libc_msgrcv): Don't use CHECK_N.
37034         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
37035         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
37036         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
37037         (__libc_writev): Don't use CHECK_N.
37039 2013-02-08  Roland McGrath  <roland@hack.frob.com>
37041         * string/strcpy.c: Removed unused variable.
37043         * Makeconfig (+sysdep-includes): Define with := rather than =.
37044         Use an existing include/ subdir of each sysdeps dir before it.
37046 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
37048         * nscd/connection.c (register_traced_file): Comment function.
37049         [HAVE_INOTIFY] (union __inev): Define.
37050         [HAVE_INOTIFY] (inotify_check_files): New function.
37051         [HAVE_INOTIFY] (clear_db_cache): Likewise.
37052         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
37053         clear_db_cache.
37054         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
37056 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
37058         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
37059         loaded if not already and that a failure is permanent.
37061 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
37063         [BZ #15006]
37064         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
37065         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
37067 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
37069         [BZ #13550]
37070         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
37071         (CHECK_1_NULL_OK): Likewise.
37072         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
37073         (__fxstat): Do not use CHECK_1.
37074         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
37075         <bp-checks.h>.
37076         (___fxstat64): Do not use CHECK_1.
37077         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
37078         <bp-checks.h>.
37079         (__fxstatat): Do not use CHECK_1.
37080         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
37081         <bp-checks.h>.
37082         (__fxstatat64): Do not use CHECK_1.
37083         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
37084         <bp-checks.h>.
37085         (__fxstat): Do not use CHECK_1.
37086         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
37087         <bp-checks.h>.
37088         (__fxstatat): Do not use CHECK_1.
37089         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
37090         <bp-checks.h>.
37091         (__getresgid): Do not use CHECK_1.
37092         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
37093         <bp-checks.h>.
37094         (__getresuid): Do not use CHECK_1.
37095         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
37096         <bp-checks.h>.
37097         (__lxstat): Do not use CHECK_1.
37098         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
37099         <bp-checks.h>.
37100         (__old_msgctl): Do not use CHECK_1.
37101         (__new_msgctl): Likewise.
37102         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
37103         <bp-checks.h>.
37104         (__new_setrlimit): Do not use CHECK_1.
37105         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
37106         <bp-checks.h>.
37107         (__old_shmctl): Do not use CHECK_1.
37108         (__new_shmctl): Likewise.
37109         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
37110         <bp-checks.h>.
37111         (__xstat): Do not use CHECK_1.
37112         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
37113         (__lxstat): Do not use CHECK_1.
37114         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
37115         <bp-checks.h>.
37116         (___lxstat64): Do not use CHECK_1.
37117         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
37118         (__old_msgctl): Do not use CHECK_1.
37119         (__new_msgctl): Likewise.
37120         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
37121         <bp-checks.h>.
37122         (__gettimeofday): Do not use CHECK_1.
37123         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
37124         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
37125         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
37126         <bp-checks.h>.
37127         (__gettimeofday): Do not use CHECK_1.
37128         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
37129         (__old_shmctl): Do not use CHECK_1_NULL_OK.
37130         (__new_shmctl): Do not use CHECK_1.
37131         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
37132         <bp-checks.h>.
37133         (do_sigtimedwait): Do not use CHECK_1.
37134         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
37135         <bp-checks.h>.
37136         (do_sigwaitinfo): Do not use CHECK_1.
37137         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
37138         <bp-checks.h>.
37139         (msgctl): Do not use CHECK_1.
37140         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
37141         <bp-checks.h>.
37142         (shmctl): Do not use CHECK_1.
37143         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
37144         (ustat): Do not use CHECK_1.
37145         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
37146         <bp-checks.h>.
37147         (__fxstat): Do not use CHECK_1.
37148         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
37149         <bp-checks.h>.
37150         (__fxstatat): Do not use CHECK_1.
37151         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
37152         <bp-checks.h>.
37153         (__lxstat): Do not use CHECK_1.
37154         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
37155         <bp-checks.h>.
37156         (__xstat): Do not use CHECK_1.
37157         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
37158         (__xstat): Do not use CHECK_1.
37159         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
37160         (___xstat64): Do not use CHECK_1.
37162         [BZ #13550]
37163         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
37164         definitions.
37165         (CHECK_BOUNDS_HIGH): Likewise.
37166         * string/strcpy.c: Do not include <bp-checks.h>.
37167         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
37169 2013-02-07  Roland McGrath  <roland@hack.frob.com>
37171         * nscd/nscd-client.h (__nscd_drop_map_ref):
37172         Add __attribute__ ((unused)).
37173         * nis/nss-nisplus.h (niserr2nss): Likewise.
37175         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
37176         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
37178         * csu/libc-tls.c (init_static_tls, init_slotinfo):
37179         Remove inline keyword.
37180         * include/rounding-mode.h (round_away): Likewise.
37181         * libio/wfileops.c (adjust_wide_data): Likewise.
37182         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
37183         (__m128i_strloadu_tolower): Likewise.
37184         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
37185         (__m128i_strloadu_tolower): Likewise.
37186         * time/mktime.c (ydhms_diff): Likewise.
37187         * locale/elem-hash.h (elem_hash): Likewise.
37188         * locale/setlocale.c (setdata): Likewise.
37189         * posix/regex_internal.h (re_string_char_size_at): Likewise.
37190         (re_string_wchar_at): Likewise.
37191         (bitset_not, bitset_merge, bitset_mask): Likewise.
37192         [!(__GNUC__ > 3)] (inline): Remove macro.
37193         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
37194         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
37195         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
37196         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
37197         * string/memcmp.c (memcmp_bytes): Likewise.
37198         * locale/programs/locarchive.c (compute_hashval): Likewise.
37199         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
37200         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
37201         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
37202         * nss/getent.c (print_rpc, print_protocols): Likewise.
37203         (print_passwd, print_group, print_aliases): Likewise.
37204         * nis/nss-nisplus.h (niserr2nss): Likewise.
37205         * nscd/connections.c (restart_p): Likewise.
37206         Change return type to bool.
37208 2013-02-05  Roland McGrath  <roland@hack.frob.com>
37210         * Makeconfig (all-Depend-files): Add existing
37211         $(sorted-subdirs:=/Depend) files.
37212         (all-subdirs): Remove nss.
37213         * sysdeps/unix/inet/Subdirs: Add it here instead.
37214         * hesiod/Depend: New file.
37216         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
37217         instead of calling alloca.
37219         * io/lseek.c (__lseek): Rename to __libc_lseek.
37220         Define __lseek as an alias.
37222         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
37224 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
37226         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
37227         else clause and remove check for non-standard endianness.
37229 2013-02-04  David S. Miller  <davem@davemloft.net>
37231         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37233 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
37235         [BZ #13550]
37236         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
37237         (__ubp_memchr): Remove prototype.
37238         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
37239         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37240         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
37241         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37242         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
37243         Remove alias.
37244         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
37245         (__ubp_memchr): Likewise.
37246         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
37247         (__ubp_memchr): Likewise.
37248         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
37249         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
37250         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
37251         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
37252         CHECK_STRING.
37253         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
37254         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
37255         (__getcwd): Do not use CHECK_STRING.
37256         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
37257         <bp-checks.h>.
37258         (__real_chown): Do not use CHECK_STRING.
37259         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
37260         <bp-checks.h>.
37261         (fchownat): Do not use CHECK_STRING.
37262         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
37263         CHECK_STRING.
37264         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
37265         <bp-checks.h>.
37266         (__lchown): Do not use CHECK_STRING.
37267         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
37268         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
37269         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
37270         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
37271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
37272         include <bp-checks.h>.
37273         (truncate64): Do not use CHECK_STRING.
37274         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
37275         <bp-checks.h>.
37276         (__real_chown): Do not use CHECK_STRING.
37277         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
37278         <bp-checks.h>.
37279         (__lchown): Do not use CHECK_STRING.
37280         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
37281         <bp-checks.h>.
37282         (__chown): Do not use CHECK_STRING.
37283         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
37284         <bp-checks.h>.
37285         (truncate64): Do not use CHECK_STRING.
37286         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
37287         Likewise.
37288         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
37289         (__xmknod): Do not use CHECK_STRING.
37290         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
37291         <bp-checks.h>.
37292         (__xmknodat): Do not use CHECK_STRING.
37293         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
37294         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
37296 2013-02-04  Andreas Schwab  <schwab@suse.de>
37298         [BZ #14142]
37299         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
37300         * include/netdb.h: Likewise for h_errno.
37301         * elf/tst-stackguard1.c: Include <tls.h>.
37303 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
37305         * elf/link.h (struct link_map): Extend the l_addr comment.
37306         * include/link.h (struct link_map): Likewise.
37308 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
37310         [BZ #13550]
37311         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
37312         (BOUNDED_1): Remove macro.
37313         * debug/backtrace.c: Don't include <bp-checks.h>.
37314         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
37315         (__backtrace): Likewise.
37316         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
37317         <bp-checks.h>.
37318         (__backtrace): Don't use BOUNDED_1.
37319         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
37320         <bp-checks.h>.
37321         (__backtrace): Don't use BOUNDED_1.
37322         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
37323         (__backtrace): Don't use BOUNDED_1.
37324         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
37325         (shmat): Don't use BOUNDED_N.
37327 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
37329         [BZ #13550]
37330         * sysdeps/generic/bp-start.h: Remove file.
37331         * csu/libc-start.c: Don't include <bp-start.h>.
37332         (LIBC_START_MAIN): Set up __environ directly instead of using
37333         INIT_ARGV_and_ENVIRON.
37334         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
37335         <bp-start.h>.
37337         [BZ #13550]
37338         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
37339         definitions.
37340         (CHECK_FCNTL): Likewise.
37341         (CHECK_N_PAGES): Likewise.
37343         [BZ #13550]
37344         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
37345         definitions.
37346         (CHECK_SIGSET_NULL_OK): Likewise.
37347         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
37348         <bp-checks.h>.
37349         (sigpending): Don't use CHECK_SIGSET.
37350         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
37351         <bp-checks.h>.
37352         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37353         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
37354         <bp-checks.h>.
37355         (do_sigsuspend): Don't use CHECK_SIGSET.
37356         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
37357         use CHECK_SIGSET.
37358         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
37359         (do_sigwait): Don't use CHECK_SIGSET.
37360         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
37361         use CHECK_SIGSET.
37362         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
37363         include <bp-checks.h>.
37364         (sigpending): Don't use CHECK_SIGSET.
37365         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
37366         include <bp-checks.h>.
37367         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37368         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
37369         <bp-checks.h>.
37370         (sigpending): Don't use CHECK_SIGSET.
37371         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
37372         <bp-checks.h>.
37373         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37375         [BZ #13550]
37376         * sysdeps/generic/bp-semctl.h: Remove file.
37377         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
37378         <bp-checks.h> and <bp-semctl.h>.
37379         (__old_semctl): Don't use CHECK_SEMCTL.
37380         (__new_semctl): Likewise.
37381         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
37382         and <bp-semctl.h>.
37383         (__old_semctl): Don't use CHECK_SEMCTL.
37384         (__new_semctl): Likewise.
37385         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
37386         <bp-checks.h> and <bp-semctl.h>.
37387         (__old_semctl): Don't use CHECK_SEMCTL.
37388         (__new_semctl): Likewise.
37389         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
37390         <bp-checks.h> and <bp-semctl.h>.
37391         (semctl): Don't use CHECK_SEMCTL.
37393         [BZ #13550]
37394         * Makerules (elide-bp-thunks): Remove variable.
37395         (elide-routines.oS): Don't use $(elide-bp-thunks).
37396         (elide-routines.os): Likewise.
37397         (elide-routines.o): Likewise.
37398         (elide-routines.op): Likewise.
37399         (elide-routines.og): Likewise.
37400         (objects): Don't use $(bp-thunks).
37401         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
37402         include.
37403         (common-generated): Do not add s-proto-bp.d.
37404         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
37405         (int): Likewise.
37406         (typ): Likewise.
37407         Do not generate makefile rules for bounded-pointer thunks.
37408         * sysdeps/generic/bp-thunks.h: Remove file.
37409         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
37410         * sysdeps/unix/s-proto-bp.S: Likewise.
37412         [BZ #15062]
37413         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
37414         parts of result separately when argument is not close to line from
37415         -i to i and one part of argument is small.
37416         * math/k_casinhf.c (__kernel_casinhf): Likewise.
37417         * math/k_casinhl.c (__kernel_casinhl): Likewise.
37418         * math/libm-test.inc (cacos_test): Add more tests.
37419         (casin_test): Likewise.
37420         (casinh_test): Likewise.
37421         * sysdeps/i386/fpu/libm-test-ulps: Update.
37422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37424 2013-01-31  David S. Miller  <davem@davemloft.net>
37426         * po/de.po: Update from translation team.
37428 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
37430         * time/tzfile.c: Include stdint.h for SIZE_MAX.
37432 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
37434         * configure.in (_AC_PROG_CC_C89): New definition.
37435         * configure: Regenerate.
37437         * configure.in (AC_PROG_CPP): New definition.
37438         * configure: Regenerate.
37440 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
37442         * debug/tst-backtrace.h: New file.
37443         * debug/tst-backtrace2.c: Include tst-backtrace.h.
37444         (ret): Remove variable.
37445         (x): Likewise.
37446         (FAIL): Remove macro.
37447         (NO_INLINE): Likewise.
37448         (fn1): Use match function instead of strstr.
37449         * debug/tst-backtrace3.c: Include tst-backtrace.h.
37450         (ret): Remove variable.
37451         (x): Likewise.
37452         (FAIL): Remove macro.
37453         (NO_INLINE): Likewise.
37454         (fn): Use match function instead of strstr.
37455         * debug/tst-backtrace4.c: Include tst-backtrace.h.
37456         (ret): Remove variable.
37457         (x): Likewise.
37458         (FAIL): Remove macro.
37459         (NO_INLINE): Likewise.
37460         (handle_signal): Use match function instead of strstr.
37461         * debug/tst-backtrace5.c: Include tst-backtrace.h.
37462         (ret): Remove variable.
37463         (x): Likewise.
37464         (FAIL): Remove macro.
37465         (NO_INLINE): Likewise.
37466         (handle_signal): Use match function instead of strstr.
37468 2013-01-23  Roland McGrath  <roland@hack.frob.com>
37470         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
37472 2013-01-23  David S. Miller  <davem@davemloft.net>
37474         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
37475         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
37476         argument of CAS if possible.
37477         * sysdeps/sparc/sparc64/bits/atomic.h
37478         (__arch_compare_and_exchange_val_32_acq): Likewise.
37479         (__arch_compare_and_exchange_val_64_acq): Likewise.
37481 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
37483         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
37484         * sysdeps/posix/ulimit.c: ... this.
37485         Include <limits.h>.
37486         * sysdeps/unix/bsd/ulimit.c: Remove file.
37488 2013-01-23  Adam Conrad  <adconrad@0c3.net>
37490         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
37491         (LDFLAGS-tst-array5): Likewise.
37493 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
37495         [BZ #15036]
37496         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
37497         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
37498         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
37499         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
37501 2013-01-21  David S. Miller  <davem@davemloft.net>
37503         * sysdeps/sparc/backtrace.c: New file.
37504         * sysdeps/sparc/sparc32/backtrace.h: New file.
37505         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
37506         * sysdeps/sparc/sparc64/backtrace.h: New file.
37507         * sysdeps/sparc/sparc64/backtrace.c: Delete.
37508         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
37509         -funwind-tables.
37511 2013-01-21  Andreas Schwab  <schwab@suse.de>
37513         [BZ #15020]
37514         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
37515         closed its stdout.
37517 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
37519         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
37520         "mpa2.h".
37521         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37523 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
37524             Mark Mitchell  <mark@codesourcery.com>
37525             Tom de Vries  <tom@codesourcery.com>
37526             Paul Pluzhnikov  <ppluzhnikov@google.com>
37528         * debug/tst-backtrace2.c: New file.
37529         * debug/tst-backtrace3.c: Likewise.
37530         * debug/tst-backtrace4.c: Likewise.
37531         * debug/tst-backtrace5.c: Likewise.
37532         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
37533         (CFLAGS-tst-backtrace3.c): Likewise.
37534         (CFLAGS-tst-backtrace4.c): Likewise.
37535         (CFLAGS-tst-backtrace5.c): Likewise.
37536         (LDFLAGS-tst-backtrace2): Likewise.
37537         (LDFLAGS-tst-backtrace3): Likewise.
37538         (LDFLAGS-tst-backtrace4): Likewise.
37539         (LDFLAGS-tst-backtrace5): Likewise.
37540         (tests): Add new tests tst-backtrace2, tst-backtrace3,
37541         tst-backtrace4 and tst-backtrace5.
37543 2013-01-18  Anton Blanchard  <anton@samba.org>
37544             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37546         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
37547         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
37548         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
37549         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
37550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37551         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
37552         "+r" and remove output regs list as redundant.  Add explicit inline
37553         asm to specify register of return val to work around compiler codegen
37554         bug.  Remove (int) cast on return value.  Add return type parameter to
37555         use in macro so that this macro does not truncate return value for
37556         64-bit values.
37557         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
37558         pass to INTERNAL_VSYSCALL_NCS.
37559         (INLINE_VSYSCALL): Add 'long int' as return type to
37560         INTERNAL_VSYSCALL_NCS macro invocation.
37561         (INTERNAL_VSYSCALL): Add 'long int' as return type to
37562         INTERNAL_VSYSCALL_NCS macro invocation.
37563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37565 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37567         [BZ #14496]
37568         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
37569         Fix application of SIMD FP exception mask.
37571         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
37572         mp_no from a power of two.
37573         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
37574         __mpexp_twomm1.  Use __pow_mp.
37576         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
37577         multiplication.
37579 2013-01-17  David S. Miller  <davem@davemloft.net>
37581         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37583 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
37585         [BZ #15023]
37586         * include/complex.h: Condition contents on [!_COMPLEX_H].
37587         (__kernel_casinhf): New prototype.
37588         (__kernel_casinh): Likewise.
37589         (__kernel_casinhl): Likewise.
37590         * math/Makefile (libm_calls): Add k_casinh.
37591         * math/k_casinh.c: New file.
37592         * math/k_casinhf.c: Likewise.
37593         * math/k_casinhl.c: Likewise.
37594         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
37595         finite nonzero arguments.
37596         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
37597         finite nonzero arguments.
37598         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
37599         finite nonzero arguments.
37600         * math/s_casinh.c: Do not include <float.h>.
37601         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
37602         * math/s_casinhf.c: Do not include <float.h>.
37603         (__casinhf): Move code for finite nonzero arguments to
37604         k_casinhf.c.
37605         * math/s_casinhl.c: Do not include <float.h>.
37606         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
37607         redefine.
37608         (__casinhl): Move code for finite nonzero arguments to
37609         k_casinhl.c.
37610         * math/libm-test.inc (cacos_test): Add more tests.
37611         * sysdeps/i386/fpu/libm-test-ulps: Update.
37612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37614 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
37616         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
37617         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
37618         [!HAVE_MREMAP]: Remove [defined linux] case.
37619         * malloc/arena.c: Do not include <malloc-sysdep.h>.
37621 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
37623         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
37625 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
37627         * elf/elf.h (R_386_SIZE32): New relocation.
37628         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
37629         R_386_SIZE32.
37630         (elf_machine_rela): Likewise.
37631         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
37632         R_X86_64_SIZE64 and R_X86_64_SIZE32.
37634 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
37636         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
37637         (FP_FAST_FMA): Do not define.
37638         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
37639         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
37640         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
37641         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
37642         !_SOFT_FLOAT]: Likewise.
37643         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
37644         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
37645         value.
37646         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
37647         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
37648         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
37649         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
37650         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
37651         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
37652         file.
37654 2013-01-16  Andreas Schwab  <schwab@suse.de>
37656         [BZ #14327]
37657         * include/stdlib.h (__mktemp): Add declaration.
37658         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
37659         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
37661 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37663         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
37664         definitions.
37665         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
37666         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
37667         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
37668         definitions here.
37669         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
37670         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
37671         definitions.
37672         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
37673         and ONE.
37674         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
37675         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
37676         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
37677         definitions.
37678         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
37679         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
37680         definitions.
37681         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
37683         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
37685 2013-01-15  David S. Miller  <davem@davemloft.net>
37687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37688         trunc{,f} to libm-sysdep_routes.
37689         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
37691         file.
37692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
37693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
37694         file.
37695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
37696         file.
37697         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
37698         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
37699         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
37700         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
37701         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
37702         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
37703         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
37704         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
37706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37707         nearbyint{,f} to libm-sysdep_routes.
37708         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
37710         New file.
37711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
37712         file.
37713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
37714         New file.
37715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
37716         file.
37717         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
37718         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
37719         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
37720         file.
37721         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
37722         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
37723         file.
37724         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
37725         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
37726         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
37728         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
37729         libc_feholdexcept and libc_fesetenv.
37731 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
37733         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
37735 2013-01-14  David S. Miller  <davem@davemloft.net>
37737         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
37738         (SPARC_ASM_VIS2_IFUNC): Likewise.
37739         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
37740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
37741         use of 'siam' instruction.
37742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
37743         Likewise.
37744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
37745         Likewise.
37746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
37747         Likewise.
37748         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
37749         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
37750         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
37751         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
37752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
37753         file.
37754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
37755         file.
37756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
37757         file.
37758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
37759         file.
37760         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
37761         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
37762         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
37763         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
37764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
37765         new VIS2 routines.
37766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37769         Likewise.
37770         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37771         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37772         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37773         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
37775         routines to libm-sysdep_routines.
37776         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37779         fdim/fdimf to libm-sysdep_routines.
37780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
37781         file.
37782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
37783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
37784         file.
37785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
37786         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
37787         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
37788         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
37789         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
37790         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
37791         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
37793 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37795         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
37796         to optimize copies.
37798         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
37799         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37800         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37802         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
37803         local variable MPTWO.
37804         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
37805         Likewise.
37807 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
37809         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
37810         GLOB_NOESCAPE.
37812 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
37814         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
37816 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
37818         * manual/pattern.texi (glob_t): Document gl_flags.
37819         (glob64_t): Likewise.
37821 2013-01-11  David S. Miller  <davem@davemloft.net>
37823         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
37824         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
37825         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
37826         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
37827         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
37828         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
37829         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
37830         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
37831         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
37832         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
37833         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
37834         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
37835         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
37837         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
37838         sparc V9 rather than using V8 code.
37839         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37840         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37842         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
37843         Move to...
37844         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
37845         Here.
37847 2013-01-11  Roland McGrath  <roland@hack.frob.com>
37849         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
37850         not in the main loop.
37851         * configure: Regenerated.
37853 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
37855         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
37856         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
37857         to just #else.
37858         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
37859         [!__GLIBC_HAVE_LONG_LONG] case.
37860         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
37861         condition to just #else.
37862         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
37863         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
37864         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
37865         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
37866         unconditional.
37867         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
37868         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
37869         #elif condition to just #else.
37870         * sysdeps/unix/sysv/linux/sys/sysmacros.h
37871         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
37872         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
37873         #elif condition to just #else.
37875 2013-01-11  Steve Ellcey  <sellcey@mips.com>
37877         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
37878         (EF_MIPS_ARCH_64): Fix value.
37879         (EF_MIPS_ARCH_32R2): New.
37880         (EF_MIPS_ARCH_64R2): New.
37882 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
37884         * Makeconfig (+link-pie-before-libc): New.
37885         (+link-pie-after-libc): Likewise.
37886         (+link-pie-tests): Likewise.
37887         (+link-pie): Rewritten.
37888         (link-before-libc): Remove $(config-LDFLAGS).
37889         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
37890         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
37891         (config-LDFLAGS): Renamed to ...
37892         (rtld-LDFLAGS): This.
37893         (rtld-tests-LDFLAGS): New macro.
37894         (link-libc-rpath-link): Likewise.
37895         (link-libc-tests-rpath-link): Likewise.
37896         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
37897         (link-libc): Prepand $(link-libc-rpath-link).
37898         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
37899         (test-program-prefix): New macro.
37900         (test-via-rtld-prefix): Likewise.
37901         (test-program-cmd): Likewise.
37902         (host-test-program-cmd): Likewise.
37903         * Makefile ($(common-objpfx)testrun.sh): Replace
37904         $(run-program-prefix) with $(test-program-prefix).
37905         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
37906         $(rtld-LDFLAGS).
37907         ($(common-objpfx)shlib.lds): Likewise.
37908         (build-module-helper): Likewise.
37909         ($(common-objpfx)format.lds): Likewise.
37910         * Rules (binaries-pie-tests): New.
37911         (binaries-pie-notests): Likewise.
37912         (binaries-pie): Rewritten.
37913         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
37914         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
37915         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
37916         (make-test-out): Replace $(host-built-program-cmd) with
37917         $(host-test-program-cmd).
37918         * config.make.in (build-hardcoded-path-in-tests): New variable.
37919         * configure.in (--enable-hardcoded-path-in-tests): New configure
37920         option.
37921         (hardcoded_path_in_tests): New AC_SUBST.
37922         * configure: Regenerated.
37923         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
37924         $(built-program-cmd) with $(test-program-cmd).
37925         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
37926         (test_program_cmd): This.
37927         * elf/Makefile ($(objpfx)order.out): Run test with
37928         $(test-program-prefix).
37929         ($(objpfx)order2.out): Likewise.
37930         ($(objpfx)tst-initorder.out): Likewise.
37931         ($(objpfx)tst-initorder2.out): Likewise.
37932         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
37933         $(test-program-cmd).
37934         ($(objpfx)tst-array1-static.out): Likewise.
37935         ($(objpfx)tst-array2.out): Likewise.
37936         ($(objpfx)tst-array3.out): Likewise.
37937         ($(objpfx)tst-array4.out): Likewise.
37938         ($(objpfx)tst-array5.out): Likewise.
37939         ($(objpfx)tst-array5-static.out): Likewise.
37940         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
37941         $(test-program-cmd).
37942         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
37943         $(run-program-prefix) with $(test-program-prefix).
37944         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
37945         (test_program_prefix): This.
37946         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
37947         $(run-program-prefix) with $(test-program-prefix).
37948         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
37949         (test_program_prefix): This.
37950         * iconvdata/tst-tables.sh: Likewise.
37951         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
37952         $(run-program-prefix) with $(test-program-prefix).
37953         ($(objpfx)tst-translit.out): Likewise.
37954         ($(objpfx)tst-gettext2.out): Likewise.
37955         ($(objpfx)tst-gettext4.out): Likewise.
37956         ($(objpfx)tst-gettext6.out): Likewise.
37957         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
37958         (test_program_prefix): This.
37959         * intl/tst-gettext2.sh: Likewise.
37960         * intl/tst-gettext4.sh  Likewise.
37961         * intl/tst-gettext6.sh: Likewise.
37962         * intl/tst-translit.sh: Likewise.
37963         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
37964         with $(test-program-cmd).
37965         * libio/Makefile ($(objpfx)test-freopen.out): Replace
37966         $(run-program-prefix) with $(test-program-prefix).
37967         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
37968         (test_program_prefix): This.
37969         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
37970         $(run-program-prefix) with $(test-program-prefix).
37971         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
37972         (test_program_prefix): This.
37973         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
37974         * posix/Makefile ($(objpfx)globtest.out): Replace
37975         $(run-via-rtld-prefix) and $(test-wrapper) with
37976         $(test-program-prefix) and $(test-via-rtld-prefix).
37977         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
37978         $(test-program-prefix).
37979         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
37980         $(host-test-program-cmd).
37981         (tst-spawn-ARGS): Likewise.
37982         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
37983         $(test-program-prefix).
37984         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
37985         (test_via_rtld_prefix): This.
37986         (test_wrapper): Renamed to ...
37987         (test_program_prefix): This.
37988         (run_program_prefix): Replaced by test_program_prefix.
37989         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
37990         (test_program_prefix): This.
37991         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
37992         with $(host-test-program-cmd).
37993         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
37994         $(run-program-prefix) with $(test-program-prefix).
37995         ($(objpfx)tst-printf.out): Likewise.
37996         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
37997         $(test-program-cmd).
37998         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
37999         (test_program_prefix): This.
38000         * stdio-common/tst-unbputc.sh: Likewise.
38001         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
38002         $(run-program-prefix) with $(test-program-prefix).
38003         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
38004         (test_program_prefix): This.
38005         * string/Makefile ($(objpfx)tst-svc.out):  Replace
38006         $(built-program-cmd) with $(test-program-cmd).
38008 2013-01-11  Andreas Jaeger  <aj@suse.de>
38010         [BZ #15003]
38011         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
38012         value. Sync with Linux 3.7.
38014 2013-01-10  David S. Miller  <davem@davemloft.net>
38016         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
38017         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38018         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38020 2013-01-10  Roland McGrath  <roland@hack.frob.com>
38022         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
38023         never set.
38024         * configure: Regenerated.
38026 2013-01-10  David S. Miller  <davem@davemloft.net>
38028         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
38029         sparc V9 rather than using V8 code.
38030         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38031         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38033 2013-01-10  Roland McGrath  <roland@hack.frob.com>
38035         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
38036         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
38037         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
38038         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
38039         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
38040         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
38041         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
38042         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
38043         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
38044         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
38045         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
38046         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
38047         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
38048         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
38049         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
38050         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
38051         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
38052         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
38053         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
38054         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
38055         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
38056         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
38057         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
38058         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
38059         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
38060         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
38061         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
38063 2013-01-10  David S. Miller  <davem@davemloft.net>
38065         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38067 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
38069         * posix/Makefile (tests-static): New variable.
38070         (tests): Add $(tests-static).
38071         (tst-exec-static-ARGS): New variable.
38072         (tst-spawn-static-ARGS): Likewise.
38073         * posix/tst-exec-static.c: New file.
38074         * posix/tst-spawn-static.c: Likewise.
38075         * posix/tst-exec.c: Support run directly.
38076         * posix/tst-spawn.c: Likewise.
38078 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
38080         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
38081         long.
38082         * math/bits/mathcalls.h (llrint): Likewise.
38083         (llround): Likewise.
38084         * stdlib/stdlib.h (struct drand48_data): Likewise.
38085         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
38086         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
38087         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
38088         Likewise.
38089         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
38090         Likewise.
38091         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
38092         (elf_greg_t): Likewise.
38093         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
38094         (__jmp_buf): Likewise.
38095         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
38096         definitions.
38097         (llrint): Likewise, for all definitions.
38098         (llrintl): Likewise.
38100         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
38101         Remove [__GNUC__] condition.
38102         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
38103         condition to just [__USE_ISOC99].
38104         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
38106 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
38108         [BZ #14200]
38109         * sysdeps/unix/sysv/linux/x86/bits/environments.h
38110         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
38111         defined.
38112         (_POSIX_V6_ILP32_OFF32): Likewise.
38113         (_XBS5_ILP32_OFF32): Likewise.
38114         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
38115         (__ILP32_OFFBIG_LDFLAGS): Likewise.
38117 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38119         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
38121         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
38122         doubles __mpexp_twomm1.  Adjust usage.
38123         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
38124         Remove.
38126 2013-01-10  Andreas Schwab  <schwab@suse.de>
38128         [BZ #14964]
38129         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
38130         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
38132 2013-01-09  David S. Miller  <davem@davemloft.net>
38134         [BZ #15003]
38135         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
38136         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
38137         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
38138         (TCP_FASTOPEN): Define.
38139         (tcp_repair_opt): New structure.
38140         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
38141         enum values.
38142         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
38143         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
38144         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
38145         (tcp_cookie_transactions): New structure.
38147 2013-01-09  Anton Blanchard  <anton@samba.org>
38149         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
38150         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
38151         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
38152         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
38154 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
38156         * include/features.h (__USE_ANSI): Remove.
38158 2013-01-09  Roland McGrath  <roland@hack.frob.com>
38160         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
38162         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
38164 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
38166         * sysdeps/s390/fpu/libm-test-ulps: Update.
38168         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38170         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
38171         (__acr): Likewise.
38172         (__cpy): Likewise.
38173         (norm): Likewise.
38174         (denorm): Likewise.
38175         (__mp_dbl): Likewise.
38176         (__dbl_mp): Likewise.
38177         (add_magnitudes): Likewise.
38178         (sub_magnitudes): Likewise.
38179         (__add): Likewise.
38180         (__sub): Likewise.
38181         (__mul): Likewise.
38182         (__inv): Likewise.
38183         (__dvd): Likewise.
38184         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
38185         (__acr): Likewise.
38186         (__cpy): Likewise.
38187         (norm): Likewise.
38188         (denorm): Likewise.
38189         (__mp_dbl): Likewise.
38190         (__dbl_mp): Likewise.
38191         (add_magnitudes): Likewise.
38192         (sub_magnitudes): Likewise.
38193         (__add): Likewise.
38194         (__sub): Likewise.
38195         (__mul): Likewise.
38196         (__inv): Likewise.
38197         (__dvd): Likewise.
38198         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
38199         (__acr): Likewise.
38200         (__cpy): Likewise.
38201         (norm): Likewise.
38202         (denorm): Likewise.
38203         (__mp_dbl): Likewise.
38204         (__dbl_mp): Likewise.
38205         (add_magnitudes): Likewise.
38206         (sub_magnitudes): Likewise.
38207         (__add): Likewise.
38208         (__sub): Likewise.
38209         (__mul): Likewise.
38210         (__inv): Likewise.
38211         (__dvd): Likewise.
38213 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
38215         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
38216         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
38217         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
38218         2 && __USE_EXTERN_INLINES]: Likewise.
38220 2013-01-08  Andreas Jaeger  <aj@suse.de>
38222         [BZ# 14985]
38223         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
38224         Remove.
38225         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38226         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38228 2013-01-07  Anton Blanchard  <anton@samba.org>
38230         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
38231         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
38232         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
38233         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
38234         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
38235         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38236         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
38237         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
38238         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38239         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38240         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38241         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38242         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38243         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38244         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
38245         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38246         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38247         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38248         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
38249         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
38250         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
38251         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
38252         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38253         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
38254         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
38255         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
38256         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38257         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
38258         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
38259         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38260         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
38261         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38262         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38263         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
38264         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
38265         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38266         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38267         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38268         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
38269         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
38270         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
38271         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38272         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
38274 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
38276         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
38277         (__MALLOC_PMT): Likewise.
38278         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
38279         [__GNUC__], only on [_LIBC].
38280         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38281         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
38282         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38283         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
38284         forward declaration.
38285         (realloc_hook_ini): Likewise.
38286         (memalign_hook_ini): Likewise.
38287         (__libc_memalign): Do not use __MALLOC_PMT in variable
38288         declaration.
38289         (__libc_valloc): Likewise.
38290         (__libc_pvalloc): Likewise.
38291         (__libc_calloc): Likewise.
38292         (__posix_memalign): Likewise.
38294         [BZ #14996]
38295         * math/s_casinh.c: Include <float.h>.
38296         (__casinh): Do not do computation with squaring and square root
38297         for large arguments.
38298         * math/s_casinhf.c: Include <float.h>.
38299         (__casinhf): Do not do computation with squaring and square root
38300         for large arguments.
38301         * math/s_casinhl.c: Include <float.h>.
38302         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
38303         (__casinhl): Do not do computation with squaring and square root
38304         for large arguments.
38305         * math/libm-test.inc (casin_test): Add more tests.
38306         (casinh_test): Likewise.
38307         * sysdeps/i386/fpu/libm-test-ulps: Update.
38308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38310 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
38312         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
38313         (__x86_64_raw_data_cache_size): Likewise.
38314         (__x86_64_data_cache_size_half): Likewise.
38315         (__x86_64_raw_data_cache_size_half): Likewise.
38316         (__x86_64_shared_cache_size): Likewise.
38317         (__x86_64_raw_shared_cache_size): Likewise.
38318         (__x86_64_shared_cache_size_half): Likewise.
38319         (__x86_64_raw_shared_cache_size_half): Likewise.
38320         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
38321         to ...
38322         (__x86_data_cache_size): This.
38323         (__x86_64_raw_data_cache_size): Renamed to ...
38324         (__x86_raw_data_cache_size): This.
38325         (__x86_64_data_cache_size_half): Renamed to ...
38326         (__x86_data_cache_size_half): This.
38327         (__x86_64_raw_data_cache_size_half): Renamed to ...
38328         (__x86_raw_data_cache_size_half): This.
38329         (__x86_64_shared_cache_size): Renamed to ...
38330         (__x86_shared_cache_size): This.
38331         (__x86_64_raw_shared_cache_size): Renamed to ...
38332         (__x86_raw_shared_cache_size): This.
38333         (__x86_64_shared_cache_size_half): Renamed to ...
38334         (__x86_shared_cache_size_half): This.
38335         (__x86_64_raw_shared_cache_size_half): Renamed to ...
38336         (__x86_raw_shared_cache_size_half): This.
38337         * sysdeps/x86_64/memcpy.S: Updated.
38338         * sysdeps/x86_64/memset.S: Likewise.
38339         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
38340         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38341         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38343 2013-01-04  David S. Miller  <davem@davemloft.net>
38345         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38347 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
38349         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
38350         1 to avoid redefinition warning.
38351         (__USE_GNU): Don't define.
38352         (init_signaling_nan): Protoize.
38354         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38356 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38358         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
38359         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
38360         (__cpymn): Likewise.
38361         (norm): Remove commented code.
38362         (denorm): Likewise.
38363         (__mp_dbl): Likewise.
38364         (__inv): Likewise.
38365         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
38366         (__cpymn): Likewise.
38367         (norm): Remove commented code.
38368         (denorm): Likewise.
38369         (__mp_dbl): Likewise.
38370         (__inv): Likewise.
38372         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
38373         mp_no value for 1.0 and 2.0.
38374         (norm): Use RADIXI instead of radixi.d.
38375         (denorm): Likewise.
38376         (__mul): Use 0.0 instead of zero.d.
38377         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
38378         mp_no value for 1.0 and 2.0.
38379         (norm): Use RADIXI instead of radixi.d.
38380         (denorm): Likewise.
38381         (__mul): Use 0.0 instead of zero.d.
38383 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
38385         [BZ #14994]
38386         * math/s_casinh.c (__casinh): Reduce finite argument to first
38387         quadrant then set signs of results at the end.
38388         * math/s_casinhf.c (__casinhf): Likewise.
38389         * math/s_casinhl.c (__casinhl): Likewise.
38390         * math/libm-test.inc (casin_test): Add more tests.
38391         (casinh_test): Likewise.
38392         * sysdeps/i386/fpu/libm-test-ulps: Update.
38393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38395 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38397         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
38399         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
38401         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
38402         declarations.
38403         (denorm): Likewise.
38404         (__mp_dbl): Likewise.
38405         (__inv): Likewise.
38407         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
38408         and adjust the header comment.
38410         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
38411         variable name from declaration.
38413 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
38415         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38416         Initialize COMMON_CPUID_INDEX_7 element.
38417         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
38418         (CPUID_RTM): Likewise.
38419         (HAS_RTM): Likewise.
38420         (COMMON_CPUID_INDEX_7): New enum.
38422 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
38424         [BZ #14981]
38425         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
38426         size is zero, record memory as freed.
38428 2013-01-03  Andreas Jaeger  <aj@suse.de>
38430         * po/ia.po: Add new Interlingua translation.
38432 2012-01-03  Allan McRae  <allan@archlinux.org>
38434         * locale/programs/localedef.c: Fix description of '--posix' flag.
38436 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
38438         * NEWS: Update dates in second copyright notice.
38439         * README: Update copyright dates in example.
38440         * manual/libc.texinfo: Update copyright dates.
38441         * scripts/test-installation.pl: Update copyright date in --version
38442         output.
38444         * hurd/ctty-input.c: Fix copyright notice formatting.
38445         * hurd/ctty-output.c: Likewise.
38446         * hurd/dtable.c: Likewise.
38447         * hurd/hurd-raise.c: Likewise.
38448         * hurd/hurdprio.c: Likewise.
38449         * hurd/msgportdemux.c: Likewise.
38450         * misc/sys/file.h: Likewise.
38451         * misc/sys/ioctl.h: Likewise.
38452         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
38453         * sysdeps/mach/hurd/chdir.c: Likewise.
38454         * sysdeps/mach/hurd/fchdir.c: Likewise.
38455         * sysdeps/mach/hurd/rename.c: Likewise.
38456         * sysdeps/mach/hurd/rmdir.c: Likewise.
38457         * sysdeps/mach/hurd/seekdir.c: Likewise.
38458         * sysdeps/mach/hurd/setsid.c: Likewise.
38459         * sysdeps/posix/wait3.c: Likewise.
38461         * All files with FSF copyright notices: Update copyright dates
38462         using scripts/update-copyrights.
38463         * intl/plural.c: Regenerated.
38464         * locale/programs/charmap-kw.h: Likewise.
38465         * locale/programs/locfile-kw.h: Likewise.
38467 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38469         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
38470         four values.
38472         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
38473         calculation loop and add branch prediction.
38475         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
38476         check access beyond bounds of m1np.
38478         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
38479         MPTWO.
38480         (__inv): Remove local variable MPTWO to use the global
38481         constant.
38482         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
38483         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
38484         variable MPTWO.
38485         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
38486         MP3HALFS static const.
38488 2013-01-01  David S. Miller  <davem@davemloft.net>
38490         * po/ca.po: Update from translation team.
38492 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
38494         * scripts/update-copyrights: New file.
38495         * Makeconfig: Reformat copyright notice.
38496         * ctype/ctype.h: Likewise.
38497         * debug/swprintf_chk.c: Likewise.
38498         * elf/dl-cache.c: Likewise.
38499         * elf/dl-debug.c: Likewise.
38500         * elf/dl-object.c: Likewise.
38501         * grp/initgroups.c: Likewise.
38502         * hurd/Makefile: Likewise.
38503         * hurd/hurd/signal.h: Likewise.
38504         * hurd/hurdfault.c: Likewise.
38505         * hurd/hurdioctl.c: Likewise.
38506         * hurd/hurdlookup.c: Likewise.
38507         * hurd/intr-msg.c: Likewise.
38508         * iconv/gconv_open.c: Likewise.
38509         * libio/swprintf.c: Likewise.
38510         * locale/lc-ctype.c: Likewise.
38511         * locale/nl_langinfo.c: Likewise.
38512         * mach/Machrules: Likewise.
38513         * mach/Makefile: Likewise.
38514         * malloc/obstack.h: Likewise.
38515         * manual/Makefile: Likewise.
38516         * manual/tsort.awk: Likewise.
38517         * misc/bits/stab.def: Likewise.
38518         * nis/nis_print_group_entry.c: Likewise.
38519         * nis/nis_table.c: Likewise.
38520         * nis/nss_compat/compat-pwd.c: Likewise.
38521         * nis/nss_compat/compat-spwd.c: Likewise.
38522         * po/Makefile: Likewise.
38523         * posix/fnmatch.c: Likewise.
38524         * posix/regex.h: Likewise.
38525         * resolv/Makefile: Likewise.
38526         * resolv/nss_dns/dns-network.c: Likewise.
38527         * resolv/res_hconf.c: Likewise.
38528         * scripts/gen-sorted.awk: Likewise.
38529         * soft-fp/soft-fp.h: Likewise.
38530         * stdio-common/printf.h: Likewise.
38531         * stdlib/monetary.h: Likewise.
38532         * stdlib/random.c: Likewise.
38533         * stdlib/random_r.c: Likewise.
38534         * sysdeps/generic/Makefile: Likewise.
38535         * sysdeps/gnu/Makefile: Likewise.
38536         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38537         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38538         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38539         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38540         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38541         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38542         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38543         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38544         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38545         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38546         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38547         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38548         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38549         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38550         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
38551         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38552         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38553         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38554         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38555         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38556         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38557         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38558         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38559         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
38560         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
38561         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38562         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
38563         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
38564         * sysdeps/mach/hurd/errnos.awk: Likewise.
38565         * sysdeps/mach/hurd/fork.c: Likewise.
38566         * sysdeps/mach/hurd/getcwd.c: Likewise.
38567         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
38568         * sysdeps/mach/hurd/mmap.c: Likewise.
38569         * sysdeps/mach/hurd/utimes.c: Likewise.
38570         * sysdeps/mach/hurd/xmknod.c: Likewise.
38571         * sysdeps/posix/profil.c: Likewise.
38572         * sysdeps/posix/readdir_r.c: Likewise.
38573         * sysdeps/powerpc/bits/mathdef.h: Likewise.
38574         * sysdeps/powerpc/bits/setjmp.h: Likewise.
38575         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
38576         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
38577         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38578         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38579         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38580         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38581         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38582         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38583         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38584         * sysdeps/pthread/lio_listio.c: Likewise.
38585         * sysdeps/sparc/dl-procinfo.h: Likewise.
38586         * sysdeps/unix/i386/sysdep.S: Likewise.
38587         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
38588         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
38589         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
38590         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
38591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38592         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
38593         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
38594         * sysdeps/unix/sysv/linux/speed.c: Likewise.
38595         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
38596         * sysdeps/wordsize-32/divdi3.c: Likewise.
38597         * time/sys/time.h: Likewise.
38598         * wcsmbs/Makefile: Likewise.
38600 2013-01-01  David S. Miller  <davem@davemloft.net>
38602         * po/fr.po: Update from translation team.
38604         * catgets/gencat.c: Update copyright year.
38605         * csu/version.c: Likewise.
38606         * debug/catchsegv.sh: Likewise.
38607         * debug/pcprofiledump.c: Likewise.
38608         * debug/xtrace.sh: Likewise.
38609         * elf/ldconfig.c: Likewise.
38610         * elf/ldd.bash.in: Likewise.
38611         * elf/pldd.c: Likewise.
38612         * elf/sotruss.ksh: Likewise.
38613         * elf/sprof.c: Likewise.
38614         * iconv/iconv_prog.c: Likewise.
38615         * iconv/iconvconfig.c: Likewise.
38616         * locale/programs/locale.c: Likewise.
38617         * locale/programs/localedef.c: Likewise.
38618         * login/programs/pt_chown.c: Likewise.
38619         * malloc/memusage.sh: Likewise.
38620         * malloc/memusagestat.c: Likewise.
38621         * malloc/mtrace.pl: Likewise.
38622         * nscd/nscd.c: Likewise.
38623         * nss/getent.c: Likewise.
38624         * nss/makedb.c: Likewise.
38625         * posix/getconf.c: Likewise.
38627 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
38629         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
38630         numbers.
38632 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
38634         * math/bits/mathcalls.h (modf): Use __nonnull.
38636 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38638         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
38639         (split): Use macro CN instead of the bare value.
38640         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
38641         could be used.
38642         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
38643         instead of the bare value.
38644         (power1): Likewise.
38646 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38648         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
38649         __ATAN_TWOM.
38650         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38652         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
38653         their values.
38654         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
38655         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
38656         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
38657         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
38659 2012-12-28  Andreas Jaeger  <aj@suse.de>
38661         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
38662         values are from Linux 3.7.
38664         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
38665         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
38667 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38669         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
38670         TRUE case.
38672         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
38673         (norm): Likewise.
38674         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
38675         variables with preprocessor constants.
38676         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38677         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
38678         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
38680 2012-12-27  Bruno Haible  <bruno@clisp.org>
38682         [BZ #14317]
38683         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
38684         only if needed.
38686 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38688         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
38689         and use variable directly.
38690         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
38692         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
38693         MPONE.
38694         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
38695         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
38696         variable MPONE.
38697         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
38698         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
38699         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
38700         include directive.  Remove local variable MPONE.
38701         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
38702         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
38703         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38705 2012-12-25  David S. Miller  <davem@davemloft.net>
38707         * version.h (RELEASE): Set to "development".
38708         (VERSION): Set to "2.17.90".
38709         * NEWS: Add 2.18 section.
38711 2012-12-21  David S. Miller  <davem@davemloft.net>
38713         * po/hr.po: Update from translation team.
38715 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38717         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
38719 2012-12-19  Steve Ellcey  <sellcey@mips.com>
38721         * NEWS:  Mention new memcpy for MIPS.
38723 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38725         * manual/contrib.texi (Contributors): Spelling correction.
38727 2012-12-15  David S. Miller  <davem@davemloft.net>
38729         * po/ru.po: Update from translation team.
38731 2012-12-13  David S. Miller  <davem@davemloft.net>
38733         * NEWS: Mention IFUNC testsuite enhancements.
38735         * po/pl.po: Update from translation team.
38736         * po/bg.po: Likewise.
38738         * manual/contrib.texi (Contributors): Update entries for Hongjiu
38739         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
38741 2012-12-11  David S. Miller  <davem@davemloft.net>
38743         * po/sv.po: Update from translation team.
38745         * po/vi.po: Update from translation team.
38747         * po/cs.po: Update from translation team.
38749         * po/de.po: Update from translation team.
38750         * po/eo.po: Likewise.
38751         * po/nl.po: Likewise.
38753 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38755         [BZ #14246]
38756         * manual/argp.texi (Argp Helper Functions): Move node to follow
38757         Argp Parsing State.
38759         [BZ #14872]
38760         * manual/conf.texi (Limits on File System Capacity): Mention if
38761         terminating null is included in the max size.
38763 2012-12-10  Andreas Jaeger  <aj@suse.de>
38765         * po/cs.po: Update from translation team.
38767 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
38769         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
38770         void pointer and cast to uintptr_t.
38771         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
38772         path.
38773         * sysdeps/s390/s390-64/memcpy.S: Likewise.
38774         * sysdeps/s390/s390-64/memset.S: Likewise.
38776 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
38778         [BZ #14833]
38779         * menual/message.texi (Message Translation): Fix typos.
38780         (Helper programs for gettext): Likewise.
38782 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
38784         [BZ #14898]
38785         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
38786         Change to -1.
38788 2012-12-07  David S. Miller  <davem@davemloft.net>
38790         * po/libc.pot: Update.
38792 2012-12-07  Richard Henderson  <rth@redhat.com>
38794         [BZ #10114]
38795         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
38796         normal/normal case to before the switch.
38797         (_FP_DIV): Likewise.
38799 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
38800             Mike Frysinger  <vapier@gentoo.org>
38802         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
38803         check for __NR_fadvise64_64.
38805 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
38807         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
38808         0, not just to plain "0" as a statement.
38809         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
38810         with cw.
38812 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
38814         * NEWS: Use sourceware.org in Bugzilla URL.
38816 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
38818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
38819         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
38821         * stdio-common/tst-put-error.c (do_test): Add newline to the
38822         padded test to ensure flush.
38824 2012-12-05  Jeff Law  <law@redhat.com>
38826         * sunrpc/etc.rpc (fedfs_admin): Add entry.
38828 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
38830         * README: Don't refer to ports add-on as distributed separately.
38831         Mention AArch64 in list of systems supported in the ports add-on.
38833         * LICENSES: Add more non-FSF copyright and license notices.
38835         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
38836         ((unused)).
38838         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
38840         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
38841         10000 as width of padded output.
38843 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
38845         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
38847         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
38848         variable LX with __attribute__ ((unused)).
38849         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38850         Likewise.
38851         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
38852         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38853         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
38854         with __attribute__ ((unused)).
38856 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
38858         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
38860 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
38862         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
38863         (CFLAGS-nldbl-acos.c): New variable.
38864         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
38865         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
38866         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
38867         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
38868         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
38869         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
38870         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
38871         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
38872         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
38873         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
38874         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
38875         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
38876         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
38877         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
38878         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
38879         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
38880         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
38881         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
38882         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
38883         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
38884         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
38885         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
38886         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
38887         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
38888         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
38889         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
38890         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
38891         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
38892         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
38893         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
38894         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
38895         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
38896         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
38897         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
38898         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
38899         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
38900         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
38901         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
38902         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
38903         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
38904         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
38905         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
38906         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
38907         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
38908         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
38909         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
38910         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
38911         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
38912         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
38913         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
38914         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
38915         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
38916         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
38917         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
38918         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
38919         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
38920         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
38921         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
38922         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
38923         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
38924         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
38925         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
38926         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
38927         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
38928         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
38929         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
38930         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
38931         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
38932         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
38933         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
38934         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
38935         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
38936         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
38937         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
38938         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
38939         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
38940         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
38941         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
38942         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
38943         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
38944         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
38945         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
38946         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
38947         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
38948         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
38949         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
38950         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
38951         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
38952         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
38953         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
38954         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
38955         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
38956         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
38957         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
38958         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
38959         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
38960         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
38962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
38963         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
38965         [BZ #14914]
38966         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
38967         whole low double instead of just low 47 bits when splitting values
38968         into two parts.
38970 2012-12-03  Allan McRae  <allan@archlinux.org>
38972         * manual/stdio.texi (Predefined Printf Handlers): Remove
38973         @hsep and @vsep usage.
38975 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
38977         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
38978         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
38980 2012-12-03  Jeff Law  <law@redhat.com>
38982         * time/sys/time.h (settimeofday): Do not mark TV argument
38983         as __nonnull.
38985 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
38987         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
38988         when currently writing and seek to current position when not.
38989         * libio/Makefile (tests): Remove bug-fclose1.
38990         * libio/bug-fclose1.c: Delete.
38992 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
38994         * manual/arith.texi (feenableexcept): Fix typo.
38995         (fedisableexcept): Likewise.
38997 2012-11-30  Roland McGrath  <roland@hack.frob.com>
38999         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
39000         second, differently-typed declaration, rather than a cast.
39002 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39004         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
39005         * include/rpc/svc.h: ... here.
39007 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
39009         [BZ #13013]
39010         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
39011         depending n and resplen2 to catch cases where answer
39012         equals answerp2.
39014 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
39016         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
39017         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
39019 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
39021         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
39023 2012-11-29  Roland McGrath  <roland@hack.frob.com>
39025         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
39027 2012-11-28  Jeff Law  <law@redhat.com>
39029         [BZ #13761]
39030         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
39031         dataset_temporary.  Track alloca usage into alloca_used.
39032         If dataset is large allocate and release it via malloc/free.
39034 2012-06-04  Florian Weimer  <fweimer@redhat.com>
39036         [BZ #14197]
39037         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
39039 2012-11-28  David S. Miller  <davem@davemloft.net>
39041         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39043 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
39045         [BZ #14803]
39046         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
39047         of pi/2 rounded to nearest to 64 bits.
39048         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
39049         nearest to 64 bits.
39050         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
39051         bits.
39053 2012-11-28  Jeff Law <law@redhat.com>
39054             Martin Osvald <mosvald@redhat.com>
39056         [BZ #14889]
39057         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
39058         * sunrpc/svc.c: Include time.h.
39059         (__svc_accept_failed): New function.
39060         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
39061         any reason other than EINTR, call __svc_accept_failed.
39062         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
39063         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
39065 2012-11-28  Andreas Schwab  <schwab@suse.de>
39067         * scripts/abilist.awk: Also handle indirect functions in .opd
39068         section.
39070 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
39072         [BZ #13881]
39073         * sysdeps/x86/fpu/powl_helper.c: New file.
39074         * sysdeps/x86/fpu/Makefile: Likewise.
39075         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
39076         (p3): New object.
39077         (__ieee754_powl): Use __powl_helper for finite arguments except
39078         integer exponents below 8.
39079         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
39080         (p3): New object.
39081         (__ieee754_powl): Use __powl_helper for finite arguments except
39082         integer exponents below 8.
39083         * math/libm-test.inc (pow_test): Add more tests and enable some
39084         previously disabled tests.
39085         * sysdeps/i386/fpu/libm-test-ulps: Update.
39086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39088 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39089             Carlos O'Donell  <carlos_odonell@mentor.com>
39091         * nss/makedb.c (is_prime): Assert that input is odd and greater
39092         than 4.  Note that fact in a comment too.
39093         (next_prime): Add 4 to input.
39095 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39097         [BZ #11741]
39098         * libio/Makefile (tests): Add test case tst-fwrite-error.
39099         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
39100         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
39101         * libio/tst-fwrite-error.c: New test case.
39103 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
39105         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
39106         before casting to void *.
39107         * include/libc-internal.h (__pointer_type): New macro.
39108         (__integer_if_pointer_type_sub): Likewise.
39109         (__integer_if_pointer_type): Likewise.
39110         (cast_to_integer): Likewise.
39111         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
39112         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
39113         before casting to atomic64_t.
39114         (atomic_exchange_acq): Likewise.
39115         (__arch_exchange_and_add_body): Likewise.
39116         (__arch_add_body): Likewise.
39117         (atomic_add_negative): Likewise.
39118         (atomic_add_zero): Likewise.
39120 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
39122         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
39123         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
39124         (add_fdes): Likewise.
39125         (linear_search_fdes): Likewise.
39126         (binary_search_unencoded_fdes): Likewise.
39128 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
39130         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
39132 2012-11-24  Adam Conrad  <adconrad@0c3.net>
39134         * configure.in: Autodetect C++ header directories.
39135         * configure: Regenerated.
39137 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
39139         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
39141 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
39143         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39145 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
39147         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
39148         LDBL_MANT_DIG == 106]: Disable some tests.
39149         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
39150         Likewise.
39151         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
39152         Likewise.
39154         [BZ #14871]
39155         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
39156         input for small inputs.  Return +/- pi/2 for large inputs.
39157         * math/libm-test.inc (atan_test): Add more tests.
39159         * sysdeps/generic/unwind-dw2-fde-glibc.c
39160         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
39161         __attribute__ ((unused)).
39163         [BZ #14645]
39164         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
39165         x * y if x and y are nonzero and z is zero.
39167         [BZ #14811]
39168         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
39169         nonzero exponents with absolute value below 0x1p-117 to +/-
39170         0x1p-117.
39172         [BZ #14869]
39173         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
39174         up arguments below 2**-450, not just those below 2**-500.
39175         * math/libm-test.inc (hypot_test): Add another test.
39177         [BZ #14868]
39178         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
39179         Return a+b for ratio over 2**120, not 2**60.
39180         * math/libm-test.inc (hypot_test): Add another test.
39182         * math/libm-test.inc (clog_test): Use
39183         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
39184         (clog10_test): Likewise.
39186         [BZ #6778]
39187         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
39189 2012-11-22  Andreas Schwab  <schwab@suse.de>
39191         * sysdeps/i386/fpu/libm-test-ulps: Update.
39193 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
39195         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
39196         printf output with newline.
39198 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
39200         [BZ #14865]
39201         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
39202         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
39203         -z nodlopen, -z initfirst and -z execstack support.
39204         * configure: Regenerated.
39206         * elf/elf.h (DF_1_NODIRECT): New macro.
39207         (DF_1_IGNMULDEF): Likewise.
39208         (DF_1_NOKSYMS): Likewise.
39209         (DF_1_NOHDR): Likewise.
39210         (DF_1_EDITED): Likewise.
39211         (DF_1_NORELOC): Likewise.
39212         (DF_1_SYMINTPOSE): Likewise.
39213         (DF_1_GLOBAUDIT): Likewise.
39214         (DF_1_SINGLETON): Likewise.
39215         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
39216         DT_1_SUPPORTED_MASK bits.
39217         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
39219 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
39221         * sysdeps/unix/make-syscalls.sh: Document prefixes.
39223 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
39225         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
39226         macro.
39228         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
39229         (sendmmsg): Move declarations...
39230         * socket/sys/socket.h: ... here.
39231         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
39232         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
39233         include it from...
39234         * socket/recvmmsg.c: ... this new file.
39235         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
39236         (sendmmsg): Rename to __sendmmsg, create weak alias and make
39237         definition of __sendmmsg hidden.
39238         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
39239         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
39240         Move ENOSYS stub into and include it from...
39241         * socket/sendmmsg.c: ... this new file.
39242         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
39243         (sysdep_routines): Move recvmmsg and sendmmsg...
39244         * socket/Makefile (routines): ... here.
39245         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
39246         (GLIBC_PRIVATE): Add __sendmmsg.
39247         * include/sys/socket.h (__sendmmsg): Add declarations.
39248         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
39249         sendmmsg.
39251 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
39253         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
39254         variable I1 with __attribute__ ((unused)).
39255         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39257 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
39259         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
39260         DUMMY variables with __attribute__ ((unused)).
39262         * bits/byteswap.h: Include <bits/types.h>.
39263         (__bswap_64): Use __uint64_t instead of unsigned long long int.
39265 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
39267         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
39268         string_t.  Do not manually set errno.
39269         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
39270         length with __strnlen.  Make sure to both set errno and return it on
39271         failure.
39273 2012-11-19  David S. Miller  <davem@davemloft.net>
39275         With help from Joseph Myers.
39276         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
39277         very large arguments properly.
39278         * math/libm-test.inc (atan_test): New tests.
39279         (atan2_test): New tests.
39280         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39281         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39283 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
39285         [BZ #14856]
39286         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
39287         Define to 3.
39289         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
39290         [POSIX] (EADDRNOTAVAIL): Likewise.
39291         [POSIX] (EAFNOSUPPORT): Likewise.
39292         [POSIX] (EALREADY): Likewise.
39293         [POSIX] (ECONNABORTED): Likewise.
39294         [POSIX] (ECONNREFUSED): Likewise.
39295         [POSIX] (ECONNRESET): Likewise.
39296         [POSIX] (EDESTADDRREQ): Likewise.
39297         [POSIX] (EDQUOT): Likewise.
39298         [POSIX] (EHOSTUNREACH): Likewise.
39299         [POSIX] (EIDRM): Likewise.
39300         [POSIX] (EISCONN): Likewise.
39301         [POSIX] (ELOOP): Likewise.
39302         [POSIX] (EMULTIHOP): Likewise.
39303         [POSIX] (ENETDOWN): Likewise.
39304         [POSIX] (ENETUNREACH): Likewise.
39305         [POSIX] (ENOBUFS): Likewise.
39306         [POSIX] (ENODATA): Likewise.
39307         [POSIX] (ENOLINK): Likewise.
39308         [POSIX] (ENOMSG): Likewise.
39309         [POSIX] (ENOPROTOOPT): Likewise.
39310         [POSIX] (ENOSR): Likewise.
39311         [POSIX] (ENOSTR): Likewise.
39312         [POSIX] (ENOTCONN): Likewise.
39313         [POSIX] (ENOTSOCK): Likewise.
39314         [POSIX] (EOPNOTSUPP): Likewise.
39315         [POSIX] (EOVERFLOW): Likewise.
39316         [POSIX] (EPROTO): Likewise.
39317         [POSIX] (EPROTONOSUPPORT): Likewise.
39318         [POSIX] (EPROTOTYPE): Likewise.
39319         [POSIX] (ESTALE): Likewise.
39320         [POSIX] (ETIME): Likewise.
39321         [POSIX] (ETXTBSY): Likewise.
39322         [POSIX] (EWOULDBLOCK): Likewise.
39323         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
39324         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
39325         [POSIX] (SEEK_CUR): Likewise.
39326         [POSIX] (SEEK_END): Likewise.
39327         [POSIX || UNIX98] (mode_t): Do not require.
39328         [POSIX] (off_t): Likewise.
39329         [POSIX] (pid_t): Likewise.
39330         [POSIX] (sys/stat.h): Do not allow header.
39331         [POSIX] (unistd.h): Likewise.
39332         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
39333         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
39334         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
39335         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
39336         require.
39337         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
39338         sigevent): Specify elements.
39339         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
39340         entry.
39341         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
39342         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
39344         * conform/data/cpio.h-data [POSIX]: Disable whole file.
39345         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
39346         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
39347         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
39348         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
39349         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
39350         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
39351         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
39352         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
39353         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
39354         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
39355         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
39356         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
39357         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
39358         Likewise.
39359         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
39360         Likewise.
39361         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
39362         Likewise.
39363         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
39364         Likewise.
39365         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
39366         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
39367         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
39368         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
39369         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
39370         Specify lower bound on value.
39371         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
39372         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
39373         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
39374         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
39375         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
39376         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
39377         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
39378         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
39379         value.
39380         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
39381         as optional.
39382         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
39383         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
39384         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
39385         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
39386         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
39387         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
39388         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
39389         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
39390         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
39391         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
39392         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
39393         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
39394         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
39395         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
39396         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
39397         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
39398         entry.
39399         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
39400         optional.
39401         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
39402         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
39403         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
39404         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
39405         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
39406         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
39407         Likewise.
39408         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
39409         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
39410         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
39411         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
39412         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
39413         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
39414         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
39415         as optional.
39416         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
39417         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
39418         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
39419         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
39420         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
39421         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
39422         specify as optional.
39423         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
39424         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
39425         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
39426         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
39427         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
39428         [XPG3] (NL_LANGMAX): Likewise.
39429         [POSIX || XPG3] (NL_MSGMAX): Likewise.
39430         [POSIX || XPG3] (NL_NMAX): Likewise.
39431         [POSIX || XPG3] (NL_SETMAX): Likewise.
39432         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
39433         [XPG3] (NZERO): Likewise.
39434         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
39435         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
39436         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
39437         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
39438         (REG_ERANGE): Expect.
39439         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
39440         optional-constant.
39441         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
39442         Use (void) in prototype.
39443         [POSIX] (*_t): Allow.
39444         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
39445         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
39446         (WRDE_BADVAL): Expect.
39448         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
39449         expect.
39450         [XPG3 || XPG4] (O_RSYNC): Likewise.
39451         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
39452         Likewise.
39453         [XPG3 || XPG4] (pthread_sigmask): Likewise.
39454         [XPG3 || XPG4] (sigqueue): Likewise.
39455         [XPG3 || XPG4] (sigtimedwait): Likewise.
39456         [XPG3 || XPG4] (sigwaitinfo): Likewise.
39457         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
39458         [XPG3 || XPG4] (vsnprintf): Likewise.
39459         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
39460         Likewise.
39461         [XPG3 || XPG4] (blksize_t): Likewise.
39462         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
39463         Likewise.
39464         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
39465         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
39466         [XPG3 || XPG4] (struct itimerspec): Likewise.
39467         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
39468         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
39469         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
39470         [XPG3 || XPG4] (clockid_t): Likewise.
39471         [XPG3 || XPG4] (timer_t): Likewise.
39472         [XPG3 || XPG4] (clock_getres): Likewise.
39473         [XPG3 || XPG4] (clock_gettime): Likewise.
39474         [XPG3 || XPG4] (clock_settime): Likewise.
39475         [XPG3 || XPG4] (nanosleep): Likewise.
39476         [XPG3 || XPG4] (timer_create): Likewise.
39477         [XPG3 || XPG4] (timer_delete): Likewise.
39478         [XPG3 || XPG4] (timer_gettime): Likewise.
39479         [XPG3 || XPG4] (timer_getoverrun): Likewise.
39480         [XPG3 || XPG4] (timer_settime): Likewise.
39481         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
39482         [XPG3 || XPG4] (getlogin_r): Likewise.
39483         [XPG3 || XPG4] (pread): Likewise.
39484         [XPG3 || XPG4] (pthread_atfork): Likewise.
39485         [XPG3 || XPG4] (pwrite): Likewise.
39487         [BZ #14835]
39488         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
39489         <bits/siginfo.h>.
39491 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
39493         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
39494         finalizing MALLSTREAM.
39496         * sysdeps/mach/hurd/syncfs.c: New file.
39498 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
39500         [BZ #14719]
39501         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
39502         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
39503         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
39504         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
39505         (_nss_dns_gethostbyname4_r): Likewise.
39506         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
39507         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
39509 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
39511         [BZ #13763]
39512         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
39514 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
39516         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
39517         * elf/cache.c (print_entry): Print ",AArch64" for
39518         FLAG_AARCH64_LIB64
39520         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
39521         * elf/cache.c (print_entry): Print ",hard-float" for
39522         FLAG_ARM_LIBHF.
39524 2012-11-18  David S. Miller  <davem@davemloft.net>
39526         With help from Joseph Myers.
39527         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
39528         cutoff to 2**-13.
39529         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
39530         cutoff to 2**-25.
39531         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
39532         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
39533         small.
39534         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
39535         * math/libm-test.inc (y0_test): New tests.
39536         (y1_test): New tests.
39537         * sysdeps/i386/fpu/libm-test-ulps: Update.
39538         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39539         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39541 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
39543         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
39544         64-bit targets.
39545         * configure: Regenerated.
39547 2012-11-17  David S. Miller  <davem@davemloft.net>
39549         [BZ #14811]
39550         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
39551         nonzero exponents with absolute value below 0x1p-128 to +/-
39552         0x1p-128.
39554 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
39556         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
39558         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
39560         * posix/getconf-speclist.c: New file.
39561         * posix/posix-envs.def: Likewise.
39562         * posix/confstr.c (START_ENV_GROUP): New macro.
39563         (END_ENV_GROUP): Likewise.
39564         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
39565         (KNOWN_PRESENT_ENV_STRING): Likewise.
39566         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
39567         (UNKNOWN_ENVIRONMENT): Likewise.
39568         (confstr): Include posix-envs.def instead of handling
39569         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
39570         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
39571         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
39572         (END_ENV_GROUP): Likewise.
39573         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
39574         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
39575         (UNKNOWN_ENVIRONMENT): Likewise.
39576         (__sysconf): Include posix-envs.def instead of handling associated
39577         cases directly here.
39578         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
39579         preprocessing getconf-speclist.c rather than running getconf or
39580         generating empty file.
39582 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
39584         * scripts/check-local-headers.sh: Ignore 'mach' headers.
39586 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
39588         [BZ #14672]
39589         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
39591 2012-11-16  David S. Miller  <davem@davemloft.net>
39593         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
39594         smaller than LDBL_EPSILON/2.0L, just return xm1.
39596 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
39598         * elf/tst-array1.c (init): Set constructor priority to 1000.
39599         (fini): Set destructor priority to 1000.
39600         * elf/tst-array2dep.c: Likewise.
39602 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39604         [BZ #11741]
39605         * libio/fileops.c (_IO_new_file_write): Correctly return error.
39606         (_IO_new_file_xsputn): Also return EOF if none of the input
39607         data was written when overflow failed.
39608         * libio/iopadn.c (_IO_padn): Likewise.
39609         * libio/iowpadn.c (_IO_wpadn): Likewise.
39610         * stdio-common/tst-put-error.c: Add copyright notice.
39611         (do_test): Add case for printing padded string.
39612         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
39613         _IO_padn returned error.
39614         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
39615         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
39616         return EOF.
39618 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39620         * libio/libioP.h: Add comment note that the references to C++
39621         bits are now obsolete.
39623 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39625         * math/libm-test.inc (check_complex): Use asprintf.
39627 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
39629         * debug/pcprofiledump.c (print_version): Update copyright year.
39630         * malloc/memusagestat.c (print_version): Likewise.
39632 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
39634         [BZ #14831]
39635         * elf/Makefile (tests): Add tst-audit8.
39636         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
39637         ($(objpfx)tst-audit8.out): New target.
39638         (tst-audit8-ENV): New variable.
39639         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
39640         audit if l_reloc_result is NULL.
39641         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
39642         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
39643         * elf/tst-audit8.c: New file.
39645 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39647         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
39648         * misc/Makefile (CFLAGS-select.c): Define.
39649         * posix/Makefile (CFLAGS-pause.c): Define.
39651 2012-11-13  David S. Miller  <davem@davemloft.net>
39653         * crypt/Makefile: Move test targets after toplevel Rules
39654         inclusion.  Grab any necessary sysdep routines when linking.
39655         * crypt/md5.c (md5_process_block): Remove define, we will always
39656         name it __md5_process_block.
39657         (md5_finish_ctx): Update md5_process_block call.
39658         (md5_stream): Likewise.
39659         (md5_process_bytes): Likewise.
39660         (md5_process_block): Rename to __md5_process_block and move to ...
39661         * crypt/md5-block.c: ... here.
39662         * crypt/sha256.c (sha256_process_block): Move to ...
39663         * crypt/sha256-block.c: ... here.
39664         * crypt/sha512.c (sha512_process_block): Move to ...
39665         * crypt/sha512-block.c: ... here.
39666         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
39667         path.
39668         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
39669         * sysdeps/sparc/sparc64/multiarch/Makefile
39670         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
39671         crypt subdir.
39672         (localedef-aux): Add md5 crypto assembler when in locale subdir.
39673         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
39674         multiarch changes.
39675         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
39676         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
39677         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
39678         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
39679         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
39680         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
39681         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
39682         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
39683         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
39684         file.
39685         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
39686         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
39687         file.
39688         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
39690 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
39692         * timezone/tzselect.ksh: Update from tzcode git revision
39693         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
39694         * timezone/zdump.c: Likewise.
39695         * timezone/zic.c: Likewise.
39696         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
39697         in TZVERSION setting, not $(PKGVERSION).
39698         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
39699         REPORT_BUGS_TO settings.
39701         [BZ #14838]
39702         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
39703         macro.
39705 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39707         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
39708         detection to immediately after _FP_ROUND().
39709         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
39710         bits are 0.
39712 2012-11-11  David S. Miller  <davem@davemloft.net>
39714         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
39715         inttypes.h
39716         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
39717         __close rather than their public counterparts.
39719 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
39721         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
39722         file.
39723         [UNIX98] (sem_timedwait): Do not expect.
39724         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
39725         [XPG4 || UNIX98] (sockatmark): Do not expect.
39726         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
39727         (clock_getcpuclockid): Do not expect.
39728         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
39729         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
39730         Do not expect.
39731         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
39732         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
39733         [UNIX98] (vwscanf): Likewise.
39734         [UNIX98] (vswscanf): Likewise.
39736 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
39738         * timezone/version.h: Remove file.
39739         * timezone/README: Do not refer to version.h.
39740         * timezone/Makefile ($(objpfx)zic.o): New dependency on
39741         $(objpfx)version.h.
39742         ($(objpfx)zdump.o): Likewise.
39743         ($(objpfx)version.h): New target.
39745         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
39746         2012i.
39747         * timezone/README: Don't mention modification to tzselect.ksh.
39748         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
39749         work on unmodified tzselect.ksh.  Substitute version numbers in
39750         tzselect.ksh.
39752         * Makefile (format-me): Remove.
39753         (INSTALL): Adjust indentation.  Use commands directly instead of
39754         using $(format-me).
39756         * aclocal.m4 (ACX_PKGVERSION): New macro.
39757         (ACX_BUGURL): Likewise.
39758         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
39759         (PKGVERSION): New AC_DEFINE_UNQUOTED.
39760         (REPORT_BUGS_TO): Likewise.
39761         * configure: Regenerated.
39762         * config.h.in (PKGVERSION): New macro.
39763         (REPORT_BUGS_TO): Likewise.
39764         * config.make.in (PKGVERSION): New variable.
39765         (PKGVERSION_TEXI): Likewise.
39766         (REPORT_BUGS_TO): Likewise.
39767         (REPORT_BUGS_TEXI): Likewise.
39768         * Makefile (format-me): Use -I$(common-objpfx)manual.
39769         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
39770         ($(common-objpfx)manual/%): New target.
39771         (manual/%): Remove target.
39772         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
39773         (print_version): Use PKGVERSION.
39774         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
39775         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
39776         and REPORT_BUGS_TO.
39777         ($(objpfx)xtrace): Likewise.
39778         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
39779         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
39780         (print_version): Use PKGVERSION.
39781         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
39782         (do_version): Use PKGVERSION.
39783         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
39784         REPORT_BUGS_TO.
39785         (common-ldd-rewrite): Likewise.
39786         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
39787         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
39788         (print_version): Use PKGVERSION.
39789         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
39790         * elf/pldd.c (argp_program_bug_address): Remove variable.
39791         (more_help): New function.
39792         (argp): Use more_help.
39793         (print_version): Use PKGVERSION.
39794         * elf/sln.c (main): Use PKGVERSION.
39795         (usage): Use REPORT_BUGS_TO.
39796         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
39797         (top level): Use PKGVERSION.
39798         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
39799         (print_version): Use PKGVERSION.
39800         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
39801         (print_version): Use PKGVERSION.
39802         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
39803         (print_version): Use PKGVERSION.
39804         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
39805         (print_version): Use PKGVERSION.
39806         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
39807         (print_version): Use PKGVERSION.
39808         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
39809         (print_version): Use PKGVERSION.
39810         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
39811         and BUGURL.
39812         ($(objpfx)memusage): Likewise.
39813         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
39814         (do_version): Use PKGVERSION.
39815         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
39816         (print_version): Use PKGVERSION.
39817         * malloc/mtrace.pl ($PACKAGE): Remove variable.
39818         ($PKGVERSION): New variable.
39819         ($REPORT_BUGS_TO): Likewise.
39820         (usage): Use $REPORT_BUGS_TO.
39821         (top level): Use $PKGVERSION.
39822         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
39823         ($(objpfx)pkgvers.texi): New rule.
39824         ($(objpfx)stamp-pkgvers): Likewise.
39825         * manual/install.texi: Include pkgvers.texi.
39826         (--with-pkgversion): Document new configure option.
39827         (--with-bugurl): Likewise.
39828         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
39829         than necessarily for this particular distribution.  Use
39830         REPORT_BUGS_TO for where to report bugs.
39831         * INSTALL: Regenerated.
39832         * manual/libc.texinfo: Include pkgvers.texi.
39833         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
39834         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
39835         (print_version): Use PKGVERSION.
39836         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
39837         (print_version): Use PKGVERSION.
39838         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
39839         (print_version): Use PKGVERSION.
39840         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
39841         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
39842         macro.
39843         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
39844         (print_version): Use PKGVERSION.
39845         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
39846         (print_version): Use PKGVERSION.
39847         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
39848         and PKGVERSION.
39850         * timezone/checktab.awk: Update from tzcode 2012i.
39851         * timezone/ialloc.c: Likewise.
39852         * timezone/private.h: Likewise.
39853         * timezone/scheck.c: Likewise.
39854         * timezone/tzfile.h: Likewise.
39855         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
39856         (TZVERSION): Hardcode tzcode version number.
39857         * timezone/zdump.c: Update from tzcode 2012i.
39858         * timezone/zic.c: Likewise.
39859         * timezone/version.h: New file.
39860         * timezone/README: Describe version.h.  Update upstream location.
39862         [BZ #14824]
39863         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
39864         (mktemp): Enable declaration.
39865         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
39866         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
39867         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
39868         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
39869         Likewise.
39870         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
39871         Likewise.
39872         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
39873         Likewise.
39874         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
39875         Likewise.
39876         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
39877         Likewise.
39878         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
39879         Likewise.
39881         [BZ #14821]
39882         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
39883         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
39884         for copies of such integer values.
39885         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
39886         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
39888 2012-11-09  Andreas Jaeger  <aj@suse.de>
39890         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
39891         definitions and declarations that are provided by
39892         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
39894 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39896         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
39897         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
39898         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
39899         definition.
39901 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39903         * elf/elf.h: Update comment before AArch64 relocations.
39905 2012-11-07  David S. Miller  <davem@davemloft.net>
39907         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
39908         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39909         (__start_context): Declare.
39910         (__makecontext_ret): Delete.
39911         (__makecontext): Hook up __start_context instead of
39912         __makecontext_ret.
39913         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
39914         (sysdep_routines): Add __start_context when in stdlib.
39916 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
39918         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
39919         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
39920         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
39921         hardcoded "nm".
39922         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
39923         (READELF): New variable.  Use it instead of hardcoded "readelf".
39925 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
39927         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
39928         * sysdeps/x86/Makefile: Here.
39929         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
39930         * sysdeps/x86/tst-xmmymm.sh: This.
39932 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
39934         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
39935         expectations.
39936         [UNIX98] (pthread_barrier_t): Do not expect.
39937         [UNIX98] (pthread_barrierattr_t): Likewise.
39938         [UNIX98] (pthread_spinlock_t): Likewise.
39939         [UNIX98] (pthread_barrier_destroy): Likewise.
39940         [UNIX98] (pthread_barrier_init): Likewise.
39941         [UNIX98] (pthread_barrier_wait): Likewise.
39942         [UNIX98] (pthread_barrierattr_destroy): Likewise.
39943         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
39944         [UNIX98] (pthread_barrierattr_init): Likewise.
39945         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
39946         [UNIX98] (pthread_getcpuclockid): Likewise.
39947         [UNIX98] (pthread_mutex_timedlock): Likewise.
39948         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
39949         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
39950         [UNIX98] (pthread_sigmask): Likewise.
39951         [UNIX98] (pthread_spin_destroy): Likewise.
39952         [UNIX98] (pthread_spin_init): Likewise.
39953         [UNIX98] (pthread_spin_lock): Likewise.
39954         [UNIX98] (pthread_spin_trylock): Likewise.
39955         [UNIX98] (pthread_spin_unlock): Likewise.
39956         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
39957         Do not expect.
39958         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
39959         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
39960         [XPG3 || XPG4] (pthread_cond_t): Likewise.
39961         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
39962         [XPG3 || XPG4] (pthread_key_t): Likewise.
39963         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
39964         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
39965         [XPG3 || XPG4] (pthread_once_t): Likewise.
39966         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
39967         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
39968         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
39969         [XPG3 || XPG4] (pthread_t): Likewise.
39971         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
39972         not expect.
39973         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
39975         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
39976         Change function return type to int.
39978         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
39979         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
39980         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
39981         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
39982         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
39983         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
39984         [!POSIX] (posix_madvise): Likewise.
39985         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
39986         && !UNIX98].
39987         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
39988         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
39989         (mode_t): Likewise.
39990         (posix_mem_offset): Likewise.
39991         (posix_typed_mem_get_info): Likewise.
39992         (posix_typed_mem_open): Likewise.
39994         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
39995         Change condition to [XOPEN2K8].
39997         * conform/conformtest.pl: Preprocess allow-header data with -x c
39998         instead of from stdin.
39999         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
40000         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
40001         [C99-based standards] (cerfc): Likewise.
40002         [C99-based standards] (cexp2): Likewise.
40003         [C99-based standards] (cexpm1): Likewise.
40004         [C99-based standards] (clog10): Likewise.
40005         [C99-based standards] (clog1p): Likewise.
40006         [C99-based standards] (clog2): Likewise.
40007         [C99-based standards] (clgamma): Likewise.
40008         [C99-based standards] (ctgamma): Likewise.
40009         [C99-based standards] (cerff): Likewise.
40010         [C99-based standards] (cerfcf): Likewise.
40011         [C99-based standards] (cexp2f): Likewise.
40012         [C99-based standards] (cexpm1f): Likewise.
40013         [C99-based standards] (clog10f): Likewise.
40014         [C99-based standards] (clog1pf): Likewise.
40015         [C99-based standards] (clog2f): Likewise.
40016         [C99-based standards] (clgammaf): Likewise.
40017         [C99-based standards] (ctgammaf): Likewise.
40018         [C99-based standards] (cerfl): Likewise.
40019         [C99-based standards] (cerfcl): Likewise.
40020         [C99-based standards] (cexp2l): Likewise.
40021         [C99-based standards] (cexpm1l): Likewise.
40022         [C99-based standards] (clog10l): Likewise.
40023         [C99-based standards] (clog1pl): Likewise.
40024         [C99-based standards] (clog2l): Likewise.
40025         [C99-based standards] (clgammal): Likewise.
40026         [C99-based standards] (ctgammal): Likewise.
40027         * conform/data/inttypes.h-data [C99-based standards]: Include
40028         stdint.h-data.  Remove all expectations for stdint.h contents.
40029         [C99-based standards] (PRI*): Do not allow.
40030         [C99-based standards] (SCN*): Likewise.
40031         [C99-based standards] (*_t): Likewise.
40032         [C99-based-standards] (PRId8): Expect macro.
40033         [C99-based-standards] (PRIi8): Likewise.
40034         [C99-based-standards] (PRIo8): Likewise.
40035         [C99-based-standards] (PRIu8): Likewise.
40036         [C99-based-standards] (PRIx8): Likewise.
40037         [C99-based-standards] (PRIX8): Likewise.
40038         [C99-based-standards] (SCNd8): Likewise.
40039         [C99-based-standards] (SCNi8): Likewise.
40040         [C99-based-standards] (SCNo8): Likewise.
40041         [C99-based-standards] (SCNu8): Likewise.
40042         [C99-based-standards] (SCNx8): Likewise.
40043         [C99-based-standards] (PRIdLEAST8): Likewise.
40044         [C99-based-standards] (PRIiLEAST8): Likewise.
40045         [C99-based-standards] (PRIoLEAST8): Likewise.
40046         [C99-based-standards] (PRIuLEAST8): Likewise.
40047         [C99-based-standards] (PRIxLEAST8): Likewise.
40048         [C99-based-standards] (PRIXLEAST8): Likewise.
40049         [C99-based-standards] (SCNdLEAST8): Likewise.
40050         [C99-based-standards] (SCNiLEAST8): Likewise.
40051         [C99-based-standards] (SCNoLEAST8): Likewise.
40052         [C99-based-standards] (SCNuLEAST8): Likewise.
40053         [C99-based-standards] (SCNxLEAST8): Likewise.
40054         [C99-based-standards] (PRIdFAST8): Likewise.
40055         [C99-based-standards] (PRIiFAST8): Likewise.
40056         [C99-based-standards] (PRIoFAST8): Likewise.
40057         [C99-based-standards] (PRIuFAST8): Likewise.
40058         [C99-based-standards] (PRIxFAST8): Likewise.
40059         [C99-based-standards] (PRIXFAST8): Likewise.
40060         [C99-based-standards] (SCNdFAST8): Likewise.
40061         [C99-based-standards] (SCNiFAST8): Likewise.
40062         [C99-based-standards] (SCNoFAST8): Likewise.
40063         [C99-based-standards] (SCNuFAST8): Likewise.
40064         [C99-based-standards] (SCNxFAST8): Likewise.
40065         [C99-based-standards] (PRId16): Likewise.
40066         [C99-based-standards] (PRIi16): Likewise.
40067         [C99-based-standards] (PRIo16): Likewise.
40068         [C99-based-standards] (PRIu16): Likewise.
40069         [C99-based-standards] (PRIx16): Likewise.
40070         [C99-based-standards] (PRIX16): Likewise.
40071         [C99-based-standards] (SCNd16): Likewise.
40072         [C99-based-standards] (SCNi16): Likewise.
40073         [C99-based-standards] (SCNo16): Likewise.
40074         [C99-based-standards] (SCNu16): Likewise.
40075         [C99-based-standards] (SCNx16): Likewise.
40076         [C99-based-standards] (PRIdLEAST16): Likewise.
40077         [C99-based-standards] (PRIiLEAST16): Likewise.
40078         [C99-based-standards] (PRIoLEAST16): Likewise.
40079         [C99-based-standards] (PRIuLEAST16): Likewise.
40080         [C99-based-standards] (PRIxLEAST16): Likewise.
40081         [C99-based-standards] (PRIXLEAST16): Likewise.
40082         [C99-based-standards] (SCNdLEAST16): Likewise.
40083         [C99-based-standards] (SCNiLEAST16): Likewise.
40084         [C99-based-standards] (SCNoLEAST16): Likewise.
40085         [C99-based-standards] (SCNuLEAST16): Likewise.
40086         [C99-based-standards] (SCNxLEAST16): Likewise.
40087         [C99-based-standards] (PRIdFAST16): Likewise.
40088         [C99-based-standards] (PRIiFAST16): Likewise.
40089         [C99-based-standards] (PRIoFAST16): Likewise.
40090         [C99-based-standards] (PRIuFAST16): Likewise.
40091         [C99-based-standards] (PRIxFAST16): Likewise.
40092         [C99-based-standards] (PRIXFAST16): Likewise.
40093         [C99-based-standards] (SCNdFAST16): Likewise.
40094         [C99-based-standards] (SCNiFAST16): Likewise.
40095         [C99-based-standards] (SCNoFAST16): Likewise.
40096         [C99-based-standards] (SCNuFAST16): Likewise.
40097         [C99-based-standards] (SCNxFAST16): Likewise.
40098         [C99-based-standards] (PRId32): Likewise.
40099         [C99-based-standards] (PRIi32): Likewise.
40100         [C99-based-standards] (PRIo32): Likewise.
40101         [C99-based-standards] (PRIu32): Likewise.
40102         [C99-based-standards] (PRIx32): Likewise.
40103         [C99-based-standards] (PRIX32): Likewise.
40104         [C99-based-standards] (SCNd32): Likewise.
40105         [C99-based-standards] (SCNi32): Likewise.
40106         [C99-based-standards] (SCNo32): Likewise.
40107         [C99-based-standards] (SCNu32): Likewise.
40108         [C99-based-standards] (SCNx32): Likewise.
40109         [C99-based-standards] (PRIdLEAST32): Likewise.
40110         [C99-based-standards] (PRIiLEAST32): Likewise.
40111         [C99-based-standards] (PRIoLEAST32): Likewise.
40112         [C99-based-standards] (PRIuLEAST32): Likewise.
40113         [C99-based-standards] (PRIxLEAST32): Likewise.
40114         [C99-based-standards] (PRIXLEAST32): Likewise.
40115         [C99-based-standards] (SCNdLEAST32): Likewise.
40116         [C99-based-standards] (SCNiLEAST32): Likewise.
40117         [C99-based-standards] (SCNoLEAST32): Likewise.
40118         [C99-based-standards] (SCNuLEAST32): Likewise.
40119         [C99-based-standards] (SCNxLEAST32): Likewise.
40120         [C99-based-standards] (PRIdFAST32): Likewise.
40121         [C99-based-standards] (PRIiFAST32): Likewise.
40122         [C99-based-standards] (PRIoFAST32): Likewise.
40123         [C99-based-standards] (PRIuFAST32): Likewise.
40124         [C99-based-standards] (PRIxFAST32): Likewise.
40125         [C99-based-standards] (PRIXFAST32): Likewise.
40126         [C99-based-standards] (SCNdFAST32): Likewise.
40127         [C99-based-standards] (SCNiFAST32): Likewise.
40128         [C99-based-standards] (SCNoFAST32): Likewise.
40129         [C99-based-standards] (SCNuFAST32): Likewise.
40130         [C99-based-standards] (SCNxFAST32): Likewise.
40131         [C99-based-standards] (PRId64): Likewise.
40132         [C99-based-standards] (PRIi64): Likewise.
40133         [C99-based-standards] (PRIo64): Likewise.
40134         [C99-based-standards] (PRIu64): Likewise.
40135         [C99-based-standards] (PRIx64): Likewise.
40136         [C99-based-standards] (PRIX64): Likewise.
40137         [C99-based-standards] (SCNd64): Likewise.
40138         [C99-based-standards] (SCNi64): Likewise.
40139         [C99-based-standards] (SCNo64): Likewise.
40140         [C99-based-standards] (SCNu64): Likewise.
40141         [C99-based-standards] (SCNx64): Likewise.
40142         [C99-based-standards] (PRIdLEAST64): Likewise.
40143         [C99-based-standards] (PRIiLEAST64): Likewise.
40144         [C99-based-standards] (PRIoLEAST64): Likewise.
40145         [C99-based-standards] (PRIuLEAST64): Likewise.
40146         [C99-based-standards] (PRIxLEAST64): Likewise.
40147         [C99-based-standards] (PRIXLEAST64): Likewise.
40148         [C99-based-standards] (SCNdLEAST64): Likewise.
40149         [C99-based-standards] (SCNiLEAST64): Likewise.
40150         [C99-based-standards] (SCNoLEAST64): Likewise.
40151         [C99-based-standards] (SCNuLEAST64): Likewise.
40152         [C99-based-standards] (SCNxLEAST64): Likewise.
40153         [C99-based-standards] (PRIdFAST64): Likewise.
40154         [C99-based-standards] (PRIiFAST64): Likewise.
40155         [C99-based-standards] (PRIoFAST64): Likewise.
40156         [C99-based-standards] (PRIuFAST64): Likewise.
40157         [C99-based-standards] (PRIxFAST64): Likewise.
40158         [C99-based-standards] (PRIXFAST64): Likewise.
40159         [C99-based-standards] (SCNdFAST64): Likewise.
40160         [C99-based-standards] (SCNiFAST64): Likewise.
40161         [C99-based-standards] (SCNoFAST64): Likewise.
40162         [C99-based-standards] (SCNuFAST64): Likewise.
40163         [C99-based-standards] (SCNxFAST64): Likewise.
40164         [C99-based-standards] (PRIdMAX): Likewise.
40165         [C99-based-standards] (PRIiMAX): Likewise.
40166         [C99-based-standards] (PRIoMAX): Likewise.
40167         [C99-based-standards] (PRIuMAX): Likewise.
40168         [C99-based-standards] (PRIxMAX): Likewise.
40169         [C99-based-standards] (PRIXMAX): Likewise.
40170         [C99-based-standards] (SCNdMAX): Likewise.
40171         [C99-based-standards] (SCNiMAX): Likewise.
40172         [C99-based-standards] (SCNoMAX): Likewise.
40173         [C99-based-standards] (SCNuMAX): Likewise.
40174         [C99-based-standards] (SCNxMAX): Likewise.
40175         [C99-based-standards] (PRIdPTR): Likewise.
40176         [C99-based-standards] (PRIiPTR): Likewise.
40177         [C99-based-standards] (PRIoPTR): Likewise.
40178         [C99-based-standards] (PRIuPTR): Likewise.
40179         [C99-based-standards] (PRIxPTR): Likewise.
40180         [C99-based-standards] (PRIXPTR): Likewise.
40181         [C99-based-standards] (SCNdPTR): Likewise.
40182         [C99-based-standards] (SCNiPTR): Likewise.
40183         [C99-based-standards] (SCNoPTR): Likewise.
40184         [C99-based-standards] (SCNuPTR): Likewise.
40185         [C99-based-standards] (SCNxPTR): Likewise.
40186         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
40187         allow.
40188         * conform/data/stdint.h-data: Update comments to clarify
40189         requirements.
40190         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
40191         type.
40192         [C99-based standards] (INT8_MAX): Likewise.
40193         [C99-based standards] (INT16_MIN): Likewise.
40194         [C99-based standards] (INT16_MAX): Likewise.
40195         [C99-based standards] (INT32_MIN): Likewise.
40196         [C99-based standards] (INT32_MAX): Likewise.
40197         [C99-based standards] (INT64_MIN): Likewise.
40198         [C99-based standards] (INT64_MAX): Likewise.
40199         [C99-based standards] (UINT8_MAX): Likewise.
40200         [C99-based standards] (UINT16_MAX): Likewise.
40201         [C99-based standards] (UINT32_MAX): Likewise.
40202         [C99-based standards] (UINT64_MAX): Likewise.
40203         [C99-based standards] (INT_LEAST8_MIN): Likewise.
40204         [C99-based standards] (INT_LEAST8_MAX): Likewise.
40205         [C99-based standards] (INT_LEAST16_MIN): Likewise.
40206         [C99-based standards] (INT_LEAST16_MAX): Likewise.
40207         [C99-based standards] (INT_LEAST32_MIN): Likewise.
40208         [C99-based standards] (INT_LEAST32_MAX): Likewise.
40209         [C99-based standards] (INT_LEAST64_MIN): Likewise.
40210         [C99-based standards] (INT_LEAST64_MAX): Likewise.
40211         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
40212         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
40213         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
40214         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
40215         [C99-based standards] (INT_FAST8_MIN): Likewise.
40216         [C99-based standards] (INT_FAST8_MAX): Likewise.
40217         [C99-based standards] (INT_FAST16_MIN): Likewise.
40218         [C99-based standards] (INT_FAST16_MAX): Likewise.
40219         [C99-based standards] (INT_FAST32_MIN): Likewise.
40220         [C99-based standards] (INT_FAST32_MAX): Likewise.
40221         [C99-based standards] (INT_FAST64_MIN): Likewise.
40222         [C99-based standards] (INT_FAST64_MAX): Likewise.
40223         [C99-based standards] (UINT_FAST8_MAX): Likewise.
40224         [C99-based standards] (UINT_FAST16_MAX): Likewise.
40225         [C99-based standards] (UINT_FAST32_MAX): Likewise.
40226         [C99-based standards] (UINT_FAST64_MAX): Likewise.
40227         [C99-based standards] (INTPTR_MIN): Likewise.
40228         [C99-based standards] (INTPTR_MAX): Likewise.
40229         [C99-based standards] (UINTPTR_MAX): Likewise.
40230         [C99-based standards] (INTMAX_MIN): Likewise.
40231         [C99-based standards] (INTMAX_MAX): Likewise.
40232         [C99-based standards] (UINTMAX_MAX): Likewise.
40233         [C99-based standards] (PTRDIFF_MIN): Likewise.
40234         [C99-based standards] (PTRDIFF_MAX): Likewise.
40235         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
40236         [C99-based standards] (SIZE_MAX): Likewise.
40237         [C99-based standards] (WCHAR_MAX): Likewise.
40238         [C99-based standards] (WINT_MAX): Likewise.
40239         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
40240         constraint on value.
40241         [C99-based standards] (WCHAR_MIN): Likewise.
40242         [C99-based standards] (WINT_MIN): Likewise.
40243         [C99-based standards] (*_t): Allow.
40244         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
40245         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
40246         Include math.h-data and complex.h-data.  Remove all expectations
40247         of math.h and complex.h contents.
40248         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
40249         at end of line.
40250         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
40251         (struct tm): Expect tag.
40252         [C99-based-standards] (wcstof): Expect function.
40253         [C99-based-standards] (wcstold): Likewise.
40254         [C99-based-standards] (wcstoll): Likewise.
40255         [C99-based-standards] (wcstoull): Likewise.
40256         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
40257         macro-int-constant.  Specify type.
40258         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
40259         constraint on value.
40260         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40261         Specify type.
40262         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
40263         Specify value.
40264         [ISO C standards]: Do not allow headers.
40265         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
40266         wcs[abcdefghijklmnopqrstuvwxyz]*.
40267         [ISO C standards] (*_t): Do not allow.
40268         * conform/data/wctype.h-data [C99-based standards] (iswblank):
40269         Expect function.
40270         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
40271         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40272         Specify type.
40273         [ISO C standards]: Do not allow headers.
40274         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
40275         is[abcdefghijklmnopqrstuvwxyz]*.
40276         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
40277         to[abcdefghijklmnopqrstuvwxyz]*.
40278         [ISO C standards] (*_t): Do not allow.
40279         * conform/data/stdalign.h-data: New file.
40280         * conform/data/stdbool.h-data: Likewise.
40281         * conform/data/stdnoreturn.h-data: Likewise.
40283 2012-11-07  Roland McGrath  <roland@hack.frob.com>
40285         [BZ #14815]
40286         * manual/filesys.texi (Directory Entries): Typo fix.
40287         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
40289 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40291         * elf/elf.h (EM_AARCH64): New macro.
40292         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
40293         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
40294         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
40295         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
40296         (R_AARCH64_TLSDESC): Likewise.
40297         (NT_ARM_TLS): Likewise.
40298         (NT_ARM_HW_BREAK): Likewise.
40299         (NT_ARM_HW_WATCH): Likewise.
40301 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40303         [BZ #14811]
40304         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
40305         (__ieee754_powl): Saturate nonzero exponents with absolute value
40306         below 0x1p-79 to +/- 0x1p-79.
40307         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
40308         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
40309         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
40310         nonzero exponents with absolute value below 0x1p-32 to +/-
40311         0x1p-32.
40312         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
40313         (__ieee754_powl): Saturate nonzero exponents with absolute value
40314         below 0x1p-79 to +/- 0x1p-79.
40315         * math/libm-test.inc (pow_test): Add more tests.
40317 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40319         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
40320         _dl_s390_cap_flags with kernel. Increase string length.
40321         (_dl_s390_platforms): Add z196 and zEC12.
40323 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40325         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
40326         Change XOPEN21K to XOPEN2K.
40328 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
40330         * string/memmove.c: Use memcpy when possible.
40332 2012-11-06  Andreas Jaeger  <aj@suse.de>
40334         * po/eo.po: Update from translation team.
40336 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
40338         [BZ #14793]
40339         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
40340         exponent and small x and y exponents, scale x or y up.  Increase
40341         by 2 the exponent used in scaling up.
40342         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40343         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40344         * math/libm-test.inc (fma_test): Add more tests.
40345         (fma_test_towardzero): Likewise.
40346         (fma_test_downward): Likewise.
40347         (fma_test_upward): Likewise.
40349 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
40351         [BZ #14805]
40352         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
40353         fenv_t *.
40355         [BZ #14801]
40356         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
40357         namespace for names of struct fields.
40358         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
40359         fenv_t fields.
40360         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
40361         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
40363 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40365         [BZ #3665]
40366         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
40368 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
40370         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
40371         PTR_DEMANGLE.
40373         [BZ #5246]
40374         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
40375         PTR_DEMANGLE.
40377 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
40379         [BZ #14797]
40380         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
40381         definitely overflow as x * y not x * y + z.
40382         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40383         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40384         * math/libm-test.inc (fma_test): Add more tests.
40385         (fma_test_towardzero): Likewise.
40386         (fma_test_downward): Likewise.
40387         (fma_test_upward): Likewise.
40389 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
40391         [BZ #157]
40393         * include/stub-tag.h: Remove file.
40394         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
40395         '#include' of it.
40396         * manual/maint.texi (Porting): Don't reference it.
40397         * Makerules ($(objpfx)stubs): Likewise.
40398         * dirent/closedir.c: Don't include <stub-tag.h>.
40399         * dirent/dirfd.c: Likewise.
40400         * dirent/fdopendir.c: Likewise.
40401         * dirent/getdents.c: Likewise.
40402         * dirent/getdents64.c: Likewise.
40403         * dirent/opendir.c: Likewise.
40404         * dirent/readdir.c: Likewise.
40405         * dirent/readdir64.c: Likewise.
40406         * dirent/readdir64_r.c: Likewise.
40407         * dirent/readdir_r.c: Likewise.
40408         * dirent/rewinddir.c: Likewise.
40409         * dirent/seekdir.c: Likewise.
40410         * dirent/telldir.c: Likewise.
40411         * gmon/profil.c: Likewise.
40412         * grp/setgroups.c: Likewise.
40413         * inet/if_index.c: Likewise.
40414         * io/access.c: Likewise.
40415         * io/chdir.c: Likewise.
40416         * io/chmod.c: Likewise.
40417         * io/chown.c: Likewise.
40418         * io/close.c: Likewise.
40419         * io/dup.c: Likewise.
40420         * io/dup2.c: Likewise.
40421         * io/dup3.c: Likewise.
40422         * io/euidaccess.c: Likewise.
40423         * io/faccessat.c: Likewise.
40424         * io/fchdir.c: Likewise.
40425         * io/fchmod.c: Likewise.
40426         * io/fchmodat.c: Likewise.
40427         * io/fchown.c: Likewise.
40428         * io/fchownat.c: Likewise.
40429         * io/fcntl.c: Likewise.
40430         * io/flock.c: Likewise.
40431         * io/fstatfs.c: Likewise.
40432         * io/fstatfs64.c: Likewise.
40433         * io/fstatvfs.c: Likewise.
40434         * io/fstatvfs64.c: Likewise.
40435         * io/futimens.c: Likewise.
40436         * io/fxstat.c: Likewise.
40437         * io/fxstat64.c: Likewise.
40438         * io/fxstatat.c: Likewise.
40439         * io/fxstatat64.c: Likewise.
40440         * io/getcwd.c: Likewise.
40441         * io/isatty.c: Likewise.
40442         * io/lchmod.c: Likewise.
40443         * io/lchown.c: Likewise.
40444         * io/link.c: Likewise.
40445         * io/linkat.c: Likewise.
40446         * io/lseek.c: Likewise.
40447         * io/lseek64.c: Likewise.
40448         * io/lxstat64.c: Likewise.
40449         * io/mkdir.c: Likewise.
40450         * io/mkdirat.c: Likewise.
40451         * io/mkfifo.c: Likewise.
40452         * io/mkfifoat.c: Likewise.
40453         * io/open.c: Likewise.
40454         * io/open64.c: Likewise.
40455         * io/openat.c: Likewise.
40456         * io/openat64.c: Likewise.
40457         * io/pipe.c: Likewise.
40458         * io/pipe2.c: Likewise.
40459         * io/poll.c: Likewise.
40460         * io/posix_fadvise.c: Likewise.
40461         * io/posix_fadvise64.c: Likewise.
40462         * io/posix_fallocate.c: Likewise.
40463         * io/posix_fallocate64.c: Likewise.
40464         * io/read.c: Likewise.
40465         * io/readlink.c: Likewise.
40466         * io/readlinkat.c: Likewise.
40467         * io/rmdir.c: Likewise.
40468         * io/sendfile.c: Likewise.
40469         * io/sendfile64.c: Likewise.
40470         * io/statfs.c: Likewise.
40471         * io/statfs64.c: Likewise.
40472         * io/statvfs.c: Likewise.
40473         * io/statvfs64.c: Likewise.
40474         * io/symlink.c: Likewise.
40475         * io/symlinkat.c: Likewise.
40476         * io/ttyname.c: Likewise.
40477         * io/ttyname_r.c: Likewise.
40478         * io/umask.c: Likewise.
40479         * io/unlink.c: Likewise.
40480         * io/unlinkat.c: Likewise.
40481         * io/utime.c: Likewise.
40482         * io/utimensat.c: Likewise.
40483         * io/write.c: Likewise.
40484         * io/xmknod.c: Likewise.
40485         * io/xmknodat.c: Likewise.
40486         * io/xstat.c: Likewise.
40487         * io/xstat64.c: Likewise.
40488         * login/getpt.c: Likewise.
40489         * login/grantpt.c: Likewise.
40490         * login/unlockpt.c: Likewise.
40491         * math/e_acoshl.c: Likewise.
40492         * math/e_acosl.c: Likewise.
40493         * math/e_asinl.c: Likewise.
40494         * math/e_atan2l.c: Likewise.
40495         * math/e_atanhl.c: Likewise.
40496         * math/e_coshl.c: Likewise.
40497         * math/e_expl.c: Likewise.
40498         * math/e_fmodl.c: Likewise.
40499         * math/e_gammal_r.c: Likewise.
40500         * math/e_hypotl.c: Likewise.
40501         * math/e_j0l.c: Likewise.
40502         * math/e_j1l.c: Likewise.
40503         * math/e_jnl.c: Likewise.
40504         * math/e_lgammal_r.c: Likewise.
40505         * math/e_log10l.c: Likewise.
40506         * math/e_log2l.c: Likewise.
40507         * math/e_logl.c: Likewise.
40508         * math/e_powl.c: Likewise.
40509         * math/e_rem_pio2l.c: Likewise.
40510         * math/e_sinhl.c: Likewise.
40511         * math/e_sqrtl.c: Likewise.
40512         * math/fclrexcpt.c: Likewise.
40513         * math/fedisblxcpt.c: Likewise.
40514         * math/feenablxcpt.c: Likewise.
40515         * math/fegetenv.c: Likewise.
40516         * math/fegetexcept.c: Likewise.
40517         * math/fegetround.c: Likewise.
40518         * math/feholdexcpt.c: Likewise.
40519         * math/fesetenv.c: Likewise.
40520         * math/fesetround.c: Likewise.
40521         * math/feupdateenv.c: Likewise.
40522         * math/fgetexcptflg.c: Likewise.
40523         * math/fraiseexcpt.c: Likewise.
40524         * math/fsetexcptflg.c: Likewise.
40525         * math/ftestexcept.c: Likewise.
40526         * math/k_cosl.c: Likewise.
40527         * math/k_rem_pio2l.c: Likewise.
40528         * math/k_sinl.c: Likewise.
40529         * math/k_tanl.c: Likewise.
40530         * math/s_asinhl.c: Likewise.
40531         * math/s_atanl.c: Likewise.
40532         * math/s_cbrtl.c: Likewise.
40533         * math/s_erfl.c: Likewise.
40534         * math/s_expm1l.c: Likewise.
40535         * math/s_log1pl.c: Likewise.
40536         * math/s_tanhl.c: Likewise.
40537         * misc/acct.c: Likewise.
40538         * misc/brk.c: Likewise.
40539         * misc/chflags.c: Likewise.
40540         * misc/chroot.c: Likewise.
40541         * misc/fchflags.c: Likewise.
40542         * misc/fgetxattr.c: Likewise.
40543         * misc/flistxattr.c: Likewise.
40544         * misc/fremovexattr.c: Likewise.
40545         * misc/fsetxattr.c: Likewise.
40546         * misc/fsync.c: Likewise.
40547         * misc/ftruncate.c: Likewise.
40548         * misc/futimes.c: Likewise.
40549         * misc/futimesat.c: Likewise.
40550         * misc/getdomain.c: Likewise.
40551         * misc/getdtsz.c: Likewise.
40552         * misc/gethostid.c: Likewise.
40553         * misc/gethostname.c: Likewise.
40554         * misc/getloadavg.c: Likewise.
40555         * misc/getpagesize.c: Likewise.
40556         * misc/getsysstats.c: Likewise.
40557         * misc/getxattr.c: Likewise.
40558         * misc/gtty.c: Likewise.
40559         * misc/ioctl.c: Likewise.
40560         * misc/lgetxattr.c: Likewise.
40561         * misc/listxattr.c: Likewise.
40562         * misc/llistxattr.c: Likewise.
40563         * misc/lremovexattr.c: Likewise.
40564         * misc/lsetxattr.c: Likewise.
40565         * misc/lutimes.c: Likewise.
40566         * misc/madvise.c: Likewise.
40567         * misc/mincore.c: Likewise.
40568         * misc/mlock.c: Likewise.
40569         * misc/mlockall.c: Likewise.
40570         * misc/mmap.c: Likewise.
40571         * misc/mprotect.c: Likewise.
40572         * misc/msync.c: Likewise.
40573         * misc/munlock.c: Likewise.
40574         * misc/munlockall.c: Likewise.
40575         * misc/munmap.c: Likewise.
40576         * misc/preadv.c: Likewise.
40577         * misc/preadv64.c: Likewise.
40578         * misc/ptrace.c: Likewise.
40579         * misc/pwritev.c: Likewise.
40580         * misc/pwritev64.c: Likewise.
40581         * misc/readv.c: Likewise.
40582         * misc/reboot.c: Likewise.
40583         * misc/remap_file_pages.c: Likewise.
40584         * misc/removexattr.c: Likewise.
40585         * misc/revoke.c: Likewise.
40586         * misc/select.c: Likewise.
40587         * misc/setdomain.c: Likewise.
40588         * misc/setegid.c: Likewise.
40589         * misc/seteuid.c: Likewise.
40590         * misc/sethostid.c: Likewise.
40591         * misc/sethostname.c: Likewise.
40592         * misc/setregid.c: Likewise.
40593         * misc/setreuid.c: Likewise.
40594         * misc/setxattr.c: Likewise.
40595         * misc/sstk.c: Likewise.
40596         * misc/stty.c: Likewise.
40597         * misc/swapoff.c: Likewise.
40598         * misc/swapon.c: Likewise.
40599         * misc/sync.c: Likewise.
40600         * misc/syncfs.c: Likewise.
40601         * misc/syscall.c: Likewise.
40602         * misc/truncate.c: Likewise.
40603         * misc/ualarm.c: Likewise.
40604         * misc/usleep.c: Likewise.
40605         * misc/ustat.c: Likewise.
40606         * misc/utimes.c: Likewise.
40607         * misc/vhangup.c: Likewise.
40608         * misc/writev.c: Likewise.
40609         * posix/_exit.c: Likewise.
40610         * posix/alarm.c: Likewise.
40611         * posix/execve.c: Likewise.
40612         * posix/fexecve.c: Likewise.
40613         * posix/fork.c: Likewise.
40614         * posix/fpathconf.c: Likewise.
40615         * posix/getaddrinfo.c: Likewise.
40616         * posix/getegid.c: Likewise.
40617         * posix/geteuid.c: Likewise.
40618         * posix/getgid.c: Likewise.
40619         * posix/getgroups.c: Likewise.
40620         * posix/getlogin.c: Likewise.
40621         * posix/getlogin_r.c: Likewise.
40622         * posix/getpgid.c: Likewise.
40623         * posix/getpid.c: Likewise.
40624         * posix/getppid.c: Likewise.
40625         * posix/getresgid.c: Likewise.
40626         * posix/getresuid.c: Likewise.
40627         * posix/getsid.c: Likewise.
40628         * posix/getuid.c: Likewise.
40629         * posix/glob64.c: Likewise.
40630         * posix/nanosleep.c: Likewise.
40631         * posix/pathconf.c: Likewise.
40632         * posix/pause.c: Likewise.
40633         * posix/posix_madvise.c: Likewise.
40634         * posix/pread.c: Likewise.
40635         * posix/pread64.c: Likewise.
40636         * posix/pwrite.c: Likewise.
40637         * posix/pwrite64.c: Likewise.
40638         * posix/sched_getaffinity.c: Likewise.
40639         * posix/sched_getp.c: Likewise.
40640         * posix/sched_gets.c: Likewise.
40641         * posix/sched_primax.c: Likewise.
40642         * posix/sched_primin.c: Likewise.
40643         * posix/sched_rr_gi.c: Likewise.
40644         * posix/sched_setaffinity.c: Likewise.
40645         * posix/sched_setp.c: Likewise.
40646         * posix/sched_sets.c: Likewise.
40647         * posix/sched_yield.c: Likewise.
40648         * posix/setgid.c: Likewise.
40649         * posix/setlogin.c: Likewise.
40650         * posix/setpgid.c: Likewise.
40651         * posix/setresgid.c: Likewise.
40652         * posix/setresuid.c: Likewise.
40653         * posix/setsid.c: Likewise.
40654         * posix/setuid.c: Likewise.
40655         * posix/sleep.c: Likewise.
40656         * posix/spawni.c: Likewise.
40657         * posix/sysconf.c: Likewise.
40658         * posix/times.c: Likewise.
40659         * posix/wait.c: Likewise.
40660         * posix/wait3.c: Likewise.
40661         * posix/wait4.c: Likewise.
40662         * posix/waitpid.c: Likewise.
40663         * resolv/gai_sigqueue.c: Likewise.
40664         * resource/getpriority.c: Likewise.
40665         * resource/getrlimit.c: Likewise.
40666         * resource/getrusage.c: Likewise.
40667         * resource/nice.c: Likewise.
40668         * resource/setpriority.c: Likewise.
40669         * resource/setrlimit.c: Likewise.
40670         * resource/ulimit.c: Likewise.
40671         * rt/aio_cancel.c: Likewise.
40672         * rt/aio_fsync.c: Likewise.
40673         * rt/aio_read.c: Likewise.
40674         * rt/aio_sigqueue.c: Likewise.
40675         * rt/aio_suspend.c: Likewise.
40676         * rt/aio_write.c: Likewise.
40677         * rt/clock_getres.c: Likewise.
40678         * rt/clock_gettime.c: Likewise.
40679         * rt/clock_nanosleep.c: Likewise.
40680         * rt/clock_settime.c: Likewise.
40681         * rt/lio_listio.c: Likewise.
40682         * rt/mq_close.c: Likewise.
40683         * rt/mq_getattr.c: Likewise.
40684         * rt/mq_notify.c: Likewise.
40685         * rt/mq_open.c: Likewise.
40686         * rt/mq_receive.c: Likewise.
40687         * rt/mq_send.c: Likewise.
40688         * rt/mq_setattr.c: Likewise.
40689         * rt/mq_timedreceive.c: Likewise.
40690         * rt/mq_timedsend.c: Likewise.
40691         * rt/mq_unlink.c: Likewise.
40692         * rt/shm_open.c: Likewise.
40693         * rt/shm_unlink.c: Likewise.
40694         * rt/timer_create.c: Likewise.
40695         * rt/timer_delete.c: Likewise.
40696         * rt/timer_getoverr.c: Likewise.
40697         * rt/timer_gettime.c: Likewise.
40698         * rt/timer_settime.c: Likewise.
40699         * setjmp/__longjmp.c: Likewise.
40700         * setjmp/setjmp.c: Likewise.
40701         * signal/kill.c: Likewise.
40702         * signal/killpg.c: Likewise.
40703         * signal/raise.c: Likewise.
40704         * signal/sigaction.c: Likewise.
40705         * signal/sigaltstack.c: Likewise.
40706         * signal/sigblock.c: Likewise.
40707         * signal/sigignore.c: Likewise.
40708         * signal/sigintr.c: Likewise.
40709         * signal/signal.c: Likewise.
40710         * signal/sigpause.c: Likewise.
40711         * signal/sigpending.c: Likewise.
40712         * signal/sigqueue.c: Likewise.
40713         * signal/sigreturn.c: Likewise.
40714         * signal/sigset.c: Likewise.
40715         * signal/sigsetmask.c: Likewise.
40716         * signal/sigstack.c: Likewise.
40717         * signal/sigsuspend.c: Likewise.
40718         * signal/sigtimedwait.c: Likewise.
40719         * signal/sigvec.c: Likewise.
40720         * signal/sigwait.c: Likewise.
40721         * signal/sigwaitinfo.c: Likewise.
40722         * signal/sysv_signal.c: Likewise.
40723         * socket/accept.c: Likewise.
40724         * socket/accept4.c: Likewise.
40725         * socket/bind.c: Likewise.
40726         * socket/connect.c: Likewise.
40727         * socket/getpeername.c: Likewise.
40728         * socket/getsockname.c: Likewise.
40729         * socket/getsockopt.c: Likewise.
40730         * socket/isfdtype.c: Likewise.
40731         * socket/listen.c: Likewise.
40732         * socket/recv.c: Likewise.
40733         * socket/recvfrom.c: Likewise.
40734         * socket/recvmsg.c: Likewise.
40735         * socket/send.c: Likewise.
40736         * socket/sendmsg.c: Likewise.
40737         * socket/sendto.c: Likewise.
40738         * socket/setsockopt.c: Likewise.
40739         * socket/shutdown.c: Likewise.
40740         * socket/sockatmark.c: Likewise.
40741         * socket/socket.c: Likewise.
40742         * socket/socketpair.c: Likewise.
40743         * stdio-common/ctermid.c: Likewise.
40744         * stdio-common/cuserid.c: Likewise.
40745         * stdio-common/remove.c: Likewise.
40746         * stdio-common/rename.c: Likewise.
40747         * stdio-common/renameat.c: Likewise.
40748         * stdio-common/tempname.c: Likewise.
40749         * stdlib/getcontext.c: Likewise.
40750         * stdlib/makecontext.c: Likewise.
40751         * stdlib/setcontext.c: Likewise.
40752         * stdlib/swapcontext.c: Likewise.
40753         * stdlib/system.c: Likewise.
40754         * streams/fattach.c: Likewise.
40755         * streams/fdetach.c: Likewise.
40756         * streams/getmsg.c: Likewise.
40757         * streams/getpmsg.c: Likewise.
40758         * streams/putmsg.c: Likewise.
40759         * streams/putpmsg.c: Likewise.
40760         * sysdeps/unix/bsd/getpt.c: Likewise.
40761         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
40762         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
40763         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
40764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40765         Likewise.
40766         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
40767         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40768         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
40769         * sysvipc/msgctl.c: Likewise.
40770         * sysvipc/msgget.c: Likewise.
40771         * sysvipc/msgrcv.c: Likewise.
40772         * sysvipc/msgsnd.c: Likewise.
40773         * sysvipc/semctl.c: Likewise.
40774         * sysvipc/semget.c: Likewise.
40775         * sysvipc/semop.c: Likewise.
40776         * sysvipc/semtimedop.c: Likewise.
40777         * sysvipc/shmat.c: Likewise.
40778         * sysvipc/shmctl.c: Likewise.
40779         * sysvipc/shmdt.c: Likewise.
40780         * sysvipc/shmget.c: Likewise.
40781         * termios/tcdrain.c: Likewise.
40782         * termios/tcflow.c: Likewise.
40783         * termios/tcflush.c: Likewise.
40784         * termios/tcgetattr.c: Likewise.
40785         * termios/tcgetpgrp.c: Likewise.
40786         * termios/tcsendbrk.c: Likewise.
40787         * termios/tcsetattr.c: Likewise.
40788         * termios/tcsetpgrp.c: Likewise.
40789         * time/adjtime.c: Likewise.
40790         * time/clock.c: Likewise.
40791         * time/getitimer.c: Likewise.
40792         * time/gettimeofday.c: Likewise.
40793         * time/setitimer.c: Likewise.
40794         * time/settimeofday.c: Likewise.
40795         * time/stime.c: Likewise.
40796         * time/time.c: Likewise.
40798 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
40800         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
40801         /usr/old/bin.
40803         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
40804         instead of spaces.
40805         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
40807 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
40809         [BZ #14796]
40810         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
40811         FE_TONEAREST before applying Dekker multiplication and Knuth
40812         addition.  Clear inexact exceptions and check for exact zero
40813         results afterwards.
40814         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40815         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40816         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40817         * math/libm-test.inc (fma_test): Add more tests.
40818         (fma_test_towardzero): Likewise.
40819         (fma_test_downward): Likewise.
40820         (fma_test_upward): Likewise.
40821         * sysdeps/generic/math_private.h (default_libc_fesetround): New
40822         function.
40823         (libc_fesetround): New macro.
40824         (libc_fesetroundf): Likewise.
40825         (libc_fesetroundl): Likewise.
40826         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
40827         function.
40828         (libc_fesetround_387): Likewise.
40829         (libc_fesetroundf): New macro.
40830         (libc_fesetround): Likewise.
40831         (libc_fesetroundl): Likewise.
40832         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
40833         function.
40834         (libc_fesetroundf): New macro.
40835         (libc_fesetround): Likewise.
40836         (libc_fesetroundl): Likewise.
40837         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
40838         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
40839         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
40840         libm_hidden_ver.
40841         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
40842         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
40843         libm_hidden_def.
40844         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
40845         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
40846         libm_hidden_ver.
40847         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
40848         libm_hidden_def.
40850         [BZ #3439]
40851         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
40852         integer constant usable in #if and use that to give value to enum
40853         constant.
40854         (FE_DIVBYZERO): Likewise.
40855         (FE_UNDERFLOW): Likewise.
40856         (FE_OVERFLOW): Likewise.
40857         (FE_INVALID): Likewise.
40858         (FE_INVALID_SNAN): Likewise.
40859         (FE_INVALID_ISI): Likewise.
40860         (FE_INVALID_IDI): Likewise.
40861         (FE_INVALID_ZDZ): Likewise.
40862         (FE_INVALID_IMZ): Likewise.
40863         (FE_INVALID_COMPARE): Likewise.
40864         (FE_INVALID_SOFTWARE): Likewise.
40865         (FE_INVALID_SQRT): Likewise.
40866         (FE_INVALID_INTEGER_CONVERSION): Likewise.
40867         (FE_TONEAREST): Likewise.
40868         (FE_TOWARDZERO): Likewise.
40869         (FE_UPWARD): Likewise.
40870         (FE_DOWNWARD): Likewise.
40871         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
40872         (FE_DIVBYZERO): Likewise.
40873         (FE_OVERFLOW): Likewise.
40874         (FE_UNDERFLOW): Likewise.
40875         (FE_INEXACT): Likewise.
40876         (FE_TONEAREST): Likewise.
40877         (FE_DOWNWARD): Likewise.
40878         (FE_UPWARD): Likewise.
40879         (FE_TOWARDZERO): Likewise.
40880         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
40881         (FE_UNDERFLOW): Likewise.
40882         (FE_OVERFLOW): Likewise.
40883         (FE_DIVBYZERO): Likewise.
40884         (FE_INVALID): Likewise.
40885         (FE_TONEAREST): Likewise.
40886         (FE_TOWARDZERO): Likewise.
40887         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
40888         (FE_OVERFLOW): Likewise.
40889         (FE_UNDERFLOW): Likewise.
40890         (FE_DIVBYZERO): Likewise.
40891         (FE_INEXACT): Likewise.
40892         (FE_TONEAREST): Likewise.
40893         (FE_TOWARDZERO): Likewise.
40894         (FE_UPWARD): Likewise.
40895         (FE_DOWNWARD): Likewise.
40896         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
40897         (FE_DIVBYZERO): Likewise.
40898         (FE_OVERFLOW): Likewise.
40899         (FE_UNDERFLOW): Likewise.
40900         (FE_INEXACT): Likewise.
40901         (FE_TONEAREST): Likewise.
40902         (FE_DOWNWARD): Likewise.
40903         (FE_UPWARD): Likewise.
40904         (FE_TOWARDZERO): Likewise.
40906 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
40908         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
40910 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
40912         * scripts/cross-test-ssh.sh (command): Use newlines to separate
40913         commands.  Quote $PWD.
40914         (blacklist_exports): Don't use remove_newlines.  Replace "declare
40915         -x" by "export".
40916         (remove_newlines): Remove.
40918 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
40920         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
40921         * stdlib/stdlib.h (atof): Moved to ...
40922         * include/bits/stdlib-float.h: Here.  New file.
40923         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
40924         * stdlib/bits/stdlib-float.h: New file.
40925         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
40926         -mno-sse -mno-mmx.
40927         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
40928         <xmmintrin.h>.
40930 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
40932         * conform/conformtest.pl (@headers): Add fenv.h.
40933         * conform/data/fenv.h-data: New file.
40934         * include/fenv.h [_ISOMAC]: Disable all contents of file except
40935         include of <math/fenv.h>.
40937         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
40938         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
40939         && !UNIX98].  Enables tests for XOPEN2K8.
40940         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
40941         POSIX2008]: Likewise.
40943         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
40944         (struct rusage): Do not expect type or its members.
40946         [BZ #3439]
40947         * math/math.h (FP_NAN): Define macro to integer constant usable in
40948         #if and use that to give value to enum constant.
40949         (FP_INFINITE): Likewise.
40950         (FP_ZERO): Likewise.
40951         (FP_SUBNORMAL): Likewise.
40952         (FP_NORMAL): Likewise.
40954 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
40956         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
40957         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
40958         arguments.
40960 2012-11-02  Roland McGrath  <roland@hack.frob.com>
40962         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
40963         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
40964         autoconf-time if not.
40965         * configure.in: Remove AC_PREREQ.
40967 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40969         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
40970         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
40971         of the internal implementation.
40973 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
40975         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
40976         except include of <misc/sys/syslog.h>.
40978 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
40980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
40981         function returns with a NULL context exit with zero.
40983 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40985         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
40987 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
40989         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
40990         (run_program_cmd): This.
40991         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
40992         (tst_langinfo): New variable.  Use it.
40994 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
40996         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
40997         floating point opcodes.
40999 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
41001         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
41002         variable.
41004         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
41006         * sysdeps/mach/hurd/powerpc: Remove directory.
41007         * sysdeps/mach/powerpc: Likewise.
41009 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
41011         * scripts/check-local-headers.sh: Ignore c++ headers.
41013 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
41015         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
41016         __libc_cleanup_region_start argument.
41018 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
41020         [BZ #14784]
41021         [BZ #14785]
41022         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
41023         x * y using scaling, not as x * y + z.
41024         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41025         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41026         * math/libm-test.inc (fma_test): Add more tests.
41027         (fma_test_towardzero): Likewise.
41028         (fma_test_downward): Likewise.
41029         (fma_test_upward): Likewise.
41031 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
41033         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
41035 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
41037         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
41038         New variable.
41040 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
41042         * rt/tst-shm.c (worker): Correct checking for mmap failure.
41044 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
41046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41047         Fix sort order.
41048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41049         Likewise.
41051 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41054         Fix the order of the list for glibc 2.17.
41055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41056         Likewise.
41058 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
41060         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41062 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
41064         [BZ #14610]
41065         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
41066         for low part of x being zero before using __atanl (y).
41067         * math/libm-test.inc (atan2_test): Add another test.
41069         * manual/install.texi (Configuring and compiling): Document
41070         general use of test-wrapper and test-wrapper-env.
41071         * INSTALL: Regenerated.
41073         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
41074         (__fma): Do not extract and scale down low bits on after-rounding
41075         systems when result rounded to normal precision would have normal
41076         exponent.
41077         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
41078         (__fmal): Do not extract and scale down low bits on after-rounding
41079         systems when result rounded to normal precision would have normal
41080         exponent.
41081         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
41082         (__fmal): Do not extract and scale down low bits on after-rounding
41083         systems when result rounded to normal precision would have normal
41084         exponent.
41085         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
41086         macro.
41087         (fma_test): Add more tests.
41088         (fma_test_towardzero): Likewise.
41089         (fma_test_downward): Likewise.
41090         (fma_test_upward): Likewise.
41092 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
41094         * sysdeps/i386/tininess.h: Renamed to ...
41095         * sysdeps/x86/tininess.h: This.
41096         * sysdeps/x86_64/tininess.h: Removed.
41098 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
41100         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
41101         input.  Use $(build-program-cmd).
41102         ($(objpfx)tst-array1-static.out): Likewise.
41103         ($(objpfx)tst-array2.out): Likewise.
41104         ($(objpfx)tst-array3.out): Likewise.
41105         ($(objpfx)tst-array4.out): Likewise.
41106         ($(objpfx)tst-array5.out): Likewise.
41107         ($(objpfx)tst-array5-static.out): Likewise.
41109 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
41111         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
41112         if defined.
41114         * nss/nsswitch.h (nss_interface_function): Provide new
41115         macro for use with NSS functions.
41116         * grp/initgroups.c: Use new macro.
41117         * nss/getXXbyYY.c: Likewise.
41118         * nss/getXXbyYY_r.c: Likewise.
41119         * nss/getXXent.c: Likewise.
41120         * nss/getXXent_r.c: Likewise.
41121         * sysdeps/posix/getaddrinfo.c: Likewise.
41123 2012-10-30  Andreas Jaeger  <aj@suse.de>
41125         * po/ru.po: Update Russion translation from translation project.
41127 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
41129         [BZ #14152]
41130         [BZ #14783]
41131         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
41132         result and shift together with sticky bit instead of replicating
41133         round-to-nearest rounding.
41134         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41135         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41136         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
41137         missing underflow exceptions.
41138         (fma_test_towardzero): Add more tests.
41139         (fma_test_downward): Likewise.
41140         (fma_test_upward): Likewise.
41142         [BZ #14047]
41143         * sysdeps/generic/tininess.h: New file.
41144         * sysdeps/i386/tininess.h: Likewise.
41145         * sysdeps/sh/tininess.h: Likewise.
41146         * sysdeps/x86_64/tininess.h: Likewise.
41147         * stdlib/tst-strtod-underflow.c: Likewise.
41148         * stdlib/tst-tininess.c: Likewise.
41149         * stdlib/strtod_l.c: Include <tininess.h>.
41150         (round_and_return): Do not set errno for exact underflow cases.
41151         Force an underflow exception when setting errno for underflow.
41152         Determine underflow based on rounding to normal precision if
41153         TININESS_AFTER_ROUNDING.
41154         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
41155         ERANGE for exact underflow cases.
41156         * stdlib/Makefile (tests): Add tst-tininess and
41157         tst-strtod-underflow.
41158         ($(objpfx)tst-tininess): Use $(link-libm).
41159         ($(objpfx)tst-strtod-underflow): Likewise.
41161 2012-10-30  Andreas Jaeger  <aj@suse.de>
41163         [BZ#14767]
41164         * elf/Makefile (tests): Remove conditional for have-initfini-array
41165         since this is now always required and the variable does not exist
41166         anymore.
41167         (tests-static): Likewise.
41168         (modules-names): Likewise.
41170         * po/eo.po: Add Esperanto translation from translation project.
41172         * elf/tst-array1.c (fini_array): Make writeable so that it can be
41173         merged with constructor/destructor.
41174         (init_array): Likewise.
41175         * elf/tst-array2dep.c (fini_array): Likewise.
41176         (init_array): Likewise.
41178 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
41180         * manual/message.texi: Delete @cartouche tags.
41182 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
41184         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
41185         EOPNOTSUPP.
41186         * sysdeps/mach/hurd/fsync.c: Likewise.
41188         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
41189         [_POSIX_REALTIME_SIGNALS]: Change condition to
41190         [_POSIX_REALTIME_SIGNALS > 0].
41192 2012-10-27  Andreas Jaeger  <aj@suse.de>
41194         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
41195         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
41196         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
41197         [__WORDSIZE != 64]: Likewise.
41199 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
41201         *  iconvdata/tst-table.sh: Remove ${SHELL}.
41202         *  iconvdata/tst-tables.sh: Likewise.
41204 2012-10-25  David S. Miller  <davem@davemloft.net>
41206         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41207         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
41208         of strtoull.
41210         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
41211         ifunc-impl-list.c
41212         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41213         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
41214         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
41215         file.
41217 2012-10-25  Roland McGrath  <roland@hack.frob.com>
41219         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41220         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
41221         __getdirentries.
41223 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
41224             Jim Blandy  <jimb@codesourcery.com>
41226         * scripts/cross-test-ssh.sh: New file.
41227         * manual/install.texi (Configuring and compiling): Document use of
41228         cross-test-ssh.sh.
41229         * INSTALL: Regenerated.
41231 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
41233         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
41234         EOPNOTSUPP.
41236 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
41238         * Makeconfig (run-program-prefix): Fix comment.
41240 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
41241             Jim Blandy  <jimb@codesourcery.com>
41243         * Makeconfig (test-wrapper): New variable,
41244         (test-wrapper-env): Likewise.
41245         [$(cross-compiling) = yes && $(test-wrapper) != ""]
41246         (run-built-tests): Define to yes.
41247         (run-program-prefix): Use $(test-wrapper).
41248         (built-program-cmd): Likewise.
41249         * Rules (make-test-out): Use $(test-wrapper-env) and
41250         $(host-built-program-cmd).
41251         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
41252         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
41253         tst-pathopt.sh.
41254         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
41255         $(test-wrapper-env) to tst-rtld-load-self.sh.
41256         ($(objpfx)order2.out): Use $(test-wrapper).
41257         ($(objpfx)tst-initorder.out): Likewise.
41258         ($(objpfx)tst-initorder2.out): Likewise.
41259         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
41260         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
41261         (test_wrapper_env): New variable.  Use it to run ld.so.
41262         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
41263         Use it to run ld.so.
41264         (test_wrapper_env): Likewise.
41265         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
41266         $(test-wrapper) to run-iconv-test.sh.
41267         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
41268         (ICONV): Use $test_wrapper.
41269         * posix/Makefile ($(objpfx)globtest.out): Pass
41270         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
41271         globtest.sh, not $(run-program-prefix).
41272         * posix/globtest.sh (run_via_rtld_prefix): New variable.
41273         (test_wrapper): Likewise.
41274         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
41275         set together with run_via_rtld_prefix.
41276         (run_program_prefix): Define in terms of test_wrapper and
41277         run_via_rtld_prefix.
41279 2012-10-24  Roland McGrath  <roland@hack.frob.com>
41281         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
41282         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
41283         Targets removed.
41285         [BZ #14743]
41286         * include/time.h: Remove librt_hidden_proto (clock_gettime).
41287         Declare __clock_getres, __clock_gettime, __clock_settime,
41288         __clock_nanosleep, and __clock_getcpuclockid.
41289         * rt/clock_gettime.c: Define __clock_gettime as an alias.
41290         Remove librt_hidden_def (clock_gettime).
41291         * sysdeps/unix/clock_gettime.c: Likewise.
41292         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
41293         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
41294         * rt/clock_getres.c: Define __clock_getres as an alias.
41295         * sysdeps/posix/clock_getres.c: Likewise.
41296         * rt/clock_settime.c: Define __clock_settime as an alias.
41297         * sysdeps/unix/clock_settime.c: Likewise.
41298         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
41299         * sysdeps/unix/clock_nanosleep.c: Likewise.
41300         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
41301         * rt/clock-compat.c: New file.
41302         * rt/Makefile (librt-routines): Add clock-compat and move
41303         $(clock-routines) to ...
41304         (routines): ... here, new variable.
41305         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
41306         Don't add get_clockfreq here.
41307         * rt/Versions (libc: GLIBC_2.17): New version set.
41308         Add clock_* symbols here.
41309         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
41310         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
41311         (GLIBC_2.17): Add clock_* symbols.
41312         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
41313         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
41314         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
41315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41316         Likewise.
41317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41318         Likewise.
41319         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
41320         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
41321         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
41322         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
41323         * NEWS: Mention the move.
41325         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
41326         Use __open, __read, __close rather than their public counterparts.
41327         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41328         (__get_clockfreq_via_cpuinfo): Likewise.
41329         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
41330         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
41332         * config.h.in (HAVE_IFUNC): New #undef.
41333         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
41334         was successful.
41335         * configure: Regenerated.
41337 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
41339         * configure.in: Move READELF check to start of file.
41340         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
41341         libc_cv_asm_gnu_indirect_function in the process.
41342         * configure: Regenerated.
41344 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
41346         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
41347         send the output to /dev/null.
41348         (libc_cv_cc_with_libunwind): Likewise.
41349         (libc_cv_as_noexecstack): Likewise.
41350         * configure: Regenerate.
41352 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
41354         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
41356         * posix/globtest.sh (TMPDIR): Do not set.
41357         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
41358         (testout): Likewise.
41360 2012-10-24  Andreas Jaeger  <aj@suse.de>
41362         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
41363         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
41364         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
41365         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
41366         posix_fadvise64, posix_fallocate64.
41368         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
41369         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
41370         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
41371         Likewise.
41372         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
41373         Likewise.
41374         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
41376         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
41377         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
41378         <bits/fcntl-linux.h>.
41379         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
41381         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
41382         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
41383         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
41384         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
41385         [__WORDSIZE != 64]: Likewise.
41387 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
41389         * Makeconfig (run-built-tests): New variable.
41390         * Rules [$(cross-compiling) = yes]: Change condition to
41391         [$(run-built-tests) = no].
41392         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
41393         to [$(run-built-tests) = yes].
41394         * elf/Makefile [$(cross-compiling) = no]: Likewise
41395         * grp/Makefile [$(cross-compiling) = no]: Likewise.
41396         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
41397         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
41398         * intl/Makefile [$(cross-compiling) = no]: Likewise.
41399         * io/Makefile [$(cross-compiling) = no]: Likewise.
41400         * libio/Makefile [$(cross-compiling) = no]: Likewise.
41401         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
41402         * misc/Makefile [$(cross-compiling) = no]: Likewise.
41403         * posix/Makefile [$(cross-compiling) = no]: Likewise.
41404         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
41405         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
41406         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
41407         * string/Makefile [$(cross-compiling) = no]: Likewise.
41409         * posix/Makefile ($(objpfx)globtest.out): Pass
41410         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
41411         $(rtld-installed-name).
41412         * posix/globtest.sh (elf_objpfx): Remove variable.
41413         (rtld_installed_name): Likewise.
41414         (library_path): Likewise.
41415         (run_program_prefix): New variable.  Use for running globtest
41416         binary.
41418 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
41419             Joseph Myers  <joseph@codesourcery.com>
41421         * Makeconfig (host-built-program-cmd): New variable.
41422         * elf/Makefile (tst-stackguard1-ARGS): Use
41423         $(host-built-program-cmd).
41424         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
41425         (tst-spawn-ARGS): Likewise.
41426         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
41428 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
41429             Jim Blandy  <jimb@codesourcery.com>
41431         * Makeconfig (run-via-rtld-prefix): New variable.
41432         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
41433         (built-program-cmd): Likewise.
41435 2012-10-22  Andreas Jaeger  <aj@suse.de>
41437         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
41438         __O_RSYNC if it exists, otherwise to O_SYNC.
41440 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
41441             Joseph Myers  <joseph@codesourcery.com>
41443         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
41444         /dev/null.
41445         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
41446         from /dev/null
41447         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
41448         /dev/null.
41450 2012-10-22  Andreas Jaeger  <aj@suse.de>
41452         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
41453         Define always.
41454         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
41456         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41457         bits/fcntl-linux.h.
41459         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
41460         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
41462         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
41463         to __O_LARGEFILE.
41464         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
41465         to __O_LARGEFILE.
41467 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
41468             Joseph Myers  <joseph@codesourcery.com>
41470         * config.make.in (NM): New variable.
41472 2012-10-21  Andreas Jaeger  <aj@suse.de>
41474         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
41475         definitions and declarations that are provided by
41476         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
41478 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
41480         [BZ #14683]
41481         * elf/Makefile (tests-static): Add tst-leaks1-static.
41482         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
41483         ($(objpfx)tst-leaks1-static): New rule.
41484         ($(objpfx)tst-leaks1-static-mem): Likewise.
41485         (tst-leaks1-static-ENV): New macro.
41486         * elf/dl-open.c (dl_open_worker): Check the main application
41487         only if SHARED is defined.
41488         * elf/tst-leaks1-static.c: New file.
41490 2012-10-20  Andreas Jaeger  <aj@suse.de>
41492         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
41493         generic values for Linux.
41494         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
41495         and declarations that are provided by <bits/fcntl-linux.h> and
41496         include <bits/fcntl-linux.h>.
41497         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41498         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41500 2012-10-20  Roland McGrath  <roland@hack.frob.com>
41502         * io/fcntl.h: Move include of <bits/types.h> to the top and
41503         include it unconditionally.
41505 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
41507         * wcsmbs/Makefile (tests-ifunc): New variable.
41508         (tests): Add $(tests-ifunc).
41509         * wcsmbs/test-wcschr-ifunc.c: New file.
41510         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
41511         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
41512         * wcsmbs/test-wcslen-ifunc.c: Likewise.
41513         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
41514         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
41516         * string/Makefile (tests-ifunc): New variable.
41517         (tests): Add $(tests-ifunc).
41518         * string/test-memccpy.c (TEST_NAME): New macro.
41519         * string/test-memchr.c (TEST_NAME): Likewise.
41520         * string/test-memcmp.c (TEST_NAME): Likewise.
41521         * string/test-memcpy.c (TEST_NAME): Likewise.
41522         * string/test-memmem.c (TEST_NAME): Likewise.
41523         * string/test-memmove.c (TEST_NAME): Likewise.
41524         * string/test-memset.c (TEST_NAME): Likewise.
41525         * string/test-rawmemchr.c (TEST_NAME): Likewise.
41526         * string/test-stpcpy.c (TEST_NAME): Likewise.
41527         * string/test-stpncpy.c (TEST_NAME): Likewise.
41528         * string/test-strcasecmp.c (TEST_NAME): Likewise.
41529         * string/test-strcasestr.c (TEST_NAME): Likewise.
41530         * string/test-strcat.c (TEST_NAME): Likewise.
41531         * string/test-strchr.c (TEST_NAME): Likewise.
41532         * string/test-strcmp.c(TEST_NAME): Likewise.
41533         * string/test-strcpy.c (TEST_NAME): Likewise.
41534         * string/test-strcspn.c (TEST_NAME): Likewise.
41535         * string/test-strlen.c (TEST_NAME): Likewise.
41536         * string/test-strncasecmp.c (TEST_NAME): Likewise.
41537         * string/test-strncmp.c (TEST_NAME): Likewise.
41538         * string/test-strncpy.c (TEST_NAME): Likewise.
41539         * string/test-strnlen.c (TEST_NAME): Likewise.
41540         * string/test-strpbrk.c (TEST_NAME): Likewise.
41541         * string/test-strrchr.c (TEST_NAME): Likewise.
41542         * string/test-strspn.c (TEST_NAME): Likewise.
41543         * string/test-strstr.c (TEST_NAME): Likewise.
41544         * string/test-bcopy-ifunc.c: New file.
41545         * string/test-bzero-ifunc.c: Likewise.
41546         * string/test-memccpy-ifunc.c: Likewise.
41547         * string/test-memchr-ifunc.c: Likewise.
41548         * string/test-memcmp-ifunc.c: Likewise.
41549         * string/test-memcpy-ifunc.c: Likewise.
41550         * string/test-memmem-ifunc.c: Likewise.
41551         * string/test-memmove-ifunc.c: Likewise.
41552         * string/test-mempcpy-ifunc.c: Likewise.
41553         * string/test-memset-ifunc.c: Likewise.
41554         * string/test-rawmemchr-ifunc.c: Likewise.
41555         * string/test-stpcpy-ifunc.c: Likewise.
41556         * string/test-stpncpy-ifunc.c: Likewise.
41557         * string/test-strcasecmp-ifunc.c: Likewise.
41558         * string/test-strcasestr-ifunc.c: Likewise.
41559         * string/test-strcat-ifunc.c: Likewise.
41560         * string/test-strchr-ifunc.c: Likewise.
41561         * string/test-strchrnul-ifunc.c: Likewise.
41562         * string/test-strcmp-ifunc.c: Likewise.
41563         * string/test-strcpy-ifunc.c: Likewise.
41564         * string/test-strcspn-ifunc.c: Likewise.
41565         * string/test-strlen-ifunc.c: Likewise.
41566         * string/test-strncasecmp-ifunc.c: Likewise.
41567         * string/test-strncat-ifunc.c: Likewise.
41568         * string/test-strncmp-ifunc.c: Likewise.
41569         * string/test-strncpy-ifunc.c: Likewise.
41570         * string/test-strnlen-ifunc.c: Likewise.
41571         * string/test-strpbrk-ifunc.c: Likewise.
41572         * string/test-strrchr-ifunc.c: Likewise.
41573         * string/test-strspn-ifunc.c: Likewise.
41574         * string/test-strstr-ifunc.c: Likewise.
41576         * debug/Makefile (tests-ifunc): New variable.
41577         (tests): Add $(tests-ifunc).
41578         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
41579         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
41580         * debug/test-stpcpy_chk-ifunc.c: New file.
41581         * debug/test-strcpy_chk-ifunc.c: Likewise.
41583 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
41585         [BZ #13601]
41586         * elf/dl-load.c (open_verify): Retry read if the entire ELF
41587         header is not read in.
41589 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
41591         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
41592         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
41593         directly.  Pass built executable to script as
41594         $(built-program-cmd).
41595         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
41596         $testprogram without using LD_LIBRARY_PATH and $ldso.
41598         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
41599         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
41600         $(rtld-installed-name).
41601         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
41602         (rtld_installed_name): Likewise.
41603         (library_path): Likewise.
41604         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
41605         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
41606         $(run-program-prefix) to tst-tables.sh.
41607         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
41608         it to run tst-table-from and tst-table-to.
41609         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
41610         Pass it to tst-table.sh.
41611         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
41612         $(run-program-prefix) to tst-gettext.sh.
41613         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
41614         tst-translit.sh.
41615         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
41616         tst-gettext2.sh.
41617         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
41618         to run tst-gettext.
41619         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
41620         to run tst-gettext2.
41621         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
41622         to run tst-translit.
41623         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
41624         $(run-program-prefix) to tst-mtrace.sh.
41625         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
41626         to run tst-mtrace.
41627         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
41628         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
41629         $(rtld-installed-name).
41630         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
41631         (rtld_installed_name): Likewise.
41632         (run_program_prefix): New variable.  Use it to run wordexp-test.
41634         * Makeconfig (ARCH): Remove all definitions.
41635         (machine): Likewise.
41636         [ARCH]: Remove conditional code.
41637         [!objdir]: Give error.
41638         [!objdir] (objpfx): Remove.
41639         [!objdir] (common-objpfx): Likewise.
41640         [!objdir] (common-objdir): Likewise.
41641         * configure.in (config_makefile): Remove.  Hardcode Makefile in
41642         AC_CONFIG_FILES call.
41643         * configure: Regenerated.
41645         [BZ #13888]
41646         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
41647         or TMPDIR.
41648         (testout): Likewise.
41650         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
41651         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
41652         $(rtld-installed-name).
41653         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
41654         (rtld_installed_name): Likwise.
41655         (runit): Remove function.
41656         (run_getconf): New variable,  Use it for running getconf binary.
41658 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
41660         [BZ #14716]
41661         * string/test-memmem.c (check_result): New function.
41662         (do_one_test): Use it.
41663         (check1): New function.
41664         (test_main): Use it.
41666 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
41668         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
41670 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
41672         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
41673         (_G_LSEEK64): Likewise.
41674         (_G_MMAP64): Likewise.
41675         (_G_FSTAT64): Likewise.
41676         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
41677         (_G_LSEEK64): Likewise.
41678         (_G_MMAP64): Likewise.
41679         (_G_FSTAT64): Likewise.
41680         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
41681         unconditional.  Call __mmap64 directly.
41682         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
41683         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
41684         __lseek64 directly.
41685         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
41686         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
41687         __mmap64 directly.
41688         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
41689         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
41690         __lseek64 directly.
41691         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
41692         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
41693         __lseek64 directly.
41694         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
41695         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
41696         __lseek64 directly.
41697         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
41698         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
41699         __fxstat64 directly.
41700         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
41701         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
41702         unconditional.
41703         (freopen64) [!_G_OPEN64]: Remove conditional code.
41704         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
41705         unconditional.
41706         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
41707         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
41708         unconditional.
41709         (ftello64) [!_G_LSEEK64]: Remove conditional code.
41710         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
41711         unconditional.
41712         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
41713         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
41714         unconditional.
41715         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
41716         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
41717         unconditional.
41718         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
41719         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
41720         unconditional.
41721         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
41722         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
41723         unconditional.
41724         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
41726 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
41728         [BZ #12140]
41729         * manual/memory.texi (Malloc Tunable Parameters): Add note
41730         about free list pointers overwriting some perturb bytes.
41731         Wording suggested by Roland McGrath.
41733 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
41735         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
41736         (lgamma_test): Likewise.
41737         (tgamma_test): Likewise.
41739 2012-10-16  Florian Weimer  <fweimer@redhat.com>
41741         [BZ #14700]
41742         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
41743         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
41745 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
41747         * NEWS: Mention BZ #14716.
41748         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
41749         when removing AVAILABLE1_USES_J macro.
41751 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
41753         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
41754         (__bswap_64): __uint64_t for unsigned 64-bit int.
41756 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
41758         * include/string.h (memmem): Declare libc hidden alias.
41759         * string/memmem.c (memmem): Define libc hidden alias.
41760         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
41761         __read, __close instead of open, read, close.
41763 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
41765         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
41766         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
41767         global and hidden.
41768         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
41769         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
41770         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
41771         Likewise.
41772         (__rawmemchr_sse2): Likewise.
41773         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
41774         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
41775         (__strchr_sse2): Likewise.
41776         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
41777         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
41778         (__strcasecmp_sse2): Likewise.
41779         (__strncasecmp_sse2): Likewise.
41780         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
41781         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
41782         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
41783         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
41784         (__strrchr_sse2): Likewise.
41785         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
41786         ifunc-impl-list.c.
41787         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
41788         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
41789         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
41790         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41791         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
41792         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
41793         * sysdeps/x86_64/multiarch/memset.S: Likewise.
41794         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41795         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
41796         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
41797         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
41798         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
41799         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
41800         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
41801         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
41802         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
41803         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
41804         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
41805         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
41806         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
41807         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
41808         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
41809         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
41810         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
41811         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
41812         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41813         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
41814         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
41815         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
41816         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
41818         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
41819         global and hidden.
41820         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
41821         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
41822         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
41823         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
41824         Likewise.
41825         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
41826         Likewise.
41827         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
41828         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
41829         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
41830         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
41831         ifunc-impl-list.c.
41832         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41833         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41834         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41835         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41836         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41837         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41838         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41839         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41840         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41841         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41842         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41843         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41844         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41845         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
41846         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
41847         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41848         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
41849         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
41850         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41851         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41852         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41853         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41854         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41855         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41856         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41857         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
41858         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
41859         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
41860         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
41861         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41862         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
41863         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41864         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41865         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
41866         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41867         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41868         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41869         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41870         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41871         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41872         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
41874         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
41875         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
41876         * include/ifunc-impl-list.h: New file.
41877         * misc/ifunc-impl-list.c: Likewise.
41878         * misc/Makefile (routines): Add ifunc-impl-list.
41879         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
41880         * string/test-string.h: Include <ifunc-impl-list.h>.
41881         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
41882         TEST_NAME]: New variables.
41883         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
41884         are defined.
41885         (test_init): Call __libc_ifunc_impl_list to initialize
41886         func_list if TEST_IFUNC and TEST_NAME are defined.
41888         * string/Makefile (strop-tests): Add bcopy and bzero.
41889         * string/test-bcopy.c: New file.
41890         * string/test-bzero.c: Likewise.
41891         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
41892         defined.
41893         * string/test-memset.c: Support bzero test if TEST_BZERO is
41894         defined.
41895         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
41896         __libc_memmove.
41897         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
41898         __libc_memset.
41899         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
41900         of memset.
41902 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
41904         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
41905         * configure: Regenerated.
41907         * Makeconfig (+link-static-before-libc): Don't include
41908         $(link-static-libc).
41910         * libio/libio.h (_IO_pos_t): Remove.
41912 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
41914         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
41915         McGrath.
41917 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
41919         * crypt/crypt-entry.c: Include fips-private.h.
41920         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
41921         * crypt/md5c-test.c (main): Tolerate disabled MD5.
41922         * sysdeps/unix/sysv/linux/fips-private.h: New file.
41923         * sysdeps/generic/fips-private.h: New file, dummy fallback.
41925 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
41927         * crypt/crypt-private.h: Include stdbool.h.
41928         (_ufc_setup_salt_r): Return bool.
41929         * crypt/crypt-entry.c: Include errno.h.
41930         (__crypt_r): Return NULL with EINVAL for bad salt.
41931         * crypt/crypt_util.c (bad_for_salt): New.
41932         (_ufc_setup_salt_r): Check that salt is long enough and within
41933         the specified alphabet.
41934         * crypt/badsalttest.c: New file.
41935         * crypt/Makefile (tests): Add it.
41936         ($(objpfx)badsalttest): New.
41938 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
41940         * NEWS: Add entry for BZ #14602.
41942 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
41944         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
41945         type-generic.
41946         * math/libm-test.inc: Update comment listing what functions and
41947         macros are tested.
41948         (isgreater_test): New function.
41949         (isgreaterequal_test): Likewise.
41950         (isless_test): Likewise.
41951         (islessequal_test): Likewise.
41952         (islessgreater_test): Likewise.
41953         (isunordered_test): Likewise.
41954         (main): Call the new functions.
41956 2012-10-09  Roland McGrath  <roland@hack.frob.com>
41958         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
41959         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
41960         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
41961         * sysdeps/i386/configure: Regenerated.
41962         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
41963         * sysdeps/mach/configure: Regenerated.
41964         * sysdeps/mach/hurd/configure: Regenerated.
41965         * sysdeps/powerpc/configure: Regenerated.
41966         * sysdeps/powerpc/powerpc32/configure: Regenerated.
41967         * sysdeps/powerpc/powerpc64/configure: Regenerated.
41968         * sysdeps/s390/s390-32/configure: Regenerated.
41969         * sysdeps/s390/s390-64/configure: Regenerated.
41970         * sysdeps/sh/configure: Regenerated.
41971         * sysdeps/sparc/configure: Regenerated.
41972         * sysdeps/unix/sysv/linux/configure: Regenerated.
41973         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
41974         * sysdeps/x86_64/configure: Regenerated.
41976         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
41977         defined.  Don't check if MAP is NULL.
41979 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
41981         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
41982         (_G_stat64): Likewise.
41983         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
41984         (_G_stat64): Likewise.
41985         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
41986         instead of struct _G_stat64.
41987         * libio/fileops.c (mmap_remap_check): Likewise.
41988         (decide_maybe_mmap): Likewise.
41989         (_IO_new_file_seekoff): Likewise.
41990         (_IO_file_stat): Likewise.
41991         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
41992         _G_off64_t.
41993         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
41994         instead of struct _G_stat64.
41995         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
41997 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
41999         [BZ #14602]
42000         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42001         Replace with ...
42002         (CHECK_EOL): New macro.
42003         (two_way_short_needle): Check beginning of haystack for EOL.  Use
42004         CHECK_EOL.
42005         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42006         Replace with CHECK_EOL.
42007         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42008         Replace with CHECK_EOL.
42010 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
42012         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
42013         type-generic.
42014         * math/libm-test.inc: Update comment listing what functions and
42015         macros are tested.
42016         (finite_test): New function.
42017         (isinf_test): Likewise.
42018         (isnan_test): Likewise.
42019         (fpclassify_test): Test subnormal input.
42020         (isfinite_test): Likewise.
42021         (isnormal_test): Likewise.
42022         (main): Call the new functions.
42024 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
42026         [BZ #14660]
42027         * Makerules (%.dynsym): Force C locale when running
42028         $(OBJDUMP) --dynamic-syms.
42030 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
42032         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
42033         <stdint.h>.
42035 2012-10-06  David S. Miller  <davem@davemloft.net>
42037         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
42038         upper 32-bits of the length value in %o2 since we use branch-on-register
42039         tests which consider the entire 64-bit register.
42041 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
42043         * string/test-strstr.c (check2): Add a test for page boundary.
42045 2012-10-05  David S. Miller  <davem@davemloft.net>
42047         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
42048         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
42049         file.
42050         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
42051         sysdep_routines.
42052         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
42053         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
42054         and bzero when HWCAP_SPARC_CRYPTO is present.
42056 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
42058         [BZ #14602]
42059         * string/test-strstr.c (check2): New function.
42060         (test_main): Call check2.
42062         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
42063         and bug-strchr1.
42064         * string/bug-strcasestr1.c (do_test): Moved to ...
42065         * string/test-strcasestr.c (check1): Here.  New function.
42066         (do_one_test): Break out result checking code into ...
42067         (check_result): This.  New function.
42068         (do_one_test): Call check_result.
42069         (test_main): Call check1.
42070         * string/bug-strchr1.c (do_test): Moved to ...
42071         * string/test-strchr.c (check1): Here.  New function.
42072         (do_one_test): Break out result checking code into ...
42073         (check_result): This.  New function.
42074         (do_one_test): Call check_result.
42075         (test_main): Call check1.
42076         * string/bug-strstr1.c (main): Moved to ...
42077         * string/test-strstr.c (check1): Here.  New function.
42078         (do_one_test): Break out result checking code into ...
42079         (check_result): This.  New function.
42080         (do_one_test): Call check_result.
42081         (test_main): Call check1.
42082         * string/bug-strcasestr1.c: Removed.
42083         * string/bug-strchr1.c: Likewise.
42084         * string/bug-strstr1.c: Likewise.
42086         * elf/Makefile (dl-routines): Add hwcaps.
42087         * elf/dl-support.c (_dl_important_hwcaps): Removed.
42088         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
42089         (_dl_important_hwcaps): Moved to ...
42090         * elf/dl-hwcaps.c: Here.  New file.
42091         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
42093         [BZ #14557]
42094         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
42095         if IS_IN_rtld isn't defined.
42097         * elf/dl-support.c (_dl_sysinfo_map): New.
42098         Include "get-dynamic-info.h" and "setup-vdso.h".
42099         (_dl_non_dynamic_init): Call setup_vdso.
42100         * elf/dynamic-link.h: Don't include <assert.h>.
42101         (elf_get_dynamic_info): Moved to ...
42102         * elf/get-dynamic-info.h: Here.  New file.
42103         * elf/dynamic-link.h: Include "get-dynamic-info.h".
42104         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
42105         * elf/setup-vdso.h: Here.  New file.
42106         * elf/rtld.c: Include "setup-vdso.h".
42107         (dl_main): Call setup_vdso.
42109 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
42111         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
42112         creal in comment listing functions tested.  List finite, isinf,
42113         isnan, isless, islessequal, isgreater, isgreaterequal,
42114         islessgreater, isunordered, lgamma_r and pow10 as functions and
42115         macros not tested.  Mention which functions not tested are aliases
42116         for other functions.  Fix typo.  Note that signs of NaNs are not
42117         tested.
42119         * scripts/config.guess: Update from config.git.
42120         * scripts/config.sub: Likewise.
42122 2012-10-04  Roland McGrath  <roland@hack.frob.com>
42124         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
42125         * misc/madvise.c (madvise): Renamed to __madvise.
42126         Make madvise a weak alias.
42127         * include/sys/mman.h: Declare __madvise.
42128         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
42129         * sysdeps/unix/syscalls.list
42130         (madvise): Make __madvise the strong name, and madvise a weak alias.
42131         * sysdeps/unix/sysv/linux/syscalls.list
42132         (madvise, mmap): Remove redundant entries.
42133         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
42134         * malloc/malloc.c (mtrim): Likewise.
42135         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
42137 2012-10-03  Roland McGrath  <roland@hack.frob.com>
42139         * sysdeps/mach/hurd/dl-cache.c: File removed.
42140         * config.h.in (USE_LDCONFIG): New #undef.
42141         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
42142         * configure: Regenerated.
42143         * elf/Makefile (dl-routines): Add dl-cache only under
42144         [$(use-ldconfig) = yes].
42145         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
42146         cache on [USE_LDCONFIG].
42147         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
42148         [USE_LDCONFIG].
42149         * elf/rtld.c (dl_main): Likewise.
42151 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
42153         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
42154         _SC_LEVEL4_CACHE_LINESIZE.
42156 2012-10-03  Roland McGrath  <roland@hack.frob.com>
42158         * sysdeps/unix/bsd/confstr.h: File removed.
42160 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
42162         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
42163         sys/sdt-config.h.
42165 2012-10-02  Roland McGrath  <roland@hack.frob.com>
42167         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
42168         Make 'mapoff' field ElfW(Off) rather than off_t.
42170 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
42172         * nscd/Makefile: Remove nscd-cflags and all its users.
42173         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
42174         (CFLAGS-nonlib): Add compiler flags for nscd modules.
42176         [BZ #10631]
42177         * malloc.c (malloc_printerr): Clarify error message.
42179 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
42181         [BZ #14648]
42182         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42183         Set bit_FMA_Usable if FMA is supported.
42184         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
42185         macro.
42186         (bit_FMA4_Usable): Updated.
42187         (index_FMA_Usable): New macro.
42188         (CPUID_FMA): Likewise
42189         (HAS_FMA): Defined with bit_FMA_Usable.
42191 2012-10-01  Roland McGrath  <roland@hack.frob.com>
42193         * bits/types.h (__swblk_t): Type removed.
42194         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
42195         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
42196         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42197         (__SWBLK_T_TYPE): Likewise.
42198         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42199         (__SWBLK_T_TYPE): Likewise.
42200         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42201         (__SWBLK_T_TYPE): Likewise.
42202         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42203         (__SWBLK_T_TYPE): Likewise.
42205 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
42206             Honza Horak <hhorak@redhat.com>
42208         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
42209         (xdr_mapname): Use YPMAXMAP as maxsize.
42210         (xdr_peername): Use YPMAXPEER as maxsize.
42211         (xdr_keydat): Use YPAXRECORD as maxsize.
42212         (xdr_valdat): Use YPMAXRECORD as maxsize.
42214 2012-10-01  Roland McGrath  <roland@hack.frob.com>
42216         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
42218         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
42219         * csu/init-first.c: ... here.
42220         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
42221         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
42222         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
42223         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
42224         * sysdeps/i386/init-first.c: File removed.
42225         * sysdeps/sh/init-first.c: File removed.
42227 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
42229         [BZ #14645]
42230         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
42231         if x * y might underflow to zero and z is zero.
42232         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42233         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42234         * math/libm-test.inc (min_subnorm_value): New variable.
42235         (fma_test): Add more tests.
42236         (fma_test_towardzero): Likewise.
42237         (fma_test_downward): Likewise
42238         (fma_test_upward): Likewise.
42239         (initialize): Set min_subnorm_value.
42241 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
42243         [BZ #14638]
42244         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
42245         0 + 0.
42246         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
42247         mode for addition resulting in exact zero.
42248         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
42249         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
42250         exact 0 + 0.
42251         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42252         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42253         * math/libm-test.inc (fma_test): Add more tests.
42254         (fma_test_towardzero): New function.
42255         (fma_test_downward): Likewise.
42256         (fma_test_upward): Likewise.
42257         (main): Call the new functions.
42259 2012-09-28  David S. Miller  <davem@davemloft.net>
42261         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
42263 2012-09-28  Roland McGrath  <roland@hack.frob.com>
42265         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
42266         instead of SIGALRM.
42268         * sysdeps/gnu/_G_config.h: Moved to ...
42269         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
42270         * sysdeps/mach/hurd/_G_config.h: Moved to ...
42271         * sysdeps/generic/_G_config.h: ... here.
42273         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
42275         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
42277         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
42278         Conditionalize target on [libnss_test1.so-version].
42280         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
42282         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
42283         (elfobjdir): Move out of conditionals.
42285         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
42286         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
42287         (__nss_lookup_function): Conditionalize label remove_from_tree on
42288         [!DO_STATIC_NSS || SHARED], matching its only use.
42290 2012-09-28  David S. Miller  <davem@davemloft.net>
42292         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
42293         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
42294         file.
42295         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
42296         sysdep_routines.
42297         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
42298         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
42299         when HWCAP_SPARC_CRYPTO is present.
42301 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
42303         * io/tst-mknodat.c: Create a FIFO instead of a socket.
42305 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
42307         [BZ #6530]
42308         * stdio-common/vfprintf.c (process_string_arg): Revert
42309         2000-07-22 change.
42311 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
42313         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
42314         for testcase.
42315         * stdio-common/tst-sprintf.c: Include <locale.h>
42316         (main): Test sprintf's handling of incomplete multibyte
42317         characters.
42319 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
42321         * elf/dl-runtime.c (VERSYMIDX): Removed.
42322         * elf/dl-version.c (VERSYMIDX): Likewise.
42323         * elf/do-rel.h (VERSYMIDX): Likewise.
42324         (VALIDX): Likewise.
42325         * elf/dynamic-link.h (VERSYMIDX): Likewise.
42326         * elf/rtld.c (VALIDX): Likewise.
42327         (ADDRIDX): Likewise.
42328         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
42329         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
42330         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
42331         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
42332         (VALIDX): Likewise.
42333         (ADDRIDX): Likewise.
42335 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
42337         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
42339 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
42341         [BZ #11438]
42342         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
42343         to global scope.
42344         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
42345         addresses are in the same scope as 192.0.2/24.
42346         * posix/gai.conf: Document new scope table defaults.
42348 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42350         [BZ #5298]
42351         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
42352         for ftell.  Compute offsets from write pointers instead.
42353         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
42355 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42357         [BZ #14543]
42358         * libio/Makefile (tests): New test case tst-fseek.
42359         * libio/tst-fseek.c: New test case to verify that fseek/ftell
42360         combination works in wide mode.
42361         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
42362         state when the external buffer state changes.
42364 2012-09-27  David S. Miller  <davem@davemloft.net>
42366         [BZ #14376]
42367         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
42368         pass reloc->r_addend in as the 'high' argument to
42369         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
42371         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42373 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
42375         * rt/tst-aio2.c: Include <pthread.h>.
42376         * rt/tst-aio3.c: Likewise.
42378 2012-09-27  Steve Ellcey  <sellcey@mips.com>
42380         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
42382 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
42384         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
42385         contents on [SHARED].
42387 2012-09-26  Marek Polacek  <polacek@redhat.com>
42389         [BZ #14530]
42390         [BZ #13741]
42391         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
42392         for C++ and GCC <4.3 as well as for non GCC compilers.
42394 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
42396         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42398 2012-09-25  Roland McGrath  <roland@hack.frob.com>
42400         * Makefile.in (all, install): Declare with .PHONY.
42401         Reported by Michael Hope <michael.hope@linaro.org>.
42403 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42405         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
42406         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
42407         system header.
42408         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
42409         Likewise.
42410         (sydep_routines): Add the new and the internal functions.
42411         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
42412         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
42413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
42414         (GLIBC_2.17): Add the new function.
42415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
42416         (GLIBC_2.17): Likewise.
42417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
42418         (GLIBC_2.17): Likewise.
42419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
42420         (GLIBC_2.17): Likewise.
42421         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
42423 2012-09-25  Alan Modra  <amodra@gmail.com>
42425         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
42426         Add release barrier before setting once_control to say
42427         initialisation is done.  Add hints on lwarx.  Use macro in
42428         place of isync.
42429         (clear_once_control): Add release barrier.
42431 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
42433         [BZ #13629]
42434         * math/s_clog.c (__clog): Handle more values close to |z| = 1
42435         specially.
42436         * math/s_clog10.c (__clog10): Likewise.
42437         * math/s_clog10f.c (__clog10f): Likewise.
42438         * math/s_clog10l.c (__clog10l): Likewise.
42439         * math/s_clogf.c (__clogf): Likewise.
42440         * math/s_clogl.c (__clogl): Likewise.
42441         * math/Makefile (libm-calls): Add x2y2m1.
42442         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
42443         (__x2y2m1): Likewise.
42444         (__x2y2m1l): Likewise.
42445         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
42446         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
42447         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
42448         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
42449         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
42450         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
42451         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
42452         * sysdeps/i386/fpu/libm-test-ulps: Update.
42453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42455         [BZ #14621]
42456         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
42457         int as type of variable DEPTH.
42458         (glob): Use size_t instead of int as type of variables NEWCOUNT
42459         and OLD_PATHC.
42461 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42463         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
42464         Add s_sincosf-sse2.
42465         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
42466         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
42467         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
42468         macros for using routine as __sincosf_ia32.
42469         Use macro for function declaration and weak_alias.
42470         * sysdeps/i386/fpu/libm-test-ulps: Update.
42472         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
42473         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42475         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
42476         subnormal argument.
42477         * math/s_cexpf.c (__cexpf): Likewise.
42478         * math/s_csinf.c (__csinf): Likewise.
42479         * math/s_csinhf.c (__csinhf): Likewise.
42480         * math/s_ctanf.c (__ctanf): Likewise.
42481         * math/s_ctanhf.c (__ctanhf): Likewise.
42482         * math/s_ccosh.c (__ccoshf): Likewise.
42483         * math/s_cexp.c (__cexpl): Likewise.
42484         * math/s_csin.c (__csin): Likewise.
42485         * math/s_csinh.c (__csinh): Likewise.
42486         * math/s_ctan.c (__ctan): Likewise.
42487         * math/s_ctanh.c (ctanh): Likewise.
42488         * math/s_ccoshl.c (__ccoshl): Likewise.
42489         * math/s_cexpl.c (__cexpl): Likewise.
42490         * math/s_csinl.c (__csinl): Likewise.
42491         * math/s_csinhl.c (__csinhl): Likewise.
42492         * math/s_ctanl.c (__ctanl): Likewise.
42493         * math/s_ctanhl.c (__ctanhl): Likewise.
42495 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
42497         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
42498         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
42499         (_IO_off_t): Define to __off_t, not _G_off_t.
42500         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
42501         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
42502         (_IO_wint_t): Define to wint_t, not _G_wint_t.
42503         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
42504         type of __dummy and __dummy2 fields.
42505         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
42506         (_G_ssize_t): Likewise.
42507         (_G_off_t): Likewise.
42508         (_G_pid_t): Likewise.
42509         (_G_uid_t): Likewise.
42510         (_G_wchar_t): Likewise.
42511         (_G_wint_t): Likewise.
42512         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
42513         (_G_ssize_t): Likewise.
42514         (_G_off_t): Likewise.
42515         (_G_pid_t): Likewise.
42516         (_G_uid_t): Likewise.
42517         (_G_wchar_t): Likewise.
42518         (_G_wint_t): Likewise.
42519         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
42520         (_G_ssize_t): Likewise.
42521         (_G_off_t): Likewise.
42522         (_G_pid_t): Likewise.
42523         (_G_uid_t): Likewise.
42524         (_G_wchar_t): Likewise.
42525         (_G_wint_t): Likewise.
42527 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42529         * malloc/arena.c: Include malloc-sysdep.h.
42530         (shrink_heap): Use check_may_shrink_heap to decide if madvise
42531         is sufficient to shrink the heap or an unmap is needed.
42532         * sysdeps/generic/malloc-sysdep.h: New file.  Define
42533         new function check_may_shrink_heap.
42534         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
42535         new function check_may_shrink_heap.
42537 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42539         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
42540         comments.
42542 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
42544         * catgets/test-gencat.sh: Add "set -e".
42545         * elf/tst-pathopt.sh: Likewise.
42546         * grp/tst_fgetgrent.sh: Likewise.
42547         * iconvdata/run-iconv-test.sh: Likewise.
42548         * intl/tst-gettext.sh: Likewise.
42549         * intl/tst-gettext2.sh: Likewise.
42550         * intl/tst-gettext4.sh: Likewise.
42551         * intl/tst-gettext6.sh: Likewise.
42552         * intl/tst-translit.sh: Likewise.
42553         * io/ftwtest-sh: Likewise.
42554         * libio/test-freopen.sh: Likewise.
42555         * malloc/tst-mtrace.sh: Likewise.
42556         * posix/globtest.sh: Likewise.
42557         * posix/tst-getconf.sh: Likewise.
42558         * posix/wordexp-tst.sh: Likewise.
42559         * stdio-common/tst-printf.sh: Likewise.
42560         * stdio-common/tst-unbputc.sh: Likewise.
42561         * stdlib/tst-fmtmsg.sh: Likewise.
42562         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
42563         * catgets/Makefile: Do not specify -e option when running
42564         testsuite shell scripts.
42565         * elf/Makefile: Likewise.
42566         * grp/Makefile: Likewise.
42567         * iconvdata/Makefile: Likewise.
42568         * intl/Makefile: Likewise.
42569         * io/Makefile: Likewise.
42570         * libio/Makefile: Likewise.
42571         * malloc/Makefile: Likewise.
42572         * posix/Makefile: Likewise.
42573         * stdio-common/Makefile: Likewise.
42574         * stdlib/Makefile: Likewise.
42575         * sysdeps/x86_64/Makefile: Likewise.
42577         * io/ftwtest-sh: Add copyright header.
42578         * posix/globtest.sh: Likewise.
42579         * posix/tst-getconf.sh: Likewise.
42580         * posix/wordexp-tst.sh: Likewise.
42581         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
42583 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
42585         [BZ #13679]
42586         * Makeconfig (+link): Defined as $(+link-static) if
42587         $(build-shared) isn't yes.
42588         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
42589         isn't yes.
42590         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
42592         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
42594         [BZ #14562]
42595         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
42596         new chunk size with MALLOC_ALIGN_MASK.
42598 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
42600         [BZ #5044]
42601         * stdio-common/printf_fphex.c: Include <stdbool.h> and
42602         <rounding-mode.h>.
42603         (__printf_fphex): Determine rounding using get_rounding_mode and
42604         round_away.
42605         * stdio-common/tst-printf-round.c (struct hex_test): New
42606         structure.
42607         (hex_tests): New variable.
42608         (test_hex_in_one_mode): New function.
42609         (do_test): Also run tests for hex float output.
42611 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
42613         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
42614         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
42615         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
42616         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
42617         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
42618         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
42619         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
42620         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
42622 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
42624         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
42625         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
42626         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
42627         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
42629 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
42631         [BZ #14579]
42632         * elf/rtld.c (dl_main): Limit the check for self loading to normal
42633         mode only.
42634         * elf/tst-rtld-load-self.sh: New test.
42635         * elf/Makefile: Run it.
42637 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
42639         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
42640         (tst-writev-ENV): Remove.
42641         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
42643 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
42645         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
42647 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
42649         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
42650         unconditional.
42651         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
42652         Likewise.
42653         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
42654         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
42655         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
42656         Likewise.
42658 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
42660         [BZ #14587]
42661         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
42662         * config.make.in (have-cpp-asm-debuginfo): Removed.
42663         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
42664         * configure: Regenerated.
42666 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
42668         [BZ #5044]
42669         * stdio-common/printf_fp.c: Include <stdbool.h> and
42670         <rounding-mode.h>.
42671         (___printf_fp): Determine rounding using get_rounding_mode and
42672         round_away.
42673         * stdio-common/tst-printf-round.c: New file.
42674         * stdio-common/Makefile (tests): Add tst-printf-round.
42675         (link-libm): New variable.
42676         ($(objpfx)tst-printf-round): Depend in $(link-libm).
42678 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
42680         [BZ #14576]
42681         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
42682         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
42683         Likewise.
42684         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
42685         Likewise.
42687 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
42689         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
42690         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42691         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42692         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42694 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
42696         [BZ #14518]
42697         * include/rounding-mode.h: New file.
42698         * sysdeps/generic/get-rounding-mode.h: Likewise.
42699         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
42700         * stdlib/strtod_l.c: Include <rounding-mode.h>.
42701         (MAX_VALUE): New macro.
42702         (MIN_VALUE): Likewise.
42703         (overflow_value): New function.
42704         (underflow_value): Likewise.
42705         (round_and_return): Use overflow_value and underflow_value to
42706         determine return values in overflow and underflow cases.  Use
42707         round_away to determine rounding depending on rounding mode.
42708         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
42709         determine return values in overflow and underflow cases.
42710         * stdlib/tst-strtod-round.c: Include <fenv.h>.
42711         (struct test_results): New structure.
42712         (struct test): Use struct test_results to store expected results
42713         for all rounding modes.
42714         (TEST): Include expected results for all rounding modes.
42715         (test_in_one_mode): New function.
42716         (do_test): Use test_in_one_mode to compute and check results.
42717         Check results for all rounding modes.
42718         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
42719         $(link-libm).
42721 2012-12-09  Allan McRae  <allan@archlinux.org>
42723         * sysdeps/i386/fpu/libm-test-ulps: Update
42725 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
42727         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
42728         (_G_int32_t): Likewise.
42729         (_G_uint16_t): Likewise.
42730         (_G_uint32_t): Likewise.
42731         (_G_HAVE_BOOL): Likewise.
42732         (_G_HAVE_ATEXIT): Likewise.
42733         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42734         (_G_HAVE_IO_FILE_OPEN): Likewise.
42735         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
42736         (_G_int32_t): Likewise.
42737         (_G_uint16_t): Likewise.
42738         (_G_uint32_t): Likewise.
42739         (_G_HAVE_BOOL): Likewise.
42740         (_G_HAVE_ATEXIT): Likewise.
42741         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42742         (_G_HAVE_IO_FILE_OPEN): Likewise.
42743         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
42744         (_G_int32_t): Likewise.
42745         (_G_uint16_t): Likewise.
42746         (_G_uint32_t): Likewise.
42747         (_G_HAVE_BOOL): Likewise.
42748         (_G_HAVE_ATEXIT): Likewise.
42749         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42750         (_G_HAVE_IO_FILE_OPEN): Likewise.
42752 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
42754         * csu/libc-tls.c: Update copyright years.
42756 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
42758         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
42759         [!_G_USING_THUNKS]: Remove conditional code.
42760         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
42761         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
42763         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
42764         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
42765         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42766         (_G_VTABLE_LABEL_PREFIX): Likewise.
42767         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42768         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42769         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42770         (_G_VTABLE_LABEL_PREFIX): Likewise.
42771         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
42772         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42773         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42774         (_G_VTABLE_LABEL_PREFIX): Likewise.
42775         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
42777 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
42779         * libio/Makefile: Include ../Makeconfig before tests.
42780         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
42781         only if $(build-shared) is yes.
42783         * iconv/gconv_db.c: Update copyright years.
42785 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42787         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
42788         unwind info if defined PIC. Fix special cases description.
42789         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
42791         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
42792         DP_HI_MASK entry.
42793         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
42795 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
42797         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
42799         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
42800         is NULL.
42802         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
42803         (LDLIBS-tst-chk4): This.
42804         (LDFLAGS-tst-chk5): Renamed to ...
42805         (LDLIBS-tst-chk5): This.
42806         (LDFLAGS-tst-chk6): Renamed to ...
42807         (LDLIBS-tst-chk6): This.
42808         (LDFLAGS-tst-lfschk4): Renamed to ...
42809         (LDLIBS-tst-lfschk4): This.
42810         (LDFLAGS-tst-lfschk5): Renamed to ...
42811         (LDLIBS-tst-lfschk5): This.
42812         (LDFLAGS-tst-lfschk6): Renamed to ...
42813         (LDLIBS-tst-lfschk6): This.
42815         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
42816         on $(common-objpfx)soversions.mk.
42818 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
42820         [BZ #10014]
42821         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
42822         example host name.
42824 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
42826         * malloc/arena.c (arena_get_retry): New function that gets
42827         another arena for the caller to try its request on.
42828         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
42829         current arena cannot fulfill the request.
42830         (__libc_memalign): Likewise.
42831         (__libc_memalign): Likewise.
42832         (__libc_pvalloc): Likewise.
42833         (__libc_calloc): Likewise.
42835 2012-09-05  John Tobey  <john.tobey@gmail.com>
42837         [BZ #13542]
42838         * manual/arith.texi (Operations on Complex): Fix description
42839         of carg branch cut.
42841 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
42843         [BZ #10014]
42844         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
42845         host name.
42847         [BZ #10038]
42848         * manual/memory.texi (Memory): Make order of menu items match
42849         order of sections.
42851 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
42853         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
42854         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
42855         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
42857 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
42859         * csu/libc-tls.c (static_dtv): Renamed to ...
42860         (_dl_static_dtv): This.  Make it global.
42861         (_dl_initial_dtv): Removed.
42862         (__libc_setup_tls): Updated.
42863         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
42864         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
42865         DL_INITIAL_DTV.
42867 2012-09-06  Petr Machata  <pmachata@redhat.com>
42869         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
42870         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
42871         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
42872         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
42874 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
42876         [BZ #14545]
42877         * csu/libc-tls.c (_dl_initial_dtv): New variable.
42878         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
42879         freeing dtv[-1].
42881 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
42883         [BZ #14544]
42884         * Makeconfig (link-static-before-libc): Replace $(+prector)
42885         with $(+prectorT).
42886         (link-static-after-libc): Replace $(+postctor) with
42887         $(+postctorT).
42888         (link-bounded): Replace $(+prector)/$(+postctor) with
42889         $(+prectorT)/$(+postctorT).
42890         (+prectorT): New macro.
42891         (+postctorT): Likewise.
42893 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
42895         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
42896         (round_str): Handle values above the maximum for IBM long double
42897         as inexact.
42898         * stdlib/tst-strtod-round.c (tests): Regenerated.
42900 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42902         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
42903         assembler flag.
42904         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
42905         zarch_nohighgprs around the zarch optimized routines.
42906         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
42907         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
42908         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
42909         for zarch.
42911 2012-09-05  David S. Miller  <davem@davemloft.net>
42913         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42915         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
42916         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
42917         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
42918         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42919         entries.
42921 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
42923         * malloc/arena.c: Fold copyright years.
42924         * malloc/mcheck.c, malloc/memusage.c: Likewise.
42926 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
42928         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
42930 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
42932         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
42934 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
42936         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
42937         change internal state upon failure.
42939 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
42941         * malloc/mcheck.c (mcheck_check_all): Fix typo.
42942         * malloc/memusage.c (mmap): Likewise.
42943         (mmap64, mremap): Likewise.  Adjust name in comment.
42945 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42947         * libio/fileops.c: Fix typos in comments.
42948         * libio/oldfileops.c: Likewise.
42949         * libio/wfileops.c: Likewise.
42951 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42953         [BZ #1349]
42954         * malloc/Makefile (tests): Add tst-malloc-usable test case.
42955         (tst-malloc-usable-ENV): Set environment for test case.
42956         * malloc/hooks.c (malloc_check_get_size): New function to get
42957         requested size.
42958         * malloc/malloc.c (musable): Use malloc_check_get_size.
42959         * malloc/tst-malloc-usable.c: New test case.
42961 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
42963         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
42965 2012-09-05  Allan McRae  <allan@archlinux.org>
42967         [BZ #13966]
42968         * configure.in (CXX_SYSINCLUDES): Use compiler output to
42969         determine header location.
42970         * configure: Regenerated.
42972 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
42974         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
42975         float format.
42976         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
42977         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
42978         format.
42979         (test): Regenerate.
42981 2012-09-04  David S. Miller  <davem@davemloft.net>
42983         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
42984         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
42985         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
42987 2012-09-04  Florian Weimer  <fweimer@redhat.com>
42989         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
42990         failures.
42992         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
42994 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
42996         [BZ #9914]
42997         * libio/iogetdelim.c: Include <limits.h>.
42998         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
42999         + len + 1 would overflow.
43001 2012-09-03  Andreas Jaeger  <aj@suse.de>
43003         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43004         * sysdeps/i386/fpu/libm-test-ulps: Update.
43006 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43008         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
43009         Add s_sinf-sse2, s_conf-sse2.
43011         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
43012         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
43013         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
43014         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
43016         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
43017         for using routine as __sinf_ia32.
43018         Use macro for function declaration and weak_alias.
43019         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
43020         for using routine as __cosf_ia32.
43021         Use macro for function declaration and weak_alias.
43023         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
43024         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
43026         * sysdeps/x86_64/fpu/s_sinf.S: New file.
43027         * sysdeps/x86_64/fpu/s_cosf.S: New file.
43028         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43030         * math/libm-test.inc (cos_test): Add more test cases.
43031         (sin_test): Likewise.
43032         (sincos_test): Likewise.
43034 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43036         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
43037         (IFUNC_RESOLVE): Make pointers to the specialized implementations
43038         hidden.
43039         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
43041 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
43043         [BZ #14538]
43044         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
43045         first element of the GOT.
43046         (elf_machine_load_address): Return the difference between
43047         the runtime address of _DYNAMIC and elf_machine_dynamic ().
43049 2012-09-01  Allan McRae  <allan@archlinux.org>
43051         [BZ #13412]
43052         * configure.in (AWK): Require gawk version 3.0 or later.
43053         * configure: Regenerated.
43055 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
43057         * sysdeps/unix/sysv/linux/kernel-features.h
43058         (__ASSUME_POSIX_CPU_TIMERS): Remove.
43059         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43060         [__NR_clock_getres]: Make code unconditional.
43061         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
43062         (clock_getcpuclockid): Remove code left unreachable by removal of
43063         conditionals.
43064         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
43065         code unconditional.
43066         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
43067         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43068         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
43069         Make code unconditional.
43070         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
43071         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43072         * sysdeps/unix/sysv/linux/clock_settime.c
43073         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
43074         conditional code.
43075         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
43076         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43078 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
43080         [BZ #14476]
43081         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
43082         scripts/test-installation.pl.
43084         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
43085         and $ld_so_version if it is set.
43087 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43089         [BZ #14516]
43090         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
43091         failure if reading from procfs failed.
43092         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
43094 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
43096         * sysdeps/unix/sysv/linux/kernel-features.h
43097         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
43098         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
43099         Remove conditional code.
43100         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43101         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
43102         Remove conditional code.
43103         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43104         * sysdeps/unix/sysv/linux/i386/fxstat.c
43105         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43106         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43107         * sysdeps/unix/sysv/linux/i386/fxstatat.c
43108         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43109         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43110         * sysdeps/unix/sysv/linux/i386/lxstat.c
43111         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43112         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43113         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
43114         Remove conditional code.
43115         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43116         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
43117         Remove conditional code.
43118         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43119         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
43120         <kernel-features.h>.
43121         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
43122         Remove.
43123         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
43124         Remove conditional code.
43125         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43126         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
43127         Remove conditional.
43129 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
43131         [BZ #5400]
43132         * NEWS: Add fixed bug number.
43134 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
43136         [BZ #14519]
43137         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
43138         underflowing exponent in case of negative sign.
43139         * stdlib/tst-strtod-round-data: Add more tests.
43140         * stdlib/tst-strtod-round.c (tests): Regenerated.
43142         [BZ #3479]
43143         * stdlib/strtod_l.c (NDIG): Remove.
43144         (HEXNDIG): Likewise.
43145         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
43146         smallest representable value.
43147         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
43148         lie within an exact representation of 1/2 ulp of the result.
43149         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
43150         unconditionally.
43151         (TENS_P9_IDX): Define unconditionally.
43152         (TENS_P9_SIZE): Likewise.
43153         (TENS_P10_IDX): Likewise.
43154         (TENS_P10_SIZE): Likewise.
43155         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
43156         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
43157         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
43158         entries for 10^2^13 and 10^2^14.
43159         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
43160         (TENS_P13_IDX): Define.
43161         (TENS_P13_SIZE): Likewise.
43162         (TENS_P14_IDX): Likewise.
43163         (TENS_P14_SIZE): Likewise.
43164         (_fpioconst_pow10): Change array size to
43165         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
43166         unconditional.
43167         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
43168         1024]: Add entries for 10^2^13 and 10^2^14.
43169         [LAST_POW10 > _LAST_POW10]: Remove #error.
43170         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
43171         (_fpioconst_pow10): Change array size to
43172         FPIOCONST_POW10_ARRAY_SIZE.
43173         * stdlib/gen-fpioconst.c: New file.
43174         * stdlib/gen-tst-strtod-round.c: Likewise.
43175         * stdlib/tst-strtod-round-data: Likewise.
43176         * stdlib/tst-strtod-round.c: Likewise.
43177         * stdlib/Makefile (tests): Add tst-strtod-round.
43179         [BZ #14459]
43180         * stdlib/strtod_l.c: Include <stdint.h>.
43181         (NDEBUG): Do not define.
43182         (round_and_return): Change EXPONENT parameter to type intmax_t.
43183         Rearrange calculations to avoid internal overflow possibilities.
43184         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
43185         Rearrange calculations to avoid internal overflow possibilities.
43186         Assert that number fits inside MPNSIZE limbs.
43187         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
43188         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
43189         calculations and add assertions to avoid internal overflow
43190         possibilities.  Add casts to avoid signed/unsigned operations.
43191         * stdlib/tst-strtod-overflow.c: New file.
43192         * stdlib/Makefile (tests): Add tst-strtod-overflow.
43194 2012-08-25  Marek Polacek  <polacek@redhat.com>
43196         * time/time.h: Fix some typos in comments.
43198 2012-08-23  Roland McGrath  <roland@hack.frob.com>
43200         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
43201         * posix/tst-rfc3484-2.c: Likewise.
43202         * posix/tst-rfc3484-3.c: Likewise.
43204 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
43206         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
43207         (EF_ARM_ABI_FLOAT_HARD): Likewise.
43209 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
43211         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
43212         #include of fxstatat64.c.
43214 2012-08-22  Roland McGrath  <roland@hack.frob.com>
43216         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
43217         * shadow/getspent_r.c: Likewise.
43218         * shadow/getspnam.c: Likewise.
43219         * shadow/getspnam_r.c: Likewise.
43220         * gshadow/getsgent.c: Likewise.
43221         * gshadow/getsgent_r.c: Likewise.
43222         * gshadow/getsgnam.c: Likewise.
43223         * gshadow/getsgnam_r.c: Likewise.
43224         * inet/getnetbyad.c: Likewise.
43225         * inet/getnetbyad_r.c: Likewise.
43226         * inet/getnetbynm.c: Likewise.
43227         * inet/getnetbynm_r.c: Likewise.
43228         * inet/getnetent.c: Likewise.
43229         * inet/getnetent_r.c: Likewise.
43230         * inet/getproto.c: Likewise.
43231         * inet/getproto_r.c: Likewise.
43232         * inet/getprtent.c: Likewise.
43233         * inet/getprtent_r.c: Likewise.
43234         * inet/getprtname.c: Likewise.
43235         * inet/getprtname_r.c: Likewise.
43236         * inet/getrpcbyname.c: Likewise.
43237         * inet/getrpcbyname_r.c: Likewise.
43238         * inet/getrpcbynumber.c: Likewise.
43239         * inet/getrpcbynumber_r.c: Likewise.
43240         * inet/getrpcent.c: Likewise.
43241         * inet/getrpcent_r.c: Likewise.
43242         * inet/getaliasent.c: Likewise.
43243         * inet/getaliasent_r.c: Likewise.
43244         * inet/getaliasname.c: Likewise.
43245         * inet/getaliasname_r.c: Likewise.
43246         * nscd/getgrgid_r.c: Likewise.
43247         * nscd/getgrnam_r.c: Likewise.
43248         * nscd/gethstbyad_r.c: Likewise.
43249         * nscd/gethstbynm3_r.c: Likewise.
43250         * nscd/getpwnam_r.c: Likewise.
43251         * nscd/getpwuid_r.c: Likewise.
43252         * nscd/getsrvbynm_r.c: Likewise.
43253         * nscd/getsrvbypt_r.c: Likewise.
43254         * nscd/gai.c: Likewise.
43256         * configure.in (build_nscd): New substituted variable, set
43257         by --disable-build-nscd and defaults to $use_nscd.
43258         * configure: Regenerated.
43259         * config.make.in (build-nscd): New substituted variable.
43260         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
43261         Change conditional to require [$(build-nscd) = yes] as well.
43262         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
43264         [BZ# 13696]
43265         * configure.in (use_nscd): New substituted variable, set by
43266         --disable-nscd.  If enabled, define USE_NSCD.
43267         * configure: Regenerated.
43268         * config.h.in: Add USE_NSCD.
43269         * config.make.in (use-nscd): New substituted variable.
43270         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
43271         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
43272         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
43273         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
43274         (CFLAGS-getgrnam_r.c): Likewise.
43275         (CFLAGS-initgroups.c): Likewise.
43276         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
43277         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
43278         Variables removed.
43279         * inet/getnetgrent_r.c
43280         (nscd_setnetgrent): New function, broken out of ...
43281         (setnetgrent): ... here.  Call it.
43282         (innetgr): Conditionalize nscd bits on [USE_NSCD].
43283         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
43284         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
43285         * nscd/Makefile (routines, aux): Move definitions after include of
43286         Makeconfig.  Conditionalize on [$(use-nscd) != no].
43287         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
43288         Conditionalize on [USE_NSCD].
43289         (is_nscd, nscd_init_cb): Likewise.
43290         (nss_load_library): Conditionalize init callback on [USE_NSCD].
43291         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
43292         * nss/nss_db/db-init.c: Likewise.
43293         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
43294         [USE_NSCD].
43295         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
43296         (make_request): Use it.
43297         (cache_valid_p): New function.
43298         (__check_pf): Use it.
43299         * NEWS: Add item for --disable-nscd.
43301 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
43303         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
43304         to support sed >= 4.2.1-20-ga9bf076.
43305         * configure: Regenerated.
43307 2012-08-22  Roland McGrath  <roland@hack.frob.com>
43309         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
43310         Conditionalize whole body on [IREL].
43312 2012-08-22  Jeff Law <law@redhat.com>
43314         [BZ #14505]
43315         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
43316         if the family is PF_UNSPEC.
43318 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
43320         * Makerules (lib-version): Rename from V.
43321         (install-lib-nosubdir): Change V to lib-version.
43323 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
43325         [BZ #14252]
43326         * powerpc32/power6/wcschr.c: New file.
43327         * powerpc32/power6/wcscpy.c: New file.
43328         * powerpc32/power6/wcsrchr.c: New file.
43329         * powerpc64/power6/wcschr.c: New file.
43330         * powerpc64/power6/wcscpy.c: New file.
43331         * powerpc64/power6/wcsrchr.c: New file.
43333 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
43335         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
43336         (two_way_short_needle): Use it.
43337         * string/strstr.c (AVAILABLE1_USES_J): Define.
43338         * string/strcasestr.c: Likewise.
43340         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
43341         array references.
43342         * string/strcasestr.c (TOLOWER): Make side-effect safe.
43344         [BZ #11607]
43345         * NEWS: Add an entry.
43346         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
43347         define their defaults.
43348         (two_way_short_needle): Detect end-of-string on-the-fly.
43349         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
43350         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
43351         * string/bug-strcasestr1.c: New test.
43352         * string/Makefile: Run it.
43354 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
43356         [BZ #11607]
43357         * string/str-two-way.h (two_way_short_needle): Optimize matching of
43358         the first character.
43360 2012-08-21  Roland McGrath  <roland@hack.frob.com>
43362         * csu/elf-init.c (__libc_csu_irel): Function removed.
43363         * csu/libc-start.c (apply_irel): New function.
43364         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
43366 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
43368         * sysdeps/unix/sysv/linux/kernel-features.h
43369         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
43370         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
43371         <kernel-features.h>.
43372         [__NR_fadvise64_64]: Make code unconditional.
43373         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
43374         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
43375         !__NR_fadvise64_64)]: Likewise.
43376         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
43377         !__NR_fadvise64_64))]: Likewise.
43378         [__NR_fadvise64]: Make code unconditional.
43379         [!__NR_fadvise64]: Remove conditional code.
43380         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
43381         <kernel-features.h>.
43382         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43383         unconditional.
43384         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43385         conditional code.
43386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
43387         not include <kernel-features.h>.
43388         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43389         unconditional.
43390         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43391         conditional code.
43392         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
43393         include <kernel-features.h>.
43394         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43395         unconditional.
43396         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43397         conditional code.
43399 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
43401         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
43402         slight instruction rearrangements per scrollpipe analysis.
43403         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
43405 2012-08-20  Roland McGrath  <roland@hack.frob.com>
43407         * manual/syslog.texi (syslog; vsyslog, closelog):
43408         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
43409         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
43411         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
43412         DSOCAPS to match condition on defining it.
43414 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
43416         * sysdeps/unix/sysv/linux/kernel-features.h
43417         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
43418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
43419         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43420         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
43422         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43423         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
43425         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43426         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43428         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
43429         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
43431         * sysdeps/unix/sysv/linux/kernel-features.h
43432         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
43433         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
43434         unconditional.
43435         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43436         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
43437         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43438         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43439         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
43440         Make code unconditional.
43441         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43442         (__mmap64) [!__NR_mmap2]: Likewise.
43443         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
43444         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43445         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43446         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
43447         [__NR_mmap2]: Make code unconditional.
43448         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43449         (__mmap64) [!__NR_mmap2]: Likewise.
43451 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43453         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
43455 2012-08-18  Andreas Jaeger  <aj@suse.de>
43457         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
43459 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
43461         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
43462         * include/unistd.h (__have_sock_cloexec): Likewise.
43463         (__have_pipe2): Likewise.
43464         (__have_dup3): Likewise.
43466 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
43468         [BZ #9685]
43469         * include/unistd.h (__have_pipe2): Change define into an extern int.
43470         (__have_dup3): Likewise.
43471         * socket/have_sock_cloexec.c: Include fcntl.h.
43472         (__have_pipe2): New variable.
43473         (__have_dup3): Likewise.
43475 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
43477         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
43479 2012-08-17  Marek Polacek  <polacek@redhat.com>
43481         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
43482         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
43484 2012-08-17  Roland McGrath  <roland@hack.frob.com>
43486         * configure.in: Add AC_SUBST for sysheaders.
43487         * configure: Regenerated.
43488         * config.make.in (sysheaders): New substituted variable.
43490         * sysdeps/unix/mkfifo.c: Moved ...
43491         * sysdeps/posix/mkfifo.c: ... here.
43492         * sysdeps/unix/mkfifoat.c: Moved ...
43493         * sysdeps/posix/mkfifoat.c: ... here.
43495         * sysdeps/unix/utime.c: Moved ...
43496         * sysdeps/posix/utime.c: ... here.
43498         * sysdeps/unix/time.c: Moved ...
43499         * sysdeps/posix/time.c: ... here.
43500         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
43501         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
43503         * sysdeps/unix/nice.c: Moved ...
43504         * sysdeps/posix/nice.c: ... here.
43506         * sysdeps/unix/alarm.c: Moved ...
43507         * sysdeps/posix/alarm.c: ... here.
43509         * intl/Makefile ($(codeset_mo)): Depend on the input file.
43511 2012-08-17  Jeff Law <law@redhat.com>
43513         * intl/Makefile (codeset_mo): New variable.
43514         ($(codeset_mo)): New target.
43515         (tst-codeset.out): Depend on that.  Remove explicit rule.
43516         (tst-gettext3.out, tst-gettext5.out): Likewise.
43517         (LOCPATH-ENV, tst-codeset-ENV): New variables.
43518         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
43519         * intl/tst-codeset.sh: Remove.
43520         * intl/tst-gettext3.sh: Likewise.
43521         * intl/tst-gettext5.sh: Likewise.
43523 2012-08-17  Roland McGrath  <roland@hack.frob.com>
43525         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
43526         * sysdeps/unix/syscalls.list: ... here.
43528         * sysdeps/posix/getaddrinfo.c
43529         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
43530         (gaiconf_init, gaiconf_reload): Use them.
43531         [!_STATBUF_ST_NSEC]
43532         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
43533         Define using time_t rather than struct timespec.
43535         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
43536         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
43537         Macros removed.
43538         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
43539         [!NO_THREADS].
43540         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
43541         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
43542         Likewise.
43544         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
43545         __libc_cleanup_push argument.
43547         * bits/param.h: New file.
43548         * misc/sys/param.h: New file.
43549         * include/sys/param.h: New file.
43550         * misc/Makefile (headers): Add bits/param.h.
43551         * sysdeps/generic/sys/param.h: File removed.
43552         * sysdeps/unix/sysv/linux/bits/param.h: New file.
43553         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
43554         * sysdeps/mach/hurd/bits/param.h: New file.
43555         * sysdeps/mach/hurd/sys/param.h: File removed.
43557         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
43558         last change.
43560         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
43561         [_IO_MTSAFE_IO].
43562         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
43563         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
43564         New macros.
43566         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
43567         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
43568         rather than -D_IO_MTSAFE_IO conditionally.
43569         * stdio-common/Makefile (CPPFLAGS): Likewise.
43570         * wcsmbs/Makefile (CPPFLAGS): Likewise.
43571         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
43572         Use $(libio-mtsafe).
43573         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
43574         of -D_IO_MTSAFE_IO.
43575         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
43576         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
43577         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
43578         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
43579         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
43580         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
43581         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
43582         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
43583         (CFLAGS-fread_u_chk.c): Likewise.
43584         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
43585         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
43586         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
43587         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
43588         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
43589         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
43590         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
43591         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
43592         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
43594         * libio/Makefile: Test [$(libc-reentrant) = yes]
43595         instead of [$(filter %REENTRANT, $(defines)) nonempty].
43597         * Makeconfig
43598         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
43599         * sysdeps/pthread/configure: File removed.
43600         * sysdeps/pthread/Makeconfig: New file.
43601         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
43602         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
43604 2012-08-16  Gary Benson  <gbenson@redhat.com>
43606         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
43607         unmapping the first object in a namespace.
43609 2012-08-16  Roland McGrath  <roland@hack.frob.com>
43611         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
43612         (__internal_setnetgrent): ... this.  Add internal_function to
43613         definition.  Add libc_hidden_def.
43614         (setnetgrent): Update caller.
43615         (internal_endnetgrent): Renamed to ...
43616         (__internal_endnetgrent): ... this.  Add internal_function to
43617         definition.  Add libc_hidden_def.
43618         (endnetgrent): Update caller.
43619         (internal_getnetgrent_r): Renamed to ...
43620         (__internal_getnetgrent_r): ... this.  Add internal_function to
43621         definition.  Add libc_hidden_def.
43622         (__getnetgrent_r): Update caller.
43623         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
43625 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
43627         * stdlib/longlong.h: Update from GCC.
43629 2012-08-16  Roland McGrath  <roland@hack.frob.com>
43631         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
43632         on _QL, which is set by umul_ppmm but never used.
43633         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
43634         variables, which are set by GMP macros but never used.
43635         * stdio-common/_itowa.c (_itowa): Likewise.
43636         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
43637         * stdlib/mod_1.c (mpn_mod_1): Likewise.
43639 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
43641         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
43642         struct La_sh_regs is not constant.
43643         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
43644         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
43645         and struct La_sparc64_regs are not constant.
43647 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
43649         * sysdeps/unix/sysv/linux/kernel-features.h
43650         (__ASSUME_POSIX_TIMERS): Remove.
43651         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43652         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43653         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
43654         Make code unconditional.
43655         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43656         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
43657         Make code unconditional.
43658         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43659         * sysdeps/unix/sysv/linux/clock_nanosleep.c
43660         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
43661         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43662         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
43663         Make code unconditional.
43664         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43665         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
43666         (__libc_missing_posix_timers): Remove.
43668 2012-08-15  Roland McGrath  <roland@hack.frob.com>
43670         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
43671         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
43673         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
43675         * elf/dl-sym.c: Include <stdlib.h>.
43677         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
43678         constants, which avoids warnings in 32-bit builds.
43680         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
43681         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
43683         * misc/lseek.c: File moved to ...
43684         * io/lseek.c: ... here.
43686         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
43688         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
43689         shifting LEN more than 31 bits at once.
43691 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43693         [BZ #14195]
43694         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
43695         segmentation fault for a case of two empty input strings.
43696         * string/test-strncasecmp.c (check1): Renamed to...
43697         (bz12205): ...this.
43698         (bz14195): Add new testcase for two empty input strings and N > 0.
43699         (test_main): Call new testcase, adapt for renamed function.
43701 2012-08-15  Andreas Jaeger  <aj@suse.de>
43703         [BZ #14090]
43704         * crypt/md5test2.c: New test, based on test supplied by Serge
43705         Belyshev <belyshev@depni.sinp.msu.ru>.
43706         * crypt/Makefile (xtests): Add md5test-giant..
43707         * crypt/Makefile ($(objpfx)md5test-giant): Add.
43709 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
43711         [BZ #14090]
43712         * crypt/md5.c (md5_process_block): Don't assume the buffer
43713         length is less than 2**32.
43714         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
43715         length is less than 2**64.
43717 2012-08-15  Roland McGrath  <roland@hack.frob.com>
43719         * string/str-two-way.h: Include <sys/param.h>.
43720         (MAX): Macro removed.
43722         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
43723         Move #define and #undef of memmove to just before and after
43724         including <string.h>.
43726         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
43727         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
43728         and after including <string.h>.  Move declarations of
43729         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
43730         to before #include "string/memmove.c".
43732         * include/dirent.h: Declare __getdirentries.
43734         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
43735         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
43737 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
43739         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
43740         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
43741         * sysdeps/i386/configure: Regenerated.
43742         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
43743         STABS_CURRENT_FILE, and STABS_FUN.
43744         (END): Remove call to STABS_FUN_END.
43745         (STABS_CURRENT_FILE1): Delete.
43746         (STABS_CURRENT_FILE): Likewise.
43747         (STABS_FUN): Likewise.
43748         (STABS_FUN_END): Likewise.
43749         (STABS_FUN2): Likewise.
43750         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
43751         * sysdeps/x86_64/configure: Regenerated.
43753 2012-08-14  Roland McGrath  <roland@hack.frob.com>
43755         * elf/dl-open.c: Include <atomic.h>.
43756         * elf/dl-lookup.c: Likewise.
43758 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
43760         * sysdeps/unix/sysv/linux/kernel-features.h
43761         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
43762         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
43763         unconditionally.
43764         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
43765         unconditionally.
43766         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
43767         condition on __ASSUME_CLONE_THREAD_FLAGS.
43769 2012-08-14  Andreas Jaeger  <aj@suse.de>
43771         * sysdeps/i386/fpu/libm-test-ulps: Update.
43773 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
43775         * include/atomic.h (atomic_exchange_and_add): Split into ...
43776         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
43777         New atomic macros.
43779 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
43781         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43783 2012-08-13  Jeff Law <law@redhat.com>
43785         * manual/stdio.texi (snprintf): Clarify handling of the trailing
43786         null byte in the output string.
43788 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
43790         * sysdeps/unix/sysv/linux/kernel-features.h
43791         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
43792         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
43793         (__ASSUME_ARG_MAX_STACK_BASED): Define.
43794         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
43795         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
43796         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
43797         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
43799 2012-08-09  Jeff Law <law@redhat.com>
43801         [BZ #13939]
43802         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
43803         When avoid_arena is set, don't retry in the that arena.  Pick the
43804         next one, whatever it might be.
43805         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
43806         (arena_lock): Pass in new parameter to arena_get2.
43807         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
43808         arena_get2.
43809         (__libc_malloc): Unify retrying after main arena failure with
43810         __libc_memalign version.
43811         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
43813 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
43815         [BZ #14166]
43816         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
43817         to __redirect_strstr.
43818         (__strstr_sse42): Use typeof __redirect_strstr.
43819         (__strstr_ia32): Likewise.
43820         (__libc_strstr): New prototype.
43821         (strstr): Renamed to ...
43822         (__libc_strstr): This.
43823         (strstr): New strong alias of __libc_strstr.
43824         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
43825         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
43826         __redirect_time.
43827         Include <time.h>.
43828         (__libc_time): New prototype.
43829         (time_ifunc): Replace time with __libc_time.
43830         (time): New strong alias and hidden definition of __libc_time.
43831         (__GI_time): Remove strong alias.
43832         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
43833         Include <stddef.h>.
43834         (memmove): Redefined to __redirect_memmove.
43835         (__memmove_sse2): Use typeof __redirect_memmove.
43836         (__memmove_ssse3): Likewise.
43837         (__memmove_ssse3_back): Likewise.
43838         (__libc_memmove): New prototype.
43839         (memmove): Renamed to ...
43840         (__libc_memmove): This.
43841         (memmove): New strong alias of __libc_memmove.
43843 2012-08-08  Mark Salter  <msalter@redhat.com>
43845         * elf/elf.h
43846         (R_MN10300_TLS_GD): Define.
43847         (R_MN10300_TLS_LD): Likewise.
43848         (R_MN10300_TLS_LDO): Likewise.
43849         (R_MN10300_TLS_GOTIE): Likewise.
43850         (R_MN10300_TLS_IE): Likewise.
43851         (R_MN10300_TLS_LE): Likewise.
43852         (R_MN10300_TLS_DTPMOD): Likewise.
43853         (R_MN10300_TLS_DTPOFF): Likewise.
43854         (R_MN10300_TLS_TPOFF): Likewise.
43855         (R_MN10300_SYM_DIFF): Likewise.
43856         (R_MN10300_ALIGN): Likewise.
43857         (R_MN10300_NUM): Update.
43859 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
43861         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
43862         Remove.
43864 2012-08-08  Roland McGrath  <roland@hack.frob.com>
43866         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
43868         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
43869         sysdeps/unix -> sysdeps/posix move.
43870         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
43872 2012-08-07      Allan McRae     <allan@archlinux.org>
43874         [BZ #14303]
43875         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
43876         (SUNOS_CPP): Likewise.
43877         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
43878         not found.
43879         (open_input): Call CPP using execvp.
43881 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
43883         * sysdeps/unix/sysv/linux/kernel-features.h
43884         (__ASSUME_PROT_GROWSUPDOWN): Remove.
43885         (__ASSUME_NO_CLONE_DETACHED): Likewise.
43886         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
43887         (__ASSUME_WAITID_SYSCALL): Likewise.
43888         * sysdeps/unix/sysv/linux/dl-execstack.c
43889         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
43890         code unconditional.
43891         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
43892         conditional code.
43893         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
43894         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
43895         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
43896         code.
43897         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
43898         unconditional.
43899         [__ASSUME_WAITID_SYSCALL]: Likewise.
43900         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
43902 2012-08-07  Roland McGrath  <roland@hack.frob.com>
43904         * sysdeps/unix/closedir.c: Renamed to ...
43905         * sysdeps/posix/closedir.c: ... here.
43906         * sysdeps/unix/dirfd.c: Renamed to ...
43907         * sysdeps/posix/dirfd.c: ... here.
43908         * sysdeps/unix/dirstream.h: Renamed to ...
43909         * sysdeps/posix/dirstream.h: ... here.
43910         * sysdeps/unix/fdopendir.c: Renamed to ...
43911         * sysdeps/posix/fdopendir.c: ... here.
43912         * sysdeps/unix/opendir.c: Renamed to ...
43913         * sysdeps/posix/opendir.c: ... here.
43914         * sysdeps/unix/readdir.c: Renamed to ...
43915         * sysdeps/posix/readdir.c: ... here.
43916         * sysdeps/unix/readdir_r.c: Renamed to ...
43917         * sysdeps/posix/readdir_r.c: ... here.
43918         * sysdeps/unix/rewinddir.c: Renamed to ...
43919         * sysdeps/posix/rewinddir.c: ... here.
43920         * sysdeps/unix/seekdir.c: Renamed to ...
43921         * sysdeps/posix/seekdir.c: ... here.
43922         * sysdeps/unix/telldir.c: Renamed to ...
43923         * sysdeps/posix/telldir.c: ... here.
43924         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
43925         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
43926         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
43927         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
43929         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
43930         * bits/fcntl.h: ... here.
43932         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
43933         not 0.
43934         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
43935         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
43936         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
43937         (struct flock): Move l_start, l_len to the beginning.
43938         Use __pid_t for l_pid.
43939         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
43940         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
43941         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
43942         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
43943         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
43944         [__USE_LARGEFILE64] (struct flock64): New type.
43945         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
43947         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
43948         * bits/dirent.h: ... here.
43950         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
43951         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
43953 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
43955         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43956         Change from 2.6.0 to 2.6.16.
43957         * sysdeps/unix/sysv/linux/configure: Regenerated.
43958         * sysdeps/unix/sysv/linux/kernel-features.h
43959         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
43960         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
43961         version.
43962         (__ASSUME_UTIMES): Likewise.
43963         (__ASSUME_CLONE_STOPPED): Remove.
43964         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
43965         architectures, not kernel version.
43966         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
43967         (__ASSUME_NO_CLONE_DETACHED): Likewise.
43968         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
43969         (__ASSUME_WAITID_SYSCALL): Likewise.
43970         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
43971         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
43972         * README: State 2.6.16 as minimum Linux kernel version.  Do not
43973         refer to older versions.
43975 2012-08-06  Roland McGrath  <roland@hack.frob.com>
43977         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
43978         Define alphasort64 as an alias.
43979         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
43980         Define versionsort64 as an alias.
43981         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
43982         Define scandir64 as an alias.
43983         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
43984         Define scandirat64 as an alias.
43985         * dirent/alphasort64.c (alphasort64):
43986         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
43987         * dirent/versionsort64.c: Likewise.
43988         * dirent/scandir64.c: Likewise.
43989         * dirent/scandirat64.c: Likewise.
43990         * sysdeps/wordsize-64/alphasort.c: File removed.
43991         * sysdeps/wordsize-64/alphasort64.c: File removed.
43992         * sysdeps/wordsize-64/scandir.c: File removed.
43993         * sysdeps/wordsize-64/scandir64.c: File removed.
43994         * sysdeps/wordsize-64/scandirat.c: File removed.
43995         * sysdeps/wordsize-64/scandirat64.c: File removed.
43996         * sysdeps/wordsize-64/versionsort.c: File removed.
43997         * sysdeps/wordsize-64/versionsort64.c: File removed.
43998         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
43999         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
44000         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
44001         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
44002         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
44003         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
44004         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
44005         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
44007         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
44008         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
44009         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
44010         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44011         [defined __arch64__ || defined __sparcv9]
44012         (__INO_T_MATCHES_INO64_T): New macro.
44013         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44014         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
44015         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
44016         * sysdeps/unix/sysv/linux/bits/dirent.h
44017         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
44018         (_DIRENT_MATCHES_DIRENT64): New macro.
44020         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
44021         Define lockf64 as an alias.
44022         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
44023         Define fseeko64 as an alias.
44024         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
44025         Define ftello64 as an alias.
44026         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
44027         Define _IO_fgetpos64 and fgetpos64 as aliases.
44028         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
44029         Define _IO_fsetpos64 and fsetpos64 as aliases.
44030         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
44031         Conditionalize body on this.
44032         * libio/fseeko64.c: Likewise.
44033         * libio/ftello64.c: Likewise.
44034         * libio/iofgetpos64.c: Likewise.
44035         * libio/iofsetpos64.c: Likewise.
44036         * sysdeps/wordsize-64/lockf.c: File removed.
44037         * sysdeps/wordsize-64/lockf64.c: File removed.
44038         * sysdeps/wordsize-64/fseeko.c: File removed.
44039         * sysdeps/wordsize-64/fseeko64.c: File removed.
44040         * sysdeps/wordsize-64/ftello.c: File removed.
44041         * sysdeps/wordsize-64/ftello64.c: File removed.
44042         * sysdeps/wordsize-64/iofgetpos.c: File removed.
44043         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
44044         * sysdeps/wordsize-64/iofsetpos.c: File removed.
44045         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
44046         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
44047         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
44048         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
44049         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
44050         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
44051         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
44052         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
44053         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
44054         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
44055         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
44057         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
44058         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
44059         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
44060         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44061         [defined __arch64__ || defined __sparcv9]
44062         (__OFF_T_MATCHES_OFF64_T): New macro.
44063         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44064         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
44065         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44066         (__OFF_T_MATCHES_OFF64_T): New macro.
44068 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
44070         * stdlib/secure-getenv.c (__secure_getenv): Replace
44071         GLIBC_2_16 with GLIBC_2_17.
44073 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
44075         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
44076         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
44078 2012-08-03  David S. Miller  <davem@davemloft.net>
44080         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44082 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
44084         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
44085         Remove.
44086         (__ASSUME_CORRECT_SI_PID): Likewise.
44087         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
44088         (__ASSUME_TMPFS_NAME): Likewise.
44089         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
44090         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
44091         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
44092         (HAVE_AUX_SECURE): Make definition unconditional.
44093         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
44094         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
44096 2012-08-03  Roland McGrath  <roland@hack.frob.com>
44098         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
44099         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
44100         * sysdeps/mach/hurd/eloop-threshold.h: New file.
44101         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44102         __eloop_threshold instead of SYMLOOP_MAX.
44104         * sysdeps/generic/eloop-threshold.h: New file.
44105         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
44106         of MAXSYMLINKS.
44107         * elf/chroot_canon.c (chroot_canon): Likewise.
44109 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
44111         [BZ #13717]
44112         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44113         Change to 2.6.0 everywhere.
44114         * sysdeps/unix/sysv/linux/configure: Regenerated.
44115         * sysdeps/unix/sysv/linux/kernel-features.h
44116         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
44117         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
44118         kernel versions.
44119         (__ASSUME_POSIX_TIMERS): Define unconditionally.
44120         (__ASSUME_FUTEX_REQUEUE): Remove.
44121         (__ASSUME_STATFS64): Define unconditionally.
44122         (__ASSUME_AT_SECURE): Likewise.
44123         (__ASSUME_CORRECT_SI_PID): Likewise.
44124         (__ASSUME_TGKILL): Define without depending on kernel version for
44125         i386.
44126         (__ASSUME_UTIMES): Likewise.
44127         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
44128         kernel version.
44129         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
44130         (__ASSUME_TMPFS_NAME): Likewise.
44131         * README: Update reference to Linux kernel versions.
44133 2012-08-02  Marek Polacek  <polacek@redhat.com>
44135         [BZ# 14150]
44136         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
44137         libc_cv_asm_type_prefix with %.
44138         * configure: Regenerated.
44139         * include/libc-symbols.h: Remove comment about
44140         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
44141         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
44142         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
44143         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
44144         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
44145         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
44146         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
44147         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
44148         * elf/tst-unique2mod1.c: Likewise.
44149         * elf/tst-unique1mod2.c: Likewise.
44150         * elf/tst-unique1mod1.c: Likewise.
44151         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
44152         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
44153         Replace ASM_TYPE_DIRECTIVE with .type.
44154         * sysdeps/s390/s390-64/sysdep.h: Likewise.
44155         * sysdeps/i386/sysdep.h: Likewise.
44156         * sysdeps/x86_64/sysdep.h: Likewise.
44157         * sysdeps/sh/sysdep.h: Likewise.
44158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44159         Do not define ASM_TYPE_DIRECTIVE.
44160         * sysdeps/powerpc/sysdep.h: Likewise.
44161         * sysdeps/powerpc/powerpc32/sysdep.h:
44162         Replace ASM_TYPE_DIRECTIVE with .type.
44163         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
44164         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44165         * sysdeps/i386/fpu/e_powf.S: Likewise.
44166         * sysdeps/i386/fpu/e_expl.S: Likewise.
44167         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44168         * sysdeps/i386/fpu/e_acosh.S: Likewise.
44169         * sysdeps/i386/fpu/e_pow.S: Likewise.
44170         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44171         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44172         * sysdeps/i386/fpu/s_expm1.S: Likewise.
44173         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44174         * sysdeps/i386/fpu/e_log2.S: Likewise.
44175         * sysdeps/i386/fpu/e_log2l.S: Likewise.
44176         * sysdeps/i386/fpu/e_scalb.S: Likewise.
44177         * sysdeps/i386/fpu/e_powl.S: Likewise.
44178         * sysdeps/i386/fpu/e_log10f.S: Likewise.
44179         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44180         * sysdeps/i386/fpu/e_logl.S: Likewise.
44181         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44182         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44183         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44184         * sysdeps/i386/fpu/e_log2f.S: Likewise.
44185         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44186         * sysdeps/i386/fpu/e_log.S: Likewise.
44187         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44188         * sysdeps/i386/fpu/e_logf.S: Likewise.
44189         * sysdeps/i386/fpu/e_log10l.S: Likewise.
44190         * sysdeps/i386/fpu/e_atanh.S: Likewise.
44191         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44192         * sysdeps/i386/fpu/e_log10.S: Likewise.
44193         * sysdeps/i386/fpu/s_frexp.S: Likewise.
44194         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44195         * sysdeps/i386/fpu/s_asinh.S: Likewise.
44196         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44197         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44198         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
44199         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44200         * sysdeps/i386/i686/strtok.S: Likewise.
44201         * sysdeps/i386/i386-mcount.S: Likewise.
44202         * sysdeps/i386/strtok.S: Likewise.
44203         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
44204         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44205         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44206         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44207         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
44208         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44209         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44210         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44211         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44212         * sysdeps/x86_64/_mcount.S: Likewise.
44213         * sysdeps/x86_64/strtok.S: Likewise.
44214         * sysdeps/sh/_mcount.S: Likewise.
44216 2012-08-01  Roland McGrath  <roland@hack.frob.com>
44218         * libio/iofopen.c: Include <fcntl.h>.
44219         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
44220         (_IO_fopen64, fopen64): Define as aliases.
44221         * libio/iofopen64.c: Include <fcntl.h>.
44222         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
44223         Conditionalize body on this.
44224         * sysdeps/wordsize-64/iofopen.c: File removed.
44225         * sysdeps/wordsize-64/iofopen64.c: File removed.
44227 2012-08-01  Marek Polacek  <polacek@redhat.com>
44229         * libc/Makeconfig: Use elf in place of binfmt-subdir.
44230         Use dlfcn directly instead of a variable.
44231         (binfmt-subdir): Do not define.
44232         (dlfcn): Likewise.
44234 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
44236         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
44237         Remove all definitions.
44238         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
44239         <kernel-features.h>.
44240         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44241         (miss_F_GETOWN_EX): Remove all definitions.
44242         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
44243         macro definition.
44244         [!__ASSUME_FCNTL64]: Remove conditional code.
44245         [__ASSUME_FCNTL64]: Make code unconditional.
44246         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
44247         <kernel-features.h>.
44248         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44249         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
44250         (lockf64) [__NR_fcntl64]: Make code unconditional.
44251         (lockf64) [__ASSUME_FCNTL64]: Likewise.
44253         * sysdeps/unix/sysv/linux/kernel-features.h
44254         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
44255         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
44256         Make code unconditional.
44257         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44258         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
44260         [__NR_vfork]: Make code unconditional.
44261         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44262         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
44264         [__NR_vfork]: Make code unconditional.
44265         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44266         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44268 2012-08-01  Roland McGrath  <roland@hack.frob.com>
44270         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
44271         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
44273         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44274         Define mkstemp64 as an alias.
44275         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44276         Define mkstemps64 as an alias.
44277         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44278         Define mkostemp64 as an alias.
44279         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44280         Define mkostemps64 as an alias.
44281         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
44282         Conditionalize body on this.
44283         * misc/mkostemp64.c: Likewise.
44284         * misc/mkostemps64.c: Likewise.
44285         * misc/mkstemps64.c: Likewise.
44286         * sysdeps/wordsize-64/mkstemp64.c: File removed.
44287         * sysdeps/wordsize-64/mkostemp64.c: File removed.
44288         * sysdeps/wordsize-64/mkostemp.c: File removed.
44289         * sysdeps/wordsize-64/mkstemp.c: File removed.
44290         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
44291         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
44292         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
44293         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
44295         [BZ #14138]
44296         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
44297         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
44298         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
44299         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
44301         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
44302         compat_symbol macros from <shlib-compat.h> rather than the underlying
44303         default_symbol_version and symbol_version macros, so that DEFAULT
44304         lines in shlib-versions are respected.
44305         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
44307 2012-08-01  Florian Weimer  <fweimer@redhat.com>
44309         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
44310         Declare with warn_unused_result.
44311         (setgid, setregid, setegid, setresgid): Likewise.
44312         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
44313         Likewise.
44314         * WUR-REPORT: Remove set*id functions.
44316 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
44318         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
44320 2012-07-31  Roland McGrath  <roland@hack.frob.com>
44322         [BZ #10191]
44323         * include/sys/socket.h (__libc_accept, __libc_accept4):
44324         Add attribute_hidden.
44325         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
44327         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
44328         use of PTR_MANGLE.
44329         * inet/getnetgrent_r.c (setup): Likewise.
44331         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
44333 2012-07-31  David S. Miller  <davem@davemloft.net>
44335         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44337 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
44339         [BZ #13629]
44340         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
44341         value between 1.0 and 2.0 and smaller part has absolute value less
44342         than 1.0.
44343         * math/s_clog10.c (__clog10): Likewise.
44344         * math/s_clog10f.c (__clog10f): Likewise.
44345         * math/s_clog10l.c (__clog10l): Likewise.
44346         * math/s_clogf.c (__clogf): Likewise.
44347         * math/s_clogl.c (__clogl): Likewise.
44348         * math/libm-test.inc (clog_test): Add more tests.
44349         (clog10_test): Likewise.
44350         * sysdeps/i386/fpu/libm-test-ulps: Update.
44351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44353 2012-07-31  Florian Weimer  <fweimer@redhat.com>
44355         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
44356         Exit with zero in case no suitable GID is found, and write a
44357         message to standard error.
44359 2012-07-30  Roland McGrath  <roland@hack.frob.com>
44361         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
44362         rather than to 1.
44363         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
44364         (MAXPATHLEN): Removed.
44365         (NOGROUP, NODEV): New macros.
44366         (setbit, clrbit, isset, isclr): New macros.
44367         (howmany, roundup, powerof2): New macros.
44368         (DEV_BSIZE): New macro.
44370         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
44371         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
44373         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
44374         definition on [!__NO_LONG_DOUBLE_MATH].
44376         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
44377         PTR_MANGLE and PTR_DEMANGLE.
44379         * socket/accept4.c (accept4): Rename to __libc_accept4.
44380         Define accept4 as a weak alias.
44382         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
44383         on [_DIRENT_HAVE_D_TYPE].
44384         * io/ftw.c (ftw_dir): Likewise.
44386         * io/xmknod.c (__xmknod): Don't check PATH for being null.
44388         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
44390         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
44391         Use the BSD numbers rather than the arbitrary ones we had.
44392         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
44393         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
44394         (SIGXCPU, SIGXFSZ): New macros.
44395         (_NSIG): Now 32.
44397         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
44398         initializer on [_LIBC_REENTRANT].
44400         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
44401         definitions inside [_POSIX_MAPPED_FILES].
44403         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
44405         * dirent/opendir.c: Include <fcntl.h>.
44407         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
44408         (__libc_getspecific): Likewise.
44409         (__libc_key_create): Likewise.
44411         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
44412         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
44413         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
44414         (tmpfile64): Define as alias.
44415         * sysdeps/wordsize-64/tmpfile.c: File removed.
44416         * sysdeps/wordsize-64/tmpfile64.c: File removed.
44417         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
44418         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
44420         * stdio-common/vfscanf.c: Include <stdbool.h>.
44421         * nss/makedb.c: Likewise.
44422         * stdio-common/_i18n_number.h: Likewise.
44423         * argp/argp-help.c: Likewise.
44424         * posix/wordexp.c: Likewise.
44425         * sysdeps/posix/spawni.c: Likewise.
44426         * nss/nss_files/files-initgroups.c: Likewise.
44427         * stdio-common/reg-modifier.c: Include <stdlib.h>.
44428         * nss/nss_files/files-initgroups.c: Likewise.
44429         * nss/nss_db/db-netgrp.c: Likewise.
44430         * nss/nss_db/db-initgroups.c: Likewise.
44431         * io/fchmodat.c: Include <sys/stat.h>.
44433         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
44434         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
44436         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
44437         [HAVE_MMAP].
44439         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
44440         Add multiple inclusion protection.
44442 2012-07-27  David S. Miller  <davem@davemloft.net>
44444         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44446 2012-07-27  Gary Benson  <gbenson@redhat.com>
44448         [BZ #14298]
44449         * elf/rtld.c: Include <stap-probe.h>.
44450         (dl_main): Added static probes "init_start" and "init_complete".
44451         * elf/dl-load.c: Include <stap-probe.h>.
44452         (lose): Take new parameter "nsid".
44453         Added static probe "map_failed".
44454         (_dl_map_object_from_fd): Pass namespace id to lose.
44455         Added static probe "map_start".
44456         (open_verify): Pass namespace id to lose.
44457         * elf/dl-open.c: Include <stap-probe.h>.
44458         (dl_open_worker) Added static probes "map_complete", "reloc_start"
44459         and "reloc_complete".
44460         * elf/dl-close.c: Include <stap-probe.h>.
44461         (_dl_close_worker): Added static probes "unmap_start" and
44462         "unmap_complete".
44463         * elf/rtld-debugger-interface.txt: New file documenting the above.
44465 2012-07-26  Roland McGrath  <roland@hack.frob.com>
44467         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
44468         rather than a string variable.
44469         * sunrpc/rpc_main.c (h_output): Likewise.
44470         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
44472 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
44474         * inet/check_native.c: New file.
44476 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
44478         [BZ #13629]
44479         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
44480         if larger part has absolute value 1.0.
44481         * math/s_clog10.c (__clog10): Likewise.
44482         * math/s_clog10f.c (__clog10f): Likewise.
44483         * math/s_clog10l.c (__clog10l): Likewise.
44484         * math/s_clogf.c (__clogf): Likewise.
44485         * math/s_clogl.c (__clogl): Likewise.
44486         * math/libm-test.inc (clog_test): Add more tests.
44487         (clog10_test): Likewise.
44488         * sysdeps/i386/fpu/libm-test-ulps: Update.
44489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44491         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
44492         (pltexit): Likewise.
44493         (La_regs): Likewise.
44494         (La_retval): Likewise.
44495         (int_retval): Likewise.
44496         Update #error for removed macros to refer only to definitions in
44497         tst-audit.h.
44498         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
44499         macro.
44500         (pltexit): Likewise.
44501         (La_regs): Likewise.
44502         (La_retval): Likewise.
44503         (int_retval): Likewise.
44504         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
44505         macro.
44506         (pltexit): Likewise.
44507         (La_regs): Likewise.
44508         (La_retval): Likewise.
44509         (int_retval): Likewise.
44510         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
44511         macro.
44512         (pltexit): Likewise.
44513         (La_regs): Likewise.
44514         (La_retval): Likewise.
44515         (int_retval): Likewise.
44516         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
44517         macro.
44518         (pltexit): Likewise.
44519         (La_regs): Likewise.
44520         (La_retval): Likewise.
44521         (int_retval): Likewise.
44522         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
44523         macro.
44524         (pltexit): Likewise.
44525         (La_regs): Likewise.
44526         (La_retval): Likewise.
44527         (int_retval): Likewise.
44528         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
44529         macro.
44530         (pltexit): Likewise.
44531         (La_regs): Likewise.
44532         (La_retval): Likewise.
44533         (int_retval): Likewise.
44534         * sysdeps/generic/tst-audit.h: Update comment to refer only to
44535         macro definitions in tst-audit.h.
44536         * sysdeps/i386/tst-audit.h: New file.
44537         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
44538         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
44539         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
44540         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
44541         * sysdeps/sh/tst-audit.h: Likewise.
44542         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
44543         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
44544         * sysdeps/x86_64/tst-audit.h: Likewise.
44546 2012-07-26  Andreas Jaeger  <aj@suse.de>
44548         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
44549         ptrace.
44551         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
44552         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
44553         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
44554         PTRACE_O_MASK.
44555         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
44556         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
44557         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
44559         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
44560         value.
44562         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
44563         _sigsys.
44564         (si_call_addr, si_syscall, si_arch): Define new macro.
44565         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
44566         _sigsys.
44567         (si_call_addr, si_syscall, si_arch): Define new marcro.
44568         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
44569         _sigsys.
44570         (si_call_addr, si_syscall, si_arch): Define new macro.
44571         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
44572         _sigsys.
44573         (si_call_addr, si_syscall, si_arch): Define new macro.
44575 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
44577         [BZ #13717]
44578         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44579         Change to 2.4.21 where previously 2.4.1.
44580         * sysdeps/unix/sysv/linux/configure: Regenerated.
44581         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
44582         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
44583         Linux kernel version.
44584         (__ASSUME_STD_AUXV): Remove.
44585         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
44586         kernel version.
44587         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
44588         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
44589         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
44590         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
44591         (__ASSUME_NETLINK_SUPPORT): Likewise.
44592         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
44593         (__no_netlink_support): Remove conditional definition.
44594         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
44595         Remove.
44596         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
44597         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
44598         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
44599         (if_nameindex_ioctl): Remove.
44600         (if_nameindex_netlink): Do not handle __no_netlink_support.
44601         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
44602         code.
44603         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
44604         Remove conditional code.
44605         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
44606         code.
44607         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
44608         unconditional.
44609         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
44610         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
44611         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
44612         Remove.
44613         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
44614         [!__ASSUME_STD_AUXV]: Remove conditional code.
44615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
44616         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
44617         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
44618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
44619         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
44620         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
44621         code.
44622         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
44623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44624         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
44625         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
44626         conditional code.
44627         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
44628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
44629         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
44630         code.
44631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44632         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
44633         conditional code.
44634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
44635         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44636         code unconditional.
44637         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44638         conditional code.
44639         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44640         unconditional.
44641         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44642         conditional code.
44643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44644         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44645         unconditional.
44646         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44647         conditional code.
44648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
44649         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44650         code unconditional.
44651         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44652         conditional code.
44653         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44654         unconditional.
44655         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44656         conditional code.
44657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
44658         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44659         code unconditional.
44660         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44661         conditional code.
44662         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44663         unconditional.
44664         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44665         conditional code.
44667 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
44669         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
44670         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
44671         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
44672         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
44673         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
44674         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
44675         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
44676         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
44677         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
44678         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
44679         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
44680         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
44681         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
44682         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
44683         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
44684         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
44685         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
44686         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
44687         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
44688         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
44689         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
44690         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
44691         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
44693 2012-07-25  Florian Weimer  <fweimer@redhat.com>
44695         * Versions.def: Add GLIBC_2.17.
44696         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
44697         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
44698         Introduce __libc_secure_getenv.
44699         * stdlib/Versions (2.17): Add secure_getenv
44700         (GLIBC_PRIVATE): Add __libc_secure_getenv.
44701         * stdlib/secure-getenv.c: Rename __secure_getenv to
44702         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
44703         symbol __secure_getenv for GLIBC_2.0.
44704         * stdlib/tst-secure-getenv.c: New.
44705         * stdlib/Makefile (tests): Add testcase.
44706         * manual/startup.texi (Environment Access): Document
44707         secure_getenv.
44708         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
44709         __libc_secure_getenv.
44710         * inet/ruserpass.c (ruserpass): Likewise.
44711         * malloc/mtrace.c (mtrace): Likewise.
44712         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
44713         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
44714         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
44715         * sysdeps/posix/tempname.c: Likewise.  Evaluate
44716         HAVE_SECURE_GETENV.
44717         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
44718         __secure_getenv to __libc_secure_getenv.
44719         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
44720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44721         Likewise.
44722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44723         Likewise.
44724         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
44725         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
44726         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
44727         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
44728         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
44729         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
44730         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
44732 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
44734         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
44735         (struct La_i86_retval): Likewise.
44736         (struct La_x86_64_regs): Likewise.
44737         (struct La_x86_64_retval): Likewise.
44738         (struct La_x32_regs): Likewise.
44739         (struct La_x32_retval): Likewise.
44740         (struct La_ppc32_regs): Likewise.
44741         (struct La_ppc32_retval): Likewise.
44742         (struct La_ppc64_regs): Likewise.
44743         (struct La_ppc64_retval): Likewise.
44744         (struct La_sh_regs): Likewise.
44745         (struct La_sh_retval): Likewise.
44746         (struct La_s390_32_regs): Likewise.
44747         (struct La_s390_32_retval): Likewise.
44748         (struct La_s390_64_regs): Likewise.
44749         (struct La_s390_64_retval): Likewise.
44750         (struct La_sparc32_regs): Likewise.
44751         (struct La_sparc32_retval): Likewise.
44752         (struct La_sparc64_regs): Likewise.
44753         (struct La_sparc64_retval): Likewise.
44754         (struct audit_ifaces): Remove architecture-specific pltenter and
44755         pltexit members.
44756         * sysdeps/i386/ldsodefs.h: New file.
44757         * sysdeps/powerpc/ldsodefs.h: Likewise.
44758         * sysdeps/s390/ldsodefs.h: Likewise.
44759         * sysdeps/sh/ldsodefs.h: Likewise.
44760         * sysdeps/sparc/ldsodefs.h: Likewise.
44761         * sysdeps/x86_64/ldsodefs.h: Likewise.
44763 2012-07-25  Marek Polacek  <polacek@redhat.com>
44765         [BZ #6808]
44766         * math/libm-test.inc (yn_test): Add another test.
44767         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
44768         to ERANGE when the result is +-Inf.
44769         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
44770         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
44771         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
44772         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
44774 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
44776         * conform/data/time.h-data (NULL): Use macro-constant.  Require
44777         equal to 0.
44778         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
44779         clock_t.
44780         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
44782 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
44784         * configure.in <sysdeps resolving>: Correct printing
44785         Implies_before.
44786         * configure: Regenerate.
44788 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
44790         * math/w_ilogb.c: Include <limits.h>.
44791         * math/w_ilogbl.c: Likewise.
44793 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
44795         * manual/lang.texi (__va_copy): Document primarily as ISO C99
44796         va_copy.  Document allowing for unavailable va_copy only as
44797         pre-C99 compatibility.
44798         * manual/string.texi (Copying and Concatenation): Use va_copy
44799         instead of __va_copy in concat example.
44801 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
44803         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
44804         (__sendto): Use create_address_port.  Initialize APORT and deallocate
44805         it if not null.
44807         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
44808         with O_NOLINK passed to __file_name_lookup.
44810         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
44811         with O_NOLINK passed to __file_name_lookup.
44813         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
44814         negative N or less than NGIDS.
44816         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
44817         type to string_t.  Set ERANGE as errno and return it if NAME is not big
44818         enough.  Use memcpy instead of strncpy.
44820 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
44822         * elf/Makefile (check-data): Remove.
44823         (localplt.data): New vpath directive.
44824         ($(objpfx)check-localplt.out): Use localplt.data from vpath
44825         instead of $(check-data).
44826         * scripts/data/localplt-generic.data: Move to ...
44827         * sysdeps/generic/localplt.data: ... here.
44828         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
44829         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
44830         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
44831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
44832         ... here.
44833         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
44834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
44835         ... here.
44836         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
44837         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
44838         ... here.
44839         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
44840         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
44841         ... here.
44842         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
44843         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
44844         ... here.
44845         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
44846         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
44847         ... here.
44849 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44851         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
44852         PPC32 and PPC64 files.
44853         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
44854         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
44856 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44858         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
44859         __makecontext_ret to ...
44860         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
44861         ... here and call exit if uc_link is NULL.  New file.
44862         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
44863         __makecontext_ret.S.
44864         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
44865         __makecontext_ret to ...
44866         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
44867         ... here and call exit if uc_link is NULL.  New file.
44868         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
44869         __makecontext_ret.S.
44871 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44873         * elf/elf.h (R_390_IRELATIVE): New definition.
44874         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
44875         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
44876         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
44877         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
44878         (elf_machine_lazy_rel): Likewise.
44879         * sysdeps/s390/dl-irel.h: New file.
44880         * sysdeps/s390/s390-64/memcpy.S: New asm code.
44881         * sysdeps/s390/s390-64/memset.S: New asm code.
44882         * sysdeps/s390/s390-64/memcmp.S: New asm code.
44883         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
44884         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
44885         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
44886         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
44887         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
44888         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
44889         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
44890         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
44891         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
44892         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
44893         * sysdeps/s390/s390-32/memcpy.S: New asm code.
44894         * sysdeps/s390/s390-32/memset.S: New asm code.
44895         * sysdeps/s390/s390-32/memcmp.S: New asm code.
44897 2012-07-17  Marek Polacek  <polacek@redhat.com>
44899         [BZ #14349]
44900         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
44901         * sysdeps/s390/s390-64/configure.in: Likewise.
44902         * sysdeps/sparc/configure.in: Likewise.
44903         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
44904         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
44905         * sysdeps/i386/configure.in: Likewise.
44906         * sysdeps/x86_64/configure.in: Likewise.
44907         * sysdeps/sh/configure.in: Likewise.
44908         * sysdeps/s390/s390-32/configure: Regenerated.
44909         * sysdeps/s390/s390-64/configure: Likewise.
44910         * sysdeps/x86_64/configure: Likewise.
44911         * sysdeps/sh/configure: Likewise.
44912         * sysdeps/powerpc/powerpc64/configure: Likewise.
44913         * sysdeps/powerpc/powerpc32/configure: Likewise.
44914         * sysdeps/sparc/configure: Likwise.
44915         * sysdeps/i386/configure: Likewise.
44917         * elf/dl-open.c: Comment fixes.
44919 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
44921         * Makefile [CXX] (check-data): Remove.
44922         [CXX] (c++-types.data): New vpath directive.
44923         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
44924         vpath.  Do not allow for C++ type data being missing.
44925         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
44926         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
44927         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
44928         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
44929         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
44930         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
44931         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
44932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
44933         ... here.
44934         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
44935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
44936         ... here.
44937         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
44938         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
44939         ... here.
44940         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
44941         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
44942         ... here.
44943         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
44944         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
44945         ... here.
44946         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
44947         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
44948         ... here.
44949         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
44950         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
44951         ... here.
44952         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
44953         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
44955         * elf/tls-macros.h (TLS_LE): Move architecture-specific
44956         definitions to architecture-specific files.
44957         (TLS_IE): Likewise.
44958         (TLS_LD): Likewise.
44959         (TLS_GD): Likewise.
44960         * sysdeps/i386/tls-macros.h: New file.
44961         * sysdeps/powerpc/tls-macros.h: Likewise.
44962         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
44963         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
44964         * sysdeps/sh/tls-macros.h: Likewise.
44965         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
44966         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
44967         * sysdeps/x86_64/tls-macros.h: Likewise.
44969 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
44971         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
44972         zero value for regular exit case.
44974         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
44975         (__start_context): Preserve zero value for regular exit case.
44977 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
44978             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44980         * manual/setjmp.texi (setcontext): Clarify normal process
44981         termination when uc_link is the null pointer.
44982         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
44983         exit call.
44985 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
44987         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
44988         preprocessor.  Test for each exception mask separately.
44990 2012-07-16  Andreas Jaeger  <aj@suse.de>
44992         * po/ru.po: Update from translation team.
44994 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
44996         * conform/data/string.h-data (NULL): Use macro-constant.  Require
44997         equal to 0.
44998         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
44999         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
45000         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
45001         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
45002         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45004 2012-07-13  Andreas Jaeger  <aj@suse.de>
45006         * po/fr.po: Update from translation team.
45008 2012-07-12  Marek Polacek  <polacek@redhat.com>
45010         [BZ #14173]
45011         * math/libm-test.inc (yn_test): Add test for BZ #14173.
45012         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
45013         loop condition.
45015 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
45017         [BZ #13717]
45018         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45019         Change to 2.4.1 where previously 2.4.0.
45020         * sysdeps/unix/sysv/linux/configure: Regenerated.
45021         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
45022         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
45023         version.
45024         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
45025         (__ASSUME_AT_CLKTCK): Remove.
45026         (__ASSUME_AT_PAGESIZE): Likewise.
45027         (__ASSUME_AT_XID): Likewise.
45028         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
45029         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
45030         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
45031         unconditionally.
45032         (HAVE_AUX_PAGESIZE): Likewise.
45033         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
45034         [__ASSUME_AT_CLKTCK]: Make code unconditional.
45035         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
45037 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
45039         [BZ #14307]
45040         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
45041         the temporary buffer used to invoke __gethostbyname2_r,
45042         __gethostbyaddr_r and gethostbyname4_r to make room for struct
45043         host_data / struct gaih_addrtuple.
45044         * resolv/nss_dns/dns-host.c (global scope): Move definition of
45045         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
45046         header file nss/nsswitch.h.
45047         * nss/nsswitch.h (global scope): Add definition of implementation
45048         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
45049         resolv/nss_dns/dns-host.c).
45051 2012-07-11  Andreas Jaeger  <aj@suse.de>
45053         * po/fr.po: Update from translation team.
45055         * po/sv.po: Update from translation team
45056         * po/fr.po: Another update from translation team.
45058 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45060         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
45061         for subnormals or multiply small sinh result by itself.
45062         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45063         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45065 2012-07-11  David S. Miller  <davem@davemloft.net>
45067         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45069 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
45071         [BZ #14347]
45072         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
45073         (INTERNAL_MARK): Shift it here.
45075 2012-07-10  Marek Polacek  <polacek@redhat.com>
45077         [BZ #14151]
45078         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
45079         libc_cv_asm_global_directive with .globl.
45080         * configure: Regenerated.
45081         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
45082         with .globl.
45083         * sysdeps/i386/configure: Regenerated.
45084         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
45085         with .globl.
45086         * sysdeps/x86_64/configure: Regenerated.
45087         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
45088         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
45089         * elf/tst-unique2mod2.c: Likewise.
45090         * elf/tst-unique2mod1.c: Likewise.
45091         * elf/tst-unique1mod2.c: Likewise.
45092         * elf/tst-unique1mod1.c: Likewise.
45093         * sysdeps/s390/s390-32/sysdep.h: Likewise.
45094         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
45095         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45096         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45097         * sysdeps/mach/sysdep.h: Likewise.
45098         * sysdeps/i386/sysdep.h: Likewise.
45099         * sysdeps/i386/i386-mcount.S: Likewise.
45100         * sysdeps/x86_64/_mcount.S: Likewise.
45101         * sysdeps/x86_64/sysdep.h: Likewise.
45102         * sysdeps/sh/_mcount.S: Likewise.
45103         * sysdeps/sh/sysdep.h: Likewise.
45104         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
45105         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
45106         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
45107         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
45108         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
45109         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
45110         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
45111         * locale/localeinfo.h: Likewise.
45112         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
45113         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
45115 2012-07-09  Roland McGrath  <roland@hack.frob.com>
45117         [BZ #14336]
45118         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
45119         system".
45120         * manual/message.texi (The Uniforum approach): Likewise.
45121         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
45122         (glibc iconv Implementation): Likewise.
45124 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
45126         [BZ #14337]
45127         * math/s_clog.c (__clog): Avoid scaling a value down where that
45128         could result in underflow.
45129         * math/s_clog10.c (__clog10): Likewise.
45130         * math/s_clog10f.c (__clog10f): Likewise.
45131         * math/s_clog10l.c (__clog10l): Likewise.
45132         * math/s_clogf.c (__clogf): Likewise.
45133         * math/s_clogl.c (__clogl): Likewise.
45134         * math/libm-test.inc (clog_test): Add more tests.
45135         (clog10_test): Likewise.
45136         * sysdeps/i386/fpu/libm-test-ulps: Update.
45137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45139 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
45141         [BZ #14283]
45142         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
45143         by 7 not 8 to examine high bit of fractional part.
45145         [BZ #14042]
45146         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
45147         for call to __mcount_internal.
45148         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
45149         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
45150         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
45152 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
45154         [BZ #14154]
45155         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
45156         approximation for values within 0x1p-13f of an odd multiple of
45157         pi/4.
45158         * math/libm-test.inc (tan_test): Do not allow spurious underflow
45159         exception.  Add more tests.
45160         * sysdeps/i386/fpu/libm-test-ulps: Update.
45162         [BZ #6778]
45163         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
45164         inputs and return -1 for them.  Do not check for +Inf in case not
45165         reachable for +Inf.
45166         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
45167         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
45168         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45169         and return -1 for them.  Do not check for +Inf in case not
45170         reachable for +Inf.
45171         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
45172         define.
45173         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45174         and return -1 for them.  Do not check for +Inf in case not
45175         reachable for +Inf.
45176         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
45177         spurious underflow.
45178         * sysdeps/i386/fpu/libm-test-ulps: Update.
45179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45181 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
45183         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
45185 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
45187         [BZ #14157]
45188         [BZ #14331]
45189         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
45190         could result in spurious underflow.  Scale down values above
45191         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
45192         * math/s_csqrtf.c (__csqrtf): Likewise.
45193         * math/s_csqrtl.c (__csqrtl): Likewise.
45194         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
45195         spurious underflow.
45196         * sysdeps/i386/fpu/libm-test-ulps: Update.
45197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45199 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
45201         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
45202         xopen-msg.sed.
45203         * catgets/xopen-msg.awk: New file.
45204         * catgets/xopen-msg.sed: Removed.
45206         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
45207         po2text.sed.
45208         * intl/po2test.awk: New file.
45209         * intl/po2test.sed: Removed.
45211 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
45213         [BZ #14328]
45214         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
45215         or multiply small sinh result by itself.
45216         * math/s_ctanf.c (__ctanf): Likewise.
45217         * math/s_ctanh.c (__ctanh): Likewise.
45218         * math/s_ctanhf.c (__ctanhf): Likewise.
45219         * math/s_ctanhl.c (__ctanhl): Likewise.
45220         * math/s_ctanl.c (__ctanl): Likewise.
45221         * math/libm-test.inc (ctan_test_tonearest): New function.
45222         (ctan_test_towardzero): Likewise.
45223         (ctan_test_downward): Likewise.
45224         (ctan_test_upward): Likewise.
45225         (ctanh_test_tonearest): Likewise.
45226         (ctanh_test_towardzero): Likewise.
45227         (ctanh_test_downward): Likewise.
45228         (ctanh_test_upward): Likewise.
45229         (main): Call these new functions.
45230         * sysdeps/i386/fpu/libm-test-ulps: Update.
45231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45233 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
45235         * .gitignore: Delete /ports entry.
45237 2012-07-03  Andreas Jaeger  <aj@suse.de>
45239         * po/bg.po: Update from translation team.
45240         * po/cs.po: Likewise.
45241         * po/de.po: Likewise.
45242         * po/hr.po: Likewise.
45243         * po/nl.pl: Likewise.
45244         * po/pl.po: Likewise.
45245         * po/vi.po: Likewise.
45247 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
45249         * Makeconfig [!+link] (+link-before-libc): New variable.
45250         [!+link] (+link-after-libc): Likewise.
45251         [!+link] (+link-tests): Likewise.
45252         [!+link] (+link): Define in terms of $(+link-before-libc) and
45253         $(+link-after-libc).
45254         [!+link-static] (+link-static-before-libc): New variable.
45255         [!+link-static] (+link-static-after-libc): Likewise.
45256         [!+link-static] (+link-static-tests): Likewise.
45257         [!+link-static] (+link-static): Define in terms of
45258         $(+link-static-before-libc) and $(+link-static-after-libc).
45259         [build-shared] (link-libc-before-gnulib): New variable.
45260         [build-shared] (link-libc-tests): Likewise.
45261         [build-shared] (link-libc): Define in terms of
45262         $(link-libc-before-gnulib).
45263         [!build-shared] (link-libc-tests): New variable.
45264         (link-libc-static-tests): New variable.
45265         [!gnulib] (gnulib-arch): New variable.
45266         [!gnulib] (gnulib-tests): Likewise.
45267         [!gnulib] (static-gnulib-arch): Likewise.
45268         [!gnulib] (static-gnulib-tests): Likewise.
45269         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
45270         Define with "=" instead of ":=".
45271         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
45272         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
45273         * Rules (binaries-all-notests): New variable.
45274         (binaries-all-tests): Likewise.
45275         (binaries-static-notests): Likewise.
45276         (binaries-static-tests): Likewise.
45277         (binaries-all): Define using $(binaries-all-notests) and
45278         $(binaries-all-tests).
45279         (binaries-static): Define using $(binaries-static-notests) and
45280         $(binaries-static-tests).
45281         (binaries-shared-tests): New variable.
45282         (binaries-shared-notests): Likewise.
45283         (binaries-shared): Remove variable.
45284         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
45285         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
45286         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
45287         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
45288         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
45289         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
45290         * elf/Makefile (sln-modules): New variable.
45291         (extra-objs): Add $(sln-modules:=.o).
45292         (ldconfig-modules): Add static-stubs.
45293         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
45294         * elf/static-stubs.c: New file.
45296         [BZ #14283]
45297         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
45298         by 7 not 8 to examine high bit of fractional part.  Use volatile
45299         variables when splitting into final array of floats if
45300         __FLT_EVAL_METHOD__ != 0.
45301         * math/libm-test.inc (cos_test): Add another test.
45302         (sin_test): Likewise.
45303         * sysdeps/i386/fpu/libm-test-ulps: Update.
45305         [BZ #14273]
45306         * math/libm-test.inc (cosh_test): Add more tests.
45308         * version.h (RELEASE): Set to "development".
45309         (VERSION): Set to "2.16.90".
45311 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
45313         * NEWS: Update copyright. Remove last-updated date.
45314         Mention math library bug fixes and timezone data changes.
45315         * README: Mention GNU/Hurd, x32, and HPPA support status.
45317 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
45319         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
45321 2012-06-27  Andreas Jaeger  <aj@suse.de>
45323         * manual/contrib.texi (Contributors): Add Samuel Thibault.
45325 2012-06-25  Andreas Jaeger  <aj@suse.de>
45327         * sysdeps/s390/fpu/libm-test-ulps: Update.
45329 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
45330             Thomas Schwinge  <thomas@codesourcery.com>
45332         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
45333         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
45334         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
45335         fanotify_mark.
45337 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
45339         * sysdeps/mach/start.c: Remove file.
45340         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
45341         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
45342         * sysdeps/sh/init-first.c: Likewise.
45344         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
45345         registers for frame unwinding purposes, add CFI directives.
45346         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
45347         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
45348         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
45349         Likewise.
45351         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
45352         __fortify_fail returning.
45353         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
45355         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
45356         sysdeps/sh/____longjmp_chk.S.
45357         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
45358         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
45359         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
45360         (gen-as-const-headers): Append sigaltstack-offsets.sym.
45362         * sysdeps/sh/abort-instr.h: New file.
45363         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
45364         process in case exit returns.
45366         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
45367         initialize the GOT register before use.
45369         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
45370         calculation of ARGC > 4.
45372         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
45373         meaningful names to some local labels.
45375 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45376             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45378         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
45379         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
45380         (__arch_compare_and_exchange_val_16_acq): Likewise.
45381         (__arch_compare_and_exchange_val_32_acq): Likewise.
45382         (atomic_exchange_and_add): Fix gUSA sequence.
45383         (atomic_add): Likewise.
45384         (atomic_add_negative): Likewise.
45385         (atomic_add_zero): Likewise.
45386         (atomic_bit_test_set): Likewise.
45388 2012-06-22  Andreas Schwab  <schwab@redhat.com>
45390         [BZ #13579]
45391         * include/link.h (struct link_map): Add l_free_initfini.
45392         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
45393         l_initfini.
45394         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
45395         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
45396         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
45397         set.
45399 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
45401         * configure.in: Use AC_LANG_SOURCE.
45402         * configure: Regenerate.
45404 2012-06-22  Roland McGrath  <roland@hack.frob.com>
45406         * configure.in (libc_cv_localstatedir): New substituted variable.
45407         * configure: Regenerated.
45408         * config.make.in (localstatedir): New variable, substituted from
45409         libc_cv_localstatedir.
45410         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
45411         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
45412         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
45413         * sysdeps/gnu/configure: Regenerated.
45415 2012-06-21  Jeff Law  <law@redhat.com>
45417         [BZ #14277]
45418         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
45419         free.  Simplify list management for _LIBC case.
45421 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
45423         [BZ #14273]
45424         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
45425         Clear sign bit of 64-bit integer value before comparing against
45426         overflow value.
45428         * sysdeps/mach/configure: Regenerated.
45430 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
45432         [BZ #14278]
45433         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
45435 2012-06-21  Jeff Law  <law@redhat.com>
45437         [BZ #13882]
45438         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
45439         uint16_t for elements in the "seen" array to avoid char overflows.
45440         * elf/dl-fini.c (_dl_sort_fini): Likewise.
45441         * elf/dl-open.c (dl_open_worker): Likewise.
45443 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
45445         * scripts/list-sources.sh: Scan PORTS for translations.
45446         * po/libc.pot: Regenerated.
45448 2012-06-21  Andreas Jaeger  <aj@suse.de>
45450         [BZ #12194]
45451         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
45452         warning.
45453         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
45454         * bits/byteswap-16.h (__bswap_16): Likewise.
45455         * bits/byteswap.h (__bswap_constant_16): Likewise.
45457 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
45459         [BZ #14117]
45460         * sysdeps/i386/fpu_control.h: Removed.
45461         * sysdeps/x86_64/fpu_control.h: Moved to ...
45462         * sysdeps/x86/fpu_control.h: Here.
45464         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
45465         (_FPU_SETCW): Likewise.
45467 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
45469         [BZ #14117]
45470         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
45471         * sysdeps/x86/fpu/bits/mathinline.h: This.
45472         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
45474         [BZ #14050]
45475         [BZ #14117]
45476         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
45477         functions if __x86_64__ is defined.
45479 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
45481         * string/endian.h: Add !__ASSEMBLER__ condition for including
45482         conversion interfaces.
45484 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
45486         [BZ #14241]
45487         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
45488         of ABS(x) in calculating zero to negative powers other than odd
45489         integers.
45490         * math/libm-test.inc (pow_test): Add more tests.
45492 2012-06-15  Andreas Jaeger  <aj@suse.de>
45494         * manual/contrib.texi (Contributors): Update entry of Liubov
45495         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
45496         Machado Filho.
45498 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
45500         * string/string.h: Add __wur to GNU version of strerror_r.
45502 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
45504         [BZ #14229]
45505         * string/Makefile (tests): Add tst-strtok_r.
45506         * string/tst-strtok_r.c: New file.
45507         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
45508         RAX_LP/RDX_LP on SAVE_PTR.
45510 2012-06-14  Roland McGrath  <roland@hack.frob.com>
45512         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
45514 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
45516         * libm_test.inc (csqrt_test): Allow more spurious underflow
45517         exceptions.
45518         (j0_test): Likewise.
45519         (j1_test): Likewise.
45520         (y0_test): Likewise.
45521         (y1_test): Likewise.
45523 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
45525         * po/Makefile (libc.pot): Use UTF-8 charset.
45527 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
45529         [BZ #14210]
45530         Suppress sign-conversion warning from FD_SET.
45531         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
45532         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
45533         not unsigned long int.
45534         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
45536 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
45538         [BZ #14050]
45539         [BZ #14117]
45540         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
45541         __extern_always_inline instead of __extern_inline.
45542         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
45543         (__signbit): Likewise.
45544         (__signbitl): Support C++ namespace.
45545         (lrintf): New inline function.
45546         (lrint): Likewise.
45547         (llrintf): Likewise.
45548         (llrint): Likewise.
45549         (fmaxf): Likewise.
45550         (fmax): Likewise.
45551         (fminf): Likewise.
45552         (fmin): Likewise.
45553         (rint): Likewise.
45554         (rintf): Likewise.
45555         (ceil): Likewise.
45556         (ceilf): Likewise.
45557         (floor): Likewise.
45558         (floorf): Likewise.
45559         (nearbyint): Likewise.
45560         (nearbyintf): Likewise.
45562 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
45564         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
45565         non-default versions.
45567 2012-06-11  Roland McGrath  <roland@hack.frob.com>
45569         [BZ #14218]
45570         * manual/argp.texi (Argp): Reword argp_parse description slightly.
45572 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
45574         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
45575         (FE_UPWARD, FE_DOWNWARD): Don't define.
45576         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
45577         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
45579         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
45580         reading it.
45581         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
45582         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45584 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45586         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45587         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
45588         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
45589         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
45591 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
45593         [BZ #14117]
45594         * sysdeps/i386/fpu/bits/fenv.h: Removed.
45595         * sysdeps/i386/fpu/Implies: New file.
45596         * sysdeps/x86_64/fpu/Implies: Likewise.
45597         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
45598         * sysdeps/x86/fpu/bits/fenv.h: This.
45600         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
45601         __SSE_MATH__.
45603 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
45605         [BZ #14134]
45606         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
45607         character 0xffff that matches the last element of the
45608         conversion table.
45610 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45612         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
45613         fmodl commit.
45615 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45617         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
45618         values higher than 25.6283.
45620 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45622         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
45623         subnormal exponent extraction and add some __builtin_expect.
45624         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
45625         Fix for subnormal mantissa calculation.
45627 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
45629         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
45630         cpu2 is -1 and errno is not ENOSYS.
45632 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
45634         [BZ #14117]
45635         * sysdeps/i386/i486/bits/string.h: Renamed to ...
45636         * sysdeps/x86/bits/string.h: This.
45637         * sysdeps/x86_64/bits/string.h: Removed.
45639         * sysdeps/i386/i486/bits/string.h: Define inline functions only
45640         if not compiling for x86-64, but compiling for >= i486.
45642         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
45643         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
45645         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
45646         New macro from Linux kernel 3.4.0.
45647         (FP_XSTATE_MAGIC2): Likewise.
45648         (FP_XSTATE_MAGIC2_SIZE): Likewise.
45649         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
45650         (struct _fpx_sw_bytes): New struct.
45651         (struct _xsave_hdr): Likewise.
45652         (struct _ymmh_state): Likewise.
45653         (struct _xstate): Likewise.
45655         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
45656         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
45657         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
45658         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
45659         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
45660         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
45662         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
45663         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
45664         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
45665         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
45666         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
45667         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
45669 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45671         [BZ #13743]
45672         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
45673         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
45674         (sysdep_headers): Include sys/platform/ppc.h.
45675         * sysdeps/powerpc/test-gettimebase.c: Test for
45676         __ppc_get_timebase() to catch future ISA opcode/insn changes.
45677         * manual/Makefile (appendices): Include platform.texi.
45678         * manual/contrib.texi (Contributors): Update @node pointers.
45679         * manual/maint.texi (Maintenance): Likewise.
45680         (Platform): New node.
45681         * manual/platform.texi: New file.  Document the new features.
45683 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45684             Jakub Jelinek  <jakub@redhat.com>
45686         [BZ #14188]
45687         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
45688         where __builtin_expect is unavailable.
45690 2012-06-03  David S. Miller  <davem@davemloft.net>
45692         * stdlib/longlong.h: Updated from GCC.
45694 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
45696         [BZ #14042]
45697         * sysdeps/powerpc/powerpc32/mcount.c: New file.
45698         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
45699         __mcount_internal.
45700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
45701         (GLIBC_2.16): Likewise.
45703 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
45705         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
45707 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
45709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
45710         (default-abi): New variable.
45711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
45712         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
45713         variable.
45714         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
45715         Likewise.
45716         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
45717         Likewise.
45718         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
45719         Likewise.
45721         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
45722         definition.  Document in comment.
45724 2012-06-01  David S. Miller  <davem@davemloft.net>
45726         * stdlib/longlong.h: Updated from GCC.
45728 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
45730         [BZ #14117]
45731         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
45732         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
45733         sys/debugreg.h sys/io.h here.
45734         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
45735         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
45736         sys/io.h.
45737         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
45738         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
45739         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
45740         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
45741         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
45742         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
45744         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
45745         Define only if __x86_64__ is defined.
45747 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
45749         [BZ #14048]
45750         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
45751         Use int64_t for variable i.
45752         * math/libm-test.inc (fmod_test): Add more tests.
45754         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
45755         z computation is not scheduled after fetestexcept.
45756         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
45757         Use math_force_eval instead of asm to ensure calculation scheduled
45758         before exception test.
45759         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
45760         Ensure a1 + u.d computation is not scheduled after fetestexcept.
45762 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
45764         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
45765         computation is not scheduled after fetestexcept.
45767 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
45769         [BZ #14117]
45770         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
45771         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
45773 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45775         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
45776         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
45778 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
45780         [BZ #14117]
45781         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
45782         <bits/wordsize.h>.
45783         (__WCHAR_MIN): Support __WORDSIZE == 64.
45784         (__WCHAR_MAX): Likewise.
45786         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
45787         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
45789         [BZ #14183]
45790         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
45791         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
45793         [BZ #14117]
45794         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
45795         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
45797         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
45798         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
45800         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
45801         Defined to 1 if __x86_64__ isn't defined.
45802         (_STAT_VER_LINUX_OLD): New.
45803         (st_atime): Remove duplicate.
45804         (st_mtime): Likewise.
45805         (st_ctime): Likewise.
45807 2012-05-31  David S. Miller  <davem@davemloft.net>
45809         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
45810         entries.
45812 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
45814         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
45815         gen-libm-test.pl.
45817         [BZ #14132]
45818         * elf/dl-reloc.c: Include <_itoa.h>.
45819         (_dl_reloc_bad_type): Remove use of INTUSE.
45820         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
45821         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
45822         * stdio-common/psiginfo.c (psiginfo): Likewise.
45823         * stdio-common/psignal.c (psignal): Likewise.
45824         * string/strsignal.c (strsignal): Likewise.
45825         * include/signal.h (_sys_siglist): Declare hidden proto.
45826         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
45827         INTVARDEF with libc_hidden_data_def.
45828         * stdio-common/itoa-udigits.c: Likewise.
45829         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
45830         (_itoa_lower_digits_internal): Remove declaration.
45831         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
45832         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
45833         (_sys_sigabbrev_internal): Remove aliases.
45834         (_sys_siglist): Define hidden alias.
45836 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
45838         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45839         bits/sysctl.h.
45841 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
45843         [BZ #14117]
45844         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
45845         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
45847         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
45848         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
45849         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
45850         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
45851         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
45852         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
45854         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
45855         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
45856         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
45858         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
45859         with __addr.
45860         (insw): Likewise.
45861         (insl): Likewise.
45862         (outsb): Likewise.
45863         (outsw): Likewise.
45864         (outsl): Likewise.
45866         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
45867         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
45868         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
45870         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
45871         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
45872         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
45873         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
45874         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
45875         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
45877         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
45878         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
45880         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
45881         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
45883         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
45884         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
45885         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
45887         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
45888         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
45889         to ...
45890         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
45892         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
45893         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
45894         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
45896         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
45897         for x86-64.
45898         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
45900 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
45902         * math/math.h (M_El): Use two more decimal places.
45903         (M_LOG2El): Likewise.
45904         (M_LOG10El): Likewise.
45905         (M_LN2l): Likewise.
45906         (M_LN10l): Likewise.
45907         (M_PIl): Likewise.
45908         (M_PI_2l): Likewise.
45909         (M_PI_4l): Likewise.
45910         (M_1_PIl): Likewise.
45911         (M_2_PIl): Likewise.
45912         (M_2_SQRTPIl): Likewise.
45913         (M_SQRT2l): Likewise.
45914         (M_SQRT1_2l): Likewise.
45916 2012-05-31  David S. Miller  <davem@davemloft.net>
45918         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
45919         values between float registers.
45920         * sysdeps/sparc/sparc64/memset.S: Likewise.
45921         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45923 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
45925         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
45926         -D_FORTIFY_SOURCE=1.
45927         (CPPFLAGS-tst-longjmp_chk.c): Define.
45928         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
45929         (CPPFLAGS-tst-longjmp_chk2.c): Define.
45930         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
45931         CFLAGS-tst-wchar-h.c.
45933 2012-05-31  Marek Polacek  <polacek@redhat.com>
45935         [BZ #14132]
45936         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
45937         __endmntent_internal): Remove declaration.
45938         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
45939         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
45940         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
45942 2012-05-30  David S. Miller  <davem@davemloft.net>
45944         * sysdeps/sparc/sparc32/soft-fp/q_util.c
45945         (___Q_simulate_exceptions): Use real FP ops rather than writing
45946         into the %fsr.
45947         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
45948         Likewise.
45950 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
45952         [BZ #14117]
45953         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
45954         * sysdeps/x86/bits/xtitypes.h: This.
45956         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
45957         * sysdeps/x86/bits/wordsize.h: This.
45959         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
45960         * sysdeps/x86/bits/huge_vall.h: This.
45962         * sysdeps/i386/bits/select.h: Removed.
45963         * sysdeps/x86_64/bits/select.h: Renamed to ...
45964         * sysdeps/x86/bits/select.h: This.
45966         * sysdeps/i386/bits/setjmp.h: Removed.
45967         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
45968         * sysdeps/x86/bits/setjmp.h: This.
45970         * sysdeps/i386/bits/mathdef.h: Removed.
45971         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
45972         * sysdeps/x86/bits/mathdef.h: This.
45974 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
45976         [BZ #14132]
45977         * include/sys/socket.h (__connect_internal)
45978         (__libc_sa_len_internal): Remove declaration.
45979         (__connect, __libc_sa_len): Declare hidden_proto.
45980         (SA_LEN): Remove use of INTUSE.
45981         * socket/connect.c: Add libc_hidden_def.
45982         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
45983         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
45984         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
45985         alias.
45986         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
45987         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
45988         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
45989         of adding _internal alias.
45991 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
45993         [BZ #14117]
45994         * sysdeps/i386/bits/link.h: Removed.
45995         * sysdeps/i386/bits/linkmap.h: Likewise.
45996         * sysdeps/x86_64/bits/link.h: Renamed to ...
45997         * sysdeps/x86/bits/link.h: This.
45998         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
45999         * sysdeps/x86/bits/linkmap.h: This.
46001         * sysdeps/i386/bits/endian.h: Removed.
46002         * sysdeps/x86_64/bits/endian.h: Renamed to ...
46003         * sysdeps/x86/bits/endian.h: This.
46005         * sysdeps/i386/bits/byteswap.h: Removed.
46006         * sysdeps/i386/bits/byteswap-16.h: Likewise.
46007         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
46008         * sysdeps/x86/bits/byteswap.h: This.
46009         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
46010         * sysdeps/x86/bits/byteswap-16.h: This.
46011         * sysdeps/i386/Implies: Add x86.
46012         * sysdeps/x86_64/Implies: Likewise.
46014 2012-05-30  David S. Miller  <davem@davemloft.net>
46016         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
46017         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
46018         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
46019         (FP_TRAPPING_EXCEPTIONS): Define.
46020         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
46021         (FP_TRAPPING_EXCEPTIONS): Define.
46022         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
46023         subnormals only when inexact has been signalled or underflow
46024         exceptions are enabled.
46025         (_FP_PACK_CANONICAL): Likewise.
46027 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46029         [BZ #14183]
46030         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
46031         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
46033 2012-05-30  Richard Henderson  <rth@twiddle.net>
46035         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
46036         with #ifndef NOT_IN_libc.
46038         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
46039         marked to avoid plt entry.
46041 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46043         [BZ #14112]
46044         * Makeconfig (default-abi): New macro.
46045         (abi-includes): Likewise.
46046         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
46047         $(abi-$(default-abi)-lib-soname) for soname if defined.
46048         ($(common-objpfx)gnu/lib-names.stmp): Generate from
46049         abi-variants.
46050         * Makefile (installed-stubs): Likewise.
46051         * include/stubs-biarch.h: Removed.
46052         * scripts/lib-names.awk: Only handle one library at a time.
46053         * scripts/soversions.awk: Remove WORDSIZE support.
46054         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
46055         entries.
46056         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
46057         Removed.
46058         (syscall-list-default-condition): Likewise.
46059         (syscall-list-default-condition): Likewise.
46060         (syscall-list-includes): Likewise.
46061         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
46062         syscall-list-* with abi-*.  Handle undefined abi-variants.
46063         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
46064         * sysdeps/unix/sysv/linux/i386/Implies: New file.
46065         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
46066         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
46067         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
46068         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
46069         Removed.
46070         (syscall-list-32-options): Likewise.
46071         (syscall-list-32-condition): Likewise.
46072         (syscall-list-64-options): Likewise.
46073         (syscall-list-64-condition): Likewise.
46074         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
46075         macro.
46076         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
46077         Renamed to ...
46078         (abi-*): This.
46079         (abi-64-ld-soname): New macro.
46080         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
46081         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
46082         Renamed to ...
46083         (abi-*): This.
46084         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
46085         * sysdeps/x86_64/x32/shlib-versions: Likewise.
46087 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
46089         * sysdeps/unix/sysv/linux/kernel-features.h
46090         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
46091         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
46092         include <kernel-features.h>.
46093         [!__NR_ftruncate64]: Remove conditional code.
46094         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46095         [__NR_ftruncate64]: Make code unconditional.
46096         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46097         * sysdeps/unix/sysv/linux/truncate64.c: Do not
46098         include <kernel-features.h>.
46099         [!__NR_ftruncate64]: Remove conditional code.
46100         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46101         [__NR_ftruncate64]: Make code unconditional.
46102         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
46104         include <kernel-features.h>.
46105         [!__NR_ftruncate64]: Remove conditional code.
46106         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46107         [__NR_ftruncate64]: Make code unconditional.
46108         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
46110         include <kernel-features.h>.
46111         [!__NR_ftruncate64]: Remove conditional code.
46112         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46113         [__NR_ftruncate64]: Make code unconditional.
46114         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46116         * configure.in (libc_cv_fpie): Weaken to a compile test using
46117         LIBC_TRY_CC_OPTION.
46118         * configure: Regenerated.
46120 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46122         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
46123         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
46124         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
46125         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46126         Refreshed.
46127         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
46128         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
46129         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
46130         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
46131         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
46132         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46133         Refreshed.
46135 2012-05-27  David S. Miller  <davem@davemloft.net>
46137         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
46138         (___Q_zero): New.
46139         (__Q_simulate_exceptions): Return void.  Change to simulate
46140         exceptions by writing into the %fsr.
46141         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
46142         (__Qp_handle_exceptions): Likewise.
46143         (numbers): Delete.
46144         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
46145         __Qp_handle_exceptions.
46146         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
46147         __Qp_handle_exceptions.
46148         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
46149         as unused and give dummy FP_RND_NEAREST initializer.
46150         (FP_INHIBIT_RESULTS): Define.
46151         (___Q_simulate_exceptions): Update declaration.
46152         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
46153         formatting.
46154         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
46155         as unused and give dummy FP_RND_NEAREST initializer.
46156         (__Qp_handle_exceptions): Update declaration.
46157         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
46158         formatting.
46160 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
46162         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
46163         the temporary FPU control word.
46164         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
46165         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
46166         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
46167         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
46168         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
46169         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
46170         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
46171         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
46172         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
46173         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
46174         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46176 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46178         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
46179         fields.
46181 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
46183         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
46184         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
46185         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
46186         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
46187         Likewise.
46188         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
46189         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
46190         Likewise.
46192 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
46194         * po/h.po: Update from translation team.
46196 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
46198         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
46200         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
46201         handling of denormals.
46202         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46203         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
46204         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
46205         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
46206         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46207         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
46208         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
46209         Likewise.
46211 2012-05-26  Marek Polacek  <polacek@redhat.com>
46213         [BZ #14152]
46214         * math/libm-test.inc (fma_test): Don't always expect underflow
46215         exception.
46217 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46219         [BZ #12416]
46220         * elf/tst-execstack.c: Include stackinfo.h.
46221         (do_test): Adjust test case to ensure that pthread_getattr_np
46222         behaviour remains the same after marking stack executable.
46224 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
46226         * sysdeps/unix/sysv/linux/kernel-features.h
46227         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
46228         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
46229         kernel-features.h.
46230         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46231         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46232         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
46233         kernel-features.h.
46234         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46235         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46237 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
46239         * configure.in: Define the default includes to being none.
46240         * configure: Regenerated.
46242 2012-05-25  Roland McGrath  <roland@hack.frob.com>
46244         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
46245         * sysdeps/x86_64/setjmp.S: Likewise.
46246         * sysdeps/i386/bsd-setjmp.S: Likewise.
46247         * sysdeps/i386/bsd-_setjmp.S: Likewise.
46248         * sysdeps/i386/setjmp.S: Likewise.
46249         * sysdeps/i386/__longjmp.S: Likewise.
46250         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
46251         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
46253         * include/stap-probe.h: New file.
46254         * configure.in: Handle --enable-systemtap.
46255         * configure: Regenerated.
46256         * config.h.in (USE_STAP_PROBE): New #undef.
46257         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
46258         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
46259         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
46261 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
46263         [BZ #13717]
46264         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
46265         to 2.4.0 where earlier.
46266         * sysdeps/unix/sysv/linux/configure: Regenerated.
46267         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
46268         <kernel-features.h>.
46269         [__ASSUME_32BITUIDS]: Make code unconditional.
46270         [!__ASSUME_32BITUIDS]: Remove conditional code.
46271         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
46272         <kernel-features.h>.
46273         [__ASSUME_32BITUIDS]: Make code unconditional.
46274         [!__ASSUME_32BITUIDS]: Remove conditional code.
46275         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
46276         [__ASSUME_32BITUIDS]: Make code unconditional.
46277         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
46278         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
46279         <kernel-features.h>.
46280         [__ASSUME_32BITUIDS]: Make code unconditional.
46281         [!__ASSUME_32BITUIDS]: Remove conditional code.
46282         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
46283         <kernel-features.h>.
46284         [__ASSUME_32BITUIDS]: Make code unconditional.
46285         [!__ASSUME_32BITUIDS]: Remove conditional code.
46286         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
46287         <kernel-features.h>.
46288         [__ASSUME_32BITUIDS]: Make code unconditional.
46289         [!__ASSUME_32BITUIDS]: Remove conditional code.
46290         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
46291         <kernel-features.h>.
46292         [__ASSUME_32BITUIDS]: Make code unconditional.
46293         [!__ASSUME_32BITUIDS]: Remove conditional code.
46294         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
46295         <kernel-features.h>.
46296         [__ASSUME_32BITUIDS]: Make code unconditional.
46297         [!__ASSUME_32BITUIDS]: Remove conditional code.
46298         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
46299         <kernel-features.h>.
46300         [__ASSUME_32BITUIDS]: Make code unconditional.
46301         [!__ASSUME_32BITUIDS]: Remove conditional code.
46302         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
46303         <kernel-features.h>.
46304         [__ASSUME_32BITUIDS]: Make code unconditional.
46305         [!__ASSUME_32BITUIDS]: Remove conditional code.
46306         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
46307         <kernel-features.h>.
46308         [__ASSUME_32BITUIDS]: Make code unconditional.
46309         [!__ASSUME_32BITUIDS]: Remove conditional code.
46310         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
46311         <kernel-features.h>.
46312         [__ASSUME_32BITUIDS]: Make code unconditional.
46313         [!__ASSUME_32BITUIDS]: Remove conditional code.
46314         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
46315         <kernel-features.h>.
46316         [__ASSUME_32BITUIDS]: Make code unconditional.
46317         [!__ASSUME_32BITUIDS]: Remove conditional code.
46318         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
46319         <kernel-features.h>.
46320         [__NR_setresgid] (__setresgid): Do not declare.
46321         [__ASSUME_32BITUIDS]: Make code unconditional.
46322         [!__ASSUME_32BITUIDS]: Remove conditional code.
46323         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
46324         <kernel-features.h>.
46325         [__NR_setresuid] (__setresuid): Do not declare.
46326         [__ASSUME_32BITUIDS]: Make code unconditional.
46327         [!__ASSUME_32BITUIDS]: Remove conditional code.
46328         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
46329         <kernel-features.h>.
46330         [__ASSUME_32BITUIDS]: Make code unconditional.
46331         [!__ASSUME_32BITUIDS]: Remove conditional code.
46332         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
46333         <kernel-features.h>.
46334         [__ASSUME_32BITUIDS]: Make code unconditional.
46335         [!__ASSUME_32BITUIDS]: Remove conditional code.
46336         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
46337         <kernel-features.h>.
46338         [__ASSUME_32BITUIDS]: Make code unconditional.
46339         [!__ASSUME_32BITUIDS]: Remove conditional code.
46340         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
46341         <kernel-features.h>.
46342         [__ASSUME_32BITUIDS]: Make code unconditional.
46343         [!__ASSUME_32BITUIDS]: Remove conditional code.
46344         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
46345         <kernel-features.h>.
46346         [__ASSUME_32BITUIDS]: Make code unconditional.
46347         [!__ASSUME_32BITUIDS]: Remove conditional code.
46348         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
46349         <kernel-features.h>.
46350         [__ASSUME_32BITUIDS]: Make code unconditional.
46351         [!__ASSUME_32BITUIDS]: Remove conditional code.
46352         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
46353         <kernel-features.h>.
46354         [__ASSUME_32BITUIDS]: Make code unconditional.
46355         [!__ASSUME_32BITUIDS]: Remove conditional code.
46356         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
46357         <kernel-features.h>.
46358         [__ASSUME_32BITUIDS]: Make code unconditional.
46359         [!__ASSUME_32BITUIDS]: Remove conditional code.
46360         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
46361         <kernel-features.h>.
46362         [__ASSUME_32BITUIDS]: Make code unconditional.
46363         [!__ASSUME_32BITUIDS]: Remove conditional code.
46364         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
46365         <kernel-features.h>.
46366         [__ASSUME_32BITUIDS]: Make code unconditional.
46367         [!__ASSUME_32BITUIDS]: Remove conditional code.
46368         * sysdeps/unix/sysv/linux/kernel-features.h
46369         (__ASSUME_SETRESUID_SYSCALL): Remove.
46370         (__ASSUME_SETRESGID_SYSCALL): Likewise.
46371         (__ASSUME_32BITUIDS): Likewise.
46372         (__ASSUME_LDT_WORKS): Likewise.
46373         (__ASSUME_O_DIRECTORY): Likewise.
46374         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
46375         architecture but not kernel version.
46376         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
46377         (__ASSUME_MMAP2_SYSCALL): Likewise.
46378         (__ASSUME_STAT64_SYSCALL): Likewise.
46379         (__ASSUME_IPC64): Likewise.
46380         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
46381         <kernel-features.h>.
46382         [__ASSUME_32BITUIDS]: Make code unconditional.
46383         [!__ASSUME_32BITUIDS]: Remove conditional code.
46384         * sysdeps/unix/sysv/linux/opendir.c: Do not include
46385         <kernel-features.h>.
46386         [__ASSUME_O_DIRECTORY]: Make code unconditional.
46387         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
46388         132096]: Remove conditional code.
46389         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
46390         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
46391         <kernel-features.h>.
46392         [__ASSUME_32BITUIDS]: Make code unconditional.
46393         [!__ASSUME_32BITUIDS]: Remove conditional code.
46394         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
46395         <kernel-features.h>.
46396         [__ASSUME_32BITUIDS]: Make code unconditional.
46397         [!__ASSUME_32BITUIDS]: Remove conditional code.
46398         * sysdeps/unix/sysv/linux/setegid.c: Do not include
46399         <kernel-features.h>.
46400         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
46401         unconditional.
46402         (__setresgid): Do not declare.
46403         [__ASSUME_32BITUIDS]: Make code unconditional.
46404         [!__ASSUME_32BITUIDS]: Remove conditional code.
46405         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
46406         <kernel-features.h>.
46407         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
46408         unconditional.
46409         (__setresuid): Do not declare.
46410         [__ASSUME_32BITUIDS]: Make code unconditional.
46411         [!__ASSUME_32BITUIDS]: Remove conditional code.
46412         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
46413         <kernel-features.h>.
46414         [__ASSUME_32BITUIDS]: Make code unconditional.
46415         [!__ASSUME_32BITUIDS]: Remove conditional code.
46416         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
46417         <kernel-features.h>.
46418         [__ASSUME_32BITUIDS]: Make code unconditional.
46419         [!__ASSUME_32BITUIDS]: Remove conditional code.
46421 2012-05-25  Richard Henderson  <rth@twiddle.net>
46423         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
46424         dl_hwcap to ifunc resolver.
46425         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
46426         elf_ifunc_invoke.
46427         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
46428         dl_hwcap to ifunc resolver.
46429         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
46431 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
46433         [BZ #14153]
46434         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
46435         for |x| <= 2**-26, not 2**-57.
46436         * math/libm-test.inc (acos_test): Do not allow spurious underflow
46437         exception.
46439 2012-05-24  Jeff Law  <law@redhat.com>
46441         * stdio-common/Makefile (tests): Add bug25.
46442         * stdio-common/bug25.c: New test.
46444 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
46446         [BZ #13576]
46447         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
46448         multiple of MALLOC_ALIGNMENT in size.
46449         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
46451 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
46453         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
46454         Require >= 256.
46455         (FILENAME_MAX): Use macro-int-constant.
46456         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
46457         (_IOFBF): Use macro-int-constant.
46458         (_IOLBF): Likewise.
46459         (_IONBF): Likewise.
46460         (SEEK_CUR): Likewise.
46461         (SEEK_END): Likewise.
46462         (SEEK_SET): Likewise.
46463         (TMP_MAX): Likewise.
46464         (EOF): Use macro-int-constant.  Require < 0.
46465         (NULL): Use macro-constant.  Require == 0.
46466         (stdin): Require type to be FILE *.
46467         (stdout): Likewise.
46468         (stderr): Likewise.
46469         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
46470         macro-int-constant.
46471         (EXIT_SUCCESS): Likewise.
46472         (NULL): Use macro-constant.  Require == 0.
46473         (RAND_MAX): Use macro-int-constant.
46474         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
46475         [C99-based standards] (strtof): Require function.
46476         [C99-based standards] (strtold): Likewise.
46477         [C99-based standards] (strtoll): Likewise.
46478         [C99-based standards] (strtoull): Likewise.
46479         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
46480         [ISO || ISO99 || ISO11] (limits.h): Likewise.
46481         [ISO || ISO99 || ISO11] (math.h): Likewise.
46482         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
46483         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
46484         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46486 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
46488         [BZ #14132]
46489         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
46490         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
46491         * intl/dgettext.c (DCGETTEXT): Likewise.
46492         * intl/gettext.c (DCGETTEXT): Likewise.
46493         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
46494         * posix/regex_internal.h (gettext): Likewise.
46495         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
46496         Remove declaration.
46497         * include/argz.h (__argz_count_internal)
46498         (__argz_stringify_internal): Remove declaration.
46499         (__argz_count, __argz_stringify): Declare hidden proto.
46500         * intl/dcgettext.c: Remove use of INTDEF.
46501         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
46502         * string/argz-stringify.c: Likewise.
46503         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
46504         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
46505         Declare hidden proto.
46506         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
46507         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
46508         Declare hidden proto.
46509         * include/stdio.h (__asprintf_internal): Don't declare.
46510         (__asprintf): Don't define as macro.  Declare hidden proto.
46511         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
46512         (__fsetlocking): Declare hidden proto.
46513         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
46514         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
46515         hidden proto.
46516         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
46517         (_IO_setlinebuf): Remove use of INTUSE.
46518         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
46519         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
46520         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
46521         Remove declaration.
46522         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
46523         (_IO_do_flush): Remove use of INTUSE.
46524         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
46525         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
46526         (_IO_adjust_column, _IO_least_wmarker)
46527         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
46528         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
46529         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
46530         (_IO_default_doallocate, _IO_wdefault_doallocate)
46531         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
46532         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
46533         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
46534         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
46535         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
46536         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
46537         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
46538         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
46539         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
46540         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
46541         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
46542         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
46543         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
46544         proto.
46545         (_IO_flush_all_internal, _IO_adjust_column_internal)
46546         (_IO_default_uflow_internal, _IO_default_finish_internal)
46547         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
46548         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
46549         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
46550         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
46551         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
46552         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
46553         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
46554         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
46555         (_IO_file_close_internal, _IO_file_close_it_internal)
46556         (_IO_file_underflow_internal, _IO_file_overflow_internal)
46557         (_IO_file_init_internal, _IO_file_attach_internal)
46558         (_IO_file_fopen_internal, _IO_file_read_internal)
46559         (_IO_file_sync_internal, _IO_file_seek_internal)
46560         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
46561         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
46562         (_IO_str_underflow_internal, _IO_str_overflow_internal)
46563         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
46564         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
46565         (_IO_list_all_internal, _IO_link_in_internal)
46566         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
46567         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
46568         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
46569         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
46570         (_IO_do_write_internal, _IO_padn_internal)
46571         (_IO_getline_info_internal, _IO_getline_internal)
46572         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
46573         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
46574         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
46575         (_IO_vfscanf_internal, _IO_vfprintf_internal)
46576         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
46577         (_IO_init_internal, _IO_un_link_internal): Don't declare.
46578         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
46579         with libc_hidden_ver, remove use of INTUSE.
46580         * libio/genops.c: Likewise.
46581         * libio/freopen.c: Likewise.
46582         * libio/freopen64.c: Likewise.
46583         * libio/iofclose.c: Likewise.
46584         * libio/iofdopen.c: Likewise.
46585         * libio/iofflush.c: Likewise.
46586         * libio/iofflush_u.c: Likewise.
46587         * libio/iofgets.c: Likewise.
46588         * libio/iofgets_u.c: Likewise.
46589         * libio/iofopen.c: Likewise.
46590         * libio/iofopncook.c: Likewise.
46591         * libio/iofread.c: Likewise.
46592         * libio/iofread_u.c: Likewise.
46593         * libio/ioftell.c: Likewise.
46594         * libio/iofwrite.c: Likewise.
46595         * libio/iogetline.c: Likewise.
46596         * libio/iogets.c: Likewise.
46597         * libio/iogetwline.c: Likewise.
46598         * libio/iopadn.c: Likewise.
46599         * libio/iopopen.c: Likewise.
46600         * libio/ioseekoff.c: Likewise.
46601         * libio/ioseekpos.c: Likewise.
46602         * libio/iosetbuffer.c: Likewise.
46603         * libio/iosetvbuf.c: Likewise.
46604         * libio/ioungetc.c: Likewise.
46605         * libio/ioungetwc.c: Likewise.
46606         * libio/iovdprintf.c: Likewise.
46607         * libio/iovsprintf.c: Likewise.
46608         * libio/iovsscanf.c: Likewise.
46609         * libio/memstream.c: Likewise.
46610         * libio/obprintf.c: Likewise.
46611         * libio/oldfileops.c: Likewise.
46612         * libio/oldiofclose.c: Likewise.
46613         * libio/oldiofdopen.c: Likewise.
46614         * libio/oldiofopen.c: Likewise.
46615         * libio/oldiopopen.c: Likewise.
46616         * libio/oldstdfiles.c: Likewise.
46617         * libio/putc.c: Likewise.
46618         * libio/setbuf.c: Likewise.
46619         * libio/setlinebuf.c: Likewise.
46620         * libio/stdfiles.c: Likewise.
46621         * libio/strops.c: Likewise.
46622         * libio/vasprintf.c: Likewise.
46623         * libio/vscanf.c: Likewise.
46624         * libio/vsnprintf.c: Likewise.
46625         * libio/vswprintf.c: Likewise.
46626         * libio/wfiledoalloc.c: Likewise.
46627         * libio/wfileops.c: Likewise.
46628         * libio/wgenops.c: Likewise.
46629         * libio/wmemstream.c: Likewise.
46630         * libio/wstrops.c: Likewise.
46631         * libio/__fpurge.c: Likewise.
46632         * libio/__fsetlocking.c: Likewise.
46633         * assert/assert.c: Likewise.
46634         * debug/fgets_chk.c: Likewise.
46635         * debug/fgets_u_chk.c: Likewise.
46636         * debug/fread_chk.c: Likewise.
46637         * debug/fread_u_chk.c: Likewise.
46638         * debug/gets_chk.c: Likewise.
46639         * debug/obprintf_chk.c: Likewise.
46640         * debug/vasprintf_chk.c: Likewise.
46641         * debug/vdprintf_chk.c: Likewise.
46642         * debug/vsnprintf_chk.c: Likewise.
46643         * debug/vsprintf_chk.c: Likewise.
46644         * malloc/mtrace.c: Likewise.
46645         * misc/error.c: Likewise.
46646         * misc/syslog.c: Likewise.
46647         * stdio-common/asprintf.c: Likewise.
46648         * stdio-common/fxprintf.c: Likewise.
46649         * stdio-common/getw.c: Likewise.
46650         * stdio-common/isoc99_fscanf.c: Likewise.
46651         * stdio-common/isoc99_scanf.c: Likewise.
46652         * stdio-common/isoc99_vfscanf.c: Likewise.
46653         * stdio-common/isoc99_vscanf.c: Likewise.
46654         * stdio-common/isoc99_vsscanf.c: Likewise.
46655         * stdio-common/printf-prs.c: Likewise.
46656         * stdio-common/printf_fp.c: Likewise.
46657         * stdio-common/printf_fphex.c: Likewise.
46658         * stdio-common/printf_size.c: Likewise.
46659         * stdio-common/putw.c: Likewise.
46660         * stdio-common/scanf.c: Likewise.
46661         * stdio-common/sprintf.c: Likewise.
46662         * stdio-common/tmpfile.c: Likewise.
46663         * stdio-common/vfprintf.c: Likewise.
46664         * stdio-common/vfscanf.c: Likewise.
46665         * stdlib/strfmon_l.c: Likewise.
46666         * sunrpc/openchild.c: Likewise.
46667         * sunrpc/xdr_stdio.c: Likewise.
46668         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
46669         * sysdeps/mach/hurd/tmpfile.c: Likewise.
46671 2012-05-24  Roland McGrath  <roland@hack.frob.com>
46673         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
46675         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
46676         in the third column, to generate for the shared library an IFUNC
46677         that uses _dl_vdso_vsym.
46678         * Makerules (COMPILE.c, compile-stdin.c): New variables.
46679         * Makeconfig (object-suffixes-noshared): New variable.
46681         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
46682         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
46683         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
46684         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
46686         [BZ #14132]
46687         * include/sys/time.h (__gettimeofday): Remove macro.
46688         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
46689         * time/gettimeofday.c (__gettimeofday): Remove #undef.
46690         Remove INTDEF.
46691         (__gettimeofday): Add libc_hidden_def.
46692         (gettimeofday): Add libc_hidden_weak.
46693         * sysdeps/mach/gettimeofday.c: Likewise.
46694         * sysdeps/posix/gettimeofday.c: Likewise.
46695         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
46696         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
46697         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
46698         (__gettimeofday_internal): Remove strong_alias.
46699         (__gettimeofday): Add libc_hidden_def.
46700         (gettimeofday): Add libc_hidden_weak.
46701         * sysdeps/unix/syscalls.list (gettimeofday):
46702         Remove __gettimeofday_internal alias.
46704 2012-05-24  Daniel Jacobowitz  <drow@false.org>
46705             H.J. Lu  <hongjiu.lu@intel.com>
46707         [BZ #12495]
46708         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
46709         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
46710         (largebin_index_32_big): New.
46711         (largebin_index): Use it for 16-byte alignment.
46712         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
46713         correction with front_misalign.
46715 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
46717         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
46718         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
46719         Likewise.
46720         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
46721         Likewise.
46722         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
46723         Likewise.
46724         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
46725         Likewise.
46726         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
46727         Likewise.
46728         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
46729         Likewise.
46730         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
46731         Likewise.
46732         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
46733         Likewise.
46734         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
46735         Likewise.
46736         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
46737         Likewise.
46738         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
46739         Likewise.
46740         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
46741         Likewise.
46743         * scripts/data/c++-types-x32-linux-gnu.data: New file.
46744         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
46746 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
46748         [BZ #10846]
46749         [BZ #14036]
46750         * math/libm-test.inc (exp_test): Add test from bug 14036.
46751         (pow_test): Add test from bug 10846.
46753         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
46754         and other flags.
46755         (special_function): Do not include flags in test name.
46756         (parse_args): Likewise.
46757         * sysdeps/i386/fpu/libm-test-ulps: Update.
46758         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46759         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
46760         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
46761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46763         * math/gen-libm-test.pl (%beautify): Add entries for underflow
46764         exceptions.
46765         * math/libm-test.inc ("Philosophy"): Update comment about
46766         exception testing.
46767         (UNDERFLOW_EXCEPTION): New macro.
46768         (UNDERFLOW_EXCEPTION_OK): Likewise.
46769         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
46770         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
46771         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
46772         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
46773         (INVALID_EXCEPTION_OK): Update value.
46774         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46775         (OVERFLOW_EXCEPTION_OK): Likewise.
46776         (IGNORE_ZERO_INF_SIGN): Likewise.
46777         (test_exceptions): Handle underflow exceptions.
46778         (acos_test): Update for underflow exception expectations.
46779         (cexp_test): Likewise.
46780         (clog_test): Likewise.
46781         (clog10_test): Likewise.
46782         (csqrt_test): Likewise.
46783         (ctan_test): Likewise.
46784         (ctanh_test): Likewise.
46785         (exp_test): Likewise.
46786         (exp10_test): Likewise.
46787         (exp2_test): Likewise.
46788         (expm1_test): Likewise.
46789         (fma_test): Likewise.
46790         (j0_test): Likewise.
46791         (jn_test): Likewise.
46792         (nexttoward_test): Likewise.
46793         (pow_test): Likewise.
46794         (scalbn_test): Likewise.
46795         (scalbln_test): Likewise.
46796         (tan_test): Likewise.
46797         (y1_test): Likewise.
46798         * sysdeps/i386/fpu/libm-test-ulps: Update.
46799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46801 2012-05-23  David S. Miller  <davem@davemloft.net>
46803         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
46804         (__libc_sigaction): Remove unused local variables.
46806 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
46808         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
46810 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
46812         mktime: avoid signed integer overflow
46813         * time/mktime.c (__mktime_internal): Do not mishandle the case
46814         where diff == INT_MIN.
46816         mktime: simplify computation of average
46817         * time/mktime.c (ranged_convert): Use new time_t_avg function
46818         instead of rolling our own (probably-slower) code.
46820         mktime: do not assume signed right shift propagates sign bit
46821         * time/mktime.c (isdst_differ): New static function.
46822         (__mktime_internal): No need to normalize tm_isdst now.
46823         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
46824         tm_isdst values.
46826         mktime: merge another wrapv change from gnulib
46827         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
46828         from some compilers.
46830         mktime: remove incorrect attempt at unusual arithmetics
46831         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
46832         The code didn't really work on such machines anyway.
46833         (TYPE_MINIMUM): Assume two's complement.
46834         (twos_complement_arithmetic): Verify that long_int and time_t
46835         are two's complement (or unsigned, in the latter case).
46837         mktime: check signed shifts on long_int and time_t, too
46838         * time/mktime.c (SHR): Check that shifts work as desired
46839         on the types long_int and time_t too, as SHR is used on
46840         such types.
46842         mktime: do not assume 'long' is wide enough
46843         * time/mktime.c (verify): Move decl up.
46844         (long_int): New type.
46845         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
46846         to remove assumption in the code that 'long' is wide enough to
46847         store year values.  This assumption is not true on x32 and on
46848         some non-glibc platforms.
46850         mktime: merge wrapv change from gnulib
46851         * time/mktime.c (WRAPV): New macro.
46852         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
46853         (guess_time_tm, __mktime_internal): Do not assume that signed
46854         integer overflow wraps around; modern compilers generate code
46855         where this assumption is no longer valid.
46857 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
46859         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
46860         Replace "jmp L(pseudo_end)" with "ret".
46861         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
46862         Likewise.
46864 2012-05-23  Andreas Jaeger  <aj@suse.de>
46866         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
46867         * sysdeps/unix/sysv/linux/poll.c: Remove file.
46869 2012-05-23  Andreas Jaeger  <aj@suse.de>
46870             Maximilian Attems  <max@stro.at>
46872         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
46873         New macros.
46875 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
46877         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
46878         code so that pseudo_end is just ret and the stack pointer is
46879         correct also for static library in error case.
46881 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
46883         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
46884         move to syscalls.list.
46885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
46886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
46887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
46888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
46890         * manual/install.texi (Running make install): Do not mention Linux
46891         kernel version for which pt_chown is not needed.
46892         (Linux): Do not mention problems with nscd with 2.0 kernels.
46893         * INSTALL: Regenerated.
46895 2012-05-23  Andreas Jaeger  <aj@suse.de>
46897         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
46898         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
46899         macro.
46900         * sysdeps/unix/sysv/linux/s390/bits/mman.h
46901         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46902         * sysdeps/unix/sysv/linux/sh/bits/mman.h
46903         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46904         * sysdeps/unix/sysv/linux/i386/bits/mman.h
46905         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46906         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
46907         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46908         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
46909         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46910         * sysdeps/unix/sysv/linux/bits/in.h
46911         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
46913 2012-05-22  Roland McGrath  <roland@hack.frob.com>
46915         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
46916         (PREPARE_VERSION): Just use assert instead, it will be elided
46917         under [NDEBUG] anyway.
46919 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
46921         * sysdeps/unix/sysv/linux/Makefile: Include
46922         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
46923         (sysdep_routines): Remove sysctl.
46924         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
46925         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
46926         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
46927         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
46928         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
46930 2012-05-22  Andreas Jaeger  <aj@suse.de>
46932         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
46933         that pseudo_end is just ret and the stack pointer is correct also
46934         for static library in error case.
46936 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
46938         [BZ #14122]
46939         * nss/nsswitch.c (defconfig_entries): New variable.
46940         (__nss_database_lookup): Don't leak defconfig entries.
46941         (nss_parse_service_list): Don't leak on error paths.
46942         (free_database_entries): New function.
46943         (free_defconfig): New function.
46944         (free_mem): Move common code to free_database_entries.
46946 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
46948         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
46949         Add arch_prctl.
46950         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
46952         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
46953         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
46954         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
46955         New macro.
46956         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
46957         (INTERNAL_SYSCALL_TYPES): Likewise.
46958         (LOAD_ARGS_TYPES_[1-6]): Likewise.
46959         (LOAD_REGS_TYPES_[1-6]): Likewise.
46960         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
46961         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
46963 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46965         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
46966         copysignl for GLIBC_2_0.
46967         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
46968         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
46969         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
46970         logbl for GLIBC_2_0.
46971         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
46972         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
46974 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
46976         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
46977         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
46979         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
46980         Use "neg %eax".
46982         * time/mktime.c: Update copyright years.
46984 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
46986         mktime: merge comment-quoting-style change from gnulib
46987         * time/mktime.c: Quote 'like this' in comments.
46988         The GNU coding standards suggest that we no longer quote `like this',
46989         as "`" and "'" are typically rendered asymmetrically nowadays.
46990         The typical gnulib style is to quote 'like this' when quoting
46991         code, and "like this" when quoting English.
46993         * time/mktime.c (compile-command): Add "-I.".
46995         mktime: merge mktime-internal.h change from gnulib
46996         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
46998         mktime: merge time_r change from gnulib
46999         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
47001         mktime: merge DEBUG change from gnulib
47002         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
47003         case system <time.h> has a #define.
47005         mktime: merge <sys/types.h> change from gnulib
47006         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
47007         since <time.t> is now guaranteed to define time_t.
47009         mktime: merge HAVE_CONFIG_H change from gnulib
47010         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
47012 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47014         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
47015         Use "neg %eax".
47017         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
47018         __rlim_t cast.
47019         (struct rusage): Use anonymous union to pad each field to
47020         __syscall_slong_t.
47022 2012-05-21  David S. Miller  <davem@davemloft.net>
47024         * Makefules (o-iterator): Remove .s cases.
47025         (compile-command.s): Delete.
47026         (COMPILE.s): Delete.
47027         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
47029 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
47031         * configure.in (libc_cv_predef_stack_protector): Only consider
47032         "foobar" and "__stack_chk_fail" lines in libc_undefs.
47033         * configure: Regenerated.
47035 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
47037         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
47038         New macro.  Use R*LP on int and pointer.
47039         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
47040         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
47041         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
47042         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
47044         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
47045         [__WORDSIZE_TIME64_COMPAT32] instead of
47046         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
47047         (struct utmp): Likewise.
47048         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
47049         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
47050         Renamed to ...
47051         (__WORDSIZE_TIME64_COMPAT32): This.
47052         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
47053         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
47054         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
47055         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
47056         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
47057         (__WORDSIZE_TIME64_COMPAT32): New macro.
47059 2012-05-21  Andreas Jaeger  <aj@suse.de>
47061         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
47062         only if [SHARED]. Add prototype for __wcschr_ia32.
47064 2012-05-21  Roland McGrath  <roland@hack.frob.com>
47066         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
47067         of %rbp unmolested in the jmp_buf while mangling the low bits.
47068         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
47069         unmolested high bits of %rbp while demangling the low bits.
47070         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
47072 2012-05-21  Andreas Jaeger  <aj@suse.de>
47074         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
47075         * sunrpc/svc_simple.c: Use it for registerrpc.
47076         * sunrpc/xcrypt.c: Use it for passwd2des.
47078         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
47080 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
47082         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
47083         Don't define if [__SYSCALL_WORDSIZE != 32].
47084         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
47085         New macro.
47087 2012-05-21  Bruno Haible  <bruno@clisp.org>
47088             Andreas Jaeger  <aj@suse.de>
47090         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
47091         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
47092         inptr and inend for must_buffer_ch.
47093         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
47094         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
47095         * stdio-common/Makefile (tests): Remove bug15.
47096         (bug15-ENV): Remove macro.
47097         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
47098         anymore.
47100 2012-05-19  Andreas Jaeger  <aj@suse.de>
47101             Roland McGrath  <roland@hack.frob.com>
47103         * manual/contrib.texi: Completely rewritten. It contains now an
47104         alphabetical list of contributors and their contributions.
47106 2012-05-21  Richard Henderson  <rth@twiddle.net>
47108         * misc/getauxval.c (__getauxval): Use unsigned long int.
47109         * misc/sys/auxv.h: Include <sys/cdefs.h>.
47110         (getauxval): Use unsigned long int.
47112 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
47114         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
47116 2012-05-21  Roland McGrath  <roland@hack.frob.com>
47118         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
47119         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
47120         __alignof__ (long double).
47122 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47124         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47126 2012-05-20  Richard Henderson  <rth@twiddle.net>
47128         * misc/getauxval.c: New file.
47129         * misc/sys/auxv.h: New file.
47130         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
47131         (routines): Add getauxval.
47132         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
47133         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
47134         * elf/dl-sysdep.c (_dl_auxv): Remove.
47135         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
47136         * elf/dl-support.c (_dl_auxv): New variable.
47137         (_dl_aux_init): Initialize it.
47138         * manual/startup.texi (Auxiliary Vector): New node.
47139         * sysdeps/generic/bits/hwcap.h: New file.
47140         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
47141         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
47142         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
47143         * sysdeps/sparc/sysdep.h: ... here.  Include it.
47144         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
47145         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
47146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47147         Update.
47148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
47149         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
47150         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
47151         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
47152         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
47153         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
47154         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
47155         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
47157 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47159         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47161 2012-05-19  David S. Miller  <davem@davemloft.net>
47163         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47165 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
47167         [BZ #14123]
47168         * math/s_ccosh.c: Include <float.h>
47169         (__ccosh): Avoid internal overflow calculating sinh and cosh
47170         values before multiplying by sin and cos values.
47171         * math/s_ccoshf.c: Likewise.
47172         * math/s_ccoshl.c: Likewise.
47173         * math/s_csin.c: Likewise.
47174         * math/s_csinf.c: Likewise.
47175         * math/s_csinl.c: Likewise.
47176         * math/s_csinh.c: Likewise.
47177         * math/s_csinhf.c: Likewise.
47178         * math/s_csinhl.c: Likewise.
47179         * math/libm-test.inc (ccos_test): Add more tests.
47180         (ccosh_test): Likewise.
47181         (csin_test): Likewise.
47182         (csinh_test): Likewise.
47183         * sysdeps/i386/fpu/libm-test-ulps: Update.
47184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47186 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
47188         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
47189         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
47191         * sysdeps/x86_64/x32/_itoa.h: Add comment.
47193 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
47195         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
47196         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
47197         * sysdeps/powerpc/soft-fp/Versions: Likewise.
47198         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
47199         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
47200         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
47201         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
47202         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
47203         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
47204         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
47205         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
47206         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
47207         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
47208         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
47209         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
47210         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
47211         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
47212         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
47213         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
47214         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
47215         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
47216         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
47217         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
47218         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
47219         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
47220         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
47221         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
47222         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
47223         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
47224         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
47225         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
47227 2012-05-18  Andreas Jaeger  <aj@suse.de>
47229         * csu/.gitignore: Delete.
47231 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
47233         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
47234         (timex): Use __syscall_slong_t.
47236 2012-05-18  Andreas Jaeger  <aj@suse.de>
47237             Carlos O'Donell  <carlos_odonell@mentor.com>
47239         * manual/install.texi (Configuring and compiling): Update
47240         description about files modified in the source directory.
47241         * INSTALL: Regenerated.
47243 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
47245         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
47246         value.  Use "or" to set return value to -1.
47247         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
47248         negate return value.
47250 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47252         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
47253         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
47254         failure if the compiler has Graphite support disabled.
47255         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
47256         Likewise.
47257         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
47258         (CFLAGS-memmove.c): Likewise.
47259         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
47260         Likewise.
47262 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
47264         * sysdeps/x86_64/x32/_itoa.h: New file.
47266         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
47267         getdents system call only if kernel and user dirents have the
47268         same d_ino and d_off.
47270         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47271         LLONG_MAX != LONG_MAX.
47272         (_itoa_word): Use _ITOA_WORD_TYPE on value.
47273         (_fitoa_word): Likewise.
47275         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
47276         years.
47277         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
47278         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
47279         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
47281         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
47282         include <bits/wordsize.h>.  Check __x86_64__ instead of
47283         __WORDSIZE.
47284         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
47285         if __x86_64__ is defined.  Use anonymous union on fpstate.
47287         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
47288         anonymous union.
47290 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
47292         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
47293         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
47294         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
47295         Refer to _rtld_local_ro instead of _rtld_global_ro.
47296         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
47297         Likewise.
47298         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
47299         Likewise.
47300         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
47301         Likewise.
47302         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
47303         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
47304         of _rtld_global, and rtld_progname instead of _dl_argv[0].
47306         * sysdeps/powerpc/powerpc32/dl-machine.c
47307         (__elf_machine_runtime_setup) [PROF]: Don't reference
47308         _dl_prof_resolve.
47310 2012-05-18  Andreas Jaeger  <aj@suse.de>
47312         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
47313         function only available for GCCs before 3.4 since GCC 3.4
47314         introduced a builtin.
47315         (lrint): Likewise.
47316         (llrintf): Likewise.
47317         (llrint): Likewise.
47318         (fmaxf): Likewise.
47319         (fmax): Likewise.
47320         (fminf): Likewise.
47321         (fmin): Likewise.
47322         (rint): Likewise.
47323         (rintf): Likewise.
47324         (nearbyint): Likewise.
47325         (nearbyintf): Likewise.
47326         (ceil): Likewise.
47327         (ceilf): Likewise.
47328         (floor): Likewise.
47329         (floorf): Likewise.
47331 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47333         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
47334         on both fields and cast pointer to __syscall_ulong_t.
47336         * bits/types.h (__fsword_t): New type.
47337         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
47338         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
47339         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47340         (__FSWORD_T_TYPE): Likewise.
47341         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47342         (__FSWORD_T_TYPE): Likewise.
47343         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47344         (__FSWORD_T_TYPE): Likewise.
47345         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
47346         (__FSWORD_T_TYPE): Likewise.
47347         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
47348         __SWORD_TYPE with __fsword_t.
47349         (statfs64): Likewise.
47351 2012-05-17  David S. Miller  <davem@davemloft.net>
47353         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
47355 2012-05-17  Andreas Jaeger  <aj@suse.de>
47357         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
47358         warning.
47360 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47362         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
47364 2012-05-17  Andreas Jaeger  <aj@suse.de>
47366         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
47367         when it is used.
47369 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
47371         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
47373 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47375         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
47376         * sysdeps/x86_64/tst-mallocalign1.c: New file.
47378 2012-05-17  Andreas Jaeger  <aj@suse.de>
47379             Carlos O'Donell  <carlos_odonell@mentor.com>
47381         [BZ #14059]
47382         * sysdeps/x86_64/multiarch/init-arch.h
47383         (bit_YMM_Usable): Rename to...
47384         (bit_AVX_Usable): ... this.
47385         (bit_FMA4_Usable): New macro.
47386         (bit_XMM_state): New macro.
47387         (bit_YMM_state): New macro.
47388         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
47389         [__ASSEMBLER__] (index_AVX_Usable): ... this.
47390         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
47391         (CPUID_OSXSAVE): New macro.
47392         (CPUID_AVX): New macro.
47393         (CPUID_FMA4): New macro.
47394         (index_YMM_Usable): Rename to...
47395         (index_AVX_Usable): ... this.
47396         (HAS_AVX): Use HAS_ARCH_FEATURE.
47397         (HAS_FMA4): Likewise.
47398         (HAS_YMM_USABLE): Remove.
47399         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47400         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
47401         are present.
47402         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
47403         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
47404         * sysdeps/x86_64/multiarch/Makefile: Likewise.
47405         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
47406         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
47408 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
47410         * math/libm-test.c: Support platforms without multiple rounding modes.
47411         * math/bug-nextafter.c: Support platforms without FP exceptions.
47412         * math/bug-nexttoward.c: Likewise.
47413         * math/test-fenv.c: Likewise.
47414         * math/test-misc.c: Likewise.
47415         * stdlib/bug-getcontext.c: Likewise.
47417 2012-05-17  Andreas Jaeger  <aj@suse.de>
47419         * manual/examples/search.c (critter_cmp): Change signature to
47420         avoid warnings.
47421         * manual/string.texi (Collation Functions): Likewise.
47423 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47425         * bits/types.h: Fold copyright years.
47426         * bits/typesizes.h: Likewise.
47427         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
47428         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
47429         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
47430         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
47431         * time/time.h: Likewise.
47433 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
47435         [BZ #208]
47436         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
47437         in instead of returning them.  Return void.
47438         (__libc_mallinfo): Accumulate over all arenas.
47439         (__malloc_stats): Adjust for change in int_mallinfo interface.
47441 2012-05-16  Roland McGrath  <roland@hack.frob.com>
47443         [BZ #10375]
47444         * configure.in (NM): Add AC_CHECK_TOOL for it.
47445         (libc_extra_cflags): New substituted variable.
47446         Check for -fstack-protector being used implicitly.
47447         * configure: Regenerated.
47448         * config.make.in (config-extra-cflags): New variable,
47449         gets @libc_extra_cflags@.
47450         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
47452         [BZ #10375]
47453         * configure.in: Check for _FORTIFY_SOURCE being predefined.
47454         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
47455         * configure: Regenerated.
47456         * config.make.in (CPPUNDEFS): New substituted variable.
47457         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
47458         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
47459         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
47461 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47463         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
47464         (mq_attr): Use __syscall_slong_t.
47466 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47468         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
47469         Check __x86_64__ instead of __WORDSIZE.
47470         (_STAT_VER_LINUX): Likewise.
47471         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
47472         __syscall_ulong_t and __syscall_slong_t.
47473         (stat64): Likewise.
47475 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47477         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
47479 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47481         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
47483 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47485         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
47486         __syscall_ulong_t.
47488         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
47489         include <bits/wordsize.h>.  Check __x86_64__ instead of
47490         __WORDSIZE.
47491         (greg_t): Use "__extension__ long long int" if __x86_64__ is
47492         defined.
47493         (mcontext_t): Replace "unsigned long" with "unsigned long long".
47495         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
47496         include <bits/wordsize.h>.  Check __x86_64__ instead of
47497         __WORDSIZE.
47498         (user_regs_struct): Use "__extension__ unsigned long long"
47499         instead of "unsigned long" if __x86_64__ is defined.
47500         (user): Likewise.  Pad after pointer field if __ILP32__ is
47501         defined.
47503 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
47505         * configure.in (makeinfo): Require version 4.5 or later.  Allow
47506         versions 5 to 9.
47507         * configure: Regenerated.
47508         * manual/install.texi (texinfo): Increase version requirement to
47509         4.5 or later.
47510         * INSTALL: Regenerated.
47512         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
47514 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47516         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
47518         * sysdeps/x86_64/x32/ffs.c: New file.
47520         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
47521         __syscall_ulong_t.
47522         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
47523         defined.  Use __syscall_ulong_t.
47524         (shminfo): Use __syscall_ulong_t.
47525         (shm_info): Likewise.
47527         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
47528         __syscall_ulong_t.
47530         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
47531         <bits/wordsize.h>.
47532         (msgqnum_t): Use __syscall_ulong_t.
47533         (msglen_t): Likewise.
47534         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
47535         __syscall_ulong_t.
47537         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
47538         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
47540         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
47542         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
47543         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
47545         * sysvipc/sys/msg.h (msgbuf): Replace long int with
47546         __syscall_slong_t.
47548         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
47549         include <bits/wordsize.h>.  Check __x86_64__ instead of
47550         __WORDSIZE.
47552         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
47553         "unsigned long long int" if __x86_64__ is defined.
47554         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
47556         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
47557         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
47558         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
47560         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
47561         <stdint.h>.
47562         (GET_PC): Cast to uintptr_t first.
47563         (GET_FRAME): Likewise.
47564         (GET_STACK): Likewise.
47566         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
47567         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
47568         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
47569         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
47570         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
47571         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
47572         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
47573         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
47574         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
47575         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
47576         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
47577         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
47578         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
47579         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
47580         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
47581         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
47582         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
47583         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
47584         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
47585         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
47586         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
47587         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
47588         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
47589         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
47590         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
47591         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
47592         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
47593         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
47594         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
47596 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
47598         * Makerules (+depfiles): Also collect depfiles from .oS in
47599         $(extra-objs).
47600         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
47601         .oS, $(libnldbl-routines)).
47603         * Makerules (native-compile-mkdep-flags): Define.
47604         * sunrpc/Makefile (extra-objs): Add $(addprefix
47605         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
47606         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
47607         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
47608         calling $(make-target-directory).
47610 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47612         * bits/types.h (__snseconds_t): Removed.
47613         * time/time.h (struct timespec): Replace __snseconds_t with
47614         __syscall_slong_t.
47615         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
47616         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
47617         Likewise.
47618         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47619         (__SNSECONDS_T_TYPE): Likewise.
47620         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47621         (__SNSECONDS_T_TYPE): Likewise.
47622         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47623         (__SNSECONDS_T_TYPE): Likewise.
47625 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47627         * sysdeps/mach/hurd/bits/typesizes.h
47628         (__SYSCALL_SLONG_TYPE): New macro.
47629         (__SYSCALL_ULONG_TYPE): Likewise.
47631 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47633         * bits/types.h (__syscall_slong_t): New type.
47634         (__syscall_ulong_t): Likewise.
47636         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
47637         (__SYSCALL_ULONG_TYPE): Likewise.
47638         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47639         (__SYSCALL_SLONG_TYPE): Likewise.
47640         (__SYSCALL_ULONG_TYPE): Likewise.
47641         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47642         (__SYSCALL_SLONG_TYPE): Likewise.
47643         (__SYSCALL_ULONG_TYPE): Likewise.
47644         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47645         (__SYSCALL_SLONG_TYPE): Likewise.
47646         (__SYSCALL_ULONG_TYPE): Likewise.
47648 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47650         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
47651         Add sigaltstack-offsets.sym.
47652         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
47653         <sigaltstack-offsets.h>.
47654         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
47655         longjmp_msg pointer.
47656         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
47657         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
47658         signal stack.
47659         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
47661 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
47663         * elf/stackguard-macros.h: Remove file.
47664         * sysdeps/generic/stackguard-macros.h: New file.
47665         * sysdeps/i386/stackguard-macros.h: Likewise.
47666         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
47667         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
47668         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
47669         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
47670         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
47671         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
47672         * sysdeps/x86_64/stackguard-macros.h: Likewise.
47673         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
47674         <elf/stackguard-macros.h>.
47676         [BZ #14109]
47677         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
47678         __aligned__ in attribute.
47679         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
47680         (gregset_t): Likewise.
47682 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47684         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
47685         * sysdeps/x86_64/64/Implies-after: Here.  New file.
47686         * sysdeps/x86_64/x32/Implies-after: New file.
47688 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47690         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
47691         and access return value for _dl_profile_fixup.  Use R10_LP to
47692         load frame size.
47694 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47696         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
47698 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47700         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
47701         * sysdeps/x86_64/x32/sysdep.h: New file.
47703 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47705         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
47706         * sysdeps/x86_64/setjmp.S: Likewise.
47708 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47710         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
47711         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
47712         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
47713         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
47714         remove unused global constant.
47716 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
47718         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
47719         include of <not-cancel.h>.
47721 2012-05-15  Roland McGrath  <roland@hack.frob.com>
47723         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
47725 2012-05-15  Jeff Law  <law@redhat.com>
47726             Andreas Jaeger  <aj@suse.de>
47728         [BZ #13594]
47729         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
47730         out from...
47731         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
47732         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
47733         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
47734         code changing __hst_map_handle.map.
47736 2012-05-15  Roland McGrath  <roland@hack.frob.com>
47738         * configure.in (sysnames): Look for Implies-before and Implies-after
47739         files.
47740         * configure: Regenerated.
47742 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47744         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
47745         8-byte data alignment with LP_SIZE alignment.
47747 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47749         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
47750         into R10_LP.
47752 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47754         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
47756 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47758         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
47759         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
47760         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
47761         Likewise.
47762         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
47764 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47766         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
47767         (stackinfo_sub_sp): Likewise.
47769 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47771         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
47772         RAX_LP.
47774 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47776         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
47777         into R*_LP.
47779 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47781         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
47782         sizes into R*_LP.
47784 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47786         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
47788 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47790         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
47791         into R11_LP and load __x86_64_shared_cache_size_half into
47792         R8_LP.
47794 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47796         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
47797         R8_LP.
47799 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47801         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
47802         logb for POWER7.
47803         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
47804         logbf for POWER7.
47805         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
47806         logbl for POWER7.
47807         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
47808         powerpc32/power7/fpu/s_logb.c via #include.
47809         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
47810         powerpc32/power7/fpu/s_logbf.c via #include.
47811         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
47812         powerpc32/power7/fpu/s_logbl.c via #include.
47814 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
47816         * README.libm: Remove file.
47818 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47820         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
47821         count for x32.  Use R*_LP and omit operand-size suffix.
47823 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47825         * shlib-versions: Move x86_64-.*-linux.* entries to ...
47826         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
47827         * sysdeps/x86_64/x32/shlib-versions: New file.
47829 2012-05-14  Roland McGrath  <roland@hack.frob.com>
47831         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
47832         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
47833         Use _dl_fatal_printf instead.
47835 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
47837         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
47838         set if not set by the user.  Do not allow for being unset.
47839         * sysdeps/unix/sysv/linux/configure: Regenerated.
47841 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47843         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
47844         the `q' suffix from lea and replace .quad with ASM_ADDR.
47846 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47848         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
47849         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
47850         instead of $17.
47851         (PTR_DEMANGLE): Likewise.
47853 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47855         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
47856         (LP_OP): Likewise.
47857         (ASM_ADDR): Likewise.
47858         (RAX_LP): Likewise.
47859         (RBP_LP): Likewise.
47860         (RBX_LP): Likewise.
47861         (RCX_LP): Likewise.
47862         (RDI_LP): Likewise.
47863         (RSI_LP): Likewise.
47864         (RSP_LP): Likewise.
47865         (R8_LP): Likewise.
47866         (R9_LP): Likewise.
47867         (R10_LP): Likewise.
47868         (R10_LP): Likewise.
47869         (R11_LP): Likewise.
47870         (R12_LP): Likewise.
47871         (R13_LP): Likewise.
47872         (R14_LP): Likewise.
47873         (R15_LP): Likewise.
47875 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47877         * sysdeps/x86_64/x32/dl-machine.h: New file.
47879 2012-05-14  Andreas Jaeger  <aj@suse.de>
47881         * manual/Makefile (subdir): Remove export of subdir.
47882         (all): Remove target.
47883         (.PHONY): Remove all from list.
47884         (mkinstalldirs): Remove.
47885         (.PHONY): Remove installdirs from list.
47886         ($(inst_infodir)/libc.info): Use make-target-directory.
47887         (installdirs): Remove.
47888         (subdir_%): Remove.
47889         (glibc-targets): Remove.
47890         (lib): Remove.
47891         (stubs): Remove.
47892         ($(objpfx)stubs ../po/manual.pot): Remove.
47893         ($(objpfx)stamp%): Remove.
47894         (make-target-directory): Remove.
47895         (subdir_install): Remove.
47896         (routines): Remove.
47897         (aux): Remove.
47898         (sources): Remove.
47899         (objects): Remove.
47900         (headers): Remove.
47902         [BZ #13750]
47903         * manual/.gitignore: Remove, it's not needed anymore.
47904         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
47905         all files in it.
47906         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
47907         directory.
47908         (texis): Renamed to $(objpfx)texis.
47909         (texis-path): New, contains path to generated files.
47910         (chapters.%): Use texis-path for complete path, add extra argument
47911         libc-texinfo.sh.
47912         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
47913         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
47914         (summary,texi, stamp-summary): Use complete path of
47915         files. Generate files in build dir.
47916         (dir-add.texi): Build in build dir.
47917         (libm-err.texi,stamp-libm-err): Likewise.
47918         (version.texi, stamp-version): Likewise.
47919         (.%c.texi): Likewise.
47920         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
47921         (mostlyclean): Remove target.
47922         (realclean): Remove target.
47923         (generated): Add new variable with contents from mostlyclean and
47924         realclean, remove entries duplicated in common-mostlyclean, add
47925         stamp-libm-err and stamp-version.
47926         (generated-dirs): Add libc directory.
47927         ($(inst_infodir)/libc.info): Install files from build dir.
47929         * manual/install.texi (Configuring and compiling): Adjust since
47930         the info files are not part of the tar ball anymore.
47932 2012-05-14  Andreas Jaeger  <aj@suse.de>
47934         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
47935         variable.
47937 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
47939         [BZ #13717]
47940         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
47941         to 2.2.0 where earlier.
47942         * sysdeps/unix/sysv/linux/configure: Regenerated.
47943         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
47944         Remove conditional code.
47945         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
47946         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
47947         Remove conditional code.
47948         [!__NR_lchown]: Likewise.
47949         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47950         [__NR_lchown]: Likewise.
47951         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
47952         comment referencing __ASSUME_LCHOWN_SYSCALL.
47953         * sysdeps/unix/sysv/linux/i386/sigaction.c
47954         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47955         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47956         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
47957         Remove conditional code.
47958         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
47959         (__protocol_available): Remove #if 0 code.
47960         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
47961         conditional code.
47962         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
47963         * sysdeps/unix/sysv/linux/kernel-features.h
47964         (__ASSUME_GETCWD_SYSCALL): Don't define.
47965         (__ASSUME_REALTIME_SIGNALS): Likewise.
47966         (__ASSUME_PREAD_SYSCALL): Likewise.
47967         (__ASSUME_PWRITE_SYSCALL): Likewise.
47968         (__ASSUME_POLL_SYSCALL): Likewise.
47969         (__ASSUME_LCHOWN_SYSCALL): Likewise.
47970         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
47971         non-SPARC.
47972         (__ASSUME_SIOCGIFNAME): Don't define.
47973         (__ASSUME_MSG_NOSIGNAL): Likewise.
47974         (__ASSUME_SENDFILE): Define unconditionally.
47975         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
47976         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
47977         conditional code.
47978         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
47979         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
47980         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
47981         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47982         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
47983         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
47984         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
47986         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47987         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
47989         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47990         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
47992         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47993         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
47995         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47996         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
47998         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47999         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
48001         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48002         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
48004         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48005         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
48007         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48008         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48009         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
48010         Remove conditional code.
48011         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48012         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
48013         Remove conditional code.
48014         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48015         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
48016         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
48017         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
48018         Remove conditional code.
48019         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48020         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
48021         Remove conditional code.
48022         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48023         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
48024         Remove conditional code.
48025         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48026         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
48027         Remove conditional code.
48028         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48029         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
48030         Remove conditional code.
48031         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48032         * sysdeps/unix/sysv/linux/sh/pwrite64.c
48033         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48034         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48035         * sysdeps/unix/sysv/linux/sigaction.c
48036         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48037         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48038         * sysdeps/unix/sysv/linux/sigpending.c
48039         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48040         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48041         * sysdeps/unix/sysv/linux/sigprocmask.c
48042         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48043         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48044         * sysdeps/unix/sysv/linux/sigsuspend.c
48045         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48046         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48047         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
48048         (__libc_missing_rt_sigs): Remove.
48049         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
48050         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
48051         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
48052         Remove conditional code.
48053         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
48054         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
48055         return 1.
48056         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
48057         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
48058         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
48059         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
48061 2012-05-14  Andreas Jaeger  <aj@suse.de>
48063         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
48064         it's not used in glibc.
48065         (__coshm1): Likewise.
48066         (__acosh1p): Likewise.
48067         (__sgn): Likewise.
48069         * manual/string.texi (Copying and Concatenation): Add missing
48070         variable in concat example.
48071         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
48073 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48075         [BZ #14103]
48076         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
48077         __builtin_clzl with __builtin_clzll.
48079 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48081         [BZ #14104]
48082         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
48083         libc_freeres_ptr.
48085 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48087         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
48088         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
48089         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
48090         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
48092 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
48094         * NEWS: Update ia64 info.
48096 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
48098         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
48099         used as bcopy.
48101 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
48103         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
48104         * sysdeps/unix/syscalls.list (dup3): Likewise.
48105         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
48106         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
48108 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
48110         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
48111         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
48113 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
48115         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
48116         thread pointer.
48117         (TLS_IE): Use mov/add instead of movq/addq to load thread
48118         pointer.
48119         (TLS_GD_PREFIX): New.
48120         (TLS_GD): Use it.
48122 2012-05-11  David S. Miller  <davem@davemloft.net>
48124         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
48125         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
48126         (_FPU_SETCW): Likewise.
48128 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48130         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
48131         is 32-byte aligned.
48133 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
48135         [BZ #11837]
48136         * iconvdata/gb18030.c: Update tables.
48137         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
48138         characters specially.
48139         (BODY for TO_LOOP): Add encoding of missing ranges.
48141 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
48143         [BZ #13673]
48144         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
48145         * sysdeps/mach/hurd/dup3.c: Likewise.
48146         * sysdeps/mach/hurd/readlinkat.c: Likewise.
48147         * sysdeps/powerpc/memmove.c:: Likewise.
48149 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48151         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
48152         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
48154 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48156         * elf/elf.h (R_X86_64_RELATIVE64): New.
48157         (R_X86_64_NUM): Updated.
48158         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
48159         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
48160         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
48161         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
48162         tst-quad1pie tst-quad2pie
48163         (modules-names): Add tst-quadmod1 tst-quadmod2.
48164         ($(objpfx)tst-quad1): New dependency.
48165         ($(objpfx)tst-quad2): Likewise.
48166         ($(objpfx)tst-quad1pie): Likewise.
48167         ($(objpfx)tst-quad2pie): Likewise.
48168         * sysdeps/x86_64/tst-quad1.c: New file.
48169         * sysdeps/x86_64/tst-quad1pie.c: New file.
48170         * sysdeps/x86_64/tst-quad2.c: Likewise.
48171         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
48172         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
48173         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
48174         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
48175         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
48177 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48179         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
48180         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
48181         * streams/stropts.h (t_scalar_t): Define type.
48183         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
48184         (_PATH_PRESERVE): Set to "/var/lib".
48185         (_PATH_RWHODIR): Set to "/var/spool/rwho".
48187         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
48188         instead of int.
48190         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
48191         if __dir_mkfile succeeded.
48193         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
48194         checking for _hurd_dtablesize.  Unlock it right after having
48195         finished _hurd_dtable allocation.
48197 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48199         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
48200         * sysdeps/mach/hurd/configure: Regenerated.
48201         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
48202         special-casing to...
48203         * sysdeps/gnu/configure.in: ... this new file.
48204         * sysdeps/unix/sysv/linux/configure: Regenerated.
48205         * sysdeps/gnu/configure: New generated file.
48207         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
48208         for Linux: use nsec instead of usec, as well as:
48209         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
48210         members of type struct timespec.
48211         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
48212         New macros.
48213         (struct stat64): Likewise.
48214         (_STATBUF_ST_NSEC): New macro.
48215         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
48217         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
48218         __strtoul_internal rather than strtoul.
48220 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48222         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
48223         and reject them.
48225 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48227         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
48228         which preserves existing values.
48229         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
48231 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48233         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
48234         TIMEOUT values.  Return EINVAL for NFDS values either negative or
48235         greater than FD_SETSIZE.
48237 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48239         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
48240         allocated, call __vm_protect to finish enabling the existing space, and
48241         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
48242         allocate the remainder.
48244 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48246         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
48247         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
48249 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48251         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
48252         sysdeps/mach/hurd/readlink.c.
48254         * posix/tst-sysconf.c (posix_options): Only use
48255         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
48256         _POSIX_SYNCHRONIZED_IO when they are defined
48257         * sysdeps/mach/hurd/bits/posix_opt.h:
48258         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
48259         (_XOPEN_REALTIME): Undefine macro.
48260         (_XOPEN_REALTIME_THREADS): Undefine macro.
48261         (_XOPEN_SHM): Undefine macro.
48262         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
48263         macro to -1.
48264         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
48265         macro to -1.
48266         (_POSIX_ASYNC_IO): Undefine macro.
48267         (_POSIX_PRIORITIZED_IO): Undefine macro.
48268         (_POSIX_SPIN_LOCKS): Define macro to -1.
48270         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
48271         SA_NODEFER, SA_RESETHAND.
48272         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
48273         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
48274         F_DUPFD_CLOEXEC.
48276 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48278         * elf/Makefile (pldd-modules): Define unconditionally.
48280 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48282         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
48284 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48286         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
48287         Return ENOENT when name is empty.
48288         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
48290 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48292         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
48294         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
48296 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48298         Fix mlock in all cases except non-readable pages.
48299         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
48300         instead of VM_PROT_ALL as parameter to __vm_wire function.
48302         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
48303         (__mkdir): When path is `/', just fail with EEXIST.
48304         * sysdeps/mach/hurd/mkdirat.c: Likewise.
48306 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48308         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
48309         <sys/uio.h> (for writev).
48310         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
48311         and <sys/param.h> (for MIN).
48313 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48315         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
48316         REQUESTED_TIME.  Properly set the remaining time and return EINTR
48317         if interrupted.
48319 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48321         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
48322         Depend on against $(link-rpcuserlibs).
48324 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48326         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
48327         (__libc_stack_end): Do not use attribute_relro.
48328         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
48329         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
48330         to libthread-provided value.
48331         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
48332         attribute_relro.
48334 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48336         [BZ #3748]
48337         * bits/libc-lock.h (__libc_once_get): New macro.
48338         * sysdeps/mach/bits/libc-lock.h: Likewise.
48339         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
48340         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
48341         instead of using implementation details.
48343         * libio/fileops.c: Unconditionally include <kernel-features.h>.
48344         * libio/freopen.c: Likewise.
48345         * libio/freopen64.c: Likewise.
48346         * misc/syslog.c: Likewise.
48347         * nscd/connections.c: Likewise.
48348         * nscd/netgroupcache.c: Likewise.
48349         * sysdeps/posix/getcwd.c: Likewise.
48351 2012-05-10  Roland McGrath  <roland@hack.frob.com>
48353         * math/w_ilogbf.c: Add #include <limits.h>.
48355 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48357         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
48358         path instead of returning without unlocking.
48360         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
48361         immediate-write ioctls.
48362         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
48364 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48366         * sysdeps/mach/hurd/i386/init-first.c (init): Use
48367         __builtin_frame_address instead of making assumptions about the
48368         location of the return address relative to DATA.  Force early load of
48369         the return address.
48370         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
48371         __builtin_frame_address.
48373         dup3 for GNU Hurd.
48374         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
48375         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
48376         implement dup3 and do some further code clean-ups.
48377         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
48378         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
48380 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48382         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
48384         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
48385         HURD_CRITICAL_END around holding _hurd_dtable_lock.
48386         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
48387         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
48388         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
48389         d->port.lock.
48391         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
48392         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
48393         when handler == SIG_ERR, not when handler != SIG_ERR.
48395 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48397         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
48398         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
48399         definitions.
48401         accept4 for GNU Hurd.
48402         * include/sys/socket.h (__libc_accept4): New prototype.
48403         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
48404         to implement __libc_accept4.
48405         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
48406         __libc_accept4.
48407         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
48409         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
48410         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
48411         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
48412         signal-defines.sym.
48414 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48416         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
48418 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48420         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
48421         assertion on O_CLOEXEC flag.
48422         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
48423         * hurd/intern-fd.c: Likewise.
48424         * hurd/port2fd.c: Likewise.
48426 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48428         [BZ #3906]
48429         * bits/in.h (IPV6_PKTINFO): Define new macro.
48430         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
48432 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48434         [BZ #13954]
48435         [BZ #13955]
48436         [BZ #13956]
48437         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
48438         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48439         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
48440         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
48441         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48442         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
48443         * math/libm-test.inc (logb_test) : Additional logb tests.
48445 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
48446             Andreas Jaeger  <aj@suse.de>
48448         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
48449         * configure: Regenerated.
48450         * config.h.in (LINK_OBSOLETE_RPC): New macro.
48451         * config.make.in (link-obsolete-rpc): New substituted variable.
48452         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
48453         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
48454         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48455         (shared-only-routines): Don't set it under [link-obsolete-rpc],
48456         so that libc.a contains the symbols.
48457         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48458         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
48459         * sunrpc/auth_none.c: Likewise.
48460         * sunrpc/auth_unix.c: Likewise.
48461         * sunrpc/authdes_prot.c: Likewise.
48462         * sunrpc/authuxprot.c: Likewise.
48463         * sunrpc/clnt_gen.c: Likewise.
48464         * sunrpc/clnt_perr.c: Likewise.
48465         * sunrpc/clnt_raw.c: Likewise.
48466         * sunrpc/clnt_simp.c: Likewise.
48467         * sunrpc/clnt_tcp.c: Likewise.
48468         * sunrpc/clnt_udp.c: Likewise.
48469         * sunrpc/clnt_unix.c: Likewise.
48470         * sunrpc/des_crypt.c: Likewise.
48471         * sunrpc/des_soft.c: Likewise.
48472         * sunrpc/get_myaddr.c: Likewise.
48473         * sunrpc/key_call.c: Likewise.
48474         * sunrpc/key_prot.c: Likewise.
48475         * sunrpc/netname.c: Likewise.
48476         * sunrpc/pm_getmaps.c: Likewise.
48477         * sunrpc/pm_getport.c: Likewise.
48478         * sunrpc/pmap_clnt.c: Likewise.
48479         * sunrpc/pmap_prot.c: Likewise.
48480         * sunrpc/pmap_prot2.c: Likewise.
48481         * sunrpc/pmap_rmt.c: Likewise.
48482         * sunrpc/publickey.c: Likewise.
48483         * sunrpc/rpc_cmsg.c: Likewise.
48484         * sunrpc/rpc_common.c: Likewise.
48485         * sunrpc/rpc_dtable.c: Likewise.
48486         * sunrpc/rpc_prot.c: Likewise.
48487         * sunrpc/rpc_thread.c: Likewise.
48488         * sunrpc/rtime.c: Likewise.
48489         * sunrpc/svc.c: Likewise.
48490         * sunrpc/svc_auth.c: Likewise.
48491         * sunrpc/svc_raw.c: Likewise.
48492         * sunrpc/svc_run.c: Likewise.
48493         * sunrpc/svc_tcp.c: Likewise.
48494         * sunrpc/svc_udp.c: Likewise.
48495         * sunrpc/svc_unix.c: Likewise.
48496         * sunrpc/svcauth_des.c: Likewise.
48497         * sunrpc/xcrypt.c: Likewise.
48498         * sunrpc/xdr.c: Likewise.
48499         * sunrpc/xdr_array.c: Likewise.
48500         * sunrpc/xdr_float.c: Likewise.
48501         * sunrpc/xdr_intXX_t.c: Likewise.
48502         * sunrpc/xdr_mem.c: Likewise.
48503         * sunrpc/xdr_rec.c: Likewise.
48504         * sunrpc/xdr_ref.c: Likewise.
48505         * sunrpc/xdr_sizeof.c: Likewise.
48506         * sunrpc/xdr_stdio.c: Likewise.
48508 2012-05-10  Roland McGrath  <roland@hack.frob.com>
48510         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
48511         change.  Update copyright years.
48513 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
48515         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
48517 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
48518             Joseph Myers  <joseph@codesourcery.com>
48519             Paul Pluzhnikov  <ppluzhnikov@google.com>
48521         [BZ #14012]
48522         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
48523         requiring rpcgen.
48524         [cross-compiling] (extra-libs): Likewise.
48525         [cross-compiling] (extra-libs-others): Likewise.
48526         [cross-compiling] (librpcsvc-routines): Likewise.
48527         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
48528         [cross-compiling] (omit-deps): Likewise.
48529         (sunrpc-CPPFLAGS): New variable.
48530         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
48531         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
48532         (cross-rpcgen-objs): New variable.
48533         (extra-objs): Append $(cross-rpcgen-objs).
48534         ($(cross-rpcgen-objs)): New rule.
48535         ($(objpfx)cross-rpcgen): Likewise.
48536         (rpcgen-cmd): Define to use $(built-program-file).  Expand
48537         comment.
48538         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
48539         ($(objpfx)x%.stmp): Likewise.
48540         * sunrpc/proto.h [IS_IN_build] (_): Define.
48541         [IS_IN_build] (_libc_intl_domainname): Likewise.
48543 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48545         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
48546         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
48547         and R_X86_64_TPOFF64.
48549 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
48551         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
48552         sysdeps/unix/sysv/syscalls.list.
48553         (stime): Likewise.
48554         (utime): Likewise.
48555         * sysdeps/unix/sysv/syscalls.list: Remove file.
48557 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
48559         [BZ #3440]
48560         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
48561         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
48562         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
48563         (__LC_IDENTIFICATION): Make these macros useful in #if
48564         expressions, as required by C99.
48566 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
48568         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
48569         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
48570         after this.
48572 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
48574         * stdlib/longlong.h: Updated from GCC.
48576 2012-05-09  Andreas Jaeger  <aj@suse.de>
48578         * nscd/nscd.c (run_modes): Make named enum, reorder so that
48579         default is first entry.
48580         (run_mode): Set type.
48581         (main): Remove informal message about syslog.
48582         (options): Fix typo.
48584         [BZ #14053]
48585         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
48586         to asm.
48587         (lrint): Likewise.
48588         (llrintf): Likewise.
48589         (llrint): Likewise.
48590         (rint): Likewise.
48591         (rintf): Likewise.
48592         (nearbyint): Likewise.
48593         (nearbyintf): Likewise.
48595 2012-05-09  Andreas Jaeger  <aj@suse.de>
48596             Pedro Alves  <palves@redhat.com>
48598         * nscd/nscd.c (run_mode): Use enum.
48599         (main): Cleanup coding style issue.
48601 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
48602             Andreas Jaeger  <aj@suse.de>
48604         * nscd/nscd.c (go_background): Replaced with...
48605         (run_mode): ... this.
48606         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
48607         (options): Add -F --foreground.
48608         (main): Implement it.
48609         (parse_opt): Parse it.
48611 2012-05-09  Andreas Jaeger  <aj@suse.de>
48613         [BZ #14083]
48614         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
48615         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
48616         -Wconversion warning.
48617         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
48618         Likewise.
48620 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
48622         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
48623         == 0.
48624         (LC_ALL): Use macro-int-constant.
48625         (LC_COLLATE): Likewise.
48626         (LC_CTYPE): Likewise.
48627         (LC_MESSAGES): Likewise.
48628         (LC_MONETARY): Likewise.
48629         (LC_NUMERIC): Likewise.
48630         (LC_TIME): Likewise.
48631         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
48632         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
48633         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48634         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
48635         Specify type.
48636         [C99-based standards] (float_t): Expect type.
48637         [C99-based standards] (double_t): Expect type.
48638         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
48639         type.
48640         [C99-based standards] (HUGE_VALL): Likewise.
48641         [C99-based standards] (INFINITY): Likewise.
48642         [C99-based standards] (NAN): Likewise.
48643         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
48644         [C99-based standards] (FP_NAN): Likewise.
48645         [C99-based standards] (FP_NORMAL): Likewise.
48646         [C99-based standards] (FP_SUBNORMAL): Likewise.
48647         [C99-based standards] (FP_ZERO): Likewise.
48648         [C99-based standards] (FP_FAST_FMA): Use
48649         optional-macro-int-constant.  Specify type.  Require == 1.
48650         [C99-based standards] (FP_FAST_FMAF): Likewise.
48651         [C99-based standards] (FP_FAST_FMAL): Likewise.
48652         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
48653         [C99-based standards] (FP_ILOGBNAN): Likewise.
48654         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
48655         Specify type.
48656         [C99-based standards] (MATH_ERREXCEPT): Likewise.
48657         [C99-based standards] (math_errhandling): Specify type.
48658         [ISO99 || ISO11] (signgam): Do not allow.
48659         [non-C99-based standards] (copysignf): Do not allow.
48660         [non-C99-based standards] (exp2f): Likewise.
48661         [non-C99-based standards] (log2f): Likewise.
48662         [non-C99-based standards] (modff): Allow.
48663         [non-C99-based standards] (erff): Do not allow.
48664         [non-C99-based standards] (erfcf): Likewise.
48665         [non-C99-based standards] (gammaf): Likewise.
48666         [non-C99-based standards] (hypotf): Likewise.
48667         [non-C99-based standards] (j0f): Likewise.
48668         [non-C99-based standards] (j1f): Likewise.
48669         [non-C99-based standards] (jnf): Likewise.
48670         [non-C99-based standards] (lgammaf): Likewise.
48671         [non-C99-based standards] (tgammaf): Likewise.
48672         [non-C99-based standards] (y0f): Likewise.
48673         [non-C99-based standards] (y1f): Likewise.
48674         [non-C99-based standards] (ynf): Likewise.
48675         [non-C99-based standards] (isnanf): Likewise.
48676         [non-C99-based standards] (acoshf): Likewise.
48677         [non-C99-based standards] (asinhf): Likewise.
48678         [non-C99-based standards] (atanhf): Likewise.
48679         [non-C99-based standards] (cbrtf): Likewise.
48680         [non-C99-based standards] (expm1f): Likewise.
48681         [non-C99-based standards] (ilogbf): Likewise.
48682         [non-C99-based standards] (log1pf): Likewise.
48683         [non-C99-based standards] (logbf): Likewise.
48684         [non-C99-based standards] (nextafterf): Likewise.
48685         [non-C99-based standards] (remainderf): Likewise.
48686         [non-C99-based standards] (rintf): Likewise.
48687         [non-C99-based standards] (scalbf): Likewise.
48688         [non-C99-based standards] (copysignl): Likewise.
48689         [non-C99-based standards] (exp2l): Likewise.
48690         [non-C99-based standards] (log2l): Likewise.
48691         [non-C99-based standards] (modfl): Allow.
48692         [non-C99-based standards] (erfl): Do not allow.
48693         [non-C99-based standards] (erfcl): Likewise.
48694         [non-C99-based standards] (gammal): Likewise.
48695         [non-C99-based standards] (hypotl): Likewise.
48696         [non-C99-based standards] (j0l): Likewise.
48697         [non-C99-based standards] (j1l): Likewise.
48698         [non-C99-based standards] (jnl): Likewise.
48699         [non-C99-based standards] (lgammal): Likewise.
48700         [non-C99-based standards] (tgammal): Likewise.
48701         [non-C99-based standards] (y0l): Likewise.
48702         [non-C99-based standards] (y1l): Likewise.
48703         [non-C99-based standards] (ynl): Likewise.
48704         [non-C99-based standards] (isnanl): Likewise.
48705         [non-C99-based standards] (acoshl): Likewise.
48706         [non-C99-based standards] (asinhl): Likewise.
48707         [non-C99-based standards] (atanhl): Likewise.
48708         [non-C99-based standards] (cbrtl): Likewise.
48709         [non-C99-based standards] (expm1l): Likewise.
48710         [non-C99-based standards] (ilogbl): Likewise.
48711         [non-C99-based standards] (log1pl): Likewise.
48712         [non-C99-based standards] (logbl): Likewise.
48713         [non-C99-based standards] (nextafterl): Likewise.
48714         [non-C99-based standards] (remainderl): Likewise.
48715         [non-C99-based standards] (rintl): Likewise.
48716         [non-C99-based standards] (scalbl): Likewise.
48717         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48718         [non-C99-based standards] (FP_*): Do not allow.
48719         [C99-based standards] (FP_*): Change to
48720         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
48721         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48722         allow.
48723         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
48724         (SIG_ERR): Likewise.
48725         [X/Open-based standards] (SIG_HOLD): Likewise.
48726         (SIG_IGN): Likewise.
48727         (SIGABRT): Use macro-int-constant.  Specify type.  Require
48728         positive value.
48729         (SIGFPE): Likewise.
48730         (SIGILL): Likewise.
48731         (SIGINT): Likewise.
48732         (SIGSEGV): Likewise.
48733         (SIGTER): Likewise.
48734         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
48735         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
48736         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
48737         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
48738         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
48739         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
48740         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
48741         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
48742         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
48743         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
48744         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
48745         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
48746         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
48747         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
48748         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
48749         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
48750         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
48751         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
48752         [X/Open-based standards] (SIGTRAP): Likewise.
48753         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
48754         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
48755         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
48756         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
48757         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48758         allow.
48760 2012-05-08  Ian Wienand  <ianw@vmware.com>
48762         [BZ #14080]
48763         * time/tzset.c (__tzset_parse_tz): Update default rules for
48764         daylight time changes in the Energy Policy Act of 2005.
48766 2012-05-09  Andreas Jaeger  <aj@suse.de>
48768         [BZ #13983]
48769         * elf/ldconfig.c (parse_conf): Change string to make clear that
48770         ldconfig only issued a warning if ld.so.conf does not exist.
48772 2012-05-08  David S. Miller  <davem@davemloft.net>
48774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
48775         movxtod instead of popping the value on the stack.
48777         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48779 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
48781         * config.h.in: Add HAVE_ARM_PCS_VFP.
48783 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
48785         [BZ #13979]
48786         * include/features.h: Warn if user requests __FORTIFY_SOURCE
48787         checking but the checks are disabled for any reason.
48789 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
48791         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
48792         and ELF64_R_TYPE with ELFW(R_TYPE).
48794 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
48796         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
48797         (ulimit): Likewise.
48799         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
48800         (settimeofday): Likewise.
48802 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
48804         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
48805         a struct th_u2 inside the union, and move tu_block/tu_code into
48806         a new th_u3 union of tu_block/tu_code inside of that.  Move
48807         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
48808         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
48809         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
48810         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
48811         (th_stuff): Change to th_u1.tu_stuff.
48812         (th_data): Define.
48813         (th_msg): Change to th_u1.th_u2.tu_data.
48815 2012-05-07  David S. Miller  <davem@davemloft.net>
48817         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48819         [BZ #14074]
48820         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
48821         (SETUP_PIC_REG): Use it.
48822         (SETUP_PIC_REG_LEAF): Use it.
48824 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
48826         [BZ #13885]
48827         [BZ #13923]
48828         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48829         USE_AS_EXPM1L.
48830         (EXPL_FINITE): Likewise.
48831         (FLDLOG): Likewise.
48832         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
48833         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
48834         e_expl.S.
48835         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48836         USE_AS_EXPM1L.
48837         (EXPL_FINITE): Likewise.
48838         (FLDLOG): Likewise.
48839         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
48840         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
48841         e_expl.S.
48842         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
48843         test of -max_value argument for long double.
48844         * sysdeps/i386/fpu/libm-test-ulps: Update.
48845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48847 2012-05-06  David S. Miller  <davem@davemloft.net>
48849         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
48850         quad soft-float symbols whose references which are compiler
48851         generated.
48852         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48854 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
48856         [BZ #13884]
48857         [BZ #13914]
48858         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48859         USE_AS_EXP10L.
48860         (EXPL_FINITE): Likewise.
48861         (FLDLOG): Likewise.
48862         (c0): Likewise.
48863         (c1): Likewise.
48864         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
48865         Adjust comments for base varying.
48866         (__expl_finite): Change alias to EXPL_FINITE.
48867         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
48868         e_expl.S.
48869         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
48870         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
48871         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
48872         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
48873         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48874         USE_AS_EXP10L.
48875         (EXPL_FINITE): Likewise.
48876         (FLDLOG): Likewise.
48877         (c0): Likewise.
48878         (c1): Likewise.
48879         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
48880         Adjust comments for base varying.
48881         (__expl_finite): Change alias to EXPL_FINITE.
48882         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
48883         tests for bugs.
48884         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48886         [BZ #14064]
48887         * math/libm-test.inc (check_float_internal): Correct ulp
48888         calculation for subnormal expected results.
48890 2012-05-06  Andreas Jaeger  <aj@suse.de>
48892         * Makeconfig (+math-flags): New, set to -frounding-math.
48893         (+cflags): Add +math-flags so that all of glibc gets compiled with
48894         it.
48896         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
48898 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
48900         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
48901         Disable one test.
48903         [BZ #13787]
48904         [BZ #13922]
48905         [BZ #14036]
48906         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
48907         (__ieee754_expl): Allow for and saturate large arguments.
48908         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
48909         (u_threshold): Likewise.
48910         (__exp): Call __ieee754_exp before checking for overflow and
48911         underflow.
48912         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
48913         (u_threshold): Likewise.
48914         (__expf): Call __ieee754_expf before checking for overflow and
48915         underflow.
48916         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
48917         (u_threshold): Likewise.
48918         (__expl): Call __ieee754_expl before checking for overflow and
48919         underflow.
48920         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
48921         (__ieee754_expl): Allow for and saturate large arguments.
48922         * math/libm-test.inc (exp_test): Add another test.  Do not allow
48923         missing overflow exception on overflow.
48924         (expm1_test): Do not allow missing overflow exception on overflow.
48926         * sysdeps/i386/fpu/e_expl.c: Move to ...
48927         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
48928         rather than using inline asm.
48929         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
48930         * sysdeps/x86_64/fpu/e_expl.S: Copy from
48931         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
48933         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
48934         (nice): Likewise.
48935         (poll): Likewise.
48936         (signal): Likewise.
48937         (time): Likewise.
48938         (times): Likewise.
48940 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
48942         * sysdeps/unix/syscalls.list (adjtime): Add entry from
48943         sysdeps/unix/common/syscalls.list.
48944         (fchmod): Likewise.
48945         (fchown): Likewise.
48946         (ftruncate): Likewise.
48947         (getrusage): Likewise.
48948         (gettimeofday): Likewise.
48949         (setpgid): Likewise.
48950         (setregid): Likewise.
48951         (setreuid): Likewise.
48952         (sigaction): Likewise.
48953         (truncate): Likewise.
48954         (vhangup): Likewise.
48955         * sysdeps/unix/common/syscalls.list: Remove file.
48956         * sysdeps/unix/bsd/Implies: Don't include unix/common.
48957         * sysdeps/unix/sysv/linux/Implies: Likewise.
48959 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
48961         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
48962         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
48963         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
48964         Moved to ...
48965         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
48966         Here.
48967         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
48968         to ...
48969         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
48970         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
48971         to ...
48972         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
48973         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
48974         to ...
48975         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
48976         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
48977         to ...
48978         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
48979         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
48980         to ...
48981         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
48982         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
48983         to ...
48984         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
48985         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
48986         to ...
48987         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
48988         Here.
48989         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
48990         to ...
48991         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
48992         Here.
48993         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
48994         to ...
48995         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
48996         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
48997         Moved to ...
48998         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
48999         Here.
49000         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
49001         to ...
49002         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
49004 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
49006         * sysdeps/unix/common/bits/dirent.h: Remove file.
49007         * sysdeps/unix/common/bits/fcntl.h: Likewise.
49009         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
49010         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
49011         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
49012         * sysdeps/unix/bsd/isatty.c: Likewise.
49013         * sysdeps/unix/bsd/tcdrain.c: Likewise.
49014         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
49015         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
49017 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49019         [BZ #13563]
49020         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
49021         long double comparison inaccuracies.
49022         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
49023         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49025 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
49027         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
49028         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
49030 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
49032         [BZ #14049]
49033         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
49034         nonzero digits before rounding a hex value.
49035         * stdlib/tst-strtod.c (tests): Add another test.
49037 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49039         * sysdeps/s390/fpu/libm-test-ulps: Update.
49041 2012-05-03  Andreas Jaeger  <aj@suse.de>
49043         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
49044         does not get optimized out.
49045         (malloc_opt_barrier): New.
49047 2012-05-03  Andreas Jaeger  <aj@suse.de>
49048             Roland McGrath  <roland@hack.frob.com>
49050         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
49051         intermediate file deletion.
49052         (generated): Add .symlist files.
49054 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
49056         [BZ #13775]
49057         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
49058         Redirect under this condition.
49059         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
49060         [__USE_GNU] (__dprintf_chk): Not under this condition.
49061         [__USE_GNU] (__vdprintf_chk): Likewise.
49062         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
49063         under this condition.
49064         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
49065         [__USE_XOPEN2K8] (dprintf): Define under this condition.
49066         [__USE_XOPEN2K8] (vdprintf): Likewise.
49067         [__USE_GNU] (__dprintf_chk): Not under this condition.
49068         [__USE_GNU] (__vdprintf_chk): Likewise.
49069         [__USE_GNU] (dprintf): Likewise.
49070         [__USE_GNU] (vdprintf): Likewise.
49072 2012-05-03  Roland McGrath  <roland@hack.frob.com>
49074         * elf/Makefile (common-generated): Set this instead of generated for
49075         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
49076         $(all-built-dso)-derived lists.
49078 2012-05-03  Andreas Jaeger  <aj@suse.de>
49080         * sysdeps/i386/fpu/libm-test-ulps: Update.
49082         * FAQ: Removed.
49083         * FAQ.in: Likewise.
49084         * scripts/gen-FAQ.pl: Likewise.
49085         * manual/install.texi (Installation): Point to online location of
49086         FAQ.
49087         * Makefile (files-for-dist): Remove FAQ.
49088         (FAQ): Remove.
49090 2012-05-02  Allan McRae  <allan@archlinux.org>
49092         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
49093         (LDFLAGS-reldepmod5.so): Likewise.
49094         (LDFLAGS-reldep6mod1.so): Likewise.
49095         (LDFLAGS-reldep6mod4.so): Likewise.
49096         (LDFLAGS-reldep8mod3.so): Likewise.
49097         (LDFLAGS-unload4mod1.so): Likewise.
49098         (LDFLAGS-unload4mod2.so): Likewise.
49099         (LDFLAGS-tst-initorder): Likewise.
49100         (LDFLAGS-tst-initordera2.so): Likewise.
49101         (LDFLAGS-tst-initordera3.so): Likewise.
49102         (LDFLAGS-tst-initordera4.so): Likewise.
49103         (LDFLAGS-tst-initorderb2.so): Likewise.
49104         (LDFLAGS-noload): Likewise.
49105         (LDFLAGS-next): Likewise.
49106         (LDFLAGS-order2mod1.so): Likewise.
49107         (LDFLAGS-order2mod2.so): Likewise.
49108         (LDFLAGS-tst-initorder2): Likewise.
49109         (LDFLAGS-tst-initorder2a.so): Likewise.
49110         (LDFLAGS-tst-initorder2b.so): Likewise.
49111         (LDFLAGS-tst-initorder2c.so): Likewise.
49112         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
49114 2012-05-02  David S. Miller  <davem@davemloft.net>
49116         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49118 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
49120         [BZ #14055]
49121         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
49123 2012-05-02  Andreas Jaeger  <aj@suse.de>
49125         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
49126         since we manipulate rounding mode.
49127         (CPPFLAGS-test-idouble.c): Likewise.
49128         (CPPFLAGS-test-ifloat.c): Likewise.
49129         (CFLAGS-test-ldouble.c): Likewise.
49130         (CFLAGS-test-double.c): Likewise.
49131         (CFLAGS-test-float.c): Likewise.
49132         (CFLAGS-test-misc.c): Likewise.
49133         (CFLAGS-test-test-fenv.c): Likewise.
49135 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49137         [BZ #2550]
49138         [BZ #2570]
49139         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
49140         comparisons to determine direction to adjust input.
49142 2012-05-01  Roland McGrath  <roland@hack.frob.com>
49144         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
49145         output to the target.
49147         * scripts/localplt.awk: New file.
49148         * elf/Makefile ($(objpfx)check-localplt): Target removed.
49149         (check-localplt-CFLAGS): Variable removed.
49150         ($(all-built-dso:=.jmprel)): New static pattern rule.
49151         (generated): Add those targets.
49152         (localplt-built-dso): New variable.
49153         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
49155         * elf/check-localplt.c: File removed.
49157         * scripts/check-execstack.awk: New file.
49158         * elf/Makefile ($(objpfx)check-execstack): Target removed.
49159         (check-execstack-CFLAGS): Variable removed.
49160         ($(objpfx)check-execstack.h): Target removed.
49161         ($(objpfx)execstack-default): New target.
49162         (generated): Add that instead of check-execstack.h.
49163         ($(all-built-dso:=.phdr)): New static pattern rule.
49164         (generated): Add those targets.
49165         * elf/check-execstack.c: File removed.
49167         * scripts/check-textrel.awk: New file.
49168         * elf/Makefile ($(objpfx)check-textrel): Target removed.
49169         (check-textrel-CFLAGS): Variable removed.
49170         (all-built-dso): Use := to define.o
49171         ($(all-built-dso:=.dyn)): New static pattern rule.
49172         (generated): Add those targets.
49173         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
49174         * config.make.in (READELF): New substituted variable.
49175         * elf/check-textrel.c: File removed.
49177 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
49179         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49180         allow.
49181         * conform/data/ctype.h-data [C99-based standards] (isblank):
49182         Expect function.
49183         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
49184         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
49185         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49186         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
49187         Specify type.  Require positive value.
49188         (EILSEQ): Likewise.
49189         (ERANGE): Likewise.
49190         [ISO || POSIX] (EILSEQ): Do not expect.
49191         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
49192         Specify type.  Require positive value.
49193         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
49194         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
49195         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
49196         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
49197         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
49198         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
49199         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
49200         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
49201         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
49202         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
49203         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
49204         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
49205         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
49206         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
49207         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
49208         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
49209         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
49210         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
49211         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
49212         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
49213         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
49214         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
49215         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
49216         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
49217         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
49218         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
49219         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
49220         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
49221         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
49222         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
49223         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
49224         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
49225         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
49226         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
49227         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
49228         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
49229         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
49230         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
49231         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
49232         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
49233         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
49234         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
49235         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
49236         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
49237         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
49238         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
49239         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
49240         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
49241         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
49242         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
49243         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
49244         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
49245         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
49246         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
49247         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
49248         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
49249         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
49250         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
49251         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
49252         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
49253         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
49254         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
49255         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
49256         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
49257         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
49258         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
49259         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
49260         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
49261         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
49262         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
49263         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
49264         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
49265         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
49266         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
49267         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
49268         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
49269         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
49270         Require >= 2.
49271         (FLT_ROUNDS): Expect as macro, not constant.
49272         (FLT_MANT_DIG): Use macro-int-constant.
49273         (DBL_MANT_DIG): Likewise.
49274         (LDBL_MANT_DIG): Likewise.
49275         (FLT_DIG): Likewise.
49276         (DBL_DIG): Likewise.
49277         (LDBL_DIG): Likewise.
49278         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
49279         (DBL_MIN_EXP): Likewise.
49280         (LDBL_MIN_EXP): Likewise.
49281         (FLT_MAX_EXP): Use macro-int-constant.
49282         (DBL_MAX_EXP): Likewise.
49283         (LDBL_MAX_EXP): Likewise.
49284         (FLT_MAX_10_EXP): Likewise.
49285         (DBL_MAX_10_EXP): Likewise.
49286         (LDBL_MAX_10_EXP): Likewise.
49287         (FLT_MAX): Use macro-constant.
49288         (DBL_MAX): Likewise.
49289         (LDBL_MAX): Likewise.
49290         (FLT_EPSILON): Use macro-constant.  Give upper bound.
49291         (DBL_EPSILON): Likewise.
49292         (LDBL_EPSILON): Likewise.
49293         (FLT_MIN): Likewise.
49294         (DBL_MIN): Likewise.
49295         (LDBL_MIN): Likewise.
49296         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
49297         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
49298         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
49299         [ISO11] (FLT_HAS_SUBNORM): Likewise.
49300         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
49301         [ISO11] (DBL_DECIMAL_DIG): Likewise.
49302         [ISO11] (FLT_DECIMAL_DIG): Likewise.
49303         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
49304         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
49305         [ISO11] (FLT_TRUE_MIN): Likewise.
49306         [ISO11] (LDBL_TRUE_MIN): Likewise.
49307         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49308         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
49309         (SCHAR_MIN): Use macro-int-constant.  Specify type.
49310         (SCHAR_MAX): Likewise.
49311         (UCHAR_MAX): Likewise.
49312         (CHAR_MIN): Likewise.
49313         (CHAR_MAX): Likewise.
49314         (MB_LEN_MAX): Use macro-int-constant.
49315         (SHRT_MIN): Use macro-int-constant.  Specify type.
49316         (SHRT_MAX): Likewise.
49317         (USHRT_MAX): Likewise.
49318         (INT_MAX): Likewise.
49319         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
49320         bound negative.
49321         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
49322         bound with "U".
49323         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
49324         bound with "L".
49325         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
49326         bound negative.  Suffix upper bound with "L".
49327         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
49328         bound with "UL".
49329         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
49330         Specify type.
49331         [C99-based standards] (LLONG_MAX): Likewise.
49332         [C99-based standards] (ULLONG_MAX): Likewise.
49333         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
49334         == 0.
49335         [ISO11] (max_align_t): Require type.
49336         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49338         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
49339         from $CFLAGS, without defining away __attribute__ calls.
49340         (checknamespace): Use $CFLAGS_namespace.
49342         * conform/conformtest.pl (@keywords): Only include C99 keywords
49343         for standards based on C99 or C11.
49345         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
49346         Disable tests.
49347         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
49348         UNIX98]: Likewise.
49350         * conform/conformtest.pl: Handle "macro-int-constant" and test for
49351         usability of symbols in #if.
49353         * conform/conformtest.pl: If macro or constant types start
49354         "promoted:", expect the symbol to be of the following type
49355         promoted by the integer promotions.
49357         * conform/conformtest.pl: Parse all "constant" and "macro" lines
49358         in one place.  Also handle "macro-constant".
49360         * conform/conformtest.pl: Only accept expected macro values with
49361         "==".  Parse all "macro" lines in one place.
49362         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
49364         * conform/conformtest.pl: Handle braced types on "constant" lines
49365         instead of handling "typed-constant".
49366         * conform/data/signal.h-data: Use "constant" instead of
49367         "typed-constant".
49369         * conform/conformtest.pl: Handle "optional-" at start of lines in
49370         one place rather than duplicating several cases.  Handle each
49371         format of "macro" line with initial "optional-".
49373         * conform/conformtest.pl: Only accept expected constant or
49374         optional-constant values with "==".  Parse all "constant" lines in
49375         one place.  Parse all "optional-constant" lines in one place.
49376         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
49377         * conform/data/fmtmsg.h-data: Likewise.
49378         * conform/data/netinet/in.h-data: Likewise.
49379         * conform/data/tar.h-data: Likewise.
49380         * conform/data/limits.h-data: Use "==" form on "constant" and
49381         "optional-constant" lines.
49383         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
49384         Use -std=c99 for XOPEN2K.
49385         (@knownproblems): Remove.
49386         (newtoken): Don't check %isknown.
49388         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
49389         Do not expect macro.
49390         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
49391         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
49392         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
49393         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
49394         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
49395         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
49396         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
49397         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
49398         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
49399         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
49400         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
49401         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
49402         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
49403         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
49404         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
49405         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
49406         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
49407         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
49408         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
49409         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
49410         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
49411         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
49412         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
49413         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
49414         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
49415         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
49416         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
49417         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
49418         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
49419         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
49420         [XPG3] (acosh): Likewise.
49421         [XPG3] (asinh): Likewise.
49422         [XPG3] (atanh): Likewise.
49423         [XPG3] (cbrt): Likewise.
49424         [XPG3] (expm1): Likewise.
49425         [XPG3] (ilogb): Likewise.
49426         [XPG3] (log1p): Likewise.
49427         [XPG3] (logb): Likewise.
49428         [XPG3] (nextafter): Likewise.
49429         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
49430         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
49431         [XPG3] (remainder): Likewise.
49432         [XPG3] (rint): Likewise.
49433         [XPG3 || XPG4 || UNIX98] (round): Likewise.
49434         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
49435         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
49436         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
49437         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
49438         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
49439         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
49440         [UNIX98 || XOPEN2K] (scalb): Expect.
49441         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
49442         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
49443         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
49444         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
49445         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
49446         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
49447         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
49448         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
49449         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
49450         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
49451         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
49452         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
49453         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
49454         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
49455         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
49456         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
49457         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
49458         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
49459         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
49460         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
49461         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
49462         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
49463         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
49464         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
49465         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
49466         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
49467         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
49468         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
49469         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
49470         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
49471         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
49472         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
49473         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
49474         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
49475         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
49476         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
49477         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
49478         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
49479         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
49480         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
49481         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
49482         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
49483         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
49484         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
49485         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
49486         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
49487         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
49488         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
49489         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
49490         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
49491         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
49492         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
49493         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
49494         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
49495         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
49496         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
49497         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
49498         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
49499         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
49500         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
49501         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
49502         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
49503         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
49504         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
49505         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
49506         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
49507         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
49508         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
49509         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
49510         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
49511         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
49512         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
49513         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
49514         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
49515         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
49516         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
49517         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
49518         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
49519         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
49520         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
49521         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
49522         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
49523         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
49524         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
49525         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
49526         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
49527         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
49528         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
49529         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
49530         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
49531         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
49532         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
49533         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
49534         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
49535         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
49536         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
49537         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
49538         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
49539         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
49540         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
49541         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
49542         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
49543         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
49544         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
49545         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
49546         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
49547         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
49548         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
49549         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
49550         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
49551         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
49552         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
49553         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
49554         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
49555         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
49556         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
49557         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
49558         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
49559         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
49560         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
49561         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
49562         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
49563         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
49564         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
49565         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
49566         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
49567         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
49568         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
49569         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
49570         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
49571         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
49572         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
49573         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
49574         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
49575         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
49576         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
49577         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
49579         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
49580         _XOPEN_SOURCE_EXTENDED for XPG4.
49582         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
49584         * Makeconfig (localtime): Remove variable.
49585         (inst_localtime-file): Likewise.
49587 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
49589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
49590         Update.
49591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49592         Update.
49593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
49594         Update.
49595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49596         Update.
49597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
49598         Update.
49599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
49600         Update.
49601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49602         Update.
49603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
49604         Update.
49605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49606         Update.
49608 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
49610         [BZ #2550]
49611         [BZ #2570]
49612         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
49613         comparisons to determine direction to adjust input.
49614         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
49615         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
49616         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
49617         Likewise.
49618         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
49619         Likewise.
49620         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
49621         Likewise.
49622         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
49623         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
49624         Likewise.
49625         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
49626         Likewise.
49627         * math/libm-test.inc (nexttoward_test): Add more tests.
49629 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
49631         [BZ #14040]
49632         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
49633         in version GLIBC_2.1, not GLIBC_2.0.
49634         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
49635         Likewise.
49637 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
49639         [BZ #13942]
49640         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
49641         (1 - x) * (1 + x).
49642         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
49643         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
49644         * math/libm-test.inc (acos_test): Add more tests.
49645         (asin_test): Likewise.
49646         * sysdeps/i386/fpu/libm-test-ulps: Update.
49647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49649         [BZ #14034]
49650         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
49651         of square root.
49652         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
49653         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
49654         * math/libm-test.inc (acos_test_tonearest): New function.
49655         (acos_test_towardzero): Likewise.
49656         (acos_test_downward): Likewise.
49657         (acos_test_upward): Likewise.
49658         (asin_test_tonearest): Likewise.
49659         (asin_test_towardzero): Likewise.
49660         (asin_test_downward): Likewise.
49661         (asin_test_upward): Likewise.
49662         (main): Call the new functions.
49663         * sysdeps/i386/fpu/libm-test-ulps: Update.
49664         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49666         [BZ #13884]
49667         [BZ #13924]
49668         * math/e_exp10.c: Include <float.h>.
49669         (__ieee754_exp10): Handle underflow here rather than multiplying
49670         large negative argument by M_LN10.
49671         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
49672         of __ieee754_expf.
49673         * math/e_exp10l.c: Include <float.h>.
49674         (__ieee754_exp10l): Handle underflow here rather than multiplying
49675         large negative argument by M_LN10l.
49676         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
49677         spurious overflow exception on underflow.
49679 2012-04-29  Marek Polacek  <polacek@redhat.com>
49681         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
49682         (__fortify_function): New macro.
49683         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
49684         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
49685         __extern_always_inline.
49686         * libio/bits/stdio2.h: Likewise.
49687         * libio/bits/stdio.h: Likewise.
49688         * string/string.h: Likewise.
49689         * string/bits/string3.h: Likewise.
49690         * include/stdio.h: Likewise.
49691         * stdlib/bits/stdlib.h: Likewise.
49692         * stdlib/stdlib.h: Likewise.
49693         * rt/bits/mqueue2.h: Likewise.
49694         * rt/mqueue.h: Likewise.
49695         * posix/bits/unistd.h: Likewise.
49696         * posix/unistd.h: Likewise.
49697         * io/bits/poll2.h: Likewise.
49698         * io/bits/fcntl2.h: Likewise.
49699         * io/fcntl.h: Likewise.
49700         * io/sys/poll.h: Likewise.
49701         * misc/bits/syslog.h: Likewise.
49702         * misc/bits/syslog-ldbl.h: Likewise.
49703         * misc/sys/syslog.h: Likewise.
49704         * socket/bits/socket2.h: Likewise.
49705         * socket/sys/socket.h: Likewise.
49706         * debug/tst-chk1.c: Likewise.
49707         * wcsmbs/bits/wchar2.h: Likewise.
49708         * wcsmbs/bits/wchar-ldbl.h: Likewise.
49709         * wcsmbs/wchar.h: Likewise.
49711 2012-04-29  Andreas Jaeger  <aj@suse.de>
49713         * Makerules (tests): Remove enable-check-abi protection.
49714         (check-abi-warn): Remove.
49715         (check-abi-%): Remove check-abi-warn usage.
49717         * configure.in: Remove check-abi configure option.
49718         * configure: Regenerated.
49719         * config.make.in (enable-check-abi): Remove.
49721 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
49723         [BZ #14033]
49724         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
49725         double functions to double *_finite functions.
49727         [BZ #13941]
49728         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
49729         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
49730         LDBL_MIN_EXP.
49731         * stdio-common/Makefile (tests): Add tst-sprintf3.
49732         * stdio-common/tst-sprintf3.c: New file.
49734         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
49735         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
49737 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
49739         * conform/conformtest.pl: Remove duplicate typed-constant
49740         handling.
49742 2012-04-28  David S. Miller  <davem@davemloft.net>
49744         * Makerules (%.abilist): Add vpath on sysdep_dirs.
49745         (check-abi-%): Remove AWK script prerequisite and explicit
49746         abilist directory.
49747         (check-abi): Rewrite to just diff the symlist with the abilist.
49748         (config-tls, config-abi-config): Delete, no longer used.
49749         (update-abi-%): Remove AWK script and explicit abilist directory.
49750         (update-abi): Rewrite to simply compare and conditionally copy the
49751         symlist and the sysdep abilist file.  Remove update-abi-config
49752         checks.
49753         * abilist/ld.abilist: Remove.
49754         * abilist/libBrokenLocale.abilist: Remove.
49755         * abilist/libanl.abilist: Remove.
49756         * abilist/libcrypt.abilist: Remove.
49757         * abilist/libdl.abilist: Remove.
49758         * abilist/librt.abilist: Remove.
49759         * abilist/libthread_db.abilist: Remove.
49760         * abilist/libutil.abilist: Remove.
49761         * scripts/extract-abilist.awk: Remove.
49762         * scripts/merge-abilist.awk: Remove.
49763         * sysdeps/generic/libcidn.abilist: New file.
49764         * sysdeps/generic/libnss_compat.abilist: New file.
49765         * sysdeps/generic/libnss_db.abilist: New file.
49766         * sysdeps/generic/libnss_dns.abilist: New file.
49767         * sysdeps/generic/libnss_files.abilist: New file.
49768         * sysdeps/generic/libnss_hesiod.abilist: New file.
49769         * sysdeps/generic/libnss_nis.abilist: New file.
49770         * sysdeps/generic/libnss_nisplus.abilist: New file.
49771         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
49772         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
49773         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
49774         file.
49775         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
49776         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
49777         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
49778         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
49779         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
49780         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
49781         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
49782         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
49783         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
49784         file.
49785         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
49786         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
49787         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
49788         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
49789         file.
49790         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
49791         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
49792         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
49793         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
49794         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
49795         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
49796         file.
49797         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
49798         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
49799         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
49800         file.
49801         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
49802         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
49803         New file.
49804         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
49805         New file.
49806         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
49807         New file.
49808         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
49809         New file.
49810         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
49811         New file.
49812         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
49813         New file.
49814         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
49815         New file.
49816         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
49817         New file.
49818         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
49819         New file.
49820         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
49821         New file.
49822         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
49823         New file.
49824         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
49825         New file.
49826         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
49827         New file.
49828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
49829         file.
49830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
49831         New file.
49832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
49833         New file.
49834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
49835         file.
49836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
49837         New file.
49838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
49839         New file.
49840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
49841         file.
49842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
49843         New file.
49844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49845         New file.
49846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
49847         New file.
49848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
49849         New file.
49850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
49851         New file.
49852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
49853         New file.
49854         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
49855         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
49856         file.
49857         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
49858         New file.
49859         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
49860         file.
49861         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
49862         file.
49863         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
49864         file.
49865         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
49866         file.
49867         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
49868         file.
49869         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49870         New file.
49871         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
49872         file.
49873         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
49874         file.
49875         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
49876         New file.
49877         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
49878         file.
49879         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
49880         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
49881         file.
49882         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
49883         New file.
49884         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
49885         file.
49886         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
49887         file.
49888         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
49889         file.
49890         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
49891         file.
49892         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
49893         file.
49894         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49895         New file.
49896         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
49897         file.
49898         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
49899         file.
49900         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
49901         New file.
49902         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
49903         file.
49904         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
49905         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
49906         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
49907         file.
49908         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
49909         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
49910         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
49911         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
49912         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
49913         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
49914         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
49915         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
49916         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
49917         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
49918         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
49919         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
49920         file.
49921         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
49922         New file.
49923         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
49924         file.
49925         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
49926         file.
49927         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
49928         file.
49929         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
49930         file.
49931         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
49932         file.
49933         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
49934         New file.
49935         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
49936         New file.
49937         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
49938         file.
49939         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
49940         New file.
49941         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
49942         file.
49943         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
49944         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
49945         file.
49946         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
49947         New file.
49948         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
49949         file.
49950         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
49951         file.
49952         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
49953         file.
49954         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
49955         file.
49956         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
49957         file.
49958         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
49959         New file.
49960         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
49961         New file.
49962         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
49963         file.
49964         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
49965         New file.
49966         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
49967         file.
49969 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
49971         * conform/conformtest.pl: Fix typo in handling typed-constant from
49972         allow-header.
49974 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
49976         * README: Cut down references to pre-2.6 Linux kernels and
49977         Linuxthreads.  Update lists of configurations in libc and ports
49978         and sort alphabetically.  Say "or newer" with Linux kernel version
49979         requirements.
49981         * config.h.in [IS_IN_build]: Allow compiling without optimization.
49983 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49985         [BZ #887]
49986         * math/libm-test.inc (logb_test_downward): New test to expose
49987         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
49988         rounding mode.
49990 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
49992         [BZ #14027]
49993         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
49994         to be done.
49995         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
49996         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
49998 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
50000         * sysdeps/unix/i386/brk.S: Remove file.
50001         * sysdeps/unix/i386/dl-brk.S: Likewise.
50002         * sysdeps/unix/i386/pipe.S: Likewise.
50003         * sysdeps/unix/i386/sigreturn.S: Likewise.
50004         * sysdeps/unix/i386/syscall.S: Likewise.
50005         * sysdeps/unix/i386/vfork.S: Likewise.
50006         * sysdeps/unix/i386/wait.S: Likewise.
50008         * sysdeps/unix/common/tcsendbrk.c: Move to ...
50009         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
50011         * configure.in (arm*-none*): Do not allow without
50012         --enable-hacker-mode.
50013         (netbsd*): Remove case setting base_os.
50014         (386bsd*): Likewise.
50015         (freebsd*): Likewise.
50016         (bsdi*): Likewise.
50017         (osf*): Likewise.
50018         (sunos*): Likewise.
50019         (ultrix*): Likewise.
50020         (newsos*): Likewise.
50021         (dynix*): Likewise.
50022         (*bsd*): Likewise.
50023         (sysv*): Likewise.
50024         (isc*): Likewise.
50025         (esix*): Likewise.
50026         (sco*): Likewise.
50027         (minix*): Likewise.
50028         (irix4*): Likewise.
50029         (irix6*): Likewise.
50030         (solaris[2-9]*): Likewise.
50031         (none): Likewise.
50032         * configure: Regenerated.
50034 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50036         [BZ #11521]
50037         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
50038         overflow or cancellation in calculating denominator.
50039         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
50040         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
50041         down expression to avoid unexpected rounding in newer GCCs.
50042         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
50044 2012-04-26  David S. Miller  <davem@davemloft.net>
50046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
50047         long-double compat symbols.
50048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
50049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
50050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
50051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
50052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
50053         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
50054         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
50055         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
50056         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
50057         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
50058         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
50059         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
50060         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
50062 2012-04-25  David S. Miller  <davem@davemloft.net>
50064         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
50065         HWCAP_* values only after the memory barriers have been defined.
50066         (atomic_full_barrier): Define.
50067         (atomic_read_barrier): Define.
50068         (atomic_write_barrier): Define.
50070 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50072         * shlib-versions: Add libgcc_s version information.
50073         * sysdeps/generic/libgcc_s.h: Remove.
50074         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
50075         libgcc_s.h.
50076         * sysdeps/gnu/unwind-resume.c: Likewise.
50077         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
50079 2012-04-25  David S. Miller  <davem@davemloft.net>
50081         * sysdeps/unix/sparc/brk.S: Delete.
50082         * sysdeps/unix/sparc/dl-brk.S: Delete.
50083         * sysdeps/unix/sparc/pipe.S: Delete.
50084         * sysdeps/unix/sparc/sysdep.S: Delete.
50085         * sysdeps/unix/sparc/sysdep.h: Delete.
50086         * sysdeps/unix/sparc/vfork.S: Delete.
50087         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
50088         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
50089         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
50090         (ret_ERRVAL, r0, r1, MOVE): Define.
50091         (JUMPTARGET): Remove.
50092         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
50093         sysdeps/unix/sparc/sysdep.h
50094         (ENTRY, END): Remove.
50095         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50097 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
50099         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
50100         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
50101         -DIS_IN_build.
50103         * timezone/README: Update upstream location and email address for
50104         tzcode and tzdata.
50105         * timezone/zdump.c: Update from tzcode 2012b.
50106         * timezone/zic.c: Likewise.
50108         * configure.in (libc_cv_as_needed): Remove test.
50109         * configure: Regenerated.
50110         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
50111         conditional definition.
50112         [$(have-as-needed) != yes] (no-as-needed): Likewise.
50113         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
50114         * config.make.in (have-as-needed): Remove variable.
50116 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
50117             Paul Pluzhnikov  <ppluzhnikov@google.com>
50119         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
50120         strings correctly.
50122 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
50124         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
50125         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
50126         * sysdeps/sh/strlen.S: Likewise.
50128 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
50130         * sysdeps/unix/fork.S: Remove file.
50131         * sysdeps/unix/i386/fork.S: Likewise.
50132         * sysdeps/unix/sparc/fork.S: Likewise.
50134         * sysdeps/unix/system.c: Remove file.
50135         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
50137         * sysdeps/unix/getegid.S: Remove file.
50138         * sysdeps/unix/geteuid.S: Likewise.
50140 2012-04-24  Roland McGrath  <roland@hack.frob.com>
50142         * scripts/check-localplt.awk: New file.
50143         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
50144         of diff.
50145         * scripts/data/localplt-generic.data: Add a comment.
50147         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
50148         NODE when __dir_mkfile failed.
50149         * sysdeps/mach/hurd/symlinkat.c: Likewise.
50150         Reported by Ludovic Courtès <ludo@gnu.org>.
50152 2012-04-24  Andreas Jaeger  <aj@suse.de>
50154         * Makerules (common-clean): Also remove gen-as-const-headers
50155         files.
50157 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
50159         * Makerules (native-compile): Do not change working directory for
50160         build.  Use $(OUTPUT_OPTION) in command.
50161         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
50163 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50165         [BZ #13886]
50166         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
50167         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
50168         * math/libm-test.inc (floor_test): Add more tests.
50169         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
50171 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
50173         * sysdeps/unix/getdents.c: Remove file.
50174         * sysdeps/unix/sysv/getdents.c: Likewise.
50175         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
50177         * sysdeps/unix/syscalls.list (madvise): Add syscall from
50178         sysdeps/unix/mman/syscalls.list.
50179         (mmap): Likewise.
50180         (mprotect): Likewise.
50181         (msync): Likewise.
50182         (munmap): Likewise.
50183         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
50184         * sysdeps/unix/mman/syscalls.list: Remove.
50185         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
50187         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
50188         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
50189         * configure: Regenerated.
50190         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
50191         $(libgcc_s_suffix).
50192         * config.make.in (libgcc_s_suffix): Remove variable.
50194 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
50196         * sysdeps/unix/sysv/gethostname.c: Move to ...
50197         * sysdeps/posix/gethostname.c: ... here.
50199         * sysdeps/unix/execve.S: Remove file.
50201         * sysdeps/unix/_exit.S: Remove file.
50203 2012-04-23  Andreas Jaeger  <aj@suse.de>
50205         [BZ #13739]
50206         * manual/Makefile: Remove make dist support, there's no
50207         need for a stand-alone documentation tar ball.
50208         (TEXI2DVI): Define always, it's not in Makeconfig.
50209         (dist): Removed.
50210         (tar-it): Removed.
50211         (edition): Removed.
50212         (glibc-doc-$(edition).tar): Removed
50213         (%.Z): Removed.
50214         (%.gz): Removed.
50215         (%.uu): Removed.
50216         (ETAGS): Remove, it's in Makeconfig.
50217         (move-if-change): Remove, it's in Makeconfig.
50219 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
50221         [BZ #13970]
50222         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
50223         (strtod, strtof, strtold, strtol, strtoul, strtoq)
50224         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
50225         (strtod_l, strtof_l, strtold_l): Remove __wur.
50226         It is not necessarily an error to ignore strtol's return value.
50227         One can reliably look at the stored endptr to decide whether
50228         the number had valid syntax.
50230 2012-04-21  Andreas Jaeger  <aj@suse.de>
50232         [BZ #13739]
50233         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
50235 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
50237         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
50238         * sysdeps/unix/sysv/Versions: Remove file.
50240 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
50242         [BZ #13927]
50243         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50245 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
50247         [BZ #7064]
50248         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
50249         version from __vm86.
50251 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
50253         * sysdeps/unix/common/lxstat.c: Remove file.
50254         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
50256         * sysdeps/unix/sysv/Makefile: Remove file.
50258         * sysdeps/unix/sysv/direct.h: Remove file.
50260         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
50261         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
50262         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
50263         * sysdeps/unix/sysv/bits/signum.h: Likewise.
50264         * sysdeps/unix/sysv/bits/stat.h: Likewise.
50265         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
50266         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
50268         * sysdeps/unix/sysv/setrlimit.c: Remove file.
50270         * sysdeps/unix/xmknod.c: Remove file.
50271         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
50273         * sysdeps/unix/sysv/settimeofday.c: Remove file.
50275         * sysdeps/unix/sysv/i386/time.S: Remove file.
50277         * sysdeps/unix/fxstat.c: Remove file.
50278         * sysdeps/unix/xstat.c: Likewise.
50279         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
50281         * sysdeps/unix/sysv/sigaction.c: Remove file.
50283         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
50284         (sysdep_headers): Remove variable.
50285         [termio.h not in sysdep_headers] (generated): Likewise.
50286         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
50287         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
50288         * sysdeps/unix/sysv/tcdrain.c: Likewise.
50289         * sysdeps/unix/sysv/tcflow.c: Likewise.
50290         * sysdeps/unix/sysv/tcflush.c: Likewise.
50291         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
50292         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
50293         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
50294         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
50295         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
50297         * sysdeps/unix/siglist.c: Remove file.
50299         * sysdeps/unix/getppid.S: Remove file.
50301         * sysdeps/unix/mkdir.c: Remove file.
50302         * sysdeps/unix/rmdir.c: Likewise.
50304 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
50306         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
50307         ERR_MAX value.
50308         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
50309         errlist-compat value.
50311 2012-04-18  David S. Miller  <davem@davemloft.net>
50313         * sysdeps/generic/memcopy.h (reg_char): Delete.
50314         * debug/strcat_chk.c: Use char, not reg_char.
50315         * debug/strcpy_chk.c: Likewise.
50316         * debug/strncat_chk.c: Likewise.
50317         * debug/strncpy_chk.c: Likewise.
50318         * string/memchr.c: Likewise.
50319         * string/memrchr.c: Likewise.
50320         * string/rawmemchr.c: Likewise.
50321         * string/strcat.c: Likewise.
50322         * string/strchr.c: Likewise.
50323         * string/strchrnul.c: Likewise.
50324         * string/strcmp.c: Likewise.
50325         * string/strcpy.c: Likewise.
50326         * string/strncat.c: Likewise.
50327         * string/strncmp.c: Likewise.
50328         * string/strncpy.c: Likewise.
50330 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
50332         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
50333         __builtin_memcopy is called when src and dest ranges are known to not
50334         overlap.
50336 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
50338         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
50339         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
50340         fwd_align_merge macro call.
50341         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
50342         bwd_align_merge macro call.
50343         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50345 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
50347         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
50348         bwd_align_merge macros.
50349         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
50350         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
50351         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50353 2012-04-18  David S. Miller  <davem@davemloft.net>
50355         * sysdeps/sparc/sparc64/memcopy.h: Delete.
50357 2012-04-18  Andreas Jaeger  <aj@suse.de>
50359         [BZ# 6794]
50360         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
50361         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
50362         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50364         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
50365         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
50366         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50368         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
50369         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
50370         Adjust for changed ldbl-128 files.
50372         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
50373         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
50374         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50376 2012-04-17  David S. Miller  <davem@davemloft.net>
50378         * sysdeps/sparc/sparc32/memcopy.h: Delete.
50380 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
50382         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
50383         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
50384         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
50385         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
50386         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
50387         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
50389 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50391         [BZ #6794]
50392         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
50393         * math/libm-test.inc: Add ilogb errno and exception tests.
50394         * math/w_ilogb.c: New file: ilogb wrapper.
50395         * math/w_ilogbf.c: New file: ilogbf wrapper.
50396         * math/w_ilogbl.c: New file: ilogbl wrapper.
50397         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
50398         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
50399         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
50400         exception being thrown with 0.0 as argument.
50401         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
50402         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
50403         exception being thrown with 0.0 as argument.
50404         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
50405         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50406         exception being thrown with 0.0 as argument.
50407         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
50408         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50409         exception being thrown with 0.0 as argument.
50410         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
50411         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
50412         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
50413         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
50414         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
50415         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
50416         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
50417         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
50418         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
50420 2012-04-17  Petr Baudis  <pasky@ucw.cz>
50422         * include/sys/uio.h: Change __vector to __iovec to avoid clash
50423         with altivec.
50425 2012-04-16  Marek Polacek  <polacek@redhat.com>
50427         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
50429 2012-04-16  Marek Polacek  <polacek@redhat.com>
50431         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
50432         operands of fdivp instruction.
50434 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
50436         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
50437         * elf/tst-auditmod3b.c: Likewise.
50438         * elf/tst-auditmod4b.c: Likewise.
50439         * elf/tst-auditmod5b.c: Likewise.
50440         * elf/tst-auditmod6b.c: Likewise.
50441         * elf/tst-auditmod6c.c: Likewise.
50442         * elf/tst-auditmod7b.c: Likewise.
50443         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
50444         * sysdeps/x86_64/preconfigure.in: Likewise.
50445         * sysdeps/x86_64/preconfigure: Regenerated.
50447 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
50449         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
50450         __ILP32__.
50452 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
50454         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50455         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
50457 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
50459         [BZ #13973]
50460         * locale/iso-639.def: Fix gl language name. Spotted by
50461         Yaron Shahrabani.
50463 2012-04-12  Roland McGrath  <roland@hack.frob.com>
50465         [BZ #2074]
50466         * libio/libio.h (__io_write_fn): Update comment.
50468 2012-04-12  Petr Baudis  <pasky@ucw.cz>
50470         [BZ #2074]
50471         * stdio.texi (Hook Functions): The user provided writer function
50472         is not allowed to return -1.
50474 2012-04-11  David S. Miller  <davem@davemloft.net>
50476         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50478 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
50480         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
50481         Add a leading slash to rtkaio.
50483 2012-04-11  Jim Meyering  <meyering@redhat.com>
50485         [BZ #11959]
50486         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
50487         It is not necessarily an error to ignore fwrite's return
50488         value.  One can reliably use ferror to test for errors after
50489         the fact.
50491 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
50493         * bits/types.h (__snseconds_t): New type.
50494         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
50496         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
50497         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50498         (__SNSECONDS_T_TYPE): Likewise.
50499         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50500         (__SNSECONDS_T_TYPE): Likewise.
50501         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50502         (__SNSECONDS_T_TYPE): Likewise.
50504 2012-04-10  Andreas Jaeger  <aj@suse.de>
50506         [BZ #2636]
50507         * manual/time.texi (Processor Time): Return type of times is
50508         elapsed real time since an arbitrary point in the past.
50509         (CPU Time): Move CLK_TCK from here...
50510         (Processor Time): ...to here.  Correct description.
50511         * manual/conf.texi (Constants for Sysconf): Correct description of
50512         _SC_CLK_TCK.
50514 2012-04-10  David S. Miller  <davem@davemloft.net>
50516         [BZ #13967]
50517         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
50518         where the is a gap between DT_REL(A) and DT_JMPREL.
50520 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
50522         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
50523         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
50524         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
50526 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50528         * elf/dl-support.c (_dl_inhibit_cache): New variable.
50529         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
50530         (dl_main): Handle --inhibit-cache.
50531         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
50532         _dl_inhibit_cache.
50533         * elf/dl-load.c (_dl_map_object): Use it.
50534         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
50536 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
50538         [BZ #13872]
50539         * sysdeps/i386/fpu/e_powl.S (p78): New object.
50540         (__ieee754_powl): Saturate large exponents rather than testing for
50541         overflow of y*log2(x).
50542         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50543         * math/libm-test.inc (pow_test): Do not permit spurious overflow
50544         exceptions.
50546         [BZ #11521]
50547         * math/s_ctan.c: Include <float.h>.
50548         (__ctan): Avoid internal overflow or cancellation in calculating
50549         denominator.
50550         * math/s_ctanf.c: Likewise.
50551         * math/s_ctanl.c: Likewise.
50552         * math/s_ctanh.c: Likewise.
50553         * math/s_ctanhf.c: Likewise.
50554         * math/s_ctanhl.c: Likewise.
50555         * math/libm-test.inc (ctan_test): Add more tests.
50556         (ctanh_test): Likewise.
50557         * sysdeps/i386/fpu/libm-test-ulps: Update.
50558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50560 2012-04-09  Andreas Jaeger  <aj@suse.de>
50562         [BZ #6894]
50563         * manual/filesys.texi (Directory Entries): Mention that d_namlen
50564         is an optional BSD extension.
50566         [BZ #10254]
50567         * manual/stdio.texi (Opening Streams): Document additional fopen
50568         parameters.
50570 2012-04-09  Roland McGrath  <roland@hack.frob.com>
50572         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
50573         %eax without telling the compiler.
50575 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
50577         [BZ # 13963]
50578         * manual/install.texi: Use sourceware.org.
50580 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
50582         [BZ #13873]
50583         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
50584         (__ieee754_pow): Generate overflow and underflow using huge*huge
50585         and tiny*tiny rather than just returning constant infinity or zero
50586         for large exponents.
50587         * math/libm-test.inc (pow_test): Require overflow exceptions for
50588         applicable cases of large exponents.
50590         [BZ #706]
50591         * sysdeps/i386/fpu/e_pow.S (p10): New object.
50592         (__ieee754_pow): Use iterative multiplication algorithm only for
50593         integer exponents with absolute value below 1024.  Check for odd
50594         integer exponents when using algorithm for real exponents.
50595         * math/libm-test.inc (pow_test): Add more tests.
50596         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50598 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
50600         [BZ #13705]
50601         * math/libm-test.inc (exp_test): Do not allow overflow exception
50602         on underflow test.
50604 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
50606         [BZ #13705]
50607         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
50608         instead of __kernel_standard_f.
50610 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
50612         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
50613         * sysdeps/x86_64/memset_chk.S: Likewise.
50615 2012-04-08  Andreas Jaeger  <aj@suse.de>
50617         [BZ #10153]
50618         * manual/startup.texi (Environment Access): Describe return value
50619         for putenv and setenv.
50621         [BZ #6895]
50622         * manual/filesys.texi (Directory Entries): Add description for
50623         DT_LNK.
50625         [BZ #6890]
50626         * manual/filesys.texi (Directory Entries): Clarify that it's file
50627         system not operating system in the description of DT_UNKNOWN.
50629         [BZ #6578]
50630         * manual/syslog.texi (closelog): Fix reference, it's openlog.
50632 2012-04-08  Stephen Compall  <s11@member.fsf.org>
50634         [BZ #6649]
50635         * manual/llio.texi (Opening and Closing Files): Add cross
50636         reference to explain mode argument.
50638 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
50640         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
50641         * sysdeps/x86_64/memset_chk.S: Likewise.
50643 2012-04-07  David S. Miller  <davem@davemloft.net>
50645         * elf/elf.h (R_SPARC_WDISP10): Define.
50646         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
50647         R_SPARC_SIZE32.
50648         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
50649         R_SPARC_SIZE64 and R_SPARC_H34.
50651 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
50653         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
50654         conditions and remove no longer applicable assertion.
50656 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
50658         * bits/byteswap.h: Include <features.h>.
50659         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
50660         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
50662 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
50664         * bits/byteswap.h (__bswap_16): Removed.
50665         Include <bits/byteswap-16.h> to get __bswap_16.
50666         * sysdeps/i386/bits/byteswap.h: Likewise.
50667         * sysdeps/s390/bits/byteswap.h: Likewise.
50668         * sysdeps/x86_64/bits/byteswap.h: Likewise.
50669         * bits/byteswap-16.h: New file.
50670         * sysdeps/i386/bits/byteswap-16.h: Likewise.
50671         * sysdeps/s390/bits/byteswap-16.h: Likewise.
50672         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
50673         * string/Makefile (headers): Add bits/byteswap-16.h.
50675 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
50677         [BZ #13895]
50678         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
50679         extra indirection.
50680         * nss/Makefile (tests-static, tests): Add tst-nss-static.
50681         * nss/tst-nss-static.c: New.
50683 2012-04-06  Robert Millan  <rmh@gnu.org>
50685         [BZ #6486]
50686         * manual/llio.texi (File Position Primitive): lseek
50687         refers to WHENCE when it really means OFFSET.
50689 2012-04-06  Andreas Jaeger  <aj@suse.de>
50691         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
50692         strncmp declarations.
50694         * abilist/libc.abilist: Add __poll and __ppoll.
50696 2012-04-05  David S. Miller  <davem@davemloft.net>
50698         * scripts/check-local-headers.sh: Accept a host triplet in the
50699         path matched by the exclude regexp.
50701         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
50702         definition.
50703         * sysdeps/powerpc/powerpc32/dl-machine.h
50704         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
50705         * sysdeps/s390/s390-32/dl-machine.h
50706         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50707         * sysdeps/sparc/sparc32/dl-machine.h
50708         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50709         * sysdeps/sparc/sparc64/dl-machine.h
50710         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50712         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
50713         lazy binding.
50714         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
50715         undefined symbol errors.
50717         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
50718         DT_NEEDED entries.
50720 2012-04-05  Michael Matz  <matz@suse.de>
50722         [BZ #13592]
50723         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
50725 2012-04-05  Andreas Jaeger  <aj@suse.de>
50727         [BZ #13908]
50728         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
50729         comment.
50731 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50733         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
50734         which ROUND is no valid rounding mode.
50736 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50738         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
50739         read again.
50740         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
50742 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50744         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
50745         an exception using FPU order intentionally.
50747 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50749         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
50750         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
50751         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
50752         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
50754 2012-04-05  Simon Josefsson  <simon@josefsson.org>
50756         [BZ #12340]
50757         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
50758         EINVAL when BUFLEN is too smal.
50760 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
50762         [BZ #13553]
50763         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
50764         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
50766 2012-04-03  Andreas Jaeger  <aj@suse.de>
50768         [BZ #13938]
50769         * manual/setjmp.texi (System V contexts): Fix sentence.
50771         [BZ #13926]
50772         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
50773         New macro for this case.
50774         [!__GNUC__] (__bswap_64): New inline function for this case.
50775         * sysdeps/x86_64/bits/byteswap.h: Likewise.
50776         * bits/byteswap.h: Likewise.
50777         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
50778         ull, guard with __GLIBC_HAVE_LONG_LONG.
50780         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
50781         __GLIBC_HAVE_LONG_LONG.
50783         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
50784         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
50786 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50788         [BZ #13691]
50789         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
50790         inptr and inend, rather than using last_ch.
50792 2012-04-02  David S. Miller  <davem@davemloft.net>
50794         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
50795         * stdio-common/printf-parse.h (read_int): Change return type to
50796         'int', return -1 on INT_MAX overflow.
50797         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
50798         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
50799         overflows INT_MAX.  Check for overflow of in-format-string precision
50800         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
50801         SIZE_MAX not INT_MAX for integer overflow test.
50802         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
50803         skip the construct in the format string but do not record anything.
50804         * stdio-common/bug22.c: Adjust to test both width/prevision
50805         INT_MAX overflow as well as total length INT_MAX overflow.  Check
50806         explicitly for proper errno values.
50808 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
50810         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
50811         CHAR_MAX.
50812         * string/test-strcmp.c [! WIDE]: Likewise.
50813         * time/tst-mktime2.c: Likewise for INT_MAX.
50814         * string/test-string.h: #include <sys/param.h> for MIN.
50816         * csu/init-first.c (__libc_init_first): Call __ctype_init.
50817         * sysdeps/i386/init-first.c (init): Likewise.
50818         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
50819         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
50820         * sysdeps/sh/init-first.c (init): Likewise.
50822 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
50824         * po/ru.po: Update from translation team.
50825         * po/vi.po: Likewise.
50827 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
50829         * resolv/nss_dns/dns-host.c: Merge copyright years.
50831 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50833         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50834         Optimize memcpy with prefetch if
50835         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
50836         src, dst pointers have unequal 16 byte alignments.
50838 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
50840         [BZ #13928]
50841         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
50842         from a CNAME entry and return the minimum ttl for the query.
50843         (gaih_getanswer_slice): Likewise.
50845 2012-03-30  Jeff Law  <law@redhat.com>
50847         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
50848         due to long keys.
50849         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
50850         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
50852         * resolv/nss_dns/dns-host.c: Update copyright year.
50854 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
50856         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
50857         requests to save a system call.  Fix check that all bytes are sent.
50859         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
50860         comments for sendmmsg.
50862 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50864         [BZ #13691]
50865         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
50866         with only 1 character between 0x0041 and 0x01b0.
50867         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
50868         * wcsmbs/tst-mbsnrtowcs.c: New file.
50870 2012-03-29  David S. Miller  <davem@davemloft.net>
50872         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
50873         small copies by hand.
50875 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50877         [BZ #13761]
50878         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
50879         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
50880         group memberships.
50882 2012-03-28  David S. Miller  <davem@davemloft.net>
50884         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
50885         that branches into memcpy.
50886         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
50887         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
50888         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
50889         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
50890         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
50891         bits.
50892         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
50893         implementation too.
50894         * sysdeps/sparc/mempcpy.S: New file.
50896         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
50897         the IFUNC routine in the libc case.
50898         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
50900         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
50901         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
50902         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
50903         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
50904         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
50905         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
50906         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
50907         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
50909         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
50910         loop to 256 bytes instead of 64 bytes and fix test signedness.
50912         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
50913         * sysdeps/sparc/sparc32/Makefile: rather than here...
50914         * sysdeps/sparc/sparc64/Makefile: and here.
50916 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
50918         * malloc/mallocbug.c: Avoid warnings about unused variables.
50920 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
50922         [BZ #13760]
50923         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
50924         in the right place. Discard and retry query if response is
50925         larger than input buffer size.
50927 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
50929         [BZ #369]
50930         [BZ #2678]
50931         [BZ #3866]
50932         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
50933         x for large integer exponent.
50934         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
50935         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
50936         sign of result as needed afterwards.
50937         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
50938         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
50939         result for underflowing pow the same as for overflow.
50940         (__kernel_standard_l): Handle powl overflow and underflow here
50941         rather than calling __kernel_standard.
50942         * math/libm-test.inc (pow_test): Add more tests.
50944         [BZ #3868]
50945         [BZ #13879]
50946         [BZ #13910]
50947         [BZ #13911]
50948         [BZ #13912]
50949         [BZ #13913]
50950         [BZ #13915]
50951         [BZ #13916]
50952         [BZ #13917]
50953         [BZ #13918]
50954         [BZ #13919]
50955         [BZ #13920]
50956         [BZ #13921]
50957         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
50958         * sysdeps/ieee754/k_standard.c: Include <float.h>.
50959         (__kernel_standard_l): New function.
50960         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
50961         __kernel_standard.
50962         * math/w_acosl.c (__acosl): Likewise.
50963         * math/w_asinl.c (__asinl): Likewise.
50964         * math/w_atan2l.c (__atan2l): Likewise.
50965         * math/w_atanhl.c (__atanhl): Likewise.
50966         * math/w_coshl.c (__coshl): Likewise.
50967         * math/w_exp10l.c (__exp10l): Likewise.
50968         * math/w_exp2l.c (__exp2l): Likewise.
50969         * math/w_fmodl.c (__fmodl): Likewise.
50970         * math/w_hypotl.c (__hypotl): Likewise.
50971         * math/w_j0l.c (__j0l, __y0l): Likewise.
50972         * math/w_j1l.c (__j1l, __y1l): Likewise.
50973         * math/w_jnl.c (__jnl, __ynl): Likewise.
50974         * math/w_lgammal.c (__lgammal): Likewise.
50975         * math/w_log10l.c (__log10l): Likewise.
50976         * math/w_log2l.c (__log2l): Likewise.
50977         * math/w_logl.c (__logl): Likewise.
50978         * math/w_powl.c (__powl): Likewise.
50979         * math/w_remainderl.c (__remainderl): Likewise.
50980         * math/w_scalbl.c (sysv_scalbl): Likewise.
50981         * math/w_sinhl.c (__sinhl): Likewise.
50982         * math/w_sqrtl.c (__sqrtl): Likewise.
50983         * math/w_tgammal.c (__tgammal): Likewise.
50984         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
50985         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
50986         * math/libm-test.inc (acos_test): Add more tests.
50987         (acosh_test): Likewise.
50988         (asin_test): Likewise.
50989         (atanh_test): Likewise.
50990         (exp_test): Likewise.
50991         (exp10_test): Likewise.
50992         (exp2_test): Likewise.
50993         (expm1_test): Likewise.
50994         (lgamma_test): Likewise.
50995         (log_test): Likewise.
50996         (log10_test): Likewise.
50997         (log1p_test): Likewise.
50998         (log2_test): Likewise.
50999         (pow_test): Do not allow some spurious overflow exceptions.
51000         (sqrt_test): Add more tests.
51001         (tgamma_test): Likewise.
51002         (y0_test): Likewise.
51003         (y1_test): Likewise.
51004         (yn_test): Likewise.
51006 2012-03-27  Anton Blanchard  <anton@samba.org>
51008         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
51009         MAP_HUGETLB.
51010         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51011         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
51012         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51014 2012-03-27  David S. Miller  <davem@davemloft.net>
51016         * conform/Makefile: Run run-conformtest.sh using $(BASH).
51018         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
51019         have-as-vis3 check.
51021 2012-03-27  Andreas Jaeger  <aj@suse.de>
51023         * sysdeps/x86_64/elf/configure.in: Moved to ...
51024         * sysdeps/x86_64/configure.in: ... here.
51025         * sysdeps/x86_64/elf/start.S: Moved to ...
51026         * sysdeps/x86_64/start.S: ... here.
51027         * sysdeps/x86_64/elf/configure: Delete.
51029         * sysdeps/x86_64/configure.in: Merge contents from
51030         sysdeps/i386/configure.in (without i686 check).
51032         * sysdeps/i386/elf/Versions: Merge into ...
51033         * sysdeps/i386/Versions: ... this.
51034         * sysdeps/i386/elf/Versions: Delete file.
51035         * sysdeps/i386/elf/start.S: Moved to ...
51036         * sysdeps/i386/start.S: ...here.
51037         * sysdeps/i386/elf/configure.in: Merge into...
51038         * sysdeps/i386/configure.in: ...here.
51039         * sysdeps/i386/elf/configure.in: Delete file.
51040         * sysdeps/i386/elf/configure: Delete file.
51042         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
51043         * debug/backtracesyms.c: ... here.
51044         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
51045         * debug/backtracesymsfd.c: ... here.
51046         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
51047         * sysdeps/generic/ifunc-sel.h: ... here.
51049         * sysdeps/unix/i386/start.c: Delete file.
51050         * sysdeps/unix/sparc/start.c: Delete file.
51051         * sysdeps/unix/start.c: Delete file.
51053         * sysdeps/sh/elf/configure.in: Moved to ...
51054         * sysdeps/sh/configure.in: ... here.
51055         * sysdeps/sh/elf/start.S: Moved to ...
51056         * sysdeps/sh/start.S: ... here.
51057         * sysdeps/sh/elf/configure: Delete file.
51059         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
51060         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
51061         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
51062         * sysdeps/powerpc/powerpc64/entry.h: ... here.
51063         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
51064         * sysdeps/powerpc/powerpc64/start.S: here.
51065         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
51066         * sysdeps/powerpc/powerpc64/Makefile: ... this.
51067         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
51068         * sysdeps/powerpc/powerpc64/configure.in: ... this.
51069         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
51071         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
51072         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
51073         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
51074         * sysdeps/powerpc/powerpc32/start.S: ... here.
51075         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
51076         * sysdeps/powerpc/powerpc32/configure.in: ... this.
51077         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
51079         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
51080         * sysdeps/powerpc/ifunc-sel.h: ... here.
51081         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
51082         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
51084         * sysdeps/sparc/elf/configure.in: Moved to ...
51085         * sysdeps/sparc/configure.in: ... here.
51086         * sysdeps/sparc/elf/configure: Delete file.
51087         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
51088         * sysdeps/sparc/sparc32/start.S: ... here.
51089         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
51090         * sysdeps/sparc/sparc64/start.S: ... here.
51091         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
51092         * sysdeps/sparc/sparc32/Makefile: ... this.
51093         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
51094         * sysdeps/sparc/sparc64/Makefile: ... this.
51096         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
51097         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
51098         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
51099         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
51100         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
51101         * sysdeps/s390/s390-32/setjmp.S: ... here.
51102         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
51103         * sysdeps/s390/s390-32/configure.in: ... here.
51104         * sysdeps/s390/s390-32/elf/configure: Delete file.
51105         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
51106         * sysdeps/s390/s390-32/start.S: ... here.
51108         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
51109         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
51110         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
51111         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
51112         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
51113         * sysdeps/s390/s390-64/setjmp.S: ... here.
51114         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
51115         * sysdeps/s390/s390-64/configure.in: ... here
51116         * sysdeps/s390/s390-64/elf/configure: Delete file.
51117         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
51118         * sysdeps/s390/s390-64/start.S: ... here.
51119         * sysdeps/s390/s390-64/elf/configure: Delete.
51121         * configure.in: Remove support for elf directories in sysdeps.
51123         * configure: Regenerated.
51124         * sysdeps/i386/configure: Regenerated.
51125         * sysdeps/powerpc/powerpc32/configure: Regenerated.
51126         * sysdeps/powerpc/powerpc64/configure: Regenerated.
51127         * sysdeps/s390/s390-32/configure: Regenerated.
51128         * sysdeps/s390/s390-64/configure: Regenerated.
51129         * sysdeps/sh/configure: Regenerated.
51130         * sysdeps/sparc/configure: Regenerated.
51131         * sysdeps/x86_64/configure: Regenerated.
51133 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
51135         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51137         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
51138         denormal result into account.
51140 2012-03-25  Roland McGrath  <roland@hack.frob.com>
51142         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
51143         Reported by Allan McRae <allan@archlinux.org>.
51145 2012-03-23  Jeff Law  <law@redhat.com>
51147         * nss/getnssent.c (__nss_getent): Fix typo.
51149 2012-03-23  David S. Miller  <davem@davemloft.net>
51151         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51153 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
51155         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
51156         to pad to uint64_t for each field.
51157         (dl_tls_index): Replace unsigned long with uint64_t.
51159 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
51160         Paul Pluzhnikov  <ppluzhnikov@google.com>
51162         [BZ #6528]
51163         * grp/Makefile (otherlibs): Don't set it.
51164         * inet/Makefile (otherlibs): Likewise.
51165         * login/Makefile (otherlibs): Likewise.
51166         * nscd/Makefile (otherlibs): Likewise.
51167         * posix/Makefile (otherlibs): Likewise.
51168         * pwd/Makefile (otherlibs): Likewise.
51169         * rt/Makefile (otherlibs): Likewise.
51170         * sunrpc/Makefile (otherlibs): Likewise.
51171         * nss/Makefile (otherlibs): Likewise.
51172         Add libnss_files to routines and static-only-routines.
51173         ($(objpfx)getent): Remove rule.
51174         * resolv/Makefile: Add libnss_dns and libresolv to routines and
51175         static-only-routines.
51177 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
51179         [BZ #13892]
51180         * math/s_cexp.c: Include <float.h>.
51181         (__cexp): Handle exp result overflowing not necessarily
51182         overflowing both real and imaginary parts of result.
51183         * math/s_cexpf.c: Likewise.
51184         * math/s_cexpl.c: Likewise.
51185         * math/libm-test.inc (cexp_test): Add more tests.
51186         * sysdeps/i386/fpu/libm-test-ulps: Update.
51187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51189 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51191         * include/link.h (ELFW): New macro.
51192         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
51193         Replace ELF64_R_TYPE with ELFW(R_TYPE).
51195 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51197         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
51198         with uint64_t.
51200 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51202         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
51203         declaration.
51204         (struct La_x32_retval): Likewise.
51206 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51208         * sysdeps/x86_64/preconfigure.in: New file.
51209         * sysdeps/x86_64/preconfigure: New generated file.
51211 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
51213         [BZ #13824]
51214         * math/e_exp2l.c: Include <float.h>.
51215         (__ieee754_exp2l): Handle overflow and underflow cases
51216         separately.  Only pass fractional part of argument to
51217         __ieee754_expl.
51218         * math/libm-test.inc (exp2_test): Add more tests.
51220         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
51221         negating x to take absolute value.
51222         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
51223         Likewise.
51224         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
51225         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
51226         Likewise.
51227         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
51228         computing low part if x was negated.
51229         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
51231 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
51233         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
51234         la_x32_gnu_pltexit.
51235         (pltexit): Cast int_retval to ptrdiff_t.
51236         * elf/tst-auditmod3b.c: Likewise.
51237         * elf/tst-auditmod4b.c: Likewise.
51238         * elf/tst-auditmod5b.c: Likewise.
51239         * elf/tst-auditmod6b.c: Likewise.
51240         * elf/tst-auditmod6c.c: Likewise.
51241         * elf/tst-auditmod7b.c: Likewise.
51243         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
51244         and x32_gnu_pltexit.
51246         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
51247         __ELF_NATIVE_CLASS.
51248         (La_x32_regs): New macro.
51249         (La_x32_retval): Likewise.
51250         (la_x32_gnu_pltenter): New function prototype.
51251         (la_x32_gnu_pltexit): Likewise.
51253 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
51255         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
51256         exponent.
51258         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51260         * configure.in (libc_cv_cc_nofma): Check for option to disable
51261         generation of FMA instructions.
51262         * configure: Regenerate.
51263         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
51264         * sysdeps/ieee754/dbl-64/Makefile: New file.
51265         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
51266         Remove brandred-fma4.
51267         (CFLAGS-brandred-fma4.c): Remove.
51268         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
51269         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
51270         define.
51271         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
51272         define.
51274 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
51276         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
51277         LLONG_MAX != LONG_MAX.
51278         (_itoa_word): Use _ITOA_WORD_TYPE on value.
51279         (_fitoa_word): Likewise.
51280         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
51281         LLONG_MAX != LONG_MAX.
51282         * stdio-common/_itowa.h: Include <_itoa.h>.
51283         (_itowa_word): Use _ITOA_WORD_TYPE on value.
51284         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
51285         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
51286         only if not defined.
51287         (_ITOA_WORD_TYPE): Likewise.
51288         (_itoa_word): Use _ITOA_WORD_TYPE on value.
51289         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
51291 2012-03-21  David S. Miller  <davem@davemloft.net>
51293         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51295 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
51297         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
51298         of x86_64 when setting libc_cv_slibdir, libdir and
51299         libc_cv_localedir.
51300         * sysdeps/unix/sysv/linux/configure: Regenerated.
51302 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
51304         * manual/lang.texi (Old Varargs): Remove section.
51305         (How Variadic): Update menu.
51306         (va_start): Do not mention varargs.h.
51308 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
51309             Joseph Myers  <joseph@codesourcery.com>
51311         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
51312         link test.
51313         * configure: Regenerated.
51315 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
51317         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
51318         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
51319         conformtest.pl
51321 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
51323         * NOTES: Remove.
51324         * Makefile (files-for-dist): Remove NOTES.
51325         (NOTES): Remove rule.
51326         * README: Don't refer to NOTES.
51327         * manual/creature.texi: Don't include macros.texi.
51328         * manual/intro.texi (creature.texi): Remove comment referring to
51329         NOTES.
51331         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
51332         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
51333         * configure: Regenerated.
51334         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
51335         LIBC_TRY_CC_OPTION.
51336         (libc_cv_as_i686): Likewise.
51337         (libc_cv_cc_avx): Likewise.
51338         (libc_cv_cc_sse2avx): Likewise.
51339         (libc_cv_cc_fma4): Likewise.
51340         (libc_cv_cc_novzeroupper): Likewise.
51341         * sysdeps/i386/configure: Regenerated.
51343         [BZ #13883]
51344         * sysdeps/i386/fpu/s_cexp.S: Remove.
51345         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
51346         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
51347         * math/libm-test.inc (cexp_test): Add more tests.
51348         * sysdeps/i386/fpu/libm-test-ulps: Update.
51349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51351 2012-03-21  Allan McRae  <allan@archlinux.org>
51353         * timezone/Makefile: Do not install iso3166.tab and zone.tab
51355 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
51357         [BZ #13871]
51358         * math/w_exp2.c: Do not include <float.h>.
51359         (o_threshold, u_threshold): Remove.
51360         (__exp2): Calculate result before checking finiteness and calling
51361         __kernel_standard.
51362         * math/w_exp2f.c: Likewise.
51363         * math/w_exp2l.c: Likewise.
51364         * math/libm-test.inc (exp2_test): Require overflow exception for
51365         1e6 input.
51367         [BZ #3866]
51368         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
51369         range of signed 64-bit integers before using fistpll.  Remove
51370         checks for whether integers fit in mantissa bits.
51371         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
51372         the range of signed 32-bit integers before using fistpl.  Remove
51373         checks for whether integers fit in mantissa bits.
51374         * sysdeps/i386/fpu/e_powl.S (p64): New object.
51375         (__ieee754_powl): Test for y outside the range of signed 64-bit
51376         integers before using fistpll.  Reduce 64-bit values to 63-bit
51377         ones as needed.
51378         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
51379         divide-by-zero is raised for zero to large negative powers.
51380         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
51381         (__ieee754_powl): Test for y outside the range of signed 64-bit
51382         integers before using fistpll.  Reduce 64-bit values to 63-bit
51383         ones as needed.
51384         * math/libm-test.inc (pow_test): Add more tests.
51386 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
51388         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
51389         <stdio-common/_itoa.h>.
51390         * debug/segfault.c: Likewise.
51391         * elf/dl-cache.c: Likewise.
51392         * elf/dl-minimal.c: Likewise.
51393         * elf/dl-misc.c: Likewise.
51394         * elf/dl-sysdep.c: Likewise.
51395         * elf/dl-version.c: Likewise.
51396         * elf/rtld.c: Likewise.
51397         * hurd/hurdsock.c: Likewise.
51398         * hurd/lookup-retry.c: Likewise.
51399         * malloc/malloc.c: Likewise.
51400         * malloc/mtrace.c: Likewise.
51401         * nscd/nscd_getgr_r.c: Likewise.
51402         * nscd/nscd_getpw_r.c: Likewise.
51403         * nscd/nscd_getserv_r.c: Likewise.
51404         * posix/getopt_init.c: Likewise.
51405         * posix/wordexp.c: Likewise.
51406         * stdio-common/_itoa.c: Likewise.
51407         * stdio-common/printf_fphex.c: Likewise.
51408         * stdio-common/vfprintf.c: Likewise.
51409         * string/_strerror.c: Likewise.
51410         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
51411         * sysdeps/i386/i686/hp-timing.h: Likewise.
51412         * sysdeps/mach/_strerror.c: Likewise.
51413         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
51414         * sysdeps/mach/hurd/sethostid.c: Likewise.
51415         * sysdeps/mach/hurd/xmknodat.c: Likewise.
51416         * sysdeps/mach/xpg-strerror.c: Likewise.
51417         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
51418         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
51419         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
51420         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
51421         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
51422         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
51423         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
51424         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
51425         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
51426         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
51427         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
51428         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
51429         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
51430         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
51431         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
51432         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
51433         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
51434         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
51435         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
51436         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
51437         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
51439         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
51441         * stdio-common/_itoa.h: Moved to ...
51442         * sysdeps/generic/_itoa.h: Here.
51444         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
51446         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
51447         instead of "_itoa.h" and "_itowa.h".
51448         * stdio-common/vfprintf.: Likewise.
51450 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
51452         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
51453         <bits/wordsize.h>.
51454         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
51455         (__signbit): Likwise.
51456         (llrintf): Likwise.
51457         (llrint): Likwise.
51459 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
51461         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
51462         __WORDSIZE != 64.
51464 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
51466         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
51467         OVERFLOW_EXCEPTION_OK.
51468         * math/libm-test.inc ("Philosophy"): Update comment about
51469         exception testing.
51470         (OVERFLOW_EXCEPTION): Define.
51471         (OVERFLOW_EXCEPTION_OK): Likewise.
51472         (INVALID_EXCEPTION_OK): Renumber.
51473         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51474         (IGNORE_ZERO_INF_SIGN): Likewise.
51475         (test_exceptions): Handle FE_OVERFLOW.
51476         (exp10_test): Expect overflow exceptions.
51477         (exp2_test): Likewise.
51478         (expm1_test): Likewise.
51479         (nextafter_test): Likewise.
51480         (pow_test): Likewise.
51481         (scalbn_test): Likewise.
51482         (scalbln_test): Likewise.
51484 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51486         * sysdeps/x86_64/bits/atomic.h
51487         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
51488         64bit integer.
51489         (atomic_exchange_acq): Likewise.
51490         (__arch_exchange_and_add_body): Likewise.
51491         (__arch_add_body): Likewise.
51492         (atomic_add_negative): Likewise.
51493         (atomic_add_zero): Likewise.
51495 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51497         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
51498         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
51500 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51502         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
51503         Check __x86_64__ instead of __WORDSIZE.
51505 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51507         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
51509 2012-03-19  David S. Miller  <davem@davemloft.net>
51511         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51513         * sysdeps/sparc/fpu/fenv_private.h: New file.
51514         * sysdeps/sparc/fpu/math_private.h: Use it.
51515         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
51516         Remove.
51517         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
51518         (libc_feholdexcept_setroundl): Remove.
51519         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
51520         Remove.
51521         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
51522         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
51524 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51526         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
51527         int64_t instead of long int.
51528         (INSERT_WORDS64): Likwise.
51530 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51532         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
51533         _Unwind_GetCFA return to _Unwind_Ptr first.
51535 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
51537         [BZ #13629]
51538         * math/s_clog.c: Include <float.h>.
51539         (__clog): Scale large or subnormal inputs.
51540         * math/s_clogf.c: Likewise.
51541         * math/s_clogl.c: Likewise.
51542         * math/s_clog10.c: Include <float.h>.
51543         (M_LOG10_2): Define.
51544         (__clog10): Scale large or subnormal inputs.
51545         * math/s_clog10f.c: Likewise.
51546         * math/s_clog10l.c: Likewise.
51547         * math/libm-test.inc (clog_test): Add more tests.
51548         (clog10_test): Likewise.
51549         * sysdeps/i386/fpu/libm-test-ulps: Update.
51550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51552         [BZ #11451]
51553         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
51554         x and y.
51555         * math/libm-test.inc (atan2_test): Add another test.
51557         * Makerules (common-objdir-compile): Remove.
51558         * sysdeps/unix/Makefile (config-generated): Do not add
51559         $(unix-generated) to variable.
51560         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
51561         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
51562         Remove rule.
51563         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
51564         Likewise.
51565         [generic bits/local_lim.h] (before-compile): Do not append to
51566         variable.
51567         [generic bits/local_lim.h] (common-generated): Likewise.
51568         [generic sys/param.h] (before-compile): Do not append to variable.
51569         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
51570         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
51571         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
51572         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
51573         include.
51574         [generic sys/param.h] (sys/param.h-includes): Remove variable.
51575         [generic sys/param.h] (sys/param.h-includes): Remove rule.
51576         [generic sys/param.h] ($(addprefix
51577         $(common-objpfx),$(sys/param.h-includes))): Likewise.
51578         [generic sys/param.h] (common-generated): Do not append to
51579         variable.
51580         [generic sys/param.h] (sysdep_headers): Likewise.
51581         [generic bits/errno.h] (before-compile): Do not append to
51582         variable.
51583         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
51584         rule.
51585         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
51586         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
51587         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
51588         [generic bits/errno.h] (common-generated): Do not append to
51589         variable.
51590         [generic bits/ioctls.h] (before-compile): Do not append to
51591         variable.
51592         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
51593         rule.
51594         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
51595         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
51596         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
51597         rule.
51598         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
51599         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
51600         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
51601         [generic bits/ioctls.h] (common-generated): Do not append to
51602         variable.
51603         [generic sys/syscall.h] (syscall.h): Remove variable.
51604         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
51605         rule.
51606         [generic sys/syscall.h] (before-compile): Do not append to
51607         variable.
51608         [generic sys/syscall.h] (common-generated): Likewise.
51609         * sysdeps/unix/errnos-tmpl.c: Remove file.
51610         * sysdeps/unix/errnos.awk: Likewise.
51611         * sysdeps/unix/ioctls-tmpl.c: Likewise.
51612         * sysdeps/unix/ioctls.awk: Likewise.
51613         * sysdeps/unix/mk-local_lim.c: Likewise.
51614         * sysdeps/unix/snarf-ioctls: Likewise.
51616 2012-03-19  Richard Henderson  <rth@twiddle.net>
51618         * sysdeps/i386/fpu/fenv_private.h: New file.
51619         * sysdeps/i386/fpu/math_private.h: Use it.
51620         (math_opt_barrier, math_force_eval): Remove.
51621         (libc_feholdexcept_setround_53bit): Remove.
51622         (libc_feupdateenv_53bit): Remove.
51623         * sysdeps/x86_64/fpu/math_private.h: Likewise.
51624         (math_opt_barrier, math_force_eval): Remove.
51625         (libc_feholdexcept): Remove.
51626         (libc_feholdexcept_setround): Remove.
51627         (libc_fetestexcept, libc_fesetenv): Remove.
51628         (libc_feupdateenv_test): Remove.
51629         (libc_feupdateenv, libc_feholdsetround): Remove.
51630         (libc_feresetround): Remove.
51632         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
51633         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
51635         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
51636         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
51637         (libc_feupdateenv_testl): New.
51638         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
51639         (libc_feupdateenv_testf): New.
51640         (libc_feupdateenv): Use libc_feupdateenv_test.
51641         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
51642         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
51644         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
51645         (libc_feholdsetroundf, libc_feholdsetroundl): New.
51646         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
51647         (libc_feresetround_noex): New.
51648         (libc_feresetround_noexf): New.
51649         (libc_feresetround_noexl): New.
51650         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
51651         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
51652         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
51653         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
51654         SET_RESTORE_ROUND.
51655         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
51656         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
51657         (__cos): Likewise.
51658         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
51659         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
51660         SET_RESTORE_ROUND_NOEX.
51661         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
51662         SET_RESTORE_ROUND_NOEXF.
51663         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
51664         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
51665         (libc_feholdsetroundf): New.
51666         (libc_feresetround, libc_feresetroundf): New.
51668         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
51669         (libc_feholdexcept_setround_53bit): Convert from macro to function.
51670         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
51672         * sysdeps/generic/math_private.h: Include <fenv.h>.
51673         (default_libc_feholdexcept): New.
51674         (default_libc_feholdexcept_setround): New.
51675         (default_libc_fesetenv, default_libc_feupdateenv): New.
51676         (libc_feholdexcept): Only define if undefined.
51677         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
51678         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
51679         (libc_feholdexcept_setroundl): Likewise.
51680         (libc_feholdexcept_setround_53bit): Likewise.
51681         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
51682         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
51683         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
51684         (libc_feupdateenv_53bit): Likewise.
51685         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
51686         (libc_feholdexcept): Convert from macro to inline function.
51687         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
51688         (libc_fesetenv, libc_feupdateenv): Likewise.
51690         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
51691         not previously defined.
51692         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
51693         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
51694         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
51695         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
51696         * sysdeps/ieee754/flt-32/math_private.h: New file.
51697         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
51698         math_private.h below SET_FLOAT_WORD.
51699         (__isnan, __isinf_ns, __finite): Remove.
51700         (__isnanf, __isinf_nsf, __finitef): Remove.
51702 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
51704         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51706 2012-03-17  David S. Miller  <davem@davemloft.net>
51708         [BZ #6471]
51709         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
51710         for 2.16.
51712 2012-03-16  David S. Miller  <davem@davemloft.net>
51714         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
51715         warnings.
51717         [BZ #6471]
51718         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
51719         properly.
51720         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
51721         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
51722         sysdep_routines when subdir is sysvipc.
51723         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
51724         __getshmlba helper.
51726         * sysdeps/sparc/fpu/libm-test/ulps: Update.
51728 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
51730         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
51731         [__LP64__].
51733 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
51735         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
51736         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
51737         (__lround): Renamed to ...
51738         (__llround): This.  Replace long int with long long int.
51739         Define lround functions as aliases of llround functions.
51740         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
51742 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
51744         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
51745         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
51746         adresses to uintptr_t.  Replace "long int" and "unsigned long
51747         int" with "greg_t" on va_arg.
51749 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
51751         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
51752         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
51754         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
51755         Move e_machine check before EI_CLASS check.  Handle x32
51756         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
51757         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
51758         SKIP_EM_IA_64 and include
51759         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
51761         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
51762         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
51763         (add_system_dir): New macro.
51765         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
51766         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
51768 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
51770         [BZ #2551]
51771         [BZ #2552]
51772         [BZ #2553]
51773         [BZ #2554]
51774         [BZ #2562]
51775         [BZ #2563]
51776         [BZ #2565]
51777         [BZ #2566]
51778         [BZ #2576]
51779         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
51780         (y0): Likewise.
51781         * math/w_j0f.c (j0f): Likewise.
51782         (y0f): Likewise.
51783         * math/w_j0l.c (__j0l): Likewise.
51784         (__y0l): Likewise.
51785         * math/w_j1.c (j1): Likewise.
51786         (y1): Likewise.
51787         * math/w_j1f.c (j1f): Likewise.
51788         (y1f): Likewise.
51789         * math/w_j1l.c (__j1l): Likewise.
51790         (__y1l): Likewise.
51791         * math/w_jn.c (jn): Likewise.
51792         (yn): Likewise.
51793         * math/w_jnf.c (jnf): Likewise.
51794         (ynf): Likewise.
51795         * math/w_jnl.c (__jnl): Likewise.
51796         (__ynl): Likewise.
51797         * math/libm-test.inc (j0_test): Add more tests.
51798         (j1_test): Likewise.
51799         (jn_test): Likewise.  Add trailing semicolon to existing test.
51800         (y0_test): Likewise.
51801         (y1_test): Likewise.
51802         * sysdeps/i386/fpu/libm-test-ulps: Update.
51803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51805         [BZ #13851]
51806         [BZ #13854]
51807         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
51808         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
51809         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
51810         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
51811         (__tanl): Set errno for infinite argument.
51812         * sysdeps/i386/fpu/mptan.c: Remove.
51813         * sysdeps/i386/fpu/s_tan.S: Likewise.
51814         * sysdeps/i386/fpu/s_tanl.S: Likewise.
51815         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
51816         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
51817         * math/libm-test.inc (tan_test): Add more tests and enable more
51818         tests for double and long double.
51819         * sysdeps/i386/fpu/libm-test-ulps: Update.
51820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51822 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
51824         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
51825         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
51827 2012-03-16  Roland McGrath  <roland@hack.frob.com>
51829         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
51830         * configure.in: Use it for both main tree and add-ons.
51831         * configure: Regenerated.
51833 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
51835         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
51837 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
51839         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
51840         in comment.
51842         [BZ #13851]
51843         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
51844         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
51845         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
51846         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
51847         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
51848         infinite argument.
51849         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
51850         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
51851         != 0 for prec == 2.
51852         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
51853         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
51854         * sysdeps/i386/fpu/s_cosl.S: Likewise.
51855         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
51856         * sysdeps/i386/fpu/s_sinl.S: Likewise.
51857         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
51858         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
51859         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
51860         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
51861         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
51862         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
51863         * math/libm-test.inc (cos_test): Add more tests and enable more
51864         tests for long double.
51865         (sin_test): Likewise.
51866         (sincos_test): Likewise.
51867         * sysdeps/i386/fpu/libm-test-ulps: Update.
51868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51870 2012-03-16  David S. Miller  <davem@davemloft.net>
51872         * sysdeps/sparc/fpu/math_private.h: New file.
51874 2012-03-15  David S. Miller  <davem@davemloft.net>
51876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
51877         file.
51878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
51879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
51880         file.
51881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
51882         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
51883         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
51884         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
51885         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
51886         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
51887         sysdep routines.
51888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
51890         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
51891         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
51893         * sysdeps/sparc/sparc-ifunc.h: New file.
51894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
51895         sparc-ifunc.h
51896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
51897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
51898         Likewise.
51899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
51900         Likewise.
51901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
51902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
51903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
51905         Likewise.
51906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
51907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
51908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
51909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
51910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
51911         Likewise.
51912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
51913         Likewise.
51914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
51915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
51916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
51917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
51918         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
51919         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
51920         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
51921         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
51922         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
51923         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
51924         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
51925         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
51926         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
51927         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
51928         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
51929         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
51930         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
51931         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
51932         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
51933         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
51934         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
51935         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
51936         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
51937         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
51939 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
51941         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
51942         scaling.
51943         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51945 2012-03-15  Andreas Jaeger  <aj@suse.de>
51947         [BZ #13852]
51948         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
51949         ieee754/flt-32 implementation for sin, cos and sincos.
51950         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
51951         * sysdeps/i386/fpu/s_cosf.S: Likewise.
51952         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
51953         * sysdeps/i386/fpu/s_sinf.S: Likewise.
51954         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
51955         ieee754/flt-32 implementation for tan.
51957         * math/libm-test.inc (cos_test): Enable some large input tests for
51958         float as well
51959         (sin_test): Likewise.
51960         (sincos_test): Likewise.
51961         (tan_test): Add tests for large input.
51963         * sysdeps/i386/fpu/libm-test-ulps: Update.
51965 2012-03-15  Andreas Jaeger  <aj@suse.de>
51967         [BZ #13658]
51968         * math/libm-test.inc (cos_test): Add more test cases.
51969         (sin_test): Likewise.
51970         (sincos_test): Likewise.
51972 2012-03-15  Andreas Jaeger  <aj@suse.de>
51974         [BZ #13837]
51975         * math/libm-test.inc (cos_test): Add a test case for large input
51976         value.
51977         (sin_test): Likewise.
51978         (sincos_test): Likewise.
51980 2012-03-15  Andreas Jaeger  <aj@suse.de>
51981             Joseph Myers  <joseph@codesourcery.com>
51983         [BZ #13658]
51984         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
51985         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
51986         * sysdeps/i386/fpu/branred.c: Likewise.
51987         * sysdeps/i386/fpu/dosincos.c: Likewise.
51988         * sysdeps/i386/fpu/mpa.c: Likewise.
51989         * sysdeps/i386/fpu/s_cos.S: Likewise.
51990         * sysdeps/i386/fpu/s_sin.S: Likewise.
51991         * sysdeps/i386/fpu/s_sincos.S: Likewise.
51992         * sysdeps/i386/fpu/sincos32.c: Likewise.
51994         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
51995         Define.
51996         (libc_feupdateenv_53bit): Define.
51997         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
51998         Define.
51999         (libc_feupdateenv_53bit): Define.
52001         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
52002         53 bit (without extend i386 double precision).
52004         * math/libm-test.inc (sincos_test): Add tests for large input.
52005         (sin): Likewise.
52006         (cos): Likewise.
52008         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
52010 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
52012         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52014 2012-03-15  David S. Miller  <davem@davemloft.net>
52016         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
52017         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
52018         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
52019         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
52020         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
52021         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
52022         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
52023         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
52024         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
52025         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
52026         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
52027         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
52028         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
52029         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
52030         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
52031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
52032         file.
52033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
52034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
52035         file.
52036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
52037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
52038         file.
52039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
52040         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
52041         file.
52042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
52043         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
52044         fmin/fmax sysdep routines.
52045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
52047 2012-03-14  David S. Miller  <davem@davemloft.net>
52049         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
52050         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
52051         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
52052         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
52053         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
52054         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
52055         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
52056         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
52057         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
52058         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
52059         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
52060         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
52061         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
52062         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
52063         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
52064         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
52065         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
52066         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
52067         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
52068         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
52069         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
52070         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
52071         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
52072         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
52073         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
52074         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
52075         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
52076         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
52077         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
52078         routines.
52079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
52080         file.
52081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
52082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
52083         file.
52084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
52085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
52086         file.
52087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
52088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
52089         file.
52090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
52091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
52092         file.
52093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
52094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
52095         file.
52096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
52097         file.
52098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
52099         file.
52100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
52101         file.
52102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
52103         New file.
52104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
52105         file.
52106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
52107         file.
52108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
52109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
52110         file.
52111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
52112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
52113         file.
52114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
52115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
52116         file.
52117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
52118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
52119         VIS3 routines.
52121         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
52122         New file.
52124         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52126         * sysdeps/sparc/configure.in: New file.
52127         * sysdeps/sparc/configure: Generate.
52128         * configure.in (libc_cv_sparc_as_vis3): Substitute.
52129         * configure: Regenerate.
52130         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
52131         * config.make.in (have-as-vis3): New.
52132         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
52133         available use -Av9d instead of -Av9a.
52134         * sysdeps/sparc/sparc64/Makefile: Likewise.
52135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
52136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
52137         New file.
52138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
52139         file.
52140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
52141         New file.
52142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
52143         file.
52144         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
52145         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
52146         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
52147         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
52148         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
52150         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
52151         fzeros/fnegs to load 0x80000000 into a float register instead of
52152         using the stack.
52153         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
52155 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
52157         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52158         bits/syscall.h.
52159         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
52160         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
52161         ($(inst_includedir)/bits/syscall.h): Remove rule.
52162         ($(objpfx)bits/syscall.d): Include instead of
52163         $(objpfx)syscall-list.d.
52164         (generated): Change syscall-list.h and syscall-list.d to
52165         bits/syscall.h and bits/syscall.d.
52167 2012-03-14  Roland McGrath  <roland@hack.frob.com>
52169         [BZ #13846]
52170         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
52172 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
52174         [BZ #13841]
52175         * math/s_csqrt.c: Include <float.h>.
52176         (__csqrt): Scale large or subnormal inputs.
52177         * math/s_csqrtf.c: Likewise.
52178         * math/s_csqrtl.c: Likewise.
52179         * math/libm-test.inc (csqrt_test): Add more tests.
52180         * sysdeps/i386/fpu/libm-test-ulps: Update.
52181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52183         [BZ #13840]
52184         * math/libm-test.inc (hypot_test): Add more tests.
52186 2012-03-13  David S. Miller  <davem@davemloft.net>
52188         [BZ #13840]
52189         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
52190         double-precision for the calculation instead of scaling.
52192 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
52194         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
52195         manipulate bits before adding and subtracting TWO52[sx].
52196         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
52197         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
52198         Likewise.
52199         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
52201 2012-03-13  David S. Miller  <davem@davemloft.net>
52203         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
52204         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
52205         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
52206         rtld-global-offsets.h
52207         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52209         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
52210         large parameters.
52212         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
52214         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
52215         'err' in the ifdef scope in which it is actually used.
52217         * nss/nss_db/db-init.c: Include string.h
52219 2012-03-12  David S. Miller  <davem@davemloft.net>
52221         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52222         masking out of the most significant byte of random value used.
52223         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52224         Fix coding style in previous change.
52226         * sysdeps/unix/sysv/linux/kernel-features.h
52227         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
52228         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
52229         expression.
52230         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
52231         later.
52233 2012-03-11  David S. Miller  <davem@davemloft.net>
52235         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
52236         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
52237         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
52238         for 'resultvar' otherwise things get truncated on 64-bit.
52240         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52241         Fix masking out of the most significant byte of random value used.
52243         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52245 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
52247         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52249 2012-03-09  David S. Miller  <davem@davemloft.net>
52251         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
52252         variables with appropriate CPP guards.
52253         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
52254         from the frame pointer, not the stack pointer.  Correct layout
52255         comments.  Fix test on resulting framesize and the management of
52256         the outregs buffer for pltexit.  Preserve floating point return
52257         values across _dl_call_pltexit call.
52258         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
52259         framesize and the management of the outregs buffer for pltexit.
52260         Preserve floating point return values across _dl_call_pltexit
52261         call.
52262         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
52263         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
52264         (la_sparc64_gnu_pltexit): New functions.
52265         (print_exit): Fix format string for return register value.
52267 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
52269         * sunrpc/Makefile (others): Add rpcgen.
52270         ($(objpfx)rpcgen): Remove special build rule and dependency on
52271         libc.
52272         * sunrpc/rpcgen.c: New file.
52274 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
52276         [BZ #13673]
52277         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
52278         * stdio-common/bug-vfprintf-nargs.c: Likewise.
52279         * sysdeps/i386/crti.S: Likewise.
52280         * sysdeps/i386/crtn.S: Likewise.
52281         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
52282         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
52283         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
52284         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
52285         * sysdeps/sh/crti.S: Likewise.
52286         * sysdeps/sh/crtn.S: Likewise.
52287         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
52289         [BZ #13673]
52290         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
52291         with URL.
52292         * locale/programs/locfile-kw.gperf: Likewise.
52293         * locale/programs/charmap-kw.h: Regenerated.
52294         * locale/programs/locfile-kw.h: Likewise.
52296         [BZ #13673]
52297         * intl/plural.y: Replace FSF snail mail address with URL.
52298         * intl/plural.c: Regenerated.
52300 2012-03-09  Richard Henderson  <rth@twiddle.net>
52302         * include/math_private.h: Remove file.
52303         * math/math_private.h: Move file ...
52304         * sysdeps/generic/math_private.h: ... here.
52306         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
52307         * sysdeps/powerpc/fpu/math_private.h: Likewise.
52308         * sysdeps/x86_64/fpu/math_private.h: Likewise.
52310         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
52311         and <math_private.h>.
52312         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
52313         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
52314         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
52315         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
52316         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
52317         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
52318         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52319         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52320         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52321         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52322         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52323         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52324         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52325         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52326         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52327         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52328         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52329         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52330         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52331         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52332         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52333         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52334         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52335         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52336         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
52337         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52338         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52339         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52340         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52341         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52342         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52343         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52344         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
52345         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52346         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
52347         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52348         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52349         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
52350         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
52351         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52352         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
52353         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
52354         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
52355         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
52356         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
52357         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
52358         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
52359         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
52360         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52361         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
52362         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
52363         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
52364         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
52365         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
52366         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
52367         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52368         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52369         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
52370         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
52371         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
52372         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52373         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
52374         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52375         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
52376         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
52377         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52378         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52379         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52380         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
52381         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
52382         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
52383         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52384         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
52385         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52386         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
52387         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
52388         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
52389         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52390         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
52391         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
52392         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
52393         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
52394         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
52395         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52396         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52397         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
52398         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
52399         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
52400         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52401         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52402         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52403         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52404         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52405         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52406         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52407         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52408         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52409         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52410         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52411         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52412         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52413         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52414         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52415         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52416         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52417         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52418         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52419         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52420         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52421         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52422         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52423         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52424         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52425         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52426         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
52427         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52428         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52429         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
52430         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52431         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52432         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52433         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
52434         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52435         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
52436         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52437         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
52438         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52439         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
52440         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
52441         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
52442         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
52443         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52444         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52445         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
52446         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
52447         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
52448         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52449         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
52450         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
52451         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52452         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52453         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
52454         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
52455         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
52456         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
52457         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
52458         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
52459         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
52460         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
52461         * sysdeps/ieee754/k_standard.c: Likewise.
52462         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52463         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52464         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52465         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52466         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52467         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52468         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52469         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52470         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52471         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52472         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52473         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52474         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52475         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52476         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52477         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52478         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
52479         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52480         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52481         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
52482         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
52483         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
52484         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52485         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
52486         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
52487         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
52488         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
52489         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
52490         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
52491         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52492         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
52493         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
52494         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
52495         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
52496         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
52497         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
52498         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
52499         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
52500         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
52501         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
52502         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
52503         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
52504         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
52505         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
52506         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
52507         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
52508         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
52509         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
52510         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
52511         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52512         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52513         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
52514         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
52515         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
52516         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52517         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52518         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
52519         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
52520         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
52521         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
52522         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52523         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
52524         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
52525         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52526         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52527         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52528         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52529         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52530         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52531         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52532         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52533         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52534         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52535         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52536         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52537         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52538         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
52539         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52540         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52541         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
52542         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
52543         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
52544         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
52545         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
52546         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
52547         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
52548         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
52549         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
52550         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
52551         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
52552         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
52553         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
52554         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
52555         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
52556         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
52557         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
52558         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
52559         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
52560         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
52561         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
52562         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
52563         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
52564         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52565         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
52566         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
52567         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52568         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52569         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
52570         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
52571         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
52572         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
52573         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
52574         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52575         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52576         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52577         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52578         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52579         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52580         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52581         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52582         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52583         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52584         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52585         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52586         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52587         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
52588         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
52589         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
52590         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
52591         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52592         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
52593         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
52594         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
52595         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
52596         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
52597         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
52598         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
52599         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
52600         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
52601         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
52602         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
52603         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
52604         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
52605         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
52606         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
52607         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
52608         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
52609         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
52610         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
52611         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
52612         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
52613         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52614         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
52615         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
52616         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
52617         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
52618         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
52619         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
52620         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
52621         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
52622         * sysdeps/ieee754/s_lib_version.c: Likewise.
52623         * sysdeps/ieee754/s_matherr.c: Likewise.
52624         * sysdeps/ieee754/s_signgam.c: Likewise.
52625         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52626         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52627         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
52628         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
52629         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
52630         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
52631         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
52632         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
52633         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
52634         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
52635         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
52636         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
52637         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
52638         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
52639         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
52640         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
52641         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
52642         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
52643         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
52644         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52645         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52647 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
52649         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
52650         * sunrpc/rpc_main.c: Likewise.
52651         * sunrpc/rpc_svcout.c: Likewise.
52653 2012-03-09  David S. Miller  <davem@davemloft.net>
52655         * include/math_private.h: New file.
52657 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
52659         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
52660         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
52661         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
52662         from <bits/socket_type.h>.
52663         (enum __socket_type): Don't define here.
52664         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
52665         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52666         bits/socket_type.h.
52668         [BZ #13566]
52669         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
52670         checking __USE_GNU.
52672         * Makerules ($(inst_includedir)/%.h): New rule.
52673         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
52674         (install-others): Remove variable setting.
52675         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
52677 2012-03-08  Richard Henderson  <rth@twiddle.net>
52679         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
52680         from macro to inline function; merge with the
52681         !__LIBC_INTERNAL_MATH_INLINES version.
52682         (__ieee754_sqrtf): Likewise.
52684         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
52685         to inline function.
52686         (__rintf, __floor, __floorf): Likewise.
52688         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
52689         macro to inline function.
52690         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
52692         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
52693         not <math/math_private.h>.
52695 2012-03-08  David S. Miller  <davem@davemloft.net>
52697         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
52698         copyright year.
52699         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
52701 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
52703         * resolv/gai_misc.c (handle_requests): Fix struct timespec
52704         normalization.
52705         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
52706         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
52708 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
52710         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
52711         be defined individually, they must be defined as a block.  Define
52712         S for printing a string instead of hidint the different by using a
52713         macro for adding the 'l'.
52714         * stdio-common/tst-fphex-wide.c: Adjust.
52716 2012-03-07  Marek Polacek  <polacek@redhat.com>
52718         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
52720 2012-03-08  Marek Polacek  <polacek@redhat.com>
52722         [BZ #13806]
52723         * stdio-common/Makefile (tests): Add tst-fphex-wide.
52724         * stdio-common/tst-fphex.c: Define a few macros to make the
52725         test reusable.  Use them.
52726         * stdio-common/tst-fphex-wide.c: New file.
52728 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
52730         [BZ #6911]
52731         * manual/macros.texi (gnusystems): New macro.
52732         (nongnusystems): Likewise.
52733         (gnulinuxhurdsystems): Likewise.
52734         (gnuhurdsystems): Likewise..
52735         (gnulinuxsystems): Likewise.
52736         * manual/charset.texi: Use new macros or @theglibc{} to refer to
52737         variants of the GNU system, not "GNU system".
52738         * manual/conf.texi: Likewise.
52739         * manual/errno.texi: Likewise.  Update example of errno macro
52740         expansion.
52741         * manual/filesys.texi: Likewise.
52742         (getumask): Document as specific to GNU/Hurd.
52743         * manual/install.texi: Likewise.  Reword some references to
52744         GNU/Linux.
52745         * manual/intro.texi: Likewise.
52746         * manual/io.texi: Likewise.
52747         (File Name Portability): Detail which constraints are inapplicable
52748         to all GNU systems and which are only inapplicable to GNU/Hurd.
52749         * manual/job.texi: Likewise.
52750         * manual/llio.texi: Likewise.
52751         (O_NOCTTY): Document as present on GNU/Linux.
52752         * manual/maint.texi: Likewise.
52753         * manual/memory.texi: Likewise.
52754         * manual/pattern.texi: Likewise.
52755         * manual/pipe.texi: Likewise.
52756         * manual/process.texi: Likewise.
52757         * manual/resource.texi: Likewise.
52758         (RUSAGE_CHILDREN): Remove statement about specifying a particular
52759         child on GNU/Hurd.
52760         * manual/setjmp.texi: Likewise.
52761         * manual/signal.texi: Likewise.
52762         * manual/startup.texi: Likewise.
52763         * manual/stdio.texi: Likewise.
52764         * manual/terminal.texi: Likewise.
52765         (ONLCR): Document as POSIX.
52766         (OXTABS): Document availability on GNU/Linux as XTABS.
52767         (ONOEOT): Document availability separately from other bits.
52768         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
52769         * manual/time.texi: Likewise.
52770         * manual/users.texi: Likewise.
52771         * INSTALL: Regenerated.
52772         * sysdeps/gnu/errlist.c: Regenerated.
52774         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
52775         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
52776         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
52777         puts.
52778         * configure: Regenerated.
52780 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
52782         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
52783         default includes instead of AC_HEADER_CHECK.
52784         * sysdeps/i386/configure: Regenerated.
52786         [BZ #10716]
52787         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
52788         * math/s_cacoshf.c (__cacoshf): Likewise.
52789         * math/s_cacoshl.c (__cacoshl): Likewise.
52790         * math/s_casinh.c (__casinh): Set signs of result from argument.
52791         * math/s_casinhf.c (__casinhf): Likewise.
52792         * math/s_casinhl.c (__casinhl): Likewise.
52793         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
52794         (casinh_test): Add more tests.
52795         * sysdeps/i386/fpu/libm-test-ulps: Update.
52796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52798 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
52800         * po/zh_TW.po: Update from translation team.
52802         * login/Makefile (distribute): Remove variable.
52803         * catgets/Makefile: Likewise.
52804         * mach/Makefile: Likewise.
52805         * malloc/Makefile: Likewise.
52806         * misc/Makefile: Likewise.
52807         * iconv/Makefile: Likewise.
52808         * nscd/Makefile: Likewise.
52809         * hurd/Makefile: Likewise.
52810         * manual/Makefile: Likewise.
52811         * locale/Makefile: Likewise.
52812         * intl/Makefile: Likewise.
52813         * conform/Makefile: Likewise.
52814         * nss/Makefile: Likewise.
52815         * time/Makefile: Likewise.
52816         * soft-fp/Makefile: Likewise.
52817         * dirent/Makefile: Likewise.
52818         * gmon/Makefile: Likewise.
52819         * po/Makefile: Likewise.
52820         * rt/Makefile: Likewise.
52821         * socket/Makefile: Likewise.
52822         * math/Makefile: Likewise.
52823         * signal/Makefile: Likewise.
52824         * debug/Makefile: Likewise.
52825         * elf/Makefile: Likewise.
52826         * timezone/Makefile: Likewise.
52827         * stdlib/Makefile: Likewise.
52828         * iconvdata/Makefile: Likewise.
52829         * sunrpc/Makefile: Likewise.
52830         * io/Makefile: Likewise.
52831         * argp/Makefile: Likewise.
52832         * inet/Makefile: Likewise.
52833         * hesiod/Makefile: Likewise.
52834         * grp/Makefile: Likewise.
52835         * csu/Makefile: Likewise.
52836         * wctype/Makefile: Likewise.
52837         * crypt/Makefile: Likewise.
52838         * libio/Makefile: Likewise.
52839         * string/Makefile: Likewise.
52840         * nis/Makefile: Likewise.
52841         * resolv/Makefile: Likewise.
52842         * stdio-common/Makefile: Likewise.
52843         * wcsmbs/Makefile: Likewise.
52844         * dlfcn/Makefile: Likewise.
52845         * posix/Makefile: Likewise.
52847         [BZ #6959]
52848         * timezone/Makefile: Don't install timezone files, just the programs
52849         and scripts.
52851 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
52853         * nss/databases.def: Add missing gshadow entry.
52855         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
52857 2012-03-06  Marek Polacek  <polacek@redhat.com>
52859         [BZ #13726]
52860         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
52861         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
52862         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
52863         * stdio-common/tst-long-dbl-fphex.c: New file.
52865 2012-03-06  David S. Miller  <davem@davemloft.net>
52867         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52868         (set_obp_int): New function.
52869         (get_obp_int): New function.
52870         (__get_clockfreq_via_dev_openprom): Likewise.
52871         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
52872         Avoid unused variable warnings on 'val' and use builtin_expect.
52873         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
52874         __builtin_expect.
52875         (INLINE_CLONE_SYSCALL): Likewise.
52877 2012-03-05  David S. Miller  <davem@davemloft.net>
52879         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52881 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
52883         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52885         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
52886         only for |x| >= 40.
52887         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52889 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
52891         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
52892         Replace gettimeofday with __vdso_gettimeofday.
52894         * sysdeps/unix/sysv/linux/x86_64/init-first.c
52895         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
52896         __vdso_clock_gettime and __vdso_getcpu.
52898         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
52899         time with __vdso_time.
52901 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
52903         * manual/lang.texi (size_t): Note types to which size_t may be
52904         equivalent with the GNU C Library, but do not describe when
52905         differences between them are significant.
52907 2012-03-05  Andreas Jaeger  <aj@suse.de>
52909         * sysdeps/i386/fpu/libm-test-ulps: Update.
52911 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
52913         [BZ #3976]
52914         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
52915         (__ieee754_pow): Save and restore rounding mode and use
52916         round-to-nearest for main computations.
52917         * math/libm-test.inc (pow_test_tonearest): New function.
52918         (pow_test_towardzero): Likewise.
52919         (pow_test_downward): Likewise.
52920         (pow_test_upward): Likewise.
52921         (main): Call the new functions.
52922         * sysdeps/i386/fpu/libm-test-ulps: Update.
52923         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52925         [BZ #3976]
52926         * math/libm-test.inc (cosh_test_tonearest): New function.
52927         (cosh_test_towardzero): Likewise.
52928         (cosh_test_downward): Likewise.
52929         (cosh_test_upward): Likewise.
52930         (sinh_test_tonearest): Likewise.
52931         (sinh_test_towardzero): Likewise.
52932         (sinh_test_downward): Likewise.
52933         (sinh_test_upward): Likewise.
52934         (main): Call the new functions.
52935         * sysdeps/i386/fpu/libm-test-ulps: Update.
52936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52938 2012-03-05  Tom de Vries  <tom@codesourcery.com>
52940         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
52941         default stack guard is set in last bytes.
52942         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
52944 2012-03-05  Kees Cook  <keescook@chromium.org>
52946         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
52948         [BZ #13656]
52949         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
52950         possibly allocate from heap instead of stack.
52951         * stdio-common/bug-vfprintf-nargs.c: New file.
52952         * stdio-common/Makefile (tests): Add nargs overflow test.
52954 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
52956         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52958 2012-03-03  Marek Polacek  <polacek@redhat.com>
52960         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
52961         * math/math_private.h: Likewise.
52962         * stdlib/tst-strtod.c: Likewise.
52963         * sysdeps/i386/i486/bits/atomic.h: Likewise.
52964         * sysdeps/x86_64/bits/atomic.h: Likewise.
52966 2012-03-02  David S. Miller  <davem@davemloft.net>
52968         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
52969         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
52970         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
52971         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
52972         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
52973         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
52974         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
52975         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
52977 2012-03-02  Roland McGrath  <roland@hack.frob.com>
52979         [BZ #13792]
52980         * manual/examples/README: New file, says the example source files
52981         can be used under GPL>=2.
52982         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
52983         line containing just "*/".
52984         * manual/examples/add.c: Add copyright header (GPL>=2).
52985         * manual/examples/argp-ex1.c: Likewise.
52986         * manual/examples/argp-ex2.c: Likewise.
52987         * manual/examples/argp-ex3.c: Likewise.
52988         * manual/examples/argp-ex4.c: Likewise.
52989         * manual/examples/atexit.c: Likewise.
52990         * manual/examples/db.c: Likewise.
52991         * manual/examples/dir.c: Likewise.
52992         * manual/examples/dir2.c: Likewise.
52993         * manual/examples/execinfo.c: Likewise.
52994         * manual/examples/filecli.c: Likewise.
52995         * manual/examples/filesrv.c: Likewise.
52996         * manual/examples/fmtmsgexpl.c: Likewise.
52997         * manual/examples/genpass.c: Likewise.
52998         * manual/examples/inetcli.c: Likewise.
52999         * manual/examples/inetsrv.c: Likewise.
53000         * manual/examples/isockad.c: Likewise.
53001         * manual/examples/longopt.c: Likewise.
53002         * manual/examples/memopen.c: Likewise.
53003         * manual/examples/memstrm.c: Likewise.
53004         * manual/examples/mkfsock.c: Likewise.
53005         * manual/examples/mkisock.c: Likewise.
53006         * manual/examples/mygetpass.c: Likewise.
53007         * manual/examples/pipe.c: Likewise.
53008         * manual/examples/popen.c: Likewise.
53009         * manual/examples/rprintf.c: Likewise.
53010         * manual/examples/search.c: Likewise.
53011         * manual/examples/select.c: Likewise.
53012         * manual/examples/setjmp.c: Likewise.
53013         * manual/examples/sigh1.c: Likewise.
53014         * manual/examples/sigusr.c: Likewise.
53015         * manual/examples/stpcpy.c: Likewise.
53016         * manual/examples/strdupa.c: Likewise.
53017         * manual/examples/strftim.c: Likewise.
53018         * manual/examples/strncat.c: Likewise.
53019         * manual/examples/subopt.c: Likewise.
53020         * manual/examples/swapcontext.c: Likewise.
53021         * manual/examples/termios.c: Likewise.
53022         * manual/examples/testopt.c: Likewise.
53023         * manual/examples/testpass.c: Likewise.
53024         * manual/examples/timeval_subtract.c: Likewise.
53026         [BZ #13792]
53027         * manual/time.texi (Elapsed Time): Move timeval_subtract example
53028         function to ...
53029         * manual/timeval_subtract.c.texi: ... here, new file.
53031 2012-03-02  David S. Miller  <davem@davemloft.net>
53033         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
53035 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
53037         [BZ #3976]
53038         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
53039         (__sin): Save and restore rounding mode and use round-to-nearest
53040         for all computations.
53041         (__cos): Save and restore rounding mode and use round-to-nearest
53042         for all computations.
53043         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
53044         <fenv.h>.
53045         (tan): Save and restore rounding mode and use round-to-nearest for
53046         all computations.
53047         * math/libm-test.inc (cos_test_tonearest): New function.
53048         (cos_test_towardzero): Likewise.
53049         (cos_test_downward): Likewise.
53050         (cos_test_upward): Likewise.
53051         (sin_test_tonearest): Likewise.
53052         (sin_test_towardzero): Likewise.
53053         (sin_test_downward): Likewise.
53054         (sin_test_upward): Likewise.
53055         (tan_test_tonearest): Likewise.
53056         (tan_test_towardzero): Likewise.
53057         (tan_test_downward): Likewise.
53058         (tan_test_upward): Likewise.
53059         (main): Call the new functions.
53060         * sysdeps/i386/fpu/libm-test-ulps: Update.
53061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53063         [BZ #10135]
53064         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
53065         small n, then large n, before computing and testing k+n.
53066         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
53067         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
53068         Likewise.
53069         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
53070         Likewise.
53071         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
53072         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
53073         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
53074         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
53075         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
53076         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
53077         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
53078         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
53079         * math/libm-test.inc (scalbn_test): Add more tests.
53080         (scalbln_test): Likewise.
53082         * manual/filesys.texi (mode_t): Describe constraints on size and
53083         signedness, not exact equivalence to a particular type.
53084         (ino_t): Likewise.
53085         (ino64_t): Likewise.
53086         (dev_t): Likewise.
53087         (nlink_t): Likewise.
53088         (blkcnt_t): Likewise.
53089         (blkcnt64_t): Likewise.
53090         * manual/llio.texi (off_t): Likewise.
53092         [BZ #3976]
53093         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
53094         (__ieee754_exp): Save and restore rounding mode and use
53095         round-to-nearest for all computations.
53096         * math/libm-test.inc (exp_test_tonearest): New function.
53097         (exp_test_towardzero): Likewise.
53098         (exp_test_downward): Likewise.
53099         (exp_test_upward): Likewise.
53100         (main): Call the new functions.
53101         * sysdeps/i386/fpu/libm-test-ulps: Update.
53102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53104 2012-03-01  Chris Demetriou  <cgd@google.com>
53106         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
53107         have predictable order.
53109 2012-03-01  David S. Miller  <davem@davemloft.net>
53111         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
53113         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
53114         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
53115         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
53116         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
53118         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
53119         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
53120         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
53121         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
53122         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
53123         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
53124         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
53125         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
53126         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
53128         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53130         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
53131         * sysdeps/sparc/fpu/libm-test-ulps: to here.
53132         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
53134         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
53135         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53136         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
53137         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
53138         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
53139         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
53140         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
53141         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53142         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
53143         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
53144         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
53145         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53146         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53147         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
53148         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53149         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53150         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
53151         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
53152         * sysdeps/sparc/elf/configure: Regenerated.
53154 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
53156         * configure.in (AS, LD): Require binutils 2.20 or later.
53157         * configure: Regenerated.
53158         * manual/install.texi (Tools for Compilation): Give binutils 2.20
53159         as required minimum version.
53160         * INSTALL: Regenerated.
53162         [BZ #2541]
53163         [BZ #4108]
53164         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
53165         before squaring exponent.
53166         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
53167         bottom long double and 27 bits of top long double before squaring
53168         exponent.
53169         * math/libm-test.inc (erfc_test): Add more tests.
53170         * sysdeps/i386/fpu/libm-test-ulps: Update.
53171         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53174 2012-03-01  Kai Tietz  <ktietz@redhat.com>
53176         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
53177         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
53178         containing bit-fields.
53179         * soft-fp/extended.h (_FP_UNION_E): Likewise.
53180         * soft-fp/single.h (_FP_UNION_S): Likewise.
53181         * soft-fp/double.h (_FP_UNION_D): Likewise.
53183 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
53185         [BZ #13786]
53186         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
53187         not include ../strcmp.S.
53188         [USE_AS_STRNCASECMP_L]: Likewise.
53189         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
53190         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
53191         * sysdeps/i386/i686/multiarch/strncase_l-c.c
53192         (__strncasecmp_l_ia32): Define as alias to
53193         __strncasecmp_l_nonascii.
53195         [BZ #5794]
53196         * math/libm-test.inc (expm1_test): Add test for bug 5794.
53197         * sysdeps/i386/fpu/libm-test-ulps: Update.
53198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53200         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
53201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53203 2012-02-29  Jeff Law  <law@redhat.com>
53205         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
53206         out of bounds read.
53208 2012-02-29  Marek Polacek  <polacek@redhat.com>
53210         [BZ #13706]
53211         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
53212         * elf/Makefile: Add rules to run tst-unused-dep.out.
53214 2012-02-28  David S. Miller  <davem@davemloft.net>
53216         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
53217         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
53218         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
53219         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
53220         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
53221         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
53223 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
53225         * math/libm-test.inc (llround_test): Move one test from
53226         lround_test.  Use TEST_f_L in moved test.
53227         (lround_test): Move misplaced test to llround_test.  Add testcase
53228         from bug 2561.
53230 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
53232         * sysdeps/x86_64/fpu/e_expf.S: New file.
53233         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
53235 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
53237         [BZ #13637]
53238         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
53239         of remain_len that may cause incomplete multi-byte character and
53240         false match.
53241         * posix/bug-regex33.c: New file.
53242         * posix/Makefile (tests): Add bug-regex33.
53244 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
53246         * manual/macros.texi: New file.
53247         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
53248         * manual/libc.texinfo: Include macros.texi.
53249         * manual/creatute.texi: Likewise.
53250         * manual/install.texi: Likewise.
53251         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
53252         @glibcadj{} in references to the GNU C Library.
53253         * manual/charset.texi: Likewise.
53254         * manual/conf.texi: Likewise.
53255         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
53256         when not using those macros.
53257         * manual/creature.texi: Likewise.
53258         * manual/crypt.texi: Likewise.
53259         * manual/errno.texi: Likewise.
53260         * manual/filesys.texi: Likewise.
53261         * manual/header.texi: Likewise.
53262         * manual/install.texi: Likewise.
53263         * manual/intro.texi: Likewise.
53264         * manual/io.texi: Likewise.
53265         * manual/job.texi: Likewise.
53266         * manual/lang.texi: Likewise.
53267         * manual/libc.texiinfo: Likewise.
53268         * manual/llio.texi: Likewise.
53269         * manual/locale.texi: Likewise.
53270         * manual/maint.texi: Likewise.
53271         * manual/math.texi: Likewise.
53272         * manual/memory.texi: Likewise.
53273         * manual/message.texi: Likewise.
53274         * manual/nss.texi: Likewise.
53275         * manual/pattern.texi: Likewise.
53276         * manual/process.texi: Likewise.
53277         * manual/resource.texi: Likewise.
53278         * manual/search.texi: Likewise.
53279         * manual/setjmp.texi: Likewise.
53280         * manual/signal.texi: Likewise.
53281         * manual/socket.texi: Likewise.
53282         * manual/startup.texi: Likewise.
53283         * manual/stdio.texi: Likewise.
53284         * manual/string.texi: Likewise.
53285         * manual/sysinfo.texi: Likewise.
53286         * manual/syslog.texi: Likewise.
53287         * manual/terminal.texi: Likewise.
53288         * manual/time.texi: Likewise.
53289         * manual/users.texi: Likewise.
53290         * INSTALL: Regenerated.
53291         * NOTES: Regenerated.
53292         * sysdeps/gnu/errlist.c: Regenerated.
53294 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
53296         * include/dirent.h: Include <dirstream.h> before
53297         <dirent/dirent.h>.
53299 2012-02-28  David S. Miller  <davem@davemloft.net>
53301         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
53302         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
53303         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
53304         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
53306 2012-02-27  David S. Miller  <davem@davemloft.net>
53308         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
53309         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
53310         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
53311         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
53313         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
53314         frame pointer instead of stack pointer relative arg slot.
53315         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
53316         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
53317         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
53319 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
53321         [BZ #3992]
53322         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
53324 2012-02-27  David S. Miller  <davem@davemloft.net>
53326         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
53327         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
53328         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
53329         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
53330         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
53331         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
53332         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
53333         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
53335 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
53337         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
53338         later.  Allow versions 5-9.
53339         * configure: Regenerated.
53340         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
53341         required minimum version and 4.6 as recommended version.  Do not
53342         mention bugs in GCC 2.7 and 2.8.
53343         * INSTALL: Regenerated.
53345 2012-02-27  David S. Miller  <davem@davemloft.net>
53347         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
53348         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
53349         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
53350         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
53351         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
53352         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
53353         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
53354         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
53356         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
53357         manipulate bits before adding and subtracting TWO112[sx].
53358         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
53360 2012-02-27  Roland McGrath  <roland@hack.frob.com>
53362         [BZ #13775]
53363         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
53364         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
53365         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
53366         being in POSIX, because they are in 1003.1-2008.
53368         * rt/tst-aio.c: Include <fcntl.h>.
53369         * rt/tst-aio7.c: Likewise.
53370         * rt/tst-aio64.c: Likewise.
53372         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
53374 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
53376         * manual/install.texi (--with-headers): Describe headers as
53377         interface headers, not private headers.
53378         (Specific advice for GNU/Linux systems): Describe use of headers
53379         from "make headers_install", not private headers from older
53380         kernels.
53381         * INSTALL: Regenerated.
53382         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
53383         Change to 2.6.19.
53384         * sysdeps/unix/sysv/linux/configure: Regenerated.
53386         * manual/llio.texi (fclean): Remove documentation.
53388         * manual/Makefile (libc-texi-generated): New variable.  Include
53389         version.texi.
53390         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
53391         $(libc-texi-generated), not duplicated list of files.
53392         (version.texi, stamp-version): New rules.
53393         (realclean): Remove $(libc-texi-generated), not individual files
53394         from that list.  Do not remove dir-add.texinfo.
53395         * manual/libc.texinfo: Comment out uses of edition numbers and
53396         references to printed manual.  Remove last-updated dates.
53397         (EDITION): Comment out.
53398         (ISBN): Likewise.
53399         (VERSION, UPDATED): Remove.
53400         (version.texi): Include.
53402 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
53404         * sysdeps/posix/spawni.c: Include <signal.h>.
53405         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
53406         * sysdeps/pthread/aio_fsync.c: Likewise.
53408 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
53410         * conform/Makefile (tests): Run only when not cross-compiling and
53411         when fast-check is not defined.
53413         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
53414         * conform/data/limits.h-data: Fixes for POSIX2008.
53415         * conform/run-conformtest.sh: Run all tests.
53416         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
53417         headers.
53418         * include/bits/dlfcn.h: Likewise.
53419         * include/langinfo.h: Likewise.
53420         * include/monetary.h: Likewise.
53421         * include/sys/poll.h: Likewise.
53423         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
53424         for __USE_GNU.
53425         * posix/spawn.h: Define __need_sigset_t.
53426         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
53427         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
53428         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
53429         to get sigevent_t only.
53430         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
53431         only for __USE_GNU.
53432         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53433         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
53434         process_vm_writev only for __USE_GNU.
53435         * termios/termios.h: Declare tcgetsid also for POSIX2008.
53437         * conform/Makefile: For now ignore errors from run-conformtest.
53438         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
53439         POSIX to avoid namespace pollution.  Don't prepend headers.
53440         * conform/data/aio.h-data: Fixes for POSIX testing.
53441         * conform/data/fcntl.h-data: Likewise.
53442         * conform/data/glob.h-data: Likewise.
53443         * conform/data/grp.h-data: Likewise.
53444         * conform/data/pthread.h-data: Likewise.
53445         * conform/data/pwd.h-data: Likewise.
53446         * conform/data/signal.h-data: Likewise.
53447         * conform/data/spawn.h-data: Likewise.
53448         * conform/data/stdio.h-data: Likewise.
53449         * conform/data/stdlib.h-data: Likewise.
53450         * conform/data/stropts.h-data: Likewise.
53451         * conform/data/sys/mman.h-data: Likewise.
53452         * conform/data/sys/stat.h-data: Likewise.
53453         * conform/data/sys/types.h-data: Likewise.
53454         * conform/data/sys/wait.h-data: Likewise.
53455         * conform/data/time.h-data: Likewise.
53456         * conform/data/unistd.h-data: Likewise.
53457         * conform/data/utime.h-data: Likewise.
53459         * io/sys/stat.h: fchmod was always in POSIX.
53460         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
53461         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
53462         * rt/aio.h: Define __need_timespec before including <time.h>.
53463         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
53464         struct.  Add forward declaration of pthread_attr_t and use it in
53465         sigevent.
53466         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53467         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53468         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
53469         always remove CLK_TCK definition.
53471 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
53473         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
53475 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
53477         * conform/run-conformtest.sh: New file.
53478         * conform/Makefile: Run run-conformtest for tests.
53479         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
53480         support.
53482         * conform/data/uchar.h-data: New file.
53483         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
53484         * conform/data/arpa/inet.h-data: Likewise.
53485         * conform/data/assert.h-data: Likewise.
53486         * conform/data/complex.h-data: Likewise.
53487         * conform/data/cpio.h-data: Likewise.
53488         * conform/data/ctype.h-data: Likewise.
53489         * conform/data/dirent.h-data: Likewise.
53490         * conform/data/dlfcn.h-data: Likewise.
53491         * conform/data/errno.h-data: Likewise.
53492         * conform/data/fcntl.h-data: Likewise.
53493         * conform/data/float.h-data: Likewise.
53494         * conform/data/fmtmsg.h-data: Likewise.
53495         * conform/data/fnmatch.h-data: Likewise.
53496         * conform/data/ftw.h-data: Likewise.
53497         * conform/data/glob.h-data: Likewise.
53498         * conform/data/grp.h-data: Likewise.
53499         * conform/data/iconv.h-data: Likewise.
53500         * conform/data/inttypes.h-data: Likewise.
53501         * conform/data/langinfo.h-data: Likewise.
53502         * conform/data/libgen.h-data: Likewise.
53503         * conform/data/limits.h-data: Likewise.
53504         * conform/data/locale.h-data: Likewise.
53505         * conform/data/math.h-data: Likewise.
53506         * conform/data/monetary.h-data: Likewise.
53507         * conform/data/mqueue.h-data: Likewise.
53508         * conform/data/ndbm.h-data: Likewise.
53509         * conform/data/net/if.h-data: Likewise.
53510         * conform/data/netdb.h-data: Likewise.
53511         * conform/data/netinet/in.h-data: Likewise.
53512         * conform/data/nl_types.h-data: Likewise.
53513         * conform/data/poll.h-data: Likewise.
53514         * conform/data/pthread.h-data: Likewise.
53515         * conform/data/pwd.h-data: Likewise.
53516         * conform/data/regex.h-data: Likewise.
53517         * conform/data/sched.h-data: Likewise.
53518         * conform/data/search.h-data: Likewise.
53519         * conform/data/semaphore.h-data: Likewise.
53520         * conform/data/setjmp.h-data: Likewise.
53521         * conform/data/signal.h-data: Likewise.
53522         * conform/data/spawn.h-data: Likewise.
53523         * conform/data/stdarg.h-data: Likewise.
53524         * conform/data/stdio.h-data: Likewise.
53525         * conform/data/stdlib.h-data: Likewise.
53526         * conform/data/string.h-data: Likewise.
53527         * conform/data/strings.h-data: Likewise.
53528         * conform/data/stropts.h-data: Likewise.
53529         * conform/data/sys/ipc.h-data: Likewise.
53530         * conform/data/sys/mman.h-data: Likewise.
53531         * conform/data/sys/msg.h-data: Likewise.
53532         * conform/data/sys/resource.h-data: Likewise.
53533         * conform/data/sys/select.h-data: Likewise.
53534         * conform/data/sys/sem.h-data: Likewise.
53535         * conform/data/sys/shm.h-data: Likewise.
53536         * conform/data/sys/socket.h-data: Likewise.
53537         * conform/data/sys/stat.h-data: Likewise.
53538         * conform/data/sys/statvfs.h-data: Likewise.
53539         * conform/data/sys/time.h-data: Likewise.
53540         * conform/data/sys/timeb.h-data: Likewise.
53541         * conform/data/sys/times.h-data: Likewise.
53542         * conform/data/sys/types.h-data: Likewise.
53543         * conform/data/sys/uio.h-data: Likewise.
53544         * conform/data/sys/un.h-data: Likewise.
53545         * conform/data/sys/utsname.h-data: Likewise.
53546         * conform/data/sys/wait.h-data: Likewise.
53547         * conform/data/syslog.h-data: Likewise.
53548         * conform/data/tar.h-data: Likewise.
53549         * conform/data/termios.h-data: Likewise.
53550         * conform/data/utime.h-data: Likewise.
53551         * conform/data/utmpx.h-data: Likewise.
53552         * conform/data/varargs.h-data: Likewise.
53553         * conform/data/wchar.h-data: Likewise.
53554         * conform/data/wctype.h-data: Likewise.
53555         * conform/data/wordexp.h-data: Likewise.
53557         * include/stropts.h: New file.
53558         * include/uchar.h: New file.
53559         * include/aio.h: Changes to allow conformtest.pl to use the headers.
53560         * include/assert.h: Likewise.
53561         * include/ctype.h: Likewise.
53562         * include/dirent.h: Likewise.
53563         * include/dlfcn.h: Likewise.
53564         * include/fcntl.h: Likewise.
53565         * include/fnmatch.h: Likewise.
53566         * include/glob.h: Likewise.
53567         * include/grp.h: Likewise.
53568         * include/libio.h: Likewise.
53569         * include/locale.h: Likewise.
53570         * include/math.h: Likewise.
53571         * include/net/if.h: Likewise.
53572         * include/netdb.h: Likewise.
53573         * include/netinet/in.h: Likewise.
53574         * include/pthread.h: Likewise.
53575         * include/pwd.h: Likewise.
53576         * include/regex.h: Likewise.
53577         * include/sched.h: Likewise.
53578         * include/search.h: Likewise.
53579         * include/setjmp.h: Likewise.
53580         * include/signal.h: Likewise.
53581         * include/stdio.h: Likewise.
53582         * include/stdlib.h: Likewise.
53583         * include/string.h: Likewise.
53584         * include/sys/cdefs.h: Likewise.
53585         * include/sys/mman.h: Likewise.
53586         * include/sys/msg.h: Likewise.
53587         * include/sys/resource.h: Likewise.
53588         * include/sys/select.h: Likewise.
53589         * include/sys/socket.h: Likewise.
53590         * include/sys/stat.h: Likewise.
53591         * include/sys/statvfs.h: Likewise.
53592         * include/sys/time.h: Likewise.
53593         * include/sys/times.h: Likewise.
53594         * include/sys/uio.h: Likewise.
53595         * include/sys/utsname.h: Likewise.
53596         * include/sys/wait.h: Likewise.
53597         * include/termios.h: Likewise.
53598         * include/time.h: Likewise.
53599         * include/ulimit.h: Likewise.
53600         * include/unistd.h: Likewise.
53601         * include/utime.h: Likewise.
53602         * include/wchar.h: Likewise.
53603         * include/wctype.h: Likewise.
53604         * include/wordexp.h: Likewise.
53606         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
53608         * time/time.h: TIME_UTC must be a macro.
53609         Make timespec_get available for ISO C11 only as well.
53611 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
53613         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
53614         Reported by Peng Haitao <penght@cn.fujitsu.com>.
53616 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
53618         * configure.in: Use -o not -a in test for unsupported multi-arch.
53620 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
53622         * manual/texinfo.tex: Update to version 2012-01-19.16.
53624 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
53626         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
53628 2012-02-24  Roland McGrath  <roland@hack.frob.com>
53630         [BZ #13738]
53631         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
53632         * manual/fdl-1.3.texi: New file.
53633         * manual/fdl-1.1.texi: File removed.
53635         [BZ #13738]
53636         * manual/libc.texinfo (FDL_VERSION): New @set.
53637         Use it for mention of FDL in cover text.
53638         (Documentation License): Use it in @include file name.
53640 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53641             Roland McGrath  <roland@hack.frob.com>
53643         [BZ #5461]
53644         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
53645         (not LONG_LONG_MAX and LONG_LONG_MIN.
53646         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
53647         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
53648         name.
53649         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
53651 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53653         [BZ #2547]
53654         [BZ #11365]
53655         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
53656         manipulate bits before adding and subtracting TWO23[sx].
53657         * math/libm-test.inc (nearbyint_test): Add more tests.
53659 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53661         [BZ #2548]
53662         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
53663         bits before adding and subtracting TWO23[sx].
53664         * math/libm-test.inc (rint_test): Add more tests.
53665         (rint_test_tonearest): Likewise.
53666         (rint_test_towardzero): Likewise.
53667         (rint_test_downward): Likewise.
53668         (rint_test_upward: Likewise.
53670 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53672         [BZ #10110]
53673         * include/stdc-predef.h: New file.  Extracted from features.h.
53674         * include/features.h: Include stdc-predef.h.
53675         * Makefile (headers): Add stdc-predef.h.
53676         * CONFORMANCE (Compiler limitations): Update.
53678 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53680         * manual/libc.texinfo (VERSION, UPDATED): Revert.
53682 2012-02-21  David S. Miller  <davem@davemloft.net>
53684         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
53685         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
53687 2012-02-20  David S. Miller  <davem@davemloft.net>
53689         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
53690         using a normal save/restore sequence, rather than allocating a
53691         dummy stack frame just to store a frame pointer and restore.
53692         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53694 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
53696         * manual/install.texi: Fix stray word in line-wrapped comment.
53698 2012-02-20  David S. Miller  <davem@davemloft.net>
53700         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
53701         both binutils and gcc support GOTDATA.
53703         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
53704         "rd %pc" in the PIC register setup sequences.
53706         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
53707         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
53708         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
53709         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
53710         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
53711         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
53712         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53713         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53714         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
53715         (SYSCALL_ERROR_HANDLER): Likewise.
53716         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
53717         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53718         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
53719         (SYSCALL_ERROR_HANDLER): Likewise.
53721         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
53722         (HAVE_GCC_GOTDATA): New.
53723         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
53724         relocation support in both binutils and gcc.
53725         * sysdeps/sparc/elf/configure: Regenerate.
53727         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
53728         * sysdeps/sparc/sparc32/elf/configure: Delete.
53729         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
53730         * sysdeps/sparc/sparc64/elf/configure: Delete.
53731         * sysdeps/sparc/elf/configure.in: New file.
53732         * sysdeps/sparc/elf/configure: Generate.
53734         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
53735         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
53736         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53737         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
53738         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
53740 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
53742         * manual/install.texi: Do not mention specific glibc version
53743         numbers.
53744         * manual/libc.texinfo (VERSION, UPDATED): Update.
53745         (@copying): Use @copyright{} and range of years.
53747 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
53749         [BZ #13695]
53750         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
53751         [crti.S not in sysdirs] (generated): Do not append.
53752         [crti.S not in sysdirs] (omit-deps): Likewise.
53753         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
53754         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
53755         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
53756         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
53757         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
53758         Likewise.
53759         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
53760         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
53761         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
53762         * csu/defs.awk: Remove file.
53763         * sysdeps/generic/initfini.c: Likewise.
53764         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
53765         variable.
53766         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
53767         Likewise.
53769 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
53771         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
53772         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
53773         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
53774         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
53775         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53776         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
53777         <bits/epoll.h>.
53778         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
53779         (__EPOLL_PACKED): Define to empty if not defined by
53780         <bits/epoll.h>.
53781         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
53782         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53783         bits/epoll.h.
53785 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
53787         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
53788         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
53789         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
53790         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
53791         <bits/timerfd.h>.
53792         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
53793         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53794         bits/timerfd.h.
53796 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
53798         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
53799         in C locale.
53800         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53801         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
53802         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
53803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53805 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
53807         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53808         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
53810 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
53812         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
53813         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
53814         defined.
53815         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
53816         Likewise.
53817         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
53818         entry for 2.16.
53820 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
53822         * math/w_acos.c: Use non-signaling floating-point comparisons.
53823         * math/w_acosf.c: Likewise.
53824         * math/w_acosh.c: Likewise.
53825         * math/w_acoshf.c: Likewise.
53826         * math/w_acoshl.c: Likewise.
53827         * math/w_acosl.c: Likewise.
53828         * math/w_asin.c: Likewise.
53829         * math/w_asinf.c: Likewise.
53830         * math/w_asinl.c: Likewise.
53831         * math/w_atanh.c: Likewise.
53832         * math/w_atanhf.c: Likewise.
53833         * math/w_atanhl.c: Likewise.
53834         * math/w_exp2.c: Likewise.
53835         * math/w_exp2f.c: Likewise.
53836         * math/w_exp2l.c: Likewise.
53837         * math/w_j0.c: Likewise.
53838         * math/w_j0f.c: Likewise.
53839         * math/w_j0l.c: Likewise.
53840         * math/w_j1.c: Likewise.
53841         * math/w_j1f.c: Likewise.
53842         * math/w_j1l.c: Likewise.
53843         * math/w_jn.c: Likewise.
53844         * math/w_jnf.c: Likewise.
53845         * math/w_log.c: Likewise.
53846         * math/w_log10.c: Likewise.
53847         * math/w_log10f.c: Likewise.
53848         * math/w_log10l.c: Likewise.
53849         * math/w_log2.c: Likewise.
53850         * math/w_log2f.c: Likewise.
53851         * math/w_log2l.c: Likewise.
53852         * math/w_logf.c: Likewise.
53853         * math/w_logl.c: Likewise.
53854         * math/w_sqrt.c: Likewise.
53855         * math/w_sqrtf.c: Likewise.
53856         * math/w_sqrtl.c: Likewise.
53857         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53858         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
53859         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53860         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
53861         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
53863 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
53865         [BZ #9739]
53866         * manual/string.texi (strnlen): Use correct parameter name in
53867         equivalent expression.
53869 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
53871         [BZ #11174]
53872         * manual/users.texi (seteuid): Consistently use neweuid for
53873         argument name.
53875 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
53877         [BZ #13704]
53878         * manual/nss.texi (Services in the NSS configuration): Correct
53879         list of services in example configuration file.
53881 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
53883         [BZ #11322]
53884         * manual/arith.texi: Remove statements about negative zero
53885         behaving identically to zero.
53887 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
53889         [BZ #5993]
53890         * manual/install.texi: Do not document upgrading from libc5.
53892 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
53894         [BZ #4596]
53895         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
53897 2012-02-18  David S. Miller  <davem@davemloft.net>
53899         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
53900         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
53901         %o7 across the call.
53902         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
53903         instead.
53904         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
53905         SETUP_PIC_REG_LEAF.
53906         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53907         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
53908         * sysdeps/sparc/crtn.S: Likewise.
53910 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
53912         * aout/Makefile: Remove.
53914 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
53916         [BZ #13058]
53917         * manual/examples/argp-ex1.c (main): Format definition in GNU
53918         style.
53919         * manual/examples/argp-ex2.c (main): Likewise.
53920         * manual/examples/argp-ex3.c (main): Likewise.
53921         * manual/examples/argp-ex4.c (main): Likewise.
53922         * manual/examples/longopt.c (main): Use new-style prototype
53923         definition.
53924         * manual/examples/strncat.c (main): Specify return type and use
53925         (void) for arguments.
53926         * manual/examples/subopt.c (main): Use char **argv argument.
53928 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
53930         [BZ #5077]
53931         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
53932         rounding modes.
53934 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
53936         [BZ #6907]
53937         * manual/string.texi (strchr): Change when strchrnul is
53938         recommended.
53940 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
53942         [BZ #174]
53943         * manual/locale.texi (setlocale): Document LOCPATH.
53945 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
53947         [BZ #10210]
53948         * manual/process.texi (execle): Move @dots{} before last argument.
53950 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
53952         [BZ #12047]
53953         * manual/charset.texi (Generic Charset Conversion): Fix typo
53954         (LC_TYPE -> LC_CTYPE).
53956 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
53958         [BZ #5805]
53959         * manual/arith.texi (scalbn): Use @var{} on parameter names.
53960         (scalbnf): Likewise.
53961         (scalbnl): Likewise.
53962         (scalbln): Likewise.
53963         (scalblnf): Likewise.
53964         (scalblnl): Likewise.
53965         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
53966         (vwarnx): Likewise.
53967         (verr): Likewise.
53968         (verrx): Likewise.
53969         * manual/filesys.texi (telldir): Use braces around return type.
53970         * manual/llio.texi (mmap): Add space after comma.
53971         (mmap64): Likewise.
53972         * manual/math.texi (jn): Use @var{} on parameter names.
53973         (jnf): Likewise.
53974         (jnl): Likewise.
53975         (yn): Likewise.
53976         (ynf): Likewise.
53977         (ynl): Likewise.
53978         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
53979         line.
53980         * manual/resource.texi (ulimit): Use @dots{} instead of literal
53981         "...".
53982         (sched_get_priority_min): Remove semicolon on @deftypefun line.
53983         (sched_get_priority_max): Likewise.
53984         * manual/signal.texi (sigvec): Add space after comma.
53985         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
53986         names.
53987         (if_indextoname): Likewise.
53988         (if_freenameindex): Likewise.
53989         (sendto): Use ',' instead of '.' in prototype.
53990         * manual/startup.texi (syscall): Use @dots{} instead of literal
53991         "...".
53992         * manual/stdio.texi (__fpending): Separate initial words of
53993         paragraph from @deftypefun line.
53994         * manual/syslog.texi (syslog): Use @dots{} instead of literal
53995         "...".
53996         (vsyslog): Use @var{} on parameter names.
53997         * manual/terminal.texi (stty): Use @var{} on parameter names.
53998         * manual/users.texi (getutmp): Use @var{} on parameter names.
53999         (getutmpx): Likewise.
54001 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54003         [BZ #6884]
54004         * manual/stdio.texi (fopen): Fix typos in description of
54005         ",ccs=STRING".
54007 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
54009         [BZ #4026]
54010         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
54011         get clock_id definition.
54013 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
54015         [BZ #4822]
54016         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
54017         (madvise): Cast every argument to void on its own.
54019 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54021         [BZ #9902]
54022         * manual/startup.texi (Exit Status): Fix typo.
54024 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54026         [BZ #10140]
54027         * manual/examples/argp-ex1.c: Include <stdlib.h>.
54028         * manual/examples/argp-ex2.c: Likewise.
54029         * manual/examples/argp-ex3.c: Likewise.
54031 2012-02-16  Richard Henderson  <rth@redhat.com>
54033         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
54034         * sysdeps/s390/s390-32/initfini.c: Remove.
54035         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
54036         * sysdeps/s390/s390-64/initfini.c: Remove.
54038 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54040         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
54041         compiler output for sysdeps/generic/initfini.c.
54042         * sysdeps/sh/elf/initfini.c: Remove file.
54044 2012-02-16  David S. Miller  <davem@davemloft.net>
54046         [BZ #11494]
54047         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
54049         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
54050         * sysdeps/sparc/crti.S: New file.
54051         * sysdeps/sparc/crtn.S: New file.
54052         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
54053         * sysdeps/sparc/sparc64/Makefile: Likewise.
54055 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
54057         [BZ #3335]
54058         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
54060 2012-02-15  Roland McGrath  <roland@hack.frob.com>
54062         [BZ #4822]
54063         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
54065         * mach/devstream.c (cookie_io_functions_t): Macro removed.
54066         (write, read, close): Likewise.
54067         Patch by Aurelien Jarno <aurelien@aurel32.net>.
54069 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
54071         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
54072         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
54073         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
54074         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
54075         <bits/signalfd.h>.
54076         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
54077         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54078         bits/signalfd.h.
54080 2012-02-14  Marek Polacek  <polacek@redhat.com>
54082         * sysdeps/x86_64/crti.S: New file.
54083         * sysdeps/x86_64/crtn.S: New file.
54084         * sysdeps/x86_64/elf/initfini.c: Remove file.
54086 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
54088         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
54089         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
54090         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
54091         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
54092         <bits/inotify.h>.
54093         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
54094         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54095         bits/inotify.h.
54097 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
54099         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
54100         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
54101         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
54102         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
54103         <bits/eventfd.h>.
54104         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
54105         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54106         bits/eventfd.h.
54108 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
54110         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
54111         __feraiseexcept instead of feraiseexcept.
54113         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
54114         nanosleep invocations.
54115         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
54116         strings, and add error checking for a nanosleep invocations.
54118 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
54120         Replace FSF snail mail address with URLs, as per GNU coding standards.
54121         Most of the snail mail addresses were wrong anyway, and omitting
54122         them makes the source code easier to maintain.  Almost all of the
54123         changes are to license notices and to locale LC_IDENTIFICATION
54124         addresses, except for this one:
54125         * manual/libc.texinfo: In "Published by", give the FSF's URL,
54126         not its snail mail address.
54128 2012-02-09  Richard Henderson  <rth@twiddle.net>
54130         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
54131         of kernel-features.h.
54133         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
54135 2012-02-08  Marek Polacek  <polacek@redhat.com>
54137         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
54138         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
54139         * sysdeps/gnu/_G_config.h: Likewise.
54140         * sysdeps/generic/_G_config.h: Likewise.
54142 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
54144         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
54145         tests.
54146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54148         * sysdeps/powerpc/powerpc32/crti.S: New file.
54149         * sysdeps/powerpc/powerpc32/crtn.S: New file.
54150         * sysdeps/powerpc/powerpc64/crti.S: New file.
54151         * sysdeps/powerpc/powerpc64/crtn.S: New file.
54153         * Makeconfig (have-initfini): Don't set.
54154         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
54155         * configure.in (nopic_initfini): Don't substitute.
54156         * config.h.in (HAVE_INITFINI): Don't #undef.
54157         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
54158         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
54160 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
54162         Support crti.S and crtn.S provided directly by architectures.
54163         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
54164         [crti.S in sysdirs] (omit-deps): Likewise.
54165         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
54166         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
54167         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
54168         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
54169         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
54170         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
54171         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
54172         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
54173         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
54174         compiler output for sysdeps/generic/initfini.c.
54175         * sysdeps/i386/elf/Makefile: Remove file.
54176         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
54178 2012-02-07  Marek Polacek  <polacek@redhat.com>
54180         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
54181         * sysdeps/gnu/_G_config.h: Likewise.
54182         * sysdeps/mach/hurd/_G_config.h: Likewise.
54184 2012-02-07  Marek Polacek  <polacek@redhat.com>
54186         * math/Makefile (tests): Add tst-CMPLX2.
54187         * math/tst-CMPLX2.c: New file.
54189 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
54191         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54193         * math/libm-test.inc (jn_test): Add missing L suffix.
54195 2012-02-06  Marek Polacek  <polacek@redhat.com>
54197         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
54198         * sysdeps/i386/fpu/e_powf.S: Likewise.
54199         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
54200         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
54201         * sysdeps/i386/fpu/e_acosh.S: Likewise.
54202         * sysdeps/i386/fpu/e_pow.S: Likewise.
54203         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
54204         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
54205         * sysdeps/i386/fpu/s_expm1.S: Likewise.
54206         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
54207         * sysdeps/i386/fpu/e_log2.S: Likewise.
54208         * sysdeps/i386/fpu/e_log2l.S: Likewise.
54209         * sysdeps/i386/fpu/e_scalb.S: Likewise.
54210         * sysdeps/i386/fpu/e_powl.S: Likewise.
54211         * sysdeps/i386/fpu/s_log1p.S: Likewise.
54212         * sysdeps/i386/fpu/e_log10f.S: Likewise.
54213         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
54214         * sysdeps/i386/fpu/e_logl.S: Likewise.
54215         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
54216         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
54217         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
54218         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
54219         * sysdeps/i386/fpu/e_log2f.S: Likewise.
54220         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
54221         * sysdeps/i386/fpu/e_log.S: Likewise.
54222         * sysdeps/i386/fpu/s_cexp.S: Likewise.
54223         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54224         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
54225         * sysdeps/i386/fpu/e_logf.S: Likewise.
54226         * sysdeps/i386/fpu/e_log10l.S: Likewise.
54227         * sysdeps/i386/fpu/e_atanh.S: Likewise.
54228         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
54229         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
54230         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
54231         * sysdeps/i386/fpu/e_log10.S: Likewise.
54232         * sysdeps/i386/fpu/s_frexp.S: Likewise.
54233         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
54234         * sysdeps/i386/fpu/s_asinh.S: Likewise.
54235         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
54236         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
54237         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
54238         * sysdeps/i386/asm-syntax.h: Likewise.
54239         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
54240         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54241         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
54242         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
54243         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
54244         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
54245         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
54246         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
54247         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
54248         * sysdeps/powerpc/sysdep.h: Likewise.
54249         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
54250         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
54252 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
54254         [BZ #411]
54255         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
54257 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
54259         * sysdeps/i386/sysdep.h: Include <features.h>.
54260         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
54261         version.
54263 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
54265         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
54266         Define.
54267         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
54268         LOAD_PIC_REG_STR.
54270 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
54272         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
54273         (SETUP_PIC_REG): Use GET_PC_THUNK.
54274         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
54275         macro.
54277 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
54279         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
54280         for non-PIC compilation.
54281         (SETUP_PIC_REG): Add .p2align directive.
54282         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
54283         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
54284         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
54285         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
54286         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
54287         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
54288         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
54289         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54290         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
54291         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
54292         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
54293         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
54294         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
54295         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
54296         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
54297         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
54298         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
54299         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
54300         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
54301         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
54302         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
54303         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
54304         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
54305         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
54306         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
54307         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
54308         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
54309         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
54310         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
54311         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
54312         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
54313         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54314         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
54315         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
54316         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
54317         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
54318         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
54319         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
54320         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
54321         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
54322         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
54324 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
54326         * math/tst-CMPLX.c: Include <stdio.h>.
54328 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
54330         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
54331         float.
54332         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
54333         * sysdeps/sparc/bits/mathdef.h: Likewise.
54335 2012-01-31  Marek Polacek  <polacek@redhat.com>
54337         * libio/libio.h: Don't define _PARAMS.
54338         * locale/programs/config.h: Don't define PARAMS.
54339         * stdlib/strtol_l.c: Likewise.
54340         (__strtol_l): Remove PARAMS from the prototype.
54342 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
54344         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
54345         names.  Just use the correct names.  Remove unnecessary wrapper
54346         functions.
54347         * malloc/arena.c: Likewise.
54348         * malloc/hooks.c: Likewise.
54350         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
54351         ARENA_TEST says not to.  Simplify test for creation of a new arena.
54352         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
54354 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
54356         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
54357         into tail calls.
54358         (update_get_addr): New function.
54359         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
54360         GET_ADDR_MODULE parameter.
54362 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
54364         * crypt/cert.c: Remove __STDC__ conditionals.
54365         * crypt/crypt-entry.c: Likewise.
54366         * crypt/crypt_util.c: Likewise.
54367         * libio/filedoalloc.c: Likewise.
54368         * libio/fileops.c: Likewise.
54369         * libio/genops.c: Likewise.
54370         * libio/iofclose.c: Likewise.
54371         * libio/iofdopen.c: Likewise.
54372         * libio/iofopen.c: Likewise.
54373         * libio/iofopen64.c: Likewise.
54374         * libio/iogetdelim.c: Likewise.
54375         * libio/iopopen.c: Likewise.
54376         * libio/obprintf.c: Likewise.
54377         * libio/oldfileops.c: Likewise.
54378         * libio/oldiofclose.c: Likewise.
54379         * libio/oldiofdopen.c: Likewise.
54380         * libio/oldiofopen.c: Likewise.
54381         * libio/oldiopopen.c: Likewise.
54382         * libio/wfiledoalloc.c: Likewise.
54383         * libio/wgenops.c: Likewise.
54384         * locale/programs/xmalloc.c: Likewise.
54385         * misc/syslog.c: Likewise.
54386         * stdio-common/xbug.c: Likewise.
54387         * string/memchr.c: Likewise.
54388         * string/memcmp.c: Likewise.
54389         * string/memrchr.c: Likewise.
54390         * string/rawmemchr.c: Likewise.
54391         * sysdeps/posix/getcwd.c: Likewise.
54392         * time/strftime_l.c: Likewise.
54394 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
54396         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
54397         * config.make.in (config-cflags-sse2avx): Define.
54398         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
54399         Fix typo.
54401 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
54403         * scripts/config.guess: Update from upstream config git repository.
54404         * scripts/config.sub: Likewise.
54406 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
54408         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
54409         (EM_NUM): Update.
54410         (R_TILEPRO_*, R_TILEGX_*): New macros.
54412         * scripts/firstversions.awk: Fix bug in version range handling.
54414         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
54416         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
54418         * include/sys/epoll.h: New file.
54419         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
54420         libc_hidden_def.
54422 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
54424         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
54425         Avoid unnecessary __WORDSIZE == 64 test.
54426         (fmaxf): Use VEX format if possible.
54427         (fmax): Likewise.
54428         (fminf): Likewise.
54429         (fmin): Likewise.
54431         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
54432         * math/math_private.h: Remove libc_fegetround* and
54433         libc_fesetround*.
54434         * sysdeps/i386/configure.in: Check for -msse2avx.
54435         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
54436         also if SSE2AVX is defined.
54437         Remove libc_fegetround* and libc_fesetround*.
54438         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
54439         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
54440         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
54441         of HAS_YMM_USABLE.
54442         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54443         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54444         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54445         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54446         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54448         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
54450 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54452         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
54453         size is not set.
54454         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54456 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
54458         [BZ #13618]
54459         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
54460         relocation.
54461         * Makeconfig (libm): Define.
54462         * elf/Makefile: Add rules to build and run tst-relsort1.
54463         * elf/tst-relsort1.c: New file.
54464         * elf/tst-relsort1mod1.c: New file.
54465         * elf/tst-relsort1mod2.c: New file.
54467 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
54469         * math/s_ldexp.c: Remove __STDC__ conditionals.
54470         * math/s_ldexpf.c: Likewise.
54471         * math/s_ldexpl.c: Likewise.
54472         * math/s_nextafter.c: Likewise.
54473         * math/s_nexttowardf.c: Likewise.
54474         * math/s_significand.c: Likewise.
54475         * math/s_significandf.c: Likewise.
54476         * math/s_significandl.c: Likewise.
54477         * math/w_jnl.c: Likewise.
54478         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54479         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54480         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54481         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54482         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54483         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54484         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
54485         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54486         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54487         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54488         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54489         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54490         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54491         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
54492         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54493         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54494         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54495         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54496         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54497         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54498         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54499         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54500         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54501         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54502         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54503         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54504         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54505         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54506         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
54507         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54508         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54509         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
54510         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54511         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
54512         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
54513         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54514         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
54515         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
54516         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
54517         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
54518         * sysdeps/ieee754/k_standard.c: Likewise.
54519         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54520         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54521         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
54522         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
54523         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
54524         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
54525         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54526         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
54527         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
54528         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
54529         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
54530         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
54531         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
54532         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
54533         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
54534         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
54535         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
54536         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54537         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54538         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
54539         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54540         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54541         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
54542         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
54543         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54544         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
54545         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54546         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54547         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54548         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
54549         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
54550         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
54551         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
54552         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
54553         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
54554         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
54555         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
54556         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
54557         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
54558         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
54559         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
54560         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
54561         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
54562         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
54563         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
54564         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
54565         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
54566         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54567         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
54568         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
54569         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
54570         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54571         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54572         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
54573         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
54574         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
54575         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
54576         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54577         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54578         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54579         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54580         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
54581         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
54582         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54583         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54584         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54585         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54586         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
54587         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
54588         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54589         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54590         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54591         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54592         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
54593         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
54594         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54595         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
54596         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
54597         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
54598         * sysdeps/ieee754/s_matherr.c: Likewise.
54599         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
54600         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
54601         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54602         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54604 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
54606         * crypt/md5.h: Remove __STDC__ conditionals.
54607         * libio/libioP.h: Likewise.
54608         * locale/programs/config.h: Likewise.
54609         * sysdeps/generic/sysdep.h: Likewise.
54610         * sysdeps/i386/asm-syntax.h: Likewise.
54611         * sysdeps/s390/asm-syntax.h: Likewise.
54612         * sysdeps/unix/sysdep.h: Likewise.
54613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
54614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
54616 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
54618         * libio/libio.h: Remove __STDC__ conditionals.
54619         * malloc/obstack.h: Likewise.
54620         * math/complex.h: Likewise.
54621         * math/math.h: Likewise.
54622         * sysdeps/generic/_G_config.h: Likewise.
54623         * sysdeps/gnu/_G_config.h: Likewise.
54624         * sysdeps/mach/hurd/_G_config.h: Likewise.
54625         * sysdeps/powerpc/bits/mathdef.h: Likewise.
54626         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
54627         * sysdeps/sparc/bits/mathdef.h: Likewise.
54629 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
54631         [BZ #13583]
54632         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
54633         Clean up HAS_* macros.
54634         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
54635         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
54636         possible.
54637         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
54638         HAS_AVX.
54639         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54640         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54641         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54642         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54643         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54645 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
54647         * elf/tst-unique3.cc (gets): Remove declaration.
54648         * elf/tst-unique3lib.cc (gets): Likewise.
54649         * elf/tst-unique3lib2.cc (gets): Likewise.
54650         * elf/tst-unique4.cc (gets): Likewise.
54652 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
54654         * include/stdio.h: Add C++ protection.  Add gets declarations and
54655         definitions.
54656         * debug/tst-chk1.c: Don't declare gets here.
54657         * stdio-common/tst-gets.c: Likewise.
54659 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
54661         * posix/glob: Remove directory.
54663 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
54665         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
54667 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
54669         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
54670         of the non-standard EPFNOSUPPORT.
54672 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54674         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
54675         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
54676         ANYWHERE set to 1 only on KERN_NO_SPACE error.
54678 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
54680         * wcsmbs/uchar.h: Test __STDC_VERSION__.
54682 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
54684         * nscd/aicache.c (addhstaiX): Do not cache negative results of
54685         transient errors.
54686         * nscd/grpcache.c (cache_addgr): Likewise.
54687         * nscd/hstcache.c (cache_addhst): Likewise.
54688         * nscd/initgrcache.c (addinitgroupsX): Likewise.
54689         * nscd/pwdcache.c (cache_addpw): Likewise.
54690         * nscd/servicescache.c (cache_addserv): Likewise.
54692 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
54694         * malloc/malloc.c: Various cleanups.
54695         * malloc/hooks.c: Likewise.
54697         * stdlib/Makefile (tests): Add bug-fmtmsg1.
54698         * stdlib/bug-fmtmsg1.c: New file.
54700         * stdlib/fmtmsg.c (init): Add missing unlock.
54701         Patch by Peng Haitao <penght@cn.fujitsu.com>.
54703 2012-01-12  Marek Polacek  <polacek@redhat.com>
54705         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
54706         and _GNU_SOURCE.
54708 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
54710         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
54711         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
54712         macro to ensure uniqueness of label name.
54713         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
54714         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
54716 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
54718         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
54720         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
54721         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
54722         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
54723         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
54725 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
54727         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
54729         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
54730         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
54731         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
54733         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
54735         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
54736         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
54737         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54738         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
54740         * math/bits/math-finite.h: Add ldexp support.
54742 2012-01-10  Marek Polacek  <polacek@redhat.com>
54744         * locale/programs/localedef.h (show_archive_content): Add noreturn
54745         attribute.
54747 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
54749         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
54751 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
54753         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
54755         * io/Makefile (headers): Add bits/poll2.h.
54757 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
54759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
54760         typo #include statement.
54762 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
54764         * include/sys/cdefs.h: Define __attribute_alloc_size.
54765         * catgets/gencat.c: Add alloc_size attribute and apply consistently
54766         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
54767         * elf/pldd.c: Likewise.
54768         * iconv/iconv_charmap.c: Likewise.
54769         * iconv/iconvconfig.c: Likewise.
54770         * iconv/strtab.c: Likewise.
54771         * locale/programs/locale.c: Likewise.
54772         * locale/programs/localedef.h: Likewise.
54773         * locale/programs/simple-hash.c: Likewise.
54774         * nscd/nscd.h: Likewise.
54775         * nss/makedb.c: Likewise.
54776         * sysdeps/generic/ldconfig.h: Likewise.
54777         * locale/programs/localedef.c: Remove xmalloc prototype.
54778         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
54780 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
54782         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
54783         appropriate.
54785 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
54787         * math/Makefile (tests): Add tst-CMPLX.
54788         * math/tst-CMPLX.c: New file.
54790         * math/complex.h (CMPLXL): Fix typo.
54792         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
54793         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
54794         GLIBC_2.16.
54795         * debug/tst-chk1.c: Add poll and ppoll tests.
54796         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
54797         * include/sys/poll.h: Add hidden proto for ppoll.
54798         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
54799         * sysdeps/mach/hurd/ppoll.c: Likewise.
54800         * io/ppoll.c: Likewise.
54801         * debug/poll_chk.c: New file.
54802         * debug/ppoll_chk.c: New file.
54803         * include/bits/poll2.h: New file.
54804         * io/bits/poll2.h: New file.
54806         [BZ #1350]
54807         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
54809         * configure.in: static is always set to yes.  Remove.
54810         * config.make.in: Don't set build-static.
54811         * Makeconfig: Remove use of build-static.
54812         * dlfcn/Makefile: Likewise.
54813         * elf/Makefile: Likewise.
54814         * math/Makefile: Likewise.
54815         * misc/Makefile: Likewise.
54816         * nptl/Makefile: Likewise.
54817         * sysdeps/mach/hurd/Makefile: Likewise.
54819         * configure.in: PWD_P is not used anymore.
54820         * config.make.in: Remove PWD_P entry.
54822         * configure.in: Remove last remnants of RANLIB.
54823         No need to check for signed size_t anymore.
54824         Don't set libc_commonpagesize and libc_relro_required here for Alpha
54825         and IA-64.
54826         Remove __builtin_expect test because we require at least gcc 3.4.
54827         * aclocal.m4: Likewise.
54829         * wcsmbs/mbrtoc16.c: Implement using towc function.
54830         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
54831         * wcsmbs/wcsmbsload.c: Likewise.
54832         * iconv/gconv_simple.c: Likewise.
54833         * iconv/gconv_int.h: Likewise.
54834         * iconv/gconv_builtin.h: Likewise.
54835         * iconv/iconv_prog.c: Remove CHAR16 handling.
54837         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
54839         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
54841         * configure.in: Remove --with-elf and --enable-bounded options.
54842         Dont set base_machine for ia64.  More non-ELF conditions removed.
54843         Remove testing and setting of leading underscore information.
54844         * config.make.in (build-bounded): Set to no.
54845         * config.h.in: Remove NO_UNDERSCORES entry.
54846         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
54847         them.
54848         * csu/start.c: Remove !NO_UNDERSCORE code.
54849         * locale/localeinfo.h: Likewise.
54850         * sysdeps/generic/machine-gmon.h: Likewise.
54851         * sysdeps/generic/sysdep.h: Likewise.
54852         * sysdeps/i386/sysdep.h: Likewise.
54853         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
54854         * sysdeps/mach/sysdep.h: Likewise.
54855         * sysdeps/s390/s390-32/sysdep.h: Likewise.
54856         * sysdeps/s390/s390-64/sysdep.h: Likewise.
54857         * sysdeps/sh/sysdep.h: Likewise.
54858         * sysdeps/sparc/sparc32/alloca.S: Likewise.
54859         * sysdeps/unix/i386/sysdep.S: Likewise.
54860         * sysdeps/unix/sparc/start.c: Likewise.
54861         * sysdeps/unix/sparc/sysdep.S: Likewise.
54862         * sysdeps/unix/sparc/sysdep.h: Likewise.
54863         * sysdeps/unix/start.c: Likewise.
54864         * sysdeps/unix/x86_64/sysdep.S: Likewise.
54865         * sysdeps/x86_64/sysdep.h: Likewise.
54867 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
54869         [BZ #13553]
54870         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
54871         for non-gcc.
54872         * argp/argp-fmtstream.h: Use const instead __const.
54873         * argp/argp.h: Likewise.
54874         * assert/assert.h: Likewise.
54875         * bits/fenv.h: Likewise.
54876         * bits/sched.h: Likewise.
54877         * bits/sigset.h: Likewise.
54878         * bits/sigthread.h: Likewise.
54879         * catgets/nl_types.h: Likewise.
54880         * conform/data/pthread.h-data: Likewise.
54881         * crypt/crypt-private.h: Likewise.
54882         * crypt/crypt.h: Likewise.
54883         * crypt/crypt_util.c: Likewise.
54884         * ctype/ctype.h: Likewise.
54885         * debug/execinfo.h: Likewise.
54886         * debug/mbsnrtowcs_chk.c: Likewise.
54887         * debug/mbsrtowcs_chk.c: Likewise.
54888         * debug/wcsnrtombs_chk.c: Likewise.
54889         * debug/wcsrtombs_chk.c: Likewise.
54890         * debug/wcstombs_chk.c: Likewise.
54891         * dirent/dirent.h: Likewise.
54892         * dlfcn/dlfcn.h: Likewise.
54893         * elf/neededtest4.c: Likewise.
54894         * grp/grp.h: Likewise.
54895         * gshadow/gshadow.h: Likewise.
54896         * iconv/gconv.h: Likewise.
54897         * iconv/gconv_int.h: Likewise.
54898         * iconv/gconv_simple.c: Likewise.
54899         * iconv/iconv.h: Likewise.
54900         * iconv/loop.c: Likewise.
54901         * iconv/skeleton.c: Likewise.
54902         * include/aio.h: Likewise.
54903         * include/aliases.h: Likewise.
54904         * include/argz.h: Likewise.
54905         * include/arpa/inet.h: Likewise.
54906         * include/assert.h: Likewise.
54907         * include/dirent.h: Likewise.
54908         * include/dlfcn.h: Likewise.
54909         * include/execinfo.h: Likewise.
54910         * include/fcntl.h: Likewise.
54911         * include/fenv.h: Likewise.
54912         * include/glob.h: Likewise.
54913         * include/grp.h: Likewise.
54914         * include/libintl.h: Likewise.
54915         * include/mntent.h: Likewise.
54916         * include/netdb.h: Likewise.
54917         * include/pwd.h: Likewise.
54918         * include/rpc/netdb.h: Likewise.
54919         * include/sched.h: Likewise.
54920         * include/search.h: Likewise.
54921         * include/shadow.h: Likewise.
54922         * include/signal.h: Likewise.
54923         * include/stdio.h: Likewise.
54924         * include/stdlib.h: Likewise.
54925         * include/string.h: Likewise.
54926         * include/sys/socket.h: Likewise.
54927         * include/sys/stat.h: Likewise.
54928         * include/sys/statfs.h: Likewise.
54929         * include/sys/statvfs.h: Likewise.
54930         * include/sys/syslog.h: Likewise.
54931         * include/sys/time.h: Likewise.
54932         * include/sys/uio.h: Likewise.
54933         * include/time.h: Likewise.
54934         * include/unistd.h: Likewise.
54935         * include/utmp.h: Likewise.
54936         * include/wchar.h: Likewise.
54937         * include/wctype.h: Likewise.
54938         * inet/aliases.h: Likewise.
54939         * inet/arpa/inet.h: Likewise.
54940         * inet/netinet/ether.h: Likewise.
54941         * inet/netinet/in.h: Likewise.
54942         * intl/libintl.h: Likewise.
54943         * io/bits/fcntl2.h: Likewise.
54944         * io/fcntl.h: Likewise.
54945         * io/ftw.h: Likewise.
54946         * io/sys/poll.h: Likewise.
54947         * io/sys/stat.h: Likewise.
54948         * io/sys/statfs.h: Likewise.
54949         * io/sys/statvfs.h: Likewise.
54950         * io/utime.h: Likewise.
54951         * libio/bits/stdio.h: Likewise.
54952         * libio/bits/stdio2.h: Likewise.
54953         * libio/libio.h: Likewise.
54954         * libio/libioP.h: Likewise.
54955         * libio/stdio.h: Likewise.
54956         * locale/lc-ctype.c: Likewise.
54957         * locale/locale.h: Likewise.
54958         * login/utmp.h: Likewise.
54959         * malloc/arena.c: Likewise.
54960         * malloc/malloc.c: Likewise.
54961         * malloc/malloc.h: Likewise.
54962         * malloc/mcheck.c: Likewise.
54963         * malloc/mtrace.c: Likewise.
54964         * math/bits/mathcalls.h: Likewise.
54965         * math/fenv.h: Likewise.
54966         * math/math_private.h: Likewise.
54967         * misc/bits/error.h: Likewise.
54968         * misc/bits/syslog.h: Likewise.
54969         * misc/err.h: Likewise.
54970         * misc/error.h: Likewise.
54971         * misc/fstab.h: Likewise.
54972         * misc/mntent.h: Likewise.
54973         * misc/regexp.h: Likewise.
54974         * misc/search.h: Likewise.
54975         * misc/sgtty.h: Likewise.
54976         * misc/sys/mman.h: Likewise.
54977         * misc/sys/syslog.h: Likewise.
54978         * misc/sys/uio.h: Likewise.
54979         * misc/sys/xattr.h: Likewise.
54980         * misc/ttyent.h: Likewise.
54981         * nis/rpcsvc/ypclnt.h: Likewise.
54982         * nss/nss.h: Likewise.
54983         * posix/bits/unistd.h: Likewise.
54984         * posix/fnmatch.h: Likewise.
54985         * posix/glob.h: Likewise.
54986         * posix/sched.h: Likewise.
54987         * posix/spawn.h: Likewise.
54988         * posix/sys/wait.h: Likewise.
54989         * posix/unistd.h: Likewise.
54990         * posix/wordexp.h: Likewise.
54991         * pwd/pwd.h: Likewise.
54992         * resolv/netdb.h: Likewise.
54993         * resource/sys/resource.h: Likewise.
54994         * rt/aio.h: Likewise.
54995         * rt/bits/mqueue2.h: Likewise.
54996         * rt/mqueue.h: Likewise.
54997         * shadow/shadow.h: Likewise.
54998         * signal/signal.h: Likewise.
54999         * socket/send.c: Likewise.
55000         * socket/sendto.c: Likewise.
55001         * socket/sys/socket.h: Likewise.
55002         * stdio-common/printf.h: Likewise.
55003         * stdlib/bits/stdlib.h: Likewise.
55004         * stdlib/fmtmsg.h: Likewise.
55005         * stdlib/monetary.h: Likewise.
55006         * stdlib/stdlib.h: Likewise.
55007         * stdlib/ucontext.h: Likewise.
55008         * streams/stropts.h: Likewise.
55009         * string/argz.h: Likewise.
55010         * string/bits/string2.h: Likewise.
55011         * string/string.h: Likewise.
55012         * string/strings.h: Likewise.
55013         * sunrpc/rpc/auth.h: Likewise.
55014         * sunrpc/rpc/auth_des.h: Likewise.
55015         * sunrpc/rpc/clnt.h: Likewise.
55016         * sunrpc/rpc/netdb.h: Likewise.
55017         * sunrpc/rpc/pmap_clnt.h: Likewise.
55018         * sunrpc/rpc/xdr.h: Likewise.
55019         * sysdeps/generic/inttypes.h: Likewise.
55020         * sysdeps/generic/net/if.h: Likewise.
55021         * sysdeps/generic/sys/swap.h: Likewise.
55022         * sysdeps/gnu/net/if.h: Likewise.
55023         * sysdeps/gnu/utmpx.h: Likewise.
55024         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
55025         * sysdeps/i386/i486/bits/string.h: Likewise.
55026         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
55027         * sysdeps/s390/bits/string.h: Likewise.
55028         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
55029         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
55030         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
55031         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
55032         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
55033         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
55034         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
55035         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
55036         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
55037         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
55038         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
55039         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
55040         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
55041         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
55042         * sysdeps/unix/sysv/linux/readv.c: Likewise.
55043         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
55044         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
55045         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55046         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
55047         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
55048         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
55049         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
55050         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
55051         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
55052         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
55053         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
55054         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
55055         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55056         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
55057         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
55058         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
55059         * sysvipc/sys/ipc.h: Likewise.
55060         * sysvipc/sys/msg.h: Likewise.
55061         * sysvipc/sys/sem.h: Likewise.
55062         * sysvipc/sys/shm.h: Likewise.
55063         * termios/termios.h: Likewise.
55064         * time/sys/time.h: Likewise.
55065         * time/time.h: Likewise.
55066         * wcsmbs/bits/wchar2.h: Likewise.
55067         * wcsmbs/uchar.h: Likewise.
55068         * wcsmbs/wchar.h: Likewise.
55069         * wctype/wctype.h: Likewise.
55071         [BZ #13551]
55072         * Makeconfig: Remove all but ELF support including AIX support.
55073         * Makerules: Likewise.
55074         * config.h.in: Likewise.
55075         * config.make.in: Likewise.
55076         * configure: Likewise.
55077         * configure.in: Likewise.
55078         * csu/Makefile: Likewise.
55079         * csu/version.c: Likewise.
55080         * debug/Makefile: Likewise.
55081         * dlfcn/Makefile: Likewise.
55082         * elf/Makefile: Likewise.
55083         * extra-lib.mk: Likewise.
55084         * iconv/Makefile: Likewise.
55085         * include/libc-symbols.h: Likewise.
55086         * include/shlib-compat.h: Likewise.
55087         * resolv/Makefile: Likewise.
55088         * resolv/res_libc.c: Likewise.
55089         * rt/Makefile: Likewise.
55090         * sysdeps/i386/asm-syntax.h: Likewise.
55091         * sysdeps/i386/sysdep.h: Likewise.
55092         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
55093         * sysdeps/mach/sysdep.h: Likewise.
55094         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
55095         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
55096         * sysdeps/s390/asm-syntax.h: Likewise.
55097         * sysdeps/s390/s390-32/sysdep.h: Likewise.
55098         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55099         * sysdeps/sh/sysdep.h: Likewise.
55100         * sysdeps/unix/sparc/sysdep.h: Likewise.
55101         * sysdeps/wordsize-32/divdi3.c: Likewise.
55102         * sysdeps/x86_64/sysdep.h: Likewise.
55104         * argp/Versions: Remove _argp_unlock_xxx.
55106         [BZ #13559]
55107         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
55108         * abilist/libBrokenLocale.abilist: Likewise.
55109         * abilist/libanl.abilist: Likewise.
55110         * abilist/libc.abilist: Likewise.
55111         * abilist/libcrypt.abilist: Likewise.
55112         * abilist/libdl.abilist: Likewise.
55113         * abilist/libm.abilist: Likewise.
55114         * abilist/libnsl.abilist: Likewise.
55115         * abilist/libpthread.abilist: Likewise.
55116         * abilist/libresolv.abilist: Likewise.
55117         * abilist/librt.abilist: Likewise.
55118         * abilist/libthread_db.abilist: Likewise.
55119         * abilist/libutil.abilist: Likewise.
55120         * abilist/libnss_db.abilist: New file.
55122         * scripts/abilist.awk: Add support for indirect functions.
55124         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
55126         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
55128         * shlib-versions: Remove entries for ports architectures.
55130         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
55131         files in ports.
55132         * elf/stackguard-macros.h: Remove support for IA-64.
55133         * elf/tst-auditmod1.c: Likewise.
55134         * sysdeps/generic/ldsodefs.h: Likewise.
55136         * sysdeps/unix/sysv/linux/configure.in: Ports should define
55137         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
55138         configure files.
55140         [BZ #13552]
55141         * configure.in: Remove --enable-omitfp support.
55142         * FAQ.in: Adjust.
55143         * config.make.in: Likewise.
55144         * Makeconfig: Likewise.
55145         * manual/install.texi: Likewise.
55147         In case anyone cares, the IA-64 architecture could move to ports.
55148         * sysdeps/ia64/*: Removed.
55149         * sysdeps/unix/sysv/linux/ia64/*: Removed.
55150         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
55152         [BZ #13555]
55153         * configure.in: Remove entries for unsupported architectures.
55155         [BZ #13533]
55156         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
55157         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
55158         routines.
55159         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
55160         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
55161         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
55162         fall back to using wcrtomb.
55163         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
55164         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
55165         renaming.
55166         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
55167         * wcsmbs/tst-c16c32-1.c: New file.
55169         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
55170         local variable.
55172         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
55174         * elf/tst-unique3.cc: Add explicit declaration of gets.
55175         * elf/tst-unique3lib.cc: Likewise.
55176         * elf/tst-unique3lib2.cc: Likewise.
55177         * elf/tst-unique4.cc: Likewise.
55179         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
55181 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
55183         [BZ #13566]
55184         * assert/assert.h (static_assert): Don't define for C++.
55185         * libio/stdio.h (gets): Do declare for C++ <= C++11.
55186         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
55188 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
55190         * iconv/loop.c (single loop): Fix assertion in storing of
55191         remaining bytes.
55193         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
55195 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
55197         * posix/getconf.c: Update copyright year.
55198         * nss/getent.c: Likewise.
55199         * nss/makedb.c: Likewise.
55200         * iconv/iconvconfig.c: Likewise.
55201         * iconv/iconv_prog.c: Likewise.
55202         * elf/ldconfig.c: Likewise.
55203         * elf/pldd.c: Likewise.
55204         * elf/sotruss.ksh: Likewise.
55205         * catgets/gencat.c: Likewise.
55206         * csu/version.c: Likewise.
55207         * elf/ldd.bash.in: Likewise.
55208         * elf/sprof.c (print_version): Likewise.
55209         * locale/programs/locale.c: Likewise.
55210         * locale/programs/localedef.c: Likewise.
55211         * login/programs/pt_chown.c: Likewise.
55212         * nscd/nscd.c (print_version): Likewise.
55213         * debug/xtrace.sh: Likewise.
55214         * malloc/memusage.sh: Likewise.
55215         * malloc/mtrace.pl: Likewise.
55216         * debug/catchsegv.sh: Likewise.
55218 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
55220         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
55221         pure attribute.
55223 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
55225         [BZ #13533]
55226         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
55227         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
55228         transformations.
55229         * iconv/gconv_int.h: Likewise.
55230         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
55231         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
55232         from libc for GLIBC_2.16.
55233         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
55234         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
55235         * wcsmbs/uchar.h: Really define mbstate_t.
55236         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
55237         * wcsmbs/c16rtomb.c: New file.
55238         * wcsmbs/mbrtoc16.c: New file.
55239         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
55240         for C/POSIX locale.
55241         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
55242         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
55244         * wcsmbs/wchar.h: Add missing __restrict.
55246 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
55248         [BZ #13532]
55249         * time/Makefile (routines): Add timespec_get.
55250         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
55251         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
55252         timespec for ISO C11.
55253         * time/timespec_get.c: New file.
55254         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
55255         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
55257         [BZ #13531]
55258         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
55259         * stdlib/stdlib.h: Declare aligned_alloc.
55260         * Versions.def: Add GLIBC_2.16 for libc.
55261         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
55263         [BZ 13527]
55264         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
55265         ISO C11.
55267         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
55268         code.
55270         [BZ #13528]
55271         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
55273         [BZ #13529]
55274         * assert/assert.h (static_assert): Define.
55276         * version.h: Update for 2.16 development version.
55278         [BZ #13526]
55279         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
55280         _ISOC11_SOURCE.
55282         * version.h (RELEASE): Bump for 2.15 release.
55283         * include/features.h (__GLIBC_MINOR__): Bump to 15.
55285         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
55286         Patch by Marek Polacek <mpolacek@redhat.com>.
55288         * bits/byteswap.h: Protect long long constants with __extension__.
55289         * sysdeps/i386/bits/byteswap.h: Likewise.
55290         * sysdeps/ia64/bits/byteswap.h: Likewise.
55291         * sysdeps/s390/bits/byteswap.h: Likewise.
55292         * sysdeps/x86_64/bits/byteswap.h: Likewise.
55294 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55296         [BZ #13540]
55297         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
55298         destination buffer.
55299         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
55301 2011-12-23  Marek Polacek  <polacek@redhat.com>
55303         * elf/dl-addr.c (determine_info): Add inline keyword.
55304         * elf/tst-auditmod4b.c (check_avx): Likewise.
55305         * elf/tst-auditmod6b.c (check_avx): Likewise.
55306         * elf/tst-auditmod6c.c (check_avx): Likewise.
55307         * elf/tst-auditmod7b.c (check_avx): Likewise.
55309 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
55311         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
55312         !__SSE_MATH__.
55314 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55316         [BZ #13540]
55317         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
55318         processing for last bytes.
55320 2011-08-06  Bruno Haible  <bruno@clisp.org>
55322         [BZ #13061]
55323         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
55324         U+0385, not to U+1FEE.
55326         [BZ #13062]
55327         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
55328         entry for U+00A5 U+0301.
55330 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
55332         [BZ #13166]
55333         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
55334         buffer for the output is too small.
55336         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
55337         optimization.
55339         [BZ #13185]
55340         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
55341         SSE flags if possible.
55343 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55345         [BZ #13540]
55346         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
55347         processing for last bytes.
55349 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
55351         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
55352         (syscall-list-default-options, syscall-list-default-condition)
55353         (syscall-list-includes): Define.
55354         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
55355         list of ABIs and options and #if conditions for each ABI.  Do not
55356         handle common syscalls between ABIs specially.
55357         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
55358         Remove.
55359         (syscall-list-variants, syscall-list-32bit-options)
55360         (syscall-list-32bit-condition, syscall-list-64bit-options)
55361         (syscall-list-64bit-condition): Define.
55362         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
55363         (syscall-list-variants, syscall-list-32bit-options)
55364         (syscall-list-32bit-condition, syscall-list-64bit-options)
55365         (syscall-list-64bit-condition): Define.
55366         * sysdeps/unix/sysv/linux/sparc/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/x86_64/Makefile (64bit-predefine):
55372         Remove.
55373         (syscall-list-variants, syscall-list-32bit-options)
55374         (syscall-list-32bit-condition, syscall-list-64bit-options)
55375         (syscall-list-64bit-condition): Define.
55377 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
55379         * locale/iso-639.def: Add brx entry.
55381         [BZ #13328]
55382         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
55383         Proposed by Mariusz_Cukr <marcukr@op.pl>.
55385         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
55386         __feraiseexcept_renamed.
55388 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
55390         [BZ #13538]
55391         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
55392         EPOLLET with unsigned values.
55393         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55394         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
55396         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
55397         to large cancellation.
55398         * math/s_cacoshf.c: Likewise.
55399         * math/s_cacoshl.c: Likewise.
55401 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
55403         [BZ #13305]
55404         [BZ #12786]
55405         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
55406         * math/s_cacoshf.c: Likewise.
55407         * math/s_cacoshl.c: Likewise.
55409 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
55411         [BZ #13439]
55412         * iconv/gconv.h: Define __GCONV_SWAP.
55413         * iconvdata/unicode.c: The swap bit must be stored in __flags.
55414         * iconvdata/utf-16.c: Likewise.
55415         * iconvdata/utf-32.c: Likewise.
55417 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
55419         [BZ #13524]
55420         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
55421         numerator after shifting it by one limb.
55423 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
55425         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
55426         under [__USE_EXTERN_INLINES].
55428 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
55430         [BZ #13446]
55431         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
55433 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55435         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
55436         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
55437         optimized code.
55438         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
55439         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
55440         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
55441         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
55442         for strncasecmp/strncasecmp_l compilation.
55443         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
55444         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
55446 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
55448         [BZ #13484]
55449         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
55450         of __asm__.
55452 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
55454         [BZ #13506]
55455         * time/tzfile.c (__tzfile_read): Check values from file header.
55457 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
55459         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
55460         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
55461         * powerpc/powerpc32/dl-start.S: Likewise.
55462         * powerpc/powerpc32/elf/start.S: Likewise.
55463         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
55464         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
55465         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
55466         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
55467         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
55468         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
55469         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
55470         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
55471         * powerpc/powerpc32/fpu/s_round.S: Likewise.
55472         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
55473         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
55474         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
55475         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
55476         * powerpc/powerpc32/memset.S: Likewise.
55477         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
55478         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
55479         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
55480         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
55481         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
55482         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
55483         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
55484         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
55485         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
55486         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
55487         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
55488         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
55489         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
55491 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55493         * math/libm-test.inc: Added more nearbyint tests.
55494         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
55495         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
55496         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
55497         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
55499 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
55501         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
55502         FD_CLOEXEC.
55504 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55506         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
55507         Add wcscpy-ssse3 wcscpy-c.
55508         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
55509         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
55510         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
55511         * sysdeps/x86_64/wcschr.S: New file.
55512         * sysdeps/x86_64/wcsrchr.S: New file.
55513         * string/test-strcmp.c: Remove checking of wcscmp function for
55514         wrong alignments.
55515         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
55516         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
55517         wcsrchr-sse2 wcsrchr-c.
55518         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
55519         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
55520         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
55521         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
55522         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
55523         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
55524         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
55525         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
55526         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
55527         * wcsmbc/wcschr.c (WCSCHR): New macro.
55529 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55531         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
55532         * wcsmbs/test-wcsrchr.c: New file.
55533         * string/test-strrchr.c: Add wcsrchr support.
55534         (WIDE): New macro.
55535         * wcsmbs/test-wcscpy.c: New file.
55536         * string/test-strcpy.c: Add wcscpy support.
55537         (WIDE): New macro.
55539 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
55541         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
55542         the inner loop.
55544 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
55546         [BZ #13472]
55547         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
55549 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
55551         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
55552         Minor optimizations.
55554         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
55555         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
55556         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
55558 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
55560         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
55561         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
55562         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
55563         for gcc to avoid warnings.
55564         * inet/Makefile (tests): Add tst-checks.
55565         * inet/tst-checks.c: New file.
55567         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
55568         warning.
55570         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
55571         __wmemcmp_sse2.
55573         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
55574         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
55576         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
55578 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
55580         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
55581         problem.
55583         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
55585 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
55587         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
55588         conditional on GCC version.
55589         (__arch_compare_and_exchange_val_8_acq)
55590         (__arch_compare_and_exchange_val_16_acq)
55591         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
55592         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
55593         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
55595 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
55597         * sysdeps/sh/backtrace.c: New file.
55599 2011-12-02  Andreas Schwab  <schwab@redhat.com>
55601         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
55602         parenthesis.
55604 2011-12-01  Andreas Schwab  <schwab@redhat.com>
55606         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
55607         falling back to utime.
55609 2011-11-30  Andreas Schwab  <schwab@redhat.com>
55611         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
55612         expectations for float.
55614 2011-11-29  Andreas Schwab  <schwab@redhat.com>
55616         * locale/weight.h (findidx): Add parameter len.
55617         * locale/weightwc.h (findidx): Likewise.
55618         * posix/fnmatch_loop.c (FCT): Adjust caller.
55619         * posix/regcomp.c (build_equiv_class): Likewise.
55620         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
55621         * posix/regexec.c (check_node_accept_bytes): Likewise.
55622         * string/strcoll_l.c (STRCOLL): Likewise.
55623         * string/strxfrm_l.c (STRXFRM): Likewise.
55625 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
55627         * Makefile.in: Remove CVSOPT handling.
55628         * configure.in: Remove use of AC_REVISION.
55629         * iconvdata/Makefile (distribute): No need to filter out CVS.
55630         * scripts/list-sources.sh: Remove CVS, subversion and monotone
55631         handling.
55633 2011-11-16  Andreas Schwab  <schwab@redhat.com>
55635         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
55636         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
55637         [USE_AS_STRNCASECMP_L]: Likewise.
55638         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
55639         NO_TLS_DIRECT_SEG_REFS.
55640         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
55641         Fix argument offsets for non-PIC.
55642         [USE_AS_STRNCASECMP_L]: Likewise.
55643         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
55644         NO_TLS_DIRECT_SEG_REFS.
55646 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
55648         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
55649         O_CLOEXEC.
55650         * locale/loadlocale.c (_nl_load_locale): Likewise.
55652 2011-11-15  Andreas Schwab  <schwab@redhat.com>
55654         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
55655         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
55656         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
55657         (SYSCALL_GETTIME): Set errno on error.
55659         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
55660         count references to noai6ai_cached.
55662 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
55664         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
55666         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
55667         FD_CLOEXEC for /proc/self/maps.
55669         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
55670         FD_CLOEXEC for /proc/meminfo.
55672         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
55673         gai.conf.
55675         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
55676         FD_CLOEXEC for given file.
55678         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
55680         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
55681         FD_CLOEXEC for /etc/hosts.
55682         (_gethtent): Likewise.
55684         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
55686         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
55687         cancellation and set FD_CLOEXEC for /etc/netgroup.
55689         * nss/nss_files/files-key.c (search): Don't allow cancellation when
55690         reading /etc/publickey.
55692         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
55693         allow cancellation when reading /etc/group.
55695         * nss/nss_files/files-alias.c (internal_setent): Don't allow
55696         cancellation.
55697         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
55699         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
55700         when using data file.
55702         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
55704         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
55705         (write_nis_obj): Use "c" and "e" in fopen.
55707         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
55709         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
55711         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
55713         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
55715         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
55716         locale.alias.
55718         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
55720         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
55722         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
55724         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
55725         file parsing and set FD_CLOEXEC.
55727 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
55729         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
55731 2011-11-14  Andreas Schwab  <schwab@redhat.com>
55733         * malloc/arena.c (arena_get2): Don't call reused_arena when
55734         _int_new_arena failed.
55736 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
55738         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
55739         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
55740         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
55741         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
55742         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55743         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
55744         to compile strcasecmp and strncasecmp.
55745         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
55746         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
55748         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
55750 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
55752         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
55753         locale-defines.sym to gen-as-const-headers.
55754         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
55755         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
55756         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
55757         to compile strcasecmp and strncasecmp.
55758         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
55759         strcasecmp_l and strncasecmp_l.
55760         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
55761         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
55762         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
55763         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
55764         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
55765         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
55766         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
55767         * sysdeps/i386/i686/multiarch/strncase.S: New file.
55768         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
55769         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
55770         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
55772 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
55774         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
55775         result of SYSDEP_GETTIME_CPU to retval.
55776         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
55777         parameter list to macro.  Remove trailing semicolon.  Adjust users.
55779         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
55780         variable.
55782         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
55783         mantissa words.
55784         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
55786         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
55787         from unused variable.
55789         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
55790         DWARF definitions.
55791         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
55792         for assembling.
55794         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
55795         over namespaces.
55797         * sunrpc/rpc_prot.c (rejected): Fix case value.
55799         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
55800         unsigned long long int to avoid warnings in shift.
55802         * posix/regex_internal.c (re_string_reconstruct): Actually use result
55803         of use of trans.
55804         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
55805         variable tmp.
55807         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
55808         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
55809         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
55811         * nis/nis_table.c (nis_list): Use variable of correct type for
55812         result of __follow_path call.
55814 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55816         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
55817         of math functions ceil, trunc, floor, round, and sqrt, when
55818         avaliable on the platform.
55819         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
55820         name clash.
55821         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55822         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
55823         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
55825 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
55827         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
55828         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
55830 2011-11-11  Roland McGrath  <roland@hack.frob.com>
55832         * include/unistd.h: Fix __readlink return type.
55833         Reported by Chris Metcalf <cmetcalf@tilera.com>.
55835 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
55837         * stdlib/ucontext.h: Undo last change for makecontext.
55839 2011-11-11  Andreas Schwab  <schwab@redhat.com>
55841         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
55843         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
55844         * setjmp/setjmp.h: Mark functions as non-leaf.
55845         * setjmp/bits/setjmp2.h: Likewise.
55846         * stdlib/ucontext.h: Likewise.
55848 2011-11-10  Andreas Schwab  <schwab@redhat.com>
55850         * malloc/arena.c (_int_new_arena): Don't increment narenas.
55851         (reused_arena): Don't check arena limit.
55852         (arena_get2): Atomically check arena limit.
55854 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
55856         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
55857         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
55859         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
55860         instructions.
55862 2011-11-07  Andreas Schwab  <schwab@redhat.com>
55864         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
55865         handler when locking.
55867         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
55868         Fix size of allocated buffer.
55870 2011-11-04  Andreas Schwab  <schwab@redhat.com>
55872         [BZ #10103]
55873         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
55874         declarations for long double functions.
55875         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
55877         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
55879 2011-11-03  Andreas Schwab  <schwab@redhat.com>
55881         * nscd/nscd.c (main): Don't start AVC thread until credentials are
55882         installed.
55884         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
55885         is disabled.
55887 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55889         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
55891 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
55893         * include/alloca.h (stackinfo_alloca_round): Define.
55894         (extend_alloca): Use it.
55895         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
55896         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
55897         here.
55899         * scripts/check-local-headers.sh: Ignore libaudit.h.
55901         * nscd/Makefile (extra-objs): Make recursively expanded.
55903 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
55905         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
55906         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
55908         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
55909         * posix/tst-rfc3484-2.c: Likewise.
55910         * posix/tst-rfc3484-3.c: Likewise.
55912         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
55913         process_vm_writev.
55914         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
55915         process_vm_writev.
55916         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
55917         process_vm_writev from libc using GLIBC_2.15 version.
55919         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
55921 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
55923         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
55924         stack usage.
55926 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
55928         [BZ #13367]
55929         * nss/getent.c (initgroups_keys): Show error message in case no group
55930         names are given.
55932         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
55933         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
55934         __bump_nl_timestamp.
55935         * nscd/connections (nscd_init): When host database is served open
55936         netlink socket and request notification about configuration changes.
55937         (main_loop_poll): Track netlink file descriptor and bump timestamp
55938         in case data becomes available.
55939         (main_loop_epoll): Likewise.
55940         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
55941         (database_pers_head): Add extra_data fileds.
55942         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
55943         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
55944         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
55945         Adjust caller.
55946         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
55947         in6ai data, call __free_in6ai.
55948         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
55949         Add -DHAVE_NETLINK.
55950         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
55951         interface information.  Reuse previous data if netlink timestamp
55952         is not changed.
55953         (__bump_nl_timestamp): New function.
55954         (__free_in6ai): New function.
55956 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
55958         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
55959         close_not_cancel_no_status here.
55960         (__check_pf): Reorganize code a bit to not call close twice if OOM.
55962 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
55964         [BZ #13276]
55965         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
55966         return value.
55968         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
55969         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
55970         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
55972 2011-07-03  Andreas Jaeger  <aj@suse.de>
55974         [BZ #10709]
55975         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
55976         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
55977         * math/libm-test.inc (sin_test): Add test case.
55979 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
55981         [BZ #13337]
55982         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
55983         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
55985         * elf/chroot_canon.c (chroot_canon): Cleanups.
55987         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
55989         [BZ #13335]
55990         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
55991         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
55993         * string/test-strchr.c: Make usable for strchrnul testing.
55994         * string/test-strchrnul.c: New file.
55995         * string/Makefile (strop-tests): Add strchrnul.
55997         * po/it.po: Update from translation team.
55998         * po/es.po: Likewise.
56000 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
56002         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
56003         the three constants needed as parameters.  Drop the others.
56004         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
56005         __m128i_strloadu_tolower.
56006         Create and initialize variable zero and use it in all the places
56007         where _mm_setzero_si128 was used.
56009         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
56010         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
56011         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
56012         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
56013         anymore.
56014         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
56015         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
56016         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
56017         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
56018         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
56019         __mpranred, __mptan.
56020         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
56021         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
56022         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
56023         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
56024         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
56025         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
56026         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
56027         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
56028         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
56030 2011-10-28  Andreas Schwab  <schwab@redhat.com>
56032         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
56033         redefine if SHARED.
56034         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
56036         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
56037         wide char related routines to wcsmbs subdir.
56039 2011-10-27  Andreas Schwab  <schwab@redhat.com>
56041         [BZ #13344]
56042         * misc/sys/cdefs.h (__THROWNL): Define.
56043         * posix/unistd.h: Use __THREADNL instead of __THREAD
56044         for memory synchronization functions.
56046 2011-10-26  Roland McGrath  <roland@hack.frob.com>
56048         [BZ #13349]
56049         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
56050         doesn't exist.
56051         * manual/stdio.texi (Obstack Streams): Node removed.
56053 2011-10-26  Andreas Schwab  <schwab@redhat.com>
56055         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
56056         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56057         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56059         * math/math_private.h (math_force_eval): Allow non-addressable
56060         arguments.
56061         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
56063 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
56065         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
56066         file is not needed.
56068         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
56069         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
56070         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56071         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56072         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56073         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56074         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56075         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
56076         Add AVX variants.
56077         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
56078         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
56079         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
56080         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
56081         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
56082         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
56083         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
56084         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
56085         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
56086         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
56087         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
56088         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
56089         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
56090         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
56091         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
56092         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
56093         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
56094         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
56095         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
56097         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
56098         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
56100         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
56101         place.  Use VEX encoding when compiling for AVX.
56103 2011-10-25  Andreas Schwab  <schwab@redhat.com>
56105         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
56106         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
56108         * string/test-strchr.c (do_test): Don't generate NUL bytes.
56110 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
56112         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
56113         useless if() expression.
56114         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56115         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
56116         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56117         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56118         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56119         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56120         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56121         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56122         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
56123         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56124         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56125         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56126         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
56127         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56128         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
56129         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56130         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56131         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56132         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
56134         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
56136 2011-10-25  Andreas Schwab  <schwab@redhat.com>
56138         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
56139         condition.
56140         * elf/dl-fini.c (_dl_sort_fini): Likewise.
56142 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
56144         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
56145         .text section.  Avoid duplicate constants.
56146         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56147         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56148         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56149         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56150         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56151         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56152         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56153         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56154         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
56155         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
56156         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
56157         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56158         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
56159         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
56160         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
56161         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
56162         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
56163         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
56164         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56165         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56166         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56167         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56168         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56169         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
56170         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
56171         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
56172         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
56173         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
56174         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
56175         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
56176         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
56177         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
56178         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56179         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
56180         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
56181         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
56182         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
56183         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
56184         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
56185         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
56186         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
56187         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
56188         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
56189         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
56190         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
56192 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
56194         * sysdeps/x86_64/dla.h: Move to ...
56195         * sysdeps/x86_64/fpu/dla.h: ...here.
56196         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
56197         situations.  Use __builtin_fma only for gcc 4.6 and up.
56199         * config.make.in: Add have-mfma4 entry.
56200         * configure.in: Substitute libc_cv_cc_fma4.
56201         * math/Makefile (dbl-only-routines): Add sincostab.
56202         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
56203         Use __sincostab not sincos.
56204         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
56205         name is a macro.
56206         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56207         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56208         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56209         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
56210         using __copysign.
56211         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
56212         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
56213         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
56214         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
56215         and __inv.
56216         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
56217         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
56218         __copysign.
56219         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
56220         define aliases when function name is a macro.
56221         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
56222         sysdeps/ieee754/dbl-64/sincos.tbl.
56223         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
56224         fma4-enabled routines.
56225         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
56226         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
56227         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
56228         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
56229         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
56230         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
56231         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
56232         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
56233         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
56234         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
56235         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
56236         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
56237         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
56238         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
56239         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
56240         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
56241         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
56242         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
56243         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
56244         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
56245         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
56246         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
56247         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
56248         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
56249         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
56250         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
56251         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
56252         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
56253         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
56254         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
56256         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
56257         rename.
56258         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56259         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56260         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56261         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56262         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56263         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56264         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56265         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56267 2011-10-24  Andreas Schwab  <schwab@redhat.com>
56269         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
56271 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
56273         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
56275         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
56276         prediction.
56277         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
56279         * string/strnlen.c: Don't define STRNLEN, reverse logic.
56280         Remove unused variable magic_bits.
56281         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
56283         * string/strnlen.c: Define and use STRNLEN macro.
56284         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
56285         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
56286         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
56287         * wcsmbs/wcslen.c: Define and use WCSLEN.
56288         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
56289         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
56290         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
56291         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
56292         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
56293         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
56294         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
56296 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56298         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56299         strnlen-sse2-no-bsf.
56300         Rename strlen-no-bsf to strlen-sse2-no-bsf.
56301         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
56302         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
56303         Add strnlen support.
56304         (USE_AS_STRNLEN): New macro.
56305         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
56306         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
56307         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
56308         * sysdeps/x86_64/wcslen.S: New file.
56310 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
56312         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
56313         XMM-moves are used for copying on small sizes.
56315 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56317         * wcsmbs/Makefile (strop-tests): Add wcschr.
56318         * wcsmbs/test-wcschr.c: New file.
56319         * string/test-strchr.c: Update.
56320         Add wcschr support.
56321         (WIDE): New macro.
56323 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56325         * wcsmbs/Makefile (strop-tests): Add wcslen.
56326         * wcsmbs/test-wcslen.c: New file.
56327         * string/test-strlen.c: Update.
56328         Add wcslen support.
56329         (WIDE): New macro.
56331 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
56333         * po/it.po: Update from translation team.
56335 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56337         * sysdeps/x86_64/wcscmp.S: Update.
56338         Fix wrong comparison semantics.
56339         wcscmp shall use signed comparison not unsigned.
56340         Don't use substraction to avoid overflow bug.
56341         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
56342         * wcsmbc/wcscmp.c: Likewise.
56343         * string/test-strcmp.c: Likewise.
56344         Add new tests to check cases with negative values.
56346 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
56348         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
56349         * sysdeps/x86_64/dla.h: ...here.  New file.
56350         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
56351         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56352         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56353         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56354         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56355         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56356         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56357         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56358         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56360 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
56362         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
56363         __ynl_finite aliases.
56365 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
56367         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56369         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
56370         define DLA_FMA.
56371         [DLA_FMA] (EMULV): Use DLA_FMA.
56372         [DLA_FMA] (MUL12): Use EMULV.
56373         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
56374         that are not needed.
56375         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56376         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56377         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56378         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56379         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56380         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56381         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56383 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
56385         * math/s_nan.c: Undef __nan.
56386         * math/s_nanf.c: Undef __nanf.
56387         * math/s_nanl.c: Undef __nanl.
56388         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
56389         "math_private.h".
56391 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
56393         * math/s_catan.c: Add branch predictions.
56394         * math/s_catanf.c: Likewise.
56395         * math/s_catanh.c: Likewise.
56396         * math/s_catanhf.c: Likewise.
56397         * math/s_catanhl.c: Likewise.
56398         * math/s_catanl.c: Likewise.
56399         * math/s_cexp.c: Likewise.
56400         * math/s_cexpf.c: Likewise.
56401         * math/s_cexpl.c: Likewise.
56402         * math/s_clog.c: Likewise.
56403         * math/s_clog10.c: Likewise.
56404         * math/s_clog10f.c: Likewise.
56405         * math/s_clog10l.c: Likewise.
56406         * math/s_clogf.c: Likewise.
56407         * math/s_clogl.c: Likewise.
56408         * math/s_csqrt.c: Likewise.
56409         * math/s_csqrtf.c: Likewise.
56410         * math/s_csqrtl.c: Likewise.
56411         * math/s_ctanf.c: Likewise.
56412         * math/s_ctanh.c: Likewise.
56413         * math/s_ctanhf.c: Likewise.
56414         * math/s_ctanhl.c: Likewise.
56415         * math/s_ctanl.c: Likewise.
56417         * math/math_private.h: Define __nan, __nanf, __nanl.
56418         * math/s_cacosh.c: Include <math_private.h>.
56419         * math/s_cacoshl.c: Likewise.
56420         * math/s_casinh.c: Likewise.
56421         * math/s_casinhf.c: Likewise.
56422         * math/s_casinhl.c: Likewise.
56423         * math/s_ccos.c: Rely entire on ccosh.
56424         * math/s_ccosf.c: Rely entire on ccoshf.
56425         * math/s_ccosl.c: Rely entirely on ccoshl.
56426         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
56427         Remove tests for FE_INVALID.
56428         * math/s_ccoshf.c: Likewise.
56429         * math/s_ccoshl.c: Likewise.
56430         * math/s_csin.c: Likewise.
56431         * math/s_csinf.c: Likewise.
56432         * math/s_csinh.c Likewise.
56433         * math/s_csinhf.c: Likewise.
56434         * math/s_csinhl.c: Likewise.
56435         * math/s_csinl.c: Likewise.
56436         * math/s_ctan.c: Likewise.
56437         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
56438         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
56439         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
56441 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
56443         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
56444         compilation problems.
56446         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
56447         __builtin_expect.
56449 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
56451         * sysdeps/i386/configure.in: Test for -mfma4 option.
56452         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
56453         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
56454         COMMON_CPUID_INDEX_80000001.
56455         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
56456         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
56457         use it if FMA3 is not supported.
56458         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
56460         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
56461         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56463 2011-10-20  Andreas Schwab  <schwab@redhat.com>
56465         [BZ #12892]
56466         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
56467         it would create a cycle with a link time dependency.
56469 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
56471         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
56472         instruction.
56473         * string/Makefile (strop-tests): Add rawmemchr.
56474         * string/test-rawmemchr.c: New file.
56476         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
56477         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
56478         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
56479         when compiling str{,n}casecmp and when AVX is available.  Hook up
56480         new optimized code in initializers.
56482 2011-10-19  Andreas Schwab  <schwab@redhat.com>
56484         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
56485         __feraiseexcept instead of feraiseexcept.
56487 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
56489         * math/math_private.h: Define defaults for libc_fetestexcept and
56490         libc_feupdateenv.
56491         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
56492         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
56493         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
56494         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
56495         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
56496         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
56497         libc_fetestexcept and libc_feupdateenv.
56499         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
56500         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
56501         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
56502         * sysdeps/x86_64/fpu/math_private.h: Define special version of
56503         libc_feholdexcept_setround.
56505         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
56506         Add s_nearbyint-c and s_nearbyintf-c.
56507         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
56508         nearbyintf inlines.
56509         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
56510         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
56511         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
56512         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
56514         * math/math_private.h: Define defaults for libc_fegetround,
56515         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
56516         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
56517         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
56518         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
56519         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
56520         standard functions.
56521         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56522         Remove comments and hacks for old compiler versions.
56523         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
56524         libc_fegetround, libc_fesetround, libc_feholdexcept, and
56525         libc_feholdexceptl.
56527 2011-10-18  Andreas Schwab  <schwab@redhat.com>
56529         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
56530         (__feraiseexcept_renamed): Add __NTH.
56531         (feraiseexcept): Add __NTH.  Rename local variables to fix
56532         namespace violations.
56534 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
56536         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
56538         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
56540         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
56541         recently added interfaces.
56542         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
56544         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
56545         about macro parameter expansion.
56547         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
56548         __NO_MATH_INLINES is defined.  Cleanups.
56550         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
56551         and __floorf is target has SSE4.1.
56552         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
56553         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
56554         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
56555         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
56557         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
56558         name.
56559         (floorf): Likewise.
56561         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
56563 2011-10-17  Andreas Schwab  <schwab@redhat.com>
56565         * misc/sys/cdefs.h: Fix last change.
56567         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
56568         database lookup.
56570 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
56572         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
56574         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
56575         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56576         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
56577         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56578         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56579         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
56580         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56581         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56582         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
56583         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
56584         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
56585         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
56586         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
56587         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
56588         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
56589         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
56590         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
56591         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
56592         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
56593         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
56594         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
56595         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
56597         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
56598         ceil, ceilf, floor, floorf.
56600         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
56601         Perform IRELATIVE relocations last.
56603         * elf/do-rel.h: Add another parameter nrelative, replacing the
56604         local variable with the same name.  Change name of the function
56605         to end in Rel or Rela (uppercase).
56606         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
56607         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
56608         elf_dynamic_do_##reloc function.
56610 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
56612         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
56613         is sufficient, at least on modern CPUs.
56615         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
56617         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
56618         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
56620         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
56621         __expl_finite.
56622         * math/bits/math-finite.h: Add entries for exp.
56623         * math/e_expl.c: Add __*_finite alias.
56624         * sysdeps/i386/fpu/e_exp.S: Likewise.
56625         * sysdeps/i386/fpu/e_expf.S: Likewise.
56626         * sysdeps/i386/fpu/e_expl.c: Likewise.
56627         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56628         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
56629         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
56630         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
56631         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
56632         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
56633         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
56635         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
56636         is sufficient, at least on modern CPUs.
56638         * ctype/ctype-info.c (__ctype_init): Define.
56639         * include/ctype.h (__ctype_init): Declare.
56640         (__ctype_b_loc): The variable is always initialized.
56641         (__ctype_toupper_loc): Likewise.
56642         (__ctype_tolower_loc): Likewise.
56643         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
56644         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
56646 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
56648         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
56650         * configure.in: Also look in $cxxmachine/include for C++ system
56651         headers.
56653 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56655         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
56656         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
56657         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
56658         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
56659         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
56660         (USE_AS_WMEMCMP): New macro.
56661         Fixing indents.
56662         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
56663         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
56664         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
56665         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
56666         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56667         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
56668         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
56669         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
56670         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
56671         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
56672         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
56673         (USE_AS_WMEMCMP): New macro.
56674         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
56675         * sysdeps/string/test-memcmp.c: Update.
56676         Fix simple_wmemcmp.
56677         Add new tests.
56678         * wcsmbs/wmemcmp.c: Update.
56679         (WMEMCMP): New macro.
56680         Fix overflow bug.
56682 2011-10-12  Andreas Jaeger  <aj@suse.de>
56684         [BZ #13268]
56685         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
56687 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
56689         * libio/iofwide.c (do_length): Avoid warning.
56691         * ctype/ctype.h (__isctype_f): Add missing __THROW.
56693 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
56695         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
56697         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
56698         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
56699         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
56700         * sysdeps/i386/i686/fpu/e_log.S: New file.
56701         * sysdeps/i386/i686/fpu/e_logf.S: New file.
56702         * sysdeps/i386/i686/fpu/e_logl.S: New file.
56704         * ctype/ctype.h: Add support for inlined isXXX functions when
56705         compiling C++ code.
56707 2011-10-14  Andreas Schwab  <schwab@redhat.com>
56709         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56711         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
56713 2011-10-13  Roland McGrath  <roland@hack.frob.com>
56715         [BZ #13291]
56716         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
56718 2011-10-13  Andreas Schwab  <schwab@redhat.com>
56720         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
56721         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
56722         feraiseexcept.
56724         * sysdeps/x86_64/memrchr.S: Check for zero size.
56726         * string/stratcliff.c: Add memrchr tests.
56728 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56730         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56731         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
56732         rawmemchr-sse2 rawmemchr-sse2-bsf.
56733         * sysdeps/i386/i686/multiarch/memchr.S: New file.
56734         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
56735         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
56736         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
56737         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
56738         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
56739         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
56740         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
56741         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
56742         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
56743         * string/memrchr.c (MEMRCHR): New macro.
56745 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
56747         Add integration with gcc's -ffinite-math-only and optimize wrapper
56748         functions in libm.
56749         * Versions.def: Define GLIBC_2.15 version for libm.
56750         * math/Makefile (headers): Add bits/math-finite.h.
56751         * math/bits/math-finite.h: New file.
56752         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
56753         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
56754         * math/e_acoshl.c: Add __*_finite alias.
56755         * math/e_acosl.c: Likewise.
56756         * math/e_asinl.c: Likewise.
56757         * math/e_atan2l.c: Likewise.
56758         * math/e_atanhl.c: Likewise.
56759         * math/e_coshl.c: Likewise.
56760         * math/e_exp10.c: Likewise.
56761         * math/e_exp10f.c: Likewise.
56762         * math/e_exp10l.c: Likewise.
56763         * math/e_exp2l.c: Likewise.
56764         * math/e_fmodl.c: Likewise.
56765         * math/e_gammal_r.c: Likewise.
56766         * math/e_hypotl.c: Likewise.
56767         * math/e_j0l.c: Likewise.
56768         * math/e_j1l.c: Likewise.
56769         * math/e_jnl.c: Likewise.
56770         * math/e_lgammal_r.c: Likewise.
56771         * math/e_log10l.c: Likewise.
56772         * math/e_log2l.c: Likewise.
56773         * math/e_logl.c: Likewise.
56774         * math/e_powl.c: Likewise.
56775         * math/e_sinhl.c: Likewise.
56776         * math/e_sqrtl.c: Likewise.
56777         * math/e_scalb.c: Completely rewritten and optimized.
56778         * math/e_scalbf.c: Likewise.
56779         * math/e_scalbl.c: Likewise.
56780         * math/w_acos.c: Likewise.
56781         * math/w_acosf.c: Likewise.
56782         * math/w_acosl.c: Likewise.
56783         * math/w_acosh.c: Likewise.
56784         * math/w_acoshf.c: Likewise.
56785         * math/w_acoshl.c: Likewise.
56786         * math/w_asin.c: Likewise.
56787         * math/w_asinf.c: Likewise.
56788         * math/w_asinl.c: Likewise.
56789         * math/w_atan2.c: Likewise.
56790         * math/w_atan2f.c: Likewise.
56791         * math/w_atan2l.c: Likewise.
56792         * math/w_atanh.c: Likewise.
56793         * math/w_atanhf.c: Likewise.
56794         * math/w_atanhl.c: Likewise.
56795         * math/w_exp10.c: Likewise.
56796         * math/w_exp10f.c: Likewise.
56797         * math/w_exp10l.c: Likewise.
56798         * math/w_fmod.c: Likewise.
56799         * math/w_fmodf.c: Likewise.
56800         * math/w_fmodl.c: Likewise.
56801         * math/w_j0.c: Likewise.
56802         * math/w_j0f.c: Likewise.
56803         * math/w_j0l.c: Likewise.
56804         * math/w_j1.c: Likewise.
56805         * math/w_j1f.c: Likewise.
56806         * math/w_j1l.c: Likewise.
56807         * math/w_jn.c: Likewise.
56808         * math/w_jnf.c: Likewise.
56809         * math/w_log.c: Likewise.
56810         * math/w_logf.c: Likewise.
56811         * math/w_logl.c: Likewise.
56812         * math/w_log10.c: Likewise.
56813         * math/w_log10f.c: Likewise.
56814         * math/w_log10l.c: Likewise.
56815         * math/w_log2.c: Likewise.
56816         * math/w_log2f.c: Likewise.
56817         * math/w_log2l.c: Likewise.
56818         * math/w_pow.c: Likewise.
56819         * math/w_powf.c: Likewise.
56820         * math/w_powl.c: Likewise.
56821         * math/w_remainder.c: Likewise.
56822         * math/w_remainderf.c: Likewise.
56823         * math/w_remainderl.c: Likewise.
56824         * math/w_scalb.c: Likewise.
56825         * math/w_scalbf.c: Likewise.
56826         * math/w_scalbl.c: Likewise.
56827         * math/w_sqrt.c: Likewise.
56828         * math/w_sqrtf.c: Likewise.
56829         * math/w_sqrtl.c: Likewise.
56830         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
56831         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
56832         used.
56833         * math/math_private.h: Declare __kernel_standard_f.
56834         * math/w_cosh.c: Remove cruft and optimize a bit.
56835         * math/w_coshf.c: Likewise.
56836         * math/w_coshl.c: Likewise.
56837         * math/w_exp2.c: Likewise.
56838         * math/w_exp2f.c: Likewise.
56839         * math/w_exp2l.c: Likewise.
56840         * math/w_hypot.c: Likewise.
56841         * math/w_hypotf.c: Likewise.
56842         * math/w_hypotl.c: Likewise.
56843         * math/w_lgamma.c: Likewise.
56844         * math/w_lgamma_r.c: Likewise.
56845         * math/w_lgammaf.c: Likewise.
56846         * math/w_lgammaf_r.c: Likewise.
56847         * math/w_lgammal.c: Likewise.
56848         * math/w_lgammal_r.c: Likewise.
56849         * math/w_sinh.c: Likewise.
56850         * math/w_sinhf.c: Likewise.
56851         * math/w_sinhl.c: Likewise.
56852         * math/w_tgamma.c: Likewise.
56853         * math/w_tgammaf.c: Likewise.
56854         * math/w_tgammal.c: Likewise.
56855         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
56856         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56857         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
56858         Minor optimizations.  Pretty printing.  Remove cruft.
56859         * sysdeps/i386/fpu/e_acosf.S: Likewise.
56860         * sysdeps/i386/fpu/e_acosh.S: Likewise.
56861         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
56862         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
56863         * sysdeps/i386/fpu/e_acosl.c: Likewise.
56864         * sysdeps/i386/fpu/e_asin.S: Likewise.
56865         * sysdeps/i386/fpu/e_asinf.S: Likewise.
56866         * sysdeps/i386/fpu/e_atan2.S: Likewise.
56867         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
56868         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
56869         * sysdeps/i386/fpu/e_atanh.S: Likewise.
56870         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
56871         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
56872         * sysdeps/i386/fpu/e_exp10.S: Likewise.
56873         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
56874         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
56875         * sysdeps/i386/fpu/e_exp2.S: Likewise.
56876         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
56877         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
56878         * sysdeps/i386/fpu/e_fmod.S: Likewise.
56879         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
56880         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
56881         * sysdeps/i386/fpu/e_hypot.S: Likewise.
56882         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
56883         * sysdeps/i386/fpu/e_log.S: Likewise.
56884         * sysdeps/i386/fpu/e_log10.S: Likewise.
56885         * sysdeps/i386/fpu/e_log10f.S: Likewise.
56886         * sysdeps/i386/fpu/e_log10l.S: Likewise.
56887         * sysdeps/i386/fpu/e_log2.S: Likewise.
56888         * sysdeps/i386/fpu/e_log2f.S: Likewise.
56889         * sysdeps/i386/fpu/e_log2l.S: Likewise.
56890         * sysdeps/i386/fpu/e_logf.S: Likewise.
56891         * sysdeps/i386/fpu/e_logl.S: Likewise.
56892         * sysdeps/i386/fpu/e_pow.S: Likewise.
56893         * sysdeps/i386/fpu/e_powf.S: Likewise.
56894         * sysdeps/i386/fpu/e_powl.S: Likewise.
56895         * sysdeps/i386/fpu/e_remainder.S: Likewise.
56896         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
56897         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
56898         * sysdeps/i386/fpu/e_scalb.S: Likewise.
56899         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56900         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56901         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
56902         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
56903         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
56904         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
56905         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56906         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56907         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
56908         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56909         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
56910         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
56911         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
56912         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56913         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56914         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
56915         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
56916         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56917         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
56918         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
56919         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56920         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56921         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
56922         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56923         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56924         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
56925         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
56926         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56927         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56928         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
56929         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
56930         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
56931         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
56932         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
56933         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
56934         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56935         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
56936         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
56937         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
56938         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
56939         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
56940         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
56941         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
56942         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
56943         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
56944         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
56945         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
56946         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
56947         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
56948         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56949         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
56950         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
56951         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
56952         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
56953         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
56954         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
56955         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
56956         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
56957         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56958         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
56959         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
56960         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
56961         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
56962         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
56963         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
56964         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
56965         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
56966         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56967         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56968         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
56969         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
56970         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
56971         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
56972         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
56973         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
56974         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
56975         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
56976         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
56977         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
56978         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
56979         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56980         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
56981         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
56982         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56983         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
56984         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56985         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
56986         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
56987         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56988         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56989         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
56990         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
56991         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
56992         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
56993         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
56994         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56995         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
56996         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56997         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
56998         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56999         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
57000         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
57001         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
57002         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
57003         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
57004         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
57005         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
57006         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
57007         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
57008         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
57009         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
57010         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
57011         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57012         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
57013         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
57014         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
57015         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
57016         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
57017         (__isnanf): Likewise.
57018         (__isinf_ns): Likewise.
57019         (__isinf_nsf): Likewise.
57020         (__finite): Likewise.
57021         (__finitef): Likewise.
57022         (__ieee754_sqrt): Define as macro.
57023         (__ieee754_sqrtf): Define as macro.
57024         (__ieee754_sqrtl): Define as macro.
57025         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
57026         inlined copy.
57027         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
57028         __FINITE_MATH_ONLY__ consistent.
57029         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
57031 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
57033         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
57034         of rawmemchr.
57036         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
57038 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
57040         * po/ja.po: Update from translation team.
57042 2011-10-08  Roland McGrath  <roland@hack.frob.com>
57044         * locale/programs/locarchive.c (prepare_address_space): New function.
57045         (create_archive, enlarge_archive, open_archive): Use it.
57047         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
57048         inside [SHARED], where it is used.
57050         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
57052         * nss/getent.c (netgroup_keys): Remove unused variable.
57053         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
57055 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
57057         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
57058         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
57059         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
57060         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
57061         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
57062         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
57063         * math/Makefile (libm-calls): Add s_isinf_ns.
57064         * math/divtc3.c: Use __isinf_nsl instead of isinf.
57065         * math/multc3.c: Likewise.
57066         * math/s_casin.c: Likewise.
57067         * math/s_casinf.c: Likewise.
57068         * math/s_casinl.c: Likewise.
57069         * math/s_ccos.c: Likewise.
57070         * math/s_ccosf.c: Likewise.
57071         * math/s_ccosl.c: Likewise.
57072         * math/s_ctan.c: Likewise.
57073         * math/s_ctanf.c: Likewise.
57074         * math/s_ctanh.c: Likewise.
57075         * math/s_ctanhf.c: Likewise.
57076         * math/s_ctanhl.c: Likewise.
57077         * math/s_ctanl.c: Likewise.
57078         * math/w_fmod.c: Likewise.
57079         * math/w_fmodf.c: Likewise.
57080         * math/w_fmodl.c: Likewise.
57081         * math/w_remainder.c: Likewise.
57082         * math/w_remainderf.c: Likewise.
57083         * math/w_remainderl.c: Likewise.
57084         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
57085         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
57086         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
57087         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
57088         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
57089         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
57090         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
57091         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
57093         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
57094         of the number.
57095         * stdio-common/printf_fphex.c: Likewise.
57096         * stdio-common/printf_size.c: Likewise.
57098         * math/e_exp10.c: Include math_private.h using <...> not "...".
57099         * math/e_exp10f.c: Likewise.
57100         * math/e_exp10l.c: Likewise.
57101         * math/e_exp2l.c: Likewise.
57102         * math/e_j0l.c: Likewise.
57103         * math/e_j1l.c: Likewise.
57104         * math/e_jnl.c: Likewise.
57105         * math/e_lgammal_r.c: Likewise.
57106         * math/e_rem_pio2l.c: Likewise.
57107         * math/e_scalb.c: Likewise.
57108         * math/e_scalbf.c: Likewise.
57109         * math/e_scalbl.c: Likewise.
57110         * math/k_cosl.c: Likewise.
57111         * math/k_sinl.c: Likewise.
57112         * math/k_tanl.c: Likewise.
57113         * math/s_cacoshf.c: Likewise.
57114         * math/s_catan.c: Likewise.
57115         * math/s_catanf.c: Likewise.
57116         * math/s_catanh.c: Likewise.
57117         * math/s_catanhf.c: Likewise.
57118         * math/s_catanhl.c: Likewise.
57119         * math/s_catanl.c: Likewise.
57120         * math/s_ccosh.c: Likewise.
57121         * math/s_ccoshf.c: Likewise.
57122         * math/s_ccoshl.c: Likewise.
57123         * math/s_cexp.c: Likewise.
57124         * math/s_cexpf.c: Likewise.
57125         * math/s_cexpl.c: Likewise.
57126         * math/s_clog.c: Likewise.
57127         * math/s_clog10.c: Likewise.
57128         * math/s_clog10f.c: Likewise.
57129         * math/s_clog10l.c: Likewise.
57130         * math/s_clogf.c: Likewise.
57131         * math/s_clogl.c: Likewise.
57132         * math/s_csin.c: Likewise.
57133         * math/s_csinf.c: Likewise.
57134         * math/s_csinh.c: Likewise.
57135         * math/s_csinhf.c: Likewise.
57136         * math/s_csinhl.c: Likewise.
57137         * math/s_csinl.c: Likewise.
57138         * math/s_csqrt.c: Likewise.
57139         * math/s_csqrtf.c: Likewise.
57140         * math/s_csqrtl.c: Likewise.
57141         * math/s_ctan.c: Likewise.
57142         * math/s_ctanf.c: Likewise.
57143         * math/s_ctanh.c: Likewise.
57144         * math/s_ctanhf.c: Likewise.
57145         * math/s_ctanhl.c: Likewise.
57146         * math/s_ctanl.c: Likewise.
57147         * math/s_ldexp.c: Likewise.
57148         * math/s_ldexpf.c: Likewise.
57149         * math/s_ldexpl.c: Likewise.
57150         * math/s_significand.c: Likewise.
57151         * math/s_significandf.c: Likewise.
57152         * math/s_significandl.c: Likewise.
57153         * math/w_acos.c: Likewise.
57154         * math/w_acosf.c: Likewise.
57155         * math/w_acosh.c: Likewise.
57156         * math/w_acoshf.c: Likewise.
57157         * math/w_acoshl.c: Likewise.
57158         * math/w_acosl.c: Likewise.
57159         * math/w_asin.c: Likewise.
57160         * math/w_asinf.c: Likewise.
57161         * math/w_asinl.c: Likewise.
57162         * math/w_atan2.c: Likewise.
57163         * math/w_atan2f.c: Likewise.
57164         * math/w_atan2l.c: Likewise.
57165         * math/w_atanh.c: Likewise.
57166         * math/w_atanhf.c: Likewise.
57167         * math/w_atanhl.c: Likewise.
57168         * math/w_cosh.c: Likewise.
57169         * math/w_coshf.c: Likewise.
57170         * math/w_coshl.c: Likewise.
57171         * math/w_dremf.c: Likewise.
57172         * math/w_exp10.c: Likewise.
57173         * math/w_exp10f.c: Likewise.
57174         * math/w_exp10l.c: Likewise.
57175         * math/w_exp2.c: Likewise.
57176         * math/w_exp2f.c: Likewise.
57177         * math/w_fmod.c: Likewise.
57178         * math/w_fmodf.c: Likewise.
57179         * math/w_fmodl.c: Likewise.
57180         * math/w_hypot.c: Likewise.
57181         * math/w_hypotf.c: Likewise.
57182         * math/w_hypotl.c: Likewise.
57183         * math/w_j0.c: Likewise.
57184         * math/w_j0f.c: Likewise.
57185         * math/w_j0l.c: Likewise.
57186         * math/w_j1.c: Likewise.
57187         * math/w_j1f.c: Likewise.
57188         * math/w_j1l.c: Likewise.
57189         * math/w_jn.c: Likewise.
57190         * math/w_jnf.c: Likewise.
57191         * math/w_jnl.c: Likewise.
57192         * math/w_lgamma.c: Likewise.
57193         * math/w_lgamma_r.c: Likewise.
57194         * math/w_lgammaf.c: Likewise.
57195         * math/w_lgammaf_r.c: Likewise.
57196         * math/w_lgammal.c: Likewise.
57197         * math/w_lgammal_r.c: Likewise.
57198         * math/w_log.c: Likewise.
57199         * math/w_log10.c: Likewise.
57200         * math/w_log10f.c: Likewise.
57201         * math/w_log10l.c: Likewise.
57202         * math/w_log2.c: Likewise.
57203         * math/w_log2f.c: Likewise.
57204         * math/w_log2l.c: Likewise.
57205         * math/w_logf.c: Likewise.
57206         * math/w_logl.c: Likewise.
57207         * math/w_pow.c: Likewise.
57208         * math/w_powf.c: Likewise.
57209         * math/w_powl.c: Likewise.
57210         * math/w_remainder.c: Likewise.
57211         * math/w_remainderf.c: Likewise.
57212         * math/w_remainderl.c: Likewise.
57213         * math/w_scalb.c: Likewise.
57214         * math/w_scalbf.c: Likewise.
57215         * math/w_scalbl.c: Likewise.
57216         * math/w_sinh.c: Likewise.
57217         * math/w_sinhf.c: Likewise.
57218         * math/w_sinhl.c: Likewise.
57219         * math/w_sqrt.c: Likewise.
57220         * math/w_sqrtf.c: Likewise.
57221         * math/w_sqrtl.c: Likewise.
57222         * math/w_tgamma.c: Likewise.
57223         * math/w_tgammaf.c: Likewise.
57224         * math/w_tgammal.c: Likewise.
57226         * po/ja.po: Update from translation team.
57228 2011-09-29  Andreas Jaeger  <aj@suse.de>
57230         [BZ #13179]
57231         * sunrpc/netname.c (netname2host): Fix logic.
57233         [BZ #6779]
57234         [BZ #6783]
57235         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
57236         correctly.
57237         * math/w_remainder.c (__remainder): Likewise.
57238         * math/w_remainderf.c (__remainderf): Likewise.
57239         * math/libm-test.inc (remainder_test): Add test cases.
57241 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57243         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
57244         sdiv_qrnnd.
57246 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
57248         * string/test-memcmp.c: Avoid unncessary #defines.
57249         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
57251 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57253         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
57254         Use new sse2 version for core i3 - i7 as it's faster
57255         than sse42 version.
57256         (bit_Prefer_PMINUB_for_stringop): New.
57257         * sysdeps/x86_64/rawmemchr.S: Update.
57258         Replace with faster SSE2 version.
57259         * sysdeps/x86_64/memrchr.S: New file.
57260         * sysdeps/x86_64/memchr.S: Update.
57261         Replace with faster SSE2 version.
57263 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
57265         * elf/dl-load.c (lose): Add cast to avoid warning.
57267 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
57269         * po/ca.po: Update from translation team.
57271         * inet/getnetgrent_r.c: Hook up nscd.
57272         * nscd/Makefile (routines): Add nscd_netgroup.
57273         (nscd-modules): Add netgroupcache.
57274         (CFLAGS-netgroupcache.c): Define.
57275         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
57276         (cache_search): Add const to second parameter.
57277         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
57278         INNETGR.
57279         (dbs): Add netgrdb entry.
57280         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
57281         (verify_persistent_db): Handle netgrdb.
57282         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
57283         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
57284         GETFDNETGR.
57285         (netgroup_response_header): Define.
57286         (innetgroup_response_header): Define.
57287         (datahead): Add netgroup_response_header and innetgroup_response_header
57288         elements.
57289         * nscd/nscd.conf: Add entries for netgroup cache.
57290         * nscd/nscd.h (dbtype): Add netgrdb.
57291         (_PATH_NSCD_NETGROUP_DB): Define.
57292         (netgroup_iov_disabled): Declare.
57293         (xmalloc, xcalloc, xrealloc): Move declarations here.
57294         (cache_search): Adjust prototype.
57295         Add netgroup-related prototypes.
57296         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
57297         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
57298         (__nscd_innetgr): Declare.
57299         * nscd/selinux.c (perms): Use access_vector_t as element type and
57300         add netgroup-related initializers.
57301         * nscd/netgroupcache.c: New file.
57302         * nscd/nscd_netgroup.c: New file.
57303         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
57304         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
57305         For four parameters use innetgr.
57306         * nss/nss_files/files-init.c: Add definition and callback for netgr.
57307         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
57308         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
57309         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
57311         * nscd/connections.c (register_traced_file): Don't register file
57312         for disabled databases.
57314 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
57316         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
57318         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
57319         from tree and freeing node.
57321 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
57323         * nss/nsswitch.c (__nss_database_lookup): Handle
57324         nss_parse_service_list out of memory case.
57326 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
57328         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
57329         out of memory case.
57331 2011-10-04  Andreas Schwab  <schwab@redhat.com>
57333         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
57334         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
57335         pass it down.
57336         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
57337         elf_machine_rela, elf_machine_lazy_rel.
57338         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
57339         (ELF_DYNAMIC_DO_REL): Likewise.
57340         (ELF_DYNAMIC_DO_RELA): Likewise.
57341         (ELF_DYNAMIC_RELOCATE): Likewise.
57342         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
57343         to ELF_DYNAMIC_DO_REL.
57344         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
57345         (dl_main): In trace mode always set __RTLD_NOIFUNC.
57346         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
57347         elf_machine_rela.
57348         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
57349         skip_ifunc, don't call ifunc function if non-zero.
57350         (elf_machine_rela): Likewise.
57351         (elf_machine_lazy_rel): Likewise.
57352         (elf_machine_lazy_rela): Likewise.
57353         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
57354         (elf_machine_lazy_rel): Likewise.
57355         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
57356         Likewise.
57357         (elf_machine_lazy_rel): Likewise.
57358         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57359         Likewise.
57360         (elf_machine_lazy_rel): Likewise.
57361         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
57362         (elf_machine_lazy_rel): Likewise.
57363         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
57364         (elf_machine_lazy_rel): Likewise.
57365         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57366         (elf_machine_lazy_rel): Likewise.
57367         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
57368         (elf_machine_lazy_rel): Likewise.
57369         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
57370         (elf_machine_lazy_rel): Likewise.
57371         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
57372         (elf_machine_lazy_rel): Likewise.
57374 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
57376         * nss/nss_files/files-init.c (_nss_files_init): Use static
57377         initialization for all the *_traced_file variables.
57379 2011-09-28  Andreas Schwab  <schwab@redhat.com>
57381         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57383 2011-09-27  Roland McGrath  <roland@hack.frob.com>
57385         [BZ #13226]
57386         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
57388 2011-09-27  Andreas Schwab  <schwab@redhat.com>
57390         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
57391         Reread the line before reparsing it.
57393 2011-09-26  Andreas Schwab  <schwab@redhat.com>
57395         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
57397 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
57398             Maxim Kuvyrkov  <maxim@codesourcery.com>
57399             Joseph Myers  <joseph@codesourcery.com>
57401         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
57402         if needed for __stack_chk_guard.
57404 2011-09-19  Roland McGrath  <roland@hack.frob.com>
57406         * sysdeps/posix/spawni.c (script_execute): Always define it.
57407         It will be optimized away if unused.
57408         (maybe_script_execute): New function.
57409         (__spawni): Call it.
57411         * Makerules: Don't include tls.make.
57412         (config-tls): Always set to thread.
57413         * tls.make.c: File removed.
57415 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
57417         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
57418         * config.make.in (CPPFLAGS-config): New substituted variable.
57420 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
57422         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
57424         [BZ #13192]
57425         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
57426         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
57428 2011-09-15  Roland McGrath  <roland@hack.frob.com>
57430         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
57431         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
57432         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57433         (CALL_FAIL): Likewise.
57434         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
57435         (CALL_FAIL): Macro removed.
57436         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
57438 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
57440         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
57441         for __FINITE_MATH_ONLY__ == 1.
57443 2011-09-15  Andreas Schwab  <schwab@redhat.com>
57445         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
57446         __ieee754_sqrt instead of sqrt.
57447         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
57448         __ieee754_sqrtf instead of sqrtf.
57449         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
57450         __floorf instead of floorf.
57451         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
57452         __floorf, __truncf instead of floorf, truncf.
57454 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
57456         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
57458         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
57459         __extern_always_inline.
57460         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
57461         32-bit.
57463 2011-09-14  Andreas Schwab  <schwab@redhat.com>
57465         * elf/rtld.c (dl_main): Also relocate in dependency order when
57466         doing symbol dependency testing.
57468 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
57470         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57471         Always define `refsym'.
57473 2011-09-13  Andreas Schwab  <schwab@redhat.com>
57475         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
57476         (__FD_ELT): Renamed from __FDELT.
57477         * misc/bits/select2.h (__FD_ELT): Likewise.
57478         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
57479         __FD_MASK instead of __FDELT, __FDMASK.
57480         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57481         Likewise.
57482         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57483         Likewise.
57485         * elf/Makefile (gen-ldd): Fix pattern.
57487         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
57488         (init_tls): Likewise.
57490 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
57492         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
57494 2011-09-12  Andreas Schwab  <schwab@redhat.com>
57496         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
57497         `struct cmsghdr *' instead of `void *'.
57498         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
57499         Likewise.
57501 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
57503         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
57504         if non-absolute.
57505         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
57506         ldd_rewrite_script.
57508 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
57510         * configure.in: Remove --with-tls option.
57511         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
57512         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
57513         out in case it is missing.
57514         * sysdeps/ia64/elf/configure.in: Likewise.
57515         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
57516         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
57517         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
57518         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
57519         * sysdeps/sh/elf/configure.in: Likewise.
57520         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
57521         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
57522         * sysdeps/x86_64/elf/configure.in: Likewise.
57523         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
57524         * sysdeps/mach/hurd/tls.h: Likewise.
57526         [BZ #13067]
57527         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
57529         [BZ #13090]
57530         * configure.in: Fix use of AC_INIT.
57532         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
57534 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
57536         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
57537         __set_errno.
57538         * malloc/hooks.c: Likewise.
57540         [BZ #11929]
57541         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
57542         variables statically.
57543         (narenas): Initialize.
57544         (list_lock): Initialize.
57545         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
57546         initializtion of main_arena and list_lock.  Small cleanups.
57547         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
57548         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
57549         Add initializers to main_arena and mp_.
57550         (malloc_state): Remove pagesize member.  Change all users to use
57551         GLRO(dl_pagesize).
57553         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
57554         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
57555         is always initialized.
57557         * malloc/malloc.c: Removed unused configurations and dead code.
57558         * malloc/arena.c: Likewise.
57559         * malloc/hooks.c: Likewise.
57560         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
57562         * include/tls.h: Removed.  USE___THREAD must always be defined.
57563         * bits/libc-tsd.h: Don't handle !USE___THREAD.
57564         * elf/dl-libc.c: Likewise.
57565         * elf/dl-tsd.c: Likewise.
57566         * include/errno.h: Likewise.
57567         * include/netdb.h: Likewise.
57568         * include/resolv.h: Likewise.
57569         * inet/herrno-loc.c: Likewise.
57570         * inet/herrno.c: Likewise.
57571         * malloc/arena.c: Likewise.
57572         * malloc/hooks.c: Likewise.
57573         * malloc/malloc.c: Likewise.
57574         * resolv/res-state.c: Likewise.
57575         * resolv/res_libc.c: Likewise.
57576         * sysdeps/i386/dl-machine.h: Likewise.
57577         * sysdeps/ia64/dl-machine.h: Likewise.
57578         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
57579         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
57580         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
57581         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
57582         * sysdeps/sh/dl-machine.h: Likewise.
57583         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
57584         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
57585         * sysdeps/unix/i386/sysdep.S: Likewise.
57586         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57587         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
57588         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
57589         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
57590         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
57591         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
57592         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
57593         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
57594         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57595         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
57596         * sysdeps/unix/x86_64/sysdep.S: Likewise.
57597         * sysdeps/x86_64/dl-machine.h: Likewise.
57598         * tls.make.c: Likewise.
57600         * configure.in: Remove --with-__thread option.  Make tests for
57601         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
57602         tls_model attribute fail if no support is available.  Remove
57603         USE_IN_LIBIO.
57604         * Makeconfig: Adjust for dropped configure option.  All features are
57605         now mandatory.
57606         * Makerules: Likewise.
57607         * Versions.def: Likewise.
57608         * argp/argp-fmtstream.c: Likewise.
57609         * argp/argp-fmtstream.h: Likewise.
57610         * argp/argp-help.c: Likewise.
57611         * assert/assert.c: Likewise.
57612         * config.h.in: Likewise.
57613         * config.make.in: Likewise.
57614         * configure: Likewise.
57615         * configure.in: Likewise.
57616         * csu/Versions: Likewise.
57617         * csu/init.c: Likewise.
57618         * elf/tst-audit2.c: Likewise.
57619         * elf/tst-tls10.c: Likewise.
57620         * elf/tst-tls10.h: Likewise.
57621         * elf/tst-tls11.c: Likewise.
57622         * elf/tst-tls12.c: Likewise.
57623         * elf/tst-tls14.c: Likewise.
57624         * elf/tst-tlsmod11.c: Likewise.
57625         * elf/tst-tlsmod12.c: Likewise.
57626         * elf/tst-tlsmod13.c: Likewise.
57627         * elf/tst-tlsmod13a.c: Likewise.
57628         * elf/tst-tlsmod14a.c: Likewise.
57629         * elf/tst-tlsmod15b.c: Likewise.
57630         * elf/tst-tlsmod16a.c: Likewise.
57631         * elf/tst-tlsmod16b.c: Likewise.
57632         * elf/tst-tlsmod7.c: Likewise.
57633         * elf/tst-tlsmod8.c: Likewise.
57634         * elf/tst-tlsmod9.c: Likewise.
57635         * gmon/gmon.c: Likewise.
57636         * grp/fgetgrent_r.c: Likewise.
57637         * grp/putgrent.c: Likewise.
57638         * hurd/fopenport.c: Likewise.
57639         * include/libc-symbols.h: Likewise.
57640         * include/tls.h: Likewise.
57641         * intl/gettextP.h: Likewise.
57642         * intl/loadinfo.h: Likewise.
57643         * locale/global-locale.c: Likewise.
57644         * locale/localeinfo.h: Likewise.
57645         * mach/devstream.c: Likewise.
57646         * malloc/arena.c: Likewise.
57647         * malloc/set-freeres.c: Likewise.
57648         * misc/err.c: Likewise.
57649         * misc/getttyent.c: Likewise.
57650         * misc/mntent_r.c: Likewise.
57651         * posix/getopt.c: Likewise.
57652         * posix/wordexp.c: Likewise.
57653         * pwd/fgetpwent_r.c: Likewise.
57654         * resolv/Versions: Likewise.
57655         * resolv/res_hconf.c: Likewise.
57656         * shadow/fgetspent_r.c: Likewise.
57657         * shadow/putspent.c: Likewise.
57658         * stdio-common/printf_fphex.c: Likewise.
57659         * stdio-common/tmpfile.c: Likewise.
57660         * stdlib/abort.c: Likewise.
57661         * stdlib/fmtmsg.c: Likewise.
57662         * sunrpc/auth_unix.c: Likewise.
57663         * sunrpc/clnt_perr.c: Likewise.
57664         * sunrpc/clnt_tcp.c: Likewise.
57665         * sunrpc/clnt_udp.c: Likewise.
57666         * sunrpc/clnt_unix.c: Likewise.
57667         * sunrpc/openchild.c: Likewise.
57668         * sunrpc/svc_simple.c: Likewise.
57669         * sunrpc/svc_tcp.c: Likewise.
57670         * sunrpc/svc_udp.c: Likewise.
57671         * sunrpc/svc_unix.c: Likewise.
57672         * sunrpc/xdr.c: Likewise.
57673         * sunrpc/xdr_array.c: Likewise.
57674         * sunrpc/xdr_rec.c: Likewise.
57675         * sunrpc/xdr_ref.c: Likewise.
57676         * sunrpc/xdr_stdio.c: Likewise.
57678 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
57680         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57682 2011-07-03  Andreas Jaeger  <aj@suse.de>
57684         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
57685         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
57686         regenerate with gen-libm-tests.pl.
57688 2010-05-12  Petr Baudis  <pasky@suse.cz>
57690         [BZ #11589]
57691         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
57692         around j0() zero points by switching to j1().
57693         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57694         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57695         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
57696         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57698 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
57700         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
57701         instead of 0.
57702         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
57703         instead of 0.
57704         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57705         Patch in part by Pavel Roskin <proski@gnu.org>.
57707         [BZ #13138]
57708         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
57709         realloc.
57710         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
57711         Free memory block if necessary.
57713         [BZ #12847]
57714         * libio/genops.c (INTDEF): For string streams the _lock pointer can
57715         be NULL.  Don't lock in this case.
57717 2011-09-09  Roland McGrath  <roland@hack.frob.com>
57719         * elf/elf.h (ELFOSABI_GNU): New macro.
57720         (ELFOSABI_LINUX): Define to that.
57722 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
57724         * string/strncat.c (strncat): Undef the symbol in case it has been
57725         defined in bits/string.h.
57727 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
57729         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
57731         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
57732         link map.
57734 2011-08-17  Andreas Jaeger  <aj@suse.de>
57736         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
57738 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
57739             Ian Lance Taylor  <iant@google.com>
57741         * math/libm-test.inc (lround_test): New testcase.
57742         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
57744 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
57746         * Makefile: Remove support for automatic cvs check-ins.
57747         * Makerules: Likewise.
57748         * config.make.in: Likewise.
57749         * configure.in: Likewise.
57750         * intl/Makefile: Likewise.
57751         * locale/Makefile: Likewise.
57752         * po/Makefile: Likewise.
57753         * posix/Makefile: Likewise.
57754         * sysdeps/gnu/Makefile: Likewise.
57755         * sysdeps/mach/hurd/Makefile: Likewise.
57756         * sysdeps/sparc/sparc32/Makefile: Likewise.
57758         [BZ #13118]
57759         * posix/Makefile (bug-regex32-ENV): Define.
57760         Patch by John Stanley <jpsinthemix@verizon.net>.
57762         * misc/Makefile (headers): Add bits/select2.h.
57763         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
57764         * misc/bits/select2.h: New file.
57765         * include/bits/select2.h: New file.
57766         * debug/Makefile (routines): Add fdelt_chk.
57767         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
57768         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
57769         FD_ISSET.
57770         * debug/fdelt_chk.c: New file.
57772         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
57773         * wcsmbs/test-wmemcmp.c: Likewise.
57774         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
57775         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
57777 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57779         * string/Makefile (strop-tests): Add memcmp.
57780         * string/test-wmemcmp.c: New file.
57781         * string/test-memcmp.c: Add wmemcmp support.
57783 2011-09-08  Roland McGrath  <roland@hack.frob.com>
57785         [BZ #13153]
57786         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
57787         2011-07-19 change.
57789         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
57790         garbage value in a __mach_port_mod_refs call in the cases of the
57791         task-self and thread-self ports.
57793 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57795         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
57797 2011-09-08  Andreas Schwab  <schwab@redhat.com>
57799         * elf/dl-load.c (lose): Check for non-null L.
57801 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
57803         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
57805         * elf/dl-libc.c (dlerror_run): Pass back error code from
57806         dl_catch_error.
57808         [BZ #13123]
57809         * elf/dl-load.c (lose): Free l_origin if it is valid.
57811         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
57812         names.
57813         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
57814         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
57815         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
57816         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
57817         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
57818         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
57820 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57822         * sysdeps/powerpc/fpu/e_hypot.c: New file.
57823         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
57824         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
57825         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
57826         * sysdeps/powerpc/fpu/k_cosf.c: New file.
57827         * sysdeps/powerpc/fpu/k_sinf.c: New file.
57828         * sysdeps/powerpc/fpu/s_cosf.c: New file.
57829         * sysdeps/powerpc/fpu/s_sinf.c: New file.
57830         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
57831         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
57833 2011-08-15  Alan Modra  <amodra@gmail.com>
57835         [BZ #13092]
57836         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
57837         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
57838         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
57839         ppc_mcount to static-only-routines.
57840         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
57841         __mcount_internal.
57842         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
57843         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
57845 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
57847         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
57848         for finite and infinity parameters.
57850 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
57852         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
57853         and add nop instructions for throughput optimization.
57854         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57856 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
57858         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
57859         aligned copy for power7 with vector-scalar instructions.
57860         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
57862 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
57864         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
57865         AVX check.
57867 2011-09-07  Andreas Schwab  <schwab@redhat.com>
57869         [BZ #13144]
57870         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
57871         last change.
57873 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
57875         * sysdeps/unix/sysv/linux/x86_64/init-first.c
57876         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
57877         syscall wrapper around clock_gettime in __vdso_clock_gettime.
57878         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
57879         clock_gettime.
57881 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
57883         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
57884         Forgot to demangle the pointer.
57886         * sysdeps/i386/sysdep.h: Define atom_text_section.
57887         * sysdeps/x86_64/sysdep.h: Likewise.
57888         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
57889         section with atom_text_section.
57890         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
57891         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
57892         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
57893         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
57894         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
57896         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
57897         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
57898         already be defined.  Change to take two parameters and don't assign
57899         result to variable.  Adjust all users.
57900         Define INTERNAL_GETTIME if not already defined.
57901         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
57902         call.
57903         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
57904         HAVE_CLOCK_GETTIME_VSYSCALL.
57905         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
57907         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
57908         gettimeofday vsyscall, just use time.
57910 2011-09-06  Andreas Schwab  <schwab@redhat.com>
57912         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
57913         <errno.h>.
57915 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
57917         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
57918         syscall on x86-64.
57919         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
57920         syscall.
57921         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
57922         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
57923         syscall if possible.
57925 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
57927         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
57928         e_ident.  Don't pass to find_mapsXX.
57929         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
57931 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57933         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57934         strchr-sse2-no-bsf strrchr-sse2-no-bsf
57935         * sysdeps/x86_64/multiarch/strchr.S: Update.
57936         Check bit_slow_BSF bit.
57937         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57938         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
57939         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
57941 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
57943         [BZ #13134]
57944         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
57945         before glibc 2.15.
57946         (tryshell): Define.
57947         (__spawni): Change last parameter to be flag.  Test
57948         SPAWN_XFLAGS_USE_PATH flag to use path or not.
57949         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
57950         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
57951         * posix/spawni.c: Likewise.
57952         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
57953         * posix/spawnp.c: Likewise.  Change normal version to use
57954         SPAWN_XFLAGS_USE_PATH.
57955         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
57956         SPAWN_XFLAGS_TRY_SHELL.
57958         [BZ #13150]
57959         * posix/glob.h: Remove gcc 1.x support.
57961         [BZ #13068]
57962         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
57964 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57966         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57967         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
57968         strrchr-sse2-bsf
57969         * sysdeps/i386/i686/multiarch/strchr.S: New file.
57970         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
57971         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
57972         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
57973         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
57974         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
57976 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57978         * sysdeps/x86_64/wcscmp.S: New file.
57980         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
57981         wcscmp-c wcscmp-sse2
57982         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
57983         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
57984         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
57985         * wcsmbs/wcscmp.c: Allow renaming.
57987 2011-09-05  David S. Miller  <davem@davemloft.net>
57989         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
57990         stack slot, rather than the struct return pointer slot.
57991         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
57992         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
57993         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
57994         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
57996 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
57998         * po/ja.po: Update from translation team.
58000         [BZ #13144]
58001         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
58002         kernel in 64-bit binaries.
58004 2011-09-01  David S. Miller  <davem@davemloft.net>
58006         * elf/elf.h (HWCAP_SPARC_*): Move to..
58007         * sysdeps/sparc/sysdep.h: this new file and add new values.
58008         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
58009         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
58010         _DL_HWCAP_COUNT to 24.
58011         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
58012         entries.
58013         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
58014         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
58015         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
58016         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
58017         instead of magic constants.
58018         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58020 2011-08-31  David S. Miller  <davem@davemloft.net>
58022         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
58023         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
58024         Reimplement to do errno handling inline.
58025         (SYSCALL_ERROR_HANDLER): New macro.
58026         (__SYSCALL_STRING): Do not do errno handling in asm.
58027         (__CLONE_SYSCALL_STRING): Delete.
58028         (__INTERNAL_SYSCALL_STRING): Delete.
58029         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
58030         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
58031         (PSEUDO): Reimplement to do errno handling inline.
58032         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
58033         (SYSCALL_ERROR_HANDLER): New macro.
58034         (__SYSCALL_STRING): Do not do errno handling in asm.
58035         (__CLONE_SYSCALL_STRING): Delete.
58036         (__INTERNAL_SYSCALL_STRING): Delete.
58037         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
58038         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
58039         i386.
58040         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
58041         (inline_syscall*): Add 'err' argument.
58042         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
58043         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
58044         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
58045         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
58047         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
58048         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
58050 2011-08-30  Andreas Schwab  <schwab@redhat.com>
58052         * elf/rtld.c (dl_main): Relocate objects in dependency order.
58054 2011-08-29  Jiri Olsa <jolsa@redhat.com>
58056         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
58057         directive.
58059 2011-08-24  David S. Miller  <davem@davemloft.net>
58061         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
58063 2011-08-24  Andreas Schwab  <schwab@redhat.com>
58065         * elf/Makefile: Add rules to build and run unload8 test.
58066         * elf/unload8.c: New file.
58067         * elf/unload8mod1.c: New file.
58068         * elf/unload8mod1x.c: New file.
58069         * elf/unload8mod2.c: New file.
58070         * elf/unload8mod3.c: New file.
58072         * elf/dl-close.c (_dl_close_worker): Reset private search list if
58073         it wasn't used.
58075 2011-08-23  David S. Miller  <davem@davemloft.net>
58077         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
58078         subtract stack bias.
58079         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
58080         %sp not %fp in calculations.
58081         (_JMPBUF_UNWINDS_ADJ): Likewise.
58083         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
58084         (aio_suspend): Call it to force an exception region around the
58085         AIO_MISC_WAIT() invocation.
58087 2011-08-23  Andreas Schwab  <schwab@redhat.com>
58089         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
58090         backslash.
58092 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
58094         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
58095         protection macro.
58096         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
58097         and <dl-machine.h>.
58098         (Elf64_FuncDesc): Remove.
58100 2011-08-22  David S. Miller  <davem@davemloft.net>
58102         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
58103         sigaltstack check, add missing cfi directives.
58104         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
58105         missing cfi directives, and sigaltstack handling.
58107 2011-08-16  Andreas Schwab  <schwab@redhat.com>
58109         [BZ #11724]
58110         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
58111         object is seen twice.
58112         * elf/dl-fini.c (_dl_sort_fini): Likewise.
58114         * elf/Makefile (distribute): Add tst-initorder2.c.
58115         (tests): Add tst-initorder2.
58116         (modules-names): Add tst-initorder2a tst-initorder2b
58117         tst-initorder2c tst-initorder2d.  Add rules to build them.
58118         ($(objpfx)tst-initorder2.out): New rule.
58119         * elf/tst-initorder2.c: New file.
58120         * elf/tst-initorder2.exp: New file.
58122 2011-08-22  Andreas Schwab  <schwab@redhat.com>
58124         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
58126         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
58127         dependencies back to end of function.
58129         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
58130         $(elfobjdir)/ld.so.
58132 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
58134         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
58135         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
58136         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
58137         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
58138         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
58139         of __vdso_gettimeofday.
58140         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
58141         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
58142         attribute_hidden.
58143         (_libc_vdso_platform_setup): Remove initialization of
58144         __vdso_gettimeofday and __vdso_time.
58146 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
58148         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
58149         and fgetc_unlocked.
58150         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
58151         getc_unlocked.
58153         * elf/dl-open.c (add_to_global): Report additions to the global scope
58154         for LD_DEBUG=scopes.
58155         (dl_open_worker): Also print scope of newly loaded dependencies.
58156         (_dl_show_scope): Indicate if there is no scope.
58158         [BZ #13114]
58159         * stdio-common/Makefile (tests): Add bug24.
58160         * stdio-common/bug24.c: New file.
58162 2011-08-19  Andreas Jaeger  <aj@suse.de>
58164         [BZ #13114]
58165         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
58166         non-existant file when using close-on-exec mode.
58168 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
58170         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
58171         the very first instruction.
58173         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
58174         the CFI state in the end.
58175         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
58176         inclusion of dl-trampoline.h.
58177         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
58179 2011-08-19  Andreas Schwab  <schwab@redhat.com>
58181         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
58182         expectations for long double.
58184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
58185         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
58187 2011-08-14  David S. Miller  <davem@davemloft.net>
58189         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
58190         artificual limit depends upon the system page size.
58192 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
58194         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
58195         * resolv/Makefile: Define CFLAGS-libresolv.
58197 2011-08-17  Andreas Schwab  <schwab@redhat.com>
58199         * nss/makedb.c (compute_tables): Make variables used in nested
58200         function static.
58202 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
58204         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
58205         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
58206         if buffer was too small.
58208         * elf/pldd.c (main): Attach to all threads in the process.
58209         Rewrite /proc handling to use *at functions.
58211 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
58213         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
58214         specifies first scope to show.
58215         (dl_open_worker): Update callers.  Move printing scope of new
58216         object to before the relocation.
58217         * elf/rtld.c (dl_main): Update _dl_show_scope call.
58218         * sysdeps/generic/ldsodefs.h: Update declaration.
58220         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
58221         string for the scope number.
58223 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
58225         * nscd/servicescache.c (cache_addserv): Make sure written is always
58226         initialized.
58228 2011-08-14  Roland McGrath  <roland@hack.frob.com>
58230         * sysdeps/i386/i486/bits/atomic.h
58231         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
58232         statement expression, so as to suppress "set but not used" warning.
58233         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
58235         * string/strncat.c (STRNCAT): Use prototype definition.
58237         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
58238         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
58239         -Iprograms here.
58240         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
58241         (localedef-modules): Add localedef.
58242         (locale-modules): Add locale.
58244         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
58245         * elf/rtld.c (dl_main): Invert order of assignment in last change,
58246         to avoid a warning.
58248 2011-08-14  David S. Miller  <davem@davemloft.net>
58250         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
58251         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
58253 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
58255         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
58256         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
58257         * elf/rtld.c (dl_main): Set l_name of vDSO.
58258         Call _dl_show_scope when DL_DEBUG_SCOPES.
58259         (process_dl_debug): Recognize scopes flag and also set it for all.
58260         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
58261         Declare _dl_show_scope.
58263         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
58264         (do_dlopen): Pass caller_dlopen to dl_open.
58265         (__libc_dlopen_mode): Initialize caller_dlopen.
58267         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
58268         of libc.  Make tolower call locale-independent.  Optimize a bit by
58269         using isdigit instead of isalnum.
58270         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
58272 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
58274         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
58275         was a dependency or dynamically loaded.
58277 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
58279         * intl/l10nflist.c: Allow architecture-specific pop function.
58280         * sysdeps/x86_64/l10nflist.c: New file.
58282         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
58283         classification.
58285 2011-08-10  Andreas Schwab  <schwab@redhat.com>
58287         * include/dirent.h: Add libc_hidden_proto for scandirat and
58288         scandirat64.  Don't declare __scandirat64.
58289         * dirent/scandirat.c: Add libc_hidden_def.
58290         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
58291         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
58293 2011-08-10  David S. Miller  <davem@davemloft.net>
58295         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
58296         enum.
58297         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58298         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58299         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58301 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
58303         * Versions.def [libc]: Add GLIBC_2.15.
58304         * dirent/Makefile (routines): Add scandirat and scandirat64.
58305         * dirent/Versions [libc]: Export scandirat and scandirat64 for
58306         GLIBC_2.15.
58307         * dirent/dirent.h: Declare scandirat and scandirat64.
58308         * dirent/scandirat.c: New file.
58309         * dirent/scandirat64.c: New file.
58310         * sysdeps/wordsize-64/scandirat.c: New file.
58311         * sysdeps/wordsize-64/scandirat64.c: New file.
58312         * dirent/opendir.c: Define opendirat.
58313         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
58314         using scandirat.
58315         * dirent/scandir64.c: Adjust for scandir.c change.
58316         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
58317         __scandirat64, and __scandir_cancel_handler.
58318         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
58319         additional parameter and use openat instead of open (outside of ld.so).
58320         Add new __opendir as wrapper around __opendirat.
58321         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
58322         here without requiring old scandirat implementation.
58324 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
58326         * dirent/scandir.c (cancel_handler): Renamed to
58327         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
58328         defined.  Adjust users.
58329         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
58330         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
58332 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
58334         * string/test-string.h (IMPL): Use __STRING to expand name and then
58335         stringify it.
58337         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
58338         of cleanups.
58340 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58342         * string/Makefile: Update.
58343         (strop-tests): Append strncat.
58344         * string/test-wcscmp.c: New file.
58345         New comprehensive test for wcscmp.
58346         * string/test-strcmp.c: Update.
58347         (WIDE): New define.
58349 2011-07-22  Andreas Schwab  <schwab@redhat.com>
58351         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
58352         line.
58354 2011-07-26  Andreas Schwab  <schwab@redhat.com>
58356         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
58357         encoding to ACE if AI_IDN.
58359 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
58361         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
58362         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
58364 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58366         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
58367         Fix overflow bug in strncat.
58368         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
58370         * string/test-strncat.c: Update.
58371         Add new tests for checking overflow bugs.
58373 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58375         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58376         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
58377         * sysdeps/i386/i686/multiarch/strcat.S: New file.
58378         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
58379         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
58380         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
58381         * sysdeps/i386/i686/multiarch/strncat.S: New file.
58382         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
58383         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
58385         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
58386         (USE_AS_STRCAT): Define.
58387         Add strcat and strncat support.
58388         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
58390 2011-07-25  Andreas Schwab  <schwab@redhat.com>
58392         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
58393         __n bigger than INT_MAX+1.
58394         (__strncmp_g): Likewise.
58396 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
58398         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
58399         * libio/stido.h: Likewise.
58401         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
58402         (AF_NFC): Define.
58403         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
58404         (AF_NFC): Define.
58406         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
58407         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58408         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58409         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
58410         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58412         [BZ #13021]
58413         * scripts/test-installation.pl: Don't expect libnss_test1 to be
58414         installed.
58416         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
58417         typo.
58418         (_dl_x86_64_save_sse): Likewise.
58420 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
58422         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
58423         OSXSAVE.
58424         (_dl_x86_64_save_sse): Likewise.
58426         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
58428         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
58430 2011-07-21  Andreas Schwab  <schwab@redhat.com>
58432         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
58433         change.
58434         (_dl_x86_64_save_sse): Use correct AVX check.
58436 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58438         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
58439         bug in strncpy/strncat.
58440         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
58442 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
58444         * string/tester.c (test_strcat): Add tests for different alignments
58445         of source and destination.
58446         (test_strncat): Likewise.
58448 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
58450         [BZ #12852]
58451         * posix/glob.c (glob): Check passed in values before using them in
58452         expressions to avoid some overflows.
58453         (glob_in_dir): Likewise.
58455         [BZ #13007]
58456         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
58457         check for AVX enablement so that we don't crash with old kernels and
58458         new hardware.
58459         * elf/tst-audit4.c: Add same checks here.
58460         * elf/tst-audit6.c: Likewise.
58462         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
58464 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
58466         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
58468 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
58470         * po/cs.po: Update from translation team.
58471         * po/bg.po: Likewise.
58473 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
58475         * misc/sys/cdefs.h: Add support for const attribute.
58476         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
58477         to gnu_dev_{major,minor,makedev} functions.
58479 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
58481         * intl/dcigettext.c (get_output_charset): Add missing bracket.
58483 2011-07-20  Andreas Schwab  <schwab@redhat.com>
58485         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
58486         strlen results.
58488 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58490         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
58491         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
58492         register in order to avoid conflicts with the soft frame pointer
58493         being held in r11 when necessary.
58494         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
58495         (INTERNAL_VSYSCALL_NCS): Likewise.
58497 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
58499         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
58500         * elf/dl-fini.c (_dl_fini): Adjust caller.
58501         * elf/dl-close.c (_dl_close_worker): Likewise.
58502         * sysdeps/generic/ldsodefs.h: Adjust declaration.
58504 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
58506         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
58507         "aux_cache->nlibs < 0".
58509         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
58510         in the reload-count case.
58512 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58514         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58515         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
58516         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
58517         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
58518         * sysdeps/x86_64/multiarch/strcat.S: New file.
58519         * sysdeps/x86_64/multiarch/strncat.S: New file.
58520         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
58521         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
58522         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
58523         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
58524         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
58525         (USE_AS_STRCAT): Define.
58526         Add strcat and strncat support.
58527         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
58528         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
58529         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
58530         * string/strncat.c: Update.
58531         (USE_AS_STRNCAT): Define.
58532         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58533         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
58534         and i7.
58535         * sysdeps/x86_64/multiarch/init-arch.h
58536         (bit_Prefer_PMINUB_for_stringop): New.
58537         (index_Prefer_PMINUB_for_stringop): Likewise.
58538         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
58539         bit_Prefer_PMINUB_for_stringop.
58541 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
58543         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
58544         buffer64.
58545         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
58546         of casting of buffer.
58547         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
58548         buffer32 and buffer64.
58549         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
58550         writes instead of casting of buffer.
58551         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
58552         buffer32.
58553         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
58554         casting of buffer.
58556 2011-07-19  Andreas Schwab  <schwab@redhat.com>
58558         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
58560 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
58562         * nscd/nscd.c (termination_handler): Don't do anything for a database
58563         if it has not yet been initialized.
58565 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
58567         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
58569 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
58571         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
58573 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
58575         * po/nl.po: Update from translation team.
58576         * po/sv.po: Likewise.
58578 2011-07-16  Roland McGrath  <roland@hack.frob.com>
58580         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
58581         now disallowed by GCC.
58583         * configure.in (use-default-link): Default to yes if a test -shared
58584         link meets our qualifications.
58585         * configure: Regenerated.
58587         * config.make.in (output-format): New variable.
58588         * configure.in: Check for ld --print-output-format support.
58589         * configure: Regenerated.
58590         * Makerules ($(common-objpfx)format.lds)
58591         [$(output-format) != unknown]: Just use $(output-format),
58592         instead of the linker-script munging.
58594 2011-07-14  Roland McGrath  <roland@hack.frob.com>
58596         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
58597         of $(common-objpfx)shlib.lds.
58598         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
58600         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
58601         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
58603         * configure.in (-z relro check): Adjust test code to add a large
58604         writable data section after it.
58605         * configure: Regenerated.
58607 2011-07-11  Roland McGrath  <roland@hack.frob.com>
58609         * configure.in (-z relro check): Fix test code to make the variable
58610         truly const.
58611         * configure: Regenerated.
58613 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
58615         * nscd/nscd.h (struct traced_file): Define.
58616         (struct database_dyn): Remove inotify_descr, reset_res, and filename
58617         elements.  Add traced_files.
58618         (inotify_fd): Declare.
58619         (register_traced_file): Declare.
58620         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
58621         (inotify_fd): Export.
58622         (resolv_conf_descr): Remove.
58623         (nscd_init): Move inotify descriptor creation to main.
58624         Don't register files for notification here.
58625         (register_traced_file): New function.
58626         (invalidate_cache): Don't use reset_res to determine whether to call
58627         res_init, go through the list of registered files.
58628         (main_loop_poll): The inotify descriptors are now stored in the
58629         structures for the traced files.
58630         (main_loop_epoll): Likewise
58631         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
58632         to __nss_disable_nscd.
58633         * nscd/cache.c (prune_cache): There is no single inotify descriptor
58634         for a database anymore.  Check the records for all the registered
58635         files instead.
58636         * nss/Makefile (libnss_files-routines): Add files-init.
58637         (libnss_db-routines): Add db-init.
58638         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
58639         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
58640         * nss/nss_db/db-init.c: New file.
58641         * nss/nss_files/files-init.c: New file.
58642         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
58643         __nss_lookup_function.
58644         (__nss_lookup_function): Call nss_load_library.
58645         (nss_load_all_libraries): New function.
58646         (__nss_disable_nscd): Take parameter with callback function for files
58647         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
58648         used for the cached services.
58649         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
58650         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
58651         options for features to all the files in nscd.
58653         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
58655 2011-07-10  Roland McGrath  <roland@hack.frob.com>
58657         * csu/elf-init.c (__libc_csu_init): Comment typo.
58659 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
58661         * po/pl.po: Update from translation team.
58662         * po/ja.po: Likewise.
58663         * po/ru.po: Likewise.
58664         * po/ko.po: Likewise.
58665         * po/fr.po: Likewise.
58667 2011-07-09  Roland McGrath  <roland@hack.frob.com>
58669         * configure.in (.ctors/.dtors header and trailer check):
58670         Use an empirical test on a built program.
58671         * configure: Regenerated.
58673         * configure.in (-z relro check): Use an empirical test on a built DSO.
58674         Detect, but do not require, on ia64.
58675         * configure: Regenerated.
58677         * configure.in (READELF): Find it with AC_CHECK_TOOL.
58678         Update tests that use readelf to use $READELF instead.
58679         * configure: Regenerated.
58681 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
58683         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
58684         if the result is not used.
58686 2011-07-05  Andreas Jaeger  <aj@suse.de>
58688         [BZ#9696]
58689         * stdlib/tst-strtod.c: Add testcase.
58691 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
58693         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
58694         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
58695         The latter has a higher limit.  Take additional parameter to pass to
58696         the new function.
58697         (__pathconf): Pass file to __statfs_link_max.
58698         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
58699         __statfs_link_max.
58700         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
58701         __statfs_link_max.
58703         [BZ #12868]
58704         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
58705         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58706         Handle Lustre.
58707         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
58708         (__statfs_filesize_max): Likewise.
58709         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
58711 2011-07-05  Andreas Jaeger  <aj@suse.de>
58713         * resolv/res_comp.c (dn_skipname): Remove unused variable.
58715 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
58717         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
58718         `status' variable.
58719         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
58720         Likewise.
58722 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
58724         * Makefile (strop-tests): Add strncat.
58725         * string/test-strncat.c: New file.
58727 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
58729         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
58731 2011-06-21  Andreas Jaeger  <aj@suse.de>
58733         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
58734         Copy rule from iconvdata/Makefile.
58736 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
58738         [BZ #12922]
58739         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
58740         but no long options are defined, just return 'W'.
58742 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
58744         [BZ #9696]
58745         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
58747 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
58749         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
58750         netgroups to read.
58751         (innetgr): Likewise.
58753 2011-07-05  Roland McGrath  <roland@hack.frob.com>
58755         * config.make.in (install_root): Default to $(DESTDIR).
58757 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
58759         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
58761 2011-07-02  Roland McGrath  <roland@hack.frob.com>
58763         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
58765         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
58766         containing directory rather than embedding absolute directory names.
58768         * scripts/check-local-headers.sh: Rewritten using awk.
58769         Match by word, not by line.  Print error messages for matches.
58770         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
58772         * Makerules [shlib-lds-flags empty]:
58773         ($(common-objpfx)libc_pic.opts): New target.
58774         ($(common-objpfx)libc_pic.os.clean): New target.
58775         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
58777         * config.make.in (OBJCOPY): New variable.
58778         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
58779         * configure: Regenerated.
58781         * config.make.in (use-default-link): New variable.
58782         * configure.in (use_default_link): Grok --with-default-link to set it.
58783         * configure: Regenerated.
58784         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
58785         (shlib-lds, shlib-lds-flags): Define to empty.
58787         * Makerules (shlib-lds): New variable.
58788         (shlib-lds-flags): New variable.
58789         (build-shlib, build-moduile, build-module-asneeded): Use it.
58790         ($(common-objpfx)libc.so): Use $(shlib-lds).
58791         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
58792         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
58794         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
58795         DT_FLAGS/DT_FLAGS_1 with zero flags.
58797         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
58798         linker script munging.
58800 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
58802         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
58803         as 128-bit value.
58804         * crypt/sha512.c (sha512_process_block): Perform total addition using
58805         128-bit if possible.
58806         (__sha512_finish_ctx): Likewise.
58807         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
58808         as 64-bit value.
58809         * crypt/sha256.c (SWAP64): Define.
58810         (sha256_process_block): Perform total addition using 64-bit if
58811         possible.
58812         (__sha256_finish_ctx): Likewise.
58814 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
58816         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
58817         * nscd/initgrcache.c (addinitgroupsX): Likewise.
58818         * nscd/hstcache.c (cache_addhst): Likewise.
58819         * nscd/grpcache.c (cache_addgr): Likewise.
58820         * nscd/aicache.c (addhstaiX): Likewise
58821         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
58823 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
58825         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
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
58831 2011-07-01  Andreas Schwab  <schwab@redhat.com>
58833         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
58834         domain only when needed.
58836 2011-06-30  Andreas Schwab  <schwab@redhat.com>
58838         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
58839         is always restored.
58841 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
58843         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
58844         are re-adding the entry.
58845         * nscd/servicescache.c (cache_addserv): Likewise.
58847 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
58849         * sysdeps/generic/dl-irel.h: fix protection against multiple
58850         inclusions.
58851         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
58853 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
58855         [BZ #12935]
58856         * malloc/memusage.sh: Fix quoting in message.
58857         * debug/xtrace.sh: Likewise.
58859         * configure.in: Remove support for --experimental-malloc option, make
58860         it the default.
58861         * config.make.in: Likewise.
58862         * malloc/Makefile: Likewise.
58864 2011-06-27  Andreas Schwab  <schwab@redhat.com>
58866         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
58867         two-byte characters.
58869 2011-06-27  Roland McGrath  <roland@hack.frob.com>
58871         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
58872         AC_CACHE_CHECK invocation.
58873         * configure: Regenerated.
58875         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
58877 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
58879         [BZ #12350]
58880         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
58881         bit from old_res_options.
58883         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
58885         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
58886         value type for setfct.
58888 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
58890         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
58891         __gettimeofday instead of gettimeofday.
58893 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
58895         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
58897 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
58899         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
58901         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
58902         info.
58904 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
58906         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58907         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
58908         strcpy-sse2-unaligned strncpy-sse2-unaligned
58909         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
58910         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
58911         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
58912         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
58913         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
58914         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
58915         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
58916         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
58917         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
58918         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
58919         (STRCPY): Support SSE2 and SSSE3 versions.
58921 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
58923         [BZ #12874]
58924         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
58925         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
58926         kernels which artificially limit size of requests.
58928 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
58930         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58931         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
58932         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
58933         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
58934         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
58935         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
58936         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
58937         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
58938         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
58939         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
58940         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
58941         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
58942         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
58943         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
58944         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
58945         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58946         Enable unaligned load optimization for Intel Core i3, i5 and i7
58947         processors.
58948         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
58949         Define.
58950         (index_Fast_Unaligned_Load): Define.
58951         (HAS_FAST_UNALIGNED_LOAD): Define.
58953 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
58955         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
58957 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
58959         [BZ #12907]
58960         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
58961         until it is clear that the information is realy needed.
58962         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
58964 2011-06-22  Andreas Schwab  <schwab@redhat.com>
58966         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
58968 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
58970         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
58971         /sys/devices/system/cpu/online if it is usable.
58973         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
58974         reading the information from the /proc filesystem to once a second.
58976 2011-06-21  Andreas Jaeger  <aj@suse.de>
58978         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
58979         NULL after inclusion of kernel headers.
58981 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
58983         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
58984         calls to internal_setent.
58986         [BZ #12885]
58987         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
58988         addresses using gethostbyname4_r ignore IPv4 addresses.
58990         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
58991         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
58993         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
58995 2011-06-20  David S. Miller  <davem@davemloft.net>
58997         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
58998         inclusions.
58999         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
59001         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
59002         (elf_irel): Use it.
59003         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
59004         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
59005         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
59006         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
59007         * sysdeps/x86_64/dl-irel.h: Likewise.
59009         * elf/dl-runtime.c: Use elf_ifunc_invoke.
59010         * elf/dl-sym.c: Likewise.
59012 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
59014         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
59015         need to dereference resplen2.
59017 2011-06-14  Andreas Schwab  <schwab@redhat.com>
59019         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
59021 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
59023         * Makeconfig: Define vardbdir and inst_vardbdir.
59024         * nss/Makefile: Add rules to install db-Makefile.
59026         * nss/nss_db/db-XXX.c: Cleanup.
59028         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
59029         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
59030         GLIBC_PRIVATE.
59031         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
59032         * nss/makedb.c: Implement -g option to specify that value strings
59033         are generated and should not be added to table iterated over for
59034         get*ent calls.
59035         * nss/nss_db/db-initgroups.c: New file.
59037         * nss/getent.c: Add support for initgroups lookups through getgrouplist
59038         interface.
59040         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
59041         (internal_getgrouplist): Adjust to name change.
59042         Update use_initgroups_entry if this is not the first call.
59043         * nss/databases.def: Add initgroups entry.
59045         * nss/makedb.c (compute_tables): Check result of multiple hash table
59046         sizes to minimize maximum chain length.
59048 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
59050         * Versions.def: Add entry for libnss_db.
59051         * shlib-versions: Likewise.
59052         * nss/Makefile: Add rules to build libnss_db.
59053         * nss/Versions: Add libnss_db information.  Organize libnss_files
59054         entries better.
59055         * nss/db-Makefile: Add gshadow support.  Change rules for the new
59056         makedb progra.  Some minor improvements to generate smaller files.
59057         * nss/nss_db/nss_db.h: Move NSS database header data structures to
59058         here from...
59059         * nss/makedb.c: ...here.
59060         Improve database format to be smaller and require less memory at
59061         runtime.
59062         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
59063         db anymore.
59064         * nss/nss_db/db-netgrp.c: Likewise.
59065         * nss/nss_db/db-open.c: Likewise.
59066         * nss/nss_files/flies-XXX.x: Adjust comments.
59067         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
59068         * nss/nss_files/files-grp.c: Likewise.
59069         * nss/nss_files/files-hosts.c: Likewise.
59070         * nss/nss_files/files-network.c: Likewise.
59071         * nss/nss_files/files-proto.c: Likewise.
59072         * nss/nss_files/files-pwd.c: Likewise.
59073         * nss/nss_files/files-rpc.c: Likewise.
59074         * nss/nss_files/files-service.c: Likewise.
59075         * nss/nss_files/files-sgrp.c: Likewise.
59076         * nss/nss_files/files-spwd.c: Likewise.
59077         * nss/nss_db/db-alias.c: Removed.
59078         * nss/nss_db/dummy-db.h: Removed.
59080 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
59082         * nss/makedb.c: Rewritten to not use database library.
59083         * nss/Makefile: Update to build new makedb program.
59085 2011-06-14  Andreas Jaeger  <aj@suse.de>
59087         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
59088         memset declaration.
59090 2011-06-10  Andreas Schwab  <schwab@redhat.com>
59092         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
59093         tmpbuf.
59095 2011-06-10  Roland McGrath  <roland@hack.frob.com>
59097         * Makerules (shlib.lds): Fail if the linker script comes out empty.
59098         * elf/Makefile ($(objpfx)ld.so): Likewise.
59100         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
59101         Don't list ld.so twice in dependencies.
59103         * posix/bug-regex31.c: Include <stdlib.h>.
59105         * nscd/hstcache.c (cache_addhst): Remove unused variable.
59107         * nis/nss_compat/compat-spwd.c
59108         (getspent_next_nss_netgr): Remove unused variable.
59109         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
59111         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
59112         nonmembers" output to use the right array.
59114         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
59116         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
59118         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
59119         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
59120         * catgets/gencat.c (read_input_file): Likewise.
59121         * locale/programs/locarchive.c (enlarge_archive): Likewise.
59123         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
59124         variable definition inside #if's controlling its use.
59126         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
59128         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
59130         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
59132         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
59133         unreachable code.
59135         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
59137         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
59138         * configure: Regenerated.
59140         * Makerules: Revert last change.
59141         * elf/Makefile: Likewise.
59143 2011-06-09  Roland McGrath  <roland@hack.frob.com>
59145         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
59146         * elf/Makefile ($(objpfx)librtld.os): Likewise.
59147         (reloc-link): Likewise.
59149 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
59151         * elf/Makefile: Add rules to build pldd.
59152         * elf/pldd.c: New file.
59153         * elf/pldd-xx.c: New file.
59155 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
59157         * version.h: Update for 2.15 development version.
59159 2011-06-07  David S. Miller  <davem@davemloft.net>
59161         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
59162         ifuncs.
59163         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
59164         elf_machine_lazy_rel): Likewise.
59165         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
59166         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
59167         elf_machine_lazy_rel): Likewise.
59168         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
59169         dl_hwcap via passed in argument.
59170         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
59171         Likewise.
59173 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59175         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
59177 2011-06-06  Roland McGrath  <roland@hack.frob.com>
59179         [BZ #12849]
59180         * manual/fdl-1.1.texi: New file, verbatim from:
59181         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
59182         * manual/lgpl-2.1.texi: New file, verbatim from:
59183         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
59184         * manual/Makefile (licenses): New variable, list those new file names.
59185         (texis): Use it.
59186         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
59188         * manual/fdl.texi: File removed.
59189         * manual/lesser.texi: File removed.
59190         * manual/libc.texinfo (Copying, Documentation License):
59191         Use new @include file names, put @appendix directive before @include.
59193 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
59195         [BZ #12841]
59196         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
59197         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
59198         (mq_open): Add __NTH.
59200 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
59202         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59203         Assume Intel Core i3/i5/i7 processor if AVX is available.
59205 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
59207         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
59208         typo.
59210 2011-05-31  Andreas Schwab  <schwab@redhat.com>
59212         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
59213         memory.  Use alloca_account.  Fix memory leak when retrying.
59215 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
59217         * version.h (RELEASE): Bump for 2.14 release.
59218         * include/features.h (__GLIBC_MINOR__): Bump to 14.
59220         * config.make.in (RANLIB): Remove entry.
59222 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
59224         * po/Makefile (po-sed-cmd): Add ksh to extensions.
59225         (libc.pot): Work around missing support for .ksh extension in xgettext.
59227         [BZ #12684]
59228         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
59229         if both request failed.
59230         (send_dg): In case of server errors clear resplen or *resplen2.
59232         [BZ #12454]
59233         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
59234         when there are multiple maps.
59235         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
59236         (_dl_fini): Remove test here.
59238         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
59240 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
59242         [BZ #12350]
59243         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
59244         bit from old_res_options.
59245         (gaih_inet): Likewise.
59247         [BZ #11099]
59248         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
59249         as signed.
59251         * resolv/res_init.c (res_setoptions): Make the code more compact.
59253         [BZ #11558]
59254         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
59255         set RES_USEVC.
59257         [BZ #11634]
59258         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
59260         * malloc/malloc.h: Mark malloc hook variables as deprecated.
59262         [BZ #11781]
59263         * malloc/malloc.h: Declare malloc hook variables as volatile.
59265         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
59266         in last patch.
59268         [BZ #11799]
59269         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
59270         raise in the comment.
59271         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
59272         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
59273         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
59275 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
59277         [BZ #12811]
59278         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
59279         grow the buffers more if it already has to be sufficient.
59280         (build_wcs_upper_buffer): Likewise.
59281         * posix/regexec.c (check_matching): Likewise.
59282         (clean_state_log_if_needed): Likewise.
59283         (extend_buffers): Don't enlarge buffers beyond size of the input
59284         buffer.
59285         Patches mostly by Emil Wojak <emil@wojak.eu>.
59286         * posix/bug-regex32.c: New file.
59287         * posix/Makefile (tests): Add bug-regex32.
59289         * locale/findlocale.c (_nl_find_locale): Return right away if
59290         _nl_explode_name failed.
59291         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
59293         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
59295         * debug/xtrace.sh: Unify messages.
59296         * malloc/memusage.sh: Likewise.
59298         [BZ #12813]
59299         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
59300         time symbol from vDSO.  Substitute with vsyscall if not available.
59301         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
59302         __vdso_time.
59304         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
59305         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
59306         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
59307         Add sendmmsg and internal_sendmmsg.
59308         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
59309         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
59310         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
59312         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
59313         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
59314         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
59316 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
59318         [BZ #12813]
59319         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
59320         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
59321         available.
59322         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
59323         __vdso_getcpu.
59325         [BZ #12814]
59326         * iconvdata/Makefile (tests): Add bug-iconv9.
59327         * iconvdata/bug-iconv9.c: New file.
59329 2011-05-27  Andreas Schwab  <schwab@redhat.com>
59331         [BZ #12814]
59332         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
59334 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
59336         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
59337         (struct user_regs_struct): Change intcs field back to cs.
59339 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
59341         * po/ja.po: Update from translation team.
59343 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
59345         [BZ #12795]
59346         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
59347         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
59349 2011-05-20  Andreas Schwab  <schwab@redhat.com>
59351         * stdlib/longlong.h: Update from GCC.
59353 2011-05-23  Andreas Schwab  <schwab@redhat.com>
59355         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
59356         parameter name.
59357         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
59358         Add parameter name.
59359         (__sysconf): Pass it down.
59361 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
59363         [BZ #12671]
59364         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
59365         some situations.
59366         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
59367         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
59368         add in in __libc_use_alloca calls.  Adjust callers.
59369         (glob): Use malloc in some situations.
59371         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
59372         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
59373         pltexit.
59375 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
59377         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
59378         and CLOCK_BOOTTIME_ALARM.
59380         [BZ #12782]
59381         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
59382         is returned.
59384         * string/_strerror.c (__strerror_r): Print negative errors as signed
59385         numbers.
59387         [BZ #12777]
59388         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
59389         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
59390         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
59392         * configure.in: Fix typo in redirection and correct removal of test
59393         files in two cases.
59395         [BZ #12788]
59396         * locale/setlocale.c (new_composite_name): Fix test to check for
59397         identical name of all categories.
59399         [BZ #12792]
59400         * libio/filedoalloc.c (local_isatty): New function.
59401         (_IO_file_doallocate): Use local_isatty.
59402         * stdio-common/perror.c (perror): In case a new stream is used
59403         forward the stream error.
59404         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
59405         error flag.
59407 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
59409         [BZ #11869]
59410         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
59411         alloca.
59412         * include/alloca.h (extend_alloca_account): Define.
59414         [BZ #11857]
59415         * posix/regex.h: Fix comments with documentation of user-accessible
59416         fields after compilation and describe correct free'ing of pattern
59417         after re_compile_pattern.
59418         Patch by Reuben Thomas <rrt@sc3d.org>.
59420 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
59422         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
59423         and -mno-altivec to prevent the compiler from using Altivec and/or
59424         VSX instructions when the corresponding registers are not available.
59426 2011-05-19  Andreas Schwab  <schwab@redhat.com>
59428         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
59430 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
59432         * libio/freopen.c (freopen): Use __dup2, not dup2.
59433         * libio/freopen64.c (freopen64): Likewise.
59435 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
59437         [BZ #12775]
59438         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
59439         * math/Makefile (tests): Add test-powl.
59440         (CFLAGS-test-powl.c): Define.
59441         * math/test-powl.c: New file.
59443 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59445         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
59447 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
59449         [BZ #11837]
59450         * iconvdata/gb18030.c: Update to GB18020-2005.
59452 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
59454         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
59455         RE_SYNTAX_POSIX_AWK): Update to match recent development.
59456         Patch by Aharon Robbins <arnold@skeeve.com>.
59458         [BZ #11892]
59459         * stdlib/putenv.c (putenv): Don't always create copy of the variable
59460         on the stack.
59462         [BZ #11895]
59463         * misc/pselect.c (__pselect): Handle timeout value errors hidden
59464         through underflows.
59466         [BZ #12766]
59467         * misc/error.c (error_at_line): Ensure file_name and old_file_name
59468         point to strings before performing equality test for error_one_per_line
59469         mode.
59471         [BZ #11697]
59472         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
59474         [BZ #11820]
59475         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
59476         (struct user_fpregs_struct): Avoid __uint*_t types.
59478         [BZ #6420]
59479         * malloc/mtrace.c (tr_where): Add additional parameter to point to
59480         symbol info.  Use it instead of calling _dl_addr locally.
59481         (lock_and_info): New function.
59482         (tr_freehook): Call lock_and_info and pass symbol info as additional
59483         parameter to tr_where.
59484         (tr_mallochook): Likewise.
59485         (tr_reallochook): Likewise.
59486         (tr_memalignhook): Likewise.
59488         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
59489         used and couldn't be at all thread-safe.
59491 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
59493         * libio/freopen.c (freopen): Don't close old file descriptor
59494         before the new one is opened.  Instead dup the new file descriptor
59495         to the old one after the new stream is created.
59496         * libio/freopen64.c (freopen64): Likewise.
59497         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
59498         * libio/fileops.c (_IO_new_file_close_it): Handle new
59499         _IO_FLAGS2_NOCLOSE flag.
59500         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
59501         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
59502         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
59503         _IO_FLAGS2_NOCLOSE flag.
59504         * include/unistd.h: Add hidden_proto for dup3.
59505         Define __have_dup3.
59506         * io/dup3.c: Define hidden symbol.
59507         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
59509         [BZ #7101]
59510         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
59511         when an incomplete long option is used.
59512         * posix/tst-getopt_long1.c: New file.
59513         * posix/Makefile (tests): Add tst-getopt_long1.
59515         [BZ #10138]
59516         * scripts/config.guess: Update from autoconf-2.68.
59517         * scripts/config.sub: Likewise.
59519         [BZ #10157]
59520         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
59521         tests into ...
59522         (has_cpuclock): ...this.  New function.
59523         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
59524         macro here based on has_cpuclock code.
59526         [BZ #10149]
59527         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59528         First byte (not low byte) is now always NUL.
59529         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
59531         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59532         Use non-cancelable interfaces.
59534         [BZ #9809]
59535         * locale/iso-639.def: Add entry for Sorani.
59537         [BZ #11901]
59538         * include/stdlib.h: Move include protection to the right place.
59539         Define abort_msg_s.  Declare __abort_msg with it.
59540         * stdlib/abort.c (__abort_msg): Adjust type.
59541         * assert/assert.c (__assert_fail_base): New function.  Majority
59542         of code from __assert_fail.  Allocate memory for __abort_msg with
59543         mmap.
59544         (__assert_fail): Now call __assert_fail_base.
59545         * assert/assert-perr.c: Remove bulk of implementation.  Use
59546         __assert_fail_base.
59547         * include/assert.hL Declare __assert_fail_base.
59548         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
59549         mmap.
59550         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
59552 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
59554         [BZ #11952]
59555         [BZ #12453]
59556         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
59557         until all modules are registered in the DTV.
59558         * elf/Makefile: Add rules to build and run tst-tls19.
59559         * elf/tst-tls19.c: New file.
59560         * elf/tst-tls19mod1.c: New file.
59561         * elf/tst-tls19mod2.c: New file.
59562         * elf/tst-tls19mod3.c: New file.
59563         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
59565         [BZ #12083]
59566         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
59567         correctly.
59569         [BZ #12601]
59570         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
59571         two-byte sequence errors.
59572         * iconvdata/Makefile (tests): Add bug-iconv8.
59573         * iconvdata/bug-iconv8.c: New file.
59575         [BZ #12626]
59576         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
59577         buf2 definition.
59579         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
59581         [BZ #12432]
59582         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
59583         (dummy_getcfa): New function.
59584         (init): Get _Unwind_GetCFA address, use dummy if not found.
59585         (backtrace_helper): In recursion check, also check whether CFA changes.
59586         (__backtrace): Completely initialize arg.
59588         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
59589         storing incomplete byte sequence in state object.  Avoid testing for
59590         guaranteed too small input if we know there is enough data available.
59592 2011-05-11  Andreas Schwab  <schwab@redhat.com>
59594         * Makeconfig (+link-pie): Indent.
59595         * Rules (binaries-pie): Define if $(have-fpie) and
59596         $(build-shared).
59597         (binaries-shared): Also filter out $(binaries-pie).
59598         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
59599         * nscd/Makefile (others-pie): Add nscd.
59600         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
59601         ($(objpfx)nscd): Remove command override.
59602         * login/Makefile (others-pie): Add pt_chown.
59603         ($(objpfx)pt_chown): Remove command override.
59604         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
59605         remove command overrides.
59607 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
59609         * libio/tst_putwc.c: Fix error messages.
59611         [BZ #12724]
59612         * libio/fileops.c (_IO_new_file_close_it): Always flush when
59613         currently writing and seek to current position when not.
59614         * libio/Makefile (tests): Add bug-fclose1.
59615         * libio/bug-fclose1.c: New file.
59617 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
59619         [BZ #12511]
59620         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
59621         don't set DF_1_NODELETE here.
59622         (do_lookup_x): When entering new entry test for copy relocation
59623         and if necessary set DF_1_NODELETE flag.
59624         * elf/tst-unique4.cc: New file.
59625         * elf/tst-unique4.h: New file.
59626         * elf/tst-unique4lib.cc: New file.
59627         * elf/Makefile: Add rules to build and run tst-unique4.
59628         Patch by Piotr Bury <pbury@goahead.com>.
59630 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
59632         [BZ #12052]
59633         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
59635         [BZ #12625]
59636         * misc/mntent_r.c (addmntent): Flush the stream after the output
59638         [BZ #12393]
59639         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
59640         (is_trusted_path_normalize): Skip initial colon.  Append slash
59641         to empty buffer.  Duplicate is_trusted_path code but allow
59642         constructed patch to be prefix.
59643         (is_dst): Allow $ORIGIN followed by /.
59644         (_dl_dst_substitute): Correct clearing of check_for_trusted.
59645         Correct testing of result of is_trusted_path_normalize
59646         (decompose_rpath): Fix warning.
59648 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
59650         [BZ #11257]
59651         * grp/initgroups.c (internal_getgrouplist): When we found the service
59652         list through the initgroups entry in nsswitch.conf do not always
59653         continue on a successful lookup.  Don't always use the
59654         __nss_group_database value if it is set.
59655         * nss/nsswitch.conf (initgroups): Change action for successful db
59656         lookup to continue for compatibility.
59658 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
59660         [BZ #11532]
59661         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
59662         and CP774 modules.
59663         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
59664         and CP774 modules.
59665         * iconvdata/tst-tables.sh: Likewise.
59666         * iconvdata/cp770.c: New file.
59667         * iconvdata/cp771.c: New file.
59668         * iconvdata/cp772.c: New file.
59669         * iconvdata/cp773.c: New file.
59670         * iconvdata/cp774.c: New file.
59671         * iconvdata/testdata/CP770: New file.
59672         * iconvdata/testdata/CP770..UTF8: New file.
59673         * iconvdata/testdata/CP771: New file.
59674         * iconvdata/testdata/CP771..UTF8: New file.
59675         * iconvdata/testdata/CP772: New file.
59676         * iconvdata/testdata/CP772..UTF8: New file.
59677         * iconvdata/testdata/CP773: New file.
59678         * iconvdata/testdata/CP773..UTF8: New file.
59679         * iconvdata/testdata/CP774: New file.
59680         * iconvdata/testdata/CP774..UTF8: New file.
59682         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
59683         END CHARMAP line.
59684         * iconvdata/gen-8bit-gap.sh: Likewise.
59685         * iconvdata/gen-8bit.sh: Likewise.
59687         * locale/iso-639.def: Add ary entry.
59689         [BZ #11258]
59690         * locale/C-translit.h.in: Add U20A1 transliteration.
59692         [BZ #12178]
59693         * locale/iso-639.def: Add wae entry.
59694         Patch by Kevin Bortis <bortis@translate-wae.ch>.
59696         [BZ #12545]
59697         * locale/programs/localedef.c (construct_output_path): Use ssize_t
59698         for n.
59700         [BZ #12711]
59701         * locale/C-translit.h.in: Add entry for U20B9.
59702         Patch by pravin.d.s@gmail.com.
59704 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
59706         [BZ #12713]
59707         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
59708         ENAMETOOLONG use generic getcwd.
59709         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
59710         in rtld.  Use *stat64.
59711         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
59712         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
59713         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
59714         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
59715         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
59716         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
59717         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
59718         __fstatat64 macros.
59719         * include/dirent.h: Add libc_hidden_proto for rewinddir.
59720         * dirent/rewinddir.c: Add libc_hidden_def.
59721         * sysdeps/mach/hurd/rewinddir.c: Likewise.
59722         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
59724         * include/dirent.h (__alloc_dir): Add flags parameter.
59725         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
59726         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
59727         __alloc_dir.
59728         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
59729         from fdopendir if O_CLOEXEC is already set.
59731 2011-03-15  Alan Modra  <amodra@gmail.com>
59733         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
59734         l_tls_firstbyte_offset non-zero.  Save padding offset in
59735         l_tls_firstbyte_offset for later use.
59736         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
59737         freeing static tls block.
59739 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
59741         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
59742         where #ifdef was intended.  The intent is to prevent ARG_MAX from
59743         being defined by the kernel headers.
59745 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
59747         [BZ #12734]
59748         * resolv/resolv.h: Define RES_NOTLDQUERY.
59749         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
59750         no-tld-query and set RES_NOTLDQUERY.
59751         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
59752         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
59753         modern BIND to search name as TLD unless forbidden.
59755 2011-05-07  Petr Baudis  <pasky@suse.cz>
59756             Ulrich Drepper  <drepper@gmail.com>
59758         [BZ #12393]
59759         * elf/dl-load.c (fillin_rpath): Move trusted path check...
59760         (is_trusted_path): ...to here.
59761         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
59762         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
59763         using is_trusted_path_normalize() in setuid scripts.
59765 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
59767         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
59768         __BEGIN/__END_DECLS.
59770 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
59772         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
59773         NSS_STATUS_NOTFOUND if no record was found.
59775 2011-05-05  Andreas Schwab  <schwab@redhat.com>
59777         * sunrpc/Makefile (headers): Add rpc/netdb.h.
59778         (headers-not-in-tirpc): Remove rpc/netdb.h
59779         * resolv/netdb.h: Revert last change.
59781 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
59783         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
59784         circular dependency between libgcc.a and libc.a.
59786 2011-05-05  Andreas Schwab  <schwab@redhat.com>
59788         * resolv/netdb.h: Don't include <rpc/netdb.h>.
59789         * nis/Makefile: Don't install rpcsvc/*.
59790         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
59791         instead of <rpc/types.h>.
59792         (MAXHOSTNAMELEN): Define.
59794 2011-05-03  Andreas Schwab  <schwab@redhat.com>
59796         * elf/ldconfig.c (add_dir): Don't crash on empty path.
59798 2011-04-28  Maciej Babinski  <mbabinski@google.com>
59800         [BZ #12714]
59801         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
59802         gethostbyname4_r when IPv6 results are possible.
59804 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
59806         [BZ #12723]
59807         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
59808         _PC_PIPE_BUF handling.
59810 2011-04-30  Bruno Haible  <bruno@clisp.org>
59812         [BZ #12717]
59813         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
59814         * resolv/netdb.h (getnameinfo): Change type of flags parameter
59815         to 'int'.
59816         * inet/getnameinfo.c (getnameinfo): Likewise.
59818 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
59820         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
59821         to groups setting in database lookup.
59822         * nss/nsswitch.conf: Add initgroups entry.
59824 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
59826         [BZ #12685]
59827         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
59828         mode string.
59829         Patch by Eric Blake <eblake@redhat.com>.
59831 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
59833         * sunrpc/Makefile (need-export-routines): Add svc_run.
59834         (routines): Remove svc_run.
59835         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
59836         * sunrpc/clnt_perr.c (clnt_perrno): Export.
59837         * sunrpc/svc_run.c (svc_run): Likewise.
59838         * sunrpc/svc_udp.c (svcudp_create): Likewise.
59840 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
59842         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
59843         problem in reallocation in last patch.
59845 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
59847         * sunrpc/Makefile: Move inclusion of Rules.
59849 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
59851         * nss/nss_files/files-initgroups.c: New file.
59852         * nss/Makefile (libnss_files-routines): Add files-initgroups.
59853         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
59854         _nss_files_initgroups_dyn.
59856 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
59858         * elf/elf.h (R_ARM_IRELATIVE): Define.
59860 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
59862         * po/ru.po: Update from translation team.
59864 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
59866         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
59867         dependencies.
59869 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
59871         [BZ #12653]
59872         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
59873         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
59874         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
59875         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
59876         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
59878 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
59880         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
59881         differing bytes.
59882         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
59883         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
59884         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59886 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
59888         [BZ #12420]
59889         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
59890         storing it.
59891         * stdlib/bug-getcontext.c: New file.
59892         * stdlib/Makefile: Add rules to build and run bug-getcontext.
59894 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59896         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
59897         instructions into .machine "z9-109".
59898         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
59899         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
59901 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59903         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
59904         between environment variables and auxiliary vector.
59906 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
59908         * Makefile: Add rules to build linkobj/libc.so.
59909         * include/libc-symbols.h: Define libc_hidden_nolink.
59910         * include/rpc/auth.h: Mark functions which are to be hidden.
59911         * include/rpc/auth_des.h: Likewise.
59912         * include/rpc/auth_unix.h: Likewise.
59913         * include/rpc/clnt.h: Likewise.
59914         * include/rpc/des_crypt.h: Likewise.
59915         * include/rpc/key_prot.h: Likewise.
59916         * include/rpc/pmap_clnt.h: Likewise.
59917         * include/rpc/pmap_prot.h: Likewise.
59918         * include/rpc/pmap_rmt.h: Likewise.
59919         * include/rpc/rpc_msg.h: Likewise.
59920         * include/rpc/svc.h: Likewise.
59921         * include/rpc/svc_auth.h: Likewise.
59922         * include/rpc/xdr.h: Likewise.
59923         * nis/Makefile: Link all DSOs against linkobj/libc.so.
59924         * nss/Makefile: Likewise.
59925         * sunrpc/Makefile: Don't install headers.  Build library with normal
59926         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
59927         * sunrpc/auth_des.c: Hide exported symbols by default, export some
59928         for the compat linking library.  Remove use of INTDEF/INTUSE.
59929         * sunrpc/auth_none.c: Likewise.
59930         * sunrpc/auth_unix.c: Likewise.
59931         * sunrpc/authdes_prot.c: Likewise.
59932         * sunrpc/authuxprot.c: Likewise.
59933         * sunrpc/clnt_gen.c: Likewise.
59934         * sunrpc/clnt_perr.c: Likewise.
59935         * sunrpc/clnt_raw.c: Likewise.
59936         * sunrpc/clnt_simp.c: Likewise.
59937         * sunrpc/clnt_tcp.c: Likewise.
59938         * sunrpc/clnt_udp.c: Likewise.
59939         * sunrpc/clnt_unix.c: Likewise.
59940         * sunrpc/des_crypt.c: Likewise.
59941         * sunrpc/des_soft.c: Likewise.
59942         * sunrpc/get_myaddr.c: Likewise.
59943         * sunrpc/key_call.c: Likewise.
59944         * sunrpc/key_prot.c: Likewise.
59945         * sunrpc/netname.c: Likewise.
59946         * sunrpc/pm_getmaps.c: Likewise.
59947         * sunrpc/pm_getport.c: Likewise.
59948         * sunrpc/pmap_clnt.c: Likewise.
59949         * sunrpc/pmap_prot.c: Likewise.
59950         * sunrpc/pmap_prot2.c: Likewise.
59951         * sunrpc/pmap_rmt.c: Likewise.
59952         * sunrpc/publickey.c: Likewise.
59953         * sunrpc/rpc_cmsg.c: Likewise.
59954         * sunrpc/rpc_common.c: Likewise.
59955         * sunrpc/rpc_dtable.c: Likewise.
59956         * sunrpc/rpc_prot.c: Likewise.
59957         * sunrpc/rpc_thread.c: Likewise.
59958         * sunrpc/rtime.c: Likewise.
59959         * sunrpc/svc.c: Likewise.
59960         * sunrpc/svc_auth.c: Likewise.
59961         * sunrpc/svc_authux.c: Likewise.
59962         * sunrpc/svc_raw.c: Likewise.
59963         * sunrpc/svc_run.c: Likewise.
59964         * sunrpc/svc_simple.c: Likewise.
59965         * sunrpc/svc_tcp.c: Likewise.
59966         * sunrpc/svc_udp.c: Likewise.
59967         * sunrpc/svc_unix.c: Likewise.
59968         * sunrpc/svcauth_des.c: Likewise.
59969         * sunrpc/xcrypt.c: Likewise.
59970         * sunrpc/xdr.c: Likewise.
59971         * sunrpc/xdr_array.c: Likewise.
59972         * sunrpc/xdr_float.c: Likewise.
59973         * sunrpc/xdr_intXX_t.c: Likewise.
59974         * sunrpc/xdr_mem.c: Likewise.
59975         * sunrpc/xdr_rec.c: Likewise.
59976         * sunrpc/xdr_ref.c: Likewise.
59977         * sunrpc/xdr_sizeof.c: Likewise.
59978         * sunrpc/xdr_stdio.c: Likewise.
59980 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
59982         [BZ #12650]
59983         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
59984         * sysdeps/ia64/dl-tls.h: Likewise.
59985         * sysdeps/powerpc/dl-tls.h: Likewise.
59986         * sysdeps/s390/dl-tls.h: Likewise.
59987         * sysdeps/sh/dl-tls.h: Likewise.
59988         * sysdeps/sparc/dl-tls.h: Likewise.
59989         * sysdeps/x86_64/dl-tls.h: Likewise.
59990         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
59992 2011-03-14  Andreas Schwab  <schwab@redhat.com>
59994         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
59995         rpath element also skip the following colon.
59996         (expand_dynamic_string_token): Add is_path parameter and pass
59997         down to DL_DST_REQUIRED and _dl_dst_substitute.
59998         (decompose_rpath): Call expand_dynamic_string_token with
59999         non-zero is_path.  Ignore empty rpaths.
60000         (_dl_map_object_from_fd): Call expand_dynamic_string_token
60001         with zero is_path.
60003 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
60005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
60006         Make cancelable.
60008 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
60010         [BZ #12655]
60011         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
60012         Patch by Filipe David Manana <fdmanana@apache.org>.
60014 2011-04-07  Andreas Schwab  <schwab@redhat.com>
60016         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
60017         Maintain aligned stack.
60018         (CHECK_RSP): Remove unused macro.
60020 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
60022         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
60023         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
60025 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
60027         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
60029         * include/features.h: Mention __USE_XOPEN2K8 in comment.
60031 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
60033         [BZ #12518]
60034         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
60035         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
60036         * sysdeps/x86_64/memmove.c: New file.
60037         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
60038         (memcpy): Renamed to ...
60039         (__new_memcpy): This.
60040         (memcpy): Provide GLIBC_2_14 memcpy.
60041         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
60042         (memcpy): Provide GLIBC_2_2_5 memcpy.
60044 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
60046         [BZ #12631]
60047         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
60049 2011-03-30  Andreas Schwab  <schwab@redhat.com>
60051         * misc/syncfs.c: New file.
60052         * misc/Makefile (routines): Add syncfs.
60053         * posix/unistd.h: Declare syncfs.
60054         * sysdeps/unix/syscalls.list: Add syncfs.
60056 2011-04-01  Andreas Schwab  <schwab@redhat.com>
60058         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
60059         open_by_handle_at.
60060         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
60061         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60062         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60063         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60064         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60065         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
60066         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60068 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
60070         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
60071         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60072         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
60073         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60074         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60075         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60076         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60078         * io/Makefile: Compile fallocate.c, fallocate64.c, and
60079         sync_file_range.c with -fexceptions.
60080         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
60081         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
60082         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
60083         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
60084         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
60085         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
60086         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
60087         sync_file_range as cancellation point
60088         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
60089         now a wrapper around __call_sync_file_range with cancellation handling.
60090         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
60091         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
60092         function name to __call_sync_file_range.
60093         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
60094         Add call_sync_file_range.
60096 2011-04-01  Andreas Schwab  <schwab@redhat.com>
60098         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60099         bits/timex.h.
60101 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
60103         * iconv/iconv.h: Fix typo in comment.
60104         * io/fcntl.h: Likewise.
60105         * libio/stdio.h: Likewise.
60106         * posix/spawn.h: Likewise.
60107         * posix/unistd.h: Likewise.
60108         * stdlib/stdlib.h: Likewise.
60109         * time/time.h: Likewise.
60110         * wcsmbs/wchar.h: Likewise.
60112         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
60113         open_by_handle): Add.
60114         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
60115         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
60116         Augment a few comments.
60117         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60118         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60119         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60120         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60121         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60122         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
60123         open_by_handle.
60125         * io/fcntl.h (AT_EMPTY_PATH): Define.
60127 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
60129         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
60130         * sysdeps/unix/sysv/linux/bits/time.h: New file.
60131         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
60132         to...
60133         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
60134         * Versions.def: Add GLIBC_2.14.
60135         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
60136         Export.
60138 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
60140         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
60141         round counter.
60142         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
60144 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
60146         [BZ #12597]
60147         * string/test-strncmp.c (do_page_test): New function.
60148         (check2): Likewise.
60149         (test_main): Call check2.
60150         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
60152 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
60154         [BZ #12587]
60155         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
60156         Handle cache information in CPU leaf 4.
60157         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
60159 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
60161         [BZ #12583]
60162         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
60163         character representation.
60164         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
60166 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
60168         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
60169         END(__isnan) to END(__isnanf) to match function entry point/label
60170         EALIGN(__isnanf,...).
60172 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
60174         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
60176 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
60178         [BZ #12510]
60179         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
60180         copy from the symbol referenced in the relocation to initialize the
60181         used variable.
60182         Patch by Piotr Bury <pbury@goahead.com>.
60183         * elf/Makefile: Add rules to build and tst-unique3.
60184         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
60185         * elf/tst-unique3.cc: New file.
60186         * elf/tst-unique3.h: New file.
60187         * elf/tst-unique3lib.cc: New file.
60188         * elf/tst-unique3lib2.cc: New file.
60190         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
60192 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
60194         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
60195         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
60196         to _start.
60198 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
60200         * elf/dl-load.c (_dl_map_object): If we are looking for the first
60201         to-be-loaded object along a path to loader is ld.so.
60203 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
60204             Ulrich Drepper  <drepper@gmail.com>
60206         * sysdeps/x86_64/memset.S: After aligning destination, code
60207         branches to different locations depending on the value of
60208         misalignment, when multiarch is enabled. Fix this.
60210 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
60212         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
60213         Set _x86_64_preferred_memory_instruction for AMD processsors.
60214         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60215         Set bit_Prefer_SSE_for_memop for AMD processors.
60217 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
60219         * libio/fmemopen.c (fmemopen): Optimize a bit.
60221 2011-03-03  Andreas Schwab  <schwab@redhat.com>
60223         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
60225 2011-03-03  Roland McGrath  <roland@redhat.com>
60227         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
60229 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
60231         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
60232         __bzero_ultra1 instead of __memset_ultra1.
60234 2011-02-23  Andreas Schwab  <schwab@redhat.com>
60235             Ulrich Drepper  <drepper@gmail.com>
60237         [BZ #12509]
60238         * include/link.h (struct link_map): Add l_orig_initfini.
60239         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
60240         returning unsuccessfully.
60241         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
60242         close of a file loaded at startup, restore the original l_initfini
60243         list.
60244         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
60245         list, store the pointer.
60246         * elf/Makefile ($(objpfx)noload-mem): New rule.
60247         (noload-ENV): Define.
60248         (tests): Add $(objpfx)noload-mem.
60249         * elf/noload.c: Include <memcheck.h>.
60250         (main): Call mtrace.  Close all opened handles.
60252 2011-02-17  Andreas Schwab  <schwab@redhat.com>
60254         [BZ #12454]
60255         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
60256         dependencies are missing.
60258 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60260         Fix __if_freereq crash: Unlike the generic version which uses free,
60261         Hurd needs munmap.
60262         * sysdeps/mach/hurd/ifreq.h: New file.
60264 2011-01-27  Petr Baudis  <pasky@suse.cz>
60265             Ulrich Drepper  <drepper@gmail.com>
60267         [BZ 12445]#
60268         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
60269         to extend_alloca().
60270         * stdio-common/bug23.c: New file.
60271         * stdio-common/Makefile (tests): Add bug23.
60273 2010-09-28  Andreas Schwab  <schwab@redhat.com>
60274             Ulrich Drepper  <drepper@gmail.com>
60276         [BZ #12489]
60277         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
60278         before performing relro protection.  At old place add assertion
60279         to make sure nothing changed.
60281 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
60282             Glauber de Oliveira Costa  <glommer@gmail.com>
60284         * elf/elf.h: Add new ARM TLS relocs.
60286 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
60288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
60289         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
60290         cast from r3.
60291         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
60292         'tests' variable.
60293         * sysdeps/wordsize-64/tst-writev.c: New file.
60295 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
60297         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
60298         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
60299         insns in _dl_start to prevent a TOC reference before relocs are
60300         resolved.
60302 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
60304         [BZ #12469]
60305         * Makeconfig: Remove RANLIB definition.
60306         * Makerules: Don't use RANLIB.
60307         * aclocal.m4: Remove ranlib test.
60308         * configure.in: No need to check for ranlib.
60309         * elf/rtld-Rules: Don't use RANLIB.
60311 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60313         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
60314         protection macro.
60315         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
60316         inclusion protection macro.
60318         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
60319         SIGRTMIN and SIGRTMAX and print information in that case only when
60320         SIGRTMIN is defined.
60322 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
60324         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
60325         arginfo fn returning -1.
60327         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
60328         and thousands string is zero terminated.
60330 2011-02-03  Andreas Schwab  <schwab@redhat.com>
60332         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
60333         sysdeps/unix/sysv/linux/bits/socket.h.
60335 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60337         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
60338         (__CPU_COUNT): Remove old macros.
60339         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
60340         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
60341         (__CPU_ALLOC, __CPU_FREE): Add macros.
60342         (__sched_cpualloc, __sched_cpufree): Add declarations.
60344 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
60346         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
60347         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
60348         * nscd/aicache.c (addhstaiX): Return timeout of added value.
60349         (readdhstai): Return value of addhstaiX call.
60350         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
60351         (addgrbyX): Return value returned by cache_addgr.
60352         (readdgrbyname): Return value returned by addgrbyX.
60353         (readdgrbygid): Likewise.
60354         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
60355         (addpwbyX): Return value returned by cache_addpw.
60356         (readdpwbyname): Return value returned by addhstbyX.
60357         (readdpwbyuid): Likewise.
60358         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
60359         (addservbyX): Return value returned by cache_addserv.
60360         (readdservbyname): Return value returned by addservbyX:
60361         (readdservbyport): Likewise.
60362         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
60363         (addhstbyX): Return value returned by cache_addhst.
60364         (readdhstbyname): Return value returned by addhstbyX.
60365         (readdhstbyaddr): Likewise.
60366         (readdhstbynamev6): Likewise.
60367         (readdhstbyaddrv6): Likewise.
60368         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
60369         (readdinitgroups): Return value returned by addinitgroupsX.
60370         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
60371         (prune_cache): Keep track of timeout value of re-added entries.
60372         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
60373         * nscd/nscd.h: Adjust prototypes of readd* functions.
60375 2011-02-04  Roland McGrath  <roland@redhat.com>
60377         * nis/nis_server.c (nis_servstate): Use the right name for 0.
60378         (nis_stats): Likewise.
60379         * nis/nis_modify.c (nis_modify): Likewise.
60380         * nis/nis_remove.c (nis_remove): Likewise.
60381         * nis/nis_add.c (nis_add): Likewise.
60383         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
60385         * posix/fnmatch_loop.c: Add some consts.
60387         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
60389 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
60391         [BZ #12460]
60392         * config.make.in (config-cflags-novzeroupper): Define.
60393         * configure.in: Substitute libc_cv_cc_novzeroupper.
60394         * elf/Makefile (AVX-CFLAGS): Define.
60395         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
60396         (CFLAGS-tst-auditmod4a.c): Likewise.
60397         (CFLAGS-tst-auditmod4b.c): Likewise.
60398         (CFLAGS-tst-auditmod6b.c): Likewise.
60399         (CFLAGS-tst-auditmod6c.c): Likewise.
60400         (CFLAGS-tst-auditmod7b.c): Likewise.
60401         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
60403 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
60405         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
60406         function to the callback.
60407         Patch partly by Jiri Olsa <jolsa@redhat.com>.
60409 2011-02-02  Andreas Schwab  <schwab@redhat.com>
60411         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
60412         of errno.
60414 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
60416         [BZ #11724]
60417         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
60418         of constructors.
60419         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
60420         of destructors.
60421         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
60423         [BZ #11724]
60424         * elf/Makefile: Add rules to build and run new test.
60425         * elf/tst-initorder.c: New file.
60426         * elf/tst-initorder.exp: New file.
60427         * elf/tst-initordera1.c: New file.
60428         * elf/tst-initordera2.c: New file.
60429         * elf/tst-initordera3.c: New file.
60430         * elf/tst-initordera4.c: New file.
60431         * elf/tst-initorderb1.c: New file.
60432         * elf/tst-initorderb2.c: New file.
60433         * elf/tst-order-a1.c: New file.
60434         * elf/tst-order-a2.c: New file.
60435         * elf/tst-order-a3.c: New file.
60436         * elf/tst-order-a4.c: New file.
60437         * elf/tst-order-b1.c: New file.
60438         * elf/tst-order-b2.c: New file.
60439         * elf/tst-order-main.c: New file.
60440         New test case by George Gensure <werkt0@gmail.com>.
60442 2010-10-01  Andreas Schwab  <schwab@redhat.com>
60444         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60445         decoding ACE if AI_CANONIDN.
60447 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
60449         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
60451 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
60453         * version.h (RELEASE): Bump for 2.13 release.
60454         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
60456         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
60458         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
60459         MADV_NOHUGEPAGE.
60460         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
60461         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
60462         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
60463         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
60464         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
60465         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
60467         * posix/getconf.c: Update copyright year.
60468         * catgets/gencat.c: Likewise.
60469         * csu/version.c: Likewise.
60470         * debug/catchsegv.sh: Likewise.
60471         * debug/xtrace.sh: Likewise.
60472         * elf/ldconfig.c: Likewise.
60473         * elf/ldd.bash.in: Likewise.
60474         * elf/sprof.c (print_version): Likewise.
60475         * iconv/iconv_prog.c: Likewise.
60476         * iconv/iconvconfig.c: Likewise.
60477         * locale/programs/locale.c: Likewise.
60478         * locale/programs/localedef.c: Likewise.
60479         * malloc/memusage.sh: Likewise.
60480         * malloc/mtrace.pl: Likewise.
60481         * nscd/nscd.c (print_version): Likewise.
60482         * nss/getent.c: Likewise.
60484         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
60485         PF_CAIF, and PF_ALG.
60486         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60488 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
60490         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
60491         (modules-names): Use them.
60492         (ifunc-test-modules, ifunc-pie-tests): Define.
60493         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
60494         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
60495         (test-extras): Likewise.
60496         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
60497         $(compile-command.c).
60498         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
60499         (all-built-dso): Define.
60500         (check-textrel.out, check-execstack.out): Depend on it.
60502         * configure.in: Don't override --enable-multi-arch.
60504 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
60506         [BZ #6812]
60507         * nscd/hstcache.c (tryagain): Define.
60508         (cache_addhst): Return tryagain not notfound for temporary errors.
60509         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
60510         failed.
60512 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
60514         [BZ #10563]
60515         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
60516         to make the syscall.
60517         * sysdeps/unix/sysv/linux/setgroups.c: New file.
60519         [BZ #12378]
60520         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
60521         and fall back to matching as normal character if the string ends before
60522         the matching ']' is found.  This is what POSIX requires.
60523         * posix/testfnm.c: Adjust test result.
60524         * posix/globtest.sh: Adjust test result.  Add new test.
60525         * posix/tst-fnmatch.input: Likewise.
60526         * posix/tst-fnmatch2.c: Add new test.
60528 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
60530         * elf/Makefile (check-execstack): Revert last change.  Depend on
60531         check-execstack.h.
60532         (check-execstack.h): New target.
60533         (generated): Add check-execstack.h.
60534         * elf/check-execstack.c: Include "check-execstack.h".
60535         (main): Revert last change.
60536         (handle_file): Return zero if GNU_STACK is absent and
60537         DEFAULT_STACK_PERMS doesn't include PF_X.
60539 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
60541         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
60542         in child fails because the descriptor is already closed.
60543         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
60544         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
60545         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
60547         [BZ #12397]
60548         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
60549         syscall.
60551         [BZ #10484]
60552         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
60553         temporary buffer used to handle multi lookups locally.
60554         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
60556 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
60558         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
60559         loader is ld.so.
60561 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
60563         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
60564         alignment for SSE2.
60566 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
60568         [BZ #12394]
60569         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
60570         characters.  When rounding increased number of integer digits recompute
60571         number of groups.
60572         * stdio-common/tst-grouping.c: New file.
60573         * stdio-common/Makefile: Add rules to build and run tst-grouping.
60575 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
60577         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
60578         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
60580         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
60581         void.
60582         * bits/select.h: Likewise.
60584 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
60586         * po/ja.po: Update from translation team.
60588 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
60590         [BZ #11155]
60591         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
60592         implementation just like for lxstat, fxstatat, et al.
60594 2010-12-27  Jim Meyering  <meyering@redhat.com>
60596         [BZ #12348]
60597         * posix/regexec.c (build_trtable): Return failure indication upon
60598         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
60600 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
60602         [BZ #12201]
60603         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
60604         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
60605         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
60606         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
60608         [BZ #12207]
60609         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
60611         [BZ #12204]
60612         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
60613         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
60615 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
60617         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
60618         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
60619         script has SORT_BY_INIT_PRIORITY.
60620         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
60621         NO_CTORS_DTORS_SECTIONS is defined.
60622         * elf/soinit.c: Likewise.
60623         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
60624         NO_CTORS_DTORS_SECTIONS is defined.
60625         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
60626         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
60627         * sysdeps/sh/init-first.c: Likewise.
60628         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
60630 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
60632         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
60633         always use the slow path.
60635 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
60637         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
60638         similar rule which adds the sysdep directories to the header search in
60639         order to pick up the correct platform stackinfo.h.
60640         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
60641         perform test if it is, otherwise return successfully without testing.
60642         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
60643         DEFAULT_STACK_PERMS define in stackinfo.h.
60644         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
60645         defined in stackinfo.h.
60646         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
60647         DEFAULT_STACK_PERMS defined in stackinfo.h.
60648         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
60649         * sysdeps/ia64/stackinfo.h: Likewise.
60650         * sysdeps/s390/stackinfo.h: Likewise.
60651         * sysdeps/sh/stackinfo.h: Likewise.
60652         * sysdeps/sparc/stackinfo.h: Likewise.
60653         * sysdeps/x86_64/stackinfo.h: Likewise.
60654         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
60655         PF_X for powerpc64.  Retain PF_X for powerpc32.
60657 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
60659         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
60660         accurately.
60661         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
60662         GETDENTS_64BIT_ALIGNED.
60664 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
60666         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
60668 2010-12-10  Andreas Schwab  <schwab@redhat.com>
60670         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
60671         _GNU_SOURCE.
60673         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
60674         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
60675         Remove __restrict.
60676         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
60677         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
60679 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
60681         [BZ #11655]
60682         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
60683         are initialized.
60685 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
60687         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
60689 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
60691         * po/it.po: Update from translation team.
60693 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
60695         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
60696         unused codes.
60698 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
60700         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
60702 2010-11-24  Andreas Schwab  <schwab@redhat.com>
60704         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
60705         specially.
60706         (gaih_getanswer_slice): Likewise.
60708 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
60710         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
60712 2010-05-31  Petr Baudis  <pasky@suse.cz>
60714         [BZ #11149]
60715         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
60716         silently even in the chroot mode.
60718 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
60720         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
60721         last patch a bit.  Pretty printing
60723 2010-05-31  Petr Baudis <pasky@suse.cz>
60725         [BZ #10085]
60726         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
60727         initialization of skip_initgroups_dyn.
60729 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
60731         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
60732         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
60734 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
60736         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
60738 2010-11-11  Andreas Schwab  <schwab@redhat.com>
60740         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
60741         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
60742         (tst-fnmatch-ENV): Set MALLOC_TRACE.
60743         ($(objpfx)tst-fnmatch-mem): New rule.
60744         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
60745         * posix/tst-fnmatch.c (main): Call mtrace.
60747 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
60749         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60750         Support Intel processor model 6 and model 0x2c.
60752 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
60754         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
60755           signed comparison.
60757 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
60759         [BZ #12205]
60760         * string/test-strncasecmp.c (check_result): New function.
60761         (do_one_test): Use it.
60762         (check1): New function.
60763         (test_main): Use it.
60764         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
60765         Support strcasecmp and strncasecmp.
60767 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
60769         [BZ #12194]
60770         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
60771         * sysdeps/x86_64/bits/byteswap.h: Likewise.
60773 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
60775         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
60776         IFUNC support.
60777         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60778         memset-x86-64.
60779         * sysdeps/x86_64/multiarch/bzero.S: New file.
60780         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
60781         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
60782         * sysdeps/x86_64/multiarch/memset.S: New file.
60783         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
60784         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60785         Set bit_Prefer_SSE_for_memop for Intel processors.
60786         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
60787         Define.
60788         (index_Prefer_SSE_for_memop): Define.
60789         (HAS_PREFER_SSE_FOR_MEMOP): Define.
60791 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
60793         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
60794         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
60796 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
60798         [BZ #12191]
60799         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
60800         (__x86_64_raw_data_cache_size_half): Likewise.
60801         (__x86_64_raw_shared_cache_size): Likewise.
60802         (__x86_64_raw_shared_cache_size_half): Likewise.
60804         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
60805         (__x86_64_raw_data_cache_size_half): Likewise.
60806         (__x86_64_raw_shared_cache_size): Likewise.
60807         (__x86_64_raw_shared_cache_size_half): Likewise.
60808         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
60809         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
60810         and __x86_64_raw_shared_cache_size_half.  Round
60811         __x86_64_data_cache_size_half, __x86_64_data_cache_size
60812         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
60813         to multiple of 256 bytes.
60815 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
60817         [BZ #12167]
60818         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
60819         of inacessible symlinks.  Verify result of symlink before returning it.
60820         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
60821         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
60823 2010-10-28  Erich Ritz  <erichritz@gmail.com>
60825         * math/math.h (isinf): Fix typo in comment.
60827 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
60829         * po/da.po: Update from translation team.
60831 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
60833         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
60834         is added to the list.
60836 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60837             Ulrich Drepper  <drepper@gmail.com>
60839         * elf/dl-object.c (_dl_new_object): Don't append the new object to
60840         the global list here.  Move code to...
60841         (_dl_add_to_namespace_list): ...here.  New function.
60842         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
60843         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
60844         * elf/dl-load.c (lose): Don't remove the element from the list.
60845         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
60846         (_dl_map_object): Likewise.
60848 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
60850         [BZ #12159]
60851         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
60852         into all bytes of SSE register.
60853         Patch by Richard Li <richardpku@gmail.com>.
60855 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
60857         [BZ #12140]
60858         * malloc/malloc.c (_int_free): Fill correct number of bytes when
60859         perturbing.
60861 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
60863         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
60864         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
60865         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
60866         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
60867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
60868         submachine.
60869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
60871 2010-10-22  Andreas Schwab  <schwab@redhat.com>
60873         * include/dlfcn.h (__RTLD_SECURE): Define.
60874         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
60875         mode & __RTLD_SECURE instead.
60876         (open_path): Rename preloaded parameter to secure.
60877         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
60878         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
60879         * elf/dl-deps.c (openaux): Likewise.
60880         * elf/rtld.c (struct map_args): Remove is_preloaded.
60881         (map_doit): Don't use it.
60882         (dl_main): Likewise.
60883         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
60884         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
60886 2010-09-09  Andreas Schwab  <schwab@redhat.com>
60888         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
60889         (sysd-rules-targets): Remove duplicates.
60890         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
60891         rtld-%.$o dependency.
60893 2010-10-18  Andreas Schwab  <schwab@redhat.com>
60895         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
60896         _dl_map_object do it.
60898 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
60900         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
60901         fast fma builtins, define the macros in the C99 standard.
60902         (FP_FAST_FMAF): Likewise.
60903         (FP_FAST_FMAL): Likewise.
60904         * sysdeps/x86_64/bits/mathdef.h: Likewise.
60906         * bits/mathdef.h: Update copyright year.
60907         * sysdeps/powerpc/bits/mathdef.h: Likewise.
60909 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
60911         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
60912         builtins, define the macros in the C99 standard.
60913         (FP_FAST_FMAF): Likewise.
60914         (FP_FAST_FMAL): Likewise.
60915         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
60916         multiply/add.
60917         (FP_FAST_FMAF): Likewise.
60919 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
60921         [BZ #3268]
60922         * math/libm-test.inc (fma_test): Some new testcases.
60923         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
60924         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
60925         y and infinite z.  Do multiplication by C already in long double.
60926         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
60927         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
60928         y and infinite z.  Do bitwise or of inexact bit into u.d.
60929         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
60930         * sysdeps/i386/fpu/s_fmaf.S: Removed.
60931         * sysdeps/i386/fpu/s_fma.S: Removed.
60932         * sysdeps/i386/fpu/s_fmal.S: Removed.
60934 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
60936         [BZ #3268]
60937         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
60938         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
60939         computation is not scheduled after fetestexcept.  Fix value
60940         of minimum denormal long double.
60942 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
60944         [BZ #3268]
60945         * math/libm-test.inc (fma_test): Add some more tests.
60946         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
60947         correctly.
60949 2010-10-15  Andreas Schwab  <schwab@redhat.com>
60951         * scripts/data/localplt-s390-linux-gnu.data: New file.
60952         * scripts/data/localplt-s390x-linux-gnu.data: New file.
60954 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
60956         [BZ #3268]
60957         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
60958         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
60959         instead of dbl-64.
60960         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
60961         inlines.
60962         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
60963         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
60964         if one of x and y is very large and the other is subnormal.
60965         * sysdeps/s390/fpu/s_fmaf.c: New file.
60966         * sysdeps/s390/fpu/s_fma.c: New file.
60967         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
60968         * sysdeps/powerpc/fpu/s_fma.S: New file.
60969         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
60970         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
60971         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
60973 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
60975         [BZ #3268]
60976         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
60977         fma tests.
60978         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
60979         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
60980         * sysdeps/i386/i686/multiarch/s_fma.c: Include
60981         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
60982         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
60983         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
60984         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
60986 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
60988         [BZ #12078]
60989         * posix/regcomp.c (parse_branch): One more memory leak plugged.
60990         * posix/bug-regex31.input: Add test case.
60992 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
60994         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
60995         * posix/bug-regex31.input: New file.
60997         [BZ #12078]
60998         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
60999         (parse_sub_exp): Fix last change, use postorder.
61001         * posix/bug-regex31.c: New file.
61002         * posix/Makefile: Add rules to build and run bug-regex31.
61004         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
61006         [BZ #12078]
61007         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
61009         [BZ #12108]
61010         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
61011         to have entries in sys_siglist.
61013         [BZ #12093]
61014         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
61015         be NULL.
61017 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
61019         [BZ #3268]
61020         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
61021         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
61022         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
61023         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
61024         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
61025         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
61026         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
61027         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
61028         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
61029         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
61030         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
61031         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
61032         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
61033         * math/ftestexcept.c (fetestexcept): Likewise.
61034         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
61035         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
61036         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
61037         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
61038         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
61039         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
61040         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61042 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
61044         [BZ #12107]
61045         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
61046         newline.
61048 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
61050         * string/bug-strstr1.c: New file.
61051         * string/Makefile: Add rules to build and run bug-strstr1.
61053 2010-10-05  Eric Blake  <eblake@redhat.com>
61055         [BZ #12092]
61056         * string/str-two-way.h (two_way_long_needle): Always clear memory
61057         when skipping input due to the shift table.
61059 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
61061         [BZ #12005]
61062         * malloc/mcheck.c: Handle large requests.
61064         [BZ #12077]
61065         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
61066         for strncmp and strncasecmp.
61067         * string/stratcliff.c: Add tests for strcmp and strncmp.
61068         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
61070 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61072         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
61073         __set_fpscr.
61075 2010-09-30  Andreas Jaeger  <aj@suse.de>
61077         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
61078         (CGROUP_SUPER_MAGIC): Define.
61079         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61080         Handle btrfs and cgroup file systems.
61081         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
61082         Likewise.
61084 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
61086         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
61087         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
61089 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61091         [BZ #12067]
61092         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
61093         trying to locate the ELF header.
61095 2010-09-27  Andreas Schwab  <schwab@redhat.com>
61097         [BZ #11611]
61098         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
61099         Mask out sign-bit copies when constructing f_fsid.
61101 2010-09-24  Petr Baudis <pasky@suse.cz>
61103         * debug/stack_chk_fail_local.c: Add missing licence exception.
61104         * debug/warning-nop.c: Likewise.
61106 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
61108         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
61109         implementing getdents64 using getdents syscall, set d_type if
61110         __ASSUME_GETDENTS32_D_TYPE.
61112 2010-09-16  Andreas Schwab  <schwab@redhat.com>
61114         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
61115         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
61117 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
61119         [BZ #12037]
61120         * posix/unistd.h: Undo change of feature selection for ftruncate from
61121         2010-01-11.
61123 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
61125         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
61126         detection.
61128 2010-09-20  Andreas Schwab  <schwab@redhat.com>
61130         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
61131         fanotify_mark.
61132         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
61134 2010-09-14  Andreas Schwab  <schwab@redhat.com>
61136         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
61137         variables after CHECK_SP call.
61138         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
61140 2010-09-13  Andreas Schwab  <schwab@redhat.com>
61141             Ulrich Drepper  <drepper@redhat.com>
61143         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
61144         re-relocationg ld.so.
61145         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
61146         _dl_init_paths call.
61147         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
61148         here anymore.
61150 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
61152         * resolv/res_init.c (__res_vinit): Count the default server we added.
61154 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
61155             Ulrich Drepper  <drepper@redhat.com>
61157         [BZ #11968]
61158         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
61159         (____longjmp_chk): Use %ebx for saving value across system call.
61160         Add unwind info.
61162 2010-09-06  Andreas Schwab  <schwab@redhat.com>
61164         * manual/Makefile: Don't mix pattern rules with normal rules.
61166 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
61168         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
61169         operation.
61170         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
61171         * libio/iofopncook.c (_IO_cookie_init): Likewise.
61172         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
61173         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
61174         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61175         Likewise.
61177 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
61179         [BZ #11979]
61180         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
61181         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
61183 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
61185         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
61186         * sysdeps/x86_64/addmul_1.S: Likewise.
61187         * sysdeps/x86_64/lshift.S: Likewise.
61188         * sysdeps/x86_64/mul_1.S: Likewise.
61189         * sysdeps/x86_64/rshift.S: Likewise.
61190         * sysdeps/x86_64/sub_n.S: Likewise.
61191         * sysdeps/x86_64/submul_1.S: Likewise.
61193 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61195         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
61196         Define __sched_param instead of SCHED_* and sched_param when
61197         <bits/sched.h> is included with __need_schedparam defined.
61198         * bits/sched.h [__need_schedparam]
61199         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
61200         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
61201         (__defined_schedparam): Define to 1.
61202         (__sched_param): New structure, identical to sched_param.
61203         (__need_schedparam): Undefine.
61205 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
61207         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
61208         (epoll_create1): Declare.
61210         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
61212 2010-08-31  Andreas Schwab  <schwab@redhat.com>
61214         [BZ #7066]
61215         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
61216         shifting retval into place.
61218 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
61220         * nis/rpcsvc/nis.h: Update copyright notice.
61221         * nis/rpcsvc/nis.x: Likewise.
61222         * nis/rpcsvc/nis_callback.h: Likewise.
61223         * nis/rpcsvc/nis_callback.x: Likewise.
61224         * nis/rpcsvc/nis_object.x: Likewise.
61225         * nis/rpcsvc/nis_tags.h: Likewise.
61226         * nis/rpcsvc/yp.h: Likewise.
61227         * nis/rpcsvc/yp.x: Likewise.
61228         * nis/rpcsvc/ypupd.h: Likewise.
61229         * nis/yp_xdr.c: Likewise.
61230         * nis/ypupdate_xdr.c: Likewise.
61232         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
61233         mainly the body of pmap_getport.  Add parameters to specify timeouts.
61234         (pmap_getport): Use __libc_rpc_getport.
61235         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
61236         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
61237         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
61239 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
61241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
61242         fanotify_mark.
61244 2010-08-27  Roland McGrath  <roland@redhat.com>
61246         * sysdeps/i386/i686/multiarch/Makefile
61247         (CFLAGS-varshift.c): New variable.
61249 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
61251         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
61252         * sysdeps/i386/i686/multiarch/varshift.c: New file.
61254         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
61256         * sysdeps/x86_64/strlen.S: Minimal code improvement.
61258 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
61260         * sysdeps/x86_64/strlen.S: Unroll the loop.
61261         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61262         strlen-sse2 strlen-sse2-bsf.
61263         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
61264         __strlen_no_bsf if bit_Slow_BSF is set.
61265         (__strlen_sse42): Removed.
61266         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
61267         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
61269 2010-08-25  Roland McGrath  <roland@redhat.com>
61271         * sysdeps/x86_64/multiarch/varshift.S: File removed.
61272         * sysdeps/x86_64/multiarch/varshift.c: New file.
61273         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
61274         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
61275         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
61276         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
61278 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
61280         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61281         strlen-sse2 strlen-sse2-bsf.
61282         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
61283         __strlen_sse2_bsf if bit_Slow_BSF is unset.
61284         (__strlen_sse2): Removed.
61285         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
61286         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
61287         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
61288         bit_Slow_BSF for Atom.
61289         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
61290         (index_Slow_BSF): Define.
61291         (HAS_SLOW_BSF): Define.
61293 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
61295         [BZ #10851]
61296         * resolv/res_init.c (__res_vinit): When no server address at all
61297         is given default to loopback.
61299 2010-08-24  Roland McGrath  <roland@redhat.com>
61301         * configure.in: Remove config-name.h generation.
61302         * configure: Regenerated.
61303         * config-name.in: File removed.
61304         * scripts/config-uname.sh: New file.
61305         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
61306         ($(objdir)config-name.h): New target.
61308         * sunrpc/rpc_parse.h: Avoid nested comment.
61310 2010-08-24  Richard Henderson  <rth@redhat.com>
61311             Ulrich Drepper  <drepper@redhat.com>
61312             H.J. Lu  <hongjiu.lu@intel.com>
61314         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
61315         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
61316         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
61317         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
61318         _mm_alignr_epi8 with _mm_loadu_si128.
61319         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
61320         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
61321         (__m128i_shift_right): Removed.
61322         * sysdeps/i386/i686/multiarch/varshift.h: New file.
61323         * sysdeps/i386/i686/multiarch/varshift.S: New file.
61324         * sysdeps/x86_64/multiarch/varshift.h: New file.
61325         * sysdeps/x86_64/multiarch/varshift.S: New file.
61327 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
61329         * configure.in: Move assembler checks to before sysdep dir checking.
61331 2010-08-20  Petr Baudis  <pasky@suse.cz>
61333         * LICENSES: Sync the sunrpc license.
61335 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
61337         * sunrpc/auth_des.c: Update copyright notice once again.
61338         * sunrpc/auth_none.c: Likewise.
61339         * sunrpc/auth_unix.c: Likewise.
61340         * sunrpc/authdes_prot.c: Likewise.
61341         * sunrpc/authuxprot.c: Likewise.
61342         * sunrpc/bindrsvprt.c: Likewise.
61343         * sunrpc/clnt_gen.c: Likewise.
61344         * sunrpc/clnt_perr.c: Likewise.
61345         * sunrpc/clnt_raw.c: Likewise.
61346         * sunrpc/clnt_simp.c: Likewise.
61347         * sunrpc/clnt_tcp.c: Likewise.
61348         * sunrpc/clnt_udp.c: Likewise.
61349         * sunrpc/clnt_unix.c: Likewise.
61350         * sunrpc/des_crypt.c: Likewise.
61351         * sunrpc/des_soft.c: Likewise.
61352         * sunrpc/get_myaddr.c: Likewise.
61353         * sunrpc/getrpcport.c: Likewise.
61354         * sunrpc/key_call.c: Likewise.
61355         * sunrpc/key_prot.c: Likewise.
61356         * sunrpc/openchild.c: Likewise.
61357         * sunrpc/pm_getmaps.c: Likewise.
61358         * sunrpc/pm_getport.c: Likewise.
61359         * sunrpc/pmap_clnt.c: Likewise.
61360         * sunrpc/pmap_prot.c: Likewise.
61361         * sunrpc/pmap_prot2.c: Likewise.
61362         * sunrpc/pmap_rmt.c: Likewise.
61363         * sunrpc/rpc/auth.h: Likewise.
61364         * sunrpc/rpc/auth_unix.h: Likewise.
61365         * sunrpc/rpc/clnt.h: Likewise.
61366         * sunrpc/rpc/des_crypt.h: Likewise.
61367         * sunrpc/rpc/key_prot.h: Likewise.
61368         * sunrpc/rpc/netdb.h: Likewise.
61369         * sunrpc/rpc/pmap_clnt.h: Likewise.
61370         * sunrpc/rpc/pmap_prot.h: Likewise.
61371         * sunrpc/rpc/pmap_rmt.h: Likewise.
61372         * sunrpc/rpc/rpc.h: Likewise.
61373         * sunrpc/rpc/rpc_des.h: Likewise.
61374         * sunrpc/rpc/rpc_msg.h: Likewise.
61375         * sunrpc/rpc/svc.h: Likewise.
61376         * sunrpc/rpc/svc_auth.h: Likewise.
61377         * sunrpc/rpc/types.h: Likewise.
61378         * sunrpc/rpc/xdr.h: Likewise.
61379         * sunrpc/rpc_clntout.c: Likewise.
61380         * sunrpc/rpc_cmsg.c: Likewise.
61381         * sunrpc/rpc_common.c: Likewise.
61382         * sunrpc/rpc_cout.c: Likewise.
61383         * sunrpc/rpc_dtable.c: Likewise.
61384         * sunrpc/rpc_hout.c: Likewise.
61385         * sunrpc/rpc_main.c: Likewise.
61386         * sunrpc/rpc_parse.c: Likewise.
61387         * sunrpc/rpc_parse.h: Likewise.
61388         * sunrpc/rpc_prot.c: Likewise.
61389         * sunrpc/rpc_sample.c: Likewise.
61390         * sunrpc/rpc_scan.c: Likewise.
61391         * sunrpc/rpc_scan.h: Likewise.
61392         * sunrpc/rpc_svcout.c: Likewise.
61393         * sunrpc/rpc_tblout.c: Likewise.
61394         * sunrpc/rpc_util.c: Likewise.
61395         * sunrpc/rpc_util.h: Likewise.
61396         * sunrpc/rpcinfo.c: Likewise.
61397         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
61398         * sunrpc/rpcsvc/key_prot.x: Likewise.
61399         * sunrpc/rpcsvc/klm_prot.x: Likewise.
61400         * sunrpc/rpcsvc/mount.x: Likewise.
61401         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
61402         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
61403         * sunrpc/rpcsvc/rex.x: Likewise.
61404         * sunrpc/rpcsvc/rstat.x: Likewise.
61405         * sunrpc/rpcsvc/rusers.x: Likewise.
61406         * sunrpc/rpcsvc/sm_inter.x: Likewise.
61407         * sunrpc/rpcsvc/spray.x: Likewise.
61408         * sunrpc/rpcsvc/yppasswd.x: Likewise.
61409         * sunrpc/rtime.c: Likewise.
61410         * sunrpc/svc.c: Likewise.
61411         * sunrpc/svc_auth.c: Likewise.
61412         * sunrpc/svc_authux.c: Likewise.
61413         * sunrpc/svc_raw.c: Likewise.
61414         * sunrpc/svc_run.c: Likewise.
61415         * sunrpc/svc_simple.c: Likewise.
61416         * sunrpc/svc_tcp.c: Likewise.
61417         * sunrpc/svc_udp.c: Likewise.
61418         * sunrpc/svc_unix.c: Likewise.
61419         * sunrpc/svcauth_des.c: Likewise.
61420         * sunrpc/xcrypt.c: Likewise.
61421         * sunrpc/xdr.c: Likewise.
61422         * sunrpc/xdr_array.c: Likewise.
61423         * sunrpc/xdr_float.c: Likewise.
61424         * sunrpc/xdr_mem.c: Likewise.
61425         * sunrpc/xdr_rec.c: Likewise.
61426         * sunrpc/xdr_ref.c: Likewise.
61427         * sunrpc/xdr_sizeof.c: Likewise.
61428         * sunrpc/xdr_stdio.c: Likewise.
61430         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
61431         handling.
61433 2010-08-19  Andreas Schwab  <schwab@redhat.com>
61435         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
61437 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
61439         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
61440         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
61441         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
61442         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
61443         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
61444         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
61445         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
61446         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
61447         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
61448         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
61449         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
61450         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
61451         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
61452         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
61454 2010-07-26  Anton Blanchard  <anton@samba.org>
61456         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
61457         * malloc/arena.c (heap_trim): Likewise.
61459 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
61461         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
61462         here.  Not...
61463         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
61464         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
61466 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
61468         * sysdeps/i386/elf/Makefile: New file.
61470 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
61472         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
61473         from fanotify_init.
61474         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
61475         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
61477 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
61479         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
61480         of strncasecmp_l.
61481         * sysdeps/multiarch/strcmp.S: Likewise.
61483 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
61485         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
61486         strncase_l-nonascii.
61487         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
61488         Add strncase_l-ssse3.
61489         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
61490         * sysdeps/x86_64/strcmp.S: Likewise.
61491         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
61492         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
61493         * sysdeps/x86_64/strncase.S: New file.
61494         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
61495         * sysdeps/x86_64/strncase_l.S: New file.
61496         * string/Makefile (strop-tests): Add strncasecmp.
61497         * string/test-strncasecmp.c: New file.
61499         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
61500         warning.
61502         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
61503         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
61505 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
61507         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
61509 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
61511         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
61512         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
61513         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
61515 2010-05-01  Alan Modra  <amodra@gmail.com>
61517         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
61518         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
61519         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
61520         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
61521         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
61522         tidying.  Don't tail-call __sigjmp_save for static lib.
61523         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
61524         save location.
61525         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
61526         (CALL_MCOUNT): Add eh info, and nop after bl.
61527         (TAIL_CALL_SYSCALL_ERROR): New macro.
61528         (PSEUDO_RET): Use it.
61529         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
61530         Correct save location of integer regs and cr.
61531         (_dl_profile_resolve): Correct cr save location.  Delete nops
61532         after bl when SHARED.  Reduce cfi size a little by better
61533         placement of cfi directives.
61534         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
61535         make a stack frame.  Instead use parm save area as a temp.
61536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
61537         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
61538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
61539         Don't make a stack frame for parent, use parm save area.
61540         Increase child stack frame to 112 bytes.  Don't save unused reg,
61541         and adjust reg usage.  Set up cfi on error recovery and
61542         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
61543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
61544         (__makecontext): Add dummy nop after jump to exit.
61545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
61546         Use correct parm save area and cr save, reduce stack frame.
61547         Correct cfi for possible PSEUDO_RET frame setup.
61548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
61549         Branch to local label emitted by PSEUDO_RET rather than
61550         __syscall_error.
61552 2010-08-12  Andreas Schwab  <schwab@redhat.com>
61554         [BZ #11904]
61555         * locale/programs/locale.c (print_assignment): New function.
61556         (show_locale_vars): Use it.
61558 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
61560         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
61561         field.
61562         (struct statfs64): Likewise.
61563         (_STATFS_F_FLAGS): Define.
61564         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
61565         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61566         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
61567         (ST_VALID): Define locally.
61568         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
61569         __statvfs_getflags, use the provided value.
61570         * sysdeps/unix/sysv/linux/kernel-features.h: Define
61571         __ASSUME_STATFS_F_FLAGS.
61573         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
61575         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
61576         Add sys/fanotify.h.
61577         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
61578         fanotify_mask for GLIBC_2.13.
61579         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
61580         fanotify_init and fanotify_mark.
61581         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
61582         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
61584         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
61585         Add prlimit.
61586         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
61587         prlimit64 for GLIBC_2.13.
61588         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
61589         prlimit64.
61590         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
61591         syscall.
61592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
61593         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
61594         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
61595         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
61596         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
61597         add prlimit alias.
61598         * sysdeps/unix/sysv/linux/prlimit.c: New file.
61600         [BZ #11903]
61601         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
61602         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
61604         * nss/Makefile: Add rules to build and run tst-nss-test1.
61605         * shlib-versions: Add entry for libnss_test1.
61606         * nss/nss_test1.c: New file.
61607         * nss/tst-nss-test1.c: New file.
61609         * nss/nsswitch.c (__nss_database_custom): Define new variable.
61610         (__nss_configure_lookup): Set appropriate entry in
61611         __nss_configure_lookup to true.
61612         * nss/nsswitch.h: Define enum with indeces of databases in
61613         databases and __nss_database_custom arrays.  Declare
61614         __nss_database_custom.
61615         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
61616         to avoid using nscd when custom rules are installed.
61617         * nss/getXXbyYY_r.c: Likewise.
61618         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
61620         * nss/nss_files/files-parse.c: Whitespace fixes.
61622 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
61624         [BZ #11883]
61625         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
61626         * posix/fnmatch_loop.c: Likewise.
61628 2010-07-17  Andi Kleen  <ak@linux.intel.com>
61630         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
61631         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
61632         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
61633         * Versions.def [GLIBC_2.13]: Add.
61635 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
61637         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
61638         Also fail if tpwd after pwuid call is NULL.
61640 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61642         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
61643         when converting to ms.
61645 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61647         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
61648         EOPNOTSUPP errors with ENOTTY.
61649         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
61650         EOPNOTSUPP errors with ENOTTY.
61652 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
61654         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
61655         Add strcasecmp_l-ssse3.
61656         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
61657         strcasecmp.
61658         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
61659         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
61660         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
61662 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
61664         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
61666         * string/Makefile (strop-tests): Add strcasecmp.
61667         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
61668         strcasecmp_l-nonascii.
61669         (gen-as-const-headers): Add locale-defines.sym.
61670         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
61671         * sysdeps/x86_64/strcasecmp.S: New file.
61672         * sysdeps/x86_64/strcasecmp_l.S: New file.
61673         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
61674         * sysdeps/x86_64/locale-defines.sym: New file.
61675         * string/test-strcasecmp.c: New file.
61677         * string/test-strcasestr.c: Test both ends of the range of characters.
61678         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
61680 2010-07-29  Roland McGrath  <roland@redhat.com>
61682         [BZ #11856]
61683         * manual/locale.texi (Yes-or-No Questions): Fix example code.
61685 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
61687         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
61688         for ld.so.
61690 2010-07-27  Andreas Schwab  <schwab@redhat.com>
61692         * manual/memory.texi (Malloc Tunable Parameters): Document
61693         M_PERTURB.
61695 2010-07-26  Roland McGrath  <roland@redhat.com>
61697         [BZ #11840]
61698         * configure.in (-fgnu89-inline check): Set and substitute
61699         gnu89_inline, not libc_cv_gnu89_inline.
61700         * configure: Regenerated.
61701         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
61703 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
61705         * string/test-strnlen.c: New file.
61706         * string/Makefile (strop-tests): Add strnlen.
61707         * string/tester.c (test_strnlen): Add a few more test cases.
61708         * string/tst-strlen.c: Better error reporting.
61710         * sysdeps/x86_64/strnlen.S: New file.
61712 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
61714         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
61715         lower-latency instructions.
61717 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
61719         * string/test-strcasestr.c: New file.
61720         * string/test-strstr.c: New file.
61721         * string/Makefile (strop-tests): Add strstr and strcasestr.
61722         * string/str-two-way.h: Don't undefine MAX.
61723         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
61725 2010-07-21  Andreas Schwab  <schwab@redhat.com>
61727         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61728         strcasestr-nonascii.
61729         (CFLAGS-strcasestr-nonascii.c): Define.
61730         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
61731         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
61732         Remove unused attribute.
61734 2010-07-20  Roland McGrath  <roland@redhat.com>
61736         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
61737         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
61738         ld.so.cache was broken.  With it, there is no way to disable dsocaps
61739         like LD_HWCAP_MASK can disable hwcaps.
61741 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
61743         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
61745 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
61747         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
61748         call in strcasestr.
61749         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
61750         __strcasestr_sse42_nonascii.
61751         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
61752         strcasestr-nonascii.c.
61753         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
61755 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
61757         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
61758         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
61759         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
61760         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
61762 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
61764         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
61765         fcntl.
61767 2010-07-06  Andreas Schwab  <schwab@redhat.com>
61769         [BZ #11577]
61770         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
61771         dl_signal_cerror.
61773 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
61775         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
61776         _PC_PIPE_BUF using F_GETPIPE_SZ.
61778 2010-07-05  Roland McGrath  <roland@redhat.com>
61780         * manual/arith.texi (Rounding Functions): Fix rint description
61781         implicit in round description.
61783 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
61785         * elf/Makefile: Fix linking for a few tests to make recent linker
61786         happy.
61788 2010-06-30  Andreas Schwab  <schwab@redhat.com>
61790         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
61791         $(common-objpfx)libc_nonshared.a.
61793 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
61795         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
61796         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
61797         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
61798         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
61799         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
61800         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
61801         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
61802         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
61803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
61804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
61805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
61806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
61807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
61808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
61809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
61810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
61811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
61812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
61813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
61814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
61815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
61816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
61817         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
61818         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
61819         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
61820         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
61821         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
61822         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
61823         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
61824         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
61825         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
61826         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
61827         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
61828         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
61829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
61830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
61831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
61832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
61833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
61834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
61835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
61836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
61837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
61838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
61839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
61840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
61841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
61842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
61844 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
61846         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
61847         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
61848         * string/memmove.c (memmove): Renamed to ...
61849         (MEMMOVE): ...this.  Default to memmove.
61850         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
61851         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
61852         (END_CHK): Define.
61853         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61854         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
61855         mempcpy-ssse3-back memmove-ssse3-back.
61856         * sysdeps/x86_64/multiarch/bcopy.S: New file .
61857         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
61858         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
61859         * sysdeps/x86_64/multiarch/memcpy.S: New file.
61860         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
61861         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
61862         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
61863         * sysdeps/x86_64/multiarch/memmove.c: New file.
61864         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
61865         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
61866         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
61867         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
61868         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
61869         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
61870         Define.
61871         (index_Fast_Copy_Backward): Define.
61872         (HAS_ARCH_FEATURE): Define.
61873         (HAS_FAST_REP_STRING): Define.
61874         (HAS_FAST_COPY_BACKWARD): Define.
61876 2010-06-21  Andreas Schwab  <schwab@redhat.com>
61878         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
61879         Restore proper fallback handling.
61881 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
61883         [BZ #11701]
61884         * posix/group_member.c (__group_member): Correct checking loop.
61886         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
61887         OOM in getpwuid_r correctly.  Return error number when the caller
61888         should return, otherwise -1.
61889         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
61890         call returning > 0 value.
61891         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
61893 2010-06-07  Andreas Schwab  <schwab@redhat.com>
61895         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
61896         libc_nonshared.a from targets in modules-names.
61898 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
61900         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
61901         requires it.
61903 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
61905         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
61906         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
61907         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
61908         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
61910 2010-06-02  Andreas Schwab  <schwab@redhat.com>
61912         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
61914 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
61916         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
61917         and F_GETPIPE_SZ.
61918         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
61919         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61920         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61921         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61922         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61923         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
61925 2010-06-14  Roland McGrath  <roland@redhat.com>
61927         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
61929 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
61931         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
61932         __REDIRECT followed by __THROW.
61933         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
61934         * posix/getopt.h (getopt): Likewise.
61936 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
61938         * hurd/lookup-at.c (__file_name_lookup_at): Accept
61939         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
61940         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
61941         in AT_FLAGS.
61942         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
61943         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
61945 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
61947         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
61949 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
61951         [BZ #11640]
61952         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61953         Properly check family and model.
61955 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
61957         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
61959 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
61961         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
61963 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
61965         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
61966         symbol reference.
61968 2010-05-19  Andreas Schwab  <schwab@redhat.com>
61970         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
61971         symbol reference.
61973 2010-05-21  Andreas Schwab  <schwab@redhat.com>
61975         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
61976         and internal_recvmmsg.
61977         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
61978         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
61979         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
61980         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
61982         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
61983         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
61984         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
61986 2010-05-20  Andreas Schwab  <schwab@redhat.com>
61988         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
61990 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
61992         POWER7 optimizations.
61993         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
61994         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
61996 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
61998         * version.h: Update for 2.13 development version.
62000 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
62002         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
62003         exceptions.  Return 0.
62005 2010-05-07  Roland McGrath  <roland@redhat.com>
62007         * elf/ldconfig.c (main): Add a const.
62009 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
62011         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
62012         (args_options): Add no-idn option.
62013         (ahosts_keys_int): Add idn_flags to ai_flags.
62014         (parse_option): Handle 'i' option to clear idn_flags.
62016         * malloc/malloc.c (_int_free): Possible race in the most recently
62017         added check.  Only act on the data if no current modification
62018         happened.
62020 See ChangeLog.17 for earlier changes.