Fix comment error that Jakub pointed out but I forgot to fix
[glibc.git] / ChangeLog
blob3c54cee3bc3b879ebd3d93d51a4f6aa214066f91
1 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
3         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
5         [BZ #17262]
6         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
7         and __x86_64__ when disabling x87 inline functions.
9 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
11         [BZ #17259]
12         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
13         asm statement with __cpuid_count.
15 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
17         * configure.ac: Change __ehdr_start code to dereference the struct.
18         Run readelf on the output to look for relocations.
19         * configure: Regenerated.
21 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
23         [BZ #17261]
24         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
25         value to 0.
26         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
28 2014-08-12  Roland McGrath  <roland@hack.frob.com>
30         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
32 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
34         [BZ #16892]
35         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
36         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
38 2014-08-12  Sean Anderson  <seanga2@gmail.com>
40         * malloc/malloc.c: Fix typo in comment.
42 2014-08-09  Allan McRae  <allan@archlinux.org>
44         * Regenerate libc.po.
46 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
48         * intl/tst-gettext2.sh: Check every lang file for creation.
50 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
52         * sysdeps/aarch64/fpu/math_private.h
53         (libc_feholdsetround_noex_aarch64_ctx): New function.
55 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
57         * sysdeps/arm/armv6/strcpy.S (strcpy):
58         Fix performance issue in misaligned cases.
60 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
63         Move definition from termios.h.
64         (struct termio): Likewise.
65         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
66         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
67         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
68         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
69         Likewise.
70         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
71         Move definition to ioctl-types.h
72         (struct termio): Likewise.
73         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
74         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
75         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
76         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
77         Likewise.
79 2014-08-05  Richard Henderson  <rth@redhat.com>
81         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
82         exceptions.
83         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
84         Add fraiseexcpt.
85         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
86         Use __feraiseexcept.
87         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
88         Protect libm symbols with IS_IN_libm.
90         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
92 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
94         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
96 2014-08-04  Will Newton  <will.newton@linaro.org>
98         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
99         file.
101 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
103         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
104         variants for each function.
106 2014-08-04  Roland McGrath  <roland@hack.frob.com>
108         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
109         appended ...
110         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
111         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
112         appended ...
113         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
114         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
115         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
116         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
117         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
118         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
119         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
120         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
121         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
122         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
123         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
124         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
125         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
126         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
127         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
128         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
129         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
130         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
131         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
132         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
133         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
134         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
135         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
136         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
137         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
138         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
139         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
140         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
141         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
142         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
143         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
144         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
145         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
146         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
147         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
148         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
149         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
150         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
151         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
152         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
153         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
154         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
155         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
156         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
157         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
158         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
159         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
160         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
161         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
162         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
163         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
164         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
165         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
166         Update #include.
167         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
168         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
170 2014-08-04  Roland McGrath  <roland@hack.frob.com>
172         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
173         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
174         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
175         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
176         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
177         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
179 2014-08-04  Roland McGrath  <roland@hack.frob.com>
181         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
182         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
183         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
184         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
186 2014-08-04  Roland McGrath  <roland@hack.frob.com>
188         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
189         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
190         (__libc_vfork): Define function under this name.
191         (__vfork): Define as an alias.
192         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
193         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
195 2014-08-04  Roland McGrath  <roland@hack.frob.com>
197         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
198         that was previously under [RESET_PID].
199         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
201 2014-08-04  Andreas Schwab  <schwab@suse.de>
203         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
205 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
207         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
208         (main): Likewise.
210 2014-08-01  Roland McGrath  <roland@hack.frob.com>
212         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
214 2014-08-01  Richard Henderon  <rth@redhat.com>
216         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
217         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
218         typo in exact zero test.
219         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
220         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
221         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
223 2014-08-01  Roland McGrath  <roland@hack.frob.com>
225         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
226         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
227         * sysdeps/arm/sysdep.h: ... here.
228         [!__ASSEMBLER__]: Include <stdint.h>.
230 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
232         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
233         (HAVE_WCTYPE_H): Likewise.
234         (HAVE_ISWCTYPE): Likewise.
235         (ENABLE_NLS): Likewise.
236         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
237         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
239         * posix/regex_internal.c: Check if DEBUG is defined and is
240         set.
242         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
243         (HAVE_MBSRTOWCS): Likewise.
244         * posix/fnmatch.c: Include string.h unconditionally.
246 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
248         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
249         reversal.
251 2014-07-31  Roland McGrath  <roland@hack.frob.com>
253         * sysdeps/generic/safe-fatal.h: New file.
254         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
255         * nptl/forward.c: Include it.
256         (__pthread_unwind): Use __safe_fatal as default action, rather
257         than a bogus use of INTERNAL_SYSCALL that could never work.
259         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
260         * configure.ac (libc_cv_builtin_trap): New test.
261         * configure: Regenerated.
262         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
263         (ABORT_INSTRUCTION): Define using __builtin_trap.
265         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
266         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
267         * sysdeps/nptl/nptl-signals.h: New file.
268         * nptl/pthreadP.h: Include <nptl-signals.h>.
270 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
272         * sysdeps/s390/s390-64/utf16-utf32-z9.c
273         (ONE_DIRECTION): Define.
274         * sysdeps/s390/s390-64/utf8-utf16-z9.c
275         (ONE_DIRECTION): Define.
276         * sysdeps/s390/s390-64/utf8-utf32-z9.c
277         (ONE_DIRECTION): Define.
279 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
281         * sysdeps/s390/Makefile: Delete file.
282         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
283         * sysdeps/s390/__longjmp.c: Delete file.
284         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
285         Remove fields __flags and __reserved.
286         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
287         and add versioning.
288         * sysdeps/s390/rtld-__longjmp.c: Delete file.
289         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
290         * sysdeps/s390/rtld-setjmp.S: Likewise.
291         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
292         * sysdeps/s390/s390-32/__longjmp.c: ... here.
293         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
294         * sysdeps/s390/s390-32/setjmp.S: ... here.
295         Add versioning.
296         (__sigsetjmp): Remove setting __flags field.
297         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
298         * sysdeps/s390/s390-64/__longjmp.c: ... here.
299         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
300         * sysdeps/s390/s390-64/setjmp.S: ... here.
301         Add versioning.
302         (__sigsetjmp): Remove setting __flags field.
303         * sysdeps/s390/setjmp.S: Delete file.
304         * sysdeps/s390/sigjmp.c: Likewise.
305         * sysdeps/s390/v1-longjmp.c: Likewise.
306         * sysdeps/s390/v1-setjmp.h: Likewise.
307         * sysdeps/s390/v1-sigjmp.c: Likewise.
308         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
309         Remove v1-longjmp_chk.
310         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
311         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
312         Include debug/longjmp_chk.c and add versioning.
313         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
314         Include nptl/pt-longjmp.c and add versioning.
315         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
316         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
317         Include __longjmp.c.
318         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
319         Move to ...
320         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
321         (__getcontext): Remove setting __flags field.
322         Add versioning.
323         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
324         Don't restore upper high grps.
325         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
326         Likewise.
327         (__swapcontext): Remove setting uc_flags field.
328         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
329         Delete file.
330         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
331         Include __longjmp.c.
332         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
333         Move to ...
334         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
335         (__getcontext): Remove setting __flags field.
336         Add versioning.
337         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
338         (__swapcontext): Remove setting uc_flags field.
339         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
340         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
341         Remove fields uc_high_gprs and __reserved.
342         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
343         New file with reverted content.
344         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
345         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
346         Regenerated.
347         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
348         Regenerated.
350 2014-07-31  Andreas Schwab  <schwab@suse.de>
352         * config.h.in (HAVE_IFUNC): Define to 0.
353         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
354         definedness.
356 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
358         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
359         memmove-avx-unaligned, memcpy-avx-unaligned and
360         mempcpy-avx-unaligned.
361         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
362         Add tests for AVX memcpy functions.
363         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
364         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
365         memcpy_chk.
366         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
367         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
368         memmove_chk.
369         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
370         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
371         mempcpy_chk.
372         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
373         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
374         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
376 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
378         [BZ #17213]
379         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
380         powerpc64le.
382 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
384         [BZ #16839]
385         * manual/llio.texi: Add section about open file description locks.
386         * manual/examples/ofdlocks.c: Example of open file description
387         lock usage.
388         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
389         F_OFD_SETLK, and F_OFD_SETLKW.
391 2014-07-23  Allan McRae  <allan@archlinux.org>
393         * po/es.po: Update Spanish translation from translation project.
395 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
397         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
399 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
401         [BZ #17078]
402         * sysdeps/arm/dl-machine.h (elf_machine_rela)
403         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
404         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
406 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
408         [BZ #17088]
409         * math/fesetenv.c (__fesetenv)
410         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
411         * math/feupdateenv.c (__feupdateenv)
412         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
414         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
415         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
416         (__ASSUME_SOCKETCALL): Do not define.
418         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
419         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
420         (__ASSUME_SOCKETCALL): Do not define.
421         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
422         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
423         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
424         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
425         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
426         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
427         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
428         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
430         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
431         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
432         (__ASSUME_SOCKETCALL): Do not define.
433         (__ASSUME_IPC64): Define unconditionally.
434         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
435         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
436         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
437         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
438         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
439         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
440         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
441         Likewise.
443         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
444         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
445         (__ASSUME_SOCKETCALL): Do not define.
446         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
447         (__ASSUME_FUTEX_LOCK_PI): Likewise.
448         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
449         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
450         (__ASSUME_REQUEUE_PI): Define unconditionally.
451         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
452         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
453         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
454         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
455         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
456         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
458         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
459         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
460         (__ASSUME_SOCKETCALL): Do not define.
461         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
462         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
463         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
464         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
465         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
466         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
468         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
469         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
470         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
471         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
472         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
473         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
474         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
475         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
476         (__ASSUME_GETCPU_SYSCALL): Likewise.
478         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
479         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
480         cases for individual architectures.
481         * sysdeps/gnu/configure: Regenerated.
482         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
483         LIBC_SLIBDIR_RTLDDIR.
484         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
485         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
486         LIBC_SLIBDIR_RTLDDIR.
487         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
489         LIBC_SLIBDIR_RTLDDIR.
490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
491         Regenerated.
492         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
493         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
494         file.
495         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
496         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
497         file.
498         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
499         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
500         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
501         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
503         * sysdeps/aarch64/shlib-versions: Move to ...
504         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
505         * sysdeps/alpha/shlib-versions: Move to ...
506         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
507         * sysdeps/arm/shlib-versions: Move to ...
508         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
509         * sysdeps/hppa/shlib-versions: Move all contents except for
510         libgcc_s entry to ...
511         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
512         entry from ...
513         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
514         * sysdeps/ia64/shlib-versions: Move to ...
515         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
516         entry from ...
517         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
518         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
519         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
520         * sysdeps/microblaze/shlib-versions: Move to ...
521         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
522         * sysdeps/mips/shlib-versions: Move to ...
523         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
524         entry from ...
525         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
526         * sysdeps/tile/shlib-versions: Move to ...
527         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
528         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
529         from ...
530         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
531         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
532         entry from ...
533         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
535 2014-07-17  Will Newton  <will.newton@linaro.org>
537         * sysdeps/arm/bits/atomic.h
538         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
539         (__arch_compare_and_exchange_bool_16_int): Likewise.
540         (__arch_compare_and_exchange_bool_64_int): Likewise.
542         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
543         into an #else block.
545 2014-07-16  Roland McGrath  <roland@hack.frob.com>
547         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
548         just Linux configurations.  Test empirically that the compiler sets
549         __ARM_EABI__, rather than using the tuple to decide.
550         * sysdeps/arm/preconfigure: Regenerated.
551         * sysdeps/unix/sysv/linux/arm/configure: File removed.
552         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
553         contents appended ...
554         * sysdeps/arm/configure.ac: ... here.
555         * sysdeps/arm/configure: Regenerated.
557 2014-07-15  Roland McGrath  <roland@hack.frob.com>
559         * nptl/pthread_kill.c: New file.
560         * nptl/pthread_sigmask.c: New file.
561         * nptl/pthread_sigqueue.c: New file.
563         * sysdeps/nptl/lowlevellock.h: New file.
564         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
565         * sysdeps/nptl/lowlevellock-futex.h: New file.
567         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
568         Remove dead declarations.
570 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
572         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
573         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
574         config-cflags-avx2.
575         * sysdeps/x86_64/configure.ac: Likewise.
576         * sysdeps/i386/configure: Regenerated.
577         * sysdeps/x86_64/configure: Likewise.
578         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
579         memset-avx2 only if config-cflags-avx2 is yes.
580         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
581         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
582         defined.
583         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
584         only if HAVE_AVX2_SUPPORT is defined.
585         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
587 2014-07-14  Alan Modra  <amodra@gmail.com>
589         [BZ #17153]
590         * elf/elf.h (DT_PPC64_NUM): Correct value.
591         * NEWS: Add to fixed bug list.
593 2014-07-13  Jim Meyering  <meyering@fb.com>
595         [BZ 17150]
596         regex: don't deref NULL upon heap allocation failure
597         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
598         failure in one more place.
599         To trigger the segfault, configure grep -with-included-regex,
600         build it, and run these commands:
601         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
603 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
605         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
607 2014-07-11  Richard Henderson  <rth@redhat.com>
609         * sysdeps/aarch64/libm-test-ulps: Update.
611 2014-07-10  Florian Weimer  <fweimer@redhat.com>
613         [BZ #17135]
614         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
615         * nptl/allocatestack.c (__nptl_setxid_error): New function.
616         (__nptl_setxid): Initialize error member.  Call
617         __nptl_setxid_error.
618         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
619         * nptl/descr.h (struct xid_command): Add error member.
620         * nptl/tst-setuid3.c: New file.
621         * nptl/Makefile (tests): Add it.
623 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
625         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
626         New define.
627         (__lll_trylock): Use __lll_base_trylock.
628         (__lll_cond_trylock): Likewise.
630 2014-07-10  Roland McGrath  <roland@hack.frob.com>
632         * nptl/pthread_create.c (start_thread): Use atomic_or and
633         lll_futex_wake directly rather than lll_robust_dead.
634         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
635         (lll_robust_dead): Macro removed.
636         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
637         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
638         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
639         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
640         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
641         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
642         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
643         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
644         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
645         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
646         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
647         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
648         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
649         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
650         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
652         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
653         Use atomic_compare_and_exchange_val_acq directly rather than
654         lll_robust_trylock.
655         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
656         (__lll_robust_trylock, lll_robust_trylock): Removed.
657         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
658         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
659         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
660         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
661         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
662         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
663         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
664         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
665         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
666         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
667         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
668         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
669         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
670         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
672 2014-07-02  Florian Weimer  <fweimer@redhat.com>
674         * manual/locale.texi (Locale Names): New section documenting
675         locale name syntax.  Adjust menu and node chaining accordingly.
676         (Choosing Locale): Reference Locale Names, Locale Categories.
677         Mention setting LC_ALL=C.  Reflect that name syntax is now
678         documented.
679         (Locale Categories): New section title.  Reference Locale Names.
680         LC_ALL is an environment variable, but not a category.
681         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
682         description, now in Locale Name.  Reference that section.  Locale
683         name syntax is now documented.
685 2014-07-02  Florian Weimer  <fweimer@redhat.com>
687         [BZ #17137]
688         * locale/findlocale.c (name_present, valid_locale_name): New
689         functions.
690         (_nl_find_locale): Use the loc_name variable to store name
691         candidates.  Call name_present and valid_locale_name to check and
692         validate locale names.  Return an error if the locale is invalid.
694 2014-07-02  Florian Weimer  <fweimer@redhat.com>
696         * locale/setlocale.c (setlocale): Use strdup for allocating
697         composite name copy.
699 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
701         Sync up with gnulib.
702         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
703         [!_LIBC && ENABLE_NLS]: Include gettext.h.
704         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
705         and _GL_ARG_NONNULL.
706         [USE_UNLOCKED_IO]: Include unlocked-io.h.
707         [!_LIBC]: Include code for Windows and Cygwin.
708         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
709         Include prototype for int strerror_r.
710         [!_LIBC] (is_open): New function.
711         (flush_stdout): New function.
712         (print_errno_message): Use it.
713         (error): Likewise.
714         (error_at_line): Likewise.
715         (error_tail) Add function attribute macros.  Use
716         __builtin_expect.
718         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
720         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
722         * io/ftw.c: Include sys/param.h unconditionally.
724         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
726         [BZ #17125]
727         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
728         libc_freeres_ptr.
729         (freecache): New function to free CACHE on exit.
731         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
732         initialization.
734 2014-07-09  David S. Miller  <davem@davemloft.net>
736         * sysdeps/sparc/fpu/libm-test-ulps: Update.
738         * sysdeps/sparc/nptl/internaltypes.h: Delete.
739         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
740         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
741         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
742         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
743         * sysdeps/sparc/nptl/sem_init.c: Likewise.
744         * sysdeps/sparc/nptl/sem_post.c: Likewise.
745         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
746         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
747         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
748         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
749         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
750         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
752 2014-07-09  Andreas Schwab  <schwab@suse.de>
754         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
755         output.
756         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
757         (do_test): Likewise.
759         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
761 2014-07-09  Will Newton  <will.newton@linaro.org>
763         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
764         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
765         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
766         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
767         * sysdeps/hppa/start.S (_start): Likewise.
769 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
771         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
773         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
774         defined.
776 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
778         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
779         after checking that it is non-NULL.
781         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
783 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
785         * sysdeps/powerpc/memmove.c: Remove file.
786         * sysdeps/powerpc/powerpc32/power4/memcopy.h
787         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
788         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
789         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
790         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
791         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
792         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
793         string memmove instead of removed powerpc one.
795         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
796         [weak_alias]: Fix compiler warning due trailing data.
797         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
798         [weak_alias]: Likewise.
799         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
800         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
802         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
803         (__libc_ifunc_impl_list): Add memmove functions.
805 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
807         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
808         Remove code.
809         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
810         Likewise
811         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
812         Likewise
813         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
814         Likewise
815         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
816         Likewise
817         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
818         Likewise
819         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
820         Likewise
821         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
822         Likewise
823         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
824         Likewise
825         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
826         Likewise
827         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
828         Likewise
829         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
830         Likewise
831         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
832         Likewise
833         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
834         Likewise
835         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
836         Likewise
837         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
838         Likewise
839         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
840         Likewise
842 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
844         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
845         to avoid alignment traps in non-cacheable memory.
846         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
848         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
849         multiarch objects.
850         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
851         file: multiarch power7 memmove.
852         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
853         multiarch default memmove.
854         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
855         multiarch memove for powerpc32/power4.
857         * string/bcopy.c: Use full path to include memmove.c.
858         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
859         multiarch objects.
860         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
861         bcopy for powerpc64.
862         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
863         bcopy for powerpc64.
864         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
865         and memmove implementations.
866         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
867         optimized multiarch memmove for POWER7/powerpc64.
868         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
869         default multiarch memmove for powerpc64.
870         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
871         multiarch for powerpc64.
872         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
873         for POWER7/powerpc64.
874         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
875         memmove for POWER7/powerpc64.
877         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
878         glibc default one.
880         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
881         __ELF_NATIVE_CLASS equal to 64.
883 2014-07-07  Roland McGrath  <roland@hack.frob.com>
885         * sysdeps/nptl/lowlevellock.h: File removed.
887         * NEWS: NPTL is no longer an add-on!
888         * nptl/internaltypes.h: Moved ...
889         * sysdeps/nptl/internaltypes.h: ... here.
890         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
891         * sysdeps/nptl/fork.c: Likewise.
892         * sysdeps/nptl/gai_misc.h: Likewise.
893         * sysdeps/nptl/librt-cancellation.c: Likewise.
894         * sysdeps/nptl/jmp-unwind.c: Likewise.
895         * sysdeps/nptl/setxid.h: Likewise.
896         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
897         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
898         * sysdeps/unix/sysv/linux/arm/Implies: New file.
899         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
900         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
901         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
902         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
903         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
904         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
905         * sysdeps/unix/sysv/linux/mips/Implies: New file.
906         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
907         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
908         * sysdeps/unix/sysv/linux/sh/Implies: New file.
909         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
910         * sysdeps/unix/sysv/linux/tile/Implies: New file.
911         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
912         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
913         * nptl/Makeconfig: Moved ...
914         * sysdeps/nptl/Makeconfig: ... here.
915         * nptl/configure: File removed.
916         * nptl/ANNOUNCE: File removed.
917         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
918         * sysdeps/unix/sysv/linux/configure: Regenerated.
920         * nptl/Makefile (routines): Add libc_pthread_init,
921         libc_multiple_threads, register-atfork and unregister-atfork.
922         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
923         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
924         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
925         pthread-pi-defines.sym, structsem.sym.
926         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
927         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
928         [$(subdir) = nptl] (tests): Add tst-setgetname.
929         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
930         * sysdeps/unix/sysv/linux/sigaction.c: Just include
931         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
932         [!LIBC_SIGACTION]: Remove aliases.
933         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
934         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
935         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
936         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
937         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
938         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
939         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
940         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
941         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
942         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
943         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
944         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
945         __libc_allocate_rtsig_private.
946         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
947         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
948         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
949         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
950         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
951         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
952         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
953         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
954         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
955         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
956         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
957         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
958         * nptl/internaltypes.h: ... here.
959         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
960         * sysdeps/nptl/jmp-unwind.c: ... here.
961         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
962         * nptl/libc-lowlevellock.c: ... here.
963         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
964         * nptl/libc_multiple_threads.c: ... here.
965         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
966         * nptl/libc_pthread_init.c: ... here.
967         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
968         * nptl/lowlevelbarrier.sym: ... here.
969         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
970         * nptl/lowlevelcond.sym: ... here.
971         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
972         * nptl/lowlevellock.c: ... here.
973         * nptl/lowlevellock.h: Moved ...
974         * sysdeps/nptl/lowlevellock.h: ... here.
975         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
976         * nptl/lowlevelrobustlock.c: ... here.
977         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
978         * nptl/lowlevelrobustlock.sym: ... here.
979         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
980         * nptl/lowlevelrwlock.sym: ... here.
981         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
982         * nptl/pt-fork.c: ... here.
983         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
984         * nptl/pthread-pi-defines.sym: ... here.
985         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
986         * nptl/pthread_attr_getaffinity.c: ... here.
987         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
988         * nptl/pthread_attr_setaffinity.c: ... here.
989         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
990         * nptl/pthread_mutex_cond_lock.c: ... here.
991         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
992         Update #include.
993         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
994         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
995         * nptl/pthread_once.c: ... here, replacing old file.
996         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
997         * nptl/pthread_yield.c: ... here.
998         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
999         * nptl/register-atfork.c: ... here.
1000         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1001         * nptl/sem_post.c: ... here.
1002         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1003         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1004         * nptl/sem_timedwait.c: ... here.
1005         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1006         * nptl/sem_trywait.c: ... here.
1007         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1008         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
1009         * nptl/sem_wait.c: ... here.
1010         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
1011         * nptl/structsem.sym: ... here.
1012         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
1013         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
1014         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
1015         * nptl/unregister-atfork.c: ... here.
1016         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
1017         * nptl/unwindbuf.sym: ... here.
1018         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
1019         * sysdeps/nptl/fork.c: ... here.
1020         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
1021         * sysdeps/nptl/fork.h: ... here.
1022         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
1023         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
1024         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
1025         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
1026         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1027         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1028         * sysdeps/unix/sysv/linux/getpid.c: ... here.
1029         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1030         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1031         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
1032         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
1033         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
1034         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
1035         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
1036         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
1037         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
1038         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
1039         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
1040         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
1041         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
1042         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
1043         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
1044         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1045         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1046         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1047         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1048         * sysdeps/unix/sysv/linux/raise.c: ... here.
1049         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1050         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1051         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1052         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1053         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1054         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1055         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1056         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1057         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1058         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1059         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1060         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1061         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1062         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1063         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1065 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1067         * sysdeps/generic/memcopy.h: Add comment for
1068         MEMCPY_OK_FOR_FWD_MEMMOVE.
1070 2014-07-04  Will Newton  <will.newton@linaro.org>
1072         * string/memchr.c: Merge from gnulib.
1073         [_LIBC]: Remove conditionals.
1074         (__ptr_t): Remove define.
1075         (LONG_MAX_32_BITS): Likewise.
1076         (LONG_MAX): Likewise.
1077         (MEMCHR): Use ANSI prototype and optimize algorithm.
1079         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1081 2014-07-03  Roland McGrath  <roland@hack.frob.com>
1083         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1084         (lll_futex_timed_wait_bitset): Fix syscall argument count.
1086         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1087         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1088         in a bare environment with no <stdlib.h> installed.
1089         * sysdeps/nptl/configure: Regenerated.
1091         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1093         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1094         AC_EGREP_CPP for kernel header checks, so they only succeed if
1095         including <linux/version.h> actually works right.
1096         * sysdeps/unix/sysv/linux/configure: Regenerated.
1098         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1099         value so it's not diagnosed as unused.
1101         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1102         thing) with "ifeq ($(subdir),rt)".
1104 2014-07-03  Richard Henderson  <rth@redhat.com>
1106         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1107         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1108         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1110         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1111         (math_force_eval): New.
1113         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1114         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1116         * sysdeps/alpha/fpu/s_round.c: Remove file.
1117         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1119         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1120         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1121         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1122         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1123         (_dl_start, print_statistics): Likewise.
1124         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1125         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1127         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1128         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1129         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1130         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1131         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1132         (HP_SMALL_TIMING_AVAIL): Define.
1133         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1134         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1135         (HP_SMALL_TIMING_AVAIL): Define.
1136         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1137         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1139         * sysdeps/aarch64/hp-timing.h: New file.
1141         * sysdeps/generic/hp-timing.h: Remove dead comment.
1142         * sysdeps/generic/hp-timing-common.h: New file.
1143         * sysdeps/alpha/hp-timing.h: Include it.
1144         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1145         * sysdeps/i386/i686/hp-timing.h: Likewise.
1146         * sysdeps/ia64/hp-timing.h: Likewise.
1147         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1148         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1149         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1150         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1151         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1152         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1153         (hp_timing_t): New.
1155         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1156         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1157         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1158         * elf/rtld.c (_dl_start_final): Likewise.
1159         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1160         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1161         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1162         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1163         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1164         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1165         (HP_TIMING_DIFF_INIT): Remove.
1166         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1167         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1168         (HP_TIMING_DIFF_INIT): Remove.
1169         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1170         * sysdeps/i386/i686/hp-timing.c: Remove file.
1171         * sysdeps/x86_64/hp-timing.c: Remove file.
1172         * sysdeps/ia64/hp-timing.c: Remove file.
1173         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1174         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1175         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1176         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1178         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1179         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1180         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1181         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1182         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1183         (HP_TIMING_ACCUM): Remove.
1184         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1185         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1186         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1188         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1189         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1190         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
1191         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
1192         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
1193         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1194         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
1195         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1197         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
1199 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
1201         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1203 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1205         Sync up with gettext.
1206         * intl/loadmsgcat.c: Define O_BINARY if not defined.
1207         [_MSC_VER]: Include malloc.h
1208         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1209         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1210         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
1211         TEMP_FAILURE_RETRY.  Cast return of alloca.
1212         [!_LIBC] Call gl_rwlock_init.
1213         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1215 2014-07-02  Roland McGrath  <roland@hack.frob.com>
1217         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1218         before checking its value.
1220 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1222         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1224         * debug/memcpy_chk.c: Don't include pagecopy.h.
1225         * debug/mempcpy_chk.c: Likewise.
1226         * string/memcpy.c: Likewise.
1227         * string/memmove.c: Likewise.
1228         * sysdeps/powerpc/memmove.c: Likewise.
1229         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
1230         definition of PAGE_COPY_FWD_MAYBE here...
1231         * sysdeps/generic/pagecopy.h: ... from here.
1232         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1234 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1235             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1237         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1238         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1239         optimizations.
1240         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1241         (__libc_ifunc_impl_list): Likewise.
1242         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1243         multiarch strcat for PPC64.
1244         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1245         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1247 2014-07-02  Roland McGrath  <roland@hack.frob.com>
1249         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1251 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1253         * intl/loadmsgcat.c: Remove declaration of
1254         get_sysdep_segment_value.
1255         (get_sysdep_segment_value): Use ISO C style.
1256         (_nl_load_domain): Use ISO C style.  Get rid of redundant
1257         semicolon.  Fix typo and formatting in comment.
1258         (_nl_unload_domain): Use ISO C style.
1260         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1262 2014-07-02  Will Newton  <will.newton@linaro.org>
1264         * malloc/obstack.c: Merge from gnulib master.
1265         [HAVE_CONFIG_H]: Remove conditional code.
1266         [!_LIBC]: Include config.h.
1267         [!ELIDE_CODE]: Don't include inttypes.h, include
1268         stdint.h unconditionally.
1269         (print_and_abort): Mark as _Noreturn.
1270         (_obstack_allocated_p): Mark as __attribute_pure__.
1271         (obstack_free): Rename to __obstack_free.
1272         [!__attribute__]: Remove conditional code.
1273         * malloc/obstack.h: Merge from gnulib master.
1274         [__cplusplus]: Move conditional down.
1275         [!__attribute_pure__]: Define __attribute_pure__ here
1276         if it is not already defined.
1277         (_obstack_memory_used): Mark as __attribute_pure__.
1278         [!__obstack_free]: Define as obstack_free.
1279         [__GNUC__]: Remove check for ancient NeXT gcc.
1281 2014-07-02  Will Newton  <will.newton@linaro.org>
1282             Paul Eggert  <eggert@cs.ucla.edu>
1284         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1286 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1288         * resolv/gethnamaddr.c: Add comment warning that the file is
1289         not maintained.
1291 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
1293         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1294         entries.
1296         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1297         entry for aio_cancel and aio_cancel64.
1298         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1299         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1300         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1301         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1302         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1303         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1304         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1305         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1306         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1307         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1308         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1309         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1310         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1312 2014-07-01  Roland McGrath  <roland@hack.frob.com>
1314         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
1315         * nptl/pthread_mutex_lock.c: Likewise.
1316         * nptl/pthread_mutex_timedlock.c: Likewise.
1317         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
1319 2014-07-01  Richard henderson  <rth@redhat.com>
1321         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
1322         (__isnan, __isnanl): Remove.
1323         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
1325         * sysdeps/alpha/fpu/libm-test-ulps: Update.
1327 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
1329         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1331 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1333         * resolv/nss_dns/dns-host.c (getanswer_r)
1334         [MULTI_PTRS_ARE_ALIASES]: Remove code.
1336 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
1338         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1339         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
1340         undefine.
1341         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
1342         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
1344 2014-07-01  Roland McGrath <roland@hack.frob.com>
1346         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
1347         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
1349         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
1350         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
1352         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
1353         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
1354         ... here.
1355         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
1356         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
1358         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
1359         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
1360         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
1361         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
1363         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
1364         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
1365         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
1366         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
1367         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
1368         Moved ...
1369         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
1370         ... here.
1371         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
1372         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
1373         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
1374         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
1375         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
1376         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
1377         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
1378         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
1379         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
1380         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
1381         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
1382         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
1383         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
1384         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
1385         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
1386         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
1387         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
1388         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
1389         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1390         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1391         ... here.
1392         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1393         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1394         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1395         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1396         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1397         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1398         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1399         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1401 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
1403         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1404         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1405         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1406         Add sysdep.
1408 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1410         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1412 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
1414         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1415         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1417         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1419         * sysdeps/arm/libm-test-ulps: Regenerated.
1421 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
1422             Roland McGrath <roland@hack.frob.com>
1424         * test-skeleton.c (signal_handler): Kill the whole process group
1425         before killing the child individually.
1426         (main): Report any failure on `setpgid'.
1428 2014-06-30  Roland McGrath  <roland@hack.frob.com>
1430         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1431         from _TLS_H to _ARM_NPTL_TLS_H.
1432         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1433         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1435 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
1437         [BZ #16539]
1438         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1439         (__expm1l): Return argument unchanged when small but not
1440         subnormal.
1442         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1443         include macro name.
1444         (_FP_UNPACK_RAW_1_P): Likewise.
1445         (_FP_PACK_RAW_1): Likewise.
1446         (_FP_PACK_RAW_1_P): Likewise.
1447         (_FP_MUL_MEAT_1_wide): Likewise.
1448         (_FP_MUL_MEAT_DW_1_hard): Likewise.
1449         (_FP_MUL_MEAT_1_hard): Likewise.
1450         (_FP_DIV_MEAT_1_imm): Likewise.
1451         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1452         (_FP_DIV_MEAT_1_udiv): Likewise.
1453         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1454         (_FP_UNPACK_RAW_2): Likewise.
1455         (_FP_UNPACK_RAW_2_P): Likewise.
1456         (_FP_PACK_RAW_2): Likewise.
1457         (_FP_PACK_RAW_2_P): Likewise.
1458         (_FP_MUL_MEAT_DW_2_wide): Likewise.
1459         (_FP_MUL_MEAT_2_wide): Likewise.
1460         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1461         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1462         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1463         (_FP_MUL_MEAT_2_gmp): Likewise.
1464         (_FP_DIV_MEAT_2_udiv): Likewise.
1465         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1466         (_FP_FRAC_SRL_4): Likewise.
1467         (_FP_FRAC_SRST_4): Likewise.
1468         (_FP_FRAC_SRS_4): Likewise.
1469         (_FP_UNPACK_RAW_4): Likewise.
1470         (_FP_UNPACK_RAW_4_P): Likewise.
1471         (_FP_PACK_RAW_4): Likewise.
1472         (_FP_PACK_RAW_4_P): Likewise.
1473         (_FP_MUL_MEAT_DW_4_wide): Likewise.
1474         (_FP_MUL_MEAT_4_wide): Likewise.
1475         (_FP_MUL_MEAT_4_gmp): Likewise.
1476         (umul_ppppmnnn): Likewise.
1477         (_FP_DIV_MEAT_4_udiv): Likewise.
1478         (__FP_FRAC_ADD_4): Likewise.
1479         (__FP_FRAC_SUB_3): Likewise.
1480         (__FP_FRAC_SUB_4): Likewise.
1481         (__FP_FRAC_DEC_3): Likewise.
1482         (__FP_FRAC_DEC_4): Likewise.
1483         (__FP_FRAC_ADDI_4): Likewise.
1484         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1485         (_FP_FRAC_SRL_8): Likewise.
1486         (_FP_FRAC_SRS_8): Likewise.
1488         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1489         include macro name.
1490         (FP_UNPACK_RAW_EP): Likewise.
1491         (FP_PACK_RAW_E): Likewise.
1492         (FP_PACK_RAW_EP): Likewise.
1493         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1494         (_FP_ISSIGNAN): Likewise.
1495         (_FP_ADD_INTERNAL): Likewise.
1496         (_FP_FMA): Likewise.
1497         (_FP_CMP): Likewise.
1498         (_FP_SQRT): Likewise.
1499         (_FP_TO_INT): Likewise.
1500         (_FP_FROM_INT): Likewise.
1501         (FP_EXTEND): Likewise.
1502         (_FP_DIV_MEAT_N_loop): Likewise.
1504 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
1506         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1507         throughout.
1509 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
1511         [BZ #17097]
1512         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1513         result with correct sign in case of exponents that produce
1514         overflow except for X very close to 1.
1516 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
1518         mktime: merge #if/#ifdef usage from glibc
1519         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1520         as that works with both Glibc's and Gnulib's style.
1521         See thread starting at Siddhesh Poyarekar's bug report at:
1522         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1524 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1526         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
1527         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
1528         * sysdeps/tile/tilegx/memmove.c: Remove file.
1530 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
1532         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
1533         abi-name definition.
1534         * scripts/soversions.awk: Do not handle or generate ABI lines.
1535         * shlib-versions: Remove ABI entries.
1536         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
1537         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
1539 2014-06-27  Roland McGrath  <roland@hack.frob.com>
1541         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
1542         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
1543         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
1544         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
1545         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
1546         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
1547         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1548         Moved ...
1549         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
1550         ... here.
1551         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
1552         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
1553         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
1554         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
1555         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
1556         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
1557         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
1558         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
1559         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
1560         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
1561         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
1562         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
1563         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1564         Moved ...
1565         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
1566         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
1567         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
1568         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1569         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
1570         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1571         Moved ...
1572         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
1573         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1574         Moved ...
1575         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
1576         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
1577         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
1578         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1579         Moved ...
1580         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
1581         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
1582         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
1583         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
1584         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
1585         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
1586         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
1587         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1588         Moved ...
1589         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
1590         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
1591         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
1592         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
1593         Moved ...
1594         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
1595         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
1596         Moved ...
1597         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
1598         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
1599         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
1600         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1601         Moved ...
1602         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
1603         ... here.
1604         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1605         Identical file removed.
1606         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1607         Moved ...
1608         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
1609         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1610         Identical file removed.
1611         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
1612         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
1613         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1614         Moved ...
1615         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
1616         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1617         Identical file removed.
1618         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
1619         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
1620         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
1621         Identical file removed.
1622         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
1623         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
1624         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
1625         Identical file removed.
1626         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
1627         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
1628         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1629         Identical file removed.
1630         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1631         Moved ...
1632         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
1633         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1634         Identical file removed.
1635         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1636         Moved ...
1637         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
1638         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
1639         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
1640         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
1641         Identical file removed.
1642         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1643         Moved ...
1644         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
1645         ... here.
1646         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1647         Identical file removed.
1648         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1649         Moved ...
1650         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
1651         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1652         Identical file removed.
1653         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
1654         Moved ...
1655         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
1656         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
1657         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
1658         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
1659         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
1660         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1661         Moved ...
1662         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
1663         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
1664         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
1666         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
1667         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
1668         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
1669         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
1670         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
1672 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
1674         [BZ #17092]
1675         * nscd/nscd.c (monitor_child): Return exit status of child
1676         instead of return value from wait syscall.
1678 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
1680         * configure.ac (libc_commonpagesize): Remove variable.
1681         (libc_relro_required): Likewise.
1682         (libc_cv_z_relro): Remove configure test.
1683         * configure: Regenerated.
1684         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
1685         variable.
1686         (libc_relro_required): Likewise.
1687         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
1688         (libc_relro_required): Likewise.
1689         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
1690         (libc_relro_required): Likewise.
1691         * sysdeps/arm/preconfigure: Regenerated.
1692         * sysdeps/ia64/preconfigure: Remove file.
1693         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
1694         variable.
1695         (libc_relro_required): Likewise.
1697         [BZ #16561]
1698         [BZ #16562]
1699         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
1700         (__ieee754_yn): Set FE_TONEAREST mode internally and then
1701         recompute overflowing results in original rounding mode.
1702         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
1703         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
1704         recompute overflowing results in original rounding mode.
1705         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
1706         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1707         recompute overflowing results in original rounding mode.
1708         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
1709         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1710         recompute overflowing results in original rounding mode.
1711         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
1712         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1713         recompute overflowing results in original rounding mode.
1714         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
1715         (libc_feholdsetround_ctx): New macro.
1716         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
1717         * sysdeps/i386/fpu/libm-test-ulps: Update.
1718         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
1720 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1722         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1723         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
1724         corresponding .cpsetup call.
1726 2014-06-26  Roland McGrath  <roland@hack.frob.com>
1728         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
1729         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
1730         * sysdeps/arm/Makefile [$(subdir) = csu]
1731         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
1732         (static-only-routines): Add aeabi_read_tp here.
1733         (shared-only-routines): Add libc-aeabi_read_tp here.
1734         (CFLAGS-libc-start.c): Add -fexceptions here.
1735         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
1736         (sysdep_routines, static-only-routines, shared-only-routines):
1737         Don't add to these here.
1738         (CFLAGS-libc-start.c): Likewise.
1740         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
1741         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1742         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
1743         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1744         * sysdeps/arm/Makefile [$(subdir) = rt]
1745         (librt-sysdep_routines, librt-shared-only-routines):
1746         Append rt-aeabi_unwind_cpp_pr1 here.
1747         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
1748         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
1749         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
1750         (libpthread-sysdep_routines, libpthread-shared-only-routines):
1751         Append nptl-aeabi_unwind_cpp_pr1 here.
1752         (tests): Filter out tst-cleanupx4 here.
1753         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
1754         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
1755         Don't do those here.
1757 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1759         * scripts/list-sources.sh: Do not handle ports specially.
1761 2014-06-26  Roland McGrath  <roland@hack.frob.com>
1763         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1764         * sysdeps/arm/feupdateenv.c: Likewise.
1766         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1768 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1770         * manual/texinfo.tex: Update to version 2014-05-05.10 with
1771         trailing whitespace removed.
1772         * scripts/config.guess: Update to version 2014-03-23.
1773         * scripts/config.sub: Update to version 2014-05-01
1774         * scripts/install-sh: Update to version 2013-12-25.23.
1775         * scripts/move-if-change: Update from gnulib.
1777 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1779         * debug/memmove_chk.c: Remove pagecopy.h include.
1781 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
1783         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
1784         identical to gnulib mktime.
1786 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1788         * configure.ac: Do not test for machine being rs6000.  Do not test
1789         for powerpc*-*soft.
1790         * configure: Regenerated.
1792         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1793         test.
1794         * configure: Regenerated.
1795         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1796         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1797         Remove configure test.
1798         * sysdeps/arm/configure: Regenerated.
1799         * sysdeps/nptl/configure.ac: Do not check
1800         libc_cv_asm_cfi_directives.
1801         * sysdeps/nptl/configure: Regenerated.
1802         * sysdeps/x86_64/nptl/configure.ac: Remove file.
1803         * sysdeps/x86_64/nptl/configure: Remove generated file.
1804         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1805         unconditional.
1806         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1808 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1810         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1811         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1812         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1813         it is defined.
1815         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1816         instead of whether it is defined.
1817         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1818         * sysdeps/hppa/dl-machine.h: Likewise.
1819         * sysdeps/ia64/dl-machine.h: Likewise.
1820         * sysdeps/m68k/dl-machine.h: Likewise.
1821         * sysdeps/microblaze/dl-machine.h: Likewise.
1822         * sysdeps/mips/dl-machine.: Likewise.
1823         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1824         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1825         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1826         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1827         * sysdeps/sh/dl-machine.h: Likewise.
1828         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1829         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1830         * sysdeps/tile/dl-machine.h: Likewise.
1831         * sysdeps/x86_64/dl-machine.h: Likewise.
1833         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1834         code.
1835         (verify_persistent_db): Likewise.
1837 2014-06-26  Roland McGrath  <roland@hack.frob.com>
1839         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1840         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1841         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1842         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1843         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1844         Moved ...
1845         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1846         ... here.
1847         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1848         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1849         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1850         Identical file removed.
1851         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1852         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1853         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1854         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1855         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1856         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1857         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1858         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1859         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1860         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1861         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1862         Moved ...
1863         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1864         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1865         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1866         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1867         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1868         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1869         Moved ...
1870         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1871         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1872         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1873         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1874         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1875         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1876         Identical file removed.
1877         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1878         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1879         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1880         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1881         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1882         Moved ...
1883         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1884         ... here.
1885         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1886         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1887         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1888         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1889         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1890         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1891         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1892         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1893         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1894         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1895         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1896         Moved ...
1897         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1898         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
1899         Moved ...
1900         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
1901         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
1902         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
1903         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1904         Moved ...
1905         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
1906         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
1907         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
1909         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
1910         folded into ...
1911         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
1912         * sysdeps/unix/sysv/linux/s390/Versions
1913         (libpthread: GLIBC_2.19): New version set.
1914         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
1915         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
1916         (librt: GLIBC_2.3.3): New version set.
1917         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
1918         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
1919         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
1920         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
1921         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
1922         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
1923         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
1924         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
1925         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
1926         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
1927         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
1928         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
1929         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
1930         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
1931         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
1932         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
1933         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
1934         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
1935         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
1936         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
1937         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
1938         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
1939         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
1940         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
1941         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
1942         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
1943         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
1944         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
1945         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
1946         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
1947         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
1948         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
1949         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
1950         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
1951         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
1952         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
1953         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
1954         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
1955         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
1956         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
1957         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
1958         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
1959         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
1960         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
1961         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
1963         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
1964         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
1965         (__libc_vfork): Define the function under this name.
1966         [!NOT_IN_libc] (__vfork): Make this an alias.
1967         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1968         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
1969         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
1970         (__libc_vfork): Define the function under this name.
1971         [!NOT_IN_libc] (__vfork): Make this an alias.
1972         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1973         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
1974         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
1975         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
1976         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
1977         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1979         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
1980         code that was previously under [RESET_PID].
1981         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1982         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
1983         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
1985         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
1986         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
1987         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
1988         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
1989         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
1990         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
1991         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
1992         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
1993         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
1994         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
1995         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
1996         Moved ...
1997         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
1998         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
1999         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2000         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2001         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2002         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2003         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2004         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2005         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2006         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2007         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2008         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
2009         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
2010         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
2011         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
2012         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
2013         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
2014         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
2015         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
2016         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
2017         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
2018         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
2019         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
2020         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
2021         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
2022         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
2023         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
2024         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
2025         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
2027 2014-06-25  Roland McGrath  <roland@hack.frob.com>
2029         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2030         that was previously under [RESET_PID].
2031         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
2033 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2035         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
2036         not undefine and redefine.
2037         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
2038         [O_CLOEXEC]: Make code unconditional.
2039         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
2040         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
2041         <kernel-features.h>.
2042         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
2043         conditional variable definition.
2044         (shm_open) [O_CLOEXEC]: Make code unconditional.
2045         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2046         code.
2048         * configure.ac (USE_REGPARMS): Don't define here.
2049         * configure: Regenerated.
2050         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2051         * sysdeps/i386/configure: Regenerated.
2053         * nptl/createthread.c: Don't include kernel-features.h.
2054         * nptl/pthread_cancel.c: Likewise.
2055         * nptl/pthread_condattr_setclock.c: Likewise.
2056         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2057         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2058         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2059         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2060         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2061         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2062         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2063         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2064         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2065         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2066         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2067         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2068         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2069         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2070         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2071         * nscd/gai.c: Likewise.
2072         * nss/nss_db/db-open.c: Likewise.
2073         * sysdeps/generic/ldsodefs.h: Likewise.
2074         * sysdeps/sh/nptl/tls.h: Likewise.
2075         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2076         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
2077         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2078         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2079         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2080         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2081         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2082         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2083         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2084         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2085         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2086         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2087         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2088         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2089         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2090         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2091         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2092         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2093         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2094         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2095         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2096         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2097         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2098         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2099         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2100         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2101         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2102         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2103         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2104         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2105         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2106         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2107         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2108         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2109         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2110         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2111         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2112         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2113         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2114         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2115         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2116         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2117         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2118         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2119         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2120         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2121         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2122         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2123         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2124         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2125         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2126         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2127         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2128         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2129         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2130         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2131         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2132         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2155         * sysdeps/unix/sysv/linux/pread.c: Likewise.
2156         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2157         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2158         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2159         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2160         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2161         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2162         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2163         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2164         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2165         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2166         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2167         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2168         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2169         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2170         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2171         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2172         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2173         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2174         * sysdeps/unix/sysv/linux/system.c: Likewise.
2175         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2176         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2177         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2178         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2179         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2180         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2181         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2183         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2184         * configure: Regenerated.
2185         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2187         * configure.ac (base_machine): Do not set specially for particular
2188         machines here.
2189         * configure: Regenerated.
2190         * sysdeps/powerpc/preconfigure: Move machine and base_machine
2191         settings from configure.ac.
2192         * sysdeps/i386/preconfigure: New file.
2193         * sysdeps/s390/preconfigure: Likewise.
2194         * sysdeps/sh/preconfigure: Likewise.
2195         * sysdeps/sparc/preconfigure: Likewise.
2197 2014-06-25  Roland McGrath  <roland@hack.frob.com>
2199         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2200         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2201         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2202         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2203         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2204         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2205         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2206         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2207         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2208         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2209         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2210         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2211         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2212         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2213         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2214         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2215         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2216         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2217         * sysdeps/sparc/sparc64/Makefile: ... appended here.
2219         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2220         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2221         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2222         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2223         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2224         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2225         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2226         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2227         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2228         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2229         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2230         * sysdeps/sparc/sparc32/sem_post.c: ... here.
2231         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2232         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2233         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2234         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2235         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2236         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2237         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2238         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2239         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2240         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2241         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2242         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2243         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2244         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2245         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2246         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2247         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2248         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2249         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2250         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2251         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2252         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2253         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2254         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2255         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2256         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2258         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2259         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2260         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2261         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2262         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2263         Moved ...
2264         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2265         ... here.
2266         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2267         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2268         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2269         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2270         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2271         Moved ...
2272         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2273         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2274         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2275         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2276         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2277         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2278         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2279         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2280         Moved ...
2281         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2282         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2283         Moved ...
2284         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2285         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2286         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2287         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2288         Moved ...
2289         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2290         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2291         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2292         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2293         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2294         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2295         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2296         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2297         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2298         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2299         Moved ...
2300         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2301         ... here.
2302         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2303         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2304         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2305         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2306         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2307         Moved ...
2308         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2309         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2310         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2311         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2312         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2313         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
2314         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
2315         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2316         Moved ...
2317         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
2318         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2319         Moved ...
2320         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
2321         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
2322         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
2323         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2324         Moved ...
2325         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
2326         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
2327         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
2328         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
2329         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
2331 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2333         * timezone/checktab.awk: Update from tzcode 2014e.
2334         * timezone/private.h: Likewise.
2335         * timezone/tzfile.h: Likewise.
2336         * timezone/zdump.c: Likewise.
2337         * timezone/zic.c: Likewise.
2339         * sysdeps/unix/sysv/linux/kernel-features.h
2340         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
2341         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
2342         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
2343         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2344         Remove conditional code.
2346 2014-06-25  Will Newton  <will.newton@linaro.org>
2348         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2349         (_dl_arm_cap_flags): Add HWCAP2 values.
2350         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
2351         (_DL_HWCAP_COUNT): Increase to 37.
2352         (_DL_HWCAP_LAST): New define.
2353         (_DL_HWCAP2_LAST): New define.
2354         (_dl_procinfo): Add support for printing
2355         AT_HWCAP2 entries.
2356         (_dl_string_hwcap): Use _dl_hwcap_string.
2358 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2360         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2362 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2364         * README: Do not mention ports directory.
2366         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
2367         Remove macro.
2368         * sysdeps/unix/sysv/linux/futimes.c: Do not include
2369         <kernel-features.h>.
2370         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
2371         conditional variable definition.
2372         (__futimes): Update comment.
2373         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
2374         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
2376         [BZ #16560]
2377         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
2378         arguments close to 0.
2379         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
2380         Likewise.
2381         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
2382         Likewise.
2383         * math/auto-libm-test-in: Add more tests of exp10.
2384         * math/auto-libm-test-out: Regenerated.
2385         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2387         * sysdeps/unix/sysv/linux/kernel-features.h
2388         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
2389         * sysdeps/unix/sysv/linux/readv.c: Do not include
2390         <kernel-features.h>.
2391         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2392         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2393         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2394         unconditional.
2395         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2396         conditional code.
2397         * sysdeps/unix/sysv/linux/writev.c: Do not include
2398         <kernel-features.h>.
2399         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2400         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2401         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2402         unconditional.
2403         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2404         conditional code.
2406 2014-06-25  Will Newton  <will.newton@linaro.org>
2408         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2409         comment changes throughout the file.  Remove checks
2410         for HAVE_*_H definitions that are not required.
2411         (__gen_tempname): Call abort if an unknown kind value is
2412         passed.
2414 2014-06-25  Andreas Schwab  <schwab@suse.de>
2416         [BZ #17086]
2417         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2418         scalbln, scalblnf, scalblnl in libc.
2420 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
2422         [BZ #17086]
2423         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2424         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2425         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2427 2014-06-24  Roland McGrath  <roland@hack.frob.com>
2429         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2430         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2431         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2432         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2433         Update #include.
2434         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2435         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2436         Update #include.
2437         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2438         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2439         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2440         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2441         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2442         * sysdeps/x86/bits/pthreadtypes.h: ... here.
2443         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2444         * sysdeps/x86/bits/semaphore.h: ... here.
2445         * sysdeps/x86/nptl/elide.h: Moved ...
2446         * sysdeps/x86/elide.h: ... here.
2447         * sysdeps/x86_64/nptl/Implies: File removed.
2448         * sysdeps/i386/nptl/Implies: File removed.
2450 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
2452         [BZ #16539]
2453         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2454         return the argument for normal arguments with exponent below -64.
2455         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2456         Likewise.
2457         * math/auto-libm-test-in: Add another test of expm1.
2458         * math/auto-libm-test-out: Regenerated.
2460         [BZ #16287]
2461         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2462         calling __erfcl for arguments at least 16.
2463         * math/auto-libm-test-in: Add more tests of erf.
2464         * math/auto-libm-test-out: Regenerated.
2466         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2467         individual architectures.
2468         * sysdeps/unix/sysv/linux/configure: Regenerated.
2469         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2470         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2471         * sysdeps/unix/sysv/linux/powerpc/configure.ac
2472         (ldd_rewrite_script): Define variable.
2473         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2475         file.
2476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2477         generated file.
2478         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2479         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2480         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2481         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2482         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2483         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2484         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2485         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2487 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2489         [BZ #17084]
2490         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2491         Rename member __data.d to __data.__elision_data.
2493 2014-06-24  Wilco  <wdijkstr@arm.com>
2495         * NEWS: Add 16918 to fixed bug list.
2497 2014-06-24  Wilco  <wdijkstr@arm.com>
2499         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2501 2014-06-24  Wilco  <wdijkstr@arm.com>
2503         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2504         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2505         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2506         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2507         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2508         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2509         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2510         Use _FPU_MASK_RM.
2512 2014-06-24  Wilco  <wdijkstr@arm.com>
2514         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2516 2014-06-24  Wilco  <wdijkstr@arm.com>
2518         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2519         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2520         * sysdeps/arm/fesetround.c (fesetround): Remove space.
2521         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2523 2014-06-24  Wilco  <wdijkstr@arm.com>
2525         [BZ #16918]
2526         * sysdeps/arm/feupdateenv.c (feupdateenv):
2527         Rewrite to reduce FPSCR accesses and fix return value.
2529 2014-06-24  Wilco  <wdijkstr@arm.com>
2531         * sysdeps/arm/fclrexcpt.c (feclearexcept):
2532         Optimize to avoid unnecessary FPSCR writes.
2533         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
2534         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
2535         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
2536         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
2538 2014-06-24  Wilco  <wdijkstr@arm.com>
2540         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
2541         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
2542         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
2543         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
2544         Call libc_fetestexcept_vfp.
2545         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
2546         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
2547         __SOFTFP__ ifdef so that they can be built for softfp.
2549 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2551         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
2552         argument type signed char.
2554         * Makerules (check-abi): Dump diff of symlist if the test
2555         fails.
2557 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2559         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
2560         using abort.
2562         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2563         Remove unused variable ST.
2565 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
2567         [BZ #16354]
2568         [BZ #17061]
2569         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
2570         small arguments before calling __expm1.
2571         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
2572         small arguments before calling __expm1f.
2573         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
2574         small arguments before calling __expm1l.
2575         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2576         Likewise.
2577         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2578         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
2579         spurious underflow for some cosh tests.
2580         * math/auto-libm-test-out: Regenerated.
2581         * sysdeps/i386/fpu/libm-test-ulps: Update.
2583         [BZ #17050]
2584         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
2585         (__ieee754_y1): Set errno if return value overflows.
2586         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
2587         (__ieee754_y1f): Set errno if return value overflows.
2588         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
2589         (__ieee754_y1l): Set errno if return value overflows.
2590         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
2591         (__ieee754_y1l): Set errno if return value overflows.
2592         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
2593         * math/auto-libm-test-out: Regenerated.
2595         * math/gen-auto-libm-tests.c: Document use of
2596         ignore-zero-inf-sign.
2597         (input_flag_type): Add value flag_ignore_zero_inf_sign.
2598         (input_flags): Add ignore-zero-inf-sign.
2599         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
2600         * math/gen-libm-test.pl (generate_testfile): Handle
2601         ignore-zero-inf-sign.
2602         * math/auto-libm-test-in: Mark some cpow tests with
2603         ignore-zero-inf-sign and some with xfail-rounding.
2604         * math/auto-libm-test-out: Regenerated.
2605         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
2606         * sysdeps/i386/fpu/libm-test-ulps: Update.
2607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2609         [BZ #16315]
2610         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
2611         overflowing or underflowing operations take place with sign of
2612         result.
2613         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2614         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2615         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
2616         (__ieee754_pow): Recompute overflowing and underflowing results in
2617         original rounding mode.
2618         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
2619         (__powl_helper): Allow negative argument X and scale negated value
2620         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
2621         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
2622         overflowing or underflowing operations take place with sign of
2623         result.
2624         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
2625         Include <math.h>.
2626         * math/auto-libm-test-in: Add more tests of pow.
2627         * math/auto-libm-test-out: Regenerated.
2628         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
2629         (pow_tonearest_test_data): Remove.
2630         (pow_test_tonearest): Likewise.
2631         (pow_towardzero_test_data): Likewise.
2632         (pow_test_towardzero): Likewise.
2633         (pow_downward_test_data): Likewise.
2634         (pow_test_downward): Likewise.
2635         (pow_upward_test_data): Likewise.
2636         (pow_test_upward): Likewise.
2637         (main): Don't call removed functions.
2638         * sysdeps/i386/fpu/libm-test-ulps: Update.
2639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2641 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
2644         Moved ...
2645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
2646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2647         Moved ...
2648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
2649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2650         Moved ...
2651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
2652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2653         Moved ...
2654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
2655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2656         File removed.
2657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2658         File removed.
2659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
2660         File removed.
2661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
2662         File removed.
2663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
2664         File removed.
2665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
2666         File removed.
2667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
2668         File removed.
2669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2670         File removed.
2671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
2672         File removed.
2673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2674         File removed.
2675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
2676         File removed.
2677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
2678         File removed.
2679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
2680         Moved ...
2681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
2682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
2683         Moved ...
2684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
2685         ... here.
2686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
2687         Moved ...
2688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
2689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
2690         Moved ...
2691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
2692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
2693         Moved ...
2694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
2695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
2696         Moved ...
2697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
2698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
2699         Moved ...
2700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
2701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
2702         Moved ...
2703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
2704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
2705         Moved ...
2706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
2707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
2708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
2709         ... here.
2710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
2711         Moved ...
2712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
2713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2714         Moved ...
2715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2716         ... here.
2717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
2718         Moved ...
2719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2720         ... here.
2721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2722         Moved ...
2723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2724         ... here.
2725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2726         Moved ...
2727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
2728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
2729         Moved ...
2730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
2731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
2732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
2733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2734         Moved ...
2735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2736         ... here.
2737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2738         Moved ...
2739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2740         ... here.
2741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
2742         Moved ...
2743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
2744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2745         Moved ...
2746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
2747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
2748         Moved ...
2749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
2750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2751         Moved ...
2752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
2753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2754         Moved ...
2755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2756         ... here.
2757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2758         Moved ...
2759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2761         Moved ...
2762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2764         Moved ...
2765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2767         Moved ...
2768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
2769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
2770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
2771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2772         Moved ...
2773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
2774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2775         Moved ...
2776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
2777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2778         Moved ...
2779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2780         ... here.
2781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2782         Moved ...
2783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2784         ... here.
2785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2786         Moved ...
2787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2788         ... here.
2789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2790         Moved ...
2791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2793         Moved ...
2794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2796         Moved ...
2797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2799         Moved ...
2800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2801         ... here.
2802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2803         Moved ...
2804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2805         ... here.
2806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2807         Moved ...
2808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2809         ... here.
2810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2811         Moved ...
2812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2814         Moved ...
2815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2817 2014-06-23  Will Newton  <will.newton@linaro.org>
2818             Wilco  <wdijkstr@arm.com>
2820         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2821         implementation.  Include get-rounding-mode.h.
2822         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2823         [!libc_feholdsetround_noex_ctx]: Define
2824         libc_feholdsetround_noex_ctx.
2825         [!libc_feholdsetround_noexf_ctx]: Define
2826         libc_feholdsetround_noexf_ctx.
2827         [!libc_feholdsetround_noexl_ctx]: Define
2828         libc_feholdsetround_noexl_ctx.
2829         (libc_feholdsetround_ctx): New function.
2830         (libc_feresetround_ctx): New function.
2831         (libc_feholdsetround_noex_ctx): New function.
2832         (libc_feresetround_noex_ctx): New function.
2834 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2836         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2837         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2838         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2839         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2840         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2841         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2843         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2844         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2845         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2846         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2847         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2848         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2849         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2850         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2851         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2852         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2853         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2854         Moved ...
2855         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2856         ... here.
2857         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2858         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2859         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2860         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2861         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2862         Moved ...
2863         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2864         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2865         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2866         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2867         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2868         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2869         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2870         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2871         Moved ...
2872         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2873         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2874         Moved ...
2875         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2876         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2877         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2878         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2879         Moved ...
2880         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2881         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2882         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2883         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2884         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2885         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2886         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2887         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2888         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2889         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2890         Moved ...
2891         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2892         ... here.
2893         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2894         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2895         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2896         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2897         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2898         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
2899         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
2900         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
2901         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
2902         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
2903         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
2904         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
2905         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
2906         Moved ...
2907         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
2908         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
2909         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
2910         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
2911         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
2912         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
2913         Moved ...
2914         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
2915         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
2916         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
2917         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
2918         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
2920         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
2921         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
2922         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
2923         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
2924         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
2925         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
2926         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
2927         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
2928         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
2929         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
2930         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
2931         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
2932         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
2933         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
2934         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
2935         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
2936         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
2937         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
2938         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
2939         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
2940         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
2941         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
2942         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
2943         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
2944         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
2945         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
2946         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
2947         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
2949 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
2951         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2952         (FALLOC_FL_COLLAPSE_RANGE): New macro.
2953         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
2954         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
2955         (IPV6_PMTUDISC_INTERFACE): Likewise.
2956         (IPV6_PMTUDISC_OMIT): Likewise.
2958 2014-06-23  Andreas Schwab  <schwab@suse.de>
2960         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
2961         Remove unused errout label.
2963 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2965         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
2966         macro: hardware supports Vector Crypto instructions.
2968 2014-06-23  Will Newton  <will.newton@linaro.org>
2970         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
2971         rather than __builtin_expect.
2973         * elf/dl-lookup.c (undefined_msg): Remove variable.
2974         (_dl_lookup_symbol_x): Replace undefined_msg with string
2975         literal.
2977         * elf/dl-lookup.c (do_lookup_unique): New function.
2978         (do_lookup_x): Move STB_GNU_UNIQUE handling code
2979         to a separate function.
2981 2014-06-23  Andreas Schwab  <schwab@suse.de>
2983         [BZ #17079]
2984         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
2985         before reading the next line.
2987 2014-06-23  Will Newton  <will.newton@linaro.org>
2989         * test-skeleton.c (signal_handler): Use printf and %m
2990         rather than perror.  Use printf rather than fprintf to
2991         stderr.  Use puts rather than fputs to stderr.
2992         (main): Likewise.
2994 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
2996         * nscd/nscd.c (thread_info_t): Remove typedef.
2997         (thread_info): Remove variable.
2999 2014-06-21  Allan McRae  <allan@archlinux.org>
3001         * NEWS: Mention CVE-2014-4043.
3003 2014-06-20  Roland McGrath  <roland@hack.frob.com>
3005         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3006         * nptl/smp.h: ... here.
3008         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
3010         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
3011         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
3012         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
3013         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
3015         * nptl/allocatestack.c: Include <stack-aliasing.h>.
3016         * nptl/stack-aliasing.h: New file.
3017         * sysdeps/i386/i686/stack-aliasing.h: New file.
3018         * sysdeps/i386/i686/nptl/Makefile: File removed.
3019         * sysdeps/x86_64/stack-aliasing.h: New file.
3020         * sysdeps/x86_64/nptl/Makefile
3021         (CFLAGS-pthread_create.c): Variable removed.
3023         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
3024         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
3025         old file.
3026         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3027         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3028         old file.
3030 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
3032         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3033         (__ASSUME_SIGFRAME_V2): Remove macro.
3034         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
3035         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
3036         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
3037         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
3038         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
3039         Declare as function.  Remove conditional macro definitions.
3040         (__default_rt_sa_restorer): Likewise.
3041         (__default_sa_restorer_v1): Remove declaration.
3042         (__default_sa_restorer_v2): Likewise.
3043         (__default_rt_sa_restorer_v1): Likewise.
3044         (__default_rt_sa_restorer_v2): Likewise.
3045         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3046         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3047         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3049 2014-06-20  Roland McGrath  <roland@hack.frob.com>
3051         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3052         (libpthread-routines): Add sysdep.
3053         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3054         * sysdeps/unix/sysv/linux/sparc/Versions
3055         (libpthread: GLIBC_2.3.3): New version set.
3056         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3057         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3058         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3059         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3060         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
3061         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3062         Moved ...
3063         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3064         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3065         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3066         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3067         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3068         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3069         * sysdeps/sparc/nptl/sem_init.c: ... here.
3070         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3071         * sysdeps/sparc/nptl/sem_post.c: ... here.
3072         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3073         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
3074         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
3075         * sysdeps/sparc/nptl/sem_wait.c: ... here.
3076         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
3077         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3078         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3079         (libpthread-routines): Add cpu_relax.
3080         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3081         File removed.
3082         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3083         (librt: GLIBC_2.3.3): New version set.
3084         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3085         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3086         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3087         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3088         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3089         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3090         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3091         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3092         Moved ...
3093         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3094         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3095         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3096         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3097         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3098         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3099         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3100         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3101         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3102         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3103         Moved ...
3104         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3105         Update #include.
3106         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3107         Moved ...
3108         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3109         Update #include.
3110         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3111         Moved ...
3112         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3113         Update #include.
3114         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3115         Moved ...
3116         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3117         Update #include.
3118         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3119         Moved ...
3120         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3121         Update #include.
3122         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3123         Moved ...
3124         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3125         Update #include.
3126         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3127         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3128         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3129         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3130         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3131         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3132         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3133         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3134         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3135         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3136         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3137         Moved ...
3138         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3139         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3140         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3141         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3142         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3144 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3146         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3147         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3148         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3149         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3150         * nscd/nscd.c: Likewise.
3151         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3152         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3153         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3154         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3156         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3157         <kernel-features.h>.
3158         (init_mq_netlink): Remove conditional have_sock_cloexec
3159         definitions.  Remove code conditional on have_sock_cloexec < 0.
3160         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3161         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3162         * sysdeps/unix/sysv/linux/opensock.c: Do not include
3163         <kernel-features.h>.
3164         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3165         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3167 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
3169         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3170         Add tests for memset_chk and memset.
3172         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3173         with AVX2_Usable.
3175 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
3177         [BZ #16046]
3178         * elf/tst-dl-iter-static.c: New file.
3179         * elf/Makefile (tests-static): Add tst-dl-iter-static.
3181         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3182         error.
3184 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3186         * sysdeps/unix/sysv/linux/kernel-features.h
3187         (__ASSUME_F_GETOWN_EX): Remove macro.
3188         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3189         <kernel-features.h>.
3190         (miss_F_GETOWN_EX): Remove variable or macro.
3191         (do_fcntl): Do not check miss_F_GETOWN_EX.
3192         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
3194         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
3195         Remove macro.
3196         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
3197         [!__ASSUME_AT_RANDOM]: Remove conditional code.
3198         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
3200         * sysdeps/unix/sysv/linux/kernel-features.h
3201         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3202         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3203         [ADJ_OFFSET_SS_READ]: Make code unconditional.
3204         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3206 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
3208         [BZ #17075]
3209         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3210         Fix calculation of the symbol's value.
3211         * sysdeps/arm/tst-armtlsdescloc.c: New file.
3212         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3213         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3214         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3215         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3216         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3217         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3218         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3219         (modules-names): Add `tst-armtlsdescmod',
3220         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3221         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3222         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3223         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3224         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3225         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3226         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3227         ($(objpfx)tst-armtlsdescloc): New dependency.
3228         ($(objpfx)tst-armtlsdescextnow): Likewise.
3229         ($(objpfx)tst-armtlsdescextlazy): Likewise.
3230         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3231         TLS scheme support.
3232         * sysdeps/arm/configure: Regenerate.
3234 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3236         * include/fcntl.h (__atfct_seterrno): Remove prototype.
3237         (__atfct_seterrno_2): Likewise.
3238         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3239         <kernel-features.h>.
3240         (__ASSUME_ATFCTS): Do not undefine and redefine.
3241         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3242         (__have_atfcts): Remove conditional definition.
3243         (__fxstatat([__NR_fstatat64]: Make code unconditional.
3244         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3245         unreachable if [__ASSUME_ATFCTS].
3246         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3247         not undefine and redefine.
3248         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3249         <kernel-features.h>.
3250         (faccessat) [__NR_faccessat]: Make code unconditional.
3251         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3252         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3253         <kernel-features.h>.
3254         (fchmodat) [__NR_fchmodat]: Make code unconditional.
3255         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3256         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3257         <kernel-features.h>.
3258         (fchownat) [__NR_fchownat]: Make code unconditional.
3259         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3260         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3261         <kernel-features.h>.
3262         (futimesat) [__NR_futimesat]: Make code unconditional.
3263         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3264         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3265         <kernel-features.h>.
3266         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3267         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3268         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3269         <kernel-features.h>.
3270         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3271         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3272         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3273         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3274         <kernel-features.h>.
3275         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3276         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3277         * sysdeps/unix/sysv/linux/linkat.c: Do not include
3278         <kernel-features.h>.
3279         (linkat) [__NR_linkat]: Make code unconditional.
3280         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3281         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3282         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3283         <kernel-features.h>.
3284         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3285         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3286         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3287         <kernel-features.h>.
3288         (mkdirat) [__NR_mkdirat]: Make code unconditional.
3289         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3290         * sysdeps/unix/sysv/linux/openat.c: Do not include
3291         <kernel-features.h>.
3292         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3293         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3294         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3295         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3296         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3297         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3298         <kernel-features.h>.
3299         (readlinkat) [__NR_readlinkat]: Make code unconditional.
3300         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
3301         result of INLINE_SYSCALL directly, not via int variable.
3302         * sysdeps/unix/sysv/linux/renameat.c: Do not include
3303         <kernel-features.h>.
3304         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3305         (renameat) [__NR_renameat]: Make code unconditional.
3306         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3307         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3308         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3309         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3310         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3311         (__ASSUME_ATFCTS): Do not undefine and redefine.
3312         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3313         <kernel-features.h>.
3314         (symlinkat) [__NR_symlinkat]: Make code unconditional.
3315         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3316         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
3317         <kernel-features.h>.
3318         (unlinkat) [__NR_unlinkat]: Make code unconditional.
3319         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3320         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
3321         (__ASSUME_ATFCTS): Do not undefine and redefine.
3322         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3323         <kernel-features.h>.
3324         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3325         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3326         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3327         <kernel-features.h>.
3328         (__xmknodat) [__NR_mknodat]: Make code unconditional.
3329         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3331 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
3333         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
3335 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
3337         [BZ #17069]
3338         * posix/regcomp.c (parse_reg_exp): Deallocate partially
3339         constructed tree before returning error.
3340         * posix/bug-regexp36.c: Expand test case.
3342 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3344         [BZ #6803]
3345         * math/libm-test.inc (scalbln_test_date):
3346         Add errno expectations.
3347         * math/w_scalblnf.c: New File.
3348         Add wrapper which checks for setting errno to ERANGE.
3349         Add weak_alias for corresponding scalbln function.
3350         * math/w_scalbln.c: Likewise.
3351         * math/w_scalblnl.c: Likewise.
3352         * math/Makefile (libm-calls): Add w_scalbln.
3353         * sysdeps/ieee754/flt-32/s_scalblnf.c:
3354         Remove weak_alias for corresponding scalbln function.
3355         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3356         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3357         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3358         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3359         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3360         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3361         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
3362         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3363         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
3364         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
3365         Remove long_double_symbol for scalblnl function in libm, libc.
3366         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
3367         Add wrapper which checks for setting errno to ERANGE.
3368         Add long_double_symbol for scalblnl function in libm, libc.
3369         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
3370         Remove long_double_symbol for scalblnl in libm.
3371         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
3372         Add wrapper which checks for setting errno to ERANGE.
3373         Add long_double_symbol for scalblnl function in libm.
3374         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
3375         Do not use wrapper because of own implementation.
3377 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
3379         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
3380         3 bytes for __pad1 for x32.
3381         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
3383 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
3384             H.J. Lu  <hongjiu.lu@intel.com>
3386         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
3387         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
3388         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3389         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3390         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3392 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
3394         [BZ #17069]
3395         * posix/regcomp.c (parse_expression): Deallocate partially
3396         constructed tree before returning error.
3397         * posix/Makefile.c (tests): Add bug-regex36.
3398         (generated): Add bug-regex36.mtrace.
3399         (tests-special): Add $(objpfx)bug-regex36-mem.out
3400         (bug-regex36-ENV): New variable.
3401         ($(objpfx)bug-regex36-mem.out): New rule.
3402         * posix/bug-regex36.c: New file.
3404 2014-06-19  Will Newton  <will.newton@linaro.org>
3406         * malloc/malloc.c (systrim): If extra is zero then return
3407         early.
3409 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3411         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3413 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
3415         * sysdeps/aarch64/strchr.S: New file.
3417 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
3419         [BZ #17022]
3420         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3421         from arguments -2 or below.
3422         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3423         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3425 2014-06-18  Andreas Schwab  <schwab@suse.de>
3427         [BZ #17062]
3428         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3429         of a bracket expr not to run off the end of the string.
3430         * posix/Makefile (tests): Add tst-fnmatch3.
3431         * posix/tst-fnmatch3.c: New file.
3433 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
3435         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3436         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3437         [$(cross-compiling) = no]: Likewise.
3438         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3439         [$(cross-compiling) = no]: Likewise.
3441 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3443         [BZ #17031]
3444         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3445         double, adjusted for any remainder from the high double.
3446         * math/libm-test.inc (nearbyint): Add tests.
3447         (rint): Likewise.
3449 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3451         * nptl/sysdeps/powerpc/Makefile: Moved ...
3452         * sysdeps/powerpc/nptl/Makefile: ... here.
3453         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3454         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3455         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3456         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3457         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3458         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3459         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3460         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3461         * nptl/sysdeps/powerpc/tls.h: Moved ...
3462         * sysdeps/powerpc/nptl/tls.h: ... here.
3464 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
3466         [BZ #16681]
3467         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3468         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3469         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3470         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3471         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3472         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3473         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3474         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3475         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3477 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
3479         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3481 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
3483         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3484         defined operator.
3486         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3487         $TIMEOUTFACTOR.
3489 2014-06-16  Florian Weimer  <fweimer@redhat.com>
3491         [BZ #17058]
3492         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3493         non-executed part of the test.
3495 2014-06-16  Andreas Schwab  <schwab@suse.de>
3497         * string/bits/string2.h (strdup, strndup): Update feature guard.
3499 2014-06-14  David S. Miller  <davem@davemloft.net>
3501         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3503 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
3505         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3506         that was previously under [RESET_PID].
3507         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3509         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3510         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3511         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3512         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3513         (__libc_vfork): New strong alias.
3514         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3516 2014-06-14 Andi Kleen  <ak@linux.intel.com>
3518         * sysdeps/generic/elide.h: New file.
3520 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3522         * Makefile (installed-headers): Adjust path of pthread.h header.
3524 2014-06-13  Roland McGrath  <roland@hack.frob.com>
3526         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
3527         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
3528         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
3529         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
3531         * nptl/sysdeps/s390/Makefile: Moved ...
3532         * sysdeps/s390/nptl/Makefile: ... here.
3533         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
3534         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
3535         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
3536         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
3537         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
3538         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
3539         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
3540         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
3541         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
3542         * sysdeps/s390/nptl/pthreaddef.h: ... here.
3543         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
3544         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
3545         * nptl/sysdeps/s390/tls.h: Moved ...
3546         * sysdeps/s390/nptl/tls.h: ... here.
3548         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
3549         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
3551 2014-06-13  David S. Miller  <davem@davemloft.net>
3553         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
3554         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
3555         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
3556         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
3557         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
3558         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
3559         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
3560         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
3561         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
3562         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
3563         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
3564         Remove RESET_PID cpp guards.
3565         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
3566         Remove RESET_PID cpp guards.
3567         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3569 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
3571         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
3572         __sp to uintptr_t.
3574 2014-06-13  Andi Kleen  <ak@linux.intel.com>
3576         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
3577         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
3578         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
3579         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
3580         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
3581         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
3582         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
3583         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
3584         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
3585         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
3586         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
3587         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
3588         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
3589         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
3590         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
3591         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
3592         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
3593         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
3594         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
3595         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
3597         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
3598         (pthread_rwlock_rdlock): Add elision.
3599         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
3600         (pthread_rwlock_wrlock): Add elision.
3601         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
3602         (pthread_rwlock_trywrlock): Add elision.
3603         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
3604         (pthread_rwlock_tryrdlock): Add elision.
3605         * nptl/pthread_rwlock_unlock.c: Include elide.h.
3606         (pthread_rwlock_tryrdlock): Add elision unlock.
3607         * nptl/sysdeps/pthread/pthread.h:
3608         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
3609         (PTHREAD_RWLOCK_INITIALIZER,
3610         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
3611         Handle new elision field.
3612         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
3613         * sysdeps/arm/nptl/bits/pthreadtypes.h
3614         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3615         * sysdeps/sh/nptl/bits/pthreadtypes.h
3616         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3617         * sysdeps/tile/nptl/bits/pthreadtypes.h
3618         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3619         * sysdeps/a/nptl/bits/pthreadtypes.h
3620         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3621         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3622         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3623         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3624         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3625         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
3626         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3627         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3628         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3629         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3630         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3631         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3632         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3633         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3634         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3635         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
3636         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3637         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
3638         (elision_init): Set try_xbegin to zero when no RTM.
3639         * sysdeps/x86/nptl/bits/pthreadtypes.h
3640         (pthread_rwlock_t): Change __pad1 to __rwelision.
3641         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3643 2014-06-13  Andi Kleen  <ak@linux.intel.com>
3645         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
3646         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
3647         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
3648         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
3650 2014-06-13  Meador Inge  <meadori@codesourcery.com>
3652         [BZ #16996]
3653         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
3654         that the cached result has been set before returning it.
3656 2014-06-12  Roland McGrath  <roland@hack.frob.com>
3658         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
3659         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
3660         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
3661         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
3662         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
3663         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
3665         * nptl/sysdeps/sparc/Makefile: Moved ...
3666         * sysdeps/sparc/nptl/Makefile: ... here.
3667         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
3668         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
3669         * nptl/sysdeps/sparc/tls.h: Moved ...
3670         * sysdeps/sparc/nptl/tls.h: ... here.
3671         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
3672         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
3673         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
3674         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
3675         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
3676         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
3677         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
3678         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
3679         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
3680         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
3681         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
3682         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
3683         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
3684         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
3685         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
3686         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
3687         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
3688         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
3689         Update #include.
3690         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
3691         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
3692         Update #include.
3693         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
3694         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
3695         Update #include.
3696         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
3697         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
3698         Update #include.
3700         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3702         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
3703         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
3705         * sysdeps/pthread/posix-timer.h: Include <list.h>.
3706         (struct list_links): Type removed.
3707         (struct thread_node, struct timer_node): Replace struct list_links
3708         with struct list_head.
3709         (list_unlink_ip): Likewise.
3710         * sysdeps/pthread/timer_routines.c
3711         (timer_free_list, thread_free_list, thread_active_list): Likewise.
3712         (list_append, list_insbefore): Likewise.
3713         (list_init): Function removed.
3714         (thread_init, init_module): Use INIT_LIST_HEAD instead.
3715         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
3716         * sysdeps/pthread/Makefile: ... here, new file.
3718         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
3719         * sysdeps/nptl/Implies: ... here.
3720         * sysdeps/unix/sysv/linux/Implies: Add nptl.
3721         * nptl/sysdeps/pthread/list.h: Moved ...
3722         * include/list.h: ... here.
3723         * nptl/sysdeps/pthread/createthread.c: Moved ...
3724         * nptl/createthread.c: ... here.
3725         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
3726         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
3727         * nptl/pt-longjmp.c: ... here.
3728         * nptl/sysdeps/pthread/Makefile: Moved ...
3729         * sysdeps/nptl/Makefile: ... here.
3730         * nptl/sysdeps/pthread/Subdirs: Moved ...
3731         * sysdeps/nptl/Subdirs: ... here.
3732         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
3733         * sysdeps/nptl/aio_misc.h: ... here.
3734         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
3735         * sysdeps/nptl/bits/libc-lock.h: ... here.
3736         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
3737         * sysdeps/nptl/bits/libc-lockP.h: ... here.
3738         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
3739         * sysdeps/nptl/bits/stdio-lock.h: ... here.
3740         * nptl/sysdeps/pthread/configure: Moved ...
3741         * sysdeps/nptl/configure: ... here.
3742         * nptl/sysdeps/pthread/configure.ac: Moved ...
3743         * sysdeps/nptl/configure.ac: ... here.
3744         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
3745         * sysdeps/nptl/gai_misc.h: ... here.
3746         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
3747         * sysdeps/nptl/librt-cancellation.c: ... here.
3748         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
3749         * sysdeps/nptl/malloc-machine.h: ... here.
3750         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
3751         * sysdeps/nptl/pthread-functions.h: ... here.
3752         * nptl/sysdeps/pthread/pthread.h: Moved ...
3753         * sysdeps/nptl/pthread.h: ... here.
3754         * nptl/sysdeps/pthread/setxid.h: Moved ...
3755         * sysdeps/nptl/setxid.h: ... here.
3756         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
3757         * sysdeps/nptl/sigfillset.c: ... here.
3758         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
3759         * sysdeps/nptl/tcb-offsets.h: ... here.
3760         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3761         * sysdeps/nptl/tst-mqueue8x.c: ... here.
3762         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3763         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3764         * nptl/sysdeps/pthread/allocalim.h: Moved ...
3765         * sysdeps/pthread/allocalim.h: ... here.
3766         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3767         * sysdeps/pthread/bits/sigthread.h: ... here.
3768         * nptl/sysdeps/pthread/flockfile.c: Moved ...
3769         * sysdeps/pthread/flockfile.c: ... here.
3770         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
3771         * sysdeps/pthread/ftrylockfile.c: ... here.
3772         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
3773         * sysdeps/pthread/funlockfile.c: ... here.
3774         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
3775         * sysdeps/pthread/posix-timer.h: ... here.
3776         * nptl/sysdeps/pthread/timer_create.c: Moved ...
3777         * sysdeps/pthread/timer_create.c: ... here.
3778         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3779         * sysdeps/pthread/timer_delete.c: ... here.
3780         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3781         * sysdeps/pthread/timer_getoverr.c: ... here.
3782         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3783         * sysdeps/pthread/timer_gettime.c: ... here.
3784         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3785         * sysdeps/pthread/timer_routines.c: ... here.
3786         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3787         * sysdeps/pthread/timer_settime.c: ... here.
3788         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3789         * sysdeps/pthread/tst-timer.c: ... here.
3790         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3791         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3793         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3794         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3796         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3797         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3798         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3799         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3800         Update #include target.
3801         * nptl/sysdeps/i386/i686/Makefile: Moved ...
3802         * sysdeps/i386/i686/nptl/Makefile: ... here.
3803         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3804         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3805         Update #include target.
3806         * nptl/sysdeps/i386/i686/tls.h: Moved ...
3807         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
3808         * nptl/sysdeps/i386/Makefile: Moved ...
3809         * sysdeps/i386/nptl/Makefile: ... here.
3810         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3811         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3812         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3813         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3814         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3815         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3816         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3817         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3818         * sysdeps/i386/nptl/pthreaddef.h: ... here.
3819         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3820         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3821         * nptl/sysdeps/i386/tls.h: Moved ...
3822         * sysdeps/i386/nptl/tls.h: ... here.
3824         * sysdeps/sh/Makefile [$(subdir) = csu]
3825         (gen-as-const-headers): Add tcb-offsets.sym.
3826         * nptl/sysdeps/sh/Makefile: File removed.
3827         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3828         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3829         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3830         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3831         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3832         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3833         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3834         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3835         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3836         * sysdeps/sh/nptl/pthreaddef.h: ... here.
3837         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3838         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3839         * nptl/sysdeps/sh/tls.h: Moved ...
3840         * sysdeps/sh/nptl/tls.h: ... here.
3841         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3842         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3843         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3844         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3845         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3846         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3847         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3848         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3849         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3850         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3851         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3852         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3853         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3854         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3855         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3856         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3857         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3858         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3859         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3860         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3861         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3862         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3863         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3864         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3865         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3866         Moved ...
3867         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3868         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3869         Moved ...
3870         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3871         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3872         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3873         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3874         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3875         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3876         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3877         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3878         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3879         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3880         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3881         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3882         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3883         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3884         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3885         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3886         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3887         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3888         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3890 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
3892         * posix/spawn_faction_addopen.c: Include string.h.
3894 2014-06-11  Roland McGrath  <roland@hack.frob.com>
3896         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3897         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3898         * nptl/sysdeps/x86_64/Makefile: Moved ...
3899         * sysdeps/x86_64/nptl/Makefile: ... here.
3900         * nptl/sysdeps/x86_64/configure: Moved ...
3901         * sysdeps/x86_64/nptl/configure: ... here.
3902         * nptl/sysdeps/x86_64/configure.ac: Moved ...
3903         * sysdeps/x86_64/nptl/configure.ac: ... here.
3904         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
3905         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
3906         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
3907         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
3908         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
3909         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
3910         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
3911         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
3912         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
3913         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
3914         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
3915         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
3916         * nptl/sysdeps/x86_64/tls.h: Moved ...
3917         * sysdeps/x86_64/nptl/tls.h: ... here.
3918         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
3919         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
3920         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
3921         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
3923         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
3925 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3927         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3929 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
3931         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
3932         type.
3933         [POSIX] (off_t): Likewise.
3934         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
3935         [POSIX] (S_ISBLK): Require macro.
3936         [POSIX] (S_ISCHR): Likewise.
3937         [POSIX] (S_ISDIR): Likewise.
3938         [POSIX] (S_ISFIFO): Likewise.
3939         [POSIX] (S_ISREG): Likewise.
3940         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
3941         optional-macro.
3942         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
3943         type.
3944         [POSIX] (time_t): Likewise.
3945         [POSIX] (timer_t): Likewise.
3947 2014-06-11  Florian Weimer  <fweimer@redhat.com>
3949         [BZ #17048]
3950         * posix/spawn_int.h (struct __spawn_action): Make the path string
3951         non-const to support deallocation.
3952         * posix/spawn_faction_addopen.c
3953         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
3954         * posix/spawn_faction_destroy.c
3955         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
3956         path in all spawn_do_open actions.
3957         * posix/tst-spawn.c (do_test): Exercise the copy operation in
3958         posix_spawn_file_actions_addopen.
3960 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
3962         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
3963         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
3964         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
3965         conditional code always true.
3966         (__libc_vfork): New alias.
3968 2014-06-11  Roland McGrath  <roland@hack.frob.com>
3970         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3971         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
3973         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
3975         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3976         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
3978         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3979         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
3981         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3982         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
3984 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3986         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
3987         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
3988         multiarch strcmp for PPC64.
3989         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
3990         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
3991         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
3992         multiarch optimizations.
3993         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3994         (__libc_ifunc_impl_list): Likewise.
3996 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
3998         * benchtests/scripts/validate_benchout.py: New script.
3999         * benchtests/Makefile (bench-func): Call it.
4000         * benchtests/scripts/benchout.schema.json: New file.
4002 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
4004         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4005         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4006         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4007         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4008         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
4009         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4010         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
4011         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
4012         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
4013         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
4014         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
4015         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
4016         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
4017         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
4018         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
4019         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
4020         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
4021         Moved ...
4022         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
4023         ... here.
4024         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
4025         Moved ...
4026         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4027         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
4028         Moved ...
4029         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
4030         ... here.
4031         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
4032         Moved ...
4033         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
4034         ... here.
4035         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
4036         Moved ...
4037         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
4038         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
4039         Moved ...
4040         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
4041         ... here.
4042         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
4043         Moved ...
4044         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
4045         ... here.
4046         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
4047         Moved ...
4048         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4049         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
4050         Moved ...
4051         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
4052         ... here.
4053         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
4054         Moved ...
4055         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
4056         ... here.
4057         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
4058         Moved ...
4059         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
4060         ... here.
4061         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
4062         Moved ...
4063         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4064         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
4065         Moved ...
4066         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
4067         ... here.
4068         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
4069         Moved ...
4070         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
4071         ... here.
4072         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
4073         Moved ...
4074         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
4075         ... here.
4076         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
4077         Moved ...
4078         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4079         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
4080         Moved ...
4081         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
4082         ... here.
4083         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
4084         Moved ...
4085         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
4086         ... here.
4087         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
4088         Moved ...
4089         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4090         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
4091         Moved ...
4092         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
4093         ... here.
4094         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
4095         Moved ...
4096         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4097         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
4098         Moved ...
4099         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4100         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
4101         Moved ...
4102         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
4103         ... here.
4104         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
4105         Moved ...
4106         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
4107         ... here.
4108         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
4109         Moved ...
4110         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
4111         ... here.
4112         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
4113         Moved ...
4114         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4115         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
4116         Moved ...
4117         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
4118         ... here.
4119         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
4120         Moved ...
4121         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
4122         ... here.
4123         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4124         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4125         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4126         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4127         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
4128         Moved ...
4129         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
4130         ... here.
4131         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4132         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4133         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4134         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4135         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4136         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4137         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4138         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4139         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4140         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4141         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4142         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4143         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
4144         Moved ...
4145         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4146         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
4147         Moved ...
4148         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4149         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4150         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4151         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
4152         Moved ...
4153         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4154         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4155         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4156         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4157         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4158         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4159         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
4161 2014-06-10  Wilco  <wdijkstr@arm.com>
4163         * math/test-fenv-return.c: New file.
4164         * math/Makefile: Add new test test-fenv-return.
4166 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
4168         [BZ #17042]
4169         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4170         when x - 1 is zero.
4171         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4172         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4173         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4174         0.0L for an argument of 1.0L.
4175         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4176         Likewise.
4177         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4178         value when x - 1 is zero.
4179         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4180         * sysdeps/i386/fpu/libm-test-ulps: Update.
4181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4183 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
4185         [BZ #15119]
4186         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4188 2014-06-09  Roland McGrath  <roland@hack.frob.com>
4190         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
4191         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
4193 2014-06-09  Roland McGrath  <roland@hack.frob.com>
4195         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4196         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
4198         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4199         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4201         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4202         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4204         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4205         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4207         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4208         if not already defined.
4209         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4210         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4211         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4212         (TLS_INIT_TP): Use it.
4213         (TLS_DEFINE_INIT_TP): New macro.
4214         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4216 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
4218         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4219         constant.
4220         [POSIX] (IXANY): Likewise.
4221         [POSIX] (OLCUC): Likewise.
4222         [POSIX || POSIX2008] (CBAUD): Do not allow.
4223         [POSIX || POSIX2008] (DEFECHO): Likewise.
4224         [POSIX || POSIX2008] (ECHOCTL): Likewise.
4225         [POSIX || POSIX2008] (ECHOKE): Likewise.
4226         [POSIX || POSIX2008] (ECHOPRT): Likewise.
4227         [POSIX || POSIX2008] (EXTA): Likewise.
4228         [POSIX || POSIX2008] (EXTB): Likewise.
4229         [POSIX || POSIX2008] (FLUSHO): Likewise.
4230         [POSIX || POSIX2008] (LOBLK): Likewise.
4231         [POSIX || POSIX2008] (PENDIN): Likewise.
4232         [POSIX || POSIX2008] (SWTCH): Likewise.
4233         [POSIX || POSIX2008] (VDISCARD): Likewise.
4234         [POSIX || POSIX2008] (VDSUSP): Likewise.
4235         [POSIX || POSIX2008] (VLNEXT): Likewise.
4236         [POSIX || POSIX2008] (VREPRINT): Likewise.
4237         [POSIX || POSIX2008] (VSTATUS): Likewise.
4238         [POSIX || POSIX2008] (VWERASE): Likewise.
4239         (B*): Change to B[0123456789]*.
4240         * conform/data/time.h-data [POSIX || UNIX98]
4241         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4242         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4243         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4244         [POSIX] (tm_*): Do not allow.
4246 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
4248         * Makefile (install): Don't set LANGUAGE.
4249         * Makefile.in (install): Likewise.
4250         * assert/Makefile (test-assert-ENV): Remove variable.
4251         (test-assert-perr-ENV): Likewise.
4252         * elf/Makefile (neededtest4-ENV): Likewise.
4253         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4254         [$(cross-compiling) = no]: Don't set LANGUAGE.
4255         * io/ftwtest-sh (LANG): Remove variable.
4256         * libio/Makefile (tst-widetext-ENV): Likewise.
4257         * manual/install.texi (Running make install): Don't refer to
4258         environment settings for make install.
4259         * INSTALL: Regenerated.
4260         * nptl/tst-tls6.sh: Don't set LANG.
4261         * posix/globtest.sh (LANG): Remove variable.
4262         * string/Makefile (tester-ENV): Likewise.
4263         (inl-tester-ENV): Likewise.
4264         (noinl-tester-ENV): Likewise.
4265         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4266         [$(cross-compiling) = no]: Don't set LANGUAGE.
4267         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4268         without explicit environment settings.
4270 2014-06-06  Roland McGrath  <roland@hack.frob.com>
4272         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4273         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4274         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4275         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4277 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
4279         * crypt/crypt-private.h [DOS]: Add some includes taken from the
4280         other files in the crypt directory.
4281         * crypt/crypt.c: Remove duplicate includes.
4282         * crypt/crypt-entry.c: Likewise.
4283         * crypt/crypt_util.c: Likewise.
4285 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
4287         * Makeconfig (run-program-env): New variable.
4288         (run-program-prefix-before-env): Likewise.
4289         (run-program-prefix-after-env): Likewise.
4290         (run-program-prefix): Define in terms of new variables.
4291         (built-program-cmd-before-env): New variable.
4292         (built-program-cmd-after-env): Likewise.
4293         (built-program-cmd): Define in terms of new variables.
4294         (test-program-prefix-before-env): New variable.
4295         (test-program-prefix-after-env): Likewise.
4296         (test-program-prefix): Define in terms of new variables.
4297         (test-program-cmd-before-env): New variable.
4298         (test-program-cmd-after-env): Likewise.
4299         (test-program-cmd): Define in terms of new variables.
4300         * Rules (make-test-out): Use $(run-program-env).
4301         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4302         (help): Do not mention environment variables.  Mention
4303         --timeoutfactor option.
4304         (timeoutfactor): New variable.
4305         (blacklist_exports): Remove function.
4306         (exports): Remove variable.
4307         (command): Do not include ${exports}.
4308         * manual/install.texi (Configuring and compiling): Do not mention
4309         test wrappers preserving environment variables.  Mention that last
4310         assignment to a variable must take precedence.
4311         * INSTALL: Regenerated.
4312         * benchtests/Makefile (run-bench): Use $(run-program-env).
4313         * catgets/Makefile ($(objpfx)test1.cat): Use
4314         $(built-program-cmd-before-env), $(run-program-env) and
4315         $(built-program-cmd-after-env).
4316         ($(objpfx)test2.cat): Do not specify environment variables
4317         explicitly.
4318         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
4319         $(run-program-env) and $(built-program-cmd-after-env).
4320         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
4321         $(run-program-env) and $(test-program-cmd-after-env).
4322         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
4323         explicitly.
4324         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
4325         run_program_env and test_program_cmd_after_env arguments.
4326         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
4327         * elf/tst-pathopt.sh: Use run_program_env argument.
4328         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
4329         $(test-wrapper-env) and $(run-program-env).
4330         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
4331         run_program_env arguments.
4332         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
4333         * intl/Makefile ($(objpfx)tst-gettext.out): Use
4334         $(test-program-prefix-before-env), $(run-program-env) and
4335         $(test-program-prefix-after-env).
4336         ($(objpfx)tst-gettext2.out): Likewise.
4337         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
4338         run_program_env and test_program_prefix_after_env arguments.
4339         * intl/tst-gettext2.sh: Likewise.
4340         * intl/tst-gettext4.sh: Do not set environment variables
4341         explicitly.
4342         * intl/tst-gettext6.sh: Likewise.
4343         * intl/tst-translit.sh: Likewise.
4344         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
4345         $(test-program-prefix-before-env), $(run-program-env) and
4346         $(test-program-prefix-after-env).
4347         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
4348         run_program_env and test_program_prefix_after_env arguments.
4349         * math/Makefile (run-regen-ulps): Use $(run-program-env).
4350         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
4351         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
4352         explicitly with each use of ${test_wrapper_env}.
4353         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
4354         $(test-program-prefix-before-env), $(run-program-env) and
4355         $(test-program-prefix-after-env).
4356         * posix/tst-getconf.sh: Do not set environment variables
4357         explicitly.
4358         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
4359         run_program_env and test_program_prefix_after_env arguments.
4360         * stdio-common/tst-printf.sh: Do not set environment variables
4361         explicitly.
4362         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
4363         $(test-program-prefix-before-env), $(run-program-env) and
4364         $(test-program-prefix-after-env).
4365         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
4366         run_program_env and test_program_prefix_after_env arguments.
4367         Split $test calls into $test_pre and $test.
4368         * timezone/Makefile (build-testdata): Use
4369         $(built-program-cmd-before-env), $(run-program-env) and
4370         $(built-program-cmd-after-env).
4372 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4374         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
4375         strlen for non SHARED builds.
4377 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4379         * nptl/allocatestack.c (check_list): Inlined function...
4380         (__reclaim_stacks): ... here.
4382 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
4384         [BZ #15698]
4385         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4386         memory overrun.
4388 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
4390         * Rules (make-test-out): Include
4391         LOCPATH=$(common-objpfx)localedata in default environment.
4392         * debug/Makefile (tst-chk1-ENV): Remove variable.
4393         (tst-chk2-ENV): Likewise.
4394         (tst-chk3-ENV): Likewise.
4395         (tst-chk4-ENV): Likewise.
4396         (tst-chk5-ENV): Likewise.
4397         (tst-chk6-ENV): Likewise.
4398         (tst-lfschk1-ENV): Likewise.
4399         (tst-lfschk2-ENV): Likewise.
4400         (tst-lfschk3-ENV): Likewise.
4401         (tst-lfschk4-ENV): Likewise.
4402         (tst-lfschk5-ENV): Likewise.
4403         (tst-lfschk6-ENV): Likewise.
4404         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4405         (tst-iconv7-ENV): Likewise.
4406         * intl/Makefile (LOCPATH-ENV): Likewise.
4407         (tst-codeset-ENV): Likewise.
4408         (tst-gettext3-ENV): Likewise.
4409         (tst-gettext5-ENV): Likewise.
4410         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4411         (tst-fopenloc-ENV): Likewise.
4412         (tst-fgetws-ENV): Remove variable.
4413         (tst-ungetwc1-ENV): Likewise.
4414         (tst-ungetwc2-ENV): Likewise.
4415         (bug-ungetwc2-ENV): Likewise.
4416         (tst-swscanf-ENV): Likewise.
4417         (bug-ftell-ENV): Likewise.
4418         (tst-fgetwc-ENV): Likewise.
4419         (tst-fseek-ENV): Likewise.
4420         (tst-ftell-partial-wide-ENV): Likewise.
4421         (tst-ftell-active-handler-ENV): Likewise.
4422         (tst-ftell-append-ENV): Likewise.
4423         * posix/Makefile (tst-fnmatch-ENV): Likewise.
4424         (tst-regexloc-ENV): Likewise.
4425         (bug-regex1-ENV): Likewise.
4426         (tst-regex-ENV): Likewise.
4427         (tst-regex2-ENV): Likewise.
4428         (bug-regex5-ENV): Likewise.
4429         (bug-regex6-ENV): Likewise.
4430         (bug-regex17-ENV): Likewise.
4431         (bug-regex18-ENV): Likewise.
4432         (bug-regex19-ENV): Likewise.
4433         (bug-regex20-ENV): Likewise.
4434         (bug-regex22-ENV): Likewise.
4435         (bug-regex23-ENV): Likewise.
4436         (bug-regex25-ENV): Likewise.
4437         (bug-regex26-ENV): Likewise.
4438         (bug-regex30-ENV): Likewise.
4439         (bug-regex32-ENV): Likewise.
4440         (bug-regex33-ENV): Likewise.
4441         (bug-regex34-ENV): Likewise.
4442         (bug-regex35-ENV): Likewise.
4443         (tst-rxspencer-ENV): Likewise.
4444         (tst-rxspencer-no-utf8-ENV): Likewise.
4445         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4446         (tst-sscanf-ENV): Likewise.
4447         (tst-swprintf-ENV): Likewise.
4448         (tst-swscanf-ENV): Likewise.
4449         (test-vfprintf-ENV): Likewise.
4450         (scanf13-ENV): Likewise.
4451         (bug14-ENV): Likewise.
4452         (tst-grouping-ENV): Likewise.
4453         * stdlib/Makefile (tst-strtod-ENV): Likewise.
4454         (tst-strtod3-ENV): Likewise.
4455         (tst-strtod4-ENV): Likewise.
4456         (tst-strtod5-ENV): Likewise.
4457         (testmb2-ENV): Likewise./
4458         * string/Makefile (tst-strxfrm-ENV): Likewise.
4459         (tst-strxfrm2-ENV): Likewise.
4460         (bug-strcoll1-ENV): Likewise.
4461         (test-strcasecmp-ENV): Likewise.
4462         (test-strncasecmp-ENV): Likewise.
4463         * time/Makefile (tst-strptime-ENV): Likewise.
4464         (tst-ftime_l-ENV): Likewise.
4465         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4466         (tst-mbrtowc-ENV): Likewise.
4467         (tst-wcrtomb-ENV): Likewise.
4468         (tst-mbrtowc2-ENV): Likewise.
4469         (tst-c16c32-1-ENV): Likewise.
4470         (tst-mbsnrtowcs-ENV): Likewise.
4472 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
4474         * manual/resource.texi (How to get information about the memory
4475         subsystem?): Fix typo.
4476         Reported by Peon de la Parra Ivan <peon@keba.com>
4478 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
4480         [BZ #16882]
4481         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4482         (pthread_spin_lock): Branch out of spin loop to proper location.
4483         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4484         (pthread_spin_lock): Likewise.
4486         * nptl/tst-spin4.c: New test.
4487         * nptl/Makefile (tests): Add tst-spin4.
4489 2014-06-03  Andreas Schwab  <schwab@suse.de>
4491         [BZ #15946]
4492         * resolv/res_send.c (send_dg): Reload file descriptor after
4493         calling reopen.
4495 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
4497         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4499 2014-06-03  Richard Henderson  <rth@redhat.com>
4501         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4502         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4503         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4504         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
4505         in the SAVE_PID block.
4506         (__libc_vfork): New alias.
4507         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
4509         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4510         child in registers, not on the stack.  Remove RESET_PID conditionals.
4511         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4513 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4515         * sysdeps/aarch64/libm-test-ulps: Regenerate.
4517 2014-06-03  Wilco  <wdijkstr@arm.com>
4519         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4520         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4521         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4522         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4523         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
4524         Likewise.
4526 2014-06-03  Wilco  <wdijkstr@arm.com>
4528         * sysdeps/aarch64/fpu/math_private.h
4529         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
4530         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
4531         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
4532         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4533         Fix declarations.
4535 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4537         * crypt/crypt-private.h: Include ufc-crypt.h.
4538         (__b64_from_24bit): Declare extern.
4539         * crypt/crypt_util.c(__b64_from_24bit): New function.
4540         (b64t): New static const variable.
4541         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
4542         (b64t): Remove variable.
4543         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
4544         * crypt/sha256-crypt.c: Include crypt-private.h.
4545         (b64t): Remove variable.
4546         (__sha256_crypt_r): Remove b64_from_24bit and replace
4547         with __b64_from_24bit.
4548         * crypt/sha512-crypt.c: Likewise.
4550 2014-06-02  Roland McGrath  <roland@hack.frob.com>
4552         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
4553         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
4554         Label the code __libc_vfork rather than __vfork.
4555         [!NOT_IN_libc] (vfork): Define as weak alias.
4556         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
4557         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
4558         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
4560 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4562         * malloc/malloc.c (malloc_info): Fix format specifier for
4563         n_mmaps.
4565 2014-06-02  Wilco  <wdijkstr@arm.com>
4567         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
4568         FPCR write.
4570 2014-06-02  Wilco  <wdijkstr@arm.com>
4572         [BZ #17009]
4573         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
4574         Rewrite to reduce FPCR/FPSR accesses.
4576 2014-06-01  David S. Miller  <davem@davemloft.net>
4578         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4580 2014-05-31  David S. Miller  <davem@davemloft.net>
4582         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
4583         to occur in round to nearest mode when |x| >= 2.0
4585 2014-05-30  Richard Henderson  <rth@twiddle.net>
4587         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
4588         (PSEUDO_RET_NOERRNO): Remove.
4589         (ret): Don't redefine.
4590         (ret_NOERRNO): Define in terms of ret.
4591         (ret_ERRVAL): Likewise.
4593         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
4594         use of PSEUDO_RET; perform the error check directly.
4596 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
4598         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
4599         with __int128_t.
4601 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4603         * malloc/malloc (malloc_info): Fix formatting.
4605 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4606             Roland McGrath  <roland@hack.frob.com>
4608         * malloc/malloc (malloc_info): Also print mmapped statistics.
4610 2014-05-30  Roland McGrath  <roland@hack.frob.com>
4612         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
4613         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
4615 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
4617         * malloc/malloc.c (malloc_info): Inline mi_arena.
4619 2014-05-29  Richard Henderson  <rth@twiddle.net>
4621         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
4622         Remove comma before expanding ASM_ARGS_##nr.
4623         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
4624         Make _x0 a strict output; make _x8 a strict input; adjust expansion
4625         of ASM_ARGS_##nr.
4626         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
4627         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
4628         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
4629         (ASM_ARGS_1): Add leading comma.
4631         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
4632         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
4633         to __errno_location.
4634         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
4635         Remove the expected plt for __errno_location.
4637         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4638         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
4639         call to __read_tp.
4641         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4642         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
4643         it and break it down.
4644         (DOCARGS_0, DOCARGS_1): Do nothing.
4645         (DOCARGS_2): Update to store into the new stack frame.
4646         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
4647         (UNDOCARGS_1): Update to restore from the new stack frame.
4648         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
4649         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
4651         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4652         (SINGLE_THREAD_P): New parameter for result regno.
4653         (PSEUDO): Update to match; use cbz instead of beq.
4655         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4656         Use ENTRY to define the _nocancel entry point.  Share the syscall
4657         and syscall error check paths with the cancel path.
4658         (PSEUDO_END): New.
4660         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
4661         whitespace; tabs before and after asm mnemonics.
4663 2014-05-29  Eric Wong  <normalperson@yhbt.net>
4665         [BZ #15132]
4666         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4667         Call fstat64 or stat64 internally, depending on arguments passed.
4668         Replace stat buffer argument with file descriptor argument.
4669         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
4670         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4671         Pass fd to __internal_statvfs instead of calling fstat64.
4672         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
4673         Pass fd to __internal_statvfs64 instead of calling fstat64.
4674         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
4675         Pass -1 to __internal_statvfs instead of calling stat64.
4676         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
4677         Pass -1 to __internal_statvfs64 instead of calling stat64.
4679 2014-05-28  Roland McGrath  <roland@hack.frob.com>
4681         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
4682         that was previously under [RESET_PID].
4683         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
4685         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
4686         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
4688 2014-05-27  Roland McGrath  <roland@hack.frob.com>
4690         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
4692         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
4693         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
4695 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
4697         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
4699 2014-05-27  Andreas Schwab  <schwab@suse.de>
4701         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
4702         TLS_INIT_TP macro.
4703         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4704         * elf/rtld.c (init_tls, dl_main): Likewise.
4705         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
4706         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
4707         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
4708         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
4709         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
4710         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
4711         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
4712         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
4713         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
4714         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
4715         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
4716         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
4717         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
4718         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
4719         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
4720         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
4721         * sysdeps/generic/tls.h: Update description.
4723 2014-05-27  Will Newton  <will.newton@linaro.org>
4725         [BZ #16990]
4726         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
4727         and restore r2 rather than just restoring.
4729 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4731         [BZ #16724]
4732         * libio/tst-ftell-append.c: New test case.
4733         * libio/Makefile (tests): Add test case.
4734         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
4735         append mode.
4736         * libio/wfileops.c (do_ftell_wide): Likewise.
4738 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4740         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4742         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4743         ...
4744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
4745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4746         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
4747         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
4748         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
4749         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
4750         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
4751         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
4752         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4753         Moved ...
4754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
4755         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4756         Moved ...
4757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
4758         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
4759         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4760         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4761         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4762         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4763         ...
4764         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4765         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4766         Moved ...
4767         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
4768         here.
4769         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
4770         ...
4771         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
4772         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
4773         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
4775         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4776         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
4777         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4778         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4780         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4781         merge into ...
4782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4783         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4784         ...
4785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4786         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4787         ...
4788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4789         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4790         Moved ...
4791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4792         here.
4793         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4794         Moved ...
4795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4796         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4797         Moved ...
4798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4801         conditional [RESET_PID].
4802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4803         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4804         removed.
4805         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4806         removed.
4808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4809         <tcb-offsets.h>.
4810         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4811         (__libc_vfork): New strong alias.
4812         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4813         removed.
4814         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4815         Removed.
4817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4818         <tcb-offsets.h>.
4819         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4820         (__libc_vfork): New strong alias.
4821         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4822         removed.
4823         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4824         removed.
4826 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
4828         * malloc/malloc.c (mi_arena): New function.
4829         (malloc_info): Remove nested function mi_arena. Call non-nosted
4830         function mi_arena.
4832 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4834         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4835         by insrwi.
4836         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4837         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4838         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4839         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4840         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4841         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4842         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4844 2014-05-26  Andreas Schwab  <schwab@suse.de>
4846         [BZ #16984]
4847         * locale/programs/repertoire.c (repertoire_read): Add slash
4848         between I18NPATH element and file name.
4849         * locale/programs/locfile.c (locfile_read): Likewise.
4851 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
4853         * nptl/pthread_mutexattr_settype.c
4854         (__pthread_mutexattr_settype):
4855         Disable lock elision for PTHREAD_MUTEX_NORMAL.
4857 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
4859         * nptl/tst-mutex5 (do_test):
4860         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4862 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4864         * benchtests/README: Document 'init' directive.
4865         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4866         BENCH_INIT.
4867         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4868         (parse_file): Recognize 'init' directive.
4870 2014-05-26  Kyle McMartin  <kyle@redhat.com>
4872         [BZ #16796]
4873         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4874         alignment of struct pthread.
4876 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4878         [BZ #16878]
4879         * nscd/netgroupcache.c (addgetnetgrentX): Look for
4880         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4881         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4882         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4884 2014-05-25  Richard Henderson  <rth@twiddle.net>
4886         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4887         (SINGLE_THREAD_P_PIC): Remove.
4888         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4889         (SINGLE_THREAD_P_PIC): Remove.
4891         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4892         branch to syscall error ...
4893         (PSEUDO): ... here.
4894         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4895         from __local_syscall_error to .Lsyscall_error.
4896         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4897         (SYSCALL_ERROR): Update label name.
4899         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4900         Do not use DOARGS/UNDOARGS.
4901         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
4902         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
4903         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
4904         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
4905         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
4907         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4908         block comment.
4910         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4911         define if !NOT_IN_libc.
4912         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
4913         define with non-default symbol versions.
4915 2014-05-23  Richard Henderson  <rth@twiddle.net>
4917         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
4918         (vfork, __vfork): Define via compat_symbol.
4920         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4921         [!HAVE_IFUNC] (vfork_compat): Remove.
4922         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
4924 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
4926         [BZ #16978]
4927         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
4928         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
4929         variable.
4931 2014-05-23  Richard Henderson  <rth@twiddle.net>
4933         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
4934         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
4935         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
4936         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
4938         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
4939         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
4940         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
4941         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
4942         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
4943         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
4944         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
4945         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
4946         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
4947         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
4948         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
4949         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
4950         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
4951         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
4952         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
4953         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
4954         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
4955         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
4956         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
4957         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
4958         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
4959         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
4960         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
4961         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
4962         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
4963         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
4964         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
4965         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
4966         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
4967         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
4968         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
4969         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
4970         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
4971         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
4972         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
4973         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
4974         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
4975         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
4976         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
4977         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
4978         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
4979         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
4980         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
4981         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
4982         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
4983         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
4984         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
4985         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
4986         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
4987         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
4988         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
4989         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
4990         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
4991         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
4992         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
4993         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
4995         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
4996         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
4997         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
4998         before exiting on error.
4999         (__libc_vfork): New strong alias.
5000         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5001         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5003         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5004         that was previously under [RESET_PID].
5005         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5007         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5009 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
5011         [BZ #16977]
5012         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
5013         value when x - 1 is zero.
5014         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
5015         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5016         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
5017         0.0L for an argument of 1.0L.
5018         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
5019         Likewise.
5020         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
5021         value when x - 1 is zero.
5022         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
5023         * sysdeps/i386/fpu/libm-test-ulps: Update.
5024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5026 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
5028         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5029         alphasort and versionsort.
5031 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5033         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
5034         macro.
5035         [copysignf]: Likewise.
5037 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5039         * crypt/md5-crypt.c: Fix formatting.
5041 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5043         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
5044         (b64_from_24bit): New function.
5046 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5048         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5049         libc_hidden_builtin_def to ifunc.
5050         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5051         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5053 2014-05-21  Roland McGrath  <roland@hack.frob.com>
5055         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5056         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5058 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
5060         * nscd/Depend (linuxthreads): Remove.
5061         (nptl): Add.
5062         * resolv/Depend (linuxthreads): Remove.
5063         * rt/Depend (linuxthreads): Remove.
5065         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5066         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5067         $(common-objpfx)elf/.
5068         (link-libc-before-gnulib): Likewise.
5069         (elfobjdir): Remove variable.
5070         * Makefile (install): Use $(elf-objpfx) instead of
5071         $(common-objpfx)elf/.
5072         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5073         $(elfobjdir)/.
5074         (link-libc-deps): Likewise.
5075         ($(common-objpfx)libc.so): Likewise.
5076         ($(common-objpfx)linkobj/libc.so): Likewise.
5077         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5078         instead of $(common-objpfx)elf/.
5079         (symbolic-link-list): Likewise.
5080         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5081         [$(cross-compiling) = no]: Likewise.
5082         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5083         $(elfobjdir)/.
5084         (static-gnulib-arch): Likewise.
5085         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5086         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5087         $(common-objpfx)elf/.
5089 2014-05-21  Richard Henderson  <rth@redhat.com>
5091         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5092         (SINGLE_THREAD_P): Use the correct width load.  Fold
5093         into the ldr offset.
5095         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5096         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5098 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
5100         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5101         (libgcc_s_resume): Use __attribute_used__.
5102         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5103         Likewise.
5105 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5107         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5108         optimization when used with float constants.
5110         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5112 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
5114         [BZ #16915]
5115         * locale/nl_langinfo_l.c: Make direct reference to every
5116         _nl_current_CATEGORY symbol.
5117         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5118         (tests-static): Add tst-langinfo-static.
5119         (tests-special): Add tst-langinfo-static.out.
5120         ($(objpfx)tst-langinfo.out): Redirect output.
5121         ($(objpfx)tst-langinfo-static.out): New.
5122         * localedata/tst-langinfo.sh: Send output to stdout.
5123         * localedata/tst-langinfo-static.c: New file.
5125         [BZ #16965]
5126         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5127         when the shift amount is modulo the limb size.
5129 2014-05-20  Richard Henderson  <rth@redhat.com>
5131         [BZ #16967]
5132         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5133         Change type of sa_flags from unsigned int to int.
5135         [BZ #16966]
5136         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
5138         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5140 2014-05-20  Will Newton  <will.newton@linaro.org>
5142         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5143         Test the return value of the system call in the nocancel case.
5145 2014-05-20  Will Newton  <will.newton@linaro.org>
5146             Yvan Roux  <yvan.roux@linaro.org>
5148         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5149         #include of asm/ptrace.h.
5150         (PTRACE_GET_THREAD_AREA): Remove #undef.
5151         (PTRACE_GETHBPREGS): Likewise.
5152         (PTRACE_SETHBPREGS): Likewise.
5153         (struct user_regs_struct): New structure.
5154         (struct user_fpsimd_struct): New structure.
5155         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5156         #include of asm/ptrace.h and second #include of sys/user.h.
5157         (PTRACE_GET_THREAD_AREA): Remove #undef.
5158         (PTRACE_GETHBPREGS): Likewise.
5159         (PTRACE_SETHBPREGS): Likewise.
5160         (ELF_NGREG): Use new struct user_regs_struct.
5161         (elf_fpregset_t): Use new struct user_fpsimd_struct.
5163 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5165         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5166         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5168 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
5170         [BZ #16958]
5171         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5172         membar to avoid block loads/stores to overlap previous stores.
5174 2014-05-17  Richard Henderson  <rth@redhat.com>
5176         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5177         Create the __##syscall_name##_nocancel entry point.
5178         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5179         Remove; let the sysdep-cancel.h code create it.
5181 2014-05-17  David S. Miller  <davem@davemloft.net>
5183         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5184         Protect with __USE_GNU.
5185         (TIOCSET_TEMPT): Likewise.
5186         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5187         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5188         these are already provided in bits/ioctl-types.h
5190 2014-05-16  Roland McGrath  <roland@hack.frob.com>
5192         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
5193         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
5195         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
5196         Use wait4 regardless of [__NR_waitpid].
5198 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
5200         PR libgcc/60166
5201         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5202         (_FP_NANSIGN_Q): Set the quiet bit.
5204 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
5206         * benchtests/Makefile
5207         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5208         not $(common-objpfx)math/libm.so.
5209         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5210         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5211         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5212         $(common-objpfx)dlfcn/libdl.so.
5213         ($(objpfx)tst-audit8): Depend on $(libm), not
5214         $(common-objpfx)math/libm.so.
5215         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5216         not $(common-objpfx)dlfcn/libdl.so.
5217         * math/Makefile
5218         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5219         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
5220         [$(build-shared) = yes].
5221         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5222         $(common-objpfx)nptl/libpthread.so.
5223         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5224         $(common-objpfx)math/libm.so$(libm.so-version) or
5225         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5226         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5227         $(common-objpfx)dlfcn/libdl.so.
5228         * setjmp/Makefile (link-libm): Remove variable.
5229         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5230         * stdio-common/Makefile (link-libm): Remove variable.
5231         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5232         * stdlib/Makefile (link-libm): Remove variable.
5233         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5234         ($(objpfx)tst-strtod-round): Likewise.
5235         ($(objpfx)tst-tininess): Likewise.
5236         ($(objpfx)tst-strtod-underflow): Likewise.
5237         ($(objpfx)tst-strtod6): Likewise.
5238         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5239         $(libdl), not $(common-objpfx)nptl/libpthread.so and
5240         $(common-objpfx)dlfcn/libdl.so.
5242 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5244         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5245         BSD terminal modes definitions.
5247 2014-05-16  Roland McGrath  <roland@hack.frob.com>
5249         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5250         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5252         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
5253         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5254         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5255         Don't do #include_next.
5256         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5257         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5258         Don't do #include_next.
5259         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5260         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5261         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5262         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5264 2014-05-16  Allan McRae  <allan@archlinux.org>
5266         * po/sv.po: Update Swedish translation from translation project.
5268         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5269         in sed expression.
5271 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
5273         [BZ #16917]
5274         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5275         errno if the TIOCGPTN ioctl fails with an error different than
5276         EINVAL.
5277         * login/tst-ptsname.c: New file.
5278         * login/Makefile (tests): Add tst-ptsname.
5280         [BZ #16943]
5281         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5282         and prlimit64.
5284 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5286         [BZ #16849]
5287         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5288         herrno to return EAI_AGAIN.
5290 2014-05-14  Roland McGrath  <roland@hack.frob.com>
5292         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5293         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5294         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5295         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5296         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5297         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5298         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5299         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5300         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5301         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5302         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5303         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5304         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5305         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5306         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5307         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5308         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5309         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5310         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5311         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5312         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5313         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
5314         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
5315         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
5316         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
5317         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
5318         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
5319         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
5320         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
5321         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
5322         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
5323         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
5324         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
5325         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
5326         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5327         Moved ...
5328         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
5329         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
5330         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
5331         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
5332         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
5333         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
5334         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
5335         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
5336         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
5337         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
5338         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
5339         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
5340         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
5341         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
5342         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
5343         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
5344         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
5345         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
5346         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
5347         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
5348         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
5349         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
5350         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
5351         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
5352         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
5353         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
5354         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
5355         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5356         Moved ...
5357         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
5358         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
5359         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
5360         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
5361         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
5362         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
5363         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
5364         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
5365         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
5366         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
5367         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
5368         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
5369         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
5370         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
5371         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
5372         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
5373         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
5374         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
5375         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
5376         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5377         Moved ...
5378         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
5379         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
5380         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
5382         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
5383         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
5384         (libpthread-sysdep_routines): Add elision-related stuff here instead.
5385         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
5386         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
5387         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
5388         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
5389         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5390         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5391         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5392         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5393         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5394         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5395         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5396         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5397         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5398         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5399         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5400         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5401         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5402         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5403         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5404         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5405         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5406         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5407         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5408         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5409         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5410         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5411         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5412         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5414         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5415         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5417         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5418         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5419         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5420         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5421         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5422         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5423         Moved ...
5424         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5425         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5426         Moved ...
5427         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5428         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5429         Moved ...
5430         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5431         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5432         Moved ...
5433         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5434         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5435         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5436         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5437         Moved ...
5438         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5439         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5440         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5441         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5442         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5443         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5444         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5445         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5446         Moved ...
5447         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5448         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5449         Moved ...
5450         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5451         ... here.
5452         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5453         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5454         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5455         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5456         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5457         Moved ...
5458         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5459         ... here.
5460         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5461         Moved ...
5462         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5463         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5464         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5465         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5466         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5467         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5468         Moved ...
5469         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5470         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5471         Moved ...
5472         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5473         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5474         Moved ...
5475         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5476         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5477         Moved ...
5478         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5479         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5480         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5481         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5482         Moved ...
5483         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5484         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5485         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5486         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5487         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5488         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5489         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5490         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5491         Moved ...
5492         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5493         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5494         Moved ...
5495         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5496         ... here.
5497         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5498         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5499         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5500         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5501         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5502         Moved ...
5503         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5504         ... here.
5505         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5506         Moved ...
5507         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5508         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5509         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5510         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5511         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5512         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5513         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5514         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5515         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5516         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5517         Moved ...
5518         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5519         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5520         Moved ...
5521         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5522         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5523         Moved ...
5524         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
5525         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
5526         Moved ...
5527         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
5528         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
5529         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
5530         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
5531         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
5532         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5533         Moved ...
5534         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
5535         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
5536         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
5537         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
5538         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
5539         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
5540         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
5541         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5542         Moved ...
5543         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
5544         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5545         Moved ...
5546         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5547         ... here.
5548         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
5549         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
5550         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
5551         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
5552         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5553         Moved ...
5554         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5555         ... here.
5556         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
5557         Moved ...
5558         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
5559         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
5560         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
5561         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
5562         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
5563         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
5564         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
5565         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
5566         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
5567         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
5568         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5570         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
5571         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
5573         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
5574         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5576         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
5577         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
5578         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
5579         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
5580         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
5581         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
5582         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
5583         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
5584         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
5585         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
5586         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
5587         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
5588         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
5589         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
5590         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
5591         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
5592         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
5593         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
5594         Moved ...
5595         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
5596         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
5597         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
5598         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
5599         Moved ...
5600         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
5601         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
5602         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
5603         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
5604         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
5605         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
5606         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
5607         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
5608         Moved ...
5609         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
5610         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
5611         Moved ...
5612         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
5613         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
5614         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
5615         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
5616         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
5617         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
5618         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
5619         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
5620         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
5621         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
5622         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
5623         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
5624         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
5625         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
5626         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
5627         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
5628         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
5630         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
5631         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
5632         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
5633         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
5634         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
5636         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
5637         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
5638         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
5639         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
5640         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
5641         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
5642         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
5643         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
5644         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
5645         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
5647         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
5648         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
5650         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
5651         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
5652         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
5653         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
5654         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
5655         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
5656         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
5657         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
5658         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
5659         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
5660         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
5661         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
5662         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
5663         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
5664         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
5665         Update #include.
5666         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
5667         Likewise.
5668         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5669         Likewise.
5670         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5671         Likewise.
5672         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5673         Likewise.
5674         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
5675         Likewise.
5676         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
5677         Likewise.
5678         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5679         Likewise.
5680         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
5681         Likewise.
5682         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
5683         Likewise.
5684         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
5685         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
5686         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
5687         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
5688         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5689         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
5690         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
5691         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
5692         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
5693         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
5694         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
5695         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
5696         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
5697         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
5698         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
5700         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
5701         that was previously under [RESET_PID].
5702         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5703         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
5704         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
5706         * sysdeps/i386/nptl/Implies: New file.
5707         * sysdeps/x86_64/nptl/Implies: New file.
5708         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
5709         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5710         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
5711         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
5713         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
5714         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5715         (__libc_vfork): New strong alias.
5716         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
5717         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
5719         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
5720         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5721         (__libc_vfork): New strong alias.
5722         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
5723         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
5725         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
5726         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5727         (__libc_vfork): New strong alias.
5728         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
5729         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
5730         * nptl/pt-vfork.c: New file.
5731         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
5732         (libpthread: GLIBC_2.20): New version set (empty).
5734 2014-05-14  Will Newton  <will.newton@linaro.org>
5736         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
5737         rather than #if.
5739 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
5741         [BZ #16564]
5742         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5743         arguments with exponent 65 or above.
5744         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
5745         arguments 0x1p113L or above.
5746         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
5747         to arguments 0x1p107L or above.
5748         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
5749         positive arguments with exponent 65 or above.
5750         * math/auto-libm-test-in: Add more tests of log1p.
5751         * math/auto-libm-test-out: Regenerated.
5753         [BZ #16928]
5754         * math/s_cacos.c (__cacos): Ensure zero real part of result from
5755         non-finite arguments is +0.
5756         * math/s_cacosf.c (__cacosf): Likewise.
5757         * math/s_cacosl.c (__cacosl): Likewise.
5758         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
5759         * sysdeps/i386/fpu/libm-test-ulps: Update.
5760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5762         [BZ #16927]
5763         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5764         value.
5765         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5766         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5767         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
5768         for explicit high bit of mantissa when testing for argument equal
5769         to 1.
5770         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
5771         * sysdeps/i386/fpu/libm-test-ulps: Update.
5772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5774         [BZ #16516]
5775         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5776         (__erf): Scale by 16 instead of 8 in potentially underflowing
5777         case.  Ensure exception if result actually underflows.
5778         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5779         (__erff): Scale by 16 instead of 8 in potentially underflowing
5780         case.  Ensure exception if result actually underflows.
5781         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
5782         (efx8): Remove variable.
5783         (__erfl): Scale by 16 instead of 8 in potentially underflowing
5784         case.  Ensure exception if result actually underflows.
5785         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
5786         (efx8): Remove variable.
5787         (__erfl): Scale by 16 instead of 8 in potentially underflowing
5788         case.  Ensure exception if result actually underflows.
5789         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5790         (efx8): Remove variable.
5791         (__erfl): Scale by 16 instead of 8 in potentially underflowing
5792         case.  Ensure exception if result actually underflows.
5793         * math/auto-libm-test-in: Add more tests of erf.
5794         * math/auto-libm-test-out: Regenerated.
5796 2014-05-14  Andreas Schwab  <schwab@suse.de>
5798         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5799         Remove code conditionalized on USE___THREAD.
5801         * config.h.in (HAVE_PT_CHOWN): Define as 0.
5802         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5803         not definedness.
5805 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
5807         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5808         Define unconditionally.
5809         (__ASSUME_O_CLOEXEC): Likewise.
5810         (__ASSUME_SOCK_CLOEXEC): Likewise.
5811         (__ASSUME_IN_NONBLOCK): Likewise.
5812         (__ASSUME_PIPE2): Likewise.
5813         (__ASSUME_EVENTFD2): Likewise.
5814         (__ASSUME_SIGNALFD4): Likewise.
5815         (__ASSUME_DUP3): Likewise.
5816         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5817         (__ASSUME_DUP3): Do not define.
5818         (__ASSUME_EVENTFD2): Likewise.
5819         (__ASSUME_IN_NONBLOCK): Likewise.
5820         (__ASSUME_O_CLOEXEC): Likewise.
5821         (__ASSUME_PIPE2): Likewise.
5822         (__ASSUME_SIGNALFD4): Likewise.
5823         (__ASSUME_SOCK_CLOEXEC): Likewise.
5824         (__ASSUME_UTIMES): Undefine.
5825         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5826         (__ASSUME_UTIMES): Do not define.
5827         (__ASSUME_O_CLOEXEC): Likewise.
5828         (__ASSUME_SOCK_CLOEXEC): Likewise.
5829         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5830         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5831         0x020621].
5832         (__ASSUME_PIPE2): Likewise.
5833         (__ASSUME_EVENTFD2): Likewise.
5834         (__ASSUME_SIGNALFD4): Likewise.
5835         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5836         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5837         Do not define.
5838         (__ASSUME_EVENTFD2): Likewise.
5839         (__ASSUME_SIGNALFD4): Likewise.
5840         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5841         (__ASSUME_32BITUIDS): Likewise.
5842         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5843         (__ASSUME_IPC64): Likewise.
5844         (__ASSUME_ST_INO_64_BIT): Likewise.
5845         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5846         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5847         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5848         (__ASSUME_UTIMES): Do not define.
5849         (__ASSUME_PSELECT): Likewise.
5850         (__ASSUME_PPOLL): Likewise.
5851         (__ASSUME_O_CLOEXEC): Likewise.
5852         (__ASSUME_SOCK_CLOEXEC): Likewise.
5853         (__ASSUME_IN_NONBLOCK): Likewise.
5854         (__ASSUME_PIPE2): Likewise.
5855         (__ASSUME_EVENTFD2): Likewise.
5856         (__ASSUME_SIGNALFD4): Likewise.
5857         (__ASSUME_DUP3): Likewise.
5858         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5859         (__ASSUME_UTIMES): Likewise.
5860         (__ASSUME_O_CLOEXEC): Likewise.
5861         (__ASSUME_SOCK_CLOEXEC): Likewise.
5862         (__ASSUME_IN_NONBLOCK): Likewise.
5863         (__ASSUME_PIPE2): Likewise.
5864         (__ASSUME_EVENTFD2): Likewise.
5865         (__ASSUME_SIGNALFD4): Likewise.
5866         (__ASSUME_DUP3): Likewise.
5867         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5868         (__ASSUME_UTIMES): Likewise.
5869         (__ASSUME_O_CLOEXEC): Likewise.
5870         (__ASSUME_SOCK_CLOEXEC): Likewise.
5871         (__ASSUME_IN_NONBLOCK): Likewise.
5872         (__ASSUME_PIPE2): Likewise.
5873         (__ASSUME_EVENTFD2): Likewise.
5874         (__ASSUME_SIGNALFD4): Likewise.
5875         (__ASSUME_DUP3): Likewise.
5876         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
5877         Likewise.
5878         (__ASSUME_UTIMES): Likewise.
5879         (__ASSUME_EVENTFD2): Likewise.
5880         (__ASSUME_SIGNALFD4): Likewise.
5881         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5882         (__ASSUME_O_CLOEXEC): Likewise.
5883         (__ASSUME_SOCK_CLOEXEC): Likewise.
5884         (__ASSUME_IN_NONBLOCK): Likewise.
5885         (__ASSUME_PIPE2): Likewise.
5886         (__ASSUME_EVENTFD2): Likewise.
5887         (__ASSUME_SIGNALFD4): Likewise.
5888         (__ASSUME_DUP3): Likewise.
5889         (__ASSUME_UTIMES): Undefine.
5891         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5892         feclearexcept.  Remove symbol versioning code.
5893         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
5894         symbol versioning code.
5895         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
5896         symbol versioning code.
5897         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5898         feupdateenv.  Remove symbol versioning code.
5899         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
5900         fegetexceptflag.  Remove symbol versioning code.
5901         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
5902         fesetexceptflag.  Remove symbol versioning code.
5903         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
5904         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
5905         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
5906         (__posix_fadvise64_l32): Remove prototype.
5907         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
5908         code.
5910 2014-05-13  Roland McGrath  <roland@hack.frob.com>
5912         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
5913         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5914         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
5915         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
5917 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
5919         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
5920         current working directory
5922 2014-05-13  Roland McGrath  <roland@hack.frob.com>
5924         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
5925         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
5926         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
5927         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
5928         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
5929         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
5930         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
5931         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
5932         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
5933         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
5934         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
5935         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
5936         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
5937         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
5938         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
5939         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
5940         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
5941         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
5942         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
5943         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
5944         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
5945         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
5946         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
5947         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
5948         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
5949         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
5950         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
5951         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
5952         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
5953         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
5954         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
5955         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
5956         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
5957         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
5958         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
5959         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
5960         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
5961         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
5962         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
5963         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
5964         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
5965         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
5967         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
5968         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
5970         * sysdeps/unix/sysv/linux/arm/Makefile
5971         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5972         Add rt-aeabi_unwind_cpp_pr1.
5973         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
5974         Add nptl-aeabi_unwind_cpp_pr1.
5975         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
5976         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
5977         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
5978         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5979         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
5980         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5982         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
5983         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
5984         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
5985         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
5987         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
5988         Deconditionalize the code that was previously under [RESET_PID].
5989         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
5991         * sysdeps/generic/exit-thread.h: New file.
5992         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
5993         * include/unistd.h (__exit_thread): Remove declaration.
5994         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
5995         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
5996         * csu/libc-start.c: Include <exit-thread.h>.
5997         (LIBC_START_MAIN): Pass no argument to __exit_thread.
5998         * nptl/pthread_create.c: Include <exit-thread.h>.
5999         (start_thread): Call __exit_thread in place of __exit_thread_inline.
6000         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6001         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6002         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6003         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6004         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6005         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6006         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6007         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6008         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
6009         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
6010         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
6011         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
6012         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
6013         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
6014         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
6015         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
6017 2014-05-13  Andreas Schwab  <schwab@suse.de>
6019         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
6021 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
6023         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6024         (__ASSUME_UTIMES): Do not condition on kernel version.
6025         (__ASSUME_PSELECT): Define unconditionally.
6026         (__ASSUME_PPOLL): Likewise.
6027         (__ASSUME_ATFCTS): Likewise.
6028         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6029         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6030         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6031         (__ASSUME_UTIMENSAT): Define unconditionally.
6032         (__ASSUME_PRIVATE_FUTEX): Likewise.
6033         (__ASSUME_FALLOCATE): Likewise.
6034         (__ASSUME_O_CLOEXEC): Likewise.
6035         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
6036         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
6037         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
6038         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
6039         (__ASSUME_IN_NONBLOCK): Likewise.
6040         (__ASSUME_PIPE2): Likewise.
6041         (__ASSUME_EVENTFD2): Likewise.
6042         (__ASSUME_SIGNALFD4): Likewise.
6043         (__ASSUME_DUP3): Likewise.
6044         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6045         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6046         (__ASSUME_AT_RANDOM): Likewise.
6047         (__ASSUME_PREADV): Likewise.
6048         (__ASSUME_PWRITEV): Likewise.
6049         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6050         (__ASSUME_F_GETOWN_EX): Define unconditionally.
6051         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6052         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6053         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6054         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6055         (__ASSUME_O_CLOEXEC): Define unconditionally.
6056         (__ASSUME_PSELECT): Do not undefine conditionally.
6057         (__ASSUME_PPOLL): Likewise.
6058         (__ASSUME_ATFCTS): Likewise.
6059         (__ASSUME_SET_ROBUST_LIST): Likewise.
6060         (__ASSUME_UTIMENSAT): Likewise.
6061         (__ASSUME_FDATASYNC): Define unconditionally.
6062         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6063         (__ASSUME_SIGFRAME_V2): Likewise.
6064         )__ASSUME_EVENTFD2): Likewise.
6065         (__ASSUME_SIGNALFD4): Likewise.
6066         (__ASSUME_PSELECT): Do not undefine conditionally.
6067         (__ASSUME_PPOLL): Likewise.
6068         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6069         (__ASSUME_PSELECT): Define unconditionally.
6070         (__ASSUME_PPOLL): Likewise.
6071         (__ASSUME_O_CLOEXEC): Likewise.
6072         (__ASSUME_SOCK_CLOEXEC): Likewise.
6073         (__ASSUME_IN_NONBLOCK): Likewise.
6074         (__ASSUME_PIPE2): Likewise.
6075         (__ASSUME_EVENTFD2): Likewise.
6076         (__ASSUME_SIGNALFD4): Likewise.
6077         (__ASSUME_DUP3): Likewise.
6078         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6079         (__ASSUME_O_CLOEXEC): Likewise.
6080         (__ASSUME_SOCK_CLOEXEC): Likewise.
6081         (__ASSUME_IN_NONBLOCK): Likewise.
6082         (__ASSUME_PIPE2): Likewise.
6083         (__ASSUME_EVENTFD2): Likewise.
6084         (__ASSUME_SIGNALFD4): Likewise.
6085         (__ASSUME_DUP3): Likewise.
6086         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6087         (__ASSUME_EVENTFD2): Likewise.
6088         (__ASSUME_SIGNALFD4): Likewise.
6089         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6091 2014-05-12  Andreas Schwab  <schwab@suse.de>
6093         [BZ #16932]
6094         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6095         (_nss_nis_gethostbyname4_r): Return error if item length is larger
6096         than maximum RPC packet size.
6097         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6098         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6099         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6100         (_nss_nis_getservbyport_r): Likewise.
6102 2014-05-12  Will Newton  <will.newton@linaro.org>
6104         * malloc/Makefile (tests): Add tst-mallopt.
6105         * malloc/tst-mallopt.c: New file.
6107 2014-05-09  Roland McGrath  <roland@hack.frob.com>
6109         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6110         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6112 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6114         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6115         (tst-tlsmod6.so): Likewise.
6117 2014-05-09  Roland McGrath  <roland@hack.frob.com>
6119         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6121 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
6123         [BZ #16064]
6124         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6125         and <dl-procinfo.h>.
6126         (__fegetenv): Save SSE state in envp->__eip if supported.
6127         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6128         envp->__eip if supported.
6129         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6130         and <dl-procinfo.h>.
6131         (__fesetenv): Always set __eip, __cs_selector, __opcode,
6132         __data_offset and __data_selector in environment to 0.  Set SSE
6133         state if supported.
6134         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6135         test-fenv-sse.
6136         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6137         -mfpmath=sse.
6138         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6140 2014-05-09  Will Newton  <will.newton@linaro.org>
6142         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6143         and libc_relro_required for ARM.
6144         * sysdeps/arm/preconfigure: Regenerate.
6146 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
6147             Stefan Liebler  <stli@linux.vnet.ibm.com>
6149         * config.make.in (enable-lock-elision): New Makefile variable.
6150         * configure.ac: Likewise.
6151         * configure: Regenerate.
6152         * sysdeps/s390/configure.ac:
6153         Add check for gcc transactions support.
6154         * sysdeps/s390/configure: Regenerate.
6155         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6156         Build elision files if enabled.
6157         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6158         Add lock elision support for s390.
6159         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6160         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6161         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6162         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6163         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6164         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6165         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6166         Likewise.
6167         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6168         Likewise.
6169         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6170         Likewise.
6171         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6172         Likewise.
6173         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6174         (__lll_timedlock_elision, __lll_lock_elision)
6175         (__lll_unlock_elision, __lll_trylock_elision)
6176         (lll_timedlock_elision, lll_lock_elision)
6177         (lll_unlock_elision, lll_trylock_elision): Add.
6178         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6179         (pthread_mutex_t): Add lock elision support for s390.
6181 2014-05-14  Wilco  <wdijkstr@arm.com>
6183         * sysdeps/arm/fclrexcpt.c: Cleanup.
6184         * sysdeps/arm/fedisblxcpt.c: Cleanup.
6185         * sysdeps/arm/feenablxcpt.c: Cleanup.
6186         * sysdeps/arm/fegetenv.c: Cleanup.
6187         * sysdeps/arm/fegetexcept.c: Cleanup.
6188         * sysdeps/arm/fegetround.c: Cleanup.
6189         * sysdeps/arm/feholdexcpt.c: Cleanup.
6190         * sysdeps/arm/fesetenv.c: Cleanup.
6191         * sysdeps/arm/fesetround.c: Cleanup.
6192         * sysdeps/arm/feupdateenv.c: Cleanup.
6193         * sysdeps/arm/fgetexcptflg.c: Cleanup.
6194         * sysdeps/arm/fraiseexcpt.c: Cleanup.
6195         * sysdeps/arm/fsetexcptflg.c: Cleanup.
6196         * sysdeps/arm/ftestexcept.c: Cleanup.
6197         * sysdeps/arm/get-rounding-mode.h: Cleanup.
6198         * sysdeps/arm/setfpucw.c: Cleanup.
6200 2014-05-09  Will Newton  <will.newton@linaro.org>
6202         * sysdeps/arm/armv7/strcmp.S: New file.
6203         * NEWS: Mention addition of ARMv7 optimized strcmp.
6205 2014-05-08  Roland McGrath  <roland@hack.frob.com>
6207         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6208         look for %.ac rather than %.in.
6210         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6211         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6212         * sysdeps/mach/hurd/configure: Regenerated.
6213         * sysdeps/unix/sysv/linux/configure: Regenerated.
6215         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6217 2014-05-07  Steve Ellcey  <sellcey@mips.com>
6219         [BZ# 16922]
6220         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6221         (LONG_SUB): Ditto.
6222         (PTR_SUB): Ditto.
6224 2014-05-07  Andreas Schwab  <schwab@suse.de>
6226         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6227         when skipping over non-matching result from nscd.
6229 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
6231         [BZ #16876]
6232         * nptl/sockperf.c (client): Check socket return value.
6234         [BZ #16877]
6235         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6236         nscd security class.
6238 2014-05-06  Roland McGrath  <roland@hack.frob.com>
6240         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6241         * sysdeps/arm/unwind.h: ... here.
6243 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
6245         [BZ# 16916]
6246         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6247         Define.
6249 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6251         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6252         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6253         multiarch strncpy for PPC64.
6254         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6255         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6256         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6257         multiarch optimizations.
6258         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6259         (__libc_ifunc_impl_list): Likewise.
6260         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6261         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6262         multiarch stpncpy for PPC64.
6263         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6264         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6266 2014-05-06  Andreas Schwab  <schwab@suse.de>
6268         [BZ #16912]
6269         * gmon/mcount.c (_MCOUNT_DECL): Use
6270         atomic_compare_and_exchange_bool_acq instead of
6271         catomic_compare_and_exchange_bool_acq.
6273 2014-05-05  Roland McGrath  <roland@hack.frob.com>
6275         * elf/Makefile (others, install-bin): Remove pldd.
6276         (pldd-modules): Variable removed.
6277         ($(objpfx)pldd): Target removed.
6278         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6279         (others, install-bin): Append pldd here.
6280         ($(objpfx)pldd): New target.
6282         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6283         to 0, so the first #if test emitted later doesn't see it undefined.
6284         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6285         * sysdeps/gnu/errlist.c: Regenerated.
6287 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6289         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6290         [libc_hidden_builtin_def]: Define to empty value.
6291         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6292         [libc_hidden_builtin_def]: Likewise.
6293         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6294         [libc_hidden_builtin_def]: Likewise.
6295         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6296         [libc_hidden_builtin_def]: Likewise.
6297         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6298         __redirect_memcpy and define ifunc as default hidden symbol.
6299         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6300         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6302 2014-05-04  Adam Conrad  <adconrad@0c3.net>
6304         * locale/iso-4217.def: Reintroduce XDR currency.
6306 2014-05-04  Allan McRae  <allan@archlinux.org>
6308         * po/eo.po: Update Esperanto translation from translation project.
6310 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
6312         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6313         and FEATURE_INDEX_MAX to 1.
6314         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
6316 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6318         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
6319         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
6320         * iconvdata/big5.c (ONE_DIRECTION): Define.
6321         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
6322         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
6323         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
6324         * iconvdata/cp932.c (ONE_DIRECTION): Define.
6325         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
6326         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
6327         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
6328         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
6329         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
6330         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
6331         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
6332         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
6333         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
6334         * iconvdata/gbk.c (ONE_DIRECTION): Define.
6335         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
6336         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
6337         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
6338         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
6339         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
6340         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
6341         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
6342         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
6343         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
6344         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
6345         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
6346         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
6347         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
6348         * iconvdata/iso646.c (ONE_DIRECTION): Define.
6349         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
6350         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
6351         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
6352         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
6353         * iconvdata/johab.c (ONE_DIRECTION): Define.
6354         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
6355         * iconvdata/sjis.c (ONE_DIRECTION): Define.
6356         * iconvdata/t.61.c (ONE_DIRECTION): Define.
6357         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
6358         * iconvdata/tscii.c (ONE_DIRECTION): Define.
6359         * iconvdata/uhc.c (ONE_DIRECTION): Define.
6360         * iconvdata/unicode.c (ONE_DIRECTION): Define.
6361         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
6362         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
6363         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
6365 2014-05-01  Roland McGrath  <roland@hack.frob.com>
6367         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
6368         (_IO_JUMPS_OFFSET): Define to 0.
6370         * nptl/sysdeps/pthread/bits/libc-lock.h
6371         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6372         (__libc_lock_define_initialized_recursive): Always define using
6373         initializer.  Modern compilers treat uninitialized (implicit zero) and
6374         explicit zero initializers the same (i.e. put the datum in bss).
6376 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
6378         * nscd/nscd-client.h: Include <string.h>.
6380 2014-05-01  David S. Miller  <davem@davemloft.net>
6382         [BZ #16885]
6383         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
6384         multiple zero bytes exist at the end of a string.
6385         Reported by Aurelien Jarno <aurelien@aurel32.net>
6387         * string/test-strcmp.c (check): Add explicit test for situations where
6388         there are multiple zero bytes after the first.
6390 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
6392         [BZ #16890]
6393         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6394         when compiling wprintf.
6395         * stdio-common/tstdiomisc.c (t3): New function.
6396         (main): Call it.
6398 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6400         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6401         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6402         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6403         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6405 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6407         * stdlib/longlong.h: Updated from GCC.
6409 2014-05-01  Will Newton  <will.newton@linaro.org>
6410             Bernard Ogden  <bernie.ogden@linaro.org>
6412         * NEWS: Update fixed bug list.
6414         [BZ #15119]
6415         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6417 2014-04-30  David S. Miller  <davem@davemloft.net>
6419         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6420         (libc_feholdexcept_setround_sparc_ctx): New function.
6421         (libc_fesetenv_sparc_ctx): Likewise.
6422         (libc_feupdateenv_sparc_ctx): Likewise.
6423         (libc_feholdsetround_sparc_ctx): Likewise.
6424         (libc_feholdexcept_setround_ctx): Define.
6425         (libc_feholdexcept_setroundf_ctx): Likewise.
6426         (libc_feholdexcept_setroundl_ctx): Likewise.
6427         (libc_fesetenv_ctx): Likewise.
6428         (libc_fesetenvf_ctx): Likewise.
6429         (libc_fesetenvl_ctx): Likewise.
6430         (libc_feupdateenv_ctx): Likewise.
6431         (libc_feupdateenvf_ctx): Likewise.
6432         (libc_feupdateenvl_ctx): Likewise.
6433         (libc_feresetround_ctx): Likewise.
6434         (libc_feresetroundf_ctx): Likewise.
6435         (libc_feresetroundl_ctx): Likewise.
6436         (libc_feholdsetround_ctx): Likewise.
6437         (libc_feholdsetroundf_ctx): Likewise.
6438         (libc_feholdsetroundl_ctx): Likewise.
6440         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6441         with __USE_GNU instead of XOPEN cpp guards.
6443         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6444         0.
6446         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6447         with XOPEN cpp guards.
6449 2014-04-30  Julian Brown  <julian@codesourcery.com>
6451         [BZ #16888]
6452         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6453         handling.
6455 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
6457         [BZ #9894]
6458         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6459         Change to 2.6.32.
6460         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6461         * sysdeps/unix/sysv/linux/configure: Regenerated.
6462         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6463         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6464         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6465         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6466         * README: Update reference to required Linux kernel version.
6467         * manual/install.texi (Linux): Update reference to required Linux
6468         kernel headers version.
6469         * INSTALL: Regenerated.
6471         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6472         header inclusion.
6473         [POSIX] (limits.h): Likewise.
6474         [POSIX] (math.h): Likewise.
6475         [POSIX] (sys/wait.h): Likewise.
6476         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6477         function.
6478         [POSIX] (stddef.h): Do not allow header inclusion.
6480 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6482         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
6484 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
6486         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6487         Return immediately after lll_futex_wake.
6489 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6491         [BZ #16791]
6492         * nscd/nscd-client.h (datahead_init_common): Initialize entire
6493         structure.
6494         (datahead_init_pos): Call datahead_init_common early.
6495         (datahead_init_neg): Likewise.
6497         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6498         datahead_init_neg): New functions.
6499         * nscd/aicache.c (addhstaiX): Use them.
6500         * nscd/grpcache.c (cache_addgr): Likewise.
6501         * nscd/hstcache.c (cache_addhst): Likewise.
6502         * nscd/initgrcache.c (addinitgroupsX): Likewise.
6503         * nscd/netgroupcache.c (do_notfound): Likewise.
6504         (addgetnetgrentX): Likewise.
6505         (addinnetgrX): Likewise.
6506         * nscd/pwdcache.c (cache_addpw): Likewise.
6507         * nscd/servicescache.c (cache_addserv): Likewise.
6509 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6510             Atsushi Onoe  <atsushi@onoe.org>
6512         [BZ #14308]
6513         [BZ #12994]
6514         [BZ #13651]
6515         * resolv/res_query.c (__libc_res_nsearch): Return if at least
6516         one response is valid.
6517         * resolv/res_send.c (send_dg): Check for validity of other
6518         response if the current response is a referral.
6520 2014-04-29  Steve Ellcey  <sellcey@mips.com>
6522         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6524 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
6526         [BZ #16823]
6527         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
6528         Always divide by positive zero when computing -Inf result.
6529         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6530         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6532 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6534         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
6535         FPSCR if value do not change.
6536         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6537         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
6538         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6539         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6540         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6541         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
6542         function.
6544 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
6546         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
6547         * sysdeps/unix/sysv/linux/hppa: Move directory from
6548         ports/systeps/unix/sysv/linux/hppa.
6549         * README: Update listing for hppa-*-linux-gnu.
6551 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
6553         [BZ #16754]
6554         * manual/stdio.texi (Hook functions): Fix types of stream hook
6555         functions.
6556         [BZ #16854]
6557         * socket/sys/socket.h: Fix typo in comment.
6559 2014-04-28  Wilco  <wdijkstr@arm.com>
6561         * sysdeps/arm/fenv_private.h: New file.
6562         * sysdeps/arm/math_private.h: New file.
6563         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
6565 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
6567         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
6568         with __int128_t.
6569         (La_x86_64_retval): Likewise.
6571 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
6573         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
6574         fpsr if value didn't change.
6575         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
6576         to fpcr if value didn't change.
6577         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
6578         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
6579         fpsr or fpcr if value didn't change.
6580         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6581         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
6582         fpcr if value didn't change.
6583         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
6584         to fpsr if value didn't change.
6586 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
6588         * nptl/tst-sem3.c: Use test-skeleton.c
6589         (main): Rename to do_test.  Use return instead of
6590         exit.
6591         * nptl/tst-sem4.c: Use test-skeleton.c
6592         (main): Rename to do_test.
6594 2014-04-22  David S. Miller  <davem@davemloft.net>
6596         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6597         (struct sigaction): New struct member __glibc_reserved0, change
6598         type of sa_flags to int.
6600 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
6602         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
6603         (COUNT_LEADING_ZEROS_0): Define for AArch64.
6605 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
6607         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
6608         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
6610 2014-04-22  Will Newton  <will.newton@linaro.org>
6611             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
6613         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
6614         (__longjmp): Add longjmp and longjmp_target SystemTap
6615         probes.
6616         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
6617         (__sigsetjmp): Add setjmp SystemTap probe.
6619 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
6621         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
6622         match manual order.
6624 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6626         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
6628         * sysdeps/powerpc/fpu/fenv_private.h
6629         (libc_feholdexcept_setroundl_ctx): Define to
6630         libc_feholdexcept_setround_ppc_ctx.
6631         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
6632         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
6633         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
6634         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
6636 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
6638         * sysdeps/aarch64/math-tests.h: New file.
6640 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
6642         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
6643         New.
6644         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6645         Check and set bit_AVX2_Usable.
6646         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
6647         macro.
6648         (bit_AVX2): Likewise.
6649         (index_AVX2_Usable): Likewise.
6650         (CPUID_AVX2): Likewise.
6651         (HAS_AVX2): Likewise.
6653 2014-04-17  Will Newton  <will.newton@linaro.org>
6655         * manual/setjmp.texi (System V contexts): Add note that
6656         calling setcontext on a context created by a call to a
6657         signal handler is undefined.  Update text to note that
6658         setcontext from a signal handler is possible but not
6659         recommended.
6661         [BZ #16629]
6662         * stdlib/tst-setcontext.c: Include signal.h.
6663         (main): Check that the signal stack before and
6664         after swapcontext is the same.
6666         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
6667         Re-implement to restore registers in user code and avoid
6668         rt_sigreturn system call.
6670 2014-04-17  Wilco  <wdijkstr@arm.com>
6672         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
6673         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
6674         * math/test-fenv.c: Skip exception trap tests on targets which only
6675         support non-stop mode.
6677 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
6678             Wilco Dijkstra  <wilco.dijkstra@arm.com>
6680         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
6681         (libc_feholdsetround_aarch64_ctx)
6682         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
6683         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
6684         (libc_feresetround_ctx, libc_feresetroundf_ctx)
6685         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
6686         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
6687         (libc_feresetround_noexl_ctx): Define.
6689 2014-04-16  Richard Henderson  <rth@redhat.com>
6691         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
6693         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
6694         unwind tables.
6696         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
6697         const from the non-libc, non-ldso copy.
6699         * sysdeps/alpha/libm-test-ulps: Regenerate.
6701 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
6702             Wilco Dijkstra  <wilco.dijkstra@arm.com>
6704         * sysdeps/aarch64/fpu/math_private.h: New file.
6706 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6708         * sysdeps/aarch64/libm-test-ulps: Regenerate.
6710 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
6712         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
6713         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
6714         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
6715         Intel MPX bound registers before _dl_profile_fixup.
6716         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
6717         registers after _dl_profile_fixup.  Save and restore bound
6718         registers bnd0/bnd1 when calling _dl_call_pltexit.
6719         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
6720         (LR_BND_OFFSET): Likewise.
6721         (LRV_BND0_OFFSET): Likewise.
6722         (LRV_BND1_OFFSET): Likewise.
6724 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6726         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
6727         to...
6728         * sysdeps/mach/hurd/i386/tls.h: ... here.
6729         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
6730         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
6731         fields.
6733 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6735         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
6737 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6739         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6741 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6743         [BZ #14770]
6744         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
6745         * sysdeps/s390/configure: Regenerate.
6747         [BZ #16824]
6748         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
6749         Set round-to-nearest internally to reduce error accumulation.
6751 2014-04-16  Alan Modra  <amodra@gmail.com>
6753         [BZ #16740]
6754         [BZ #16619]
6755         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6756         * math/libm-test.inc (frexp_test_data): Add tests.
6757         * NEWS: Update fixed bug list.
6759 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6761         * benchtests/Makefile: Depend on libraries in build directory.
6762         (bench-math): Separate out math tests.
6763         (bench-pthread): Separate out pthread tests.
6764         (bench): Include math and pthread tests.
6766 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
6768         [BZ #16831]
6769         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
6770         _dl_debug_initialize.
6772         * configure.ac: Remove SELinux header check.
6773         * configure: Regenerate.
6774         * nscd/selinux.c (perms): Array of const char* to permission names.
6775         (nscd_request_avc_has_perm): Call security_deny_unknown to find
6776         default policy. Call string_to_security_class and string_to_av_perm to
6777         translate strings. Enforce default policy and call avs_has_perm with
6778         results of translated strings.
6780 2014-04-13  David S. Miller  <davem@davemloft.net>
6782         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6784 2014-04-12  Allan McRae  <allan@archlinux.org>
6786         [BZ #16838]
6787         * manual/string.texi (Collation Functions): Fix qsort argument
6788         order in example.
6789         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6791 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
6793         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6794         Make the test a no-op if there are no exceptions defined.
6796 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6798         * elf/Makefile (tests): make tst-dlopen-aout conditional on
6799         enable-hardcoded-path-in-tests
6801 2014-04-11  Will Newton  <will.newton@linaro.org>
6803         * benchtests/Makefile (extra-objs): Add json-lib.o.
6804         (bench-func): Tidy up JSON output.
6805         * benchtests/bench-skeleton.c: Include json-lib.h.
6806         (main): Use JSON library functions to do output of
6807         benchmark results.
6808         * benchtests/bench-timing-type.c (main): Output the
6809         timing type simply, leaving formatting to the user.
6810         * benchtests/json-lib.c: New file.
6811         * benchtests/json-lib.h: Likewise.
6813 2014-04-11  Torvald Riegel  <triegel@redhat.com>
6815         [BZ #15215]
6816         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6817         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
6818         memory barriers.  Add comments.
6819         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6820         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6821         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6822         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6823         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6824         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6826 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
6828         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6829         * sysdeps/s390/s390-64/configure.ac: ... this ...
6830         * sysdeps/s390/configure.ac: ... to here.
6831         * sysdeps/s390/s390-32/configure: Delete file.
6832         * sysdeps/s390/s390-64/configure: Delete file.
6833         * sysdeps/s390/configure: Regenerate.
6835 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
6837         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6839 2014-04-11  Will Newton  <will.newton@linaro.org>
6841         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6842         to zero if it is not defined elsewhere.  (mtrim): Test
6843         the value of MALLOC_DEBUG with #if rather than #ifdef.
6845 2014-04-10 Torvald Riegel  <triegel@redhat.com>
6847         * benchtests/pthread_once-inputs: New file.
6848         * benchtests/pthread_once-source.c: New file.
6849         * benchtests/README: Update documentation.
6851 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
6852             H.J. Lu  <hongjiu.lu@intel.com>
6854         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6855         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6856         * sysdeps/x86_64/configure: Regenerated.
6857         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6858         macro.
6859         (REGISTER_SAVE_RAX): Likewise.
6860         (REGISTER_SAVE_RCX): Likewise.
6861         (REGISTER_SAVE_RDX): Likewise.
6862         (REGISTER_SAVE_RSI): Likewise.
6863         (REGISTER_SAVE_RDI): Likewise.
6864         (REGISTER_SAVE_R8): Likewise.
6865         (REGISTER_SAVE_R9): Likewise.
6866         (REGISTER_SAVE_BND0): Likewise.
6867         (REGISTER_SAVE_BND1): Likewise.
6868         (REGISTER_SAVE_BND2): Likewise.
6869         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
6870         bound registers when calling _dl_fixup.
6872 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6874         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
6875         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6876         of its definition.
6877         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6878         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6879         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6880         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6881         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6882         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6883         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6885 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
6887         [BZ #15514]
6888         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6889         pathconf(_PC_NAME_MAX).
6891 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6893         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6894         Remove macro usage.
6895         (__PTHREAD_SPINS): Move definition to ...
6896         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6897         (__PTHREAD_SPINS): ... here.
6898         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6899         (__PTHREAD_SPIN): Likewise.
6900         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
6901         (__PTHREAD_SPIN): Likewise.
6902         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
6903         (__PTHREAD_SPIN): Likewise.
6904         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
6905         (__PTHREAD_SPIN): Likewise.
6906         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6907         (__PTHREAD_SPIN): Likewise.
6908         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6909         (__PTHREAD_SPIN): Likewise.
6910         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
6911         (__PTHREAD_SPIN): Likewise.
6912         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6913         (__PTHREAD_SPIN): Likewise.
6914         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6915         (__PTHREAD_SPIN): Likewise.
6916         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6917         (__PTHREAD_SPIN): Likewise.
6918         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6919         (__PTHREAD_SPIN): Likewise.
6920         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
6921         (__PTHREAD_SPIN): Likewise.
6923         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
6924         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
6925         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
6926         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
6927         imply folder.
6928         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
6929         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
6930         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
6931         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
6932         correct imply path.
6933         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
6934         strlen symbol for non multi-arch builds.
6935         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
6936         missing hidden_def and weak_alias.
6938 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
6940         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
6942 2014-04-07  Will Newton  <will.newton@linaro.org>
6944         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
6945         and contents.  [!_LIBC] Remove #ifndef and contents.
6946         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
6947         * string/memccpy.c (__memccpy): Use ANSI prototype.
6948         * string/memfrob.c (memfrob): Likewise.
6949         * string/strcoll.c (STRCOLL): Likewise.
6950         * string/strlen.c (strlen): Likewise.
6951         * string/strtok.c (STRTOK): Likewise.
6952         * string/strcat.c: Remove unused #include of memcopy.h.
6953         (strcat): Use ANSI prototype.
6954         * string/strchr.c: Remove unused #include of memcopy.h.
6955         (strchr): Use ANSI prototype.
6956         * string/strcmp.c: Remove unused #include of memcopy.h.
6957         (strcmp): Use ANSI prototype.
6958         * string/strcpy.c: Remove unused #include of memcopy.h.
6959         (strcpy): Use ANSI prototype.
6961 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6963         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
6964         * config.make.in (config-extra-cppflags): Set it from
6965         libc_extra_cppflags.
6966         * configure.ac (libc_extra_cflags): Make it accumulate over
6967         configure fragments.
6968         (libc_extra_cppflags): New flag.
6969         * configure. Regenerate.
6970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6971         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
6972         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
6973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6975         [BZ #16815]
6976         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
6977         result for FE_DOWNWARD rounding mode.
6978         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6979         Likewise.
6980         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6982 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
6984         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
6985         in function argument name.
6987 2014-04-03  David Svoboda  <svoboda@cert.org>
6989         [BZ #5666]
6990         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
6991         explicitly.
6993 2014-04-03  Roland McGrath  <roland@hack.frob.com>
6995         * elf/dl-unmap-segments.h: New file.
6996         * sysdeps/generic/ldsodefs.h
6997         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
6998         * elf/dl-close.c: Include <dl-unmap-segments.h>.
6999         * elf/dl-fptr.c: Likewise.
7000         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7001         * sysdeps/aarch64/tlsdesc.c: Likewise.
7002         * sysdeps/arm/tlsdesc.c: Likewise.
7003         * sysdeps/i386/tlsdesc.c: Likewise.
7004         * sysdeps/tile/dl-runtime.c: Likewise.
7005         * sysdeps/x86_64/tlsdesc.c: Likewise.
7006         * elf/dl-load.h: New file.
7007         * elf/dl-load.c: Include it.
7008         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
7009         Macros moved to dl-load.h.
7010         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
7011         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
7012         Use _dl_unmap_segments in place of __munmap.
7013         Break out segment-mapping loop into ...
7014         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
7016 2014-04-03  Will Newton  <will.newton@linaro.org>
7018         * elf/dl-lookup.c (do_lookup_x): Remove comment
7019         referring to nested function and move variable
7020         declarations down to before first use.
7022 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
7024         [BZ #16799]
7025         [BZ #16800]
7026         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7027         with 0 numerator.
7028         * math/s_catanf.c (__catanf): Likewise.
7029         * math/s_catanh.c (__catanh): Likewise.
7030         * math/s_catanhf.c (__catanhf): Likewise.
7031         * math/s_catanhl.c (__catanhl): Likewise.
7032         * math/s_catanl.c (__catanl): Likewise.
7033         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
7034         by positive zero when computing -Inf result.
7035         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
7036         (catanh_test): Likewise.
7037         * sysdeps/i386/fpu/libm-test-ulps: Update.
7038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7040         [BZ #16789]
7041         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
7042         instead of using underflowing value in computing result.
7043         * math/s_clog10.c (__clog10): Likewise.
7044         * math/s_clog10f.c (__clog10f): Likewise.
7045         * math/s_clog10l.c (__clog10l): Likewise.
7046         * math/s_clogf.c (__clogf): Likewise.
7047         * math/s_clogl.c (__clogl): Likewise.
7048         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7049         (clog10_test): Likewise.
7050         * sysdeps/i386/fpu/libm-test-ulps: Update.
7051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7053 2014-04-02  Alan Modra  <amodra@gmail.com>
7055         [BZ #16739]
7056         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7057         output when value is near a power of two.  Use int64_t for lx and
7058         remove casts.  Use decimal rather than hex exponent constants.
7059         Don't use long double multiplication when double will suffice.
7060         * math/libm-test.inc (nextafter_test_data): Add tests.
7061         * NEWS: Add 16739 and 16786 to bug list.
7063         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7065         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7067 2014-04-01  Will Newton  <will.newton@linaro.org>
7069         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7070         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
7072 2014-04-01  Florian Weimer  <fweimer@redhat.com>
7074         [BZ #13347]
7075         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
7076         * nptl/tst-setuid2.c: New file.
7077         * nptl/Makefile (xtests): Add tst-setuid2.
7079 2014-04-01  Alan Modra  <amodra@gmail.com>
7081         [BZ #16786]
7082         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7084 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
7086         [BZ #6803]
7087         [BZ #6804]
7088         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7089         set errno as appropriate.
7090         * math/w_scalbf.c (__scalbf): Likewise.
7091         * math/w_scalbl.c (__scalbl): Likewise.
7092         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7093         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7094         * math/libm-test.inc (scalb_test_data): Add errno expectations.
7095         Add more NaN tests.
7097         [BZ #16349]
7098         * math/w_atan2.c: Include <errno.h>.
7099         (__atan2): Set errno for result underflowing to zero.
7100         * math/w_atan2f.c: Include <errno.h>.
7101         (__atan2f): Set errno for result underflowing to zero.
7102         * math/w_atan2l.c: Include <errno.h>.
7103         (__atan2l): Set errno for result underflowing to zero.
7104         * math/auto-libm-test-in: Don't allow missing errno for some atan2
7105         tests.
7106         * math/auto-libm-test-out: Regenerated.
7108 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7110         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7111         Encode instruction correctly in little endian.
7112         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7113         Likewise.
7114         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7115         Likewise.
7116         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7117         Likewise.
7118         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7119         Likewise.
7121 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
7123         [BZ #9894]
7124         * sysdeps/unix/sysv/linux/kernel-features.h
7125         [__sparc__ && !__arch64__ && !__sparc_v9__]
7126         (__ASSUME_SET_ROBUST_LIST): Do not define.
7127         [__sparc__ && !__arch64__ && !__sparc_v9__]
7128         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7129         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7130         Likewise.
7131         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7132         (__ASSUME_FUTEX_LOCK_PI): Undefine.
7133         (__ASSUME_REQUEUE_PI): Likewise.
7134         (__ASSUME_SET_ROBUST_LIST): Likewise.
7135         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7136         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7137         Undefine.
7138         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7139         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7140         Likewise.
7141         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7142         Likewise.
7143         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7144         Likewise.
7145         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7146         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7147         Undefine.
7148         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7149         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7150         Likewise.
7152         [BZ #16648]
7153         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7154         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7155         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7157 2014-03-31  Will Newton  <will.newton@linaro.org>
7159         * benchtests/Makefile (bench): Add ffs and ffsll to list
7160         of tests.
7161         * benchtests/ffs-inputs: New file.
7162         * benchtests/ffsll-inputs: Likewise.
7164 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
7166         [BZ #16770]
7167         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7168         too large before casting to int.
7169         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7170         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7171         * math/libm-test.inc (scalb_test_data): Add more tests.
7173 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7175         * benchtests/Makefile (DETAILED_OPT): New make option.
7176         (bench-func): Run benchmark program with -d if DETAILED_OPT is
7177         set.
7178         * benchtests/bench-skeleton.c: Include stdbool.h.
7179         (main): Store and print timings per input.
7180         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7181         member to each argument value.
7182         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7183         (_print_arg_data): Initialize per-input timing to 0.
7185         * benchtests/Makefile (timing-type): New binary.
7186         (bench-clean): Also remove bench-timing-type.
7187         (bench): New target for timing-type.
7188         (bench-func): Print output in JSON format.
7189         * benchtests/bench-skeleton.c (main): Print output in JSON
7190         format.
7191         * benchtests/bench-timing-type.c: New file.
7192         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
7193         (TIMING_PRINT_STATS): Remove.
7194         * benchtests/scripts/bench.py (_print_arg_data): Store variant
7195         name separately.
7197         * benchtests/bench-modf.c: Remove.
7198         * benchtests/modf-inputs: New inputs file.
7200 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
7202         [BZ #16362]
7203         * math/s_clog10.c (M_PI_LOG10E): New macro.
7204         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7205         imaginary parts are 0.
7206         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7207         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7208         imaginary parts are 0.
7209         * math/s_clog10l.c (M_PI_LOG10El): New macro.
7210         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7211         imaginary parts are 0.
7212         * math/libm-test.inc (clog10_test_data): Update expected results
7213         for when real and imaginary parts are 0.
7215 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
7217         * elf/dl-load.c: Finish conversion of __builtin_expect into
7218         __glibc_{un}likely.
7220 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
7222         [BZ #16348]
7223         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7224         1+x for argument with exponent below -67.
7225         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7226         Likewise.
7227         * math/auto-libm-test-in: Add more tests of exp.
7228         * math/auto-libm-test-out: Regenerated.
7230 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7232         [BZ #16759]
7233         * inet/getnetgrent_r.c (get_nonempty_val): New function.
7234         (nscd_getnetgrent): Use it.
7236         [BZ #16760]
7237         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7238         of stpcpy.
7240 2014-03-27  Andi Kleen  <ak@linux.intel.com>
7242         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7243         (lll_robust_lock, lll_cond_lock, lll_timedlock)
7244         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7245         (lll_robust_unlock): Remove out of line section. Use cfi
7246         intrinsics.
7247         (LLL_STUB_UNWIND_INFO*): Remove.
7248         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7249         (lll_robust_lock, lll_cond_lock, lll_timedlock)
7250         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7251         (lll_robust_unlock): Remove out of line section. Use cfi
7252         intrinsics.
7253         (LLL_STUB_UNWIND_INFO*): Remove.
7255 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7257         [BZ #16758]
7258         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7259         blank values.
7261 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
7263         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7265 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
7267         [BZ #16198]
7268         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7269         fnstenv.
7270         * math/test-fenv-preserve.c: New file.
7271         * math/Makefile (tests): Add test-fenv-preserve.
7273 2014-03-26  Will Newton <will.newton@linaro.org>
7275         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7277 2014-03-25  Roland McGrath  <roland@hack.frob.com>
7279         * scripts/versionlist.awk: Partition the version sets and emit all
7280         GLIBC_* (sorted) before all others (sorted).
7282 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
7284         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7285         GLIBC_2.2.5 version.
7287 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7289         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7290         calls.
7292         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7293         previous change.
7295         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7297 2014-03-25  Andreas Schwab  <schwab@suse.de>
7299         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7300         label to be used after in6ailist is initialized.
7302 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7304         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7305         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7307 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
7309         [BZ #16357]
7310         [BZ #16599]
7311         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
7312         min_plus_half.
7313         (fp_formats): Update initializers.
7314         (init_fp_formats): Initialize new field.
7315         (output_for_one_input_case): Allow underflow for results up to
7316         min_plus_half.
7317         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
7318         * math/auto-libm-test-in: Don't mark some underflows from asin and
7319         atanh as spurious.
7320         * math/auto-libm-test-out: Regenerated.
7321         * sysdeps/i386/fpu/libm-test-ulps: Update.
7322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7324 2014-03-25  Andreas Schwab  <schwab@suse.de>
7326         * libio/Makefile (tst-ftell-partial-wide-ENV)
7327         (tst-ftell-active-handler-ENV): Define.
7329 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
7331         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
7333 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7335         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
7337 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
7339         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
7340         * sysdeps/x86_64/fpu/multiarch/e_exp.c
7341         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7343 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7345         [BZ #16634]
7346         * elf/dl-load.c (open_verify): Add mode parameter.
7347         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
7348         (open_path): Change from boolean 'secure' to complete flag 'mode'
7349         (_dl_map_object): Adjust.
7350         * elf/Makefile (tests): Add tst-dlopen-aout.
7351         * elf/tst-dlopen-aout.c: New test.
7353 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
7355         [BZ #16714]
7356         * sysdeps/unix/sysv/linux/s390/bits/stat.h
7357         (struct stat): Rename member pad0 to __glibc_reserved0.
7359         [BZ #16712]
7360         * sysdeps/s390/s390-32/bits/wordsize.h
7361         (__WORDSIZE32_SIZE_ULONG): New define.
7362         * sysdeps/s390/s390-64/bits/wordsize.h
7363         (__WORDSIZE32_SIZE_ULONG): Likewise.
7364         * sysdeps/generic/stdint.h (SIZE_MAX):
7365         Define as UL if __WORDSIZE32_SIZE_ULONG.
7367         [BZ #16713]
7368         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7369         (__glibc_reserved0): New variable.
7370         (sa_flags): Change type to int.
7372         * posix/Makefile (before-compile): Use += before-compile instead
7373         of a :=.
7375         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7376         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7378 2014-03-20  Andreas Schwab  <schwab@suse.de>
7380         [BZ #16743]
7381         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
7382         non-matching result from nscd.
7384 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7386         * scripts/bench.py: Moved to ...
7387         * benchtests/scripts/bench.py: ... here.
7388         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7390 2014-03-24  Andreas Schwab  <schwab@suse.de>
7392         [BZ #16002]
7393         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7394         alloca_account and account alloca use for struct in6ailist.
7396 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
7398         [BZ #16284]
7399         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7400         rounding mode to recompute results that overflow to infinity or
7401         underflow to zero.
7402         * math/auto-libm-test-in: Don't mark tests as expected to fail for
7403         bug 16284.
7404         * math/auto-libm-test-out: Regenerated.
7405         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7406         (ccosh_test): Likewise.
7407         (csin_test_data): Use plus_oflow.
7408         (csin_test): Use ALL_RM_TEST.
7409         (csinh_test_data): Use plus_oflow.
7410         (csinh_test): Use ALL_RM_TEST.
7411         * sysdeps/i386/fpu/libm-test-ulps: Update.
7412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7414 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
7416         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7417         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7418         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7420         [BZ #16731]
7421         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7422         when x - 1 is zero.
7423         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7424         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7425         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7426         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7427         argument is 1.
7428         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7429         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7430         zero.
7431         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7432         * sysdeps/i386/fpu/libm-test-ulps: Update.
7433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7435 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7437         * scripts/bench.pl: Remove file.
7438         * scripts/bench.py: New benchmark script.
7439         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7440         * benchtests/README: Mention python dependency.
7441         * scripts/pylintrc: New file.
7442         * scripts/pylint: New file.
7444         * bits/mathdef.h: Use #ifdef instead of #if.
7445         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7446         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7447         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7448         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7449         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7450         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7452 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7453             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7455         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7456         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7457         and strpbrk-ppc64 objects.
7458         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7459         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7460         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7461         multiarch strpbrk for POWER7.
7462         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7463         multiarch strpbrk for PPC64.
7464         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7465         ifunc selector.
7466         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7467         strpbrk for POWER7.
7469 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
7471         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7472         (atan_test): Likewise.
7473         (atanh_test_data): Use NO_TEST_INLINE for two tests.
7474         (atanh_test): Use ALL_RM_TEST.
7475         (atan2_test_data): Likewise.
7476         (cabs_test): Likewise.
7477         (cacosh_test): Likewise.
7478         (carg_test): Likewise.
7479         (casin_test): Likewise.
7480         (casinh_test): Likewise.
7481         (cbrt_test): Likewise.
7482         (csqrt_test): Likewise.
7483         (erf_test): Likewise.
7484         (erfc_test): Likewise.
7485         (pow10_test): Likewise.
7486         (exp2_test): Likewise.
7487         (hypot_test): Likewise.
7488         (j0_test): Likewise.
7489         (j1_test): Likewise.
7490         (lgamma_test): Likewise.
7491         (gamma_test): Likewise.
7492         (sincos_test): Likewise.
7493         (tanh_test): Likewise.
7494         (y0_test): Likewise.
7495         (y1_test): Likewise.
7496         * sysdeps/i386/fpu/libm-test-ulps: Update.
7497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7499 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7501         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7502         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
7503         and strcspn-ppc64 objects.
7504         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7505         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7506         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7507         multiarch strcspn for POWER7.
7508         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7509         multiarch strcspn for PPC64.
7510         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7511         ifunc selector.
7512         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7513         strcspn for POWER7.
7515 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
7517         * math/gen-libm-test.pl (generate_testfile): Expect only function
7518         name as argument to AUTO_TESTS_* and pass results for all rounding
7519         modes to parse_args.
7520         (parse_auto_input): Separate inputs of automatic tests from
7521         outputs before storing in %auto_tests.
7522         * math/libm-test.inc (acos_test_data): Update call to
7523         AUTO_TESTS_f_f.
7524         (acos_test): Use ALL_RM_TEST.
7525         (acos_tonearest_test_data): Remove.
7526         (acos_test_tonearest): Likewise.
7527         (acos_towardzero_test_data): Likewise.
7528         (acos_test_towardzero): Likewise.
7529         (acos_downward_test_data): Likewise.
7530         (acos_test_downward): Likewise.
7531         (acos_upward_test_data): Likewise.
7532         (acos_test_upward): Likewise.
7533         (acosh_test_data): Update call to AUTO_TESTS_f_f.
7534         (asin_test_data): Likewise.
7535         (asin_test): Use ALL_RM_TEST.
7536         (asin_tonearest_test_data): Remove.
7537         (asin_test_tonearest): Likewise.
7538         (asin_towardzero_test_data): Likewise.
7539         (asin_test_towardzero): Likewise.
7540         (asin_downward_test_data): Likewise.
7541         (asin_test_downward): Likewise.
7542         (asin_upward_test_data): Likewise.
7543         (asin_test_upward): Likewise.
7544         (asinh_test_data): Update call to AUTO_TESTS_f_f.
7545         (atan_test_data): Likewise.
7546         (atanh_test_data): Likewise.
7547         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
7548         (cabs_test_data): Update call to AUTO_TESTS_c_f.
7549         (carg_test_data): Likewise.
7550         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
7551         (ccos_test_data): Update call to AUTO_TESTS_c_c.
7552         (ccosh_test_data): Likewise.
7553         (cexp_test_data): Likewise.
7554         (clog_test_data): Likewise.
7555         (clog10_test_data): Likewise.
7556         (cos_test_data): Update call to AUTO_TESTS_f_f.
7557         (cos_test): Use ALL_RM_TEST.
7558         (cos_tonearest_test_data): Remove.
7559         (cos_test_tonearest): Likewise.
7560         (cos_towardzero_test_data): Likewise.
7561         (cos_test_towardzero): Likewise.
7562         (cos_downward_test_data): Likewise.
7563         (cos_test_downward): Likewise.
7564         (cos_upward_test_data): Likewise.
7565         (cos_test_upward): Likewise.
7566         (cosh_test_data): Update call to AUTO_TESTS_f_f.
7567         (cosh_test): Use ALL_RM_TEST.
7568         (cosh_tonearest_test_data): Remove.
7569         (cosh_test_tonearest): Likewise.
7570         (cosh_towardzero_test_data): Likewise.
7571         (cosh_test_towardzero): Likewise.
7572         (cosh_downward_test_data): Likewise.
7573         (cosh_test_downward): Likewise.
7574         (cosh_upward_test_data): Likewise.
7575         (cosh_test_upward): Likewise.
7576         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
7577         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
7578         (ctan_test_data): Likewise.
7579         (ctan_test): Use ALL_RM_TEST.
7580         (ctan_tonearest_test_data): Remove.
7581         (ctan_test_tonearest): Likewise.
7582         (ctan_towardzero_test_data): Likewise.
7583         (ctan_test_towardzero): Likewise.
7584         (ctan_downward_test_data): Likewise.
7585         (ctan_test_downward): Likewise.
7586         (ctan_upward_test_data): Likewise.
7587         (ctan_test_upward): Likewise.
7588         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
7589         (ctanh_test): Use ALL_RM_TEST.
7590         (ctanh_tonearest_test_data): Remove.
7591         (ctanh_test_tonearest): Likewise.
7592         (ctanh_towardzero_test_data): Likewise.
7593         (ctanh_test_towardzero): Likewise.
7594         (ctanh_downward_test_data): Likewise.
7595         (ctanh_test_downward): Likewise.
7596         (ctanh_upward_test_data): Likewise.
7597         (ctanh_test_upward): Likewise.
7598         (erf_test_data): Update call to AUTO_TESTS_f_f.
7599         (erfc_test_data): Likewise.
7600         (exp_test_data): Likewise.
7601         (exp_test): Use ALL_RM_TEST.
7602         (exp_tonearest_test_data): Remove.
7603         (exp_test_tonearest): Likewise.
7604         (exp_towardzero_test_data): Likewise.
7605         (exp_test_towardzero): Likewise.
7606         (exp_downward_test_data): Likewise.
7607         (exp_test_downward): Likewise.
7608         (exp_upward_test_data): Likewise.
7609         (exp_test_upward): Likewise.
7610         (exp10_test_data): Update call to AUTO_TESTS_f_f.
7611         (exp10_test): Use ALL_RM_TEST.
7612         (exp10_tonearest_test_data): Remove.
7613         (exp10_test_tonearest): Likewise.
7614         (exp10_towardzero_test_data): Likewise.
7615         (exp10_test_towardzero): Likewise.
7616         (exp10_downward_test_data): Likewise.
7617         (exp10_test_downward): Likewise.
7618         (exp10_upward_test_data): Likewise.
7619         (exp10_test_upward): Likewise.
7620         (exp2_test_data): Update call to AUTO_TESTS_f_f.
7621         (expm1_test_data): Likewise.
7622         (expm1_test): Use ALL_RM_TEST.
7623         (expm1_tonearest_test_data): Remove.
7624         (expm1_test_tonearest): Likewise.
7625         (expm1_towardzero_test_data): Likewise.
7626         (expm1_test_towardzero): Likewise.
7627         (expm1_downward_test_data): Likewise.
7628         (expm1_test_downward): Likewise.
7629         (expm1_upward_test_data): Likewise.
7630         (expm1_test_upward): Likewise.
7631         (fma_test_data): Update call to AUTO_TESTS_fff_f.
7632         (fma_test): Use ALL_RM_TEST.
7633         (fma_towardzero_test_data): Remove.
7634         (fma_test_towardzero): Likewise.
7635         (fma_downward_test_data): Likewise.
7636         (fma_test_downward): Likewise.
7637         (fma_upward_test_data): Likewise.
7638         (fma_test_upward): Likewise.
7639         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
7640         (j0_test_data): Update call to AUTO_TESTS_f_f.
7641         (j1_test_data): Likewise.
7642         (jn_test_data): Update call to AUTO_TESTS_if_f.
7643         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
7644         (log_test_data): Update call to AUTO_TESTS_f_f.
7645         (log10_test_data): Likewise.
7646         (log1p_test_data): Likewise.
7647         (log2_test_data): Likewise.
7648         (pow_test_data): Update call to AUTO_TESTS_ff_f.
7649         (pow_tonearest_test_data): Likewise.
7650         (sin_test_data): Update call to AUTO_TESTS_f_f.
7651         (sin_test): Use ALL_RM_TEST.
7652         (sin_tonearest_test_data): Remove.
7653         (sin_test_tonearest): Likewise.
7654         (sin_towardzero_test_data): Likewise.
7655         (sin_test_towardzero): Likewise.
7656         (sin_downward_test_data): Likewise.
7657         (sin_test_downward): Likewise.
7658         (sin_upward_test_data): Likewise.
7659         (sin_test_upward): Likewise.
7660         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
7661         (sinh_test_data): Update call to AUTO_TESTS_f_f.
7662         (sinh_test): Use ALL_RM_TEST.
7663         (sinh_tonearest_test_data): Remove.
7664         (sinh_test_tonearest): Likewise.
7665         (sinh_towardzero_test_data): Likewise.
7666         (sinh_test_towardzero): Likewise.
7667         (sinh_downward_test_data): Likewise.
7668         (sinh_test_downward): Likewise.
7669         (sinh_upward_test_data): Likewise.
7670         (sinh_test_upward): Likewise.
7671         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
7672         (sqrt_test): Use ALL_RM_TEST.
7673         (sqrt_tonearest_test_data): Remove.
7674         (sqrt_test_tonearest): Likewise.
7675         (sqrt_towardzero_test_data): Likewise.
7676         (sqrt_test_towardzero): Likewise.
7677         (sqrt_downward_test_data): Likewise.
7678         (sqrt_test_downward): Likewise.
7679         (sqrt_upward_test_data): Likewise.
7680         (sqrt_test_upward): Likewise.
7681         (tan_test_data): Update call to AUTO_TESTS_f_f.
7682         (tan_test): Use ALL_RM_TEST.
7683         (tan_tonearest_test_data): Remove.
7684         (tan_test_tonearest): Likewise.
7685         (tan_towardzero_test_data): Likewise.
7686         (tan_test_towardzero): Likewise.
7687         (tan_downward_test_data): Likewise.
7688         (tan_test_downward): Likewise.
7689         (tan_upward_test_data): Likewise.
7690         (tan_test_upward): Likewise.
7691         (tanh_test_data): Update call to AUTO_TESTS_f_f.
7692         (tgamma_test_data): Likewise.
7693         (y0_test_data): Likewise.
7694         (y1_test_data): Likewise.
7695         (yn_test_data): Update call to AUTO_TESTS_if_f.
7696         (main): Do not call removed functions.
7698 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
7700         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
7701         (ldexp_test_data): Remove.
7702         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
7703         scalbn_test_data.
7704         (scalb_test): Use ALL_RM_TEST.
7706 2014-03-19  Andreas Schwab  <schwab@suse.de>
7708         * nscd/nscd.service: Also invalidate netgroup cache on reload.
7710 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
7712         [BZ #16649]
7713         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7714         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
7715         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7716         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7717         (__ASSUME_PREADV): Undefine.
7718         (__ASSUME_PWRITEV): Likewise.
7720 2014-03-18  Roland McGrath  <roland@hack.frob.com>
7722         * bits/mman-linux.h: Add comment about non-Linux use.
7723         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
7724         bits/mman-linux.h resting place.
7726         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
7727         * bits/mman-linux.h: ... here.
7729 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7731         * conform/conformtest.pl: Add standard definition when calling C
7732         preprocessor on data files.
7733         (checknamespace): Remove unused variable.
7735 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
7737         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
7738         minus_oflow, plus_uflow and minus_uflow in expected results.
7739         * math/libm-test.inc (scalbn_test_data): Add more tests of
7740         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
7741         minus_uflow.
7742         (scalbn_test): Use ALL_RM_TEST.
7743         (scalbln_test_data): Add more tests of negative arguments.  Use
7744         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
7745         (scalbln_test): Use ALL_RM_TEST.
7747 2014-03-18  Roland McGrath  <roland@hack.frob.com>
7749         * scripts/abilist.awk: Ignore symbols marked with .hidden.
7751 2014-03-18  Will Newton  <will.newton@linaro.org>
7753         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
7754         inaccurate comment.
7756 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
7758         * Makerules [!subdir] (check-abi): Exit with error status if a
7759         test failed.
7761 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
7763         * math/libm-test.inc (nearbyint_test_data): Include all tests used
7764         for rint.  Include results for all rounding modes.
7765         (nearbyint_test): Use ALL_RM_TEST.
7766         (rint_test_data): Include all tests used for nearbyint.
7768 2014-03-17  Will Newton  <will.newton@linaro.org>
7770         * nptl/sysdeps/pthread/pthread.h: Revert previous
7771         change.
7773         * sysdeps/generic/ldsodefs.h: Revert previous
7774         change.
7776         * libio/genops.c: Revert previous change.
7777         * libio/libioP.h: Likewise.
7778         * stdio-common/vfprintf.c: Likewise.
7780         * sysdeps/generic/math_private.h: Revert previous
7781         change.
7783         * sysdeps/generic/math_private.h: Check whether
7784         HAVE_RM_CTX is defined with #ifdef rather
7785         than #if.
7787         * argp/argp-fmtstream.h: Check whether
7788         __STRICT_ANSI__ is defined with #ifdef rather
7789         than #if.
7790         * argp/argp.h: Likewise.
7792         * libio/genops.c: Check whether
7793         _IO_JUMPS_OFFSET is defined with #ifdef rather
7794         than #if.
7795         * libio/libioP.h: Likewise.
7796         * stdio-common/vfprintf.c: Likewise.
7798         * sysdeps/generic/ldsodefs.h: Check whether
7799         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7800         than #if.
7802         * nptl/sysdeps/pthread/pthread.h: Check
7803         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7804         its value.
7806 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7808         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7809         setting O_APPEND.
7810         * libio/tst-ftell-active-handler.c (do_append_test): Add a
7811         test case.
7813         [BZ #16680]
7814         * libio/fileops.c (_IO_file_open): Seek to end of file but
7815         don't cache the offset.
7816         (get_file_offset): Remove function.
7817         (do_ftell): Use cached offset when available.
7818         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7819         don't cache the offset.
7820         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7821         case.
7822         (do_one_test): Call it.
7823         (do_ftell_test): Fix up expected old offset for a+ mode.
7824         * libio/wfileops.c (do_ftell_wide): Used cached offset when
7825         available.
7827         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7828         up test status with function return status.
7829         (do_write_test): Likewise.
7830         (do_append_test): Likewise.
7832         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7833         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7834         Remove.
7836 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
7838         * math/gen-libm-test.pl (parse_args): Handle results specified for
7839         each rounding mode separately.
7840         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7841         tests and results from lrint_tonearest_test_data,
7842         lrint_towardzero_test_data, lrint_downward_test_data and
7843         lrint_upward_test_data.
7844         (lrint_test): Use ALL_RM_TEST.
7845         (lrint_tonearest_test_data): Remove.
7846         (lrint_test_tonearest): Likewise.
7847         (lrint_towardzero_test_data): Likewise.
7848         (lrint_test_towardzero): Likewise.
7849         (lrint_downward_test_data): Likewise.
7850         (lrint_test_downward): Likewise.
7851         (lrint_upward_test_data): Likewise.
7852         (lrint_test_upward): Likewise.
7853         (llrint_test_data): Merge in per-rounding-mode tests and results
7854         from llrint_tonearest_test_data, llrint_towardzero_test_data,
7855         llrint_downward_test_data and llrint_upward_test_data.
7856         (llrint_test): Use ALL_RM_TEST.
7857         (llrint_tonearest_test_data): Remove.
7858         (llrint_test_tonearest): Likewise.
7859         (llrint_towardzero_test_data): Likewise.
7860         (llrint_test_towardzero): Likewise.
7861         (llrint_downward_test_data): Likewise.
7862         (llrint_test_downward): Likewise.
7863         (llrint_upward_test_data): Likewise.
7864         (llrint_test_upward): Likewise.
7865         (rint_test_data): Merge in per-rounding-mode tests and results
7866         from rint_tonearest_test_data, rint_towardzero_test_data,
7867         rint_downward_test_data and rint_upward_test_data.  Add
7868         per-rounding-mode results for tests not in those arrays.
7869         (rint_test): Use ALL_RM_TEST.
7870         (rint_tonearest_test_data): Remove.
7871         (rint_test_tonearest): Likewise.
7872         (rint_towardzero_test_data): Likewise.
7873         (rint_test_towardzero): Likewise.
7874         (rint_downward_test_data): Likewise.
7875         (rint_test_downward): Likewise.
7876         (rint_upward_test_data): Likewise.
7877         (rint_test_upward): Likewise.
7878         (main): Don't call removed functions.
7880 2014-03-14  Roland McGrath  <roland@hack.frob.com>
7882         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7883         "Compiled on ..." crapola.  It is anti-useful.
7885 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
7887         * scripts/evaluate-test.sh: Handle fourth argument to determine
7888         whether test run should stop on failure.
7889         * Makeconfig (stop-on-test-failure): New variable.
7890         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7891         $(stop-on-test-failure).
7892         * Makefile (tests): Give a summary of results from testing and
7893         exit with failure status if they include an ERROR or FAIL.
7894         (xtests): Likewise.
7895         * manual/install.texi (Configuring and compiling): Mention
7896         stop-on-test-failure=y.
7897         * INSTALL: Regenerated.
7899 2014-03-14  Roland McGrath  <roland@hack.frob.com>
7901         * scripts/versionlist.awk: New file.
7902         * Makerules [$(build-shared) = yes]
7903         (postclean-generated): Add Versions.def, not Versions.def.v and
7904         Versions.def.v.i.
7905         ($(common-objpfx)Versions.def.v.i): Target removed.
7906         ($(common-objpfx)Versions.def): New target.
7907         ($(common-objpfx)Versions.all): Depend on that rather that
7908         $(common-objpfx)Versions.def.v.
7909         * Versions.def: File removed.
7911         * Makeconfig (+gccwarn): Add -Wundef.
7912         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
7913         a dl-sysdep.h breaking its contract.
7914         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7915         * include/stackinfo.h: New file.
7916         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
7917         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
7918         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
7919         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
7920         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
7921         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
7922         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7923         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7924         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7925         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7926         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7927         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
7928         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7929         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7930         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7932 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7934         [BZ #16707]
7935         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
7936         implementation.
7937         * math/libm-test.inc (round_test_data): Add more tests.
7939         [BZ #16706]
7940         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
7941         implementation.
7942         * math/libm-test.inc (nearbyint_test_data): Add more tests.
7944         [BZ #16701]
7945         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
7946         implementation.
7947         * math/libm-test.inc (ceil_test_data): Add more tests.
7949         * math/libm-test.inc (trunc_test_data): Add more tests related to
7950         BZ#16414.
7952 2014-03-14  Roland McGrath  <roland@hack.frob.com>
7954         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
7955         with #if rather than #ifdef.
7956         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
7958 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
7960         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
7961         first.  Disable AVX-512 GCC support if assembler doesn't support
7962         it.
7963         * sysdeps/x86_64/configure: Regenerated.
7965 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
7967         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
7968         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
7969         (__old_pthread_attr_setstack): Likewise.
7970         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
7971         [!_STACK_GROWS_DOWN]: Likewise.
7973 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
7975         * config.make.in (have-bash2): Delete.
7976         * configure.ac (libc_cv_have_bash2): Delete.
7977         * configure: Regenerate.
7978         * elf/Makefile (common-ldd-rewrite): Rename to ...
7979         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
7980         (sh-ldd-rewrite): Delete.
7981         (bash-ldd-rewrite): Delete.
7982         (have-bash2): Delete checks.
7983         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
7984         ldd-rewrite.
7986         * config.make.in (have-ksh): Delete.
7987         (KSH): Delete.
7988         * configure.ac (libc_cv_have_ksh): Delete.
7989         * configure: Regenerate.
7991         * elf/Makefile: Delete $(have-ksh) check.
7992         ($(objpfx)sotruss): Change KSH to BASH.
7993         * elf/sotruss.ksh: Rename to ...
7994         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
7995         function style to match POSIX.  Drop ksh vim mode setting.
7997         * manual/time.texi (Specifying the Time Zone with TZ): Change
7998         Tuesday to Thursday.
8000         * debug/tst-longjmp_chk2.c: Update header comment.
8001         (stackoverflow_handler): Add comment.  Call assert on pass value.
8003 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
8005         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
8006         (HAVE_AVX512_ASM_SUPPORT): Likewise.
8007         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
8008         (La_x86_64_vector): Add zmm.
8009         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
8010         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
8011         ($(objpfx)tst-audit10): New target.
8012         ($(objpfx)tst-audit10.out): Likewise.
8013         (tst-audit10-ENV): New.
8014         (AVX512-CFLAGS): Likewise.
8015         (CFLAGS-tst-audit10.c): Likewise.
8016         (CFLAGS-tst-auditmod10a.c): Likewise.
8017         (CFLAGS-tst-auditmod10b.c): Likewise.
8018         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
8019         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
8020         * sysdeps/x86_64/configure: Regenerated.
8021         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
8022         AVX-512 zmm register support.
8023         (_dl_x86_64_save_sse): Likewise.
8024         (_dl_x86_64_restore_sse): Likewise.
8025         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
8026         size vector registers.
8027         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8028         (ZMM_SIZE): Likewise.
8029         * sysdeps/x86_64/tst-audit10.c: New file.
8030         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
8031         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
8033 2014-03-13  Roland McGrath  <roland@hack.frob.com>
8035         * configure.ac (HAVE_EHDR_START): New check.
8036         * configure: Regenerated.
8037         * config.h.in (HAVE_EHDR_START): New #undef.
8038         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
8039         assuming the lowest-addressed segment maps the start of the file.
8041 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
8043         * INSTALL: Regenerated.
8045 2014-03-13  Will Newton  <will.newton@linaro.org>
8047         * manual/setjmp.texi (System V contexts): Improve
8048         clarity and grammar of documentation.
8050 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
8052         [BZ #16381]
8053         * elf/Makefile (tests): Add tst-pie2.
8054         (tests-pie): Add tst-pie2.
8055         * elf/tst-pie2.c: New file.
8056         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8057         for ET_EXEC.
8058         * elf/rtld.c (map_doit): Load executable as lt_executable.
8059         (dl_main): Likewise.
8061 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
8063         [BZ #16642]
8064         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8065         (__ASSUME_PSELECT): Undefine.
8067 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8069         [BZ #16689]
8070         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
8071         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
8072         static build.
8073         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8074         selector for static builds.
8076 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8078         [BZ #16695]
8079         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8080         key in the buffer.
8082 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8084         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8085         IFUNC selector for static builds.
8087 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
8089         * sysdeps/mips/math_private.h [__mips_hard_float]
8090         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8091         libc_feresetround_mips_ctx.
8092         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8093         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8094         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8096         [BZ #16677]
8097         * math/s_nextafter.c (__nextafter): Do not return value from
8098         overflowing computation.
8099         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8100         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8101         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8102         Likewise.
8103         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8104         Likewise.
8105         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8106         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8108 2014-03-11  Roland McGrath  <roland@hack.frob.com>
8110         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8111         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8112         Move sfi_sp use from the load-multiple (that no longer sets sp) to
8113         the new mov targetting sp.
8115 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8117         [BZ #16683]
8118         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8119         Define it for static builds as well.
8120         (NO_BZERO_IMPL): Likewise.
8122 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8124         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8125         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8126         multiarch strspn for PPC64.
8127         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8128         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8129         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8130         (__libc_ifunc_impl_list): Likewise.
8131         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8132         multiarch optimizations
8133         * string/strspn.c (strspn): Using macro to redefine symbol name.
8135 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8136             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8138         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8139         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8140         multiarch strncat for PPC64.
8141         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8142         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8143         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8144         (__libc_ifunc_impl_list): Likewise.
8145         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8146         multiarch optimizations
8148 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8150         [BZ #16639]
8151         * nscd/nscd.service: Make service type forking.
8153 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8155         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8156         sign in non default rounding modes.
8157         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8159 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
8161         * math/libm-test.inc (ALL_RM_TEST): New macro.
8162         (ceil_test): Use ALL_RM_TEST.
8163         (cimag_test): Likewise.
8164         (conj_test): Likewise.
8165         (copysign_test): Likewise.
8166         (cproj_test): Likewise.
8167         (creal_test): Likewise.
8168         (fabs_test): Likewise.
8169         (floor_test): Likewise.
8170         (fmax_test): Likewise.
8171         (fmin_test): Likewise.
8172         (fmod_test): Likewise.
8173         (fpclassify_test): Likewise.
8174         (frexp_test): Likewise.
8175         (ilogb_test): Likewise.
8176         (isfinite_test): Likewise.
8177         (finite_test): Likewise.
8178         (isgreater_test): Likewise.
8179         (isgreaterequal_test): Likewise.
8180         (isinf_test): Likewise.
8181         (isless_test): Likewise.
8182         (islessequal_test): Likewise.
8183         (islessgreater_test): Likewise.
8184         (isnan_test): Likewise.
8185         (isnormal_test): Likewise.
8186         (issignaling_test): Likewise.
8187         (isunordered_test): Likewise.
8188         (logb_test): Likewise.
8189         (logb_downward_test_data): Remove.
8190         (logb_test_downward): Likewise.
8191         (lround_test): Use ALL_RM_TEST.
8192         (llround_test): Likewise.
8193         (modf_test): Likewise.
8194         (nexttoward_test): Likewise.
8195         (remainder_test): Likewise.
8196         (drem_test): Likewise.
8197         (remainder_tonearest_test_data): Likewise.
8198         (remainder_test_tonearest): Likewise.
8199         (drem_test_tonearest): Likewise.
8200         (remainder_towardzero_test_data): Likewise.
8201         (remainder_test_towardzero): Likewise.
8202         (drem_test_towardzero): Likewise.
8203         (remainder_downward_test_data): Likewise.
8204         (remainder_test_downward): Likewise.
8205         (drem_test_downward): Likewise.
8206         (remainder_upward_test_data): Likewise.
8207         (remainder_test_upward): Likewise.
8208         (drem_test_upward): Likewise.
8209         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
8210         (round_test): Use ALL_RM_TEST.
8211         (signbit_test): Likewise.
8212         (trunc_test): Likewise.
8213         (significand_test): Likewise.
8214         (main): Don't call removed functions.
8216 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
8218         [BZ #16674]
8219         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
8220         || __USE_XOPEN2K8].
8221         (ILL_ILLOPN): Likewise.
8222         (ILL_ILLADR): Likewise.
8223         (ILL_ILLTRP): Likewise.
8224         (ILL_PRVOPC): Likewise.
8225         (ILL_PRVREG): Likewise.
8226         (ILL_COPROC): Likewise.
8227         (ILL_BADSTK): Likewise.
8228         (FPE_INTDIV): Likewise.
8229         (FPE_INTOVF): Likewise.
8230         (FPE_FLTDIV): Likewise.
8231         (FPE_FLTOVF): Likewise.
8232         (FPE_FLTUND): Likewise.
8233         (FPE_FLTRES): Likewise.
8234         (FPE_FLTINV): Likewise.
8235         (FPE_FLTSUB): Likewise.
8236         (SEGV_MAPERR): Likewise.
8237         (SEGV_ACCERR): Likewise.
8238         (BUS_ADRALN): Likewise.
8239         (BUS_ADRERR): Likewise.
8240         (BUS_OBJERR): Likewise.
8241         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8242         (TRAP_TRACE): Likewise.
8243         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8244         __USE_XOPEN2K8].
8245         (CLD_KILLED): Likewise.
8246         (CLD_DUMPED): Likewise.
8247         (CLD_TRAPPED): Likewise.
8248         (CLD_STOPPED): Likewise.
8249         (CLD_CONTINUED): Likewise.
8250         (POLL_IN): Likewise.
8251         (POLL_OUT): Likewise.
8252         (POLL_MSG): Likewise.
8253         (POLL_ERR): Likewise.
8254         (POLL_PRI): Likewise.
8255         (POLL_HUP): Likewise.
8256         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8257         Likewise.
8258         (ILL_ILLOPN): Likewise.
8259         (ILL_ILLADR): Likewise.
8260         (ILL_ILLTRP): Likewise.
8261         (ILL_PRVOPC): Likewise.
8262         (ILL_PRVREG): Likewise.
8263         (ILL_COPROC): Likewise.
8264         (ILL_BADSTK): Likewise.
8265         (FPE_INTDIV): Likewise.
8266         (FPE_INTOVF): Likewise.
8267         (FPE_FLTDIV): Likewise.
8268         (FPE_FLTOVF): Likewise.
8269         (FPE_FLTUND): Likewise.
8270         (FPE_FLTRES): Likewise.
8271         (FPE_FLTINV): Likewise.
8272         (FPE_FLTSUB): Likewise.
8273         (SEGV_MAPERR): Likewise.
8274         (SEGV_ACCERR): Likewise.
8275         (BUS_ADRALN): Likewise.
8276         (BUS_ADRERR): Likewise.
8277         (BUS_OBJERR): Likewise.
8278         (BUS_MCEERR_AR): Likewise.
8279         (BUS_MCEERR_AO): Likewise.
8280         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8281         (TRAP_TRACE): Likewise.
8282         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8283         __USE_XOPEN2K8].
8284         (CLD_KILLED): Likewise.
8285         (CLD_DUMPED): Likewise.
8286         (CLD_TRAPPED): Likewise.
8287         (CLD_STOPPED): Likewise.
8288         (CLD_CONTINUED): Likewise.
8289         (POLL_IN): Likewise.
8290         (POLL_OUT): Likewise.
8291         (POLL_MSG): Likewise.
8292         (POLL_ERR): Likewise.
8293         (POLL_PRI): Likewise.
8294         (POLL_HUP): Likewise.
8295         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8296         (ILL_ILLOPN): Likewise.
8297         (ILL_ILLADR): Likewise.
8298         (ILL_ILLTRP): Likewise.
8299         (ILL_PRVOPC): Likewise.
8300         (ILL_PRVREG): Likewise.
8301         (ILL_COPROC): Likewise.
8302         (ILL_BADSTK): Likewise.
8303         (FPE_INTDIV): Likewise.
8304         (FPE_INTOVF): Likewise.
8305         (FPE_FLTDIV): Likewise.
8306         (FPE_FLTOVF): Likewise.
8307         (FPE_FLTUND): Likewise.
8308         (FPE_FLTRES): Likewise.
8309         (FPE_FLTINV): Likewise.
8310         (FPE_FLTSUB): Likewise.
8311         (SEGV_MAPERR): Likewise.
8312         (SEGV_ACCERR): Likewise.
8313         (BUS_ADRALN): Likewise.
8314         (BUS_ADRERR): Likewise.
8315         (BUS_OBJERR): Likewise.
8316         (BUS_MCEERR_AR): Likewise.
8317         (BUS_MCEERR_AO): Likewise.
8318         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8319         (TRAP_TRACE): Likewise.
8320         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8321         __USE_XOPEN2K8].
8322         (CLD_KILLED): Likewise.
8323         (CLD_DUMPED): Likewise.
8324         (CLD_TRAPPED): Likewise.
8325         (CLD_STOPPED): Likewise.
8326         (CLD_CONTINUED): Likewise.
8327         (POLL_IN): Likewise.
8328         (POLL_OUT): Likewise.
8329         (POLL_MSG): Likewise.
8330         (POLL_ERR): Likewise.
8331         (POLL_PRI): Likewise.
8332         (POLL_HUP): Likewise.
8333         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
8334         Likewise.
8335         (ILL_ILLOPN): Likewise.
8336         (ILL_ILLADR): Likewise.
8337         (ILL_ILLTRP): Likewise.
8338         (ILL_PRVOPC): Likewise.
8339         (ILL_PRVREG): Likewise.
8340         (ILL_COPROC): Likewise.
8341         (ILL_BADSTK): Likewise.
8342         (ILL_BADIADDR): Likewise.
8343         (ILL_BREAK): Likewise.
8344         (FPE_INTDIV): Likewise.
8345         (FPE_INTOVF): Likewise.
8346         (FPE_FLTDIV): Likewise.
8347         (FPE_FLTOVF): Likewise.
8348         (FPE_FLTUND): Likewise.
8349         (FPE_FLTRES): Likewise.
8350         (FPE_FLTINV): Likewise.
8351         (FPE_FLTSUB): Likewise.
8352         (FPE_DECOVF): Likewise.
8353         (FPE_DECDIV): Likewise.
8354         (FPE_DECERR): Likewise.
8355         (FPE_INVASC): Likewise.
8356         (FPE_INVDEC): Likewise.
8357         (SEGV_MAPERR): Likewise.
8358         (SEGV_ACCERR): Likewise.
8359         (SEGV_PSTKOVF): Likewise.
8360         (BUS_ADRALN): Likewise.
8361         (BUS_ADRERR): Likewise.
8362         (BUS_OBJERR): Likewise.
8363         (BUS_MCEERR_AR): Likewise.
8364         (BUS_MCEERR_AO): Likewise.
8365         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8366         (TRAP_TRACE): Likewise.
8367         (TRAP_BRANCH): Likewise.
8368         (TRAP_HWBKPT): Likewise.
8369         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8370         __USE_XOPEN2K8].
8371         (CLD_KILLED): Likewise.
8372         (CLD_DUMPED): Likewise.
8373         (CLD_TRAPPED): Likewise.
8374         (CLD_STOPPED): Likewise.
8375         (CLD_CONTINUED): Likewise.
8376         (POLL_IN): Likewise.
8377         (POLL_OUT): Likewise.
8378         (POLL_MSG): Likewise.
8379         (POLL_ERR): Likewise.
8380         (POLL_PRI): Likewise.
8381         (POLL_HUP): Likewise.
8382         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
8383         (ILL_ILLOPN): Likewise.
8384         (ILL_ILLADR): Likewise.
8385         (ILL_ILLTRP): Likewise.
8386         (ILL_PRVOPC): Likewise.
8387         (ILL_PRVREG): Likewise.
8388         (ILL_COPROC): Likewise.
8389         (ILL_BADSTK): Likewise.
8390         (FPE_INTDIV): Likewise.
8391         (FPE_INTOVF): Likewise.
8392         (FPE_FLTDIV): Likewise.
8393         (FPE_FLTOVF): Likewise.
8394         (FPE_FLTUND): Likewise.
8395         (FPE_FLTRES): Likewise.
8396         (FPE_FLTINV): Likewise.
8397         (FPE_FLTSUB): Likewise.
8398         (SEGV_MAPERR): Likewise.
8399         (SEGV_ACCERR): Likewise.
8400         (BUS_ADRALN): Likewise.
8401         (BUS_ADRERR): Likewise.
8402         (BUS_OBJERR): Likewise.
8403         (BUS_MCEERR_AR): Likewise.
8404         (BUS_MCEERR_AO): Likewise.
8405         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8406         (TRAP_TRACE): Likewise.
8407         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8408         __USE_XOPEN2K8].
8409         (CLD_KILLED): Likewise.
8410         (CLD_DUMPED): Likewise.
8411         (CLD_TRAPPED): Likewise.
8412         (CLD_STOPPED): Likewise.
8413         (CLD_CONTINUED): Likewise.
8414         (POLL_IN): Likewise.
8415         (POLL_OUT): Likewise.
8416         (POLL_MSG): Likewise.
8417         (POLL_ERR): Likewise.
8418         (POLL_PRI): Likewise.
8419         (POLL_HUP): Likewise.
8420         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8421         (ILL_ILLOPN): Likewise.
8422         (ILL_ILLADR): Likewise.
8423         (ILL_ILLTRP): Likewise.
8424         (ILL_PRVOPC): Likewise.
8425         (ILL_PRVREG): Likewise.
8426         (ILL_COPROC): Likewise.
8427         (ILL_BADSTK): Likewise.
8428         (FPE_INTDIV): Likewise.
8429         (FPE_INTOVF): Likewise.
8430         (FPE_FLTDIV): Likewise.
8431         (FPE_FLTOVF): Likewise.
8432         (FPE_FLTUND): Likewise.
8433         (FPE_FLTRES): Likewise.
8434         (FPE_FLTINV): Likewise.
8435         (FPE_FLTSUB): Likewise.
8436         (SEGV_MAPERR): Likewise.
8437         (SEGV_ACCERR): Likewise.
8438         (BUS_ADRALN): Likewise.
8439         (BUS_ADRERR): Likewise.
8440         (BUS_OBJERR): Likewise.
8441         (BUS_MCEERR_AR): Likewise.
8442         (BUS_MCEERR_AO): Likewise.
8443         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8444         (TRAP_TRACE): Likewise.
8445         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8446         __USE_XOPEN2K8].
8447         (CLD_KILLED): Likewise.
8448         (CLD_DUMPED): Likewise.
8449         (CLD_TRAPPED): Likewise.
8450         (CLD_STOPPED): Likewise.
8451         (CLD_CONTINUED): Likewise.
8452         (POLL_IN): Likewise.
8453         (POLL_OUT): Likewise.
8454         (POLL_MSG): Likewise.
8455         (POLL_ERR): Likewise.
8456         (POLL_PRI): Likewise.
8457         (POLL_HUP): Likewise.
8458         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8459         (ILL_ILLOPN): Likewise.
8460         (ILL_ILLADR): Likewise.
8461         (ILL_ILLTRP): Likewise.
8462         (ILL_PRVOPC): Likewise.
8463         (ILL_PRVREG): Likewise.
8464         (ILL_COPROC): Likewise.
8465         (ILL_BADSTK): Likewise.
8466         (FPE_INTDIV): Likewise.
8467         (FPE_INTOVF): Likewise.
8468         (FPE_FLTDIV): Likewise.
8469         (FPE_FLTOVF): Likewise.
8470         (FPE_FLTUND): Likewise.
8471         (FPE_FLTRES): Likewise.
8472         (FPE_FLTINV): Likewise.
8473         (FPE_FLTSUB): Likewise.
8474         (SEGV_MAPERR): Likewise.
8475         (SEGV_ACCERR): Likewise.
8476         (BUS_ADRALN): Likewise.
8477         (BUS_ADRERR): Likewise.
8478         (BUS_OBJERR): Likewise.
8479         (BUS_MCEERR_AR): Likewise.
8480         (BUS_MCEERR_AO): Likewise.
8481         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8482         (TRAP_TRACE): Likewise.
8483         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8484         __USE_XOPEN2K8].
8485         (CLD_KILLED): Likewise.
8486         (CLD_DUMPED): Likewise.
8487         (CLD_TRAPPED): Likewise.
8488         (CLD_STOPPED): Likewise.
8489         (CLD_CONTINUED): Likewise.
8490         (POLL_IN): Likewise.
8491         (POLL_OUT): Likewise.
8492         (POLL_MSG): Likewise.
8493         (POLL_ERR): Likewise.
8494         (POLL_PRI): Likewise.
8495         (POLL_HUP): Likewise.
8496         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8497         (ILL_ILLOPN): Likewise.
8498         (ILL_ILLADR): Likewise.
8499         (ILL_ILLTRP): Likewise.
8500         (ILL_PRVOPC): Likewise.
8501         (ILL_PRVREG): Likewise.
8502         (ILL_COPROC): Likewise.
8503         (ILL_BADSTK): Likewise.
8504         (ILL_DBLFLT): Likewise.
8505         (ILL_HARDWALL): Likewise.
8506         (FPE_INTDIV): Likewise.
8507         (FPE_INTOVF): Likewise.
8508         (FPE_FLTDIV): Likewise.
8509         (FPE_FLTOVF): Likewise.
8510         (FPE_FLTUND): Likewise.
8511         (FPE_FLTRES): Likewise.
8512         (FPE_FLTINV): Likewise.
8513         (FPE_FLTSUB): Likewise.
8514         (SEGV_MAPERR): Likewise.
8515         (SEGV_ACCERR): Likewise.
8516         (BUS_ADRALN): Likewise.
8517         (BUS_ADRERR): Likewise.
8518         (BUS_OBJERR): Likewise.
8519         (BUS_MCEERR_AR): Likewise.
8520         (BUS_MCEERR_AO): Likewise.
8521         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8522         (TRAP_TRACE): Likewise.
8523         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8524         __USE_XOPEN2K8].
8525         (CLD_KILLED): Likewise.
8526         (CLD_DUMPED): Likewise.
8527         (CLD_TRAPPED): Likewise.
8528         (CLD_STOPPED): Likewise.
8529         (CLD_CONTINUED): Likewise.
8530         (POLL_IN): Likewise.
8531         (POLL_OUT): Likewise.
8532         (POLL_MSG): Likewise.
8533         (POLL_ERR): Likewise.
8534         (POLL_PRI): Likewise.
8535         (POLL_HUP): Likewise.
8536         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
8537         (ILL_ILLOPN): Likewise.
8538         (ILL_ILLADR): Likewise.
8539         (ILL_ILLTRP): Likewise.
8540         (ILL_PRVOPC): Likewise.
8541         (ILL_PRVREG): Likewise.
8542         (ILL_COPROC): Likewise.
8543         (ILL_BADSTK): Likewise.
8544         (FPE_INTDIV): Likewise.
8545         (FPE_INTOVF): Likewise.
8546         (FPE_FLTDIV): Likewise.
8547         (FPE_FLTOVF): Likewise.
8548         (FPE_FLTUND): Likewise.
8549         (FPE_FLTRES): Likewise.
8550         (FPE_FLTINV): Likewise.
8551         (FPE_FLTSUB): Likewise.
8552         (SEGV_MAPERR): Likewise.
8553         (SEGV_ACCERR): Likewise.
8554         (BUS_ADRALN): Likewise.
8555         (BUS_ADRERR): Likewise.
8556         (BUS_OBJERR): Likewise.
8557         (BUS_MCEERR_AR): Likewise.
8558         (BUS_MCEERR_AO): Likewise.
8559         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8560         (TRAP_TRACE): Likewise.
8561         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8562         __USE_XOPEN2K8].
8563         (CLD_KILLED): Likewise.
8564         (CLD_DUMPED): Likewise.
8565         (CLD_TRAPPED): Likewise.
8566         (CLD_STOPPED): Likewise.
8567         (CLD_CONTINUED): Likewise.
8568         (POLL_IN): Likewise.
8569         (POLL_OUT): Likewise.
8570         (POLL_MSG): Likewise.
8571         (POLL_ERR): Likewise.
8572         (POLL_PRI): Likewise.
8573         (POLL_HUP): Likewise.
8574         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
8575         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8577         [BZ #16670]
8578         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
8579         before #include of <time.h>.
8580         [!__USE_XOPEN2K] (__need_timespec): Likewise.
8581         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
8582         (test-xfail-UNIX98/sched.h/conform): Likewise.
8584 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8586         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
8587         error absence of trapping exception support.
8588         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8590 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
8592         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
8593         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
8594         * timezone/Makefile (testdata): Move definition above include of
8595         Rules.
8596         (test-zones): New variable.
8597         (tests-special): Add zone files.
8598         (build-testdata): Use $(evaluate-test).
8600         * elf/Makefile (tests-special): Rename tests to end with .out.
8601         ($(objpfx)noload-mem): Likewise.
8602         ($(objpfx)tst-leaks1-mem): Likewise.
8603         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
8604         * iconv/Makefile (xtests-special): Change test-iconvconfig to
8605         $(objpfx)test-iconvconfig.out.
8606         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
8607         set -e inside subshell and redirect output to file.
8608         * iconvdata/Makefile (generated): Rename tests to end with .out.
8609         Correct type.
8610         (tests-special): Rename tests to end with .out.
8611         ($(objpfx)mtrace-tst-loading): Likewise.
8612         * intl/Makefile (generated): Likewise.
8613         (tests-special): Likewise.
8614         ($(objpfx)mtrace-tst-gettext): Likewise.
8615         * misc/Makefile (generated): Likewise.
8616         (tests-special): Likewise.
8617         ($(objpfx)tst-error1-mem): Likewise.
8618         * nptl/Makefile (tests-special): Likewise.
8619         ($(objpfx)tst-stack3-mem): Likewise.
8620         (generated): Likewise.
8621         * posix/Makefile (generated): Likewise.
8622         (tests-special): Likewise.
8623         (xtests-special): Likewise.
8624         ($(objpfx)tst-fnmatch-mem): Likewise.
8625         ($(objpfx)bug-regex2-mem): Likewise.
8626         ($(objpfx)bug-regex14-mem): Likewise.
8627         ($(objpfx)bug-regex21-mem): Likewise.
8628         ($(objpfx)bug-regex31-mem): Likewise.
8629         ($(objpfx)tst-vfork3-mem): Likewise.
8630         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8631         ($(objpfx)tst-pcre-mem): Likewise.
8632         ($(objpfx)tst-boost-mem): Likewise.
8633         ($(objpfx)bug-ga2-mem): Likewise.
8634         ($(objpfx)bug-glob2-mem): Likewise.
8635         * resolv/Makefile (generate): Likewise.
8636         (tests-special): Likewise.
8637         (xtests-special): Likewise.
8638         (generated): Likewise.
8639         ($(objpfx)mtrace-tst-leaks): Likewise.
8640         ($(objpfx)mtrace-tst-leaks2): Likewise.
8642         * scripts/merge-test-results.sh: New file.
8643         * Makefile (tests-special-notdir): New variable.
8644         (tests): Run merge-test-results.sh.
8645         (xtests): Likewise.
8646         * Rules (tests-special-notdir): New variable.
8647         (xtests-special-notdir): Likewise.
8648         (tests): Run merge-test-results.sh
8649         (xtests): Likewise.
8651         * Makeconfig (test-xfail-name): New variable.
8652         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
8653         compute variable name for expected failures.
8654         * conform/Makefile (conformtest-headers-data): New variable.
8655         (conformtest-standards): Likewise.
8656         (conformtest-headers-ISO): Likewise.
8657         (conformtest-headers-ISO99): Likewise.
8658         (conformtest-headers-ISO11): Likewise.
8659         (conformtest-headers-POSIX): Likewise.
8660         (conformtest-headers-XPG3): Likewise.
8661         (conformtest-headers-XPG4): Likewise.
8662         (conformtest-headers-UNIX98): Likewise.
8663         (conformtest-headers-XOPEN2K): Likewise.
8664         (conformtest-headers-POSIX2008): Likewise.
8665         (conformtest-headers-XOPEN2K8): Likewise.
8666         (conformtest-header-list-base): Likewise.
8667         (conformtest-header-list-tests): Likewise.
8668         (conformtest-header-base): Likewise.
8669         (conformtest-header-tests): Likewise.
8670         (tests-special): Add $(conformtest-header-list-tests).  If
8671         [$(fast-check) && !$(cross-compiling)], add
8672         $(conformtest-header-tests) instead of
8673         $(objpfx)run-conformtest.out.
8674         (generated): Add $(conformtest-header-list-base).  If
8675         [$(fast-check) && !$(cross-compiling)], add
8676         $(conformtest-header-base).  Remove previous setting.
8677         ($(conformtest-header-list-tests)): New target.
8678         (test-xfail-run-conformtest): Remove variable.
8679         ($(objpfx)run-conformtest.out): Remove target.
8680         (test-xfail-ISO11/complex.h/conform): New variable.
8681         (test-xfail-ISO11/stdalign.h/conform): Likewise.
8682         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8683         (test-xfail-XPG3/varargs.h/conform): Likewise.
8684         (test-xfail-XPG4/varargs.h/conform): Likewise.
8685         (test-xfail-UNIX98/varargs.h/conform): Likewise.
8686         (test-xfail-XPG4/ndbm.h/conform): Likewise.
8687         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
8688         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
8689         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
8690         (test-xfail-XPG3/fcntl.h/conform): Likewise.
8691         (test-xfail-XPG3/ftw.h/conform): Likewise.
8692         (test-xfail-XPG3/grp.h/conform): Likewise.
8693         (test-xfail-XPG3/langinfo.h/conform): Likewise.
8694         (test-xfail-XPG3/limits.h/conform): Likewise.
8695         (test-xfail-XPG3/pwd.h/conform): Likewise.
8696         (test-xfail-XPG3/search.h/conform): Likewise.
8697         (test-xfail-XPG3/signal.h/conform): Likewise.
8698         (test-xfail-XPG3/stdio.h/conform): Likewise.
8699         (test-xfail-XPG3/stdlib.h/conform): Likewise.
8700         (test-xfail-XPG3/string.h/conform): Likewise.
8701         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
8702         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
8703         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8704         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8705         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
8706         (test-xfail-XPG3/sys/types.h/conform): Likewise.
8707         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
8708         (test-xfail-XPG3/termios.h/conform): Likewise.
8709         (test-xfail-XPG3/time.h/conform): Likewise.
8710         (test-xfail-XPG3/unistd.h/conform): Likewise.
8711         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
8712         (test-xfail-XPG4/fcntl.h/conform): Likewise.
8713         (test-xfail-XPG4/langinfo.h/conform): Likewise.
8714         (test-xfail-XPG4/netdb.h/conform): Likewise.
8715         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
8716         (test-xfail-XPG4/signal.h/conform): Likewise.
8717         (test-xfail-XPG4/stdio.h/conform): Likewise.
8718         (test-xfail-XPG4/stdlib.h/conform): Likewise.
8719         (test-xfail-XPG4/stropts.h/conform): Likewise.
8720         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8721         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8722         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8723         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8724         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8725         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
8726         (test-xfail-XPG4/sys/time.h/conform): Likewise.
8727         (test-xfail-XPG4/sys/types.h/conform): Likewise.
8728         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
8729         (test-xfail-XPG4/termios.h/conform): Likewise.
8730         (test-xfail-XPG4/ucontext.h/conform): Likewise.
8731         (test-xfail-XPG4/unistd.h/conform): Likewise.
8732         (test-xfail-XPG4/utmpx.h/conform): Likewise.
8733         (test-xfail-POSIX/sched.h/conform): Likewise.
8734         (test-xfail-POSIX/signal.h/conform): Likewise.
8735         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8736         (test-xfail-POSIX/tar.h/conform): Likewise.
8737         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
8738         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
8739         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8740         (test-xfail-UNIX98/netdb.h/conform): Likewise.
8741         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
8742         (test-xfail-UNIX98/sched.h/conform): Likewise.
8743         (test-xfail-UNIX98/signal.h/conform): Likewise.
8744         (test-xfail-UNIX98/stdio.h/conform): Likewise.
8745         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8746         (test-xfail-UNIX98/stropts.h/conform): Likewise.
8747         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8748         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8749         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8750         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8751         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8752         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8753         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8754         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8755         (test-xfail-UNIX98/unistd.h/conform): Likewise.
8756         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8757         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
8758         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
8759         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8760         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8761         (test-xfail-XOPEN2K/math.h/conform): Likewise.
8762         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8763         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8764         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8765         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
8766         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8767         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
8768         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
8769         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8770         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8771         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8772         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8773         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8774         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8775         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8776         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
8777         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8778         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8779         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8780         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8781         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8782         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8783         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8784         (test-xfail-POSIX2008/signal.h/conform): Likewise.
8785         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8786         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8787         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8788         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8789         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8790         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8791         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8792         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8793         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8794         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8795         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8796         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8797         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8798         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8799         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8800         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8801         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8802         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8803         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8804         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8805         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8806         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8807         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8808         (conformtest-cc-flags): Likewise.
8809         ($(conformtest-header-tests): New target.
8810         * conform/check-header-lists.sh: New file.
8811         * conform/run-conformtest.sh: Remove.
8813         * conform/conformtest.pl: Allow ' and \ in values given for
8814         constants.
8815         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8816         inclusion.
8817         [POSIX] (sys/types.h): Likewise.
8818         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8819         inclusion.
8820         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8821         inclusion.
8822         * conform/data/signal.h-data (SIGIO): Remove expectation.
8823         [XPG3] (SIGBUS): Do not expect.
8824         [POSIX || XPG3] (SIGPOLL): Likewise.
8825         [POSIX || XPG3] (SIGPROF): Likewise.
8826         [POSIX || XPG3] (SIGSYS): Likewise.
8827         [XPG3] (SIGTRAP): Likewise.
8828         [POSIX || XPG3] (SIGURG): Likewise.
8829         [POSIX || XPG3] (SIGVTALRM): Likewise.
8830         [POSIX || XPG3] (SIGXCPU): Likewise.
8831         [POSIX || XPG3] (SIGXFSZ): Likewise.
8832         [POSIX] (SA_SIGINFO): Expect.
8833         [XPG3] (siginfo_t): Do not expect type or contents.
8834         [POSIX] (si_pid): Do not expect element.
8835         [POSIX] (si_uid): Likewise.
8836         [POSIX] (si_addr): Likewise.
8837         [POSIX] (si_status): Likewise.
8838         [POSIX] (si_band): Likewise.
8839         [XPG4] (si_value): Likewise.
8840         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8841         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8842         [POSIX || XPG3] (ILL_ILLADR): Likewise.
8843         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8844         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8845         [POSIX || XPG3] (ILL_PRVREG): Likewise.
8846         [POSIX || XPG3] (ILL_COPROC): Likewise.
8847         [POSIX || XPG3] (ILL_BADSTK): Likewise.
8848         [POSIX || XPG3] (FPE_INTDIV): Likewise.
8849         [POSIX || XPG3] (FPE_INTOVF): Likewise.
8850         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8851         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8852         [POSIX || XPG3] (FPE_FLTUND): Likewise.
8853         [POSIX || XPG3] (FPE_FLTRES): Likewise.
8854         [POSIX || XPG3] (FPE_FLTINV): Likewise.
8855         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8856         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8857         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8858         [POSIX || XPG3] (BUS_ADRALN): Likewise.
8859         [POSIX || XPG3] (BUS_ADRERR): Likewise.
8860         [POSIX || XPG3] (BUS_OBJERR): Likewise.
8861         [POSIX || XPG3] (CLD_EXITED): Likewise.
8862         [POSIX || XPG3] (CLD_KILLED): Likewise.
8863         [POSIX || XPG3] (CLD_DUMPED): Likewise.
8864         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8865         [POSIX || XPG3] (CLD_STOPPED): Likewise.
8866         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8867         [POSIX || XPG3] (POLL_IN): Likewise.
8868         [POSIX || XPG3] (POLL_OUT): Likewise.
8869         [POSIX || XPG3] (POLL_MSG): Likewise.
8870         [POSIX || XPG3] (POLL_ERR): Likewise.
8871         [POSIX || XPG3] (POLL_PRI): Likewise.
8872         [POSIX || XPG3] (POLL_HUP): Likewise.
8873         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8874         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8875         (SIG*): Do not allow.
8876         [XPG3] (si_*): Likewise.
8877         [XPG3] (SI_*): Likewise.
8878         [XPG3 || XPG4] (sigev_*): Likewise.
8879         [XPG3 || XPG4] (SIGEV_*): Likewise.
8880         [XPG3 || XPG4] (sival_*): Likewise.
8881         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8882         [POSIX || XPG3] (BUS_*): Likewise.
8883         [POSIX || XPG3] (CLD_*): Likewise.
8884         [POSIX || XPG3] (FPE_*): Likewise.
8885         [POSIX || XPG3] (ILL_*): Likewise.
8886         [POSIX || XPG3] (POLL_*): Likewise.
8887         [POSIX || XPG3] (SEGV_*): Likewise.
8888         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8889         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8890         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8891         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8892         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8893         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8894         Specify type and value.
8895         (TVERSLEN): Likewise.
8896         (REGTYPE): Likewise.
8897         (AREGTYPE): Likewise.
8898         (LNKTYPE): Likewise.
8899         (SYMTYPE): Likewise.
8900         (CHRTYPE): Likewise.
8901         (BLKTYPE): Likewise.
8902         (DIRTYPE): Likewise.
8903         (FIFOTYPE): Likewise.
8904         (CONTTYPE): Likewise.
8905         (TSUID): Likewise.
8906         (TSGID): Likewise.
8907         (TSVTX): Likewise.
8908         (TUREAD): Likewise.
8909         (TUWRITE): Likewise.
8910         (TUEXEC): Likewise.
8911         (TGREAD): Likewise.
8912         (TGWRITE): Likewise.
8913         (TGEXEC): Likewise.
8914         (TOREAD): Likewise.
8915         (TOWRITE): Likewise.
8916         (TOEXEC): Likewise.
8917         [POSIX] (TSVTX): Expect constant.
8919 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
8921         * Makefile (tests): Change dependencies to ....
8922         (tests-special): ... additions to this variable.
8923         (tests): Depend on $(tests-special).
8924         * Makerules (check-abi-list): New variable.
8925         (check-abi): Depend on $(check-abi-list).
8926         [$(subdir) = elf] (tests-special): Add
8927         $(objpfx)check-abi-libc.out.
8928         [$(build-shared) = yes && subdir] (tests-special): Add
8929         $(check-abi-list).
8930         [$(build-shared) = yes && subdir] (tests): Do not depend on
8931         check-abi.
8932         * Rules (tests): Depend on $(tests-special).
8933         (xtests): Depend on $(xtests-special).
8934         * catgets/Makefile (tests): Change dependencies to ....
8935         (tests-special): ... additions to this variable.
8936         * conform/Makefile (tests): Change dependencies to ....
8937         (tests-special): ... additions to this variable.
8938         * elf/Makefile (tests): Change dependencies to ....
8939         (tests-special): ... additions to this variable.
8940         * grp/Makefile (tests): Change dependencies to ....
8941         (tests-special): ... additions to this variable.
8942         * iconv/Makefile (xtests): Change dependencies to ....
8943         (xtests-special): ... additions to this variable.
8944         * iconvdata/Makefile (tests): Change dependencies to ....
8945         (tests-special): ... additions to this variable.
8946         * intl/Makefile (tests): Change dependencies to ....
8947         (tests-special): ... additions to this variable.  Also add
8948         $(objpfx)tst-gettext.out.
8949         * io/Makefile (tests): Change dependencies to ....
8950         (tests-special): ... additions to this variable.
8951         * libio/Makefile (tests): Change dependencies to ....
8952         (tests-special): ... additions to this variable.
8953         * malloc/Makefile (tests): Change dependencies to ....
8954         (tests-special): ... additions to this variable.
8955         * misc/Makefile (tests): Change dependencies to ....
8956         (tests-special): ... additions to this variable.
8957         * nptl/Makefile (tests): Change dependencies to ....
8958         (tests-special): ... additions to this variable.
8959         * nptl_db/Makefile (tests): Change dependencies to ....
8960         (tests-special): ... additions to this variable.
8961         * posix/Makefile (tests): Change dependencies to ....
8962         (tests-special): ... additions to this variable.
8963         (xtests): Change dependencies to ....
8964         (xtests-special): ... additions to this variable.
8965         * resolv/Makefile (tests): Change dependencies to ....
8966         (tests-special): ... additions to this variable.
8967         (xtests): Change dependencies to ....
8968         (xtests-special): ... additions to this variable.
8969         * stdio-common/Makefile (tests): Change dependencies to ....
8970         (tests-special): ... additions to this variable.
8971         (do-tst-unbputc): Remove target.
8972         (do-tst-printf): Likewise.
8973         * stdlib/Makefile (tests): Change dependencies to ....
8974         (tests-special): ... additions to this variable.
8975         * string/Makefile (tests): Change dependencies to ....
8976         (tests-special): ... additions to this variable.
8977         * sysdeps/x86/Makefile (tests): Change dependencies to ....
8978         (tests-special): ... additions to this variable.
8980         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
8981         whole file.
8982         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
8983         whole file.
8984         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
8985         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
8987         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
8988         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
8989         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
8990         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
8991         * conform/data/libgen.h-data [XPG3]: Likewise.
8992         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
8993         * conform/data/ndbm.h-data [XPG3]: Likewise.
8994         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8995         * conform/data/netdb.h-data [XPG3]: Likewise.
8996         * conform/data/netinet/in.h-data [XPG3]: Likewise.
8997         * conform/data/poll.h-data [XPG3]: Likewise.
8998         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
8999         * conform/data/strings.h-data [XPG3]: Likewise.
9000         * conform/data/stropts.h-data [XPG3]: Likewise.
9001         * conform/data/sys/mman.h-data [XPG3]: Likewise.
9002         * conform/data/sys/resource.h-data [XPG3]: Likewise.
9003         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9004         Likewise.
9005         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
9006         * conform/data/sys/time.h-data [XPG3]: Likewise.
9007         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
9008         * conform/data/sys/uio.h-data [XPG3]: Likewise.
9009         * conform/data/sys/un.h-data [XPG3]: Likewise.
9010         * conform/data/syslog.h-data [XPG3]: Likewise.
9011         * conform/data/ucontext.h-data [XPG3]: Likewise.
9012         * conform/data/utmpx.h-data [XPG3]: Likewise.
9013         * conform/data/varargs.h-data [UNIX98]: Enable file.
9015         * manual/Makefile (INSTALL_INFO): Remove variable setting.
9017         * math/libm-test.inc (struct test_f_f_data): Move expected results
9018         into structure for each rounding mode.
9019         (struct test_ff_f_data): Likewise.
9020         (struct test_ff_f_data_nexttoward): Likewise.
9021         (struct test_fi_f_data): Likewise.
9022         (struct test_fl_f_data): Likewise.
9023         (struct test_if_f_data): Likewise.
9024         (struct test_fff_f_data): Likewise.
9025         (struct test_c_f_data): Likewise.
9026         (struct test_f_f1_data): Likewise.
9027         (struct test_fF_f1_data): Likewise.
9028         (struct test_ffI_f1_data): Likewise.
9029         (struct test_c_c_data): Likewise.
9030         (struct test_cc_c_data): Likewise.
9031         (struct test_f_i_data): Likewise.
9032         (struct test_ff_i_data): Likewise.
9033         (struct test_f_l_data): Likewise.
9034         (struct test_f_L_data): Likewise.
9035         (struct test_fFF_11_data): Likewise.
9036         (RM_): New macro.
9037         (RM_FE_DOWNWARD): Likewise.
9038         (RM_FE_TONEAREST): Likewise.
9039         (RM_FE_TOWARDZERO): Likewise.
9040         (RM_FE_UPWARD): Likewise.
9041         (RUN_TEST_LOOP_f_f): Update references to expected results.
9042         (RUN_TEST_LOOP_2_f): Likewise.
9043         (RUN_TEST_LOOP_fff_f): Likewise.
9044         (RUN_TEST_LOOP_c_f): Likewise.
9045         (RUN_TEST_LOOP_f_f1): Likewise.
9046         (RUN_TEST_LOOP_fF_f1): Likewise.
9047         (RUN_TEST_LOOP_fI_f1): Likewise.
9048         (RUN_TEST_LOOP_ffI_f1): Likewise.
9049         (RUN_TEST_LOOP_c_c): Likewise.
9050         (RUN_TEST_LOOP_cc_c): Likewise.
9051         (RUN_TEST_LOOP_f_i): Likewise.
9052         (RUN_TEST_LOOP_f_i_tg): Likewise.
9053         (RUN_TEST_LOOP_ff_i_tg): Likewise.
9054         (RUN_TEST_LOOP_f_b): Likewise.
9055         (RUN_TEST_LOOP_f_b_tg): Likewise.
9056         (RUN_TEST_LOOP_f_l): Likewise.
9057         (RUN_TEST_LOOP_f_L): Likewise.
9058         (RUN_TEST_LOOP_fFF_11): Likewise.
9059         * math/gen-libm-test.pl (parse_args): Output four copies of
9060         expected results for each test.
9062         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9063         (__ASSUME_UTIMES): Remove.
9064         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9065         (__ASSUME_UTIMES): Likewise.
9067         * math/gen-auto-libm-tests.c: Update comment on output format.
9068         (output_for_one_input_case): Generate before-rounding and
9069         after-rounding information as conditions on output flags not
9070         floating-point format.
9071         * math/auto-libm-test-out: Regenerated.
9072         * math/gen-libm-test.pl (cond_value): New function.
9073         (or_cond_value): Use cond_value.
9074         (generate_testfile): Handle conditional exceptions.
9076 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
9078         * math/libm-test.inc (max_valid_error): New variable.
9079         (init_max_error): Take new argument specifying whether function
9080         results are exactly determined.  Set max_valid_error and bound
9081         other variables for errors based on this argument.
9082         (set_max_error): Do not record results above max_valid_error.
9083         (check_float_internal): Only accept errors of up to 0.5ulps if
9084         also at most max_valid_error.
9085         (START): Take new argument EXACT and pass it to init_max_error.
9086         (acos_test): Update call to START.
9087         (acos_test_tonearest): Likewise.
9088         (acos_test_towardzero): Likewise.
9089         (acos_test_downward): Likewise.
9090         (acos_test_upward): Likewise.
9091         (acosh_test): Likewise.
9092         (asin_test): Likewise.
9093         (asin_test_tonearest): Likewise.
9094         (asin_test_towardzero): Likewise.
9095         (asin_test_downward): Likewise.
9096         (asin_test_upward): Likewise.
9097         (asinh_test): Likewise.
9098         (atan_test): Likewise.
9099         (atanh_test): Likewise.
9100         (atan2_test): Likewise.
9101         (cabs_test): Likewise.
9102         (cacos_test): Likewise.
9103         (cacosh_test): Likewise.
9104         (carg_test): Likewise.
9105         (casin_test): Likewise.
9106         (casinh_test): Likewise.
9107         (catan_test): Likewise.
9108         (catanh_test): Likewise.
9109         (cbrt_test): Likewise.
9110         (ccos_test): Likewise.
9111         (ccosh_test): Likewise.
9112         (ceil_test): Likewise.
9113         (cexp_test): Likewise.
9114         (cimag_test): Likewise.
9115         (clog_test): Likewise.
9116         (clog10_test): Likewise.
9117         (conj_test): Likewise.
9118         (copysign_test): Likewise.
9119         (cos_test): Likewise.
9120         (cos_test_tonearest): Likewise.
9121         (cos_test_towardzero): Likewise.
9122         (cos_test_downward): Likewise.
9123         (cos_test_upward): Likewise.
9124         (cosh_test): Likewise.
9125         (cosh_test_tonearest): Likewise.
9126         (cosh_test_towardzero): Likewise.
9127         (cosh_test_downward): Likewise.
9128         (cosh_test_upward): Likewise.
9129         (cpow_test): Likewise.
9130         (cproj_test): Likewise.
9131         (creal_test): Likewise.
9132         (csin_test): Likewise.
9133         (csinh_test): Likewise.
9134         (csqrt_test): Likewise.
9135         (ctan_test): Likewise.
9136         (ctan_test_tonearest): Likewise.
9137         (ctan_test_towardzero): Likewise.
9138         (ctan_test_downward): Likewise.
9139         (ctan_test_upward): Likewise.
9140         (ctanh_test): Likewise.
9141         (ctanh_test_tonearest): Likewise.
9142         (ctanh_test_towardzero): Likewise.
9143         (ctanh_test_downward): Likewise.
9144         (ctanh_test_upward): Likewise.
9145         (erf_test): Likewise.
9146         (erfc_test): Likewise.
9147         (exp_test): Likewise.
9148         (exp_test_tonearest): Likewise.
9149         (exp_test_towardzero): Likewise.
9150         (exp_test_downward): Likewise.
9151         (exp_test_upward): Likewise.
9152         (exp10_test): Likewise.
9153         (exp10_test_tonearest): Likewise.
9154         (exp10_test_towardzero): Likewise.
9155         (exp10_test_downward): Likewise.
9156         (exp10_test_upward): Likewise.
9157         (pow10_test): Likewise.
9158         (exp2_test): Likewise.
9159         (expm1_test): Likewise.
9160         (expm1_test_tonearest): Likewise.
9161         (expm1_test_towardzero): Likewise.
9162         (expm1_test_downward): Likewise.
9163         (expm1_test_upward): Likewise.
9164         (fabs_test): Likewise.
9165         (fdim_test): Likewise.
9166         (floor_test): Likewise.
9167         (fma_test): Likewise.
9168         (fma_test_towardzero): Likewise.
9169         (fma_test_downward): Likewise.
9170         (fma_test_upward): Likewise.
9171         (fmax_test): Likewise.
9172         (fmin_test): Likewise.
9173         (fmod_test): Likewise.
9174         (fpclassify_test): Likewise.
9175         (frexp_test): Likewise.
9176         (hypot_test): Likewise.
9177         (ilogb_test): Likewise.
9178         (isfinite_test): Likewise.
9179         (finite_test): Likewise.
9180         (isgreater_test): Likewise.
9181         (isgreaterequal_test): Likewise.
9182         (isinf_test): Likewise.
9183         (isless_test): Likewise.
9184         (islessequal_test): Likewise.
9185         (islessgreater_test): Likewise.
9186         (isnan_test): Likewise.
9187         (isnormal_test): Likewise.
9188         (issignaling_test): Likewise.
9189         (isunordered_test): Likewise.
9190         (j0_test): Likewise.
9191         (j1_test): Likewise.
9192         (jn_test): Likewise.
9193         (ldexp_test): Likewise.
9194         (lgamma_test): Likewise.
9195         (gamma_test): Likewise.
9196         (lrint_test): Likewise.
9197         (lrint_test_tonearest): Likewise.
9198         (lrint_test_towardzero): Likewise.
9199         (lrint_test_downward): Likewise.
9200         (lrint_test_upward): Likewise.
9201         (llrint_test): Likewise.
9202         (llrint_test_tonearest): Likewise.
9203         (llrint_test_towardzero): Likewise.
9204         (llrint_test_downward): Likewise.
9205         (llrint_test_upward): Likewise.
9206         (log_test): Likewise.
9207         (log10_test): Likewise.
9208         (log1p_test): Likewise.
9209         (log2_test): Likewise.
9210         (logb_test): Likewise.
9211         (logb_test_downward): Likewise.
9212         (lround_test): Likewise.
9213         (llround_test): Likewise.
9214         (modf_test): Likewise.
9215         (nearbyint_test): Likewise.
9216         (nextafter_test): Likewise.
9217         (nexttoward_test): Likewise.
9218         (pow_test): Likewise.
9219         (pow_test_tonearest): Likewise.
9220         (pow_test_towardzero): Likewise.
9221         (pow_test_downward): Likewise.
9222         (pow_test_upward): Likewise.
9223         (remainder_test): Likewise.
9224         (drem_test): Likewise.
9225         (remainder_test_tonearest): Likewise.
9226         (drem_test_tonearest): Likewise.
9227         (remainder_test_towardzero): Likewise.
9228         (drem_test_towardzero): Likewise.
9229         (remainder_test_downward): Likewise.
9230         (drem_test_downward): Likewise.
9231         (remainder_test_upward): Likewise.
9232         (drem_test_upward): Likewise.
9233         (remquo_test): Likewise.
9234         (rint_test): Likewise.
9235         (rint_test_tonearest): Likewise.
9236         (rint_test_towardzero): Likewise.
9237         (rint_test_downward): Likewise.
9238         (rint_test_upward): Likewise.
9239         (round_test): Likewise.
9240         (scalb_test): Likewise.
9241         (scalbn_test): Likewise.
9242         (scalbln_test): Likewise.
9243         (signbit_test): Likewise.
9244         (sin_test): Likewise.
9245         (sin_test_tonearest): Likewise.
9246         (sin_test_towardzero): Likewise.
9247         (sin_test_downward): Likewise.
9248         (sin_test_upward): Likewise.
9249         (sincos_test): Likewise.
9250         (sinh_test): Likewise.
9251         (sinh_test_tonearest): Likewise.
9252         (sinh_test_towardzero): Likewise.
9253         (sinh_test_downward): Likewise.
9254         (sinh_test_upward): Likewise.
9255         (sqrt_test): Likewise.
9256         (sqrt_test_tonearest): Likewise.
9257         (sqrt_test_towardzero): Likewise.
9258         (sqrt_test_downward): Likewise.
9259         (sqrt_test_upward): Likewise.
9260         (tan_test): Likewise.
9261         (tan_test_tonearest): Likewise.
9262         (tan_test_towardzero): Likewise.
9263         (tan_test_downward): Likewise.
9264         (tan_test_upward): Likewise.
9265         (tanh_test): Likewise.
9266         (tgamma_test): Likewise.
9267         (trunc_test): Likewise.
9268         (y0_test): Likewise.
9269         (y1_test): Likewise.
9270         (yn_test): Likewise.
9271         (significand_test): Likewise.
9273         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9274         individual tests in comment.
9275         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9276         (prev_max_error): New variable.
9277         (prev_real_max_error): Likewise.
9278         (prev_imag_max_error): Likewise.
9279         (compare_ulp_data): Don't refer to test names in comment.
9280         (find_test_ulps): Remove function.
9281         (find_function_ulps): Likewise.
9282         (find_complex_function_ulps): Likewise.
9283         (init_max_error): Take function name as argument.  Look up ulps
9284         for that function.
9285         (print_ulps): Remove function.
9286         (print_max_error): Use prev_max_error instead of calling
9287         find_function_ulps.
9288         (print_complex_max_error): Use prev_real_max_error and
9289         prev_imag_max_error instead of calling find_complex_function_ulps.
9290         (check_float_internal): Take max_ulp parameter instead of calling
9291         find_test_ulps.  Don't call print_ulps.
9292         (check_float): Update call to check_float_internal.
9293         (check_complex): Update calls to check_float_internal.
9294         (START): Pass argument to init_max_error.
9295         * math/gen-libm-test.pl (%results): Don't include "kind"
9296         information.
9297         (parse_ulps): Don't handle ulps of individual tests.
9298         (print_ulps_file): Likewise.
9299         (output_ulps): Likewise.
9300         * math/README.libm-test: Update.
9301         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9302         individual tests.
9303         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9304         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9305         * sysdeps/arm/libm-test-ulps: Likewise.
9306         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9307         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9308         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9309         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9310         * sysdeps/microblaze/libm-test-ulps: Likewise.
9311         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9312         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9313         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9314         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9315         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9316         * sysdeps/sh/libm-test-ulps: Likewise.
9317         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9318         * sysdeps/tile/libm-test-ulps: Likewise.
9319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9321 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
9323         * math/libm-test.inc (print_complex_max_error): Check separately
9324         whether real and imaginary errors are within allowed range and
9325         pass 0 to print_complex_function_ulps instead of value within
9326         allowed range.
9328 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9330         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
9331         formatting.
9332         (get_handles_fopen): Likewise.
9333         (do_write_test): Likewise.
9335         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
9337         * libio/fileops.c (do_ftell): Use cached offset when
9338         available.
9339         * libio/iofwide.c (do_ftell_wide): Likewise.
9340         * libio/iofdopen.c (_IO_new_fdopen): Don't use
9341         _IO_file_attach.
9342         * libio/wfileops.c (_IO_fwide): Don't cache offset.
9344         [BZ #16532]
9345         * libio/libioP.h (get_file_offset): New function.
9346         * libio/fileops.c (get_file_offset): Likewise.
9347         (do_ftell): Likewise.
9348         (_IO_new_file_seekoff): Split out ftell logic.
9349         * libio/wfileops.c (do_ftell_wide): Likewise.
9350         (_IO_wfile_seekoff): Split out ftell logic.
9351         * libio/tst-ftell-active-handler.c: New test case.
9352         * libio/Makefile (tests): Add it.
9354 2014-03-03  Roland McGrath  <roland@hack.frob.com>
9356         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
9357         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
9359 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
9361         [BZ #16639]
9362         * nscd/connections.c (nscd_init): Call do_exit.
9363         (start_threads): Call do_exit and notify_parent.
9364         (begin_drop_privileges): Call do_exit.
9365         (finish_drop_privileges): Likewise.
9366         * nscd/selinux.c (preserve_capabilities): Likewise.
9367         (install_real_capabilities): Likewise.
9368         (nscd_selinux_enabled): Likewise.
9369         (avc_create_thread): Likewise.
9370         (avc_alloc_lock): Likewise.
9371         (nscd_avc_init): Likewise.
9372         * nscd/nscd.c (parent_fd): New static variable.
9373         (main): Create a pipe between parent and child processes.
9374         Skip closing parent_fd.
9375         (monitor_child): New function.
9376         (do_exit): Likewise.
9377         (notify_parent): Likewise.
9378         * nscd/nscd.h (notify_parent): Likewise.
9379         (do_exit): Likewise.
9381 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
9383         * malloc/malloc.c (__libc_calloc): Revert last change.
9385 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9387         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9389 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9391         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9392         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9393         implementation.
9394         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9395         (__libc_ifunc_impl_list): Likewise.
9396         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9397         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9398         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9399         * string/strrchr.c: Define STRRCHR.
9401 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
9403         * benchtest/bench-strtok.c (simple_strtok): Delete.
9404         (strtok_string): Use as benchmark.
9405         * string/strtok (STRTOK): New macro.
9407 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
9409         * manual/threads.texi: Add header and standard comments to all
9410         functions.
9412         * elf/dl-lookup.c (check_match): New function.
9413         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9414         (do_lookup_x): Remove nested function check_match. Use non-nested
9415         function check_match.
9417 2014-02-28  Roland McGrath  <roland@hack.frob.com>
9419         * csu/Makefile (generated, before-compile): Use += rather than =.
9420         * catgets/Makefile (generated, generated-dirs): Likewise.
9421         * debug/Makefile (generated): Likewise.
9422         * dlfcn/Makefile (generated): Likewise.
9423         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9424         * iconvdata/Makefile (before-compile, generated): Likewise.
9425         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9426         * libio/Makefile (generated): Likewise.
9427         * malloc/Makefile (generated): Likewise.
9428         * manual/Makefile (generated, generated-dirs): Likewise.
9429         * misc/Makefile (generated): Likewise.
9430         * posix/Makefile (generated): Likewise.
9431         * resolv/Makefile (generated): Likewise.
9432         * sunrpc/Makefile (generated, generated-dirs): Likewise.
9433         * timezone/Makefile (generated, generated-dirs): Likewise.
9435         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9437 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9439         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9440         power8 implementation.
9441         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9442         file: POWER8 llround ifunc implementation.
9443         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9444         (__lllround): Add POWER8 implementation.
9445         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9446         POWER8 llround implementation.
9448         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9449         power8 implementation.
9450         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9451         file: POWER8 llrint ifunc implementation.
9452         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9453         Add POWER8 implementation.
9454         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9455         POWER8 llrint implementation.
9457         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9458         power8 implementation.
9459         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9460         file: POWER8 finite ifunc implementation.
9461         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9462         Add POWER8 implementation.
9463         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9464         Likewise.
9465         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9466         POWER8 finite implementation.
9467         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9469         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9470         power8 implementation.
9471         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9472         file: POWER8 isinf ifunc implementation.
9473         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9474         POWER8 implementation.
9475         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9476         Likewise.
9477         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9478         isinf implementation.
9479         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9481         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9482         (INIT_ARCH): Add hwcap2 initialization.
9483         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9484         power8 implementation.
9485         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9486         file: POWER8 isnan ifunc implementation.
9487         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9488         POWER8 implementation.
9489         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9490         Likewise.
9491         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9492         isnan implementation.
9493         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9495 2014-02-27  Joey Ye  <joey.ye@arm.com>
9497         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9498         (_FP_NANFRAC_Q): Set to zero.
9500 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9502         [BZ #16623]
9503         * math/auto-libm-test-in: New test inputs.
9504         * math/auto-libm-test-out: Regenerate.
9505         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9506         and DA.
9507         (__cos): Likewise.
9508         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9510 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
9512         * scripts/evaluate-test.sh: Take new argument indicating whether
9513         failure is expected.
9514         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9515         indicating whether failure is expected.
9516         * conform/Makefile (test-xfail-run-conformtest): New variable.
9517         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9518         level.
9519         * posix/Makefile (test-xfail-annexc): New variable.
9520         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
9522 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
9524         * argp/Makefile: Include Makeconfig immediately after defining
9525         subdir.
9526         * assert/Makefile: Likewise.
9527         * benchtests/Makefile: Likewise.
9528         * catgets/Makefile: Likewise.
9529         * conform/Makefile: Likewise.
9530         * crypt/Makefile: Likewise.
9531         * csu/Makefile: Likewise.
9532         (all): Remove target.
9533         * ctype/Makefile: Include Makeconfig immediately after defining
9534         subdir.
9535         * debug/Makefile: Likewise.
9536         * dirent/Makefile: Likewise.
9537         * dlfcn/Makefile: Likewise.
9538         * gmon/Makefile: Likewise.
9539         * gnulib/Makefile: Likewise.
9540         * grp/Makefile: Likewise.
9541         * gshadow/Makefile: Likewise.
9542         * hesiod/Makefile: Likewise.
9543         * hurd/Makefile: Likewise.
9544         (all): Remove target.
9545         * iconvdata/Makefile: Include Makeconfig immediately after
9546         defining subdir.
9547         * inet/Makefile: Likewise.
9548         * intl/Makefile: Likewise.
9549         * io/Makefile: Likewise.
9550         * libio/Makefile: Likewise.
9551         (all): Remove target.
9552         * locale/Makefile: Include Makeconfig immediately after defining
9553         subdir.
9554         * login/Makefile: Likewise.
9555         * mach/Makefile: Likewise.
9556         (all): Remove target.
9557         * malloc/Makefile: Include Makeconfig immediately after defining
9558         subdir.
9559         (all): Remove target.
9560         * manual/Makefile: Include Makeconfig immediately after defining
9561         subdir.
9562         * math/Makefile: Likewise.
9563         * misc/Makefile: Likewise.
9564         * nis/Makefile: Likewise.
9565         * nss/Makefile: Likewise.
9566         * po/Makefile: Likewise.
9567         (all): Remove target.
9568         * posix/Makefile: Include Makeconfig immediately after defining
9569         subdir.
9570         * pwd/Makefile: Likewise.
9571         * resolv/Makefile: Likewise.
9572         * resource/Makefile: Likewise.
9573         * rt/Makefile: Likewise.
9574         * setjmp/Makefile: Likewise.
9575         * shadow/Makefile: Likewise.
9576         * signal/Makefile: Likewise.
9577         * socket/Makefile: Likewise.
9578         * soft-fp/Makefile: Likewise.
9579         * stdio-common/Makefile: Likewise.
9580         * stdlib/Makefile: Likewise.
9581         * streams/Makefile: Likewise.
9582         * string/Makefile: Likewise.
9583         * sunrpc/Makefile: Likewise.
9584         (all): Remove target.
9585         * sysvipc/Makefile: Include Makeconfig immediately after defining
9586         subdir.
9587         * termios/Makefile: Likewise.
9588         * time/Makefile: Likewise.
9589         * timezone/Makefile: Likewise.
9590         (all): Remove target.
9591         * wcsmbs/Makefile: Include Makeconfig immediately after defining
9592         subdir.
9593         * wctype/Makefile: Likewise.
9595 2014-02-26  Steve Ellcey  <sellcey@mips.com>
9597         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
9598         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
9599         (libc_feholdexcept_setround_mips): Ditto.
9600         (libc_feholdsetround): New.
9601         (libc_feholdsetroundf): New.
9602         (libc_feholdsetroundl): New.
9603         (libc_feupdateenv_test_mips): New.
9604         (libc_feupdateenv_test): New.
9605         (libc_feupdateenv_testf): New.
9606         (libc_feupdateenv_testl): New.
9607         (libc_feresetround): New.
9608         (libc_feresetroundf): New.
9609         (libc_feresetroundl): New.
9610         (libc_fetestexcept_mips): New.
9611         (libc_fetestexcept): New.
9612         (libc_fetestexceptf): New.
9613         (libc_fetestexceptl): New.
9614         (HAVE_RM_CTX): New.
9615         (libc_feholdexcept_setround_mips_ctx): New.
9616         (libc_feholdexcept_setround_ctx): New.
9617         (libc_feholdexcept_setroundf_ctx): New.
9618         (libc_feholdexcept_setroundl_ctx): New.
9619         (libc_fesetenv_mips_ctx): New.
9620         (libc_fesetenv_ctx): New.
9621         (libc_fesetenv_ctxf): New.
9622         (libc_fesetenv_ctxl): New.
9623         (libc_feupdateenv_mips_ctx): New.
9624         (libc_feupdateenv_ctx): New.
9625         (libc_feupdateenvf_ctx): New.
9626         (libc_feupdateenvl_ctx): New.
9627         (libc_feholdsetround_mips_ctx): New.
9628         (libc_feholdsetround_ctx): New.
9629         (libc_feholdsetroundf_ctx): New.
9630         (libc_feholdsetroundl_ctx): New.
9631         (libc_feresetround_mips_ctx): New.
9632         (libc_feresetround_ctx): New.
9633         (libc_feresetroundf_ctx): New.
9634         (libc_feresetroundl_ctx): New.
9636 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
9638         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
9640         * manual/ipc.texi: New file.
9641         * manual/Makefile (chapters): Add ipc.
9642         * manual/job.texi: Add "Inter-Process Communication" to next.
9643         * manual/process.texi: Add "Inter-Process Communication" to prev.
9645 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9647         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9649 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
9651         * malloc/malloc.c (__libc_calloc): Simplify implementation.
9653         * manual/arith.texi: Fix spaces after sentences.
9654         * manual/charset.texi: Likewise.
9655         * manual/errno.texi: Likewise.
9656         * manual/install.texi: Likewise.
9657         * manual/llio.texi: Likewise.
9658         * manual/locale.texi: Likewise.
9659         * manual/maint.texi: Likewise.
9660         * manual/math.texi: Likewise.
9661         * manual/memory.texi: Likewise.
9662         * manual/message.texi: Likewise.
9663         * manual/probes.texi: Likewise.
9664         * manual/resource.texi: Likewise.
9665         * manual/signal.texi: Likewise.
9666         * manual/socket.texi: Likewise.
9667         * manual/stdio.texi: Likewise.
9668         * manual/string.texi: Likewise.
9669         * manual/time.texi: Likewise.
9670         * manual/users.texi: Likewise.
9672 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
9674         [BZ #16632]
9675         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
9676         _DEFAULT_SOURCE is defined.
9678 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
9679             Carlos O'Donell  <carlos@redhat.com>
9681         [BZ #16613]
9682         * elf/dl-tls.c (_dl_count_modids): New function.
9683         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
9684         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
9685         audit library and increment generation counter.
9686         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
9687         * elf/tst-audit9.c: New file.
9688         * elf/tst-auditmod9a.c: New file.
9689         * elf/tst-auditmod9b.c: New file.
9690         * elf/Makefile: Add rules to build and run tst-audit9.
9692 2014-02-25  Florian Weimer  <fweimer@redhat.com>
9694         [BZ #15347]
9695         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
9697 2014-02-25  Will Newton  <will.newton@linaro.org>
9699         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
9700         (__longjmp): Restore sp and lr before restoring callee
9701         saved registers.  Add longjmp and longjmp_target
9702         SystemTap probe point.
9703         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
9704         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
9705         Define to zero to match jmpbuf layout.
9706         * sysdeps/arm/setjmp.S: Include stap-probe.h.
9707         (__sigsetjmp): Save sp and lr before saving callee
9708         saved registers.  Add setjmp SystemTap probe point.
9710 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
9712         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9714 2014-02-24  Andreas Schwab  <schwab@suse.de>
9716         [BZ #15804]
9717         * elf/pldd.c (wait_for_ptrace_stop): New function.
9718         (main): Call it after attaching.
9720 2014-02-22  Roland McGrath  <roland@hack.frob.com>
9722         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
9723         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
9724         Versions files is now verboten.
9725         * hurd/Versions (libc: GLIBC_2.0):
9726         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
9727         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9728         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
9729         * mach/Versions: Likewise.
9731         * csu/Versions: Remove unused %include.
9732         * resolv/Versions: Likewise.
9734 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
9736         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9737         ($(objpfx)check-local-headers.out): Likewise.
9738         ($(objpfx)begin-end-check.out): Likewise.
9739         * Makerules (check-abi-%.out): Likewise.
9740         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
9741         ($(objpfx)test2.cat): Likewise.
9742         ($(objpfx)de/libc.cat): Likewise.
9743         ($(objpfx)test-gencat.out): Likewise.
9744         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
9745         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
9746         ($(objpfx)noload-mem): Likewise.
9747         ($(objpfx)tst-pathopt.out): Likewise.
9748         ($(objpfx)tst-rtld-load-self.out): Likewise.
9749         ($(objpfx)tst-array1-cmp.out): Likewise.
9750         ($(objpfx)tst-array1-static-cmp.out): Likewise.
9751         ($(objpfx)tst-array2-cmp.out): Likewise.
9752         ($(objpfx)tst-array3-cmp.out): Likewise.
9753         ($(objpfx)tst-array4-cmp.out): Likewise.
9754         ($(objpfx)tst-array5-cmp.out): Likewise.
9755         ($(objpfx)tst-array5-static-cmp.out): Likewise.
9756         ($(objpfx)check-textrel.out): Likewise.
9757         ($(objpfx)check-execstack.out): Likewise.
9758         ($(objpfx)check-localplt.out): Likewise.
9759         ($(objpfx)order2-cmp.out): Likewise.
9760         ($(objpfx)tst-leaks1-mem): Likewise.
9761         ($(objpfx)tst-leaks1-static-mem): Likewise.
9762         ($(objpfx)tst-initorder-cmp.out): Likewise.
9763         ($(objpfx)tst-initorder2-cmp.out): Likewise.
9764         ($(objpfx)tst-unused-dep.out): Likewise.
9765         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
9766         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9767         * iconv/Makefile (test-iconvconfig): Likewise.
9768         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
9769         ($(objpfx)iconv-test.out): Likewise.
9770         ($(objpfx)tst-tables.out): Likewise.
9771         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
9772         ($(objpfx)tst-gettext.out): Likewise.
9773         ($(objpfx)tst-translit.out): Likewise.
9774         ($(objpfx)tst-gettext2.out): Likewise.
9775         ($(objpfx)tst-gettext4.out): Likewise.
9776         ($(objpfx)tst-gettext6.out): Likewise.
9777         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9778         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9779         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9780         ($(objpfx)tst-fopenloc-mem.out): Likewise.
9781         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9782         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9783         * posix/Makefile ($(objpfx)globtest.out): Likewise.
9784         ($(objpfx)wordexp-tst.out): Likewise.
9785         ($(objpfx)annexc.out): Likewise.
9786         ($(objpfx)tst-fnmatch-mem): Likewise.
9787         ($(objpfx)bug-regex2-mem): Likewise.
9788         ($(objpfx)bug-regex14-mem): Likewise.
9789         ($(objpfx)bug-regex21-mem): Likewise.
9790         ($(objpfx)bug-regex31-mem): Likewise.
9791         ($(objpfx)tst-vfork3-mem): Likewise.
9792         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9793         ($(objpfx)tst-pcre-mem): Likewise.
9794         ($(objpfx)tst-boost-mem): Likewise.
9795         ($(objpfx)tst-getconf.out): Likewise.
9796         ($(objpfx)bug-ga2-mem): Likewise.
9797         ($(objpfx)bug-glob2-mem): Likewise.
9798         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9799         ($(objpfx)mtrace-tst-leaks2): Likewise.
9800         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9801         ($(objpfx)tst-printf.out): Likewise.
9802         ($(objpfx)tst-setvbuf1.out): Likewise.
9803         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9804         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9805         ($(objpfx)tst-fmtmsg.out): Likewise.
9806         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9807         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9809         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9810         * bits/sigaction.h [__USE_MISC]: Likewise.
9811         * bits/waitstatus.h: Update #endif comments.
9812         * ctype/ctype.h: Likewise.
9813         * dirent/dirent.h: Likewise.
9814         [__USE_MISC]: Remove redundant conditionals.
9815         * grp/grp.h: Update #endif comments.
9816         [__USE_GNU]: Remove redundant conditionals.
9817         [__USE_MISC]: Likewise.
9818         * inet/netinet/in.h [__USE_GNU]: Likewise.
9819         * io/sys/stat.h [__USE_MISC]: Likewise.
9820         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9821         * libio/bits/stdio.h: Update #endif comments.
9822         [__USE_MISC]: Remove redundant conditionals.
9823         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9824         * libio/stdio.h: Update #endif comments.
9825         [__USE_MISC]: Remove redundant conditionals.
9826         * math/bits/math-finite.h [__USE_MISC]: Likewise.
9827         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9828         * math/math.h: Update #else and #endif comments.
9829         [__USE_MISC]: Remove redundant conditionals.
9830         * misc/sys/uio.h: Update #endif comments.
9831         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9832         * posix/glob.h [__USE_MISC]: Likewise.
9833         * posix/sys/types.h: Update #endif comments.
9834         [__USE_MISC]: Remove redundant conditionals.
9835         * posix/sys/wait.h: Update #endif comments.
9836         [__USE_MISC]: Remove redundant conditionals.
9837         * posix/unistd.h: Update #endif comments.
9838         [__USE_MISC]: Remove redundant conditionals.
9839         * pwd/pwd.h [__USE_GNU]: Likewise.
9840         [__USE_MISC]: Likewise.
9841         * resolv/netdb.h [__USE_GNU]: Likewise.
9842         * signal/signal.h: Update #endif comments.
9843         [__USE_MISC]: Remove redundant conditionals.
9844         * stdlib/stdlib.h: Update #else and #endif comments.
9845         [__USE_MISC]: Remove redundant conditionals.
9846         [__USE_GNU]: Likewise.
9847         * string/bits/string2.h [__USE_MISC]: Likewise.
9848         * string/string.h: Update #endif comments.
9849         [__USE_MISC]: Remove redundant conditionals.
9850         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9851         Likewise.
9852         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9853         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9854         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9855         Likewise.
9856         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9857         Likewise.
9858         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9859         comments.
9860         [__USE_MISC]: Remove redundant conditionals.
9861         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9862         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9863         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9864         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9865         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9866         Likewise.
9867         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9868         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9869         Likewise.
9870         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9871         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9872         Likewise.
9873         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9874         Likewise.
9875         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9876         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9877         Likewise.
9878         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9879         Likewise.
9880         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9881         * sysdeps/x86/bits/string.h: Update #endif comments.
9882         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9883         conditionals.
9884         * time/sys/time.h: Update #endif comments.
9885         * time/time.h: Likewise.
9886         [__USE_MISC]: Remove redundant conditionals.
9888 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
9890         [BZ #16600]
9891         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9893 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
9895         * Versions.def (librt): Add GLIBC_2.17.
9897 2014-02-21  Adam Conrad  <adconrad@0c3.net>
9899         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
9900         synonym for _SYS_AUXV_H to allow direct inclusion.
9901         * sysdeps/sparc/bits/hwcap.h: Likewise.
9902         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
9903         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
9904         * sysdeps/sparc/sysdep.h: Likewise.
9906 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9908         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
9910 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9912         * benchtests/bench-strrchr.c: Print length instead of position.
9914 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
9916         [BZ #16611]
9917         * sysdeps/unix/sysv/linux/kernel-features.h
9918         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
9919         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
9920         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
9921         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
9922         Likewise.
9923         [__i386__ || __powerpc__ || __sh__ || __sparc__]
9924         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9925         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
9926         (__ASSUME_SENDMMSG): Define instead of using previous
9927         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
9928         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9929         (__ASSUME_SENDMMSG_SYSCALL): Define.
9930         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9931         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
9932         Likewise.
9933         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9934         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9935         Likewise.
9936         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9937         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9938         Likewise.
9939         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
9940         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9941         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9942         [__ASSUME_SENDMMSG]: Change conditionals to
9943         [__ASSUME_SENDMMSG_SOCKETCALL].
9944         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9945         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
9946         Define.
9947         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9948         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
9949         Likewise.
9950         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
9951         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9952         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9953         [!__ASSUME_SENDMMSG]: Change conditional to
9954         [!__ASSUME_SENDMMSG_SOCKETCALL].
9955         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9956         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9957         Define.
9959         [BZ #16610]
9960         * sysdeps/unix/sysv/linux/kernel-features.h
9961         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
9962         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
9963         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
9964         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
9965         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9966         [__i386__ || __sparc__]
9967         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9968         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
9969         (__ASSUME_RECVMMSG): Define instead of using previous
9970         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
9971         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9972         (__ASSUME_RECVMMSG_SYSCALL): Define.
9973         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9974         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9975         Likewise.
9976         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9977         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9978         Likewise.
9979         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9980         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9981         Likewise.
9982         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
9983         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9984         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9985         [__ASSUME_RECVMMSG]: Change condition to
9986         [__ASSUME_RECVMMSG_SOCKETCALL].
9987         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9988         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9989         Define.
9990         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9991         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9992         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9993         Likewise.
9994         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
9995         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9996         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9997         [!__ASSUME_RECVMMSG]: Change condition to
9998         [!__ASSUME_RECVMMSG_SOCKETCALL].
9999         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10000         (__ASSUME_RECVMMSG_SYSCALL): Define.
10002         [BZ #16609]
10003         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10004         __powerpc__ || __s390__ || __sh__ || __sparc__]
10005         (__ASSUME_SOCKETCALL): Define.
10006         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
10007         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
10008         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
10009         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
10010         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10011         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10012         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
10013         (__ASSUME_ACCEPT4): Define instead of using previous
10014         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
10015         __powerpc__ || __sparc__ || __s390__)] condition.
10016         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10017         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10018         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
10019         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10020         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10021         [!__ASSUME_ACCEPT4]: Change condition to
10022         [!__ASSUME_ACCEPT4_SOCKETCALL].
10023         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10024         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
10025         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
10026         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10027         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10028         __ASSUME_ACCEPT4_SYSCALL.
10029         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
10030         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
10031         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10032         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
10033         __ASSUME_ACCEPT4_SYSCALL.
10034         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
10035         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10036         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10037         [__ASSUME_ACCEPT4]: Change condition to
10038         [__ASSUME_ACCEPT4_SOCKETCALL].
10039         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10040         (__ASSUME_SOCKETCALL): Define.
10041         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
10042         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10043         (__ASSUME_SOCKETCALL): Define.
10044         (__ASSUME_ACCEPT4): Remove.
10045         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10046         Define.
10047         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10048         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10049         Likewise.
10050         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10051         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10053         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10054         macro.
10055         (HWCAP_ARM_LPAE): Likewise.
10056         (HWCAP_ARM_EVTSTRM): Likewise.
10057         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10058         Add vpfd32, lpae and evtstrm.
10059         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10060         Increase to 22.
10062 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
10064         * math/auto-libm-test-in: Add tests of clog10.
10065         * math/auto-libm-test-out: Regenerated.
10066         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10067         * sysdeps/i386/fpu/libm-test-ulps: Update.
10068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10070 2014-02-18  Andreas Schwab  <schwab@suse.de>
10072         [BZ #16574]
10073         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
10074         Store non-zero if the second buffer was newly allocated.
10075         (send_dg): Likewise.
10076         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
10077         to send_vc and send_dg.
10078         (res_nsend): Pass NULL for ansp2_malloced.
10079         * resolv/res_query.c (__libc_res_nquery): Add parameter
10080         answerp2_malloced and pass it down to __libc_res_nsend.
10081         (res_nquery): Pass additional NULL to __libc_res_nquery.
10082         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10083         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
10084         second answer buffer if answerp2_malloced was set.
10085         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10086         (__libc_res_nquerydomain): Add parameter
10087         answerp2_malloced and pass it down to __libc_res_nquery.
10088         (res_nquerydomain): Pass additional NULL to
10089         __libc_res_nquerydomain.
10090         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10091         additional NULL to __libc_res_nsend and __libc_res_nquery.
10092         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10093         additional NULL to __libc_res_nsearch.
10094         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
10095         parameter of __libc_res_nsearch to check for separately allocated
10096         second buffer.
10097         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10098         __libc_res_nquery.
10099         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10100         additional NULL to __libc_res_nquery.
10101         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10102         __libc_res_nsearch.
10103         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10104         * include/resolv.h: Update prototypes of __libc_res_nquery,
10105         __libc_res_nsearch, __libc_res_nsend.
10107 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
10109         * math/auto-libm-test-in: Add tests of fma.
10110         * math/auto-libm-test-out: Regenerated.
10111         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10112         (fma_towardzero_test_data): Likewise.
10113         (fma_downward_test_data): Likewise.
10114         (fma_upward_test_data): Likewise.
10115         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10116         mpc_mode.
10117         (rounding_modes): Add values for new field.
10118         (func_calc_method): Add value mpfr_fff_f.
10119         (func_calc_desc): Add mpfr_fff_f union field.
10120         (test_function): Add field exact_args.
10121         (FUNC): Add macro argument EXACT_ARGS.
10122         (FUNC_mpfr_f_f): Update call to FUNC.
10123         (FUNC_mpfr_f_f): Likewise.
10124         (FUNC_mpfr_ff_f): Likewise.
10125         (FUNC_mpfr_if_f): Likewise.
10126         (FUNC_mpc_c_f): Likewise.
10127         (FUNC_mpc_c_c): Likewise.
10128         (test_functions): Add fma.  Update calls to FUNC.
10129         (handle_input_arg): Add argument exact_args.
10130         (add_test): Update call to handle_input_arg.
10131         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
10132         (output_for_one_input_case): Update call to calc_generic_results.
10133         Recalculate exact zero results in each rounding mode.
10135         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10136         non-negative before setting low bit.
10137         * math/auto-libm-test-in: Mark one asin test possibly having
10138         spurious underflow.
10139         * math/auto-libm-test-out: Regenerated.
10140         * sysdeps/i386/fpu/libm-test-ulps: Update.
10141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10143 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
10145         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10146         * sysdeps/unix/sysv/linux/microblaze: Move directory from
10147         ports/sysdeps/unix/sysv/linux/microblaze.
10148         * README: Add missing listing for microblaze*-*-linux-gnu.
10150 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
10152         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10153         duplicate code
10155 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
10157         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10158         * sysdeps/unix/sysv/linux/ia64: Move directory from
10159         ports/sysdeps/unix/sysv/linux/ia64.
10160         * README: Update listing for ia64-*-linux-gnu.
10162 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
10163             Joseph Myers  <joseph@codesourcery.com>
10165         * Makeconfig (test-name): New variable.
10166         (evaluate-test): Likewise.
10167         * Makerules (do-test-clean): Remove .test-result files.
10168         (common-mostlyclean): Likewise.
10169         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10170         * scripts/evaluate-test.sh: New file.
10172 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
10174         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10175         separate $(objpfx)tst-fopenloc-cmp.out and
10176         $(objpfx)tst-fopenloc-mem.out targets.
10177         (tests): Update dependencies.
10178         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10179         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10180         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10181         (tst-rxspencer-no-utf8-ARGS): New variable.
10182         (tst-rxspencer-no-utf8-ENV): Likewise.
10183         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10184         instead of $(objpfx)tst-rxspencer-mem.
10185         ($(objpfx)tst-rxspencer-mem): Change target to
10186         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
10187         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
10188         * posix/tst-rxspencer-no-utf8.c: New file.
10190         * elf/Makefile ($(objpfx)order.out): Remove rule.
10191         [$(run-built-tests) = yes] (tests): Depend on
10192         $(objpfx)order-cmp.out.
10193         ($(objpfx)order-cmp.out): New rule.
10194         [$(run-built-tests) = yes] (tests): Depend on
10195         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
10196         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
10197         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
10198         $(objpfx)tst-array5-static-cmp.out.
10199         ($(objpfx)tst-array1.out): Remove rule.
10200         ($(objpfx)tst-array1-cmp.out): New rule.
10201         ($(objpfx)tst-array1-static.out): Remove rule.
10202         ($(objpfx)tst-array1-static-cmp.out): New rule.
10203         ($(objpfx)tst-array2.out): Remove rule.
10204         ($(objpfx)tst-array2-cmp.out): New rule.
10205         ($(objpfx)tst-array3.out): Remove rule.
10206         ($(objpfx)tst-array3-cmp.out): New rule.
10207         ($(objpfx)tst-array4.out): Remove rule.
10208         ($(objpfx)tst-array4-cmp.out): New rule.
10209         ($(objpfx)tst-array5.out): Remove rule.
10210         ($(objpfx)tst-array5-cmp.out): New rule.
10211         ($(objpfx)tst-array5-static.out): Remove rule.
10212         ($(objpfx)tst-array5-static-cmp.out): New rule.
10213         [$(run-built-tests) = yes] (tests): Depend on
10214         $(objpfx)order2-cmp.out.
10215         ($(objpfx)order2.out): Remove rule.
10216         ($(objpfx)order2-cmp.out): New rule.
10217         ($(objpfx)tst-initorder.out): Remove rule.
10218         [$(run-built-tests) = yes] (tests): Depend on
10219         $(objpfx)tst-initorder-cmp.out.
10220         ($(objpfx)tst-initorder-cmp.out): New rule.
10221         ($(objpfx)tst-initorder2.out): Remove rule.
10222         [$(run-built-tests) = yes] (tests): Depend on
10223         $(objpfx)tst-initorder2-cmp.out.
10224         ($(objpfx)tst-initorder2-cmp.out): New rule.
10225         [$(run-built-tests) = yes] (tests): Depend on
10226         $(objpfx)tst-unused-dep-cmp.out.
10227         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10228         ($(objpfx)tst-unused-dep-cmp.out): New rule.
10229         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10230         on $(objpfx)tst-setvbuf1-cmp.out.
10231         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10232         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10233         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10234         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10235         ($(objpfx)tst-svc.out): Remove rule.
10236         ($(objpfx)tst-svc-cmp.out): New rule.
10238 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
10240         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10241         * ctype/ctype.h [__USE_MISC]: Likewise.
10242         * dirent/dirent.h [__USE_MISC]: Likewise.
10243         * grp/grp.h [__USE_MISC]: Likewise.
10244         * io/fcntl.h [__USE_MISC]: Likewise.
10245         * io/sys/stat.h [__USE_MISC]: Likewise.
10246         * libio/stdio.h [__USE_MISC]: Likewise.
10247         * posix/unistd.h [__USE_MISC]: Likewise.
10248         * pwd/pwd.h [__USE_MISC]: Likewise.
10249         * stdlib.h [__USE_MISC]: Likewise.
10250         * string/bits/string2.h [__USE_MISC]: Likewise.
10251         * string/string.h [__USE_MISC]: Likewise.
10252         * time/time.h [__USE_MISC]: Likewise.
10254 2014-02-13  Andreas Schwab  <schwab@suse.de>
10256         [BZ #16574]
10257         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10258         second answer buffer if it was separately allocated.
10260 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
10262         * sysdeps/mips/math-tests.h: Include <features.h>.
10263         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10264         (ROUNDING_TESTS_long_double): Do not define.
10265         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10266         (EXCEPTION_TESTS_long_double): Likewise.
10267         * sysdeps/mips/mips64/libm-test-ulps: Update.
10269         * include/features.h (__USE_BSD): Remove macro definitions.
10270         (__USE_SVID): Likewise.
10271         (_BSD_SOURCE): Likewise.
10272         (_SVID_SOURCE): Likewise.
10273         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10274         from definition of _DEFAULT_SOURCE.
10275         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10276         [_DEFAULT_SOURCE].
10277         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10278         * bits/mman.h [__USE_BSD]: Likewise.
10279         * bits/termios.h [__USE_BSD]: Likewise.
10280         * bits/waitstatus.h [__USE_BSD]: Likewise.
10281         * ctype/ctype.h [__USE_SVID]: Likewise.
10282         * dirent/dirent.h [__USE_BSD]: Likewise.
10283         * grp/grp.h [__USE_SVID]: Likewise.
10284         [__USE_BSD]: Likewise.
10285         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10286         * io/fcntl.h [__USE_BSD]: Likewise.
10287         * io/ftw.h [__USE_BSD]: Likewise.
10288         * io/sys/stat.h [__USE_BSD]: Likewise.
10289         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10290         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10291         * libio/stdio.h [__USE_SVID]: Likewise.
10292         [__USE_BSD]: Likewise.
10293         * math/math.h [__USE_SVID]: Likewise.
10294         [__USE_BSD]: Likewise.
10295         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10296         * misc/bits/syslog.h [__USE_BSD]: Likewise.
10297         * misc/search.h [__USE_SVID]: Likewise.
10298         * misc/sys/mman.h [__USE_BSD]: Likewise.
10299         * misc/sys/syslog.h [__USE_BSD]: Likewise.
10300         * misc/sys/uio.h [__USE_BSD]: Likewise.
10301         * posix/bits/unistd.h [__USE_BSD]: Likewise.
10302         * posix/glob.h [__USE_BSD]: Likewise.
10303         * posix/regex.h [__USE_BSD]: Likewise.
10304         * posix/sys/types.h [__USE_BSD]: Likewise.
10305         [__USE_SVID]: Likewise.
10306         * posix/sys/utsname.h [__USE_SVID]: Likewise.
10307         * posix/sys/wait.h [__USE_BSD]: Likewise.
10308         [__USE_SVID]: Likewise.
10309         * posix/unistd.h [__USE_BSD]: Likewise.
10310         [__USE_SVID]: Likewise.
10311         * pwd/pwd.h [__USE_SVID]: Likewise.
10312         * resolv/netdb.h [__USE_BSD]: Likewise.
10313         * setjmp/setjmp.h [__USE_BSD]: Likewise.
10314         * signal/signal.h [__USE_BSD]: Likewise.
10315         [__USE_SVID]: Likewise.
10316         * socket/sys/socket.h [__USE_BSD]: Likewise.
10317         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
10318         * stdlib/stdlib.h [__USE_BSD]: Likewise.
10319         [__USE_SVID]: Likewise.
10320         * string/bits/string2.h [__USE_BSD]: Likewise.
10321         [__USE_SVID]: Likewise.
10322         * string/bits/string3.h [__USE_BSD]: Likewise.
10323         * string/endian.h [__USE_BSD]: Likewise.
10324         * string/string.h [__USE_SVID]: Likewise.
10325         [__USE_BSD]: Likewise.
10326         * string/strings.h [__USE_BSD]: Likewise.
10327         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
10328         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
10329         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
10330         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
10331         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
10332         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
10333         Likewise.
10334         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
10335         Likewise.
10336         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
10337         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
10338         Likewise.
10339         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
10340         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
10341         Likewise.
10342         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
10343         Likewise.
10344         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
10345         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
10346         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
10347         Likewise.
10348         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
10349         Likewise.
10350         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
10351         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
10352         * termios/termios.h [__USE_BSD]: Likewise.
10353         * time/sys/time.h [__USE_BSD]: Likewise.
10354         * time/time.h [__USE_BSD]: Likewise.
10355         [__USE_SVID]: Likewise.
10357         * Makefile (subdir_targets): Remove subdir_lint.out.
10359         * stdio-common/Makefile (do-tst-unbputc): Remove target.
10360         (do-tst-printf): Likewise.
10361         (tests): Depend directly on $(objpfx)tst-unbputc.out and
10362         $(objpfx)tst-printf.out.
10364         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
10366         * Makerules (check-abi-%): Change target to
10367         $(objpfx)check-abi-%.out.
10368         (check-abi target): Update dependencies.
10369         (check-abi-pattern variable): Redirect output of diff to $@.
10370         (check-abi variable): Likewise.
10371         * elf/Makefile (check-abi): Update dependencies.
10373         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
10374         unused.
10375         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
10376         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
10377         subnormal range.
10378         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
10379         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
10380         value has largest subnormal exponent.
10381         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
10382         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
10383         * sysdeps/aarch64/soft-fp/sfp-machine.h
10384         (_FP_TININESS_AFTER_ROUNDING): New macro.
10385         * sysdeps/alpha/soft-fp/sfp-machine.h
10386         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10387         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10388         Likewise.
10389         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10390         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10391         * sysdeps/mips/soft-fp/sfp-machine.h
10392         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10393         * sysdeps/powerpc/soft-fp/sfp-machine.h
10394         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10395         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10396         Likewise.
10397         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10398         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10399         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10400         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10401         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10402         Likewise.
10404 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
10406         [BZ #16545]
10407         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10408         model 1.
10410 2014-02-12  Richard Henderson  <rth@redhat.com>
10412         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
10413         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10414         * sysdeps/unix/sysv/linux/alpha: Move directory from
10415         ports/sysdeps/unix/sysv/linux/alpha.
10416         * README: Update listing for alpha-*-linux-gnu.
10418 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
10420         * include/features.h: Update comment documenting feature test
10421         macros.
10422         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
10423         _DEFAULT_SOURCE.
10424         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10425         (_SVID_SOURCE): Likewise.
10426         (_DEFAULT_SOURCE): Update description of default features.
10427         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10428         with _GNU_SOURCE.
10429         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10430         (S_ISVTX): Likewise.
10431         * manual/math.texi (Mathematical Constants): Likewise.
10432         * manual/signal.texi (Interrupted Primitives): Likewise.
10433         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10434         * math/test-matherr.c (_SVID_SOURCE): Do not define.
10435         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10436         Don't refer to _SVID_SOURCE in warning text.
10438         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10440         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10441         already defined.
10442         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10443         * sysdeps/mips/dl-lookup.c: Remove.
10444         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10446 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10448         [BZ #16447]
10449         * math/auto-libm-test-in: Add testcase for expl.
10450         * math/auto-libm-test-out: Regenerate.
10451         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10452         calculation of unsafe.
10453         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10455 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
10457         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10458         * sysdeps/unix/sysv/linux/aarch64: Move directory from
10459         ports/sysdeps/unix/sysv/linux/aarch64.
10460         * README: Update listing for aarch64*-*-linux-gnu.
10462 2014-02-11  Will Newton  <will.newton@linaro.org>
10464         * manual/probes.texi (Mathematical Function Probes): Use
10465         "triggered" instead of "hit".
10467         * manual/probes.texi (Internal Probes): Add documentation
10468         of setjmp, longjmp and longjmp_target probes.
10470         * include/stap-probe.h: Add comment about probe argument
10471         format.
10473         * malloc/mtrace.c (attribute_hidden): Remove unused macro
10474         definition.  (tr_where, tr_freehook, tr_mallochook,
10475         tr_reallochook, tr_memalignhook): Use ANSI protoype.
10477 2014-02-11  David S. Miller  <davem@davemloft.net>
10479         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10480         processing int_tests.
10482 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
10484         * sysdeps/mips: Move directory from ports/sysdeps/mips.
10485         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10486         * sysdeps/unix/sysv/linux/mips: Move directory from
10487         ports/sysdeps/unix/sysv/linux/mips.
10488         * README: Update listing for mips-*-linux-gnu and
10489         mips64-*-linux-gnu.
10491 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
10493         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10494         * sysdeps/unix/sysv/linux/m68k: Move directory from
10495         ports/sysdeps/unix/sysv/linux/m68k.
10496         * README: Update listing for m68k-*-linux-gnu.
10498 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
10500         * sysdeps/tile: Move directory from ports/sysdeps/tile.
10501         * sysdeps/unix/sysv/linux/generic: Move directory from
10502         ports/sysdeps/unix/sysv/linux/generic.
10503         * sysdeps/unix/sysv/linux/tile: Move directory from
10504         ports/sysdeps/unix/sysv/linux/tile.
10505         * README: Update listing for tile*-*-linux-gnu.
10507 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
10509         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10510         __builtin_expect.
10511         * benchtests/bench-memmem.c (simple_memmem): Likewise.
10512         * catgets/open_catalog.c (__open_catalog): Likewise.
10513         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10514         * debug/confstr_chk.c: Likewise.
10515         * debug/fread_chk.c (__fread_chk): Likewise.
10516         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10517         * debug/getgroups_chk.c: Likewise.
10518         * debug/mbsnrtowcs_chk.c: Likewise.
10519         * debug/mbsrtowcs_chk.c: Likewise.
10520         * debug/mbstowcs_chk.c: Likewise.
10521         * debug/memcpy_chk.c: Likewise.
10522         * debug/memmove_chk.c: Likewise.
10523         * debug/mempcpy_chk.c: Likewise.
10524         * debug/memset_chk.c: Likewise.
10525         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10526         * debug/strcat_chk.c (__strcat_chk): Likewise.
10527         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
10528         * debug/strncat_chk.c (__strncat_chk): Likewise.
10529         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
10530         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
10531         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
10532         * debug/wcpncpy_chk.c: Likewise.
10533         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10534         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
10535         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
10536         * debug/wcsncpy_chk.c: Likewise.
10537         * debug/wcsnrtombs_chk.c: Likewise.
10538         * debug/wcsrtombs_chk.c: Likewise.
10539         * debug/wcstombs_chk.c: Likewise.
10540         * debug/wmemcpy_chk.c: Likewise.
10541         * debug/wmemmove_chk.c: Likewise.
10542         * debug/wmempcpy_chk.c: Likewise.
10543         * debug/wmemset_chk.c: Likewise.
10544         * dirent/scandirat.c (SCANDIRAT): Likewise.
10545         * dlfcn/dladdr1.c (dladdr1): Likewise.
10546         * dlfcn/dladdr.c (dladdr): Likewise.
10547         * dlfcn/dlclose.c (dlclose_doit): Likewise.
10548         * dlfcn/dlerror.c (__dlerror): Likewise.
10549         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
10550         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10551         * dlfcn/dlopen.c (dlopen_doit): Likewise.
10552         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
10553         * dlfcn/dlsym.c (dlsym_doit): Likewise.
10554         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
10555         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
10556         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
10557         Likewise.
10558         * elf/dl-conflict.c: Likewise.
10559         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10560         * elf/dl-dst.h: Likewise.
10561         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
10562         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
10563         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10564         * elf/dl-init.c (call_init, _dl_init): Likewise.
10565         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
10566         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
10567         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
10568         Likewise.
10569         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
10570         Likewise.
10571         * elf/dl-minimal.c (__libc_memalign): Likewise.
10572         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
10573         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10574         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
10575         * elf/dl-sym.c (do_sym): Likewise.
10576         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
10577         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
10578         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
10579         * elf/dl-writev.h (_dl_writev): Likewise.
10580         * elf/ldconfig.c (search_dir): Likewise.
10581         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
10582         (dl_main): Likewise.
10583         * elf/setup-vdso.h (setup_vdso): Likewise.
10584         * grp/compat-initgroups.c (compat_call): Likewise.
10585         * grp/fgetgrent.c (fgetgrent): Likewise.
10586         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
10587         * grp/putgrent.c (putgrent): Likewise.
10588         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10589         Likewise.
10590         * hurd/hurdinit.c: Likewise.
10591         * iconvdata/8bit-gap.c (struct): Likewise.
10592         * iconvdata/ansi_x3.110.c : Likewise.
10593         * iconvdata/big5.c : Likewise.
10594         * iconvdata/big5hkscs.c : Likewise.
10595         * iconvdata/cp1255.c: Likewise.
10596         * iconvdata/cp1258.c : Likewise.
10597         * iconvdata/cp932.c : Likewise.
10598         * iconvdata/euc-cn.c: Likewise.
10599         * iconvdata/euc-jisx0213.c : Likewise.
10600         * iconvdata/euc-jp.c: Likewise.
10601         * iconvdata/euc-jp-ms.c : Likewise.
10602         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
10603         * iconvdata/gb18030.c : Likewise.
10604         * iconvdata/gbbig5.c (const): Likewise.
10605         * iconvdata/gbgbk.c: Likewise.
10606         * iconvdata/gbk.c : Likewise.
10607         * iconvdata/ibm1364.c : Likewise.
10608         * iconvdata/ibm930.c : Likewise.
10609         * iconvdata/ibm932.c: Likewise.
10610         * iconvdata/ibm933.c : Likewise.
10611         * iconvdata/ibm935.c : Likewise.
10612         * iconvdata/ibm937.c : Likewise.
10613         * iconvdata/ibm939.c : Likewise.
10614         * iconvdata/ibm943.c: Likewise.
10615         * iconvdata/iso_11548-1.c: Likewise.
10616         * iconvdata/iso-2022-cn.c : Likewise.
10617         * iconvdata/iso-2022-cn-ext.c : Likewise.
10618         * iconvdata/iso-2022-jp-3.c: Likewise.
10619         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
10620         * iconvdata/iso-2022-kr.c : Likewise.
10621         * iconvdata/iso646.c (gconv_end): Likewise.
10622         * iconvdata/iso_6937-2.c : Likewise.
10623         * iconvdata/iso_6937.c : Likewise.
10624         * iconvdata/iso8859-1.c: Likewise.
10625         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
10626         * iconvdata/shift_jisx0213.c : Likewise.
10627         * iconvdata/sjis.c : Likewise.
10628         * iconvdata/t.61.c : Likewise.
10629         * iconvdata/tcvn5712-1.c : Likewise.
10630         * iconvdata/tscii.c: Likewise.
10631         * iconvdata/uhc.c : Likewise.
10632         * iconvdata/unicode.c (gconv_end): Likewise.
10633         * iconvdata/utf-16.c (gconv_end): Likewise.
10634         * iconvdata/utf-32.c (gconv_end): Likewise.
10635         * iconvdata/utf-7.c (base64): Likewise.
10636         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
10637         * iconv/gconv_close.c (__gconv_close): Likewise.
10638         * iconv/gconv_open.c (__gconv_open): Likewise.
10639         * iconv/gconv_simple.c (internal_ucs4_loop_single)
10640         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
10641         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
10642         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
10643         (ucs4le_internal_loop_single): Likewise.
10644         * iconv/iconv.c (iconv): Likewise.
10645         * iconv/iconv_close.c: Likewise.
10646         * iconv/loop.c (SINGLE): Likewise.
10647         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
10648         * include/atomic.h: Likewise.
10649         * inet/inet6_option.c (option_alloc): Likewise.
10650         * intl/bindtextdom.c (set_binding_values): Likewise.
10651         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
10652         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
10653         * intl/localealias.c (read_alias_file): Likewise.
10654         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10655         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
10656         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
10657         * libio/fmemopen.c (fmemopen): Likewise.
10658         * libio/iofgets.c (_IO_fgets): Likewise.
10659         * libio/iofgets_u.c (fgets_unlocked): Likewise.
10660         * libio/iofgetws.c (fgetws): Likewise.
10661         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10662         * libio/iogetdelim.c (_IO_getdelim): Likewise.
10663         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
10664         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
10665         * locale/findlocale.c (_nl_find_locale): Likewise.
10666         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
10667         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
10668         Likewise.
10669         * locale/setlocale.c (setlocale): Likewise.
10670         * login/programs/pt_chown.c (main): Likewise.
10671         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
10672         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
10673         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
10674         (mmap, mmap64, mremap, munmap): Likewise.
10675         * math/e_exp2l.c: Likewise.
10676         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
10677         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
10678         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
10679         * math/s_catan.c (__catan): Likewise.
10680         * math/s_catanf.c (__catanf): Likewise.
10681         * math/s_catanh.c (__catanh): Likewise.
10682         * math/s_catanhf.c (__catanhf): Likewise.
10683         * math/s_catanhl.c (__catanhl): Likewise.
10684         * math/s_catanl.c (__catanl): Likewise.
10685         * math/s_ccosh.c (__ccosh): Likewise.
10686         * math/s_ccoshf.c (__ccoshf): Likewise.
10687         * math/s_ccoshl.c (__ccoshl): Likewise.
10688         * math/s_cexp.c (__cexp): Likewise.
10689         * math/s_cexpf.c (__cexpf): Likewise.
10690         * math/s_cexpl.c (__cexpl): Likewise.
10691         * math/s_clog10.c (__clog10): Likewise.
10692         * math/s_clog10f.c (__clog10f): Likewise.
10693         * math/s_clog10l.c (__clog10l): Likewise.
10694         * math/s_clog.c (__clog): Likewise.
10695         * math/s_clogf.c (__clogf): Likewise.
10696         * math/s_clogl.c (__clogl): Likewise.
10697         * math/s_csin.c (__csin): Likewise.
10698         * math/s_csinf.c (__csinf): Likewise.
10699         * math/s_csinh.c (__csinh): Likewise.
10700         * math/s_csinhf.c (__csinhf): Likewise.
10701         * math/s_csinhl.c (__csinhl): Likewise.
10702         * math/s_csinl.c (__csinl): Likewise.
10703         * math/s_csqrt.c (__csqrt): Likewise.
10704         * math/s_csqrtf.c (__csqrtf): Likewise.
10705         * math/s_csqrtl.c (__csqrtl): Likewise.
10706         * math/s_ctan.c (__ctan): Likewise.
10707         * math/s_ctanf.c (__ctanf): Likewise.
10708         * math/s_ctanh.c (__ctanh): Likewise.
10709         * math/s_ctanhf.c (__ctanhf): Likewise.
10710         * math/s_ctanhl.c (__ctanhl): Likewise.
10711         * math/s_ctanl.c (__ctanl): Likewise.
10712         * math/w_pow.c: Likewise.
10713         * math/w_powf.c: Likewise.
10714         * math/w_powl.c: Likewise.
10715         * math/w_scalb.c (sysv_scalb): Likewise.
10716         * math/w_scalbf.c (sysv_scalbf): Likewise.
10717         * math/w_scalbl.c (sysv_scalbl): Likewise.
10718         * misc/error.c (error_tail): Likewise.
10719         * misc/pselect.c (__pselect): Likewise.
10720         * nis/nis_callback.c (__nis_create_callback): Likewise.
10721         * nis/nis_call.c (__nisfind_server): Likewise.
10722         * nis/nis_creategroup.c (nis_creategroup): Likewise.
10723         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
10724         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
10725         * nis/nis_getservlist.c (nis_getservlist): Likewise.
10726         * nis/nis_lookup.c (nis_lookup): Likewise.
10727         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
10728         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
10729         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
10730         * nis/nis_xdr.c (xdr_endpoint): Likewise.
10731         * nis/nss_compat/compat-grp.c (getgrent_next_file)
10732         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
10733         * nis/nss_compat/compat-initgroups.c (add_group)
10734         (internal_getgrent_r): Likewise.
10735         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
10736         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
10737         * nis/nss_compat/compat-spwd.c (getspent_next_file)
10738         (internal_getspnam_r): Likewise.
10739         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
10740         (_nss_nis_getaliasbyname_r): Likewise.
10741         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
10742         (_nss_nis_getntohost_r): Likewise.
10743         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
10744         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
10745         (_nss_nis_getgrgid_r): Likewise.
10746         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
10747         (internal_nis_gethostent_r, internal_gethostbyname2_r)
10748         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
10749         (_nss_nis_gethostbyname4_r): Likewise.
10750         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
10751         (initgroups_netid): Likewise.
10752         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
10753         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
10754         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
10755         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
10756         (_nss_nis_getprotobynumber_r): Likewise.
10757         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
10758         (_nss_nis_getsecretkey): Likewise.
10759         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
10760         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
10761         (_nss_nis_getpwuid_r): Likewise.
10762         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
10763         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
10764         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
10765         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
10766         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
10767         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
10768         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10769         Likewise.
10770         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
10771         (_nss_nisplus_getntohost_r): Likewise.
10772         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
10773         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
10774         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
10775         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
10776         Likewise.
10777         * nis/nss_nisplus/nisplus-initgroups.c
10778         (_nss_nisplus_initgroups_dyn): Likewise.
10779         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
10780         (_nss_nisplus_getnetbyaddr_r): Likewise.
10781         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
10782         (_nss_nisplus_getprotobynumber_r): Likewise.
10783         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10784         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
10785         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10786         Likewise.
10787         * nis/nss_nisplus/nisplus-service.c
10788         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10789         (_nss_nisplus_getservbyport_r): Likewise.
10790         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10791         (_nss_nisplus_getspnam_r): Likewise.
10792         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10793         Likewise.
10794         * nscd/aicache.c (addhstaiX): Likewise.
10795         * nscd/cache.c (cache_search, prune_cache): Likewise.
10796         * nscd/connections.c (register_traced_file, send_ro_fd)
10797         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10798         (main_loop_epoll): Likewise.
10799         * nscd/grpcache.c (addgrbyX): Likewise.
10800         * nscd/hstcache.c (addhstbyX): Likewise.
10801         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10802         * nscd/mem.c (gc, mempool_alloc): Likewise.
10803         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10804         (addinnetgrX): Likewise.
10805         * nscd/nscd-client.h (__nscd_acquire_maplock)
10806         (__nscd_drop_map_ref): Likewise.
10807         * nscd/nscd_getai.c (__nscd_getai): Likewise.
10808         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10809         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10810         Likewise.
10811         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10812         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10813         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10814         (__nscd_get_map_ref): Likewise.
10815         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
10816         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10817         Likewise.
10818         * nscd/pwdcache.c (addpwbyX): Likewise.
10819         * nscd/selinux.c (preserve_capabilities): Likewise.
10820         * nscd/servicescache.c (addservbyX): Likewise.
10821         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10822         * posix/fnmatch.c (fnmatch): Likewise.
10823         * posix/getopt.c (_getopt_internal_r): Likewise.
10824         * posix/glob.c (glob, glob_in_dir): Likewise.
10825         * posix/wordexp.c (exec_comm_child): Likewise.
10826         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10827         (getanswer_r, gaih_getanswer_slice): Likewise.
10828         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10829         * resolv/res_init.c: Likewise.
10830         * resolv/res_mkquery.c (res_nmkquery): Likewise.
10831         * resolv/res_query.c (__libc_res_nquery): Likewise.
10832         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10833         Likewise.
10834         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10835         * stdio-common/perror.c (perror): Likewise.
10836         * stdio-common/printf_fp.c (___printf_fp): Likewise.
10837         * stdio-common/tmpnam.c (tmpnam): Likewise.
10838         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10839         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
10840         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10841         Likewise.
10842         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10843         * stdlib/putenv.c (putenv): Likewise.
10844         * stdlib/setenv.c (__add_to_environ): Likewise.
10845         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10846         * stdlib/strtol_l.c (INTERNAL): Likewise.
10847         * string/memmem.c (memmem): Likewise.
10848         * string/strerror.c (strerror): Likewise.
10849         * string/strnlen.c (__strnlen): Likewise.
10850         * string/test-memmem.c (simple_memmem): Likewise.
10851         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10852         * sunrpc/pm_getport.c (__get_socket): Likewise.
10853         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10854         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10855         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10856         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
10857         Likewise.
10858         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10859         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10860         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10861         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10862         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
10863         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10864         Likewise.
10865         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10866         Likewise.
10867         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10868         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10869         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10870         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10871         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10872         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10873         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10874         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10875         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10876         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10877         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10878         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10879         Likewise.
10880         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10881         Likewise.
10882         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10883         Likewise.
10884         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10885         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10886         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10887         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10888         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10889         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10890         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10891         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10892         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10893         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10894         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10895         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10896         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10897         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10898         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10899         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10900         Likewise.
10901         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
10902         Likewise.
10903         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
10904         Likewise.
10905         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
10906         Likewise.
10907         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10908         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10909         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
10910         Likewise.
10911         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
10912         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
10913         * sysdeps/posix/opendir.c (__opendirat): Likewise.
10914         * sysdeps/posix/sleep.c: Likewise.
10915         * sysdeps/posix/tempname.c: Likewise.
10916         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
10917         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10918         Likewise.
10919         * sysdeps/powerpc/powerpc32/dl-machine.h
10920         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
10921         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10922         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10923         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
10924         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
10925         Likewise.
10926         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
10927         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
10928         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10929         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
10930         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10931         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
10932         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
10933         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
10934         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10935         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
10936         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
10937         (elf_machine_lazy_rel): Likewise.
10938         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10939         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
10940         (elf_machine_lazy_rel): Likewise.
10941         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
10942         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
10943         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
10944         * sysdeps/unix/grantpt.c (grantpt): Likewise.
10945         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
10946         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
10947         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
10948         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10949         Likewise.
10950         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10951         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10952         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
10953         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
10954         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10955         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10956         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
10957         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
10958         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
10959         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10960         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10961         Likewise.
10962         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
10963         (__posix_fallocate64_l64): Likewise.
10964         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
10965         (posix_fallocate): Likewise.
10966         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10967         Likewise.
10968         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10969         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
10970         (getifaddrs_internal): Likewise.
10971         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
10972         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
10973         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10974         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10975         * sysdeps/unix/sysv/linux/posix_fallocate64.c
10976         (__posix_fallocate64_l64): Likewise.
10977         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10978         Likewise.
10979         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
10980         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
10981         (__get_clockfreq): Likewise.
10982         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
10983         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10984         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
10985         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10986         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10987         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
10988         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10989         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
10990         Likewise.
10991         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
10992         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
10993         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10994         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
10995         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10996         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
10997         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
10998         Likewise.
10999         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11000         (posix_fallocate): Likewise.
11001         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11002         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11003         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
11004         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11005         (elf_machine_rela, elf_machine_rela_relative)
11006         (elf_machine_lazy_rel): Likewise.
11007         * time/asctime.c (asctime_internal): Likewise.
11008         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
11009         * time/tzset.c (__tzset_parse_tz): Likewise.
11010         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11011         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11012         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
11013         * wcsmbs/wcsmbsload.h: Likewise.
11015         [BZ #15894]
11016         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
11018         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
11019         (arena_get2): Remove THREAD_STATS conditionals.
11020         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
11021         (__malloc_stats, int): Likewise.
11023 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
11025         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
11026         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
11028         * manual/setjmp.texi: Fix typos/grammar errors.
11030         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
11031         Only return early when n is <= 0.  Delete unused return statement.
11033         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
11034         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
11035         * debug/tst-longjmp_chk3.c: New file.
11037         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
11038         (test_main): Replace code with set_fortify_handler call.
11039         * debug/test-strcpy_chk.c: Likewise.
11040         * debug/tst-chk1.c: Likewise.
11041         * debug/tst-longjmp_chk.c: Likewise.
11042         * test-skeleton.c: Include fcntl.h & paths.h
11043         (set_fortify_handler): Define.
11045         * debug/tst-longjmp_chk.c: Add header comment and include
11046         ../test-skeleton.c.
11047         (do_test): Mark static.
11048         (TEST_FUNCTION): Define.
11050         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11051         (IP_PMTUDISC_INTERFACE): Likewise.
11052         (IP_MULTICAST_IF): Likewise.
11053         (IP_MULTICAST_TTL): Likewise.
11054         (IP_MULTICAST_LOOP): Likewise.
11055         (IP_ADD_MEMBERSHIP): Likewise.
11056         (IP_DROP_MEMBERSHIP): Likewise.
11057         (IP_UNBLOCK_SOURCE): Likewise.
11058         (IP_BLOCK_SOURCE): Likewise.
11059         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11060         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11061         (IP_MSFILTER): Likewise.
11062         (MCAST_JOIN_GROUP): Likewise.
11063         (MCAST_BLOCK_SOURCE): Likewise.
11064         (MCAST_UNBLOCK_SOURCE): Likewise.
11065         (MCAST_LEAVE_GROUP): Likewise.
11066         (MCAST_JOIN_SOURCE_GROUP): Likewise.
11067         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11068         (MCAST_MSFILTER): Likewise.
11069         (IP_MULTICAST_ALL): Likewise.
11070         (IP_UNICAST_IF): Likewise.
11072         * timezone/Makefile: Delete $(have-ksh) check.
11073         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
11074         * timezone/tzselect.ksh: Add +x mode bits.
11076         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
11077         (ANON_INODE_FS_MAGIC): Likewise.
11078         (BDEVFS_MAGIC): Likewise.
11079         (BINFMTFS_MAGIC): Likewise.
11080         (BTRFS_TEST_MAGIC): Likewise.
11081         (CRAMFS_MAGIC_WEND): Likewise.
11082         (DEBUGFS_MAGIC): Likewise.
11083         (ECRYPTFS_SUPER_MAGIC): Likewise.
11084         (EXT3_SUPER_MAGIC): Likewise.
11085         (EXT4_SUPER_MAGIC): Likewise.
11086         (FUTEXFS_SUPER_MAGIC): Likewise.
11087         (HOSTFS_SUPER_MAGIC): Likewise.
11088         (HUGETLBFS_MAGIC): Likewise.
11089         (MINIX3_SUPER_MAGIC): Likewise.
11090         (MTD_INODE_FS_MAGIC): Likewise.
11091         (NILFS_SUPER_MAGIC): Likewise.
11092         (OPENPROM_SUPER_MAGIC): Likewise.
11093         (PIPEFS_MAGIC): Likewise.
11094         (PSTOREFS_MAGIC): Likewise.
11095         (QNX6_SUPER_MAGIC): Likewise.
11096         (RAMFS_MAGIC): Likewise.
11097         (REISERFS_SUPER_MAGIC_STRING): Likewise.
11098         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11099         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11100         (SECURITYFS_MAGIC): Likewise.
11101         (SELINUX_MAGIC): Likewise.
11102         (SMACK_MAGIC): Likewise.
11103         (SOCKFS_MAGIC): Likewise.
11104         (SQUASHFS_MAGIC): Likewise.
11105         (STACK_END_MAGIC): Likewise.
11106         (TMPFS_MAGIC): Likewise.
11107         (USBDEVICE_SUPER_MAGIC): Likewise.
11108         (V9FS_MAGIC): Likewise.
11109         (XENFS_SUPER_MAGIC): Likewise.
11110         (CRAMFS_MAGIC): Fix typo in comment.
11111         (EXT2_SUPER_MAGIC): Update comment.
11112         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11114 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
11116         * sysdeps/arm: Move directory from ports/sysdeps/arm.
11117         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11118         * sysdeps/unix/sysv/linux/arm: Move directory from
11119         ports/sysdeps/unix/sysv/linux/arm.
11120         * README: Update listing for arm-*-linux-gnueabi.
11122         * README: Remove mention of am33.
11124 2014-02-07  Roland McGrath  <roland@hack.frob.com>
11126         * bits/sigset.h (__sigemptyset): Use a statement expression rather
11127         than the comma operator, to avoid "rhs of comma has no effect"
11128         compiler warnings.
11129         (__sigfillset, __sigandset, __sigorset): Likewise.
11130         * include/signal.h (__sigemptyset): Likewise.
11131         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11133 2014-02-07  Allan McRae  <allan@archlinux.org>
11135         * version.h (RELEASE): Set to "development".
11136         (VERSION): Set to "2.19.90"
11137         * NEWS: Add 2.20 section.
11139 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
11141         [BZ #16529]
11142         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11144 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11146         * manual/contrib.texi: Update entry for Carlos O'Donell,
11147         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11149 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
11151         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11153         * sysdeps/unix/sysv/linux/kernel-features.h
11154         [__LINUX_KERNEL_VERSION >= 0x020621]
11155         (__ASSUME_PROC_PID_TASK_COMM): Define.
11157 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11159         [BZ #16398]
11160         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11161         conversion when destination buffer does not have enough space.
11162         * libio/tst-ftell-partial-wide.c: New test case.
11163         * libio/Makefile (tests): Add tst-ftell-partial-wide.
11165         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11166         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
11167         Leonard and Allan McRae.
11169 2014-02-04  David S. Miller  <davem@davemloft.net>
11171         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11172         32-bit.
11174 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11177         New file
11178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11179         New file
11180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11181         New file.
11182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11183         New file.
11184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11185         New file.
11186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11187         New file.
11188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11189         New file.
11190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11191         New file.
11192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11193         New file.
11194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11195         New file.
11196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11197         New file.
11198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11199         New file.
11200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11201         New file.
11203 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11205         * nptl/shlib-versions: Change powerpc*le start to 2.17.
11206         * shlib-versions: Likewise.
11208 2014-02-04  Roland McGrath  <roland@hack.frob.com>
11209             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11211         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11212         (abilist-pattern): New variable, set to %-le.abilist.
11214         * Makerules (abilist-pattern): New variable.
11215         (vpath): Use $(abilist-pattern) in place of %.abilist.
11216         (check-abi-% pattern rule): Likewise.
11217         (check-abi, update-abi): Likewise.
11219 2014-02-04  Eric Wong  <normalperson@yhbt.net>
11221         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11223 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
11225         * manual/startup.texi: Add next, previous, and top entries for
11226         the `Program Arguments' and `Environment Variables' nodes.
11228 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
11230         * manual/macros.texi: Add comments before MTASC-safety macros.
11232         * manual/users.texi: Document MTASC-safety properties.
11234         * manual/threads.texi (pthread_key_create, pthread_key_delete)
11235         (pthread_getspecific, pthread_setspecific): Format with
11236         @deftypefun, and add @safety note.
11237         * manual/signal.texi: Move comments that analyze the above
11238         functions to their home place.
11240 2014-02-03  Allan McRae  <allan@archlinux.org>
11242         * po/sl.po: Update Slovenian translation from translation project.
11244 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
11246         * manual/time.texi (timegm): Add missing blank after @c.
11247         Reported by Joseph Myers <joseph@codesourcery.com>.
11249 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
11251         * manual/check-safety.sh: New.
11252         * manual/Makefile ($(objpfx)stamp-summary): Run it.
11254         * manual/terminal.texi: Document MTASC-safety properties.
11256         * manual/filesys.texi: Document MTASC-safety properties.
11258         * manual/errno.texi: Document MTASC-safety properties.
11260         * manual/intro.texi: Document safety identifiers and
11261         conditionals.
11263         * manual/string.texi (wcstok): Fix prototype.
11264         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11266         * manual/time.texi: Document MTASC-safety properties.
11268         * manual/string.texi: Document MTASC-safety properties.
11270         * manual/threads.texi: Document MTASC-safety properties.
11272         * manual/stdio.texi: Document MTASC-safety properties.
11274         * manual/syslog.texi: Document MTASC-safety properties.
11276         * manual/sysinfo.texi: Document MTASC-safety properties.
11278         * manual/startup.texi: Document MTASC-safety properties.
11280         * manual/socket.texi: Document MTASC-safety properties.
11282         * manual/signal.texi: Document MTASC-safety properties.
11284 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
11286         * manual/setjmp.texi: Document MTASC-safety properties.
11288         * manual/search.texi: Document MTASC-safety properties.
11290         * manual/resource.texi: Document MTASC-safety properties.
11292         * manual/process.texi: Document MTASC-safety properties.
11294         * manual/platform.texi: Document MTASC-safety properties.
11296         * manual/pipe.texi: Document MTASC-safety properties.
11298         * manual/pattern.texi: Document MTASC-safety properties.
11300         * manual/message.texi: Document MTASC-safety properties.
11302         [BZ #12751]
11303         * manual/memory.texi: Document MTASC-safety properties.
11305         * manual/math.texi: Document MTASC-safety properties.
11307         * manual/locale.texi: Document MTASC-safety properties.
11309         * manual/llio.texi: Document MTASC-safety properties.
11311         * manual/libdl.texi: New.
11313         * manual/lang.texi: Document MTASC-safety properties.
11315         * manual/job.texi: Document MTASC-safety properties.
11317         * manual/getopt.texi: Document MTASC-safety properties.
11319         * manual/ctype.texi: Document MTASC-safety properties.
11321 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
11323         [BZ #16046]
11324         * csu/libc-tls.c (static_map): Remove variable.
11325         (__libc_setup_tls): Use main executable's link map for TLS data.
11326         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
11327         casing for LM_ID_BASE and GL(dl_nns).
11328         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
11329         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
11330         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
11331         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
11332         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
11333         member.
11334         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
11335         l_phnum members.
11337 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
11339         * manual/debug.texi: Document MTASC-safety properties.
11341 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
11343         [BZ #16510]
11344         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
11345         of __x86_64__ when disabling x87 inline functions.
11347 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
11349         * manual/charset.texi: Document MTASC-safety properties.
11351         * manual/crypt.texi: Document MTASC-safety properties.
11353         * manual/conf.texi: Document MTASC-safety properties.
11355         * manual/arith.texi: Document MTASC-safety properties.
11357         * manual/argp.texi: Document MTASC-safety properties.
11359         * manual/macros.texi: Introduce macros to document multi
11360         thread, asynchronous signal and asynchronous cancellation
11361         safety properties.
11362         * manual/intro.texi: Introduce the properties themselves.
11364 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11366         * sysdeps/sh/sh4/Makefile: New file.
11368 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
11370         * math/gen-libm-test.pl ($srcdir): New variable.
11371         ($auto_input): Use it.
11373 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11375         [BZ #16506]
11376         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
11377         access beyond array bounds when parsing netgroups file.
11379         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
11380         the old buffer before realloc.
11382 2014-01-27  Allan McRae  <allan@archlinux.org>
11384         * po/fr.po: Update French translation from translation project.
11386 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11388         * sysdeps/sh/libm-test-ulps: Regenerate.
11390 2014-01-24  David S. Miller  <davem@davemloft.net>
11392         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11394 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11396         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11397         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11399 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11401         [BZ #16474]
11402         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11403         string pointers after reallocation.
11405 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11407         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11408         __SH4A__ instead of __SH_FPU_ANY__.
11410 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11412         * sysdeps/sh/fpu_control.h: New file.
11413         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11414         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11415         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11416         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11417         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11418         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11419         * sysdeps/sh/sys/ucontext.h: Remove.
11420         * sysdeps/sh/sys: Remove directory.
11422 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11424         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11425         s390/sys/ucontext.h.
11426         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11427         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11429 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
11431         [BZ #15605]
11432         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11434 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11436         [BZ#16431]
11437         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11438         Adjust the vDSO correctly for internal calls.
11439         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11441 2014-01-20  Allan McRae  <allan@archlinux.org>
11443         * po/ca.po: Update Catalan translation from translation project.
11445 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
11447         * sysdeps/s390/sotruss-lib.c: New file.
11449 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11451         [BZ#16430]
11452         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
11453         (__GI___gettimeofday): Alias for a different internal symbol to avoid
11454         local calls issues by not having a PLT stub required for IFUNC calls.
11455         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11457 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
11459         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11460         * math/test-fpucw-static.c: Likewise.
11462 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11464         [BZ #16453]
11465         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11467 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11469         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11470         implementation for powerpc.
11472 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
11474         [BZ #14782]
11475         * sysdeps/posix/system.c (__libc_system): Do not enable
11476         asynchronous cancellation.
11478 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11480         [BZ #16427]
11481         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11482         handling only for numbers special also in the IEEE case.
11484 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11486         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11488 2014-01-11  Allan McRae  <allan@archlinux.org>
11490         * po/bg.po: Update Bulgarian translation from translation project.
11492         * po/de.po: Update German translation from translation project.
11494 2014-01-10  Roland McGrath  <roland@hack.frob.com>
11496         * sysdeps/generic/gcc-compat.h: New file.
11498 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11500         * benchtests/asin-inputs: Correct slow inputs.
11501         * benchtests/acos-inputs: Likewise.
11503 2014-01-10  Allan McRae  <allan@archlinux.org>
11505         * po:sv.po: Update Swedish translation from translation project.
11507         * po/vi.po: Update Vietnamese translation from translation project.
11509         * po/eo.po: Update Esperanto translation from translation project.
11511         * po/cs.po: Update Czech translation from translation project.
11513         * po/nl.po: Update Dutch translation from translation project.
11515         * po/pl.po: Update Polish translation from translation project.
11517         * po/ru.po: Update Russian translation from translation project.
11519         * po/uk.po: Update Ukrainian translation from translation project.
11521 2014-01-08  Brooks Moses  <bmoses@google.com>
11523         * elf/dl-load.c: Fix comment typo.
11525 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
11527         * po/header.pot: Rename to...
11528         * po/pot.header: ... this.
11529         * po/Makefile: Use pot.header.
11531 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
11532             Maxim Kuvyrkov  <maxim@kugelworks.com>
11534         [BZ #16394]
11535         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
11536         SRC and DEST against LEN.
11538 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11540         [BZ #16414]
11541         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
11542         implementation.
11543         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
11545 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11547         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11549 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
11551         [BZ #16408]
11552         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
11553         for large positive arguments.
11555 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
11557         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11559         * math/auto-libm-test-in: Mark various tests with
11560         xfail-rounding:ldbl-128ibm.
11561         * math/auto-libm-test-out: Regenerated.
11563         [BZ #16407]
11564         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11565         Increase overflow threshold.
11567 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
11569         [BZ #14286]
11570         * stdio-common/vfprintf.c: Check for integer overflow.
11572 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11574         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
11575         the first argument and return value of __tls_get_addr_internal.
11577 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11579         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
11580         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
11582 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11584         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
11585         * sysdeps/s390/rtld-global-offsets.sym: New file.
11586         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
11587         GLIBC_2.19 symbol.
11588         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
11589         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
11590         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11591         ... this.
11592         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
11593         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11594         ... this.
11595         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11596         Regenerate.
11597         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11598         Regenerate.
11599         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
11600         halfs of GPRs for high_gprs contexts.
11601         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
11602         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
11603         field.
11604         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
11605         uc_flags field.
11606         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
11607         64 bit versions:
11608         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
11609         for high GPRs (uc_high_gprs) and for future extensions
11610         (__reserved).
11611         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
11612         for future extensions (__reserved).
11613         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
11614         64 bit versions:
11615         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
11616         SC_HIGHGPRS offset definition.
11617         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
11618         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
11620         * Versions.def: Add GLIBC_2.19 for libpthread.
11621         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
11622         siglongjmp for libpthread with GLIBC_2.19 symver.
11623         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
11624         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
11625         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
11626         * sysdeps/s390/__longjmp.c: New file.
11627         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
11628         * sysdeps/s390/longjmp.c: New file.
11629         * sysdeps/s390/setjmp.S: New file.
11630         * sysdeps/s390/sigjmp.S: New file.
11631         * sysdeps/s390/v1-longjmp.c: New file.
11632         * sysdeps/s390/v1-setjmp.h: New file.
11633         * sysdeps/s390/v1-sigjmp.c: New file.
11634         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
11635         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
11636         GLIBC_2.19 version.
11637         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
11638         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
11639         versioned symbols for ____longjmp_chk.
11640         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11641         Likewise.
11642         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11643         Regenerate.
11644         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11645         Regenerate.
11646         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11647         Regenerate.
11648         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11649         Regenerate.
11650         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
11651         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
11652         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
11653         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
11654         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
11655         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
11656         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
11657         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
11658         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
11659         * sysdeps/s390/rtld-__longjmp.c: New file.
11660         * sysdeps/s390/rtld-setjmp.S: New file.
11662 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
11664         [BZ #16400]
11665         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11666         Return -__logl (x) for small positive arguments without evaluating
11667         a polynomial.
11669 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
11671         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
11672         Rename to ...
11673         (__ptrace_peeksiginfo_args): ... this.
11674         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11675         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11676         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11678 2014-01-06  Allan McRae  <allan@archlinux.org>
11680         * inet/netinet/in.h: Fix typo in comment.
11682 2014-01-05  Andreas Jaeger  <aj@suse.de>
11684         * sysdeps/i386/fpu/libm-test-ulps: Update.
11686 2014-01-05  Allan McRae  <allan@archlinux.org>
11688         * po/libc.pot: Regenerated.
11690         * malloc/memusagestat.c: Fix gettext call formatting.
11692 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
11694         * nscd/nscd.c: Improve usage() output.
11696 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
11698         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
11699         * sysdeps/unix/sysv/linux/configure: Regenerated.
11700         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
11701         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
11703 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
11705         [BZ #16390]
11706         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11707         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
11709 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11711         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
11712         extra tokens at end of #undef directive.
11713         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
11714         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
11715         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11717 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
11719         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11721         * math/auto-libm-test-in: Mark various tests with
11722         xfail-rounding:ldbl-128ibm.
11723         * math/auto-libm-test-out: Regenerated.
11725 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
11727         [BZ #16386]
11728         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
11729         numbers with subnormal high part when calculating exponent.
11731         [BZ #16385]
11732         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
11733         fabs.
11735         [BZ #16384]
11736         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
11737         M_LN2l.
11738         (__ieee754_acoshl): Use __log1pl not __log1p.
11740 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
11742         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
11743         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
11744         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
11745         (grow_heap, heap_trim, _int_new_arena, get_free_list)
11746         (reused_arena, arena_get2): Convert to GNU style.
11747         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
11748         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
11749         (memalign_check, __malloc_set_state): Likewise.
11750         * malloc/mallocbug.c (main): Likewise.
11751         * malloc/malloc.c (__malloc_assert, malloc_init_state)
11752         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
11753         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
11754         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
11755         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
11756         (__posix_memalign, malloc_info): Likewise.
11757         * malloc/malloc.h: Likewise.
11758         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
11759         (mallochook, memalignhook, reallochook, mabort): Likewise.
11760         * malloc/mcheck.h: Likewise.
11761         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
11762         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
11763         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
11764         * malloc/morecore.c (__default_morecore): Likewise.
11765         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
11766         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
11767         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
11768         (print_and_abort): Likewise.
11769         * malloc/obstack.h: Likewise.
11770         * malloc/set-freeres.c (__libc_freeres): Likewise.
11771         * malloc/tst-mallocstate.c (main): Likewise.
11772         * malloc/tst-mtrace.c (main): Likewise.
11773         * malloc/tst-realloc.c (do_test): Likewise.
11775 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11777         [BZ #16366]
11778         * nscd/netgroupcache.c (do_notfound): New function.
11779         (addgetnetgrentX): Use it.
11781         [BZ # 16365]
11782         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11783         NSS_STATUS_NOTFOUND.
11785 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
11787         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11788         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11790 2014-01-01  Allan McRae  <allan@archlinux.org>
11792         * scripts/update-copyrights: Update configure input file suffix.
11794         * NEWS: Update copyright year.
11795         * catgets/gencat.c: Likewise.
11796         * csu/version.c: Likewise.
11797         * debug/catchsegv.sh: Likewise.
11798         * debug/pcprofiledump.c: Likewise.
11799         * debug/xtrace.sh: Likewise.
11800         * elf/ldconfig.c: Likewise.
11801         * elf/ldd.bash.in: Likewise.
11802         * elf/pldd.c: Likewise.
11803         * elf/sotruss.ksh: Likewise.
11804         * elf/sprof.c: Likewise.
11805         * iconv/iconv_prog.c: Likewise.
11806         * iconv/iconvconfig.c: Likewise.
11807         * locale/programs/locale.c: Likewise.
11808         * locale/programs/localedef.c: Likewise.
11809         * login/programs/pt_chown.c: Likewise.
11810         * malloc/memusage.sh: Likewise.
11811         * malloc/memusagestat.c: Likewise.
11812         * malloc/mtrace.pl: Likewise.
11813         * manual/libc.texinfo: Likewise.
11814         * nscd/nscd.c: Likewise.
11815         * nss/getent.c: Likewise.
11816         * nss/makedb.c: Likewise.
11817         * posix/getconf.c: Likewise.
11818         * scripts/test-installation.pl: Likewise.
11820         * All files with FSF copyright notices: Update copyright dates
11821         using scripts/update-copyrights.
11822         * intl/plural.c: Regenerated.
11823         * locale/programs/charmap-kw.h: Likewise.
11824         * locale/programs/locfile-kw.h: Likewise.
11826 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
11828         * sysdeps/unix/sysv/linux/configure: Regenerated.
11829         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11830         the linux/fanotify.h header.
11831         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11832         HAVE_LINUX_FANOTIFY_H is defined.
11834 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
11836         * benchtests/cos-inputs: New inputs.
11837         * benchtests/sin-inputs: Likewise.
11839         * benchtests/atan-inputs: New inputs. Fix name of multiple
11840         precision fallback inputs.
11842         * benchtests/atanh-inputs: New inputs.
11843         * benchtests/tanh-inputs: Likewise.
11845         * benchtests/acosh-inputs: New inputs.
11846         * benchtests/asinh-inputs: Likewise.
11848         * benchtests/cosh-inputs: New inputs.
11849         * benchtests/sinh-inputs: Likewise.
11851         * benchtests/acos-inputs: Add more inputs.
11852         * benchtests/asin-inputs: Likewise.
11854 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
11856         [BZ #16375]
11857         * manual/arith.texi: Fix spelling.
11858         * manual/charset.texi: Likewise.
11859         * manual/errno.texi: Likewise.
11860         * manual/filesys.texi: Likewise.
11861         * manual/lang.texi: Likewise.
11862         * manual/llio.texi: Likewise.
11863         * manual/locale.texi: Likewise.
11864         * manual/message.texi: Likewise.
11865         * manual/resource.texi: Likewise.
11866         * manual/search.texi: Likewise.
11867         * manual/setjmp.texi: Likewise.
11868         * manual/stdio.texi: Likewise.
11869         * manual/string.texi: Likewise.
11870         * manual/sysinfo.texi: Likewise.
11871         * manual/time.texi: Likewise.
11873 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
11875         * po/sl.po: New file.
11877 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
11879         * .gitignore: Add core/.gdbinit/.gdb_history.
11881 2013-12-27  Allan McRae  <allan@archlinux.org>
11883         [BZ #16369]
11884         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11885         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11887 2013-12-24  Brooks Moses  <bmoses@google.com>
11889         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11890         all compilers that claim C++98 compliance, not just GCC.
11891         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11892         Likewise.
11894 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
11896         * NEWS: Restore accidentally deleted bug-fix entries.
11898 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
11899             Ondřej Bílka  <neleai@seznam.cz>
11901         [BZ #15073]
11902         * malloc/malloc.c (_int_free): Perform sanity check only if we
11903         have_lock.
11905 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
11907         [BZ #12986]
11908         * manual/stdio.texi (String Input Conversions): Clarify that character
11909         classes are not supported.
11911 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11913         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11915 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
11917         [BZ #16337]
11918         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11919         Calculate results for small negative arguments directly rather
11920         than using reflection formula with special underflow handling.
11922         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
11923         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
11924         sysdeps/unix/bsd/bsd4.4/syscalls.list.
11925         (fchflags): Likewise.
11926         (revoke): Likewise.
11927         (setlogin): Likewise.
11928         (sigaltstack): Likewise.
11929         (wait4): Likewise.
11930         (sigblock): Remove.
11931         (sigsetmask): Likewise.
11932         (wait3): Likewise.
11933         (waitpid): Likewise.
11934         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
11935         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
11936         file.
11937         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
11938         * sysdeps/unix/bsd/Makefile: ... here.
11939         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
11940         * sysdeps/unix/bsd/Versions: ... here.
11941         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
11942         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
11943         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
11944         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
11945         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
11946         * sysdeps/unix/bsd/sigblock.c: ... here.
11947         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
11948         * sysdeps/unix/bsd/sigsetmask.c: ... here.
11949         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
11950         * sysdeps/unix/bsd/sigvec.c: ... here.
11951         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
11952         * sysdeps/unix/bsd/tcdrain.c: ... here.
11953         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
11954         * sysdeps/unix/bsd/tcgetattr.c: ... here.
11955         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
11956         * sysdeps/unix/bsd/tcsetattr.c: ... here.
11957         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
11958         * sysdeps/unix/bsd/wait.c: ... here.
11959         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
11960         * sysdeps/unix/bsd/wait3.c: ... here.
11961         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
11962         * sysdeps/unix/bsd/waitpid.c: ... here.
11964 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
11966         [BZ #16356]
11967         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
11968         round-to-nearest for [!USE_AS_EXPM1L].
11969         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11970         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
11971         more tests of exp and exp10.  Expect some exp10 tests to miss
11972         exceptions or fail in directed rounding modes.
11973         * math/auto-libm-test-out: Regenerated.
11974         * math/libm-test.inc (exp10_tonearest_test_data): New array.
11975         (exp10_test_tonearest): New function.
11976         (exp10_towardzero_test_data): New array.
11977         (exp10_test_towardzero): New function.
11978         (exp10_downward_test_data): New array.
11979         (exp10_test_downward): New function.
11980         (exp10_upward_test_data): New array.
11981         (exp10_test_upward): New function.
11982         (main): Call the new functions.
11983         * sysdeps/i386/fpu/libm-test-ulps: Update.
11984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11986 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
11988         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
11989         asinh, atan, atan2, atanh, cbrt, cos and cosh.
11990         * math/auto-libm-test-out: Regenerated.
11991         * math/libm-test.inc (acosh_test_data): Add more tests.
11992         (atanh_test_data): Likewise.
11993         (ceil_test_data): Likewise.
11994         (copysign_test_data): Likewise.
11995         * sysdeps/i386/fpu/libm-test-ulps: Update.
11996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11998         * timezone/checktab.awk: Update from tzcode 2013i.
11999         * timezone/private.h: Likewise.
12000         * timezone/scheck.c: Likewise.
12001         * timezone/tzfile.h: Likewise.
12002         * timezone/tzselect.ksh: Likewise.
12003         * timezone/zdump.c: Likewise.
12004         * timezone/zic.c: Likewise.
12006         * math/auto-libm-test-in: Add tests of cpow.
12007         * math/auto-libm-test-out: Regenerated.
12008         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
12009         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12010         mpc_cc_c.
12011         (func_calc_desc): Add mpc_cc_c union field.
12012         (test_functions): Add cpow.
12013         (special_fill_2pi): New function.
12014         (special_real_inputs): Add 2pi.
12015         (calc_generic_results): Handle mpc_cc_c.
12016         * sysdeps/i386/fpu/libm-test-ulps: Update.
12017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12019         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
12020         csqrt, ctan and ctanh.
12021         * math/auto-libm-test-out: Regenerated.
12022         * math/libm-test.inc (TEST_COND_x86_64): New macro.
12023         (TEST_COND_x86): Likewise.
12024         (ccos_test_data): Use AUTO_TESTS_c_c.
12025         (ccosh_test_data): Likewise.
12026         (cexp_test_data): Likewise.
12027         (clog_test_data): Likewise.
12028         (csqrt_test_data): Likewise.
12029         (ctan_test_data): Likewise.
12030         (ctan_tonearest_test_data): Likewise.
12031         (ctan_towardzero_test_data): Likewise.
12032         (ctan_downward_test_data): Likewise.
12033         (ctan_upward_test_data): Likewise.
12034         (ctanh_test_data): Likewise.
12035         (ctanh_tonearest_test_data): Likewise.
12036         (ctanh_towardzero_test_data): Likewise.
12037         (ctanh_downward_test_data): Likewise.
12038         (ctanh_upward_test_data): Likewise.
12039         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12040         mpc_c_c.
12041         (func_calc_desc): Add mpc_c_c union field.
12042         (FUNC_mpc_c_c): New macro.
12043         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
12044         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12045         ctanh.
12046         (special_fill_min_subnorm_p120): New function.
12047         (special_real_inputs): Add min_subnorm_p120.
12048         (calc_generic_results): Handle mpc_c_c.
12049         * sysdeps/i386/fpu/libm-test-ulps: Update.
12050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12052 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12054         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12055         (do_sin_slow): New functions.
12056         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12057         (cslow2, csloww1, csloww2): Use the new functions.
12059         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12060         Use M to change sign of result instead of X.  Assume X is
12061         positive.
12062         (csloww1): Likewise.
12063         (__sin): Adjust.
12064         (__cos): Adjust.
12066         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12067         arguments A and DA.
12068         (__sin): Adjust.
12069         (__cos): Likewise.
12071         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
12072         (__cos): Likewise.
12073         (sloww1): Don't adjust sign of DX.
12074         (csloww1): Likewise.
12075         (sloww2): Use X directly and don't adjust sign of DX.
12076         (csloww2): Likewise.
12078 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12080         * math/auto-libm-test-in: Add tests of cabs and carg.
12081         * math/auto-libm-test-out: Regenerated.
12082         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12083         (carg_test_data): Likewise.
12084         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12085         mpc_c_f.
12086         (func_calc_desc): Add mpc_c_f union field.
12087         (test_functions): Add cabs and carg.
12088         (calc_generic_results): Handle mpc_c_f.
12090         * sysdeps/powerpc/powerpc32/libgcc-compat.S
12091         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12092         as a macro and a compat symbol.
12093         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12094         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12095         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12096         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12097         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12098         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12099         not use .hidden.
12100         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12101         Likewise.
12102         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12103         Likewise.
12104         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12105         Likewise.
12106         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12107         Likewise.
12108         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12109         Likewise.
12110         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12111         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12112         from GLIBC_2.3.2.
12114 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12116         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12118 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12120         * manual/texinfo.tex: Update to version 2013-11-26.10 with
12121         trailing whitespace removed.
12122         * scripts/config.guess: Update to version 2013-11-29.
12123         * scripts/config.sub: Update to version 2013-10-01.
12125         * math/auto-libm-test-in: Add tests of sincos.
12126         * math/auto-libm-test-out: Regenerated.
12127         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12128         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12129         mpfr_f_11.
12130         (func_calc_desc): Add mpfr_f_11 union field.
12131         (test_functions): Add sincos.
12132         (calc_generic_results): Handle mpfr_f_11.
12133         * sysdeps/i386/fpu/libm-test-ulps: Update.
12134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12136 2013-12-19  Andreas Schwab  <schwab@suse.de>
12138         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12139         CALL_MCOUNT.
12140         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12141         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12142         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12144 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12146         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12147         * sysdeps/i386/fpu/libm-test-ulps: Update.
12148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12150         [BZ #16293]
12151         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12152         round-to-nearest mode when using frndint.
12153         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12154         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12155         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12156         Likewise.
12157         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
12158         sinh test to fail.
12159         * math/auto-libm-test-out: Regenerated.
12160         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12161         (TEST_COND_x86): Likewise.
12162         (expm1_tonearest_test_data): New array.
12163         (expm1_test_tonearest): New function.
12164         (expm1_towardzero_test_data): New array.
12165         (expm1_test_towardzero): New function.
12166         (expm1_downward_test_data): New array.
12167         (expm1_test_downward): New function.
12168         (expm1_upward_test_data): New array.
12169         (expm1_test_upward): New function.
12170         (main): Run the new test functions.
12171         * sysdeps/i386/fpu/libm-test-ulps: Update.
12172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12174         * include/features.h: Update comment documenting feature test
12175         macros.  Mention _DEFAULT_SOURCE in comment.
12176         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12177         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12178         _BSD_SOURCE and _SVID_SOURCE.
12179         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12180         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12181         !_SVID_SOURCE]: Likewise.
12182         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12183         (__USE_POSIX_IMPLICITLY): Define.
12184         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12185         (_POSIX_SOURCE): Undefine and redefine.
12186         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12187         (_POSIX_C_SOURCE): Likewise.
12188         * manual/creature.texi (_DEFAULT_SOURCE): Document.
12189         (Feature Test Macros): Update documentation of default features.
12191 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12193         * benchtests/Makefile: Add bench-strtok.
12194         * benchtests/bench-strtok.c: New file: strtok benchtest.
12196 2013-12-19  Allan McRae  <allan@archlinux.org>
12198         * manual/install.texi: Suppress menu for plain text output.
12199         * INSTALL: Regenerated.
12201 2013-12-18  Brooks Moses  <bmoses@google.com>
12203         [BZ #15846]
12204         * misc/getauxval.c: Include errno.h.
12205         (__getauxval): Set errno to ENOENT if the requested type is not
12206         found.
12207         * misc/sys/auxv.h (getauxval): Document that it may set errno;
12208         don't declare with __attribute_const__.
12209         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12210         * manual/startup.texi: Document that getauxval sets errno.
12212 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
12214         * math/auto-libm-test-in: Add tests of jn and yn.
12215         * math/auto-libm-test-out: Regenerated.
12216         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12217         (yn_test_data): Likewise.
12218         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12219         mpfr_if_f.
12220         (func_calc_desc): Add mpfr_if_f union field.
12221         (FUNC_mpfr_if_f): New macro.
12222         (test_functions): Add jn and yn.
12223         (calc_generic_results): Assert type of second input for
12224         mpfr_ff_f.  Handle mpfr_if_f.
12225         (output_for_one_input_case): Disable all checking for arguments
12226         fitting floating-point types in case of an integer argument.
12227         * sysdeps/i386/fpu/libm-test-ulps: Update.
12228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12231         Don't expect fegetround reference in libm.so.
12233 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12235         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12236         $(config-cflags-nofma).
12238 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
12240         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12241         * math/auto-libm-test-out: Regenerated.
12243         [BZ #16338]
12244         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12245         to determine exponent and adjust argument to have exponent of -1.
12246         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12247         log2.
12248         * math/auto-libm-test-out: Regenerated.
12249         * sysdeps/i386/fpu/libm-test-ulps: Update.
12250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12252 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
12254         * manual/probes.texi: Remove cases when per-thread arenas are
12255         disabled.
12257 2013-12-18  Andreas Schwab  <schwab@suse.de>
12259         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12260         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12261         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12262         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12263         * sysdeps/i386/i686/multiarch/Makefile: Update.
12264         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12266 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12268         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12269         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12271 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
12273         [BZ #15968]
12274         Support TZ transition times < 00:00:00.
12275         This is needed for version-3 tz-format files; it supports time
12276         stamps past 2037 for America/Godthab (the only entry in the tz
12277         database for which this change is relevant).
12278         * manual/time.texi (TZ Variable): Document transition times
12279         from -167:59:59 through -00:00:01.
12280         * time/tzset.c (tz_rule): Time of day is now signed.
12281         (__tzset_parse_tz): Parse negative time of day.
12283         Document TZ transition times >= 25:00:00.
12284         * manual/time.texi (TZ Variable): Document transition times from
12285         25:00:00 through 167:59:59.  These are already supported, and this
12286         support will help with version-3 tz-format files.
12288         * manual/time.texi (TZ Variable): Modernize North America example
12289         to reflect current (i.e., 2007-and-later) daylight saving rules.
12291         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12293 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12295         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12296         * sysdeps/unix/bsd/bits/stat.h: Likewise.
12297         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12298         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12299         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12300         * sysdeps/unix/bsd/bsdstat.h: Likewise.
12301         * sysdeps/unix/bsd/clock.c: Likewise.
12302         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12303         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12304         * sysdeps/unix/bsd/init-posix.c: Likewise.
12305         * sysdeps/unix/bsd/poll.c: Likewise.
12306         * sysdeps/unix/bsd/ptsname.c: Likewise.
12307         * sysdeps/unix/bsd/seekdir.c: Likewise.
12308         * sysdeps/unix/bsd/setegid.c: Likewise.
12309         * sysdeps/unix/bsd/seteuid.c: Likewise.
12310         * sysdeps/unix/bsd/setgid.c: Likewise.
12311         * sysdeps/unix/bsd/setrgid.c: Likewise.
12312         * sysdeps/unix/bsd/setruid.c: Likewise.
12313         * sysdeps/unix/bsd/setsid.c: Likewise.
12314         * sysdeps/unix/bsd/setuid.c: Likewise.
12315         * sysdeps/unix/bsd/sigaction.c: Likewise.
12316         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
12317         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
12318         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
12319         * sysdeps/unix/bsd/telldir.c: Likewise.
12320         * sysdeps/unix/bsd/times.c: Likewise.
12321         * sysdeps/unix/bsd/usleep.c: Likewise.
12323         * misc/Makefile (install-lib): Remove libbsd-compat.a.
12324         ($(objpfx)libbsd-compat.a): Remove rule.
12326         * include/features.h (__FAVOR_BSD): Do not define.
12327         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
12328         features conflicting with POSIX.
12329         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
12330         (_BSD_SOURCE): Remove description of not being a subset of other
12331         feature test macros.
12332         * manual/job.texi (getpgrp): Do not document BSD version.
12333         (getpgid): Do not document by reference to BSD getpgrp.
12334         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
12335         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
12336         * signal/signal.h [__FAVOR_BSD]: Likewise.
12337         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
12338         instead of making contents conditional on [__FAVOR_BSD].
12339         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
12341 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12343         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12345 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12347         [BZ #16314]
12348         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
12349         values below 2**-450, not 2**-500.
12350         * math/auto-libm-test-in: Don't allow spurious underflow from
12351         hypot.
12352         * math/auto-libm-test-out: Regenerated.
12354         [BZ #16316]
12355         [BZ #16330]
12356         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
12357         values of ha and hb and sort them after adjusting subnormal
12358         arguments.
12359         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12360         Likewise.
12361         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
12362         values of ea and eb and sort them after adjusting subnormal
12363         arguments.
12364         * math/auto-libm-test-in: Do not expect some hypot tests of
12365         subnormals to fail.  Add more hypot tests.
12366         * math/auto-libm-test-out: Regenerated.
12368 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12370         [BZ #13304]
12371         * sysdeps/sh/s_fma.c: New file.
12372         * sysdeps/sh/s_fmaf.c: New file.
12373         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
12374         version.
12375         * sysdeps/sh/Implies: Add sh/soft-fp.
12377 2013-12-16  Roland McGrath  <roland@hack.frob.com>
12379         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
12380         level of indirection to members `objname', `errstring', `malloced'.
12381         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
12382         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
12383         it as the __longjmp argument (just pass 1 instead).
12384         (_dl_catch_error): Initialize C with argument pointers and address of
12385         volatile local ERRCODE rather than copying values out of C at return.
12387 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
12389         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12390         * math/auto-libm-test-out: Regenerated.
12391         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12392         (hypot_test_data): Likewise.
12393         (pow_test_data): Likewise.
12394         (pow_tonearest_test_data): Likewise.
12395         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12396         mpfr_ff_f.
12397         (func_calc_desc): Add mpfr_ff_f union field.
12398         (FUNC_mpfr_ff_f): New macro.
12399         (test_functions): Add atan2, hypot and pow.
12400         (special_fill_min): New function.
12401         (special_fill_minus_min): Likewise.
12402         (special_fill_min_subnorm): Likewise.
12403         (special_fill_minus_min_subnorm): Likewise.
12404         (special_real_inputs): Add min, -min, min_subnorm and
12405         -min_subnorm.
12406         (calc_generic_results): Handle mpfr_ff_f.
12407         * sysdeps/i386/fpu/libm-test-ulps: Update.
12408         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12410 2013-12-16  Will Newton  <will.newton@linaro.org>
12412         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12413         (Aligned Memory Blocks): Add documentation for aligned_alloc
12414         and suggest it as an alternative to posix_memalign.
12415         (Hooks for Malloc): Document __memalign_hook is also called
12416         for aligned_alloc.  (Summary of Malloc): Add summary for
12417         aligned alloc.  Document __memalign_hook is also called
12418         for aligned_alloc.
12420 2013-12-16  Will Newton  <will.newton@linaro.org>
12422         * manual/memory.texi (Malloc Examples): Clarify default
12423         alignment documentation.  Suggest posix_memalign rather
12424         than memalign or valloc.
12425         (Aligned Memory Blocks): Remove suggestion to use memalign
12426         or valloc.  Remove obsolete comment about BSD.
12427         Document memalign errno values and mark the function obsolete.
12428         Document posix_memalign returned error codes.  Mark valloc
12429         as obsolete.  (Hooks for Malloc): __memalign_hook is also
12430         called for posix_memalign and valloc.
12431         (Summary of Malloc): Add posix_memalign to function summary.
12432         __memalign_hook is also called for posix_memalign and valloc.
12434 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12436         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12437         TAYLOR_SIN.
12438         (__sin): Adjust.
12439         (__cos): Likewise.
12440         (sloww): Use mynumber union.  Expand ternary operator into
12441         if-else statements.
12442         (cslow): use mynumber union.
12444 2013-12-16  Allan McRae  <allan@archlinux.org>
12446         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12447         * configure: Regenerated.
12449         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12451         [BZ #14120]
12452         * configure.ac: Added --enable-maintainer-mode. Check for
12453         autoconf when enabled.
12454         * configure: Regenerated.
12456         * nscd/nscd.service: New file.
12457         * nscd/nscd.tmpfiles: New file.
12459 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
12461         [BZ #12100]
12462         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12463         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12464         * sysdeps/x86_64/multiarch/strstr.c: ... here.
12465         (strstr): Add __strstr_sse2_unaligned ifunc.
12466         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12467         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12468         (strcasestr): Remove __strcasestr_sse42 ifunc.
12469         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12470         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12471         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12473 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12475         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12476         * sysdeps/sh/bits/fenv.h: ... here.
12477         * sysdeps/sh/sh4/fpu/bits: Remove directory.
12479 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12481         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12483         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12484         hypotf multiarch implementations.
12485         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12486         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12487         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12488         multiarch hypot for PPC64.
12489         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12490         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12491         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12492         multiarch hypotf for PPC64.
12494         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12495         modff multiarch implementations.
12496         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12497         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12499         multiarch modf for PPC64.
12500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12501         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12502         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12503         multiarch modff for PPC64.
12505         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12506         and logl multiarch implementations.
12507         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12508         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12510         multiarch logb for PPC64.
12511         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12512         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12513         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12514         multiarch logb for PPC64.
12515         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12516         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12517         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12518         multiarch logb for PPC64.
12520         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
12521         isinff multiarch implementation.
12522         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
12523         file.
12524         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
12525         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
12526         multiarch isinf for PPC64.
12527         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
12528         file.
12529         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
12530         multiarch isinff for PPC64.
12532         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
12533         finitef multiarch implementation.
12534         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
12535         file.
12536         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
12537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
12538         multiarch finite for PPC64.
12539         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
12540         file.
12541         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
12542         multiarch finitef for PPC64.
12544         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
12545         lrint multiarch implementation.
12546         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
12547         file.
12548         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
12549         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
12550         multiarch llrint for PPC64.
12551         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
12552         multiarch lrint for PPC64.
12554         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
12555         copysignf multiarch implementation.
12556         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
12557         file.
12558         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
12559         file.
12560         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
12561         multiarch copysign for PPC64.
12562         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
12563         multiarch copysignf for PPC64.
12565         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
12566         multiarch implementation.
12567         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
12568         file.
12569         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
12570         file.
12571         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
12572         file.
12573         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
12574         file.
12575         multiarch llround for PPC64.
12576         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
12577         multiarch trunc for PPC64.
12578         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
12579         multiarch truncf for PPC64.
12581         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
12582         multiarch implementation.
12583         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
12584         file.
12585         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
12586         file.
12587         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
12588         file.
12589         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
12590         file.
12591         multiarch llround for PPC64.
12592         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
12593         multiarch round for PPC64.
12594         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
12595         multiarch roundf for PPC64.
12597         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
12598         multiarch implementation.
12599         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
12600         file.
12601         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
12602         file.
12603         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
12604         file.
12605         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
12606         file.
12607         multiarch llround for PPC64.
12608         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
12609         multiarch floor for PPC64.
12610         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
12611         multiarch floorf for PPC64.
12613         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
12614         multiarch implementation.
12615         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
12616         file.
12617         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
12618         file.
12619         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
12620         file.
12621         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
12622         file.
12623         multiarch llround for PPC64.
12624         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
12625         multiarch ceil for PPC64.
12626         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
12627         multiarch ceilf for PPC64.
12629         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12630         multiarch implementation.
12631         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
12632         file.
12633         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
12634         file.
12635         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
12636         file.
12637         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
12638         multiarch llround for PPC64.
12639         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
12640         multiarch lround for PPC64.
12642         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12643         multiarch implementation.
12644         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
12645         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
12646         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
12647         file.
12648         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
12649         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
12650         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
12651         multiarch isnan for PPC64.
12652         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
12653         multiarch isnanf for PPC64.
12655         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
12656         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
12657         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
12658         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
12659         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
12660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
12662         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
12663         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12664         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12665         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12667         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
12668         multiarch implementations.
12669         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12670         (__libc_ifunc_impl_list): Likewise.
12671         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12672         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
12673         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
12674         multiarch stpcpy for PPC64.
12676         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
12677         multiarch implementations.
12678         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12679         (__libc_ifunc_impl_list): Likewise.
12680         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
12681         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
12682         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
12683         multiarch strcpy for PPC64.
12685         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
12686         redefine function name.
12687         (_wordcopy_fwd_dest_aligned): Likewise.
12688         (_wordcopy_bwd_aligned): Likewise.
12689         (_wordcopy_bwd_dest_aligned): Likewise.
12690         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
12691         multiarch implementations.
12692         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12693         (__libc_ifunc_impl_list): Likewise.
12694         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
12695         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
12696         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
12697         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
12698         multiarch wcscpy for PPC64.
12700         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
12701         multiarch implementations.
12702         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12703         (__libc_ifunc_impl_list): Likewise.
12704         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
12705         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
12706         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
12707         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
12708         multiarch wcscpy for PPC64.
12710         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
12711         multiarch implementations.
12712         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12713         (__libc_ifunc_impl_list): Likewise.
12714         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
12715         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
12716         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
12717         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
12718         multiarch wcsrchr for PPC64.
12720         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
12721         multiarch implementations.
12722         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12723         (__libc_ifunc_impl_list): Likewise.
12724         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
12725         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
12726         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
12727         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
12728         multiarch wcschr for PPC64.
12730         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
12731         multiarch implementations.
12732         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12733         (__libc_ifunc_impl_list): Likewise.
12734         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
12735         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
12736         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
12737         multiarch strchrnul for PPC64.
12739         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
12740         implementations.
12741         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12742         (__libc_ifunc_impl_list): Likewise.
12743         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
12744         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
12745         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
12746         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
12747         strchr for PPC64.
12749         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
12750         implementations.
12751         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12752         (__libc_ifunc_impl_list): Likewise.
12753         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
12754         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
12755         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
12756         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
12757         strncmp for PPC64.
12759         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
12760         multiarch implementations.
12761         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12762         (__libc_ifunc_impl_list): Likewise.
12763         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
12764         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
12765         strncasecmp for PPC64.
12766         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
12767         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12768         multiarch strncasecmp_l for PPC64.
12770         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
12771         multiarch implementations.
12772         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12773         (__libc_ifunc_impl_list): Likewise.
12774         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
12775         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
12776         multiarch strcasecmp for PPC64.
12777         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
12778         file.
12779         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
12780         multiarch strcasecmp_l for PPC64.
12782         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12783         implementations.
12784         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12785         (__libc_ifunc_impl_list): Likewise.
12786         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12787         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12788         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12789         strnlen for PPC64.
12791         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12792         implementations.
12793         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12794         (__libc_ifunc_impl_list): Likewise.
12795         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12796         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12797         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12798         strlen for PPC64.
12800         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12801         implementations.
12802         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12803         (__libc_ifunc_impl_list): Likewise.
12804         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12805         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12806         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12807         rawmemrchr for PPC64.
12809         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12810         implementation.
12811         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12812         (__libc_ifunc_impl_list): Likewise.
12813         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12814         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12815         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12816         memrchr for PPC64.
12818         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12819         implementation.
12820         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12821         (__libc_ifunc_impl_list): Likewise.
12822         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12823         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12824         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12825         memchr for PPC64.
12827         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12828         implementation.
12829         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12830         (__libc_ifunc_impl_list): Likewise.
12831         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12832         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12833         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12834         mempcpy for PPC64.
12836         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12837         avoid cretion of __bzero symbol.
12838         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12839         Likewise.
12840         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12841         Likewise.
12842         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12843         Likewise.
12844         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12845         multiarch implementations.
12846         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12847         (__libc_ifunc_impl_list): Likewise.
12848         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12849         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12850         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12851         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12852         bzero for PPC32.
12853         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12854         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12855         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12856         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12857         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12858         memset for PPC64.
12859         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12861         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12862         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12863         implementations.
12864         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12865         (__libc_ifunc_impl_list): Likewise.
12866         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12867         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12868         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12869         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12870         memcmp for PPC64.
12872         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12873         multiarch for POWER/PPC64.
12874         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12875         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12876         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12877         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12878         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12879         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12880         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12881         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12882         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12883         memcpy for PPC64.
12885         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12886         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12887         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12888         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12889         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12890         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12891         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12892         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12893         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12894         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12895         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
12896         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
12897         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
12898         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
12899         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
12900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
12901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
12902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
12903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
12904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
12905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
12906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
12908 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12910         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
12912 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12914         * benchtests/Makefile (bench): Add exp2 and log2.
12915         (LDLIBS-bench-exp2): Add -lm.
12916         (LDLIBS-bench-log2): Likewise.
12917         * benchtests/exp2-inputs: New inputs file.
12918         * benchtests/log2-inputs: New inputs file.
12919         * benchtests/log-inputs: Add new inputs.
12920         * benchtests/tan-inputs: Likewise.
12922 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12924         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
12925         definition...
12926         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
12927         (csloww2): ... from here.
12929         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
12930         instead of structures.
12931         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
12932         (POLYNOMIAL): Likewise.
12933         (TAYLOR_SLOW): Likewise.
12934         (__sin): Likewise.
12935         (__cos): Likewise.
12936         (slow1): Likewise.
12937         (slow2): Likewise.
12938         (sloww): Likewise.
12939         (sloww1); Likewise.
12940         (sloww2): Likewise.
12941         (bsloww1): Likewise.
12942         (bsloww2): Likewise.
12943         (cslow2): Likewise.
12944         (csloww): Likewise.
12945         (csloww1): Likewise.
12946         (csloww2): Likewise.
12948 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
12950         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
12951         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
12952         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
12953         * malloc/hooks.c (realloc_check): Likewise.
12955         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
12956         * malloc/arena.c: Remove PER_THREAD conditional.
12957         [!PER_THREAD]: Remove code.
12958         (ptmalloc_unlock_all2): Likewise.
12959         (ptmalloc_init): Likewise.
12960         (_int_new_arena): Likewise.
12961         (arena_get2): Likewise.
12962         * malloc/hooks.c (__malloc_get_state): Likewise.
12963         (__malloc_set_state): Likewise.
12964         * malloc/malloc.c: Likewise.
12965         (struct malloc_state): Likewise.
12966         (struct malloc_par): Likewise.
12967         (__libc_realloc): Likewise.
12968         (__libc_mallopt): Likewise.
12970 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12972         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
12974 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
12976         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
12977         macro to a function.  Check for zero perturb_byte.
12978         (_int_malloc, _int_free): Remove zero perturb_byte checks.
12980         * malloc/malloc.c: (force_reg): Remove.
12981         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
12982         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
12983         force_reg by atomic_forced_read.
12984         * malloc/arena.c (ptmalloc_init): Likewise.
12985         * malloc/hooks.c (top_check): Likewise.
12987 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12989         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12991 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
12993         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12995 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
12997         * math/auto-libm-test-in: Add tests of lgamma.
12998         * math/auto-libm-test-out: Regenerated.
12999         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13000         (M_LOG_2_SQRT_PIl): Likewise.
13001         (lgamma_test_data): Use AUTO_TESTS_f_f1.
13002         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13003         mpfr_f_f1.
13004         (func_calc_desc): Add mpfr_f_f1 union field.
13005         (ARGS1): New macro.
13006         (ARGS2): Likewise.
13007         (ARGS3): Likewise.
13008         (ARGS4): Likewise.
13009         (RET1): Likewise.
13010         (RET2): Likewise.
13011         (CALC): Likewise.
13012         (FUNC): Likewise.
13013         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
13014         (test_functions): Add lgamma.
13015         (calc_generic_results): Handle mpfr_f_f1.
13016         * sysdeps/i386/fpu/libm-test-ulps: Update.
13017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13019 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13021         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
13022         __mpn_add_n for PowerPC64/POWER7.
13023         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
13024         __mpn_sub_n for PowerPC64/POWER7.
13026         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13027         __mpn_addmul_1 for PowerPC64.
13028         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
13029         __mpn_submul_1 for PowerPC64.
13030         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
13031         for PowerPC64.
13032         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
13033         for PowerPC64.
13035 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
13037         [BZ #15089]
13038         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
13040 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13042         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
13044         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13045         add multiarch folders.
13046         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13047         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13048         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13049         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13050         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13051         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13052         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13053         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13054         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13055         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13056         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13065         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13067         New file.
13068         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13069         New file.
13070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
13071         multiarch __ieee754_hypot for PowerPC32.
13072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
13073         New file.
13074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
13075         New file.
13076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
13077         multiarch __ieee754_hypotf for PowerPC32.
13079         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13080         long_double_symbol only if __logbl is defined.
13081         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13082         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13083         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13084         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13085         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13086         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13087         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13088         path for implementation.
13089         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13090         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13092         logb, and logbl multiarch implementations for PowerPC32.
13093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13094         file.
13095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13096         file.
13097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13098         multiarch logb for PowerPC32.
13099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13100         file.
13101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13102         file.
13103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13104         multiarch logbf for PowerPC32.
13105         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13107         file.
13108         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13109         multiarch logbl implementation for PowerPC32.
13111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13112         and modff multiarch implementations.
13113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13114         New file.
13115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13116         New file.
13117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13118         multiarch modf for PowerPC32.
13119         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13120         New file.
13121         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13122         New file.
13123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13124         multiarch modff for PowerPC32.
13126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13127         and lrintf multiarch implementations.
13128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13129         New file.
13130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13131         New file.
13132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13133         multiarch lrint for PowerPC32.
13134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13135         file: multiarch lrintf for PowerPC32.
13137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13138         and lroundf multiarch implementations.
13139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13140         New file.
13141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13142         New file.
13143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13144         New file.
13145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13146         multiarch lround for PowerPC32.
13147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13148         file: multiarch lroundf for PowerPC32.
13150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13151         copysign and copysignf multiarch implementations.
13152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13153         New file.
13154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13155         New file.
13156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13157         file: multiarch copysign for PowerPC32.
13158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13159         file: multiarch copysignf for PowerPC32.
13161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13162         and truncf multiarch implementations.
13163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13164         New file.
13165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13166         file.
13167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13168         multiarch trunc for PowerPC32.
13169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13170         New file.
13171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13172         New file.
13173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13174         multiarch truncf for PowerPC32.
13176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13177         and roundf multiarch implementations.
13178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13179         New file.
13180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13181         file.
13182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13183         multiarch round for PowerPC32.
13184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13185         New file.
13186         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
13187         New file.
13188         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
13189         multiarch roundf for PowerPC32.
13191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
13192         and floorf multiarch implementations.
13193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
13194         New file.
13195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
13196         file.
13197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
13198         multiarch floor for PowerPC32.
13199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13200         New file.
13201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13202         New file.
13203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13204         multiarch floorf for PowerPC32.
13206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13207         and ceilf multiarch implementations.
13208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13209         New file.
13210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13211         file.
13212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13213         multiarch ceil for PowerPC32.
13214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13215         New file.
13216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13217         file.
13218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13219         multiarch ceilf for PowerPC32.
13221         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13222         is defined.
13223         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13224         FINITEF is defined.
13225         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13226         and finitef multiarch implementations.
13227         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13228         New file.
13229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13230         file.
13231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13232         multiarch finite for PowerPC32.
13233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13234         New file.
13235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13236         file: multiarch finitef for PowerPC32.
13238         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13239         and isinff multiarch implementations.
13240         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13241         file.
13242         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13243         file.
13244         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13245         multiarch isinf for PowerPC32.
13246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13247         New file.
13248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13249         multiarch isinff for PowerPC32.
13251         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13252         alias when __isnan is defined.
13253         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13254         and isnanf multiarch implementations.
13255         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13256         file.
13257         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13258         file.
13259         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13260         file.
13261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13262         file.
13263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13264         multiarch isnan for PowerPC32.
13265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13266         New file.
13267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13268         New file.
13269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13270         multiarch isnanf for PowerPC32.
13272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13273         and sqrtf multiarch implementations.
13274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13275         file.
13276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13277         file.
13278         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13279         multiarch sqrt for PowerPC32.
13280         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13281         file.
13282         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13283         file.
13284         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13285         multiarch sqrtf for PowerPC32.
13287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13288         and llroundf multiarch implementations.
13289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13290         New file.
13291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13292         New file.
13293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13294         New file.
13295         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13296         file: multiarch llround for PowerPC32.
13297         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13298         file: multiarch llroundf for PowerPC32.
13300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13301         multiarch PowerPC32 fpu implementations.
13302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13303         New file.
13304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13305         New file.
13306         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13307         multiarch llrint for PowerPC32.
13308         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13309         New file.
13310         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
13311         New file.
13312         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
13313         file.
13315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
13317         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
13318         file.
13319         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
13320         file.
13321         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
13322         file.
13323         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
13324         multiarch wordcopy for PPC32.
13325         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13326         wordcopy objects.
13327         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13328         (__libc_ifunc_impl_list): Likewise.
13329         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
13330         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
13331         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
13332         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
13333         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
13334         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
13336         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
13337         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
13338         file.
13339         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
13340         file.
13341         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
13342         file.
13343         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
13344         multiarch wcscpy for PPC32.
13345         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13346         multiarch objects.
13347         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13348         (__libc_ifunc_impl_list): Likewise.
13349         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13350         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13351         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
13352         sysdeps/powerpc/power6/wcscpy.c.
13354         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
13355         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
13356         file.
13357         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
13358         file.
13359         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
13360         file.
13361         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
13362         multiarch wcsrchr for PPC32.
13363         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13364         multiarch objects.
13365         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13366         (__libc_ifunc_impl_list): Likewise.
13367         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13368         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13369         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
13370         sysdeps/powerpc/power6/wcsrchr.c.
13372         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
13373         file.
13374         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
13375         file.
13376         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
13377         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
13378         multiarch wcschr for PPc32.
13379         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13380         multiarch objects.
13381         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13382         (__libc_ifunc_impl_list): Likewise.
13383         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
13384         * sysdeps/powerpc/power6/wcschr.c: ... to here.
13385         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
13386         sysdeps/powerpc/power6/wcschr.c.
13388         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
13389         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13390         file.
13391         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13392         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13393         file: multiarch strchr for PPC32.
13394         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13395         multiarch objects.
13396         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13397         (__libc_ifunc_impl_list): Likewise.
13399         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13400         name.
13401         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13402         file.
13403         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13404         file.
13405         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13406         multiarch strchrnul for PPC32.
13407         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13408         multiarch objects.
13409         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13410         (__libc_ifunc_impl_list): Likewise.
13412         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13413         file.
13414         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13415         multiarch strncasecmp for PPC32.
13416         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13417         file.
13418         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13419         multiarch strncasecmp_l for PPC32.
13420         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13421         strncasecmp multiarch objects.
13422         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13423         (__libc_ifunc_impl_list): Likewise.
13425         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13426         file.
13427         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13428         multiarch strncasecmp for PPC32.
13429         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13430         New file.
13431         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13432         multiarch strcasecmp_l for PPC32.
13433         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13434         multiarch objects.
13435         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13436         (__libc_ifunc_impl_list): Likewise.
13438         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13439         file.
13440         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13441         file.
13442         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13443         multiarch strncmp for PPC32.
13444         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13445         multiarch objects.
13446         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13447         (__libc_ifunc_impl_list): Likewise.
13449         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13450         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13451         file.
13452         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13453         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13454         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13455         multiarch objects.
13456         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13457         (__libc_ifunc_impl_list): Likewise.
13459         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13460         file.
13461         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13462         file.
13463         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13464         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13465         multiarch objects.
13466         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13467         (__libc_ifunc_impl_list): Likewise.
13469         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13470         file.
13471         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13472         file.
13473         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13474         multiarch rawmemchr for PPC32.
13475         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13476         multiarch objects.
13477         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13478         (__libc_ifunc_impl_list): Likewise.
13480         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13481         file.
13482         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13483         file.
13484         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13485         file: memrchr multiarch for PPC32.
13486         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13487         multiarch objects.
13488         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13489         (__libc_ifunc_impl_list): Likewise.
13491         * string/memchr.c (__memchr): Using macro to redefine symbol name.
13492         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13493         file.
13494         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13495         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13496         multiarch memchr for PPC32.
13497         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13498         multiarch objects.
13499         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13500         (__libc_ifunc_impl_list): Likewise.
13502         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13503         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13504         file.
13505         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13506         file.
13507         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13508         file: multiarch mempcpy for PPC32.
13509         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13510         multiarch objects.
13511         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13512         (__libc_ifunc_impl_list): Likewise.
13514         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13515         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13516         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13517         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13518         multiarch bzero for PPC32.
13519         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13520         file.
13521         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
13522         file.
13523         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
13524         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
13525         file: multiarch memset for PPC32.
13526         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
13527         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
13528         memset multiarch objects.
13529         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13530         (__libc_ifunc_impl_list): Likewise.
13532         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
13533         file.
13534         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
13535         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
13536         memcmp for PPC32.
13537         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
13538         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
13539         multiarch objects.
13540         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13541         (__libc_ifunc_impl_list): Likewise.
13543         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
13544         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
13545         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
13546         file.
13547         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
13548         file.
13549         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
13550         file.
13551         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
13552         multiarch memcpy for PPC32.
13553         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
13554         multiarch objects.
13555         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13556         (__libc_ifunc_impl_list): Likewise.
13558         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
13559         support multiarch for POWER/PPC32.
13560         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
13561         Likewise.
13562         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
13564         Implies file to make multiarch folder appers before the fpu and
13565         default folder for power4 configuration.
13567 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
13569         * scripts/bench.pl: Append volatile keyword to type.
13571 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13573         * sysdeps/sh/sotruss-lib.c: New file.
13574         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
13576 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13578         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13580 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
13582         [BZ #6810]
13583         * math/w_tgamma.c: Include <errno.h>.
13584         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
13585         * math/w_tgammaf.c: Include <errno.h>.
13586         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
13587         * math/w_tgammal.c: Include <errno.h>.
13588         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
13589         * math/auto-libm-test-in: Do not allow missing errno on tgamma
13590         underflow.  Add more tgamma tests.
13591         * math/auto-libm-test-out: Regenerated.
13592         * sysdeps/i386/fpu/libm-test-ulps: Update.
13593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13595         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
13596         sin, sinh, tan, tanh, tgamma, y0 and y1.
13597         * math/auto-libm-test-out: Regenerated.
13598         * math/libm-test.inc (TEST_COND_x86_64): New macro.
13599         (TEST_COND_x86): Likewise.
13600         (M_E2l): Remove macro.
13601         (M_E3l): Likewise.
13602         (M_2_SQRT_PIl): Likewise.
13603         (M_SQRT_PIl): Likewise.
13604         (M_1_DIV_El): Likewise.
13605         (log_test_data): Use AUTO_TESTS_f_f.
13606         (log10_test_data): Likewise.
13607         (log1p_test_data): Likewise.
13608         (log2_test_data): Likewise.
13609         (sin_test_data): Likewise.
13610         (sin_tonearest_test_data): Likewise.
13611         (sin_towardzero_test_data): Likewise.
13612         (sin_downward_test_data): Likewise.
13613         (sin_upward_test_data): Likewise.
13614         (sinh_test_data): Likewise.
13615         (sinh_tonearest_test_data): Likewise.
13616         (sinh_towardzero_test_data): Likewise.
13617         (sinh_downward_test_data): Likewise.
13618         (sinh_upward_test_data): Likewise.
13619         (tan_test_data): Likewise.
13620         (tan_tonearest_test_data): Likewise.
13621         (tan_towardzero_test_data): Likewise.
13622         (tan_downward_test_data): Likewise.
13623         (tan_upward_test_data): Likewise.
13624         (tanh_test_data): Likewise.
13625         (tgamma_test_data): Likewise.
13626         (y0_test_data): Likewise.
13627         (y1_test_data): Likewise.
13628         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
13629         (special_real_inputs): Add pi/4.
13630         * sysdeps/i386/fpu/libm-test-ulps: Update.
13631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13633 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13635         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
13636         "longjmp_target" static probes.
13637         (__longjmp): Rename to __longjmp_symbol.
13638         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13639         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
13640         on which longjmp to generate.
13641         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13642         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
13643         probe.
13644         (__sigsetjmp): Rename to __sigsetjmp_symbol.
13645         (__sigjmp_save): Rename to __sigjmp_save_symbol.
13646         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13647         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
13648         and __sigjmp_save_symbol based on which sigsetjmp to generated.
13649         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
13650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
13651         __longjmp_symbol based on which __longjmp to generate.
13652         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
13653         probe.
13654         (setjmp): Rename to setjmp_symbol.
13655         (__sigsetjmp): Rename to __sigsetjmp_symbol.
13656         (_setjmp): Rename to _setjmp_symbol.
13657         (__sigsetjmp): Rename to __sigsetjmp_symbol.
13658         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
13659         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
13660         which setjmp to generate.
13661         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
13662         "longjmp_target" static probes.
13664 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
13666         * benchtests/README: Add note about output arguments.
13667         * benchtests/bench-sincos.c: Remove file.
13668         * benchtests/sincos-inputs: New file.
13669         * scripts/bench.pl: Identify output arguments and define
13670         static variables for them.
13672         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
13674         [BZ #15941]
13675         * Makefile (INSTALL): Add install-plain.texi as the primary
13676         dependency.
13677         * manual/install-plain.texi: New file.
13678         * manual/install.texi: Include node directive only for
13679         non-plaintext output.
13681 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
13683         * stdlib/longlong.h: Update from GCC.
13685         [BZ #6807]
13686         [BZ #15901]
13687         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
13688         * math/w_j0f.c (y0f): Likewise.
13689         * math/w_j0l.c (__y0l): Likewise.
13690         * math/w_j1.c (y1): Likewise.
13691         * math/w_j1f.c (y1f): Likewise.
13692         * math/w_j1l.c (__y1l): Likewise
13693         * math/w_jn.c (yn): Likewise.
13694         * math/w_jnf.c (ynf): Likewise.
13695         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
13696         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
13697         value for Bessel function domain errors outside _SVID_ mode.
13698         Adjust sign of return value for yn (negative integer, 0).
13699         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
13700         by zero in return for negative x and set sign appropriately for
13701         negative n.
13702         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
13703         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13704         * math/libm-test.inc (y0_test_data): Add more tests and adjust
13705         expectations in error cases.
13706         (y1_test_data): Likewise.
13707         (yn_test_data): Likewise.
13708         * sysdeps/i386/fpu/libm-test-ulps: Update.
13709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13711 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13713         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
13714         "64" to "64-v1".  Add "64-v2".
13715         (abi-64-options): Rename to ...
13716         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
13717         (abi-64-condition): Rename to ...
13718         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
13719         (abi-64-ld-soname): Rename to ...
13720         (abi-64-v1-ld-soname): ... this.
13721         (abi-64-v2-options): Define.
13722         (abi-64-v2-condition): Likewise.
13723         (abi-64-v2-ld-soname): Likewise.
13724         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
13725         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
13726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
13727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
13728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
13730 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13731             Alan Modra  <amodra@gmail.com>
13733         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
13734         New versions for use with the ELFv2 ABI.
13735         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
13736         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
13737         declaration.
13738         (struct La_ppc64v2_retval): Likewise.
13739         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
13740         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
13741         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
13742         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
13743         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
13744         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13745         Do not save or restore CR.
13746         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
13747         (_dl_profile_resolve): Do no save or restore CR.  Support extended
13748         return values for ELFv2 ABI.  Fix location of FPR return registers.
13749         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
13750         updated values for _CALL_ELF == 2.
13751         (La_regs, La_retval, int_retval): Likewise.
13753 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13755         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
13756         (FRAME_MIN_SIZE_PARM): Likewise.
13757         (FRAME_BACKCHAIN): Likewise.
13758         (FRAME_CR_SAVE): Likewise.
13759         (FRAME_LR_SAVE): Likewise.
13760         (FRAME_TOC_SAVE): Likewise.
13761         (FRAME_PARM_SAVE): Likewise.
13762         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
13763         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
13764         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13765         (call_mcount_parm_offset): New macro.
13766         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
13767         (PROF): Use symbolic stack frame offsets.
13768         (TAIL_CALL_SYSCALL_ERROR): Likewise.
13769         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
13770         Redefine in terms of FRAME_MIN_SIZE.
13771         (_dl_runtime_resolve): Use symbolic stack frame offsets.
13772         (_dl_profile_resolve): Likewise.  Update comment.
13773         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
13774         symbols stack frame offsets.
13775         (__sigsetjmp): Likewise.
13776         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
13777         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
13778         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
13779         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
13781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
13782         (FRAME_BACKCHAIN): Remove.
13783         (FRAME_CR_SAVE): Likewise.
13784         (FRAME_LR_SAVE): Likewise.
13785         (FRAME_COMPILER_DW): Likewise.
13786         (FRAME_LINKER_DW): Likewise.
13787         (FRAME_TOC_SAVE): Likewise.
13788         (FRAME_PARM_SAVE): Likewise.
13789         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
13790         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
13791         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13793         (CHECK_SP): Use symbolic stack frame offsets.
13794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13795         zone" instead of caller's parameter save area for temp storage.
13796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13797         Likewise.  Also, use symbolic stack frame offsets.
13798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13799         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13800         our own stack frame instead of the caller's.
13801         (__socket): Use symbolic stack frame offsets.
13803 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13804             Alan Modra  <amodra@gmail.com>
13806         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13807         Define.
13808         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13809         (PPC64_LOCAL_ENTRY_OFFSET): Define.
13810         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13811         New function.
13812         (elf_machine_fixup_plt): Call it.
13813         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
13814         reloc arguments.
13815         (elf_machine_rela): Update call to elf_machine_plt_conflict.
13816         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13817         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
13818         r2 before calling target.
13820 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13821             Alan Modra  <amodra@gmail.com>
13823         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13824         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13825         versions of macros to support ELFv2 ABI.
13826         (LOCALENTRY): New macro.
13827         (ENTRY, EALIGN): Use it.
13828         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13829         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13830         fall through into ENTRY entry point.
13831         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13832         Only define if _CALL_ELF != 2.
13834         (elf_machine_matches_host): Verify ABI version matches.
13835         (RTLD_START): Use LOCALENTRY.
13836         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13837         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13838         (PLT_ENTRY_WORDS): New macro.
13839         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13840         (elf_machine_runtime_setup): Support ELFv2 ABI.
13841         (elf_machine_fixup_plt): Likewise.
13842         (elf_machine_plt_conflict): Likewise.
13843         (resolve_ifunc): Likewise.
13844         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13845         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13846         Likewise.
13847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13848         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13850         (makecontext): Support ELFv2 ABI.
13851         * elf/elf.h (EF_PPC64_ABI): Define.
13853 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13855         * sysdeps/powerpc/powerpc64/sysdep.h
13856         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13857         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13858         (ENTRY) [ASSEMBLER]: ... but instead here ...
13859         (EALIGN) [ASSEMBLER]: ... and here.
13860         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13861         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13862         (ENTRY_2) [!ASSEMBLER]: Use it.
13863         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13864         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
13865         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13866         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
13867         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13869         Use PPC64_LOAD_FUNCPTR.
13871         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13873 2013-12-04  Alan Modra  <amodra@gmail.com>
13875         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13876         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13877         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13878         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13880         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13881         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13882         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13883         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13884         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13885         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13887 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13890         (__makecontext): Fix incorrect CFI when backtracing out of
13891         context created via makecontext.
13892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13893         (__setcontext): Fix incorrect CFI during switch to new context.
13894         (__novec_setcontext): Likewise.
13896 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
13898         [BZ #4772]
13899         * time/strptime_l.c (__strptime_internal): Allow modifiers
13900         in strptime.
13901         * time/tst-strptime.c (day_tests): Add testcase.
13903 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13905         * scripts/bench.pl: Skip over blank lines.
13907 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
13909         [BZ #926]
13910         * manual/time.texi (Calendar Time): Clarify what timezone functions
13911         use.
13913 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13915         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13917 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
13919         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
13920         implementation.
13921         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13922         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13923         * debug/memset_chk.c (__memset_chk): Likewise.
13924         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
13925         * debug/strncpy_chk.c: Likewise.
13927 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
13929         [BZ #15268]
13930         [BZ #15425]
13931         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
13932         (__ieee754_exp): For possibly underflowing results, check size of
13933         result and force underflow exception if required.
13934         * math/auto-libm-test-in: Add more tests of exp.
13935         * math/auto-libm-test-out: Regenerated.
13936         * sysdeps/i386/fpu/libm-test-ulps: Update.
13937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13939         [BZ #16283]
13940         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
13941         * math/w_exp2f.c (__exp2f): Likewise.
13942         * math/w_exp2l.c (__exp2l): Likewise.
13943         * math/auto-libm-test-in: Do not allow missing errno on exp2
13944         underflow.
13945         * math/auto-libm-test-out: Regenerated.
13947 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
13949         [BZ #16274]
13950         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
13951         handle filename validation.
13952         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
13953         (do_open): Delete.
13955 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
13957         [BZ #6786]
13958         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
13959         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
13960         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
13961         <float.h>.
13962         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
13963         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
13964         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13965         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
13966         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13967         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
13968         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13969         * math/auto-libm-test-in: Don't allow missing errno from erfc.
13970         Add more erfc tests.
13971         * math/auto-libm-test-out: Regenerated.
13972         * sysdeps/i386/fpu/libm-test-ulps: Update.
13973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13975         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
13976         exp2, expm1, j0 and j1.
13977         * math/auto-libm-test-out: Regenerated.
13978         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
13979         (erfc_test_data): Likewise.
13980         (exp_test_data): Likewise.
13981         (exp_tonearest_test_data): Likewise.
13982         (exp_towardzero_test_data): Likewise.
13983         (exp_downward_test_data): Likewise.
13984         (exp_upward_test_data): Likewise.
13985         (exp10_test_data): Likewise.
13986         (exp2_test_data): Likewise.
13987         (expm1_test_data): Likewise.
13988         (j0_test_data): Likewise.
13989         (j1_test_data): Likewise.
13990         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
13991         (input_flag_type): Add flag_xfail_rounding.
13992         (input_flags): Add xfail-rounding.
13993         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
13994         (output_for_one_input_case): Handle flag_xfail_rounding.
13995         * sysdeps/i386/fpu/libm-test-ulps: Update.
13996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13998 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
14000         [BZ #16289]
14001         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14002         division by 0.
14004 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14006         [BZ #16195]
14007         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
14008         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
14009         (STAP_PROBE0): New macro.
14010         (STAP_PROBE1): Likewise.
14011         (STAP_PROBE2): Likewise.
14012         (STAP_PROBE3): Likewise.
14013         (STAP_PROBE4): Likewise.
14015 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
14017         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
14019 2013-12-02  Steve Ellcey  <sellcey@mips.com>
14021         * benchtests/Makefile (bench): Add sqrt.
14022         (LDLIBS-bench-sqrt): New.
14023         * benchtests/sqrt-input: New.
14025 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
14027         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14028         (GAIH_EAI): Likewise.
14029         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
14030         (gaih_inet): Likewise.
14031         (getaddrinfo): Don't use GAIH_EAI.
14033         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
14034         (struct gaih): Remove definition.
14036 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14038         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
14039         Use HERRNOP directly.
14041 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14043         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14045 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
14047         * math/gen-auto-libm-tests.c (test_functions): Add more
14048         single-argument functions.
14049         (special_fill_pi_2): New function.
14050         (special_fill_minus_pi_2): Likewise.
14051         (special_fill_pi_6): Likewise.
14052         (special_fill_minus_pi_6): Likewise.
14053         (special_fill_pi_3): Likewise.
14054         (special_fill_2pi_3): Likewise.
14055         (special_fill_e): Likewise.
14056         (special_fill_1_e): Likewise.
14057         (special_fill_e_minus_1): Likewise.
14058         (special_real_inputs): Add more special inputs.
14059         (output_for_one_input_case): Do not require ERANGE on underflow to
14060         zero if round-to-nearest result does not underflow to zero, unless
14061         exact results required.
14062         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14063         atan, atanh, cbrt, cos and cosh.
14064         * math/auto-libm-test-out: Regenerated.
14065         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14066         (acos_tonearest_test_data): Likewise.
14067         (acos_towardzero_test_data): Likewise.
14068         (acos_downward_test_data): Likewise.
14069         (acos_upward_test_data): Likewise.
14070         (acosh_test_data): Likewise.
14071         (asin_test_data): Likewise.
14072         (asin_tonearest_test_data): Likewise.
14073         (asin_towardzero_test_data): Likewise.
14074         (asin_upward_test_data): Likewise.
14075         (asinh_test_data): Likewise.
14076         (atan_test_data): Likewise.
14077         (atanh_test_data): Likewise.
14078         (cbrt_test_data): Likewise.
14079         (cos_test_data): Likewise.
14080         (cos_tonearest_test_data): Likewise.
14081         (cos_towardzero_test_data): Likewise.
14082         (cos_downward_test_data): Likewise.
14083         (cos_upward_test_data): Likewise.
14084         (cosh_test_data): Likewise.
14085         (cosh_tonearest_test_data): Likewise.
14086         (cosh_towardzero_test_data): Likewise.
14087         (cosh_downward_test_data): Likewise.
14088         (cosh_upward_test_data): Likewise.
14089         * sysdeps/i386/fpu/libm-test-ulps: Update.
14090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14092 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
14094         [BZ #6787]
14095         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14096         * math/w_exp10f.c (__exp10f): Likewise.
14097         * math/w_exp10l.c (__exp10l): Likewise.
14098         * math/libm-test.inc (exp10_test_data): Add more tests and expect
14099         errno settings in existing tests.
14101         [BZ #14032]
14102         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14103         precision control set to double precision.
14104         * sysdeps/i386/fpu/w_sqrt.c: New file.
14105         * math/auto-libm-test-in: Add more tests.
14106         * math/auto-libm-test-out: Update.
14108         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14109         (sqrt_test_tonearest): New function.
14110         (sqrt_towardzero_test_data): New variable.
14111         (sqrt_test_towardzero): New function.
14112         (sqrt_downward_test_data): New variable.
14113         (sqrt_test_downward): New function.
14114         (sqrt_upward_test_data): New variable.
14115         (sqrt_test_upward): New function.
14116         (main): Call the new functions.
14118         * math/gen-auto-libm-tests.c: New file.
14119         * math/auto-libm-test-in: Likewise.
14120         * math/auto-libm-test-out: New generated file.
14121         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14122         variables.
14123         (%beautify): Add generated representations of zero.
14124         (top level): Set $auto_input and call parse_auto_input.
14125         (beautify): Remove trailing "f" from hex float constants.
14126         (parse_args): Handle XFAIL_TEST.
14127         (convert_condition): New function.
14128         (or_value): Likewise.
14129         (or_cond_value): Likewise.
14130         (generate_testfile): Handle AUTO_TESTS_* lines.
14131         (parse_auto_input): New function.
14132         * math/libm-test.inc (XFAIL_TEST): New macro.
14133         (ERRNO_UNCHANGED): Update value.
14134         (ERRNO_EDOM): Likewise.
14135         (ERRNO_ERANGE): Likewise.
14136         (IGNORE_RESULT): Likewise.
14137         (TEST_COND_flt_32): New macro.
14138         (TEST_COND_dbl_64): Likewise.
14139         (TEST_COND_ldbl_96_intel): Likewise.
14140         (TEST_COND_ldbl_96_m68k): Likewise.
14141         (TEST_COND_ldbl_128): Likewise.
14142         (TEST_COND_ldbl_128ibm): Likewise.
14143         (TEST_COND_long32): Likewise.
14144         (TEST_COND_long64): Likewise.
14145         (TEST_COND_before_rounding): Likewise.
14146         (TEST_COND_after_rounding): Likewise.
14147         (enable_test): Handle XFAIL_TEST flag.
14148         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14149         with finite results.
14150         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14151         auto-libm-test-out.
14153 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14154             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14156         [BZ #16214]
14157         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14158         __tls_get_addr_internal instead of __tls_get_offset in order to
14159         avoid GOT pointer dependency.  Make rtld export
14160         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14161         __tls_get_addr since we are a __tls_get_offset platform.
14162         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14163         GOT pointer being set up before.
14164         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14166 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
14168         * manual/math.texi (Errors in Math Functions): Document accuracy
14169         goals.
14171         [BZ #15004]
14172         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14173         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14174         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14175         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14176         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14177         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14178         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14179         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14180         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14181         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14182         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14183         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14184         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14185         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14186         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14187         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14189         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
14190         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
14191         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
14192         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
14193         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
14194         Likewise.
14195         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
14196         Likewise.
14197         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
14198         Likewise.
14199         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14200         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14201         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14202         atomic-feupdateenv and flt-rounds.
14203         * sysdeps/powerpc/nofpu/Versions (libc): Add
14204         __atomic_feholdexcept, __atomic_feclearexcept,
14205         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14206         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14207         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14208         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14209         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14210         here.
14211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14212         Update.
14214         * manual/arith.texi (FP Exceptions): Document that exceptions may
14215         not be raised when matherr is used.
14216         (Math Error Reporting): Document overflow in directed rounding
14217         modes.  Document that errno may not be set when finite values are
14218         returned on overflow.  Document intent to set errno on underflow
14219         only for underflow to zero.
14221         [BZ #16271]
14222         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14223         round-to-nearest then adjust result for other rounding modes.
14224         * include/fenv.h (fegetround): Use libm_hidden_proto.
14225         * math/fegetround.c (fegetround): Use libm_hidden_def.
14226         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14227         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14228         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14229         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14230         Likewise.
14231         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14232         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14233         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14234         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14236 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14238         [BZ #16077]
14239         * nss/Versions (libnss_files): Add
14240         _nss_files_gethostbyname3_r.
14241         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14242         New function.
14243         (HOST_DB_LOOKUP): Remove macro.
14244         (_nss_files_gethostbyname_r): Implement function without the
14245         HOST_DB_LOOKUP macro.
14246         (_nss_files_gethostbyname2_r): Likewise.
14248 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
14250         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14252 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
14254         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14255         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14256         warning.
14258 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14260         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14261         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14262         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14263         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14264         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14265         __fe_nomask_env_priv and attribute_hidden.
14266         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14267         (libc_feupdateenv_test_ppc): Likewise.
14268         (libc_feresetround_ppc): Likewise.
14269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14270         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14271         compat_symbol macro.
14272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14273         (__fe_nomask_env): Likewise.
14274         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14276 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14278         * string/Makefile: Remove ifunc tests.
14279         * string/test-string.h: Define TEST_IFUNC.
14280         * string/test-bcopy-ifunc.c: Remove.
14281         * string/test-bzero-ifunc.c: Likewise.
14282         * string/test-memccpy-ifunc.c: Likewise.
14283         * string/test-memchr-ifunc.c: Likewise.
14284         * string/test-memcmp-ifunc.c: Likewise.
14285         * string/test-memcpy-ifunc.c: Likewise.
14286         * string/test-memmem-ifunc.c: Likewise.
14287         * string/test-memmove-ifunc.c: Likewise.
14288         * string/test-mempcpy-ifunc.c: Likewise.
14289         * string/test-memrchr-ifunc.c: Likewise.
14290         * string/test-memset-ifunc.c: Likewise.
14291         * string/test-rawmemchr-ifunc.c: Likewise.
14292         * string/test-stpcpy-ifunc.c: Likewise.
14293         * string/test-stpncpy-ifunc.c: Likewise.
14294         * string/test-strcasecmp-ifunc.c: Likewise.
14295         * string/test-strcasestr-ifunc.c: Likewise.
14296         * string/test-strcat-ifunc.c: Likewise.
14297         * string/test-strchr-ifunc.c: Likewise.
14298         * string/test-strchrnul-ifunc.c: Likewise.
14299         * string/test-strcmp-ifunc.c: Likewise.
14300         * string/test-strcpy-ifunc.c: Likewise.
14301         * string/test-strcspn-ifunc.c: Likewise.
14302         * string/test-strlen-ifunc.c: Likewise.
14303         * string/test-strncasecmp-ifunc.c: Likewise.
14304         * string/test-strncat-ifunc.c: Likewise.
14305         * string/test-strncmp-ifunc.c: Likewise.
14306         * string/test-strncpy-ifunc.c: Likewise.
14307         * string/test-strnlen-ifunc.c: Likewise.
14308         * string/test-strpbrk-ifunc.c: Likewise.
14309         * string/test-strrchr-ifunc.c: Likewise.
14310         * string/test-strspn-ifunc.c: Likewise.
14311         * string/test-strstr-ifunc.c: Likewise.
14313 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14315         * benchtests/Makefile: Remove ifunc tests.
14316         * benchtests/bench-string.h: Define TEST_IFUNC.
14317         * benchtests/bench-bcopy-ifunc.c: Remove.
14318         * benchtests/bench-bzero-ifunc.c: Likewise.
14319         * benchtests/bench-memccpy-ifunc.c: Likewise.
14320         * benchtests/bench-memchr-ifunc.c: Likewise.
14321         * benchtests/bench-memcmp-ifunc.c: Likewise.
14322         * benchtests/bench-memcpy-ifunc.c: Likewise.
14323         * benchtests/bench-memmem-ifunc.c: Likewise.
14324         * benchtests/bench-memmove-ifunc.c: Likewise.
14325         * benchtests/bench-mempcpy-ifunc.c: Likewise.
14326         * benchtests/bench-memrchr-ifunc.c: Likewise.
14327         * benchtests/bench-memset-ifunc.c: Likewise.
14328         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
14329         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
14330         * benchtests/bench-stpcpy-ifunc.c: Likewise.
14331         * benchtests/bench-stpncpy-ifunc.c: Likewise.
14332         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
14333         * benchtests/bench-strcasestr-ifunc.c: Likewise.
14334         * benchtests/bench-strcat-ifunc.c: Likewise.
14335         * benchtests/bench-strchr-ifunc.c: Likewise.
14336         * benchtests/bench-strchrnul-ifunc.c: Likewise.
14337         * benchtests/bench-strcmp-ifunc.c: Likewise.
14338         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
14339         * benchtests/bench-strcpy-ifunc.c: Likewise.
14340         * benchtests/bench-strcspn-ifunc.c: Likewise.
14341         * benchtests/bench-strlen-ifunc.c: Likewise.
14342         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
14343         * benchtests/bench-strncat-ifunc.c: Likewise.
14344         * benchtests/bench-strncmp-ifunc.c: Likewise.
14345         * benchtests/bench-strncpy-ifunc.c: Likewise.
14346         * benchtests/bench-strnlen-ifunc.c: Likewise.
14347         * benchtests/bench-strpbrk-ifunc.c: Likewise.
14348         * benchtests/bench-strrchr-ifunc.c: Likewise.
14349         * benchtests/bench-strsep-ifunc.c: Likewise.
14350         * benchtests/bench-strspn-ifunc.c: Likewise.
14351         * benchtests/bench-strstr-ifunc.c: Likewise.
14353 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14355         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
14357 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14359         * resolv/netdb.h: Use __glibc_reserved instead __unused.
14360         * rt/aio.h: Likewise.
14361         * sysdeps/gnu/bits/utmp.h: Likewise.
14362         * sysdeps/gnu/bits/utmpx.h: Likewise.
14363         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14364         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
14365         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
14366         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
14367         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
14368         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
14369         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
14370         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
14371         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
14372         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
14373         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
14374         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
14375         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
14376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
14377         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14378         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
14379         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
14380         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
14381         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
14382         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
14383         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
14384         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
14385         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
14386         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14387         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
14388         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14389         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14390         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14391         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14392         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14393         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14394         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14395         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14396         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14397         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14398         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14399         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14400         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14401         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14402         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14403         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14404         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14406 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
14408         [BZ #16245]
14409         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14410         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14412 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
14414         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14415         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14416         Likewise.
14418 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14420         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14421         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14422         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14423         (__fesetround): Remove define.
14424         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14425         rounding and exceptions handling.
14426         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14427         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14428         (__fe_nomask_env): Likewise.
14429         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14430         __fegetround instead of fegetround.
14431         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14432         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14434 2013-11-21  Roland McGrath  <roland@hack.frob.com>
14436         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14437         it's there.
14439         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14441 2013-11-21  Meador Inge  <meadori@codesourcery.com>
14443         [BZ #11157]
14444         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14445         (encrypt_r): Likewise.
14446         * malloc/obstack.h (obstack_free): Likewise.
14447         * posix/unistd.h (encrypt): Likewise.
14449 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
14451         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14452         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14453         DL_CALL_DT_FINI() that call the functions directly.
14454         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14455         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14456         * elf/dl-fini.c: Likewise.
14458 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
14460         * malloc/hooks.c (memalign_check): Add alignment rounding.
14461         * malloc/malloc.c (_mid_memalign): New function.
14462         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14463         Implement by calling _mid_memalign.
14464         * manual/probes.texi (Memory Allocation Probes): Remove
14465         memory_valloc_retry and memory_pvalloc_retry.
14467 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14469         * locale/programs/locarchive.c (open_archive): Add const
14470         qualifier to ARCHIVEFNAME and copy default fname to
14471         DEFAULT_FNAME.
14473         [BZ #15601]
14474         * libio/tst-widetext.input: Rename Oriya to Odia.
14475         * locale/iso-639.def: Likewise.
14477         * manual/probes.texi (Mathematical Function Probes): Add
14478         documentation for sin, cos, asin and acos probes.
14479         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14480         (__sin32): Add slowasin probe.
14481         (__cos32): Add slowacos probe.
14482         (__mpsin): Add slowsin probe.
14483         (__mpcos): Add slowcos probe.
14485 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
14487         [BZ #15483]
14488         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14489         thread-local __sim_exceptions_thread and global
14490         __sim_exceptions_global.
14491         (__sim_disabled_exceptions): Change to thread-local
14492         __sim_disabled_exceptions_thread and global
14493         __sim_disabled_exceptions_global.
14494         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14495         and global __sim_round_mode_global.
14496         (__simulate_exceptions): Use thread-local floating-point state and
14497         set global state from it as needed.
14498         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14499         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14500         __sim_round_mode_thread.
14501         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14502         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14503         and global __sim_exceptions_global.
14504         (__sim_disabled_exceptions): Change to thread-local
14505         __sim_disabled_exceptions_thread and global
14506         __sim_disabled_exceptions_global.
14507         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14508         and global __sim_round_mode_global.
14509         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14510         (SIM_SET_GLOBAL): Likewise.
14511         * sysdeps/powerpc/soft-fp/sfp-machine.h
14512         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14513         __sim_round_mode_thread.
14514         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14515         __sim_disabled_exceptions_thread.
14516         (__sim_exceptions): Change to __sim_exceptions_thread.
14517         (__sim_disabled_exceptions): Change to
14518         __sim_disabled_exceptions_thread.
14519         (__sim_round_mode): Change to __sim_round_mode_thread.
14520         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
14521         thread-local floating-point state and set global state from it as
14522         needed.
14523         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
14524         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
14525         (__sim_disabled_exceptions): Remove extern declaration.
14526         (feenableexcept): Use thread-local floating-point state and set
14527         global state from it as needed.
14528         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
14529         extern declaration.
14530         (__sim_disabled_exceptions): Likewise.
14531         (__sim_round_mode): Likewise.
14532         (__fegetenv): Use thread-local floating-point state.
14533         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
14534         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14535         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
14536         floating-point state and set global state from it as needed.
14537         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
14538         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14539         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
14540         Likewise.
14541         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14542         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
14543         Likewise.
14544         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
14545         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
14546         Use __sim_round_mode_thread.
14547         * math/test-fenv-tls.c: New file.
14548         * math/Makefile (tests): Add test-fenv-tls.
14549         ($(objpfx)test-fenv-tls): Depend on
14550         $(common-objpfx)nptl/libpthread.so.
14552 2013-11-19  Andreas Schwab  <schwab@suse.de>
14554         * locale/programs/locale.c (show_info): Decode wordarray elements.
14555         * locale/categories.def (LC_MONETARY): Add element for
14556         _NL_MONETARY_CRNCYSTR.
14557         * locale/C-monetary.c (conversion_rate): New variable.
14558         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
14559         element.
14561 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
14563         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
14564         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
14566 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
14568         * elf/Makefile (tst-auxv): New test.
14569         * elf/tst-auxv.c: New
14570         * elf/rtld.c (dl_main): Adjust AT_EXECFN
14572 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
14574         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
14575         (hidden_proto): Caller changed.
14576         (hidden_tls_proto): New macro.
14577         (libc_hidden_tls_proto): Likewise.
14578         (rtld_hidden_tls_proto): Likewise.
14579         (libm_hidden_tls_proto): Likewise.
14580         (libresolv_hidden_tls_proto): Likewise.
14581         (librt_hidden_tls_proto): Likewise.
14582         (libdl_hidden_tls_proto): Likewise.
14583         (libnss_files_hidden_tls_proto): Likewise.
14584         (libnsl_hidden_tls_proto): Likewise.
14585         (libnss_nisplus_hidden_tls_proto): Likewise.
14586         (libutil_hidden_tls_proto): Likewise.
14588 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
14590         [BZ #10253]
14591         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
14592         (decompose_rpath): Defer expansion to fillin_rpath.
14593         (_dl_init_paths): Pass linkmap to fillin_rpath.
14595 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14597         * benchtests/Makefile: Add strsep.
14598         * benchtests/bench-strsep.c: New file: strsep benchtest.
14599         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
14601 2013-11-18  Andreas Schwab  <schwab@suse.de>
14603         * locale/programs/locale.c (show_info) [case byte]: Check for
14604         '\377' instead of '\177'.
14605         * locale/C-monetary.c (not_available): Always use "\377".
14606         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
14607         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
14608         detect unavailable sign_posn locale elements.
14609         * locale/localeconv.c (__localeconv): For grouping and
14610         mon_grouping handle "\177" and "\377" like no grouping.
14611         (INT_ELEM): New macro.  Use it to set all numeric members.
14612         * locale/programs/ld-monetary.c (monetary_read)
14613         <tok_mon_grouping>: Normalize single -1 to the empty string.
14614         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
14615         Likewise.
14617 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
14619         [BZ #16055]
14620         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
14621         when we match (nil).
14622         * stdio-common/tst-sscanf.c (struct test): Add testcase.
14624 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
14626         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
14627         (NO_TEST_INLINE): Update value.
14628         (ERRNO_UNCHANGED): Likewise.
14629         (ERRNO_EDOM): Likewise.
14630         (ERRNO_ERANGE): Likewise.
14631         (IGNORE_RESULT): Likewise.
14632         (check_float_internal): Check signs of NaN results if
14633         TEST_NAN_SIGN used.
14634         (check_complex): Pass TEST_NAN_SIGN flag through to second
14635         check_float_internal call.
14636         (copysign_test_data): Add tests with quiet NaNs as second
14637         argument.  Use TEST_NAN_SIGN.
14638         (fabs_test_data): Add test of negative quiet NaN argument.  Use
14639         TEST_NAN_SIGN.
14640         (signbit_test_data): Add tests of quiet NaN argument.
14641         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
14643         * math/gen-libm-test.pl (show_exceptions): Take extra argument
14644         $ignore_result.
14645         (parse_args): Handle function results specified as IGNORE.
14646         * math/libm-test.inc (IGNORE_RESULT): New macro.
14647         (check_float_internal): Do not check numerical result if flag
14648         IGNORE_RESULT set.
14649         (check_complex): Pass through IGNORE_RESULT to second
14650         check_float_internal call.
14651         (check_int): Do not check numerical result if flag IGNORE_RESULT
14652         set.
14653         (check_long): Likewise.
14654         (check_bool): Likewise.
14655         (check_longlong): Likewise.
14656         (lrint_test_data): Add tests of infinite and NaN arguments.
14657         (lrint_tonearest_test_data): Likewise.
14658         (lrint_towardzero_test_data): Likewise.
14659         (lrint_downward_test_data): Likewise.
14660         (lrint_upward_test_data): Likewise.
14661         (llrint_test_data): Likewise.
14662         (llrint_tonearest_test_data): Likewise.
14663         (llrint_towardzero_test_data): Likewise.
14664         (llrint_downward_test_data): Likewise.
14665         (llrint_upward_test_data): Likewise.
14666         (lround_test_data): Likewise.
14667         (llround_test_data): Likewise.
14669         * math/libm-test.inc (NO_TEST_INLINE): New macro.
14670         (ERRNO_UNCHANGED): Update value.
14671         (ERRNO_EDOM): Likewise.
14672         (ERRNO_ERANGE): Likewise.
14673         (NO_TEST_INLINE_FLOAT): New macro.
14674         (NO_TEST_INLINE_DOUBLE): Likewise.
14675         (enable_test): New function.
14676         (RUN_TEST_f_f): Check enable_test before running test.
14677         (RUN_TEST_2_f): Likewise.
14678         (RUN_TEST_fff_f): Likewise.
14679         (RUN_TEST_c_f): Likewise.
14680         (RUN_TEST_f_f1): Likewise.
14681         (RUN_TEST_fF_f1): Likewise.
14682         (RUN_TEST_fI_f1): Likewise.
14683         (RUN_TEST_ffI_f1): Likewise.
14684         (RUN_TEST_c_c): Likewise.
14685         (RUN_TEST_cc_c): Likewise.
14686         (RUN_TEST_f_i): Likewise.
14687         (RUN_TEST_f_i_tg): Likewise.
14688         (RUN_TEST_ff_i_tg): Likewise.
14689         (RUN_TEST_f_b): Likewise.
14690         (RUN_TEST_f_b_tg): Likewise.
14691         (RUN_TEST_f_l): Likewise.
14692         (RUN_TEST_f_L): Likewise.
14693         (RUN_TEST_fFF_11): Likewise.
14694         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
14695         conditionals.
14696         (cosh_test_data): Likewise.
14697         (exp_test_data): Likewise.
14698         (expm1_test_data): Likewise.
14699         (hypot_test_data): Likewise.
14700         (pow_test_data): Likewise.
14701         (sinh_test_data): Likewise.
14702         (tanh_test_data): Likewise.
14703         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
14704         flags argument.
14706         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
14707         tests with quiet NaN input and output.
14708         (acosh_test_data): Likewise.
14709         (asin_test_data): Likewise.
14710         (asinh_test_data): Likewise.
14711         (atan_test_data): Likewise.
14712         (atanh_test_data): Likewise.
14713         (atan2_test_data): Likewise.
14714         (cbrt_test_data): Likewise.
14715         (cos_test_data): Likewise.
14716         (cosh_test_data): Likewise.
14717         (erf_test_data): Likewise.
14718         (erfc_test_data): Likewise.
14719         (exp_test_data): Likewise.
14720         (exp10_test_data): Likewise.
14721         (exp2_test_data): Likewise.
14722         (expm1_test_data): Likewise.
14723         (hypot_test_data): Likewise.
14724         (j0_test_data): Likewise.
14725         (j1_test_data): Likewise.
14726         (jn_test_data): Likewise.
14727         (lgamma_test_data): Likewise.
14728         (log_test_data): Likewise.
14729         (log10_test_data): Likewise.
14730         (log1p_test_data): Likewise.
14731         (log2_test_data): Likewise.
14732         (pow_test_data): Likewise.
14733         (scalb_test_data): Likewise.
14734         (sin_test_data): Likewise.
14735         (sincos_test_data): Likewise.
14736         (sinh_test_data): Likewise.
14737         (tan_test_data): Likewise.
14738         (tanh_test_data): Likewise.
14739         (tgamma_test_data): Likewise.
14740         (y0_test_data): Likewise.
14741         (y1_test_data): Likewise.
14742         (yn_test_data): Likewise.
14744         [BZ #16167]
14745         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
14746         argument being NaN and avoid computations with second argument in
14747         that case.
14748         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14749         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14750         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14752 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
14754         * locale/iso-639.def: Add Chitwani Tharu (the).
14756 2013-11-14  Andreas Schwab  <schwab@suse.de>
14758         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
14759         word instead of empty string.
14761 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14764         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
14765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14766         (__fe_nomask_env): Likewise.
14768 2013-11-13  Steve Ellcey  <sellcey@mips.com>
14770         * benchtests/bench-timing.h: Include time.h.
14772 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
14774         [BZ #15997]
14775         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
14776         to 3.4.0 for x32.
14777         * sysdeps/unix/sysv/linux/configure: Regenerated.
14779 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
14781         [BZ #16151]
14782         * stdlib/strtod_l.c (round_and_return): Do not consider
14783         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14784         exponent one less than half the least subnormal exponent.
14785         * stdlib/test-strtod-round-data: Add more tests.
14786         * stdlib/tst-strtod-round.c (tests): Regenerated.
14788 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14790         [BZ #14143]
14791         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14792         (__fe_mask_env): Likewise.
14793         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14794         libm_hidden_proto and add function prototype.
14795         (__fe_mask_env): Add function prototype.
14796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14797         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14799         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14801         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14803 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14805         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
14806         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14808 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14810         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14811         of htab_find_slot().
14813 2013-11-11  David S. Miller  <davem@davemloft.net>
14815         [BZ #16150]
14816         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14817         symbol in the non-vis3 case in static builds.
14818         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14819         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14820         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14821         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14823 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
14825         [BZ #387]
14826         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14827         it is empty.
14829 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14831         * benchtests/Makefile: Add bench-strtod.
14832         * benchtests/bench-strtod.c: New file: strtod benchtest
14834 2013-11-11  Andreas Schwab  <schwab@suse.de>
14836         [BZ #16153]
14837         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14838         terminating NUL in key length.
14840 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14842         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14843         Add artificial ODP entry for vDSO symbol for PPC64.
14844         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14845         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14847 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
14849         [BZ #15374]
14850         * nss/getent.c (services_keys): Recognize services starting with digit.
14852 2013-11-06  David S. Miller  <davem@davemloft.net>
14854         [BZ #15985]
14855         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14856         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14858 2013-11-06  Will Newton  <will.newton@linaro.org>
14860         * manual/memory.texi (Malloc Examples): Remove register
14861         keyword from examples.
14863 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
14865         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
14867 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
14869         [BZ #6981]
14870         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14871         depending on [__GCC_IEC_559 > 0].
14872         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14873         depending on [__GCC_IEC_559_COMPLEX > 0].
14875 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
14877         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14878         to iso-639.def.
14880 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
14882         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14884 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
14886         [BZ #16112]
14887         * malloc/malloc (malloc_info): Do not handle first bin as
14888         special case.
14890 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
14892         * locale/iso-639.def: Add Central Nahuatl (nhn).
14894 2013-11-01  Bruno Haible  <bruno@clisp.org>
14896         [BZ #7003]
14897         * manual/math.texi (BSD Random): Specify range upper bound as
14898         in POSIX.
14900 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
14902         * locale/iso-639.def: Add Meadow Mari (mhr).
14904 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
14906         [BZ #14752], [BZ #15763]
14907         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
14908         Validate name.
14909         * rt/tst_shm.c: Add test for escaping directory.
14911 2013-10-31  Andreas Schwab  <schwab@suse.de>
14913         [BZ #15917]
14914         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
14915         followed by 'x' as part of digit sequence.
14916         * stdio-common/tst-sscanf.c (double_tests2): New tests.
14918 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
14920         [BZ #16037]
14921         * configure.ac: allow GNU Make 4.0 and greater.
14922         * configure: Regenerated.
14924 2013-10-30  Will Newton  <will.newton@linaro.org>
14926         [BZ #16038]
14927         * malloc/hooks.c (memalign_check): Limit alignment to the
14928         maximum representable power of two.
14929         * malloc/malloc.c (__libc_memalign): Likewise.
14930         * malloc/tst-memalign.c (do_test): Add test for very
14931         large alignment values.
14932         * malloc/tst-posix_memalign.c (do_test): Likewise.
14934 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
14936         [BZ #11087]
14937         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
14938         (munmap_chunk): Likewise.
14939         (mremap_chunk): Likewise.
14941 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
14943         [BZ #15799]
14944         * stdlib/div.c (div): Remove obsolete code.
14945         * stdlib/ldiv.c (ldiv): Likewise.
14946         * stdlib/lldiv.c (lldiv): Likewise.
14948 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14950         [BZ #16071]
14951         * nss/nss_files/files-XXX.c (get_contents_ret): New
14952         enumerator.
14953         (get_contents): New function.
14954         (internal_getent): Use it.  Expand size of LINEBUFLEN.
14956 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
14958         * configure.in: Moved to ...
14959         * configure.ac: ... here. Change reference to configure.in
14960         to configure.ac.
14961         * sysdeps/arm/preconfigure.ac: ... here.
14962         configure.in to configure.ac.
14963         * sysdeps/gnu/configure.in: Moved to ...
14964         * sysdeps/gnu/configure.ac: ... here.
14965         * sysdeps/i386/configure.in: Moved to ...
14966         * sysdeps/i386/configure.ac: ... here.
14967         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
14968         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
14969         * sysdeps/mach/configure.in: Moved to ...
14970         * sysdeps/mach/configure.ac: ... here.
14971         * sysdeps/mach/hurd/configure.in: Moved to ...
14972         * sysdeps/mach/hurd/configure.ac: ... here.
14973         * sysdeps/powerpc/configure.in: Moved to ...
14974         * sysdeps/powerpc/configure.ac: ... here.
14975         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
14976         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
14977         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
14978         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
14979         * sysdeps/s390/s390-32/configure.in: Moved to ...
14980         * sysdeps/s390/s390-32/configure.ac: ... here.
14981         * sysdeps/s390/s390-64/configure.in: Moved to ...
14982         * sysdeps/s390/s390-64/configure.ac: ... here.
14983         * sysdeps/sh/configure.in: Moved to ...
14984         * sysdeps/sh/configure.ac: ... here.
14985         * sysdeps/sparc/configure.in: Moved to ...
14986         * sysdeps/sparc/configure.ac: ... here.
14987         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
14988         * sysdeps/unix/sysv/linux/configure.ac: ... here.
14989         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
14990         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
14991         * sysdeps/x86_64/configure.in: Moved to ...
14992         * sysdeps/x86_64/configure.ac: ... here.
14993         * sysdeps/x86_64/preconfigure.in: Moved to ...
14994         * sysdeps/x86_64/preconfigure.ac: ... here.
14995         * aclocal.m4: Change reference to configure.in to configure.ac.
14996         * config.h.in: Likewise.
14997         * manual/install.texi: Likewise.
14998         * manual/maint.texi: Likewise.
14999         * Makefile: Likewise.
15000         * malloc/Makefile: Likewise.
15001         * nscd/Makefile: Likewise.
15002         * Makeconfig: Change reference to configure.in and
15003         preconfigure.in to configure.ac and preconfigure.ac
15004         respectively.
15005         * INSTALL: Regenerated.
15006         * configure: Likewise.
15007         * sysdeps/gnu/configure: Likewise.
15008         * sysdeps/i386/configure: Likewise.
15009         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
15010         * sysdeps/mach/configure: Likewise.
15011         * sysdeps/mach/hurd/configure: Likewise.
15012         * sysdeps/powerpc/configure: Likewise.
15013         * sysdeps/powerpc/powerpc32/configure: Likewise.
15014         * sysdeps/powerpc/powerpc64/configure: Likewise.
15015         * sysdeps/s390/s390-32/configure: Likewise.
15016         * sysdeps/s390/s390-64/configure: Likewise.
15017         * sysdeps/sh/configure: Likewise.
15018         * sysdeps/sparc/configure: Likewise.
15019         * sysdeps/unix/sysv/linux/configure: Likewise.
15020         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
15021         * sysdeps/x86_64/configure: Likewise.
15022         * sysdeps/x86_64/preconfigure: Likewise.
15024 2013-10-29  Andreas Schwab  <schwab@suse.de>
15026         * stdio-common/Makefile (tst-swscanf-ENV): Define.
15028 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15030         * benchtests/pow-inputs: Add new inputs.
15032         * benchtests/exp-inputs: Add new inputs.
15034         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
15035         conditional check for return value.
15036         (__cos32): Likewise.
15038 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15040         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
15041         to provide a boost for large inputs with word alignment.
15042         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
15043         implementation based on optimized PPC64 strcpy.
15044         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15045         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15046         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15047         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15049 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15051         [BZ #2801]
15052         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15054 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15056         [BZ #14876]
15057         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15058         * time/tst-strptime.c (day_tests): Add testcase.
15060 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15062         [BZ #14029]
15063         * manual/pattern.texi: Acknowledge that fnmatch can fail.
15065 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
15067         [BZ #16074]
15068         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15069         MAP_FAILED on error.
15071 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15073         [BZ #16072]
15074         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
15075         heap for large requests.
15077 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
15079         [BZ #9954]
15080         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15081         result if the result has no associated interface.
15082         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15083         interface for all 127.X.Y.Z addresses.
15085 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
15087         * locale/iso-639.def: Add Ligurian (lij)
15089 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
15091         [BZ #15825]
15092         * sunrpc/rpc_main.c: Document rpcgen -5.
15094 2013-10-19  Michael Stahl  <mstahl@redhat.com>
15096         * elf/rtld.c (do_preload): Print the reason why preloading failed.
15098 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
15100         [BZ #10278]
15101         * posix/glob.c: Match only directories when trailing slash is present.
15102         * posix/tst-gnuglob.c (my_opendir): Do not open files.
15103         (main): Add testcase.
15105 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
15107         [BZ #15670]
15108         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15110 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
15112         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15113         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15114         AUTH_DES and cindex for FIPS 140-2.
15115         (DES Encryption): Add cindex FIPS 46-3.
15117         * locale/locarchive.h (struct locarhandle): Add fname.
15118         * locale/programs/localedef.c (main): Pass ARGV[remaining]
15119         if an optional argument was specified to --list-archive,
15120         otherwise NULL.
15121         * locale/programs/locarchive.c (show_archive_content): Take new
15122         argument fname and pass it via ah.fname to open_archive.
15123         * locale/programs/localedef.h: Update decl.
15124         (open_archive): If AH->fname is non-null, open that file
15125         rather than the default file name, and don't ignore ENOENT.
15126         (create_archive): Set AH.fname to NULL.
15127         (delete_locales_from_archive): Likewise.
15128         (add_locales_to_archive): Likewise.
15129         * locale/programs/locfile.c (write_all_categories): Likewise.
15131 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
15132             Aldy Hernandez  <aldyh@redhat.com>
15134         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15135         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15136         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15137         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15138         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15139         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15140         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15141         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15142         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15143         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15144         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15145         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15146         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15147         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15148         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15149         Likewise.
15150         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15151         Likewise.
15152         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15153         Likewise.
15154         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15155         Likewise.
15156         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15157         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15158         Likewise.
15159         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15160         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15161         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15162         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15163         Likewise.
15164         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15165         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15166         * sysdeps/powerpc/preconfigure: Likewise.
15167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15168         Likewise.
15169         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15170         Replace contents of file by #include of <fenv_libc.h>.
15171         * sysdeps/powerpc/soft-fp/sfp-machine.h
15172         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15173         and <sys/prctl.h>.
15174         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15175         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15176         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15177         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15178         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15179         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15180         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15181         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15182         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15183         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15184         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15185         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15187         Allow copysignl PLT reference to be missing.
15189 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
15190             Joseph Myers  <joseph@codesourcery.com
15192         [BZ #15948]
15193         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
15194         single character.
15195         (add_to_tablewc): Assert sequence of wide characters is nonempty.
15197 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15199         * elf/tst-tls-dlinfo.c: Don't include tls.h.
15200         * elf/tst-tls1.c: Likewise.
15201         * elf/tst-tls10.h: Likewise.
15202         * elf/tst-tls14.c: Likewise.
15203         * elf/tst-tls2.c: Likewise.
15204         * elf/tst-tls3.c: Likewise.
15205         * elf/tst-tls4.c: Likewise.
15206         * elf/tst-tls5.c: Likewise.
15207         * elf/tst-tls6.c: Likewise.
15208         * elf/tst-tls7.c: Likewise.
15209         * elf/tst-tls8.c: Likewise.
15210         * elf/tst-tls9.c: Likewise.
15211         * elf/tst-tlsmod1.c: Likewise.
15212         * elf/tst-tlsmod13.c: Likewise.
15213         * elf/tst-tlsmod13a.c: Likewise.
15214         * elf/tst-tlsmod14a.c: Likewise.
15215         * elf/tst-tlsmod16a.c: Likewise.
15216         * elf/tst-tlsmod16b.c: Likewise.
15217         * elf/tst-tlsmod2.c: Likewise.
15218         * elf/tst-tlsmod3.c: Likewise.
15219         * elf/tst-tlsmod4.c: Likewise.
15220         * elf/tst-tlsmod5.c: Likewise.
15221         * elf/tst-tlsmod6.c: Likewise.
15223 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
15225         [BZ #12486]
15226         * malloc/malloc.c: remove checks for statistics.
15228 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
15230         [BZ #15277]
15231         * inet/inet_net.c (inet_network): Detect additional invalid strings.
15232         * inet/tst-network.c: Add testcase.
15234 2013-10-17  Andreas Schwab  <schwab@suse.de>
15236         [BZ #15218]
15237         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15238         to determine canonical name.
15240 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
15242         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15243         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15244         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15245         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15246         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15247         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15248         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15249         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15250         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15251         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15252         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15253         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15254         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15255         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15256         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15257         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15258         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15259         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15260         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15261         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15262         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15263         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15264         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15265         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15266         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15267         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15268         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15269         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15270         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15271         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15272         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15273         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15274         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15275         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15276         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15277         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15278         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15279         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15280         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15281         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15282         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15283         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15284         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15285         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15286         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15287         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15288         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15289         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15290         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15291         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15292         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15293         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15294         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15295         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15296         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15297         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15298         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15299         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15301 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
15303         [BZ #16041]
15304         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15305         make result into a quiet NaN.
15307 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
15309         * soft-fp/adddf3.c: Fix horizontal whitespace.
15310         * soft-fp/addsf3.c: Likewise.
15311         * soft-fp/addtf3.c: Likewise.
15312         * soft-fp/divdf3.c: Likewise.
15313         * soft-fp/divsf3.c: Likewise.
15314         * soft-fp/divtf3.c: Likewise.
15315         * soft-fp/double.h: Likewise.
15316         * soft-fp/eqdf2.c: Likewise.
15317         * soft-fp/eqsf2.c: Likewise.
15318         * soft-fp/eqtf2.c: Likewise.
15319         * soft-fp/extenddftf2.c: Likewise.
15320         * soft-fp/extended.h: Likewise.
15321         * soft-fp/extendsfdf2.c: Likewise.
15322         * soft-fp/extendsftf2.c: Likewise.
15323         * soft-fp/extendxftf2.c: Likewise.
15324         * soft-fp/fixdfdi.c: Likewise.
15325         * soft-fp/fixdfsi.c: Likewise.
15326         * soft-fp/fixdfti.c: Likewise.
15327         * soft-fp/fixsfdi.c: Likewise.
15328         * soft-fp/fixsfsi.c: Likewise.
15329         * soft-fp/fixsfti.c: Likewise.
15330         * soft-fp/fixtfdi.c: Likewise.
15331         * soft-fp/fixtfsi.c: Likewise.
15332         * soft-fp/fixtfti.c: Likewise.
15333         * soft-fp/fixunsdfdi.c: Likewise.
15334         * soft-fp/fixunsdfsi.c: Likewise.
15335         * soft-fp/fixunsdfti.c: Likewise.
15336         * soft-fp/fixunssfdi.c: Likewise.
15337         * soft-fp/fixunssfsi.c: Likewise.
15338         * soft-fp/fixunssfti.c: Likewise.
15339         * soft-fp/fixunstfdi.c: Likewise.
15340         * soft-fp/fixunstfsi.c: Likewise.
15341         * soft-fp/fixunstfti.c: Likewise.
15342         * soft-fp/floatdidf.c: Likewise.
15343         * soft-fp/floatdisf.c: Likewise.
15344         * soft-fp/floatditf.c: Likewise.
15345         * soft-fp/floatsidf.c: Likewise.
15346         * soft-fp/floatsisf.c: Likewise.
15347         * soft-fp/floatsitf.c: Likewise.
15348         * soft-fp/floattidf.c: Likewise.
15349         * soft-fp/floattisf.c: Likewise.
15350         * soft-fp/floattitf.c: Likewise.
15351         * soft-fp/floatundidf.c: Likewise.
15352         * soft-fp/floatundisf.c: Likewise.
15353         * soft-fp/floatunditf.c: Likewise.
15354         * soft-fp/floatunsidf.c: Likewise.
15355         * soft-fp/floatunsisf.c: Likewise.
15356         * soft-fp/floatunsitf.c: Likewise.
15357         * soft-fp/floatuntidf.c: Likewise.
15358         * soft-fp/floatuntisf.c: Likewise.
15359         * soft-fp/floatuntitf.c: Likewise.
15360         * soft-fp/fmadf4.c: Likewise.
15361         * soft-fp/fmasf4.c: Likewise.
15362         * soft-fp/fmatf4.c: Likewise.
15363         * soft-fp/gedf2.c: Likewise.
15364         * soft-fp/gesf2.c: Likewise.
15365         * soft-fp/getf2.c: Likewise.
15366         * soft-fp/ledf2.c: Likewise.
15367         * soft-fp/lesf2.c: Likewise.
15368         * soft-fp/letf2.c: Likewise.
15369         * soft-fp/muldf3.c: Likewise.
15370         * soft-fp/mulsf3.c: Likewise.
15371         * soft-fp/multf3.c: Likewise.
15372         * soft-fp/negdf2.c: Likewise.
15373         * soft-fp/negsf2.c: Likewise.
15374         * soft-fp/negtf2.c: Likewise.
15375         * soft-fp/op-1.h: Likewise.
15376         * soft-fp/op-2.h: Likewise.
15377         * soft-fp/op-4.h: Likewise.
15378         * soft-fp/op-8.h: Likewise.
15379         * soft-fp/op-common.h: Likewise.
15380         * soft-fp/quad.h: Likewise.
15381         * soft-fp/single.h: Likewise.
15382         * soft-fp/soft-fp.h: Likewise.
15383         * soft-fp/sqrtdf2.c: Likewise.
15384         * soft-fp/sqrtsf2.c: Likewise.
15385         * soft-fp/sqrttf2.c: Likewise.
15386         * soft-fp/subdf3.c: Likewise.
15387         * soft-fp/subsf3.c: Likewise.
15388         * soft-fp/subtf3.c: Likewise.
15389         * soft-fp/truncdfsf2.c: Likewise.
15390         * soft-fp/trunctfdf2.c: Likewise.
15391         * soft-fp/trunctfsf2.c: Likewise.
15392         * soft-fp/trunctfxf2.c: Likewise.
15393         * soft-fp/unorddf2.c: Likewise.
15394         * soft-fp/unordsf2.c: Likewise.
15395         * soft-fp/unordtf2.c: Likewise.
15397 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
15399         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15400         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15402 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
15404         * elf/dl-libc.c: Clear initfini list after freeing.
15406 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
15408         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15409         * soft-fp/addsf3.c: Likewise.
15410         * soft-fp/addtf3.c: Likewise.
15411         * soft-fp/divdf3.c: Likewise.
15412         * soft-fp/divsf3.c: Likewise.
15413         * soft-fp/divtf3.c: Likewise.
15414         * soft-fp/double.h: Likewise.
15415         * soft-fp/eqdf2.c: Likewise.
15416         * soft-fp/eqsf2.c: Likewise.
15417         * soft-fp/eqtf2.c: Likewise.
15418         * soft-fp/extenddftf2.c: Likewise.
15419         * soft-fp/extended.h: Likewise.
15420         * soft-fp/extendsfdf2.c: Likewise.
15421         * soft-fp/extendsftf2.c: Likewise.
15422         * soft-fp/extendxftf2.c: Likewise.
15423         * soft-fp/fixdfdi.c: Likewise.
15424         * soft-fp/fixdfsi.c: Likewise.
15425         * soft-fp/fixdfti.c: Likewise.
15426         * soft-fp/fixsfdi.c: Likewise.
15427         * soft-fp/fixsfsi.c: Likewise.
15428         * soft-fp/fixsfti.c: Likewise.
15429         * soft-fp/fixtfdi.c: Likewise.
15430         * soft-fp/fixtfsi.c: Likewise.
15431         * soft-fp/fixtfti.c: Likewise.
15432         * soft-fp/fixunsdfdi.c: Likewise.
15433         * soft-fp/fixunsdfsi.c: Likewise.
15434         * soft-fp/fixunsdfti.c: Likewise.
15435         * soft-fp/fixunssfdi.c: Likewise.
15436         * soft-fp/fixunssfsi.c: Likewise.
15437         * soft-fp/fixunssfti.c: Likewise.
15438         * soft-fp/fixunstfdi.c: Likewise.
15439         * soft-fp/fixunstfsi.c: Likewise.
15440         * soft-fp/fixunstfti.c: Likewise.
15441         * soft-fp/floatdidf.c: Likewise.
15442         * soft-fp/floatdisf.c: Likewise.
15443         * soft-fp/floatditf.c: Likewise.
15444         * soft-fp/floatsidf.c: Likewise.
15445         * soft-fp/floatsisf.c: Likewise.
15446         * soft-fp/floatsitf.c: Likewise.
15447         * soft-fp/floattidf.c: Likewise.
15448         * soft-fp/floattisf.c: Likewise.
15449         * soft-fp/floattitf.c: Likewise.
15450         * soft-fp/floatundidf.c: Likewise.
15451         * soft-fp/floatundisf.c: Likewise.
15452         * soft-fp/floatunsidf.c: Likewise.
15453         * soft-fp/floatunsisf.c: Likewise.
15454         * soft-fp/floatuntidf.c: Likewise.
15455         * soft-fp/floatuntisf.c: Likewise.
15456         * soft-fp/floatuntitf.c: Likewise.
15457         * soft-fp/fmadf4.c: Likewise.
15458         * soft-fp/fmasf4.c: Likewise.
15459         * soft-fp/fmatf4.c: Likewise.
15460         * soft-fp/gedf2.c: Likewise.
15461         * soft-fp/gesf2.c: Likewise.
15462         * soft-fp/getf2.c: Likewise.
15463         * soft-fp/ledf2.c: Likewise.
15464         * soft-fp/lesf2.c: Likewise.
15465         * soft-fp/letf2.c: Likewise.
15466         * soft-fp/muldf3.c: Likewise.
15467         * soft-fp/mulsf3.c: Likewise.
15468         * soft-fp/multf3.c: Likewise.
15469         * soft-fp/negdf2.c: Likewise.
15470         * soft-fp/negsf2.c: Likewise.
15471         * soft-fp/negtf2.c: Likewise.
15472         * soft-fp/op-1.h: Likewise.
15473         * soft-fp/op-2.h: Likewise.
15474         * soft-fp/op-4.h: Likewise.
15475         * soft-fp/op-8.h: Likewise.
15476         * soft-fp/op-common.h: Likewise.
15477         * soft-fp/quad.h: Likewise.
15478         * soft-fp/single.h: Likewise.
15479         * soft-fp/soft-fp.h: Likewise.
15480         * soft-fp/sqrtdf2.c: Likewise.
15481         * soft-fp/sqrtsf2.c: Likewise.
15482         * soft-fp/sqrttf2.c: Likewise.
15483         * soft-fp/subdf3.c: Likewise.
15484         * soft-fp/subsf3.c: Likewise.
15485         * soft-fp/subtf3.c: Likewise.
15486         * soft-fp/truncdfsf2.c: Likewise.
15487         * soft-fp/trunctfdf2.c: Likewise.
15488         * soft-fp/trunctfsf2.c: Likewise.
15489         * soft-fp/trunctfxf2.c: Likewise.
15490         * soft-fp/unorddf2.c: Likewise.
15491         * soft-fp/unordsf2.c: Likewise.
15492         * soft-fp/unordtf2.c: Likewise.
15494 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
15496         [BZ #15672]
15497         * misc/error.c (error_tail): Fix possible buffer overflow.
15499 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
15501         [BZ #13028]
15502         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15503         address.
15505 2013-10-14  P. J. McDermott  <pj@pehjota.net>
15507         [BZ #832]
15508         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
15509         testing pipefail option.
15511 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
15513         * soft-fp/double.h: Indent preprocessor directives inside #if.
15514         * soft-fp/extended.h: Likewise.
15515         * soft-fp/op-2.h: Likewise.
15516         * soft-fp/op-4.h: Likewise.
15517         * soft-fp/op-common.h: Likewise.
15518         * soft-fp/quad.h: Likewise.
15519         * soft-fp/single.h: Likewise.
15520         * soft-fp/soft-fp.h: Likewise.
15522 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
15524         * iconv/iconv_prog.c: Fix typos.
15525         * stdio-common/psiginfo-data.h: Likewise.
15527 2013-10-12   Reuben Thomas <rrt@sc3d.org>
15529         [BZ #15764]
15530         * locale/setlocale.c: Fix typo.
15532 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
15534         [BZ #16036]
15535         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
15536         signaling NaN arguments.
15537         * soft-fp/unordsf2.c (__unordsf2): Likewise.
15538         * soft-fp/unordtf2.c (__unordtf2): Likewise.
15540         [BZ #14910]
15541         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
15542         unordered operands.
15543         * soft-fp/gesf2.c (__gesf2): Likewise.
15544         * soft-fp/getf2.c (__getf2): Likewise.
15545         * soft-fp/ledf2.c (__ledf2): Likewise.
15546         * soft-fp/lesf2.c (__lesf2): Likewise.
15547         * soft-fp/letf2.c (__letf2): Likewise.
15549         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
15550         * soft-fp/eqsf2.c (__eqsf2): Likewise.
15551         * soft-fp/eqtf2.c (__eqtf2): Likewise.
15552         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
15553         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
15554         * soft-fp/fixdfti.c (__fixdfti): Likewise.
15555         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
15556         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
15557         * soft-fp/fixsfti.c (__fixsfti): Likewise.
15558         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
15559         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
15560         * soft-fp/fixtfti.c (__fixtfti): Likewise.
15561         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
15562         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
15563         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
15564         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
15565         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
15566         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
15567         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
15568         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
15569         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
15570         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
15571         * soft-fp/floatdisf.c (__floatdisf): Likewise.
15572         * soft-fp/floatsisf.c (__floatsisf): Likewise.
15573         * soft-fp/floattidf.c (__floattidf): Likewise.
15574         * soft-fp/floattisf.c (__floattisf): Likewise.
15575         * soft-fp/floattitf.c (__floattitf): Likewise.
15576         * soft-fp/floatundidf.c (__floatundidf): Likewise.
15577         * soft-fp/floatundisf.c (__floatundisf): Likewise.
15578         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
15579         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
15580         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
15581         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
15582         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
15583         * soft-fp/gesf2.c (__gesf2): Likewise.
15584         * soft-fp/getf2.c (__getf2): Likewise.
15585         * soft-fp/ledf2.c (__ledf2): Likewise.
15586         * soft-fp/lesf2.c (__lesf2): Likewise.
15587         * soft-fp/letf2.c (__letf2): Likewise.
15589         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
15590         Undefine and redefine.
15591         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
15592         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
15593         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
15594         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
15595         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15596         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
15597         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15598         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
15599         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15600         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
15601         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15602         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
15603         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15604         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
15605         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15607         [BZ #16032]
15608         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
15609         without decrementing exponent if mantissa >= that for the
15610         denominator, not >.
15611         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
15612         denominator, not >.  Decrement exponent in < case instead of
15613         incrementing in >= case.
15614         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
15615         without decrementing exponent if mantissa >= that for the
15616         denominator, not >.
15618         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
15619         computing saturated result for unsigned overflow.
15621 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15622             Jeff Law  <law@redhat.com>
15624         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
15625         (atan2Mp): Add systemtap probe marker.
15626         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
15627         (__ieee754_log): Add systemtap probe marker.
15628         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
15629         (atanMp): Add systemtap probe marker.
15630         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
15631         (tanMp): Add systemtap probe marker.
15632         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
15633         (__slowexp): Add systemtap probe marker.
15634         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
15635         (__slowpow): Add systemtap probe marker.
15636         * manual/probes.texi: Document probes.
15638 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
15640         [BZ #15362]
15641         * libio/fileops.c (_IO_new_file_write): Return count of bytes
15642         written.
15643         (_IO_new_file_xsputn): Don't return EOF if nothing has been
15644         written.
15645         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
15646         written to buffer but not flushed.
15647         * libio/iofwrite_u.c:  Likewise.
15648         * libio/iopadn.c:  Return bytes returned even if EOF was
15649         encountered.
15650         * libio/iowpadn.c:  Likewise.
15651         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
15652         if _IO_padn does not write the whole buffer.
15653         [!COMPILE_WPRINTF] (PAD): Likewise.
15655 2013-10-10  David S. Miller  <davem@davemloft.net>
15657         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
15658         directory block.
15660 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
15662         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
15663         instead of FSF address.
15664         * soft-fp/fixdfti.c: Likewise.
15665         * soft-fp/fixsfti.c: Likewise.
15666         * soft-fp/fixtfti.c: Likewise.
15667         * soft-fp/fixunsdfti.c: Likewise.
15668         * soft-fp/fixunssfti.c: Likewise.
15669         * soft-fp/fixunstfti.c: Likewise.
15670         * soft-fp/floattidf.c: Likewise.
15671         * soft-fp/floattisf.c: Likewise.
15672         * soft-fp/floattitf.c: Likewise.
15673         * soft-fp/floatuntidf.c: Likewise.
15674         * soft-fp/floatuntisf.c: Likewise.
15675         * soft-fp/floatuntitf.c: Likewise.
15676         * soft-fp/trunctfxf2.c: Likewise.
15678         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
15679         * soft-fp/fixdfti.c: Likewise.
15680         * soft-fp/fixsfti.c: Likewise.
15681         * soft-fp/fixtfti.c: Likewise.
15682         * soft-fp/fixunsdfti.c: Likewise.
15683         * soft-fp/fixunssfti.c: Likewise.
15684         * soft-fp/fixunstfti.c: Likewise.
15685         * soft-fp/floattidf.c: Likewise.
15686         * soft-fp/floattisf.c: Likewise.
15687         * soft-fp/floattitf.c: Likewise.
15688         * soft-fp/floatuntidf.c: Likewise.
15689         * soft-fp/floatuntisf.c: Likewise.
15690         * soft-fp/floatuntitf.c: Likewise.
15691         * soft-fp/trunctfxf2.c: Likewise.
15693 2013-10-10  David S. Miller  <davem@davemloft.net>
15695         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15697 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
15699         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15700         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
15701         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
15702         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
15703         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
15704         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
15705         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
15707         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
15708         for NaNs before doing comparisons on argument.
15709         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15710         Likewise.
15712 2013-10-10  Will Newton  <will.newton@linaro.org>
15714         * malloc/hooks.c (memalign_check): Ensure the value of bytes
15715         passed to _int_memalign does not overflow.
15717 2013-10-10  Torvald Riegel  <triegel@redhat.com>
15719         * scripts/bench.pl: Add include-sources directive.
15720         * benchtests/README: Update documentation.
15722 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
15724         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
15725         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
15726         instead of FP_INIT_ROUNDMODE.
15727         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
15728         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
15730         [BZ #16034]
15731         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
15732         copy class of input value.
15733         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
15734         not handle exceptions.
15735         * soft-fp/negsf2.c (__negsf2): Likewise.
15736         * soft-fp/negtf2.c (__negtf2): Likewise.
15737         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
15739 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
15741         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
15742         semicolon.  From Linux kernel.
15744 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
15746         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
15748 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
15750         [BZ #156]
15751         * manual/socket.texi: Added statement about buffer
15752         for gethostbyname2_r.
15754 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
15756         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
15757         Use .p2align directive instead, throughout.
15758         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15759         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15760         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15761         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15762         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15763         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15764         * sysdeps/x86_64/strchr.S: Likewise.
15765         * sysdeps/x86_64/strrchr.S: Likewise.
15767 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15769         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
15771         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
15773         * sysdeps/generic/math_private.h (__mpsin1): Remove
15774         declaration.
15775         (__mpcos1): Likewise.
15776         (__mpsin): New argument __range_reduce.
15777         (__mpcos): Likewise.
15778         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15779         (slow): Use __mpsin and __mpcos.
15780         (slow1): Likewise.
15781         (slow2): Likewise.
15782         (sloww): Likewise.
15783         (sloww1): Likewise.
15784         (sloww2): Likewise.
15785         (bsloww): Likewise.
15786         (bsloww1): Likewise.
15787         (bsloww2): Likewise.
15788         (cslow2): Likewise.
15789         (csloww): Likewise.
15790         (csloww1): Likewise.
15791         (csloww2): Likewise.
15792         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15793         range_reduce.  Merge in __mpsin1.
15794         (__mpcos): Likewise.
15795         (__mpsin1): Remove.
15796         (__mpcos1): Likewise.
15798 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
15800         * locale/loadlocale.c (_nl_intern_locale_data): Use
15801         LOCFILE_ALIGNED_P.
15802         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15803         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15804         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15805         obstack data is appropriately aligned.
15806         (obstack_int32_grow_fast): Likewise.
15807         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15808         * locale/programs/locfile.c (add_locale_uint32): Likewise.
15809         (add_locale_uint32_array): Likewise.
15811 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
15813         * benchtests/Makefile: Remove ARGLIST and RET variables.
15814         ($(objpfx)bench-%.c): Pass only function name to the script.
15815         * benchtests/README: Update documentation.
15816         * benchtests/acos-inputs: Add new directives.
15817         * benchtests/acosh-inputs: Likewise.
15818         * benchtests/asin-inputs: Likewise.
15819         * benchtests/asinh-inputs: Likewise.
15820         * benchtests/atan-inputs: Likewise.
15821         * benchtests/atanh-inputs: Likewise.
15822         * benchtests/cos-inputs: Likewise.
15823         * benchtests/cosh-inputs: Likewise.
15824         * benchtests/exp-inputs: Likewise.
15825         * benchtests/log-inputs: Likewise.
15826         * benchtests/pow-inputs: Likewise.
15827         * benchtests/rint-inputs: Likewise.
15828         * benchtests/sin-inputs: Likewise.
15829         * benchtests/sinh-inputs: Likewise.
15830         * benchtests/tan-inputs: Likewise.
15831         * benchtests/tanh-inputs: Likewise.
15832         * scripts/bench.pl: Add support for new directives.
15834 2013-10-07  Alan Modra  <amodra@gmail.com>
15836         * README: Fix careless merge.
15838 2013-10-05  Alan Modra  <amodra@gmail.com>
15840         * NEWS: Mention powerpc64le support and bugs fixed.
15841         * README: Both big-endian and little-endian powerpc64 supported.
15843 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15845         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15846         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
15847         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15848         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15850 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
15852         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15853         match prototype.
15855 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
15857         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15858         Move -mhard-float appending from
15859         ports/sysdeps/powerpc/powerpc32/Makefile.
15860         [$(with-fp) = yes] (ASFLAGS): Likewise.
15861         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15862         * sysdeps/powerpc/nofpu: Move directory from
15863         ports/sysdeps/powerpc/nofpu.
15864         * sysdeps/powerpc/soft-fp: Move directory from
15865         ports/sysdeps/powerpc/soft-fp.
15866         * sysdeps/powerpc/powerpc32/405: Move directory from
15867         ports/sysdeps/powerpc/powerpc32/405.
15868         * sysdeps/powerpc/powerpc32/440: Move directory from
15869         ports/sysdeps/powerpc/powerpc32/440.
15870         * sysdeps/powerpc/powerpc32/464: Move directory from
15871         ports/sysdeps/powerpc/powerpc32/464.
15872         * sysdeps/powerpc/powerpc32/476: Move directory from
15873         ports/sysdeps/powerpc/powerpc32/476.
15874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15875         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15877         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15879         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15881         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15883         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15884         * README: Update for powerpc-*-linux-gnu software floating point
15885         support in libc.
15887         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15888         case to powerpc/powerpc32*.
15889         * sysdeps/unix/sysv/linux/configure: Regenerated.
15891         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15892         (_FPU_MASK_OM): Define as 0x04.
15893         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15894         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
15895         0x00c10080.
15896         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
15897         0x0000003c.
15898         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
15900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
15901         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15902         getcontext_e500.
15903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
15904         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15905         setcontext_e500.
15906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
15907         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
15908         and setcontext_e500.
15910 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
15912         * locale/iso-3166.def: Update iso-1366.def and related occurrences
15914 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15916         * manual/threads.texi (Default Thread Attributes): Fix typo.
15918 2013-10-04  Will Newton  <will.newton@linaro.org>
15920         * malloc/Makefile: Add tst-memalign.
15921         * malloc/tst-memalign.c: New file.
15923         * malloc/tst-posix_memalign.c: Add comments.
15924         (do_test): Add comments and call free on all potentially
15925         allocated pointers. Add space after cast.
15927         * malloc/tst-pvalloc.c: Add comments.
15928         (do_test): Add comments and call free on all potentially
15929         allocated pointers. Remove duplicate check for NULL pointer.
15930         Add space after cast.
15932         * malloc/tst-valloc.c: Add comments.
15933         (do_test): Add comments and call free on all potentially
15934         allocated pointers. Remove duplicate check for NULL pointer.
15935         Add space after cast.
15937 2013-10-04  Alan Modra  <amodra@gmail.com>
15939         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15940         Use stdint types in rather than __attribute__((mode())).
15941         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15943 2013-10-04  Alan Modra  <amodra@gmail.com>
15945         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15946         Correct handling of unaligned relocs for little-endian.
15947         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15949 2013-10-04  Alan Modra  <amodra@gmail.com>
15951         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
15952         * configure: Regenerate.
15953         * nptl/shlib-versions: Powerpc*le starts at 2.18.
15954         * shlib-versions: Likewise.
15956 2013-10-04  Alan Modra  <amodra@gmail.com>
15958         * string/tester.c (test_memrchr): Increment reported test cycle.
15960 2013-10-04  Alan Modra  <amodra@gmail.com>
15962         * string/test-memcpy.c (do_one_test): When reporting errors, print
15963         string address and don't overrun end of string.
15965 2013-10-04  Alan Modra  <amodra@gmail.com>
15967         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
15968         insrdi.  Make better use of reg selection to speed exit slightly.
15969         Schedule entry path a little better.  Remove useless "are we done"
15970         checks on entry to main loop.  Handle wrapping around zero address.
15971         Correct main loop count.  Handle single left-over word from main
15972         loop inline rather than by using loop_small.  Remove extra word
15973         case in loop_small caused by wrong loop count.  Add little-endian
15974         support.
15975         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15976         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
15977         cache hint.
15978         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15979         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
15980         support.  Avoid rlwimi.
15981         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
15983 2013-10-04  Alan Modra  <amodra@gmail.com>
15985         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
15986         insrdi.  Formatting.
15987         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
15988         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15989         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15990         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15991         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15992         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
15994 2013-10-04  Alan Modra  <amodra@gmail.com>
15996         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
15997         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15998         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
15999         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16000         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16001         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16002         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16003         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16004         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
16005         use of regs.  Use power7 mtocrf.  Tidy function tails.
16007 2013-10-04  Alan Modra  <amodra@gmail.com>
16009         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
16010         Formatting.  Consistently use rXXX register defines or rN defines.
16011         Use early exit labels that avoid restoring unused non-volatile regs.
16012         Make cr field use more consistent with rWORDn compares.  Rename
16013         regs used as shift registers for unaligned loop, using rN defines
16014         for short lifetime/multiple use regs.
16015         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16016         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
16017         addi 1,1,64 to pop stack frame.  Simplify return value code.
16018         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16020 2013-10-04  Alan Modra  <amodra@gmail.com>
16022         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
16023         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
16024         rather than rlwimi.
16025         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
16026         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16027         little-endian support.  Correct typos.
16028         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
16029         rather than rlwimi.
16030         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
16031         in loop and entry code to keep "and." results.
16032         (strchr): Add little-endian support.  Comment.  Move cntlzd
16033         earlier in tail.
16034         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
16036 2013-10-04  Alan Modra  <amodra@gmail.com>
16038         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
16039         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
16040         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16041         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
16043 2013-10-04  Alan Modra  <amodra@gmail.com>
16045         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16046         (rTMP): Define as r11.
16047         (strcmp): Add little-endian support.  Optimise tail.
16048         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16049         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16050         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16051         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16052         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16053         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16054         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16056 2013-10-04  Alan Modra  <amodra@gmail.com>
16058         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16059         little-endian support.  Remove unnecessary "are we done" tests.
16060         Handle "s" wrapping around zero and extremely large "size".
16061         Correct main loop count.  Handle single left-over word from main
16062         loop inline rather than by using small_loop.  Correct comments.
16063         Delete "zero" tail, use "end_max" instead.
16064         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16066 2013-10-04  Alan Modra  <amodra@gmail.com>
16068         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16069         support.  Don't branch over align.
16070         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
16071         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
16072         support.  Rearrange tmp reg use to suit.  Comment.
16073         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
16075 2013-10-04  Alan Modra  <amodra@gmail.com>
16077         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16079 2013-10-04  Alan Modra  <amodra@gmail.com>
16081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16082         conditional form of branch and link when obtaining pc.
16083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16085 2013-10-04  Alan Modra  <amodra@gmail.com>
16087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16088         HIWORD/LOWORD.
16089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16092 2013-10-04  Alan Modra  <amodra@gmail.com>
16094         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16095         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16096         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16097         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16098         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16099         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16100         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16101         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16102         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16103         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16105 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16106             Alistair Popple <alistair@ozlabs.au.ibm.com>
16107             Alan Modra <amodra@gmail.com>
16109         [BZ #15723]
16110         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16111         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16112         _dl_hwcap access for little-endian.
16113         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
16114         destroy vmx regs when saving unaligned.
16115         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16116         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
16117         destroy vmx regs when saving unaligned.
16119 2013-10-04  Alan Modra  <amodra@gmail.com>
16121         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16122         Don't use a union to pack hi/low value.
16124 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16126         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16127         for little-endian.
16128         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16129         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16130         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16131         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16132         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16134 2013-10-04  Alan Modra  <amodra@gmail.com>
16136         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16137         constants to usual value for .cst8 section, and remove redundant
16138         high address load.
16139         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16140         constant for 0x1p52.  Load little-endian words of double from
16141         correct stack offsets.
16143 2013-10-04  Alan Modra  <amodra@gmail.com>
16145         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16146         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16147         words of double from correct stack offsets.
16148         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16149         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16150         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16151         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16152         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16153         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16154         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16155         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16156         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16157         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16158         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16159         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16160         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16161         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16162         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16163         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16164         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16166 2013-10-04  Alan Modra  <amodra@gmail.com>
16168         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16169         64-bit int/double union.
16170         (_FPU_SETCW): Likewise.
16171         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16172         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16174 2013-10-04  Alan Modra  <amodra@gmail.com>
16176         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16177         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16179 2013-10-04  Alan Modra  <amodra@gmail.com>
16181         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16182         use vector int constants.
16183         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16185 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16187         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
16188         array with long long.
16189         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
16190         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
16191         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
16192         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
16193         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
16194         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
16195         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
16196         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
16197         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
16198         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
16199         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16200         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16201         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16203 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16205         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16206         (__signbit): Likewise.  Correct for little-endian.
16207         (__signbitl): Call __signbit.
16208         (lrint): Correct for little-endian.
16209         (lrintf): Call lrint.
16211 2013-10-04  Alan Modra  <amodra@gmail.com>
16213         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16214         union 32-bit int array member with 64-bit int array.
16215         (t515, tm256): Double rather than long double.
16216         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16218 2013-10-04  Alan Modra  <amodra@gmail.com>
16220         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16221         Delete.
16222         (IEEE854_LONG_DOUBLE_BIAS): Delete.
16223         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16224         version of math_ldbl.h.
16226 2013-10-04  Alan Modra  <amodra@gmail.com>
16228         [BZ #15734], [BZ #15735]
16229         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16230         all uses of ieee875 long double macros and unions.  Simplify test
16231         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
16232         ldbl_extract_mantissa value for ix,iy exponents.  Properly
16233         normalize after ldbl_extract_mantissa, and don't add hidden bit
16234         already handled.  Don't treat low word of ieee854 mantissa like
16235         low word of IBM long double and mask off bit when testing for
16236         zero.
16237         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16238         all uses of ieee875 long double macros and unions.  Simplify tests
16239         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
16240         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
16241         two1022, instead use their values.  Recognise that tests for large
16242         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
16243         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16244         Rewrite all uses of ieee875 long double macros and unions.  Simplify
16245         test for 0.0L and nan.  Correct negation.
16246         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16247         ieee875 long double macros and unions.  Correct output for large
16248         magnitude x.  Correct absolute value calculation.
16249         (__erfcl): Likewise.
16250         * math/libm-test.inc: Add tests for errors discovered in IBM long
16251         double versions of fmodl, remainderl, erfl and erfcl.
16253 2013-10-04  Alan Modra  <amodra@gmail.com>
16255         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16256         all uses of ieee854 long double macros and unions.  Simplify tests
16257         for long doubles that are fully specified by the high double.
16258         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16259         Likewise.
16260         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16261         Remove dead code too.
16262         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16263         (__ieee754_ynl): Likewise.
16264         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16265         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16266         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16267         Remove dead code too.
16268         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16269         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16270         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16271         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16272         Simplify.
16273         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16274         Simplify.
16275         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16276         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16277         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16278         Comment on variable precision.
16279         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16280         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16281         Likewise.
16282         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16283         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16284         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16285         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16286         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16288 2013-10-04  Alan Modra  <amodra@gmail.com>
16290         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16291         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16292         all uses of ieee854 long double macros and unions.
16293         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16294         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16295         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16296         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16297         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16298         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16299         Likewise.
16300         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16301         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16302         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16303         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16304         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16305         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16306         Simplify sign and nan test too.
16307         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16308         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16309         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16310         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16311         Likewise.
16312         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16313         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
16314         Likewise.
16315         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16316         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16317         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
16318         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
16319         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
16320         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
16322 2013-10-04  Alan Modra  <amodra@gmail.com>
16324         * stdio-common/printf_size.c (__printf_size): Don't use
16325         union ieee854_long_double in fpnum union.
16326         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
16327         signbit macro to retrieve sign from long double.
16328         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
16329         retrieve sign from long double.
16330         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
16331         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
16332         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
16333         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16334         * math/test-misc.c (main): Don't use union ieee854_long_double.
16336 2013-10-04  Alan Modra  <amodra@gmail.com>
16338         [BZ #15680]
16339         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
16340         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
16341         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
16342         calculation.  Remove unnecessary test for denormal exponent.
16343         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
16344         Correct handling of denormals.  Avoid undefined shift behaviour.
16345         Correct normalisation of low mantissa when low double is denormal.
16346         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
16347         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
16348         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
16349         Correct normalisation of low mantissa.  Test for overflow of high
16350         mantissa and normalise.
16351         (ldbl_nearbyint): Use more readable constant for two52.
16352         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
16353         (__mpn_construct_long_double): Fix test for overflow of high
16354         mantissa and correct normalisation.  Avoid undefined shift.
16356 2013-10-04  Alan Modra  <amodra@gmail.com>
16358         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16359         (union ibm_extended_long_double): Define as an array of ieee754_double.
16360         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
16361         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
16362         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
16363         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16364         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16365         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
16366         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16367         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16368         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16369         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
16370         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16372 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
16374         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
16375         page size instead of calling getpagesize.
16377         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
16378         (LOCFILE_ALIGN_MASK): Likewise.
16379         (LOCFILE_ALIGN_UP): Likewise.
16380         (LOCFILE_ALIGNED_P): Likewise.
16381         * locale/programs/ld-collate.c (collate_output): Use the new
16382         macros instead of __alignof__ (int32_t).
16383         * locale/weight.h (findidx): Likewise.
16385 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
16387         [BZ #431]
16388         * manual/string.texi: Fix strncat and wcsncat.
16390 2013-10-03  Brooks Moses  <bmoses@google.com>
16392         [BZ #15915]
16393         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16394         * Makerules: ...here, and adjust associated comments.
16396 2013-10-02  Will Newton  <will.newton@linaro.org>
16398         * malloc/Makefile: Add tst-pvalloc.
16399         * malloc/tst-pvalloc.c: New file.
16401 2013-10-02  Will Newton  <will.newton@linaro.org>
16403         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16404         improve test coverage.
16406 2013-10-02  Will Newton  <will.newton@linaro.org>
16408         * malloc/Makefile: Add tst-posix_memalign.
16409         * malloc/tst-posix_memalign.c: New file.
16411 2013-10-01  Eric Blake  <eblake@redhat.com>
16413         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16414         Use __THROWNL rather than __THROW on static functions.
16416 2013-09-30  Petr Machata  <pmachata@redhat.com>
16418         * elf/elf.h (R_AARCH64_ABS16): New macro.
16419         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16420         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16421         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16422         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16423         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16424         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16425         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16426         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16427         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16428         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16429         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16430         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16431         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16432         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16433         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16434         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16435         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16436         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16437         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16438         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16439         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16440         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16441         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16442         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16443         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16444         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16445         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16446         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16447         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16448         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16449         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16450         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16451         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16452         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16453         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16454         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16455         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16456         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16457         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16458         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16459         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16460         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16461         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16462         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16463         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16464         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16465         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16466         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16467         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16468         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16469         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16470         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16471         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16472         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16473         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16474         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16475         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16476         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16477         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16478         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16479         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16480         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16481         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16482         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16483         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16484         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16485         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16486         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16487         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16488         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16489         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16490         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16491         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16492         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16493         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16494         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16495         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16496         (R_AARCH64_TLSDESC_LDR): Likewise.
16497         (R_AARCH64_TLSDESC_ADD): Likewise.
16498         (R_AARCH64_TLSDESC_CALL): Likewise.
16500 2013-09-30  Andreas Schwab  <schwab@suse.de>
16502         [BZ #15048]
16503         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16504         the nss database lookup.
16505         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16506         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16508 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
16510         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16512 2013-09-28  P. J. McDermott  <pj@pehjota.net>
16514         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16515         ${Bash-specific parameter/pattern/string} parameter expansion.
16516         * sysdeps/unix/make-syscalls.sh: Likewise.
16518 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16520         * sysdeps/sh/stackguard-macros.h: New file.
16522 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
16524         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16525         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
16526         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
16527         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
16528         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16529         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
16531 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16533         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
16534         Fix thread ID register.
16536 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
16538         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
16539         [POSIX || UNIX98]: Require rather than permitting all symbols from
16540         <time.h>.
16541         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
16542         element of struct sched_param.
16543         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
16544         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
16545         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
16546         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
16547         constant.
16549 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
16551         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
16552         argument calculation.
16554 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
16556         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
16557         Expect macro.
16558         [POSIX] (pthread_attr_t): Do not require type.
16559         [POSIX] (pthread_cond_t): Likewise.
16560         [POSIX] (pthread_condattr_t): Likewise.
16561         [POSIX] (pthread_key_t): Likewise.
16562         [POSIX] (pthread_mutex_t): Likewise.
16563         [POSIX] (pthread_mutexattr_t): Likewise.
16564         [POSIX] (pthread_once_t): Likewise.
16565         [POSIX] (pthread_t): Likewise.
16566         [POSIX-based standards] (pthread_atfork): Expect function.
16568 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
16569             Richard Sandiford  <richard@codesourcery.com>
16571         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
16572         (swap_endianness_p): New extern variable.
16573         (set_big_endian): New inline function.
16574         (maybe_swap_uint32): Likewise.
16575         (maybe_swap_uint32_array): Likewise.
16576         (maybe_swap_uint32_obstack): Likewise.
16577         * locale/programs/locfile.c: Include <stdbool.h>.
16578         (swap_endianness_p): New variable.
16579         (add_locale_uint32): Call maybe_swap_uint32.
16580         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
16581         (write_locale_data): Call maybe_swap_uint32_array.
16582         * locale/programs/ld-collate.c (obstack_int32_grow): Call
16583         maybe_swap_uint32.
16584         (obstack_int32_grow_fast): Likewise.
16585         (output_weightwc): Call maybe_swap_uint32_obstack.
16586         (collate_output): Likewise.
16587         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
16588         (OPT_LITTLE_ENDIAN): Likewise.
16589         (options): Add --little-endian and --big-endian options.
16590         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
16591         * locale/programs/locarchive.c: Include "locfile.h".
16592         (GET): New macro.
16593         (SET): Likewise.
16594         (INC): Likewise.
16595         (create_archive): Use the new macros to access fields of
16596         structures directly mapped from or written to locale archives.
16597         (oldlocrecentcmp): Likewise.
16598         (enlarge_archive): Likewise.
16599         (insert_name): Likewise.
16600         (add_alias): Likewise.
16601         (add_locale): Likewise.
16602         (delete_locales_from_archive): Likewise.
16603         (show_archive_content): Likewise.
16604         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
16605         locale data.
16607 2013-09-24  Roland McGrath  <roland@hack.frob.com>
16609         * manual/freemanuals.texi: Updated from (newly) canonical copy at
16610         http://www.gnu.org/doc/freemanuals.texi.
16611         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
16613 2013-09-24  Will Newton  <will.newton@linaro.org>
16615         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
16616         macro.
16618 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
16620         * locale/hashval.h (compute_hashval): Interpret bytes of key as
16621         unsigned char.
16623 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
16625         * manual/threads.texi (POSIX Threads): Fix a typo.
16627 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
16629         [BZ #14547]
16630         * string/tst-strcoll-overflow.c: New test case.
16631         * string/Makefile (xtests): Add tst-strcoll-overflow.
16632         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
16633         cache if string sizes may cause integer overflow.
16635         [BZ #14547]
16636         * string/strcoll_l.c (coll_seq): New members rule, idx,
16637         save_idx and back_us.
16638         (get_next_seq_nocache): New function.
16639         (do_compare_nocache): New function.
16640         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
16641         when malloc fails.
16643 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
16645         [BZ #15754]
16646         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
16647         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
16648         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
16650         [BZ #15754]
16651         * elf/Makefile (tests): Add tst-ptrguard1.
16652         (tests-static): Add tst-ptrguard1-static.
16653         (tst-ptrguard1-ARGS): Define.
16654         (tst-ptrguard1-static-ARGS): Define.
16655         * elf/tst-ptrguard1.c: New file.
16656         * elf/tst-ptrguard1-static.c: New file.
16657         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
16658         * sysdeps/i386/stackguard-macros.h: Likewise.
16659         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16660         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16661         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16662         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16663         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16664         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16666 2013-09-23  Hector Marco  <hecmargi@upv.es>
16667             Ismael Ripoll  <iripoll@disca.upv.es>
16668             Carlos O'Donell  <carlos@redhat.com>
16670         [BZ #15754]
16671         * sysdeps/generic/stackguard-macros.h: Define
16672         __pointer_chk_guard_local and POINTER_CHK_GUARD.
16673         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
16674         Define __pointer_chk_guard_local.
16675         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
16676         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
16678 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
16680         [BZ #15859]
16681         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
16683 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
16685         * include/string.h (__ffs): Declare as hidden.
16686         * string/ffs.c (__ffs): Define as hidden.
16687         * sysdeps/i386/ffs.c (__ffs): Likewise.
16688         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16689         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
16690         * sysdeps/s390/ffs.c (__ffs): Likewise.
16691         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
16693 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
16695         * NEWS: Mention malloc probes.
16697         * malloc/arena.c (new_heap): New memory_heap_new probe.
16698         (grow_heap): New memory_heap_more probe.
16699         (shrink_heap): New memory_heap_less probe.
16700         (heap_trim): New memory_heap_free probe.
16701         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
16702         (systrim): New memory_sbrk_less probe.
16703         * manual/probes.texi: Document them.
16705         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
16706         * manual/probes.texi: Document it.
16708         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
16709         (__libc_realloc): Add memory_realloc_retry probe.
16710         (__libc_memalign): Add memory_memalign_retry probe.
16711         (__libc_valloc): Add memory_valloc_retry probe.
16712         (__libc_pvalloc): Add memory_pvalloc_retry probe.
16713         (__libc_calloc): Add memory_calloc_retry probe.
16714         * manual/probes.texi: Document them.
16716         * malloc/arena.c (get_free_list): Add probe
16717         memory_arena_reuse_free_list.
16718         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
16719         and memory_arena_reuse.
16720         (arena_get2) [!PER_THREAD]: Likewise.
16721         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
16722         memory_arena_reuse_realloc.
16723         * manual/probes.texi: Document them.
16725         * malloc/malloc.c (__libc_free): Add
16726         memory_mallopt_free_dyn_thresholds probe.
16727         (__libc_mallopt): Add multiple memory_mallopt probes.
16728         * manual/probes.texi: Document them.
16730         * malloc/malloc.c: Include stap-probe.h.
16731         (__libc_mallopt): Add memory_mallopt probe.
16732         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
16733         * manual/probes.texi: New.
16734         * manual/Makefile (chapters): Add probes.
16735         * manual/threads.texi: Set next node.
16737 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
16739         [BZ #15963, #13985]
16740         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
16741         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
16742         Add `Chinese' to `nan' entry name.
16744 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16746         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
16747         (POLYNOMIAL): Likewise.
16748         (TAYLOR_SINCOS): Likewise.
16749         (TAYLOR_SLOW): Likewise.
16750         (__sin): Use TAYLOR_SINCOS.
16751         (__cos): Likewise.
16752         (slow): Use TAYLOR_SLOW.
16753         (sloww): Likewise.
16754         (bsloww): Likewise.
16755         (csloww): Likewise.
16757 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16759         * stdlib/strtod_l.c: Fix buffer overrun.
16761 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16763         * benchtests/Makefile (bench): Add sincos.
16764         * benchtests/bench-sincos.c: New file.
16766         * math/libm-test.inc (cos_test_data): New test inputs.
16767         (sin_test_data): Likewise.
16769         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
16770         macro.
16771         (__sin): Use it.
16772         (__cos): Likewise.
16773         (slow1): Likewise.
16774         (slow2): Likewise.
16775         (sloww1): Likewise.
16776         (sloww2): Likewise.
16777         (bsloww1): Likewise.
16778         (bsloww2): Likewise.
16779         (cslow2): Likewise.
16780         (csloww1): Likewise.
16781         (csloww2): Likewise.
16783         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16784         function.
16785         (__sin): Use it.
16786         (__cos): Likewise.
16788         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16789         gotos.
16790         (__cos): Likewise.
16792 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
16794         * config.h.in (HAVE_MIPS_NAN2008): New macro.
16795         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16796         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16797         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16798         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16799         * elf/cache.c (print_entry): Handle the new cache flags.
16801 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
16802             Aldy Hernandez  <aldyh@redhat.com>
16804         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16805         Change condition to [_SOFT_FLOAT].
16806         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16807         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16808         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16809         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16810         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16811         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16812         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16813         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16814         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16815         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16816         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16817         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16818         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16819         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16820         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16821         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16822         declaration.
16824 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
16826         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16827         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16828         (__longjmp): Use LOAD_GP to load saved GPRs.
16829         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16830         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16831         (__sigsetjmp): Use SAVE_GP to save GPRs.
16833         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16834         Do not append -msoft-float.
16835         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16837 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16839         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16841 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
16843         [BZ #15966]
16844         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16845         (_FPU_GETCW): Use initial "__" on variable and field names but not
16846         on macro parameter name.
16847         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
16848         parentheses around reference to macro parameter.
16850 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
16852         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16853         prototype.
16854         (ctype_startup): Use uint32_t in cast and sizeof for
16855         ctype->charnames.
16857 2013-09-11  Jia Liu  <proljc@gmail.com>
16859         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16860         __daddr_t_defined.
16861         [__FreeBSD__]: Likewise.
16863 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
16865         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16866         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16867         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16868         (strchr): Remove __strchr_sse42 ifunc selection.
16869         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16870         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16872 2013-09-11  Will Newton  <will.newton@linaro.org>
16874         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16875         parameter to RES. Remove hardcoded 1000 value.
16876         * benchtests/bench-skeleton.c (main): Pass RES parameter
16877         to TIMING_INIT and multiply result by 1000.
16879 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16881         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16883 2013-09-11  Andreas Schwab  <schwab@suse.de>
16885         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16886         if not defined.
16887         (O_TMPFILE) [__USE_GNU]: Define.
16888         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16889         Define.
16891 2013-09-11  Will Newton  <will.newton@linaro.org>
16893         [BZ #15857]
16894         * malloc/malloc.c (__libc_memalign): Check the value of bytes
16895         does not overflow.
16897 2013-09-11  Will Newton  <will.newton@linaro.org>
16899         [BZ #15856]
16900         * malloc/malloc.c (__libc_valloc): Check the value of bytes
16901         does not overflow.
16903 2013-09-11  Will Newton  <will.newton@linaro.org>
16905         [BZ #15855]
16906         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
16907         does not overflow.
16909 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
16911         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16912         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16913         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16914         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16915         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16917 2013-09-10  Allan McRae  <allan@archlinux.org>
16919         [BZ #15748]
16920         * manual/arith.texi (Parsing of Floats): Clarify
16921         cross-reference.
16923         [BZ #15849]
16924         * manual/install.texi (Running make install): Mention
16925         --enable-pt-chown.
16926         * INSTALL: Regenerated.
16928 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
16930         * csu/init-first.c (_init): Remove the !SHARED condition around
16931         FPU control word initialization.
16932         * elf/dl-support.c (_dl_fpu_control): New variable.
16933         (_dl_aux_init) <AT_FPUCW>: Initialize it.
16934         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
16935         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
16936         * math/test-fpucw-static.c: New file.
16937         * math/test-fpucw-ieee.c: New file.
16938         * math/test-fpucw-ieee-static.c: New file.
16939         * math/Makefile (tests): Add `test-fpucw-ieee' and
16940         `$(tests-static)'.
16941         (tests-static): New variable.
16942         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
16943         dependency to...
16944         [($(build-shared),yes)]
16945         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16946         ... this.
16947         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
16948         New dependency.
16950 2013-09-09  Allan McRae  <allan@archlinux.org>
16952         [BZ #15939]
16953         * manual/string.texi (Collation Functions): Fix typo in
16954         strcoll example.
16955         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
16957         [BZ #15893]
16958         * stdlib/isomac.c (get_null_defines): Fix memory leak.
16960         [BZ #15892]
16961         * libio/memstream.c (open_memstream): Fix memory leak.
16962         * libio/wmemstream.c (open_wmemstream): Likewise.
16964         [BZ #15895]
16965         * nscd/netgroupcache.c: Fix nesting of ifdefs.
16967 2013-09-09  Will Newton  <will.newton@linaro.org>
16969         * malloc/Makefile: Add tst-realloc to tests.
16970         * malloc/tst-realloc.c: New file.
16972 2013-09-09  Allan McRae  <allan@archlinux.org>
16974         [BZ #15844]
16975         * COPYING: Update from GNU website to fix FSF address.
16976         * COPYING.LIB: Likewise.
16978 2013-09-06  David S. Miller  <davem@davemloft.net>
16980         * po/zh_TW.po: Update Chinese (traditional) translation from
16981         translation project.
16983 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
16984             Joseph Myers  <joseph@codesourcery.com>
16986         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
16987         "localeinfo.h".
16988         (obstack_chunk_alloc): New macro.
16989         (obstack_chunk_free): Likewise.
16990         (record_offset): New function.
16991         (init_locale_data): Likewise.
16992         (align_locale_data): Likewise.
16993         (add_locale_empty): Likewise.
16994         (add_locale_raw_data): Likewise.
16995         (add_locale_raw_obstack): Likewise.
16996         (add_locale_string): Likewise.
16997         (add_locale_wstring): Likewise.
16998         (add_locale_uint32): Likewise.
16999         (add_locale_uint32_array): Likewise.
17000         (add_locale_char): Likewise.
17001         (start_locale_structure): Likewise.
17002         (end_locale_structure): Likewise.
17003         (start_locale_prelude): Likewise.
17004         (end_locale_prelude): Likewise.
17005         (write_locale_data): Take locale_file structure rather than an
17006         iovec.
17007         * locale/programs/locfile.h: Include "obstack.h".
17008         (struct locale_file): Change to store locale file contents instead
17009         of header.
17010         (init_locale_data): New prototype.
17011         (align_locale_data): Likewise.
17012         (add_locale_empty): Likewise.
17013         (add_locale_raw_data): Likewise.
17014         (add_locale_raw_obstack): Likewise.
17015         (add_locale_string): Likewise.
17016         (add_locale_wstring): Likewise.
17017         (add_locale_uint32): Likewise.
17018         (add_locale_uint32_array): Likewise.
17019         (add_locale_char): Likewise.
17020         (start_locale_structure): Likewise.
17021         (end_locale_structure): Likewise.
17022         (start_locale_prelude): Likewise.
17023         (end_locale_prelude): Likewise.
17024         (write_locale_data): Update prototype.
17025         * locale/programs/3level.h (struct TABLE): Remove result field.
17026         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17027         Use new locale_file interface.
17028         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
17029         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
17030         * locale/programs/ld-address.c (address_output): Use new
17031         locale_file interface.
17032         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
17033         NO_ADD_LOCALE.
17034         (collate_finish): Don't call collseq_table_finalize.
17035         (collate_output): Use new locale_file interface.
17036         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
17037         in file.
17038         (NO_FINALIZE): Change to NO_ADD_LOCALE.
17039         (TABLE): Move defines earlier in file.
17040         (ELEMENT): Likewise.
17041         (DEFAULT): Likewise.
17042         (wctrans_table_add): Move macro and inline function earlier in
17043         file.
17044         (struct wctype_table): Move type earlier in file.
17045         (add_locale_wctype_table): New static prototype.
17046         (struct locale_ctype_t): Use logical types instead of struct iovec
17047         pointers for members.
17048         (ctype_output): Use new locale_file interface.
17049         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
17050         new locale_file interface.
17051         (allocate_arrays): Update for use of new locale_file interface.
17052         * locale/programs/ld-identification.c (identification_output): Use
17053         new locale_file interface.
17054         * locale/programs/ld-measurement.c (measurement_output): Likewise.
17055         * locale/programs/ld-messages.c (messages_output): Likewise.
17056         * locale/programs/ld-monetary.c (monetary_output): Likewise.
17057         * locale/programs/ld-name.c (name_output): Likewise.
17058         * locale/programs/ld-numeric.c (numeric_output): Likewise.
17059         * locale/programs/ld-paper.c (paper_output): Likewise.
17060         * locale/programs/ld-telephone.c (telephone_output): Likewise.
17061         * locale/programs/ld-time.c (time_output): Likewise.
17063 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17065         * benchtests/Makefile: Add memrchr benchmark.
17066         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17067         benchmark as memrchr.
17068         * benchtests/bench-memrchr-ifunc.c: New file.
17069         * benchtests/bench-memrchr.c: New file.
17071 2013-09-06   Will Newton  <will.newton@linaro.org>
17073         * benchtests/Makefile (string-bench): Add memcpy.
17075 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
17076             Cong Wang  <amwang@redhat.com>
17078         [BZ #15850]
17079         * sysdeps/unix/sysv/linux/bits/in.h
17080         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17081         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17082         before __USE_KERNEL_IPV6_DEFS uses.
17083         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17084         IPPROTO_BEETPH.
17085         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17086         sockaddr_in6, or ipv6_mreq.
17088 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17090         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17091         memory access for final bytes in some large inputs.
17092         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17094 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17096         * string/test-memrchr.c: New file.
17097         * string/test-memrchr-ifunc.c: New file.
17098         * string/Makefile: Add new memrchr testcase.
17100 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
17102         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17103         fanotify_init returns EPERM.
17105 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
17107         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17108         errors.
17109         (top level): Treat second token from macro or constant entries for
17110         allowed headers as allowed.
17111         * include/complex.h: Condition internal declarations on
17112         [!_ISOMAC].
17113         * include/fenv.h: Condition include of <stdbool.h> and internal
17114         declarations on [!_ISOMAC].
17116 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
17118         [BZ #15923]
17119         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17121 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
17123         * configure.in (--enable-versioning): Remove configure option.
17124         (libc_cv_asm_symver_directive): Remove configure test.
17125         (libc_cv_ld_version_script_option): Likewise.
17126         (VERSIONING): Remove variable and AC_SUBST.
17127         (DO_VERSIONING): Remove AC_DEFINE.
17128         * configure: Regenerated.
17129         * config.h.in (DO_VERSIONING): Remove macro.
17130         * Makerules [$(versioning) = yes]: Change conditionals to
17131         [$(build-shared) = yes].
17132         * config.make.in (versioning): Remove variable.
17133         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17134         [$(build-shared) = yes].
17135         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17136         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17137         * elf/Makefile [$(versioning) = yes]: Change conditionals to
17138         [$(build-shared) = yes].
17139         * extra-lib.mk [$(versioning) = yes]: Likewise.
17140         * hurd/Makefile [$(versioning) = yes]: Likewise.
17141         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17142         [SHARED].
17143         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17144         [SHARED].
17145         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17146         [SHARED && !NO_HIDDEN].
17147         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17148         [SHARED].
17149         [SHARED && DO_VERSIONING]: Likewise..
17150         * libio/Makefile [$(versioning) = yes]: Change conditionals to
17151         [$(build-shared) = yes].
17152         * manual/install.texi (--disable-versioning): Remove
17153         documentation.
17154         * INSTALL: Regenerated.
17155         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17156         to [SHARED].
17157         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17158         [$(build-shared) = yes].
17159         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17160         * sysdeps/i386/i686/multiarch/strstr-c.c
17161         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17162         [SHARED && !NO_HIDDEN].
17163         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17164         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17165         * sysdeps/powerpc/powerpc32/dl-machine.c
17166         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17167         * sysdeps/powerpc/powerpc32/sysdep.h
17168         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17169         to [SHARED && PIC && !NO_HIDDEN].
17170         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17171         conditional to [SHARED].
17173 2013-09-04   Will Newton  <will.newton@linaro.org>
17175         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17176         * benchtests/bench-string.h: Include bench-timing.h instead
17177         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17178         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17179         call to HP_TIMING_DIFF_INIT.
17180         * benchtests/bench-memccpy.c: Use bench-timing.h macros
17181         instead of hp-timing.h macros.
17182         * benchtests/bench-memchr.c: Likewise.
17183         * benchtests/bench-memcmp.c: Likewise.
17184         * benchtests/bench-memcpy.c: Likewise.
17185         * benchtests/bench-memmem.c: Likewise.
17186         * benchtests/bench-memmove.c: Likewise.
17187         * benchtests/bench-memset.c: Likewise.
17188         * benchtests/bench-rawmemchr.c: Likewise.
17189         * benchtests/bench-strcasecmp.c: Likewise.
17190         * benchtests/bench-strcasestr.c: Likewise.
17191         * benchtests/bench-strcat.c: Likewise.
17192         * benchtests/bench-strchr.c: Likewise.
17193         * benchtests/bench-strcmp.c: Likewise.
17194         * benchtests/bench-strcpy.c: Likewise.
17195         * benchtests/bench-strcpy_chk.c: Likewise.
17196         * benchtests/bench-strlen.c: Likewise.
17197         * benchtests/bench-strncasecmp.c: Likewise.
17198         * benchtests/bench-strncat.c: Likewise.
17199         * benchtests/bench-strncmp.c: Likewise.
17200         * benchtests/bench-strncpy.c: Likewise.
17201         * benchtests/bench-strnlen.c: Likewise.
17202         * benchtests/bench-strpbrk.c: Likewise.
17203         * benchtests/bench-strrchr.c: Likewise.
17204         * benchtests/bench-strspn.c: Likewise.
17205         * benchtests/bench-strstr.c: Likewise.
17207 2013-09-04  Will Newton  <will.newton@linaro.org>
17209         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17211 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
17213         [BZ #15427]
17214         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17215         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17216         * math/libm-test.inc (lgamma_test_data): Add more tests.
17217         * sysdeps/i386/fpu/libm-test-ulps: Update.
17218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17220 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
17222         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17223         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17224         Add ifunc.
17225         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17226         Add strcmp-sse2-unaligned
17227         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17229 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
17231         * Versions.def (libc): Add GLIBC_2.19.
17233 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
17235         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17236         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17238 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
17240         [BZ #14155]
17241         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17242         intermediate calculations in recurrence.
17243         (__ieee754_ynf): Likewise.
17244         * math/libm-test.inc (jn_test_data): Do not allow spurious
17245         underflow exception.  Add more tests.
17246         (yn_test_data): Add more tests.
17247         * sysdeps/i386/fpu/libm-test-ulps: Update.
17248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17250 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
17252         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17254 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
17256         * csu/init-first.c: Fix then/than typos.
17257         * locale/programs/ld-collate.c: Likewise.
17258         * locale/programs/linereader.h: Likewise.
17259         * manual/charset.texi: Likewise.
17260         * manual/filesys.texi: Likewise.
17261         * manual/stdio.texi: Likewise.
17262         * manual/string.texi: Likewise.
17263         * stdlib/fmtmsg.c: Likewise.
17264         * sysdeps/i386/stpncpy.S: Likewise.
17265         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17266         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17267         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17268         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17270 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
17272         * elf/dl-open.c: Fix typos.
17273         * iconvdata/gbbig5.c: Likewise.
17274         * iconvdata/iso-2022-jp.c: Likewise.
17275         * iconv/gconv_int.h: Likewise.
17276         * iconv/loop.c: Likewise.
17277         * nis/rpcsvc/nis.h: Likewise.
17278         * resolv/ns_name.c: Likewise.
17279         * stdio-common/vfscanf.c: Likewise.
17280         * streams/stropts.h: Likewise.
17281         * sunrpc/rpc_thread.c: Likewise.
17282         * sysdeps/i386/strpbrk.S: Likewise.
17283         * sysdeps/ieee754/k_standard.c: Likewise.
17284         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17285         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17286         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17287         * sysdeps/mach/hurd/profil.c: Likewise.
17288         * sysdeps/s390/dl-procinfo.h: Likewise.
17289         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17290         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17291         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17292         * sysdeps/x86_64/dl-trampoline.S: Likewise.
17293         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17295 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
17297         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17298         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17300 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
17302         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17303         aix specific files.
17304         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17305         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17306         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17307         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17308         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17309         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17310         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
17311         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
17313 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
17314             Roland McGrath  <roland@hack.frob.com>
17316         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
17317         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17319 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17321         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
17322         __executable_start symbol instead of _start.
17324 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
17326         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
17327         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
17328         Move macros to...
17329         * sysdeps/gnu/ldsodefs.h: ... this new file.
17331         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
17332         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
17333         instead of ELFOSABI_LINUX.
17335         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
17336         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
17337         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
17338         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
17339         Likewise.
17340         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
17341         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
17342         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
17343         Likewise.
17344         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17345         (ibm_extended_long_double): Add ieee_nan member.
17346         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
17347         (do_test): New function.
17349         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
17350         TEST_TRUNC.
17351         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
17352         functions, renamed from truncdfsf_test, trunctfsf_test,
17353         trunctfdf_test.
17354         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
17355         functions.
17356         (do_test): Run all these.
17358 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
17360         * argp/argp-help.c: Fix typos.
17361         * argp/argp-parse.c: Likewise.
17362         * debug/backtracesyms.c: Likewise.
17363         * elf/elf.h: Likewise.
17364         * malloc/malloc.c: Likewise.
17365         * nis/nis_print.c: Likewise.
17366         * resolv/res_comp.c: Likewise.
17367         * stdlib/stdlib.h: Likewise.
17368         * sunrpc/clnt_tcp.c: Likewise.
17369         * sunrpc/clnt_udp.c: Likewise.
17370         * sunrpc/clnt_unix.c: Likewise.
17371         * sysdeps/unix/bsd/ptsname.c: Likewise.
17372         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17373         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
17374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
17375         Likewise.
17376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
17377         Likewise.
17378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17379         Likewise.
17380         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17382 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17384         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
17385         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17387 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
17389         [BZ #15897]
17390         * dlfcn/Makefile (tests): Add bug-dl-leaf.
17391         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17392         ($(objpfx)bug-dl-leaf): New rule.
17393         ($(objpfx)bug-dl-leaf.so): Likewise.
17394         ($(objpfx)bug-dl-leaf.out): Likewise.
17395         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17396         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17397         * dlfcn/bug-dl-leaf.c: New test.
17398         * dlfcn/bug-dl-leaf-lib.c: Likewise.
17399         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17400         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17401         (dlclose): Likewise.
17402         (dlmopen): Likewise.
17404 2013-08-27  Roland McGrath  <roland@hack.frob.com>
17406         * include/netdb.h [!_ISOMAC]:
17407         Don't include <tls.h>.
17408         (h_errno, __libc_h_errno): Move declaration and macros out of
17409         [_LIBC_REENTRANT].
17411         * include/resolv.h [_RESOLV_H_]:
17412         Don't include <tls.h>.
17413         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17414         * resolv/res_libc.c: Don't include <tls.h>.
17415         (_res): Use __attribute__ ((nocommon)) in place of
17416         __attribute__ ((section (".bss"))).
17418         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17419         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17421         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17423         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17424         only under [SIOCGIFCONF && SIOCGIFNETMASK].
17426         * resolv/res_mkquery.c: Include <sys/time.h>.
17428         * inet/ifreq.c: Moved to ...
17429         * sysdeps/unix/ifreq.c: ... here.
17430         * inet/ifreq.c: New file, true stub version.
17432         * socket/sa_len.c: New file.
17433         * socket/Makefile (aux): Add it.
17434         * sysdeps/unix/sysv/linux/Makefile
17435         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17436         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17437         and #include <socket/sa_len.c>.
17438         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17439         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17441         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17442         * bits/socket.h: ... here.
17444         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17445         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17446         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17448 2013-08-27  Andreas Schwab  <schwab@suse.de>
17450         [BZ #15736]
17451         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17452         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17453         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17454         * string/test-strcasecmp.c (test_main): Run tests in several
17455         locales.
17456         * string/test-strncasecmp.c (test_main): Likewise.
17458         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17459         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17460         to __strcasecmp_nonascii and __strncasecmp_nonascii.
17461         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17462         (__strncasecmp_ssse3) [PIC]: Likewise.
17464 2013-08-26  Roland McGrath  <roland@hack.frob.com>
17466         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17468         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17469         instead of explicitly declaring xdecrypt.
17470         * nis/nss_nis/nis-publickey.c: Likewise.
17472 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17474         [BZ #15890]
17475         * nscd/aicache.c: Include res_hconf.h.
17476         (addhstaiX): Initialize res_hconf.
17478 2013-08-26  Andreas Schwab  <schwab@suse.de>
17480         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17481         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17483 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17485         * nscd/aicache.c (addhstaiX): Fix indentation.
17487 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
17489         * configure.ac: Quote $build_pt_chown test.
17490         * configure: Regenerated.
17492 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
17494         [BZ #15532]
17495         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17496         * math/s_cexpf.c (__cexpf): Likewise.
17497         * math/s_cexpl.c (__cexpl): Likewise.
17498         * math/libm-test.inc (cexp_test_data): Correct expected return
17499         value for NaN + i0.  Add another test.
17501 2013-08-22  David S. Miller  <davem@davemloft.net>
17503         * po/ca.po: Update Catalan translation from translation project.
17504         * po/uk.po: Add Ukrainian translations from translation project.
17506 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
17508         [BZ #15797]
17509         * math/s_fdim.c (__fdim): Check for infinite arguments if result
17510         is infinite, not alongside NaN test.
17511         * math/s_fdimf.c (__fdimf): Likewise.
17512         * math/s_fdiml.c (__fdiml): Likewise.
17513         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
17514         errno is unchanged.
17516 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
17518         * argp/argp-help.c: Fix typos.
17519         * crypt/speeds.c: Likewise.
17520         * csu/check_fds.c: Likewise.
17521         * elf/dl-load.c: Likewise.
17522         * elf/dl-open.c: Likewise.
17523         * elf/reldep3.c: Likewise.
17524         * elf/reldep.c: Likewise.
17525         * elf/sprof.c: Likewise.
17526         * iconv/iconv_charmap.c: Likewise.
17527         * iconv/skeleton.c: Likewise.
17528         * iconv/strtab.c: Likewise.
17529         * io/lockf64.c: Likewise.
17530         * libio/libioP.h: Likewise.
17531         * resolv/gai_notify.c: Likewise.
17532         * resolv/ns_name.c: Likewise.
17533         * resolv/ns_samedomain.c: Likewise.
17534         * resolv/res_send.c: Likewise.
17535         * stdlib/random.c: Likewise.
17536         * sunrpc/rpc/xdr.h: Likewise.
17537         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
17538         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17539         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17540         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17541         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17542         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17543         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17544         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17545         * sysdeps/mach/hurd/check_fds.c: Likewise.
17546         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17547         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17548         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17549         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17550         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17551         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17552         * sysdeps/pthread/aio_notify.c: Likewise.
17553         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
17554         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
17555         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
17556         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17557         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17559 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17561         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
17562         version if bit_Slow_SSE4_2 is set.
17563         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17564         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17566 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17568         [BZ #15867]
17569         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
17570         trampoline stack frame information.
17571         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
17572         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
17573         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
17574         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17575         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
17576         * sysdeps/unix/sysv/linux/powerpc/init-first.c
17577         (_libc_vdso_platform_setup): Initialize the signal trampolines.
17578         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
17579         sa_flags value.
17580         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
17581         interrupting a syscall and set with option SA_SIGINFO.
17583 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
17585         [BZ #15531]
17586         * math/s_cproj.c (__cproj): Only return an infinity if one part of
17587         argument is infinite.
17588         * math/s_cprojf.c (__cprojf): Likewise.
17589         * math/s_cprojl.c (__cprojl): Likewise.
17590         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
17591         * math/libm-test.inc (cproj_test_data): Add more tests.
17593         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
17595         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
17596         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
17597         size.  Use __ffs to determine corresponding shift.
17599 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
17600             Roland McGrath  <roland@hack.frob.com>
17602         * Makefile (INSTALL): Remove trailing blank lines from output of
17603         makeinfo.
17605 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17607         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
17608         Align 32 bit compat elf_greg to 8 bytes.
17610 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
17612         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
17614 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17616         * string/strcoll_l.c (coll_seq): New structure.
17617         (get_next_seq_cached): New function.
17618         (get_next_seq): New function.
17619         (do_compare): New function.
17620         (STRCOLL): Use GNU style definition.  Simplify implementation
17621         by using get_next_seq, get_next_seq_cached and do_compare.
17623 2013-08-16  Florian Weimer  <fweimer@redhat.com>
17625         [BZ #14699]
17626         CVE-2013-4237
17627         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
17628         member.
17629         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
17630         member.
17631         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
17632         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
17633         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
17634         conditional.
17635         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
17636         GETDENTS_64BIT_ALIGNED.
17637         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17638         * manual/filesys.texi (Reading/Closing Directory): Document
17639         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
17640         strongly.
17641         * manual/conf.texi (Limits for Files): Add portability note to
17642         NAME_MAX, PATH_MAX.
17643         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
17645 2013-08-13  Andreas Schwab  <schwab@suse.de>
17647         [BZ #15749]
17648         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
17649         of fabs.
17650         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
17651         LDBL_MAX_EXP >= 16384]: Add tests for it.
17653 2013-08-12  David S. Miller  <davem@davemloft.net>
17655         * version.h (RELEASE): Set to "development".
17656         (VERSION): Set to "2.18.90".
17657         * NEWS: Add 2.19 section.
17659 2013-08-03  David S. Miller  <davem@davemloft.net>
17661         * po/ko.po: Update Korean translation from translation project.
17663 2013-08-01  David S. Miller  <davem@davemloft.net>
17665         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
17666         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
17667         Bilka.
17669 2013-07-30  David S. Miller  <davem@davemloft.net>
17671         * po/fr.po: Update French translation from translation project.
17673 2013-07-28  David S. Miller  <davem@davemloft.net>
17675         * po/cs.po: Update Czech translation from translation project.
17677         * po/sv.po: Update Swedish translation from translation project.
17679 2013-07-27  David S. Miller  <davem@davemloft.net>
17681         * po/eo.po: Update Esperanto translation from translation project.
17683         * po/vi.po: Update Vietnamese translation from translation project.
17685         * po/de.po: Update German translation from translation project.
17687 2013-07-26  David S. Miller  <davem@davemloft.net>
17689         * po/bg.po: Update Bulgarian translation from translation project.
17691         * po/nl.po: Update Dutch translation from translation project.
17692         * po/pl.po: Update Polish translation from translation project.
17693         * po/ru.po: Update Russian translation from translation project.
17695 2013-07-24  David S. Miller  <davem@davemloft.net>
17697         * po/libc.pot: Update.
17699 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17701         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
17702         variable page size.
17703         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
17704         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
17705         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
17707 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17709         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
17711 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17712             Andreas Schwab  <schwab@suse.de>
17713             Roland McGrath  <roland@hack.frob.com>
17714             Joseph Myers  <joseph@codesourcery.com>
17715             Carlos O'Donell  <carlos@redhat.com>
17717         [BZ #15755]
17718         * config.h.in: Define HAVE_PT_CHOWN.
17719         * config.make.in (build-pt-chown): New variable.
17720         * configure.in (--enable-pt_chown): New configure option.
17721         * configure: Regenerate.
17722         * login/Makefile: Include Makeconfig.  Build pt_chown only if
17723         build-pt-chown is enabled.
17724         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
17725         pt_chown to fix pty ownership.
17726         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
17727         CLOSE_ALL_FDS.
17728         * manual/install.texi (Configuring and compiling): Mention
17729         --enable-pt_chown. Add @findex for grantpt.
17730         * INSTALL: Regenerate.
17732 2013-07-20  David S. Miller  <davem@davemloft.net>
17734         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
17735         difference between 32-bit and 64-bit.
17737 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
17739         [BZ #15711]
17740         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
17741         Avoid system header dependency with -ffreestanding.
17742         ($(objpfx)bits/syscall%d): Likewise.
17744 2013-07-13  David S. Miller  <davem@davemloft.net>
17746         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
17747         underflows from atanl/atan2l due to bug 15319.
17748         (casinh_test_data): Likewise.
17750 2013-07-07  David S. Miller  <davem@davemloft.net>
17752         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17754 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
17756         * sysdeps/i386/fpu/libm-test-ulps: Update.
17757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17759 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17761         * configure.in (--enable-lock-elision): Fix message text.
17762         * INSTALL: Regenerate.
17763         * configure: Regenerate.
17765 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17767         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17769 2013-07-03  Andreas Jaeger  <aj@suse.de>
17771         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
17772         define.
17773         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
17774         (ptrace_peeksiginfo_args): Add.
17775         (__ptrace_peeksiginfo_flags): Add.
17776         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17777         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17778         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17780 2013-07-03  Allan McRae  <allan@archlinux.org>
17782         * sysdeps/i386/fpu/libm-test-ulps: Update.
17784 2013-07-02  David S. Miller  <davem@davemloft.net>
17786         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17788 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
17790         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17792 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
17794         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17797 2013-07-02  Andi Kleen <ak@linux.intel.com>
17799         * config.h.in (ENABLE_LOCK_ELISION): Add.
17800         * configure.in (--enable-lock-elision): Add option.
17801         * manual/install.texi: Document --enable lock elision.
17802         * configure: Regenerate
17803         * INSTALL: Regenerate.
17805 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
17807         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17808         SSE4.2 strcasecmp for libc.a.
17809         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17811 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
17813         [BZ #13304]
17814         * soft-fp/op-common.h (_FP_FMA): New macro.
17815         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17816         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
17817         (_FP_MUL_MEAT_1_imm): ... here.
17818         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
17819         (_FP_MUL_MEAT_1_wide): ... here.
17820         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
17821         (_FP_MUL_MEAT_1_hard): ... here.
17822         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17823         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
17824         (_FP_MUL_MEAT_2_wide): ... here.
17825         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
17826         (_FP_MUL_MEAT_2_wide_3mul): ... here.
17827         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
17828         (_FP_MUL_MEAT_2_gmp): ... here.
17829         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17830         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
17831         (_FP_MUL_MEAT_4_wide): ... here.
17832         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
17833         (_FP_MUL_MEAT_4_gmp): ... here.
17834         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17835         (_FP_WFRACBITS_DW_S): Likewise.
17836         (_FP_WFRACXBITS_DW_S): Likewise.
17837         (_FP_HIGHBIT_DW_S): Likewise.
17838         (FP_FMA_S): Likewise.
17839         (_FP_FRAC_HIGH_DW_S): Likewise.
17840         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17841         (_FP_WFRACBITS_DW_D): Likewise.
17842         (_FP_WFRACXBITS_DW_D): Likewise.
17843         (_FP_HIGHBIT_DW_D): Likewise.
17844         (FP_FMA_D): Likewise.
17845         (_FP_FRAC_HIGH_DW_D): Likewise.
17846         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17847         (_FP_WFRACBITS_DW_E): Likewise.
17848         (_FP_WFRACXBITS_DW_E): Likewise.
17849         (_FP_HIGHBIT_DW_E): Likewise.
17850         (FP_FMA_E): Likewise.
17851         (_FP_FRAC_HIGH_DW_E): Likewise.
17852         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17853         (_FP_WFRACBITS_DW_Q): Likewise.
17854         (_FP_WFRACXBITS_DW_Q): Likewise.
17855         (_FP_HIGHBIT_DW_Q): Likewise.
17856         (FP_FMA_Q): Likewise.
17857         (_FP_FRAC_HIGH_DW_Q): Likewise.
17858         * soft-fp/fmasf4.c: New file.
17859         * soft-fp/fmadf4.c: Likewise.
17860         * soft-fp/fmatf4.c: Likewise.
17862 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17864         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17865         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17866         Silvermont.
17867         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17868         macro.
17869         (index_Slow_SSE4_2): Likewise.
17870         (index_Prefer_PMINUB_for_stringop): Likewise.
17871         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17872         bit_Slow_SSE4_2 is set.
17873         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17874         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17876 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17878         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17879         rtld_global._dl_hwcap2.
17880         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17881         POWER8.
17882         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17883         POWER8 feature descriptions defined in _dl_hwcap2.
17884         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17885         string handling for POWER8 feature bits.
17886         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17887         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17888         _dl_powerpc_cap_flags.
17889         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17890         * sysdeps/powerpc/rtld-global-offsets.sym
17891         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17892         _dl_hwcap2 in the rtld_global_ro structure.
17894 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17896         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
17897         hardware capabilities in support of AT_HWCAP2.
17898         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
17899         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
17900         GLRO(dl_hwcap2).
17901         (_dl_show_auxv): Add support for calling _dl_procinfo to display
17902         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
17903         explicitly the unknown a_type display mechanism is used.
17904         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
17905         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
17906         struct member.
17907         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
17908         to macro prototype for AT_HWCAP2 support.
17909         * sysdeps/i386/dl-procinfo.h: Likewise.
17910         * sysdeps/s390/dl-procinfo.h: Likewise.
17911         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
17912         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
17913         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
17914         return -1 for unknown a_type display fallback.
17915         * sysdeps/sparc/dl-procinfo.h: Likewise.
17916         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
17917         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
17919 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
17921         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
17922         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
17924 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
17926         [BZ #12492]
17927         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
17928         mprotect making __stack_prot writable.
17930 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
17931             Joseph Myers  <joseph@codesourcery.com>
17933         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
17934         as being properly aligned.
17936 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
17938         * dlfcn/modstatic5.c: New file.
17939         * dlfcn/tststatic5.c: New file.
17940         * dlfcn/Makefile (tests): Add tststatic5.
17941         (tests-static): Likewise.
17942         (modules-names): Add modstatic5.
17943         (tststatic5-ENV): New variable.
17944         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
17946         [BZ #15022]
17947         * elf/dl-support.c (_dl_main_map): New variable.
17948         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
17949         (_dl_nns, _dl_load_adds): Set to 1.
17950         (_dl_initial_searchlist): Refer to _dl_main_map.
17951         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
17952         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
17953         call to _dl_get_origin.
17954         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
17955         around call_map.
17956         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
17957         * dlfcn/modstatic3.c: New file.
17958         * dlfcn/tststatic3.c: New file.
17959         * dlfcn/tststatic4.c: New file.
17960         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
17961         (tests-static): Likewise.
17962         (modules-names): Add modstatic3.
17963         (tststatic3-ENV, tststatic4-ENV): New variables.
17964         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
17965         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
17967 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
17969         * configure.in (CC): Require GCC version 4.4 or later.
17970         * configure: Regenerated.
17971         * manual/install.texi (Tools for Compilation): Update GCC version
17972         requirement.
17973         * INSTALL: Regenerated.
17975 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17977         [BZ #15674]
17978         * string/test-memcmp.c (check2): New.
17979         (main): Call check2.
17981         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
17983 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
17985         [BZ #15022]
17986         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
17987         over to...
17988         (dl_open_worker) [!SHARED]: ... here.
17990 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17992         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
17994 2013-06-25  Richard Henderson  <rth@redhat.com>
17996         * locale/programs/locarchive.c: Include <libc-internal.h>
17998 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
18000         * manual/texinfo.tex: Update to version 2013-06-21.17, with
18001         trailing whitespace removed.
18003 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
18005         [BZ #10283]
18006         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18007         * locale/programs/locarchive.c: Include libc-mmap.h.
18008         (prepare_address_space): Take two new outputs (the mmap base and len).
18009         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
18010         values.
18011         (create_archive): Declare new mmap base and len values for
18012         prepare_address_space, and store the result in ah.
18013         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
18014         (enlarge_archive): If ah->mmap_base is not NULL, use that and
18015         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18016         Declare new mmap base and len values for
18017         prepare_address_space, and store the result in new_ah.
18018         (open_archive): Declare new mmap base and len values for
18019         prepare_address_space, and store the result in ah.
18020         (close_archive): If ah->mmap_base is not NULL, use that and
18021         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18022         * sysdeps/generic/libc-mmap.h: New file.
18024 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
18026         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18027         (ALIGN_UP): Likewise.
18028         (PTR_ALIGN_DOWN): Likewise.
18029         (PTR_ALIGN_UP): Likewise.
18031 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18033         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
18034         entry mapped to PPC_PLATFORM_POWER8.
18035         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
18036         POWER8.
18037         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
18038         (_dl_string_platform): Add case for exporting platform position for
18039         POWER8.
18040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
18041         search path to sysdeps/powerpc/powerpc32/power8 directory.
18042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
18043         search path to sysdeps/powerpc/powerpc64/power8 directory.
18044         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18045         power7 directories.
18046         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18047         power7 directories.
18049 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18051         * INSTALL: Regenerate.
18053         * nscd/connections.c (nscd_init): Fix comment.
18055 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
18057         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18059         [BZ #15667]
18060         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18061         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18063 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
18065         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18066         DL_DST_REQ_STATIC.
18067         (DL_DST_REQ_STATIC): Remove macro.
18069 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
18071         [BZ #7006]
18072         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
18073         with a shift of 0 bits.
18075 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
18077         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18078         $(tststatic-ENV).
18080 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18082         [BZ #15655]
18083         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18085 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18087         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18088         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18089         accepts -fno-tree-loop-distribute-patterns.
18090         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18091         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18092         recursive call.
18093         * string/memset.c (memset): Likewise.
18094         * string/test-memmove.c (simple_memmove): Disable loop transformation
18095         to library calls.
18096         * string/test-memset.c (simple_memset): Likewise.
18097         * benchtests/bench-memmove.c (simple_memmove): Likewise.
18098         * benchtests/bench-memset.c (simple_memset): Likewise.
18099         * configure: Regenerated.
18101 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
18103         * math/test-misc.c (main): Ignore fesetround failure when failures
18104         of subsequent rounding tests would be ignored.
18106         [BZ #15654]
18107         * math/fedisblxcpt.c (fedisableexcept): Return 0.
18108         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18109         * math/fegetenv.c (__fegetenv): Return 0.
18110         * math/fegetexcept.c (fegetexcept): Return 0.
18111         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18112         FE_TONEAREST.
18113         * math/feholdexcpt.c (feholdexcept): Return 0.
18114         * math/fesetenv.c (__fesetenv): Return 0.
18115         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18116         argument FE_TONEAREST.
18117         * math/feupdateenv.c (__feupdateenv): Return 0.
18118         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18120 2013-06-18  Roland McGrath  <roland@hack.frob.com>
18122         * elf/rtld-Rules (rtld-compile-command.S): New variable.
18123         (rtld-compile-command.s, rtld-compile-command.c): New variables.
18124         ($(objpfx)rtld-%.os rules): Use them.
18126 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18128         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18129         fields.
18131 2013-06-17  Roland McGrath  <roland@hack.frob.com>
18133         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18134         length of target pattern, then descending length of dependency pattern.
18135         * configure.in (AWK): Require gawk 3.1.2 or newer.
18136         * manual/install.texi (Tools for Compilation): Say that we do.
18137         * configure: Regenerated.
18139         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18140         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18141         * scripts/sysd-rules.awk: ... this new script.
18142         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18143         than a glob-style pattern.
18145 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
18147         * math/test-misc.c (main): Do not treat incorrectly rounded
18148         conversions as failure unless ROUNDING_TESTS passes.
18150 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
18152         [BZ #15631]
18153         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18154         restore exception state around main square root computation, then
18155         check for inexactness explicitly.
18157         * math/libm-test.inc (fma_test_data): Add another test.
18159 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18161         * manual/threads.texi (Non-POSIX Extensions): New document
18162         node.  Document pthread_getattr_default_np and
18163         pthread_setattr_default_np.
18165         * Versions.def (libpthread): Add GLIBC_2.18.
18166         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18168         Likewise.
18169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18170         Likewise.
18171         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18172         Likewise.
18173         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18174         Likewise.
18175         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18176         Likewise.
18177         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18178         Likewise.
18179         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18180         Likewise.
18181         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18182         Likewise.
18183         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18184         Likewise.
18186 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18188         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18189         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
18191 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18192             H.J. Lu  <hjl.tools@gmail.com>
18194         [BZ #15627]
18195         * sysdeps/x86_64/rtld-memset.c: Remove file.
18196         * sysdeps/x86_64/rtld-memset.S: New file.
18198 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
18200         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18201         (test_in_one_mode): Take arguments for whether the rounding mode
18202         is supported for each floating-point type.
18203         (do_test): Pass new arguments to test_in_one_mode using
18204         ROUNDING_TESTS.
18206 2013-06-13  Roland McGrath  <roland@hack.frob.com>
18208         * posix/tst-waitid.c (do_test): Distinguish different instances of
18209         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
18210         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18211         before entering the kernel for waitpid.
18213 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18215         * NEWS: Fix note on clock function precision.  Text by Roland
18216         McGrath.
18218 2013-06-13  Roland McGrath  <roland@hack.frob.com>
18220         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18221         it into place only when and if the sanity check passes.
18223 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
18225         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18226         output for whether conversion result is exact.  Take argument
18227         indicating whether type is IBM long double.
18228         (round_for_all): Change need_exact field to ibm_ld.
18229         * stdlib/tst-strtod-round.c (struct exactness): New type.
18230         (struct test): Change bool ld_ok field to struct exactness exact.
18231         (TEST): Update all definitions for change to field.
18232         (tests): Regenerate array contents.
18233         (test_in_one_mode): Take pointer to new field instead of old ld_ok
18234         field value.  Check for IBM long double here.
18235         (do_test): Update calls to test_in_one_mode.
18237 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18239         [BZ #12515]
18240         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18241         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18243 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18245         [BZ #15605]
18246         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18247         generated by the compiler on loop optimizations.
18248         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18249         general definitions.
18251 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
18253         * math/bug-nextafter.c: Include <math-tests.h>.
18254         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18255         the relevant type.
18256         * math/bug-nexttoward.c: Include <math-tests.h>.
18257         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18258         the relevant type.
18259         * math/test-misc.c: Include <math-tests.h>.
18260         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18261         the relevant type.
18263 2013-06-12  Andreas Jaeger  <aj@suse.de>
18265         * po/ia.po: Update Interlingua translation from translation
18266         project.
18268 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18270         * include/fenv.h: Include stdbool.h.
18271         (struct rm_ctx): New structure.
18272         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18273         Define macro.
18274         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18275         (SET_RESTORE_ROUNDF): Likewise.
18276         (SET_RESTORE_ROUNDL): Likewise.
18277         (SET_RESTORE_ROUND_NOEX): Likewise.
18278         (SET_RESTORE_ROUND_NOEXF): Likewise.
18279         (SET_RESTORE_ROUND_NOEXL): Likewise.
18280         (SET_RESTORE_ROUND_53BIT): Likewise.
18281         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18282         (libc_feresetround_noexf_ctx): Likewise.
18283         (libc_feresetround_noexl_ctx): Likewise.
18284         (libc_feholdsetround_53bit_ctx): Likewise.
18285         (libc_feresetround_53bit_ctx): Likewise.
18286         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18287         (libc_feholdexcept_setround_sse_ctx): New function.
18288         (libc_fesetenv_sse_ctx): Likewise.
18289         (libc_feupdateenv_sse_ctx): Likewise.
18290         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18291         (libc_feholdexcept_setround_387_ctx): Likewise.
18292         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18293         (libc_feholdsetround_387_prec_ctx): Likewise.
18294         (libc_feholdsetround_387_ctx): Likewise.
18295         (libc_feholdsetround_387_53bit_ctx): Likewise.
18296         (libc_feholdsetround_sse_ctx): Likewise.
18297         (libc_feresetround_sse_ctx): Likewise.
18298         (libc_feresetround_387_ctx): Likewise.
18299         (libc_feupdateenv_387_ctx): Likewise.
18300         (libc_feholdexcept_setroundf_ctx): Define macro.
18301         (libc_fesetenvf_ctx): Likewise.
18302         (libc_feupdateenvf_ctx): Likewise.
18303         (libc_feholdsetroundf_ctx): Likewise.
18304         (libc_feresetroundf_ctx): Likewise.
18305         (libc_feholdexcept_setround_ctx): Likewise.
18306         (libc_fesetenv_ctx): Likewise.
18307         (libc_feupdateenv_ctx): Likewise.
18308         (libc_feholdsetround_ctx): Likewise.
18309         (libc_feresetround_ctx): Likewise.
18310         (libc_feholdexcept_setroundl_ctx): Likewise.
18311         (libc_feupdateenvl_ctx): Likewise.
18312         (libc_feholdsetroundl_ctx): Likewise.
18313         (libc_feresetroundl_ctx): Likewise.
18314         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
18315         (libc_feresetround_53bit_ctx): Likewise.
18317 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18319         * locale/iso-639.def: Convert to UTF-8.
18321 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
18323         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
18324         (EXCEPTION_TESTS_double): Likewise.
18325         (EXCEPTION_TESTS_long_double): Likewise.
18326         (EXCEPTION_TESTS): Likewise.
18327         * math/libm-test.inc (test_exceptions): Only test exceptions if
18328         EXCEPTION_TESTS (FLOAT).
18330 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18332         * benchtests/Makefile (string-bench): Add strcpy_chk and
18333         stpcpy_chk.
18334         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
18335         * benchtests/bench-stpcpy_chk.c: New file.
18336         * benchtests/bench-strcpy_chk-ifunc.c: New file.
18337         * benchtests/bench-strcpy_chk.c: New file.
18338         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
18339         code.
18340         (do_test): Likewise.
18342 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18344         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
18345         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
18346         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
18347         with tabs where appropriate.
18348         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
18349         dl-procinfo.h.
18350         [PPC_PLATFORM_PPC440]: Likewise.
18351         [PPC_PLATFORM_PPC464]: Likewise.
18352         [PPC_PLATFORM_PPC476]: Likewise.
18353         (_dl_string_platform): Add support for detecting ppc405, ppc440,
18354         ppc464, and ppc476 platform strings merging from ports/
18355         dl-procinfo.h.
18357 2013-06-11  Andreas Schwab  <schwab@suse.de>
18359         [BZ #14991]
18360         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
18361         (from_ucs4_idx): Regenerate.
18362         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
18363         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
18364         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
18365         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
18366         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
18367         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
18368         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
18369         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
18370         from FROM_LOOP and TO_LOOP specific macros.
18371         (BODY): Handle combining characters.
18372         * iconvdata/BIG5HKSCS.irreversible: Update.
18373         * iconvdata/BIG5HKSCS.precomposed: New file.
18374         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
18375         characters.
18376         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
18378 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18380         * include/sys/time.h: Fix indentation and add copyright header.
18382         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
18383         (do_test): Likewise.
18384         * string/test-memchr.c (do_one_test): Likewise.
18385         (do_test): Likewise.
18386         * string/test-memcmp.c (do_one_test): Likewise.
18387         (do_test): Likewise.
18388         * string/test-memcpy.c (do_one_test): Likewise.
18389         (do_test): Likewise.
18390         * string/test-memmem.c (do_one_test): Likewise.
18391         (do_test): Likewise.
18392         (do_random_tests): Likewise.
18393         * string/test-memmove.c (do_one_test): Likewise.
18394         (do_test): Likewise.
18395         * string/test-memset.c (do_one_test): Likewise.
18396         (do_test): Likewise.
18397         * string/test-rawmemchr.c (do_one_test): Likewise.
18398         (do_test): Likewise.
18399         * string/test-strcasecmp.c (do_one_test): Likewise.
18400         (do_test): Likewise.
18401         * string/test-strcasestr.c (do_one_test): Likewise.
18402         (do_test): Likewise.
18403         * string/test-strcat.c (do_one_test): Likewise.
18404         (do_test): Likewise.
18405         * string/test-strchr.c (do_one_test): Likewise.
18406         (do_test): Likewise.
18407         * string/test-strcmp.c (do_one_test): Likewise.
18408         (do_test): Likewise.
18409         * string/test-strcpy.c (do_one_test): Likewise.
18410         (do_test): Likewise.
18411         * string/test-string.h: Likewise.
18412         (test_init): Likewise.
18413         * string/test-strlen.c (do_one_test): Likewise.
18414         (do_test): Likewise.
18415         * string/test-strncasecmp.c (do_one_test): Likewise.
18416         (do_test): Likewise.
18417         * string/test-strncat.c (do_one_test): Likewise.
18418         (do_test): Likewise.
18419         * string/test-strncmp.c (do_one_test): Likewise.
18420         (do_test_limit): Likewise.
18421         (do_test): Likewise.
18422         * string/test-strncpy.c (do_one_test): Likewise.
18423         (do_test): Likewise.
18424         * string/test-strnlen.c (do_one_test): Likewise.
18425         (do_test): Likewise.
18426         * string/test-strpbrk.c (do_one_test): Likewise.
18427         (do_test): Likewise.
18428         * string/test-strrchr.c (do_one_test): Likewise.
18429         (do_test): Likewise.
18430         * string/test-strspn.c (do_one_test): Likewise.
18431         (do_test): Likewise.
18432         * string/test-strstr.c (do_one_test): Likewise.
18433         (do_test): Likewise.
18435         * benchtests/Makefile (string-bench): Add string benchmarks.
18436         * benchtests/bench-bcopy-ifunc.c: New file.
18437         * benchtests/bench-bcopy.c: New file.
18438         * benchtests/bench-bzero-ifunc.c: New file.
18439         * benchtests/bench-bzero.c: New file.
18440         * benchtests/bench-memccpy-ifunc.c: New file.
18441         * benchtests/bench-memccpy.c: New file.
18442         * benchtests/bench-memchr-ifunc.c: New file.
18443         * benchtests/bench-memchr.c: New file.
18444         * benchtests/bench-memcmp-ifunc.c: New file.
18445         * benchtests/bench-memcmp.c: New file.
18446         * benchtests/bench-memmem-ifunc.c: New file.
18447         * benchtests/bench-memmem.c: New file.
18448         * benchtests/bench-memmove-ifunc.c: New file.
18449         * benchtests/bench-memmove.c: New file.
18450         * benchtests/bench-mempcpy-ifunc.c: New file.
18451         * benchtests/bench-mempcpy.c: New file.
18452         * benchtests/bench-memset-ifunc.c: New file.
18453         * benchtests/bench-memset.c: New file.
18454         * benchtests/bench-rawmemchr-ifunc.c: New file.
18455         * benchtests/bench-rawmemchr.c: New file.
18456         * benchtests/bench-stpcpy-ifunc.c: New file.
18457         * benchtests/bench-stpcpy.c: New file.
18458         * benchtests/bench-stpncpy-ifunc.c: New file.
18459         * benchtests/bench-stpncpy.c: New file.
18460         * benchtests/bench-strcasecmp-ifunc.c: New file.
18461         * benchtests/bench-strcasecmp.c: New file.
18462         * benchtests/bench-strcasestr-ifunc.c: New file.
18463         * benchtests/bench-strcasestr.c: New file.
18464         * benchtests/bench-strcat-ifunc.c: New file.
18465         * benchtests/bench-strcat.c: New file.
18466         * benchtests/bench-strchr-ifunc.c: New file.
18467         * benchtests/bench-strchr.c: New file.
18468         * benchtests/bench-strchrnul-ifunc.c: New file.
18469         * benchtests/bench-strchrnul.c: New file.
18470         * benchtests/bench-strcmp-ifunc.c: New file.
18471         * benchtests/bench-strcmp.c: New file.
18472         * benchtests/bench-strcpy-ifunc.c: New file.
18473         * benchtests/bench-strcpy.c: New file.
18474         * benchtests/bench-strcspn-ifunc.c: New file.
18475         * benchtests/bench-strcspn.c: New file.
18476         * benchtests/bench-strlen-ifunc.c: New file.
18477         * benchtests/bench-strlen.c: New file.
18478         * benchtests/bench-strncasecmp-ifunc.c: New file.
18479         * benchtests/bench-strncasecmp.c: New file.
18480         * benchtests/bench-strncat-ifunc.c: New file.
18481         * benchtests/bench-strncat.c: New file.
18482         * benchtests/bench-strncmp-ifunc.c: New file.
18483         * benchtests/bench-strncmp.c: New file.
18484         * benchtests/bench-strncpy-ifunc.c: New file.
18485         * benchtests/bench-strncpy.c: New file.
18486         * benchtests/bench-strnlen-ifunc.c: New file.
18487         * benchtests/bench-strnlen.c: New file.
18488         * benchtests/bench-strpbrk-ifunc.c: New file.
18489         * benchtests/bench-strpbrk.c: New file.
18490         * benchtests/bench-strrchr-ifunc.c: New file.
18491         * benchtests/bench-strrchr.c: New file.
18492         * benchtests/bench-strspn-ifunc.c: New file.
18493         * benchtests/bench-strspn.c: New file.
18494         * benchtests/bench-strstr-ifunc.c: New file.
18495         * benchtests/bench-strstr.c: New file.
18497         * benchtests/Makefile: Disable parallel execution of targets.
18498         (string-bench): Add memcpy.
18499         (benchset): New variable to store a list of benchmark sets.
18500         (bench-func): Renamed from bench.
18501         (bench-set): New target.
18502         (bench): Depend on bench-func and bench-set.
18503         * benchtests/README: Add section on benchmark sets.
18504         * benchtests/bench-memcpy-ifunc.c: New file.
18505         * benchtests/bench-memcpy.c: New file.
18506         * benchtests/bench-string.h: New file.
18508 2013-06-11  Andreas Schwab  <schwab@suse.de>
18510         [BZ #15577]
18511         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18512         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18513         values in the triple.
18514         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18515         terminator in the group key.
18517 2013-06-11  Andreas Jaeger  <aj@suse.de>
18519         * po/zh_TW.po: Update Chinese (traditional) translation from
18520         translation project.
18522 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18524         * include/time.h (__clock_gettime): Add libc_hidden_proto.
18525         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
18526         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
18527         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18528         (clock_getcpuclockid): Likewise.
18529         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
18530         Add weak_alias and libc_hidden_def.
18531         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
18532         * rt/clock_gettime.c (clock_gettime): Rename to
18533         __clock_gettime.  Add weak_alias and libc_hidden_def.
18534         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
18535         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
18536         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
18537         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
18538         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
18539         Likewise.
18540         * rt/clock_settime.c (clock_settime): Rename to
18541         __clock_settime.  Add weak_alias and libc_hidden_def.
18542         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
18544 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
18546         * mach/err_boot.sub: Remove trailing whitespace.
18547         * mach/err_ipc.sub: Likewise.
18548         * mach/err_mach.sub: Likewise.
18550         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
18551         (ROUNDING_TESTS_double): Likewise.
18552         (ROUNDING_TESTS_long_double): Likewise.
18553         (ROUNDING_TESTS): Likewise.
18554         * math/libm-test.inc: Include <math-tests.h>.
18555         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
18556         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18557         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18558         (IF_ROUND_INIT_FE_UPWARD): Likewise.
18560 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18562         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
18563         of assigning.
18565 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
18567         * sysdeps/gnu/errlist.awk: Do not generate space at end of
18568         otherwise empty TRANS lines.
18569         * sysdeps/gnu/errlist.c: Regenerated.
18571         * catgets/gencat.c (error_print): Use (void) in function
18572         definition.
18573         * crypt/crypt_util.c (__init_des): Likewise.
18574         * crypt/speeds.c (Stop): Likewise.
18575         (main): Likewise.
18576         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18577         * inet/ruserpass.c (token): Likewise.
18578         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
18579         * intl/localealias.c (extend_alias_table): Likewise.
18580         * intl/plural-exp.c (init_germanic_plural): Likewise.
18581         * libio/fcloseall.c (__fcloseall): Likewise.
18582         * libio/genops.c (_IO_flush_all): Likewise.
18583         (_IO_flush_all_linebuffered): Likewise.
18584         (_IO_cleanup): Likewise.
18585         (_IO_iter_begin): Likewise.
18586         (_IO_iter_end): Likewise.
18587         (_IO_list_lock): Likewise.
18588         (_IO_list_unlock): Likewise.
18589         (_IO_list_resetlock): Likewise.
18590         * libio/getchar.c (getchar): Likewise.
18591         * libio/getchar_u.c (getchar_unlocked): Likewise.
18592         * libio/getwchar.c (getwchar): Likewise.
18593         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
18594         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
18595         * login/getpt.c (__getpt): Likewise.
18596         * login/tst-utmp.c (main): Likewise.
18597         * malloc/hooks.c (__malloc_check_init): Likewise.
18598         * malloc/malloc.c (__malloc_stats): Likewise.
18599         * malloc/mtrace.c (tr_break): Likewise.
18600         (mtrace): Likewise.
18601         (muntrace): Likewise.
18602         * misc/fstab.c (endfsent): Likewise.
18603         * misc/getclktck.c (__getclktck): Likewise.
18604         * misc/getdtsz.c (__getdtablesize): Likewise.
18605         * misc/gethostid.c (gethostid): Likewise.
18606         * misc/getpagesize.c (__getpagesize): Likewise.
18607         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
18608         (__get_nprocs): Likewise.
18609         (__get_phys_pages): Likewise.
18610         (__get_avphys_pages): Likewise.
18611         * misc/getttyent.c (getttyent): Likewise.
18612         (setttyent): Likewise.
18613         (endttyent): Likewise.
18614         * misc/getusershell.c (getusershell): Likewise.
18615         (endusershell): Likewise.
18616         (setusershell): Likewise.
18617         (initshells): Likewise.
18618         * misc/hsearch.c (__hdestroy): Likewise.
18619         * misc/sync.c (sync): Likewise.
18620         * misc/syslog.c (closelog_internal): Likewise.
18621         (closelog): Likewise.
18622         * misc/ttyslot.c (ttyslot): Likewise.
18623         * misc/vhangup.c (vhangup): Likewise.
18624         * posix/fork.c (__fork): Likewise.
18625         * posix/getegid.c (__getegid): Likewise.
18626         * posix/geteuid.c (__geteuid): Likewise.
18627         * posix/getgid.c (__getgid): Likewise.
18628         * posix/getpid.c (__getpid): Likewise.
18629         * posix/getppid.c (__getppid): Likewise.
18630         * posix/getuid.c (__getuid): Likewise.
18631         * posix/pause.c (pause): Likewise.
18632         * posix/setpgrp.c (setpgrp): Likewise.
18633         * posix/setsid.c (__setsid): Likewise.
18634         * posix/test-vfork.c (noop): Likewise.
18635         * resolv/gethnamaddr.c (_endhtent): Likewise.
18636         (_gethtent): Likewise.
18637         (ht_endhostent): Likewise.
18638         (gethostent): Likewise.
18639         (dns_service): Likewise.
18640         * stdlib/drand48.c (drand48): Likewise.
18641         * stdlib/lrand48.c (lrand48): Likewise.
18642         * stdlib/mrand48.c (mrand48): Likewise.
18643         * stdlib/rand.c (rand): Likewise.
18644         * stdlib/random.c (__random): Likewise.
18645         * stdlib/setenv.c (clearenv): Likewise.
18646         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
18647         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
18648         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
18649         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
18650         (__get_nprocs): Likewise.
18651         (__get_phys_pages): Likewise.
18652         (__get_avphys_pages): Likewise.
18653         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
18654         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
18655         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
18656         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
18657         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
18658         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
18659         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
18660         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
18661         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
18662         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
18663         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
18664         * sysdeps/mach/hurd/sync.c (sync): Likewise.
18665         * sysdeps/posix/clock.c (clock): Likewise.
18666         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
18667         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
18668         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
18669         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
18670         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
18671         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
18672         (__get_nprocs_conf): Likewise.
18673         (__get_phys_pages): Likewise.
18674         (__get_avphys_pages): Likewise.
18675         * time/clock.c (clock): Likewise.
18676         * time/tzset.c (__tzname_max): Likewise.
18678 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
18680         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
18681         (__bswap_32): Do not use "register".
18682         * crypt/crypt.c (_ufc_doit_r): Likewise.
18683         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18684         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18685         * gmon/gmon.c (__monstartup): Likewise.
18686         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
18687         * hurd/hurdmalloc.c (more_memory): Likewise.
18688         (malloc): Likewise.
18689         (free): Likewise.
18690         (realloc): Likewise.
18691         (malloc_fork_prepare): Likewise.
18692         (malloc_fork_parent): Likewise.
18693         (malloc_fork_child): Likewise.
18694         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
18695         (_svcauth_des): Likewise.
18696         * inet/inet_lnaof.c (inet_lnaof): Likewise.
18697         * inet/inet_net.c (inet_network): Likewise.
18698         * inet/inet_netof.c (inet_netof): Likewise.
18699         * inet/rcmd.c (__validuser2_sa): Likewise.
18700         * io/fts.c (fts_open): Likewise.
18701         (fts_load): Likewise.
18702         (fts_close): Likewise.
18703         (fts_read): Likewise.
18704         (fts_children): Likewise.
18705         (fts_build): Likewise.
18706         (fts_stat): Likewise.
18707         (fts_sort): Likewise.
18708         (fts_alloc): Likewise.
18709         (fts_lfree): Likewise.
18710         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
18711         (_IO_file_xsgetn): Likewise.
18712         (_IO_file_xsgetn_mmap): Likewise.
18713         * libio/iofopncook.c (_IO_cookie_read): Likewise.
18714         (_IO_cookie_write): Likewise.
18715         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
18716         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
18717         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
18718         * malloc/obstack.c (_obstack_begin): Likewise.
18719         (_obstack_begin_1): Likewise.
18720         (_obstack_newchunk): Likewise.
18721         (_obstack_allocated_p): Likewise.
18722         (obstack_free): Likewise.
18723         (_obstack_memory_used): Likewise.
18724         * misc/getttyent.c (getttynam): Likewise.
18725         (getttyent): Likewise.
18726         (skip): Likewise.
18727         (value): Likewise.
18728         * misc/getusershell.c (initshells): Likewise.
18729         * misc/syslog.c (__vsyslog_chk): Likewise.
18730         * misc/ttyslot.c (ttyslot): Likewise.
18731         * nis/nis_hash.c (__nis_hash): Likewise.
18732         * posix/fnmatch_loop.c (FCT): Likewise.
18733         * posix/getconf.c (print_all): Likewise.
18734         (main): Likewise.
18735         * posix/getopt.c (exchange): Likewise.
18736         * posix/glob.c (globfree): Likewise.
18737         (prefix_array): Likewise.
18738         (__glob_pattern_type): Likewise.
18739         * resolv/arpa/nameser.h (NS_GET16): Likewise.
18740         (NS_GET32): Likewise.
18741         (NS_PUT16): Likewise.
18742         (NS_PUT32): Likewise.
18743         * resolv/gethnamaddr.c (getanswer): Likewise.
18744         (gethostbyname2): Likewise.
18745         (gethostbyaddr): Likewise.
18746         (_gethtent): Likewise.
18747         (_gethtbyname2): Likewise.
18748         (_gethtbyaddr): Likewise.
18749         * resolv/ns_print.c (dst_s_get_int16): Likewise.
18750         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18751         * resolv/res_init.c (__res_vinit): Likewise.
18752         (net_mask): Likewise.
18753         * resolv/res_mkquery.c (outchar): Likewise.
18754         (PRINT): Likewise.
18755         * stdio-common/printf_fp.c (outchar): Likewise.
18756         (PRINT): Likewise.
18757         * stdio-common/printf_fphex.c (outchar): Likewise.
18758         (PRINT): Likewise.
18759         * stdio-common/printf_size.c (outchar): Likewise.
18760         (PRINT): Likewise.
18761         * stdio-common/test_rdwr.c (main): Likewise.
18762         * stdio-common/tfformat.c (matches): Likewise.
18763         * stdio-common/vfprintf.c (outchar): Likewise.
18764         (printf_unknown): Likewise.
18765         (buffered_vfprintf): Likewise.
18766         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18767         * stdio-common/xbug.c (AppendToBuffer): Likewise.
18768         (ReadFile): Likewise.
18769         * stdlib/qsort.c (SWAP): Likewise.
18770         (_quicksort): Likewise.
18771         * stdlib/setenv.c (__add_to_environ): Likewise.
18772         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18773         * stdlib/strtol_l.c (__strtol_l): Likewise.
18774         * stdlib/tst-strtod.c (main): Likewise.
18775         * stdlib/tst-strtol.c (main): Likewise.
18776         * stdlib/tst-strtoll.c (main): Likewise.
18777         * string/bits/string2.h (__strcmp_cc): Likewise.
18778         (__strcmp_cg): Likewise.
18779         (__strcspn_c1): Likewise.
18780         (__strcspn_c2): Likewise.
18781         (__strcspn_c3): Likewise.
18782         (__strspn_c1): Likewise.
18783         (__strspn_c2): Likewise.
18784         (__strspn_c3): Likewise.
18785         (__strsep_1c): Likewise.
18786         (__strsep_2c): Likewise.
18787         (__strsep_3c): Likewise.
18788         * string/memccpy.c (__memccpy): Likewise.
18789         * string/stpcpy.c (__stpcpy): Likewise.
18790         * string/strcmp.c (strcmp): Likewise.
18791         * string/strrchr.c (strrchr): Likewise.
18792         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18793         Likewise.
18794         * sysdeps/mach/hurd/getcwd.c
18795         (_hurd_canonicalize_directory_name_internal): Likewise.
18796         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18797         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18798         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18799         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18800         Likewise, in both definitions.
18801         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18802         definitions.
18803         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18804         64] (__bswap_64): Likewise.
18805         * time/test_time.c (main): Likewise.
18806         * time/tzfile.c (__tzfile_read): Likewise.
18807         (__tzfile_compute): Likewise.
18808         * time/tzset.c (__tzset_parse_tz): Likewise.
18809         (tzset_internal): Likewise.
18810         (compute_change): Likewise.
18811         * wcsmbs/wcscat.c (__wcscat): Likewise.
18812         * wcsmbs/wcschr.c (wcschr): Likewise.
18813         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18814         * wcsmbs/wcscspn.c (wcscspn): Likewise.
18815         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18816         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18817         * wcsmbs/wcsspn.c (wcsspn): Likewise.
18818         * wcsmbs/wcsstr.c (wcsstr): Likewise.
18819         * wcsmbs/wmemchr.c (wmemchr): Likewise.
18820         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18821         * wcsmbs/wmemset.c (wmemset): Likewise.
18823 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
18825         * scripts/config.guess: Update to version 2013-05-16.
18826         * scripts/config.sub: Update to version 2013-04-24.
18827         * scripts/install-sh: Update to version 2011-11-20.07.
18828         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18829         * scripts/move-if-change: Update to version 2012-01-06 07:23.
18831 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
18833         * debug/fgetws_u_chk.c: Fix leading whitespaces.
18834         * elf/sln.c: Likewise.
18835         * hurd/hurd/ioctl.h: Likewise.
18836         * hurd/hurdmalloc.c: Likewise.
18837         * hurd/xattr.c: Likewise.
18838         * include/shlib-compat.h: Likewise.
18839         * inet/ruserpass.c: Likewise.
18840         * libio/iofgets_u.c: Likewise.
18841         * libio/iofgetws_u.c: Likewise.
18842         * locale/programs/ld-identification.c: Likewise.
18843         * locale/programs/ld-time.c: Likewise.
18844         * mach/msg-destroy.c: Likewise.
18845         * nss/nss_files/files-netgrp.c: Likewise.
18846         * resolv/res_data.c: Likewise.
18847         * soft-fp/op-1.h: Likewise.
18848         * soft-fp/op-2.h: Likewise.
18849         * soft-fp/op-4.h: Likewise.
18850         * soft-fp/op-common.h: Likewise.
18851         * stdio-common/printf_fphex.c: Likewise.
18852         * stdlib/strtod_l.c: Likewise.
18853         * sunrpc/rpc/clnt.h: Likewise.
18854         * sysdeps/generic/framestate.c: Likewise.
18855         * sysdeps/i386/bsd-_setjmp.S: Likewise.
18856         * sysdeps/i386/bsd-setjmp.S: Likewise.
18857         * sysdeps/i386/__longjmp.S: Likewise.
18858         * sysdeps/i386/setjmp.S: Likewise.
18859         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18860         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18861         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18862         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18863         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18864         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18865         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18866         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18867         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18868         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18869         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18870         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18871         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18872         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18873         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18874         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18875         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18876         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18877         * sysdeps/ieee754/support.c: Likewise.
18878         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18879         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18880         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18881         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18882         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18883         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18884         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18885         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18886         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18887         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18888         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18889         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18890         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18891         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18892         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18893         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18894         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18897 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
18899         * posix/transbug.c: Remove executable mode.
18901 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
18903         * crypt/speeds.c: Remove trailing whitespace.
18904         * dlfcn/default.c: Likewise.
18905         * elf/ifuncdep2.c: Likewise.
18906         * elf/ifuncmain1.c: Likewise.
18907         * elf/ifuncmain1vis.c: Likewise.
18908         * elf/testobj.h: Likewise.
18909         * elf/tst-stackguard1.c: Likewise.
18910         * gmon/sys/gmon.h: Likewise.
18911         * hurd/hurdmsg.c: Likewise.
18912         * hurd/new-fd.c: Likewise.
18913         * hurd/ports-get.c: Likewise.
18914         * iconvdata/ibm1008_420.c: Likewise.
18915         * inet/tst-getni1.c: Likewise.
18916         * inet/tst-getni2.c: Likewise.
18917         * libio/ioungetc.c: Likewise.
18918         * libio/wfiledoalloc.c: Likewise.
18919         * manual/libm-err-tab.pl: Likewise.
18920         * math/w_dremf.c: Likewise.
18921         * misc/ftruncate.c: Likewise.
18922         * posix/bug-glob2.c: Likewise.
18923         * posix/tst-pcre.c: Likewise.
18924         * posix/wait4.c: Likewise.
18925         * resolv/README: Likewise.
18926         * resolv/res_debug.h: Likewise.
18927         * resolv/tst-inet_ntop.c: Likewise.
18928         * setjmp/bug269-setjmp.c: Likewise.
18929         * soft-fp/extended.h: Likewise.
18930         * soft-fp/op-1.h: Likewise.
18931         * soft-fp/op-2.h: Likewise.
18932         * soft-fp/op-4.h: Likewise.
18933         * soft-fp/op-8.h: Likewise.
18934         * soft-fp/testit.c: Likewise.
18935         * stdio-common/bug16.c: Likewise.
18936         * stdlib/random.c: Likewise.
18937         * sunrpc/rpcsvc/rquota.x: Likewise.
18938         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
18939         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18940         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18941         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18942         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18943         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18944         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18945         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18946         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18947         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18948         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18949         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18950         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18951         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18952         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18953         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18954         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18955         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18956         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18957         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18958         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18959         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18960         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
18961         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18962         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18963         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18964         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18965         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18966         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18967         * sysdeps/ieee754/s_lib_version.c: Likewise.
18968         * sysdeps/mach/hurd/check_fds.c: Likewise.
18969         * sysdeps/mach/hurd/getsockname.c: Likewise.
18970         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
18971         * sysdeps/mach/hurd/recvfrom.c: Likewise.
18972         * sysdeps/powerpc/bits/link.h: Likewise.
18973         * sysdeps/powerpc/dl-procinfo.c: Likewise.
18974         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
18975         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
18976         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
18977         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18978         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18979         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
18980         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18981         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
18982         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18983         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18984         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18985         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
18986         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18987         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18988         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
18989         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18990         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18991         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
18992         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18993         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18994         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
18995         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18996         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18997         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
18998         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18999         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19000         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19001         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19002         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19003         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19004         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19005         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19006         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19007         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
19008         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19009         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
19010         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19011         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19012         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
19013         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
19014         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
19015         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
19016         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
19017         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19018         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
19019         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
19020         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19021         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
19022         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
19023         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19024         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19025         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19026         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19027         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19028         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19029         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19030         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19031         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
19032         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19033         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
19034         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
19035         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
19036         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19037         * sysdeps/powerpc/sysdep.h: Likewise.
19038         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19039         * sysdeps/s390/s390-64/sub_n.S: Likewise.
19040         * sysdeps/sh/dl-trampoline.S: Likewise.
19041         * sysdeps/sh/memset.S: Likewise.
19042         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
19043         * sysdeps/sh/strlen.S: Likewise.
19044         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19045         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19046         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19047         * sysdeps/sparc/sparc32/rem.S: Likewise.
19048         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19049         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19050         * sysdeps/sparc/sparc32/strchr.S: Likewise.
19051         * sysdeps/sparc/sparc32/udiv.S: Likewise.
19052         * sysdeps/sparc/sparc32/urem.S: Likewise.
19053         * sysdeps/sparc/sparc64/add_n.S: Likewise.
19054         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19055         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19056         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19057         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19058         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19059         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19060         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19061         * sysdeps/unix/bsd/times.c: Likewise.
19062         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19063         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19067         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19068         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19069         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19070         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
19071         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
19072         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
19073         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19074         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
19075         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19076         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19077         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19078         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19079         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19080         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19081         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19082         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19083         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19084         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19085         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19086         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19087         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19088         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19089         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19090         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19091         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19092         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19093         * sysdeps/x86_64/strcspn.S: Likewise.
19095 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19097         * locale/C-translit.h: Revert #include <stdint.h> because this is a
19098         generated file.  Regenerate properly from gen-translit.pl.
19099         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
19100         locale/C-translit.h.
19102 2013-06-05  Andreas Schwab  <schwab@suse.de>
19104         [BZ #15100]
19105         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19106         week as 6 instead of -1.
19107         * time/tst-strptime.c (day_tests): Add test case.
19109 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19111         * sysdeps/generic/math_private.h
19112         (libc_feholdexcept_setround_53bit): Replace with
19113         libc_feholdsetround_53bit.
19114         (libc_feupdateenv_53bit): Replace with
19115         libc_feresetround_53bit.
19116         (SET_RESTORE_ROUND_53BIT): Adjust.
19118 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
19120         * string/test-strchrnul.c: Add copyright header.
19122         * posix/tst-getaddrinfo4.c: Increase test timeout.
19124 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
19126         [BZ #15536]
19127         * math/libm-test.inc (MAX_EXP): Remove
19128         (MIN_EXP): Define.
19129         (ulp): Use MIN_EXP - MANT_DIG.
19130         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19132 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
19134         * po/be.po: Revert last change.
19135         * po/zh_CN.po: Likewise.
19136         * po/header.pot: Likewise.
19138 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
19140         * Makefile ($(common-objpfx)linkobj/libc.so): Define
19141         link-libc-deps to empty as target-specific variable.
19142         * Makerules (link-libc-args): New variable.
19143         (libc-for-link): Likewise.
19144         (link-libc-deps): Likewise.
19145         (lib%.so): Depend on $(link-libc-deps).  Link with
19146         $(link-libc-args).
19147         (build-module): Link with $(link-libc-args).
19148         (build-module-asneeded): Likewise.
19149         (build-module-helper-objlist): Filter out $(link-libc-deps) from
19150         list of objects.
19151         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19152         target-specific variable.
19153         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19154         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19155         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19156         libc.
19157         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19158         libc and ld.so.
19159         ($(objpfx)libpcprofile.so): Likewise.
19160         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19161         libc_nonshared.a.
19162         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19163         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19164         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19165         $(link-libc-deps).
19166         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19167         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19168         * login/Makefile ($(objpfx)libutil.so): Likewise.
19169         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19170         * math/Makefile ($(objpfx)libm.so): Likewise.
19171         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19172         $(objpfx)libnsl.so): Define libc-for-link as target-specific
19173         variable instead of depending directly on libc.
19174         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19175         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19176         $(link-libc-deps).
19177         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19178         libc.
19179         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19180         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19181         ($(objpfx)libanl.so): Likewise.
19182         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19183         ld.so.
19184         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19185         $(link-libc-deps).
19186         * sysdeps/i386/fpu/Makefile: Remove file.
19187         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
19188         ($(objpfx)libm.so): Remove dependency on ld.so.
19190 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
19192         [BZ # 15553]
19193         * nis/yp_xdr.c (XDRMAXNAME): Define.
19194         (XDRMAXRECORD): Define.
19195         (xdr_domainname): Use XDRMAXNAME.
19196         (xdr_mapname): Likewise.
19197         (xdr_peername): Likewise.
19198         (xdr_keydat): Use XDRMAXRECORD.
19199         (xdr_valdat): Likewise.
19201 2013-05-30  Jeff Law  <law@redhat.com>
19203         [BZ #14256]
19204         * manual/errno.texi (ESTALE): Update to account for more than
19205         just NFS file systems.
19206         * sysdeps/gnu/errlist.c: Regenerated.
19208 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19210         [BZ #15465]
19211         * elf/Makefile (tests): Add tst-null-argv.
19212         (modules-names):  Add tst-null-argv-lib.
19213         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19214         (tst-null-argv-ENV): Set environment for tst-null-argv.
19215         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19216         (RTLD_PROGNAME): New macro.
19217         * elf/tst-null-argv.c: New test case.
19218         * elf/tst-null-argv-lib.c: Library for test case.
19219         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19220         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19221         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19222         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19223         * elf/dl-init.c (call_init): Likewise.
19224         (_dl_init): Likewise.
19225         * elf/dl-load.c (print_search_path): Likewise.
19226         (_dl_map_object): Likewise.
19227         * elf/dl-lookup.c (do_lookup_x): Likewise.
19228         (add_dependency): Likewise.
19229         (_dl_lookup_symbol_x): Likewise.
19230         (_dl_debug_bindings): Likewise.
19231         * elf/dl-open.c (_dl_show_scope): Likewise.
19232         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19233         * elf/dl-version.c (match_symbol): Likewise.
19234         (_dl_check_map_versions): Likewise.
19235         * elf/rtld.c (dl_main): Likewise.
19236         (print_unresolved): Use RTLD_PROGNAME.
19237         (print_missing_version): Likewise.
19238         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19239         (elf_machine_rela): Likewise.
19240         * sysdeps/powerpc/powerpc32/dl-machine.c
19241         (__process_machine_rela): Likewise.
19242         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19243         Likewise.
19244         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19245         Likewise.
19246         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19247         Likewise.
19248         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19249         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19250         Likewise.
19251         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19252         Likewise.
19253         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19255 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
19257         * po/be.po: Add descriptive title.
19258         * po/zh_CN.po: Likewise.
19259         * po/header.pot: Likewise.
19261 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
19263         * locale/programs/locarchive.c (create_archive): Inlucde fname in
19264         error message.
19265         (enlarge_archive): Likewise.
19267 2013-05-28  Ben North  <ben@redfrontdoor.org>
19269         * manual/arith.texi (frexp): It is the magnitude of the return
19270         value which lies in [0.5, 1), not the return value itself.
19272 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19274         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19276 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
19278         * stdio-common/bug26.c (main): Correct fscanf template.
19280         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19281         declare _dl_skip_args.
19283         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19284         Don't declare.
19286         * manual/platform.texi: Add missing @end deftypefun.
19288 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
19290         [BZ #15529]
19291         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19292         bit of mantissa of 2^16382.
19293         * math/libm-test.inc (hypot_test_data): Add more tests.
19295         * math/libm-test.inc: Add drem and pow10 to list of tested
19296         functions.
19297         (pow10_test): New function.
19298         (drem_test): Likewise.
19299         (drem_test_tonearest): Likewise.
19300         (drem_test_towardzero): Likewise.
19301         (drem_test_downward): Likewise.
19302         (drem_test_upward): Likewise.
19303         (main): Call the new functions.
19305         * math/libm-test.inc (finite_test_data): Remove.
19306         (finite_test): Run tests from isfinite_test_data.
19307         (gamma_test_data): Remove.
19308         (gamma_test): Run tests from lgamma_test_data.
19309         * sysdeps/i386/fpu/libm-test-ulps: Update.
19310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19312 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19314         * manual/platform.texi: Add PowerPC PPR function set documentation.
19315         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
19316         implementation.
19318 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
19320         * math/libm-test.inc (MAX_EXP): Define.
19321         (ULPDIFF): Define.
19322         (ulp): New function.
19323         (check_float_internal): Use ULPDIFF.
19324         (cpow_test): Disable failing test.
19325         (check_ulp): Test ulp() implemetnation.
19326         (main): Call check_ulp before starting tests.
19328 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
19330         * math/gen-libm-test.pl (generate_testfile): Do not handle
19331         START_DATA and END_DATA.
19332         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
19333         END_DATA.
19334         (acos_tonearest_test_data): Likewise.
19335         (acos_towardzero_test_data): Likewise.
19336         (acos_downward_test_data): Likewise.
19337         (acos_upward_test_data): Likewise.
19338         (acosh_test_data): Likewise.
19339         (asin_test_data): Likewise.
19340         (asin_tonearest_test_data): Likewise.
19341         (asin_towardzero_test_data): Likewise.
19342         (asin_downward_test_data): Likewise.
19343         (asin_upward_test_data): Likewise.
19344         (asinh_test_data): Likewise.
19345         (atan_test_data): Likewise.
19346         (atanh_test_data): Likewise.
19347         (atan2_test_data): Likewise.
19348         (cabs_test_data): Likewise.
19349         (cacos_test_data): Likewise.
19350         (cacosh_test_data): Likewise.
19351         (carg_test_data): Likewise.
19352         (casin_test_data): Likewise.
19353         (casinh_test_data): Likewise.
19354         (catan_test_data): Likewise.
19355         (catanh_test_data): Likewise.
19356         (cbrt_test_data): Likewise.
19357         (ccos_test_data): Likewise.
19358         (ccosh_test_data): Likewise.
19359         (ceil_test_data): Likewise.
19360         (cexp_test_data): Likewise.
19361         (cimag_test_data): Likewise.
19362         (clog_test_data): Likewise.
19363         (clog10_test_data): Likewise.
19364         (conj_test_data): Likewise.
19365         (copysign_test_data): Likewise.
19366         (cos_test_data): Likewise.
19367         (cos_tonearest_test_data): Likewise.
19368         (cos_towardzero_test_data): Likewise.
19369         (cos_downward_test_data): Likewise.
19370         (cos_upward_test_data): Likewise.
19371         (cosh_test_data): Likewise.
19372         (cosh_tonearest_test_data): Likewise.
19373         (cosh_towardzero_test_data): Likewise.
19374         (cosh_downward_test_data): Likewise.
19375         (cosh_upward_test_data): Likewise.
19376         (cpow_test_data): Likewise.
19377         (cproj_test_data): Likewise.
19378         (creal_test_data): Likewise.
19379         (csin_test_data): Likewise.
19380         (csinh_test_data): Likewise.
19381         (csqrt_test_data): Likewise.
19382         (ctan_test_data): Likewise.
19383         (ctan_tonearest_test_data): Likewise.
19384         (ctan_towardzero_test_data): Likewise.
19385         (ctan_downward_test_data): Likewise.
19386         (ctan_upward_test_data): Likewise.
19387         (ctanh_test_data): Likewise.
19388         (ctanh_tonearest_test_data): Likewise.
19389         (ctanh_towardzero_test_data): Likewise.
19390         (ctanh_downward_test_data): Likewise.
19391         (ctanh_upward_test_data): Likewise.
19392         (erf_test_data): Likewise.
19393         (erfc_test_data): Likewise.
19394         (exp_test_data): Likewise.
19395         (exp_tonearest_test_data): Likewise.
19396         (exp_towardzero_test_data): Likewise.
19397         (exp_downward_test_data): Likewise.
19398         (exp_upward_test_data): Likewise.
19399         (exp10_test_data): Likewise.
19400         (exp2_test_data): Likewise.
19401         (expm1_test_data): Likewise.
19402         (fabs_test_data): Likewise.
19403         (fdim_test_data): Likewise.
19404         (finite_test_data): Likewise.
19405         (floor_test_data): Likewise.
19406         (fma_test_data): Likewise.
19407         (fma_towardzero_test_data): Likewise.
19408         (fma_downward_test_data): Likewise.
19409         (fma_upward_test_data): Likewise.
19410         (fmax_test_data): Likewise.
19411         (fmin_test_data): Likewise.
19412         (fmod_test_data): Likewise.
19413         (fpclassify_test_data): Likewise.
19414         (frexp_test_data): Likewise.
19415         (gamma_test_data): Likewise.
19416         (hypot_test_data): Likewise.
19417         (ilogb_test_data): Likewise.
19418         (isfinite_test_data): Likewise.
19419         (isgreater_test_data): Likewise.
19420         (isgreaterequal_test_data): Likewise.
19421         (isinf_test_data): Likewise.
19422         (isless_test_data): Likewise.
19423         (islessequal_test_data): Likewise.
19424         (islessgreater_test_data): Likewise.
19425         (isnan_test_data): Likewise.
19426         (isnormal_test_data): Likewise.
19427         (issignaling_test_data): Likewise.
19428         (isunordered_test_data): Likewise.
19429         (j0_test_data): Likewise.
19430         (j1_test_data): Likewise.
19431         (jn_test_data): Likewise.
19432         (ldexp_test_data): Likewise.
19433         (lgamma_test_data): Likewise.
19434         (lrint_test_data): Likewise.
19435         (lrint_tonearest_test_data): Likewise.
19436         (lrint_towardzero_test_data): Likewise.
19437         (lrint_downward_test_data): Likewise.
19438         (lrint_upward_test_data): Likewise.
19439         (llrint_test_data): Likewise.
19440         (llrint_tonearest_test_data): Likewise.
19441         (llrint_towardzero_test_data): Likewise.
19442         (llrint_downward_test_data): Likewise.
19443         (llrint_upward_test_data): Likewise.
19444         (log_test_data): Likewise.
19445         (log10_test_data): Likewise.
19446         (log1p_test_data): Likewise.
19447         (log2_test_data): Likewise.
19448         (logb_test_data): Likewise.
19449         (logb_downward_test_data): Likewise.
19450         (lround_test_data): Likewise.
19451         (llround_test_data): Likewise.
19452         (modf_test_data): Likewise.
19453         (nearbyint_test_data): Likewise.
19454         (nextafter_test_data): Likewise.
19455         (nexttoward_test_data): Likewise.
19456         (pow_test_data): Likewise.
19457         (pow_tonearest_test_data): Likewise.
19458         (pow_towardzero_test_data): Likewise.
19459         (pow_downward_test_data): Likewise.
19460         (pow_upward_test_data): Likewise.
19461         (remainder_test_data): Likewise.
19462         (remainder_tonearest_test_data): Likewise.
19463         (remainder_towardzero_test_data): Likewise.
19464         (remainder_downward_test_data): Likewise.
19465         (remainder_upward_test_data): Likewise.
19466         (remquo_test_data): Likewise.
19467         (rint_test_data): Likewise.
19468         (rint_tonearest_test_data): Likewise.
19469         (rint_towardzero_test_data): Likewise.
19470         (rint_downward_test_data): Likewise.
19471         (rint_upward_test_data): Likewise.
19472         (round_test_data): Likewise.
19473         (scalb_test_data): Likewise.
19474         (scalbn_test_data): Likewise.
19475         (scalbln_test_data): Likewise.
19476         (signbit_test_data): Likewise.
19477         (sin_test_data): Likewise.
19478         (sin_tonearest_test_data): Likewise.
19479         (sin_towardzero_test_data): Likewise.
19480         (sin_downward_test_data): Likewise.
19481         (sin_upward_test_data): Likewise.
19482         (sincos_test_data): Likewise.
19483         (sinh_test_data): Likewise.
19484         (sinh_tonearest_test_data): Likewise.
19485         (sinh_towardzero_test_data): Likewise.
19486         (sinh_downward_test_data): Likewise.
19487         (sinh_upward_test_data): Likewise.
19488         (sqrt_test_data): Likewise.
19489         (tan_test_data): Likewise.
19490         (tan_tonearest_test_data): Likewise.
19491         (tan_towardzero_test_data): Likewise.
19492         (tan_downward_test_data): Likewise.
19493         (tan_upward_test_data): Likewise.
19494         (tanh_test_data): Likewise.
19495         (tgamma_test_data): Likewise.
19496         (trunc_test_data): Likewise.
19497         (y0_test_data): Likewise.
19498         (y1_test_data): Likewise.
19499         (yn_test_data): Likewise.
19500         (significand_test_data): Likewise.
19502         * math/gen-libm-test.pl (@functions): Remove variable.
19503         (generate_testfile): Don't handle START and END lines.
19504         * math/libm-test.inc (START): New macro.
19505         (END): Likewise.
19506         (END_COMPLEX): Likewise.
19507         (acos_test): Use END macro without arguments.
19508         (acos_test_tonearest): Likewise.
19509         (acos_test_towardzero): Likewise.
19510         (acos_test_downward): Likewise.
19511         (acos_test_upward): Likewise.
19512         (acosh_test): Likewise.
19513         (asin_test): Likewise.
19514         (asin_test_tonearest): Likewise.
19515         (asin_test_towardzero): Likewise.
19516         (asin_test_downward): Likewise.
19517         (asin_test_upward): Likewise.
19518         (asinh_test): Likewise.
19519         (atan_test): Likewise.
19520         (atanh_test): Likewise.
19521         (atan2_test): Likewise.
19522         (cabs_test): Likewise.
19523         (cacos_test): Use END_COMPLEX macro without arguments.
19524         (cacosh_test): Likewise.
19525         (carg_test): Use END macro without arguments.
19526         (casin_test): Use END_COMPLEX macro without arguments.
19527         (casinh_test): Likewise.
19528         (catan_test): Likewise.
19529         (catanh_test): Likewise.
19530         (cbrt_test): Use END macro without arguments.
19531         (ccos_test): Use END_COMPLEX macro without arguments.
19532         (ccosh_test): Likewise.
19533         (ceil_test): Use END macro without arguments.
19534         (cexp_test): Use END_COMPLEX macro without arguments.
19535         (cimag_test): Use END macro without arguments.
19536         (clog_test): Use END_COMPLEX macro without arguments.
19537         (clog10_test): Likewise.
19538         (conj_test): Likewise.
19539         (copysign_test): Use END macro without arguments.
19540         (cos_test): Likewise.
19541         (cos_test_tonearest): Likewise.
19542         (cos_test_towardzero): Likewise.
19543         (cos_test_downward): Likewise.
19544         (cos_test_upward): Likewise.
19545         (cosh_test): Likewise.
19546         (cosh_test_tonearest): Likewise.
19547         (cosh_test_towardzero): Likewise.
19548         (cosh_test_downward): Likewise.
19549         (cosh_test_upward): Likewise.
19550         (cpow_test): Use END_COMPLEX macro without arguments.
19551         (cproj_test): Likewise.
19552         (creal_test): Use END macro without arguments.
19553         (csin_test): Use END_COMPLEX macro without arguments.
19554         (csinh_test): Likewise.
19555         (csqrt_test): Likewise.
19556         (ctan_test): Likewise.
19557         (ctan_test_tonearest): Likewise.
19558         (ctan_test_towardzero): Likewise.
19559         (ctan_test_downward): Likewise.
19560         (ctan_test_upward): Likewise.
19561         (ctanh_test): Likewise.
19562         (ctanh_test_tonearest): Likewise.
19563         (ctanh_test_towardzero): Likewise.
19564         (ctanh_test_downward): Likewise.
19565         (ctanh_test_upward): Likewise.
19566         (erf_test): Use END macro without arguments.
19567         (erfc_test): Likewise.
19568         (exp_test): Likewise.
19569         (exp_test_tonearest): Likewise.
19570         (exp_test_towardzero): Likewise.
19571         (exp_test_downward): Likewise.
19572         (exp_test_upward): Likewise.
19573         (exp10_test): Likewise.
19574         (exp2_test): Likewise.
19575         (expm1_test): Likewise.
19576         (fabs_test): Likewise.
19577         (fdim_test): Likewise.
19578         (finite_test): Likewise.
19579         (floor_test): Likewise.
19580         (fma_test): Likewise.
19581         (fma_test_towardzero): Likewise.
19582         (fma_test_downward): Likewise.
19583         (fma_test_upward): Likewise.
19584         (fmax_test): Likewise.
19585         (fmin_test): Likewise.
19586         (fmod_test): Likewise.
19587         (fpclassify_test): Likewise.
19588         (frexp_test): Likewise.
19589         (gamma_test): Likewise.
19590         (hypot_test): Likewise.
19591         (ilogb_test): Likewise.
19592         (isfinite_test): Likewise.
19593         (isgreater_test): Likewise.
19594         (isgreaterequal_test): Likewise.
19595         (isinf_test): Likewise.
19596         (isless_test): Likewise.
19597         (islessequal_test): Likewise.
19598         (islessgreater_test): Likewise.
19599         (isnan_test): Likewise.
19600         (isnormal_test): Likewise.
19601         (issignaling_test): Likewise.
19602         (isunordered_test): Likewise.
19603         (j0_test): Likewise.
19604         (j1_test): Likewise.
19605         (jn_test): Likewise.
19606         (ldexp_test): Likewise.
19607         (lgamma_test): Likewise.
19608         (lrint_test): Likewise.
19609         (lrint_test_tonearest): Likewise.
19610         (lrint_test_towardzero): Likewise.
19611         (lrint_test_downward): Likewise.
19612         (lrint_test_upward): Likewise.
19613         (llrint_test): Likewise.
19614         (llrint_test_tonearest): Likewise.
19615         (llrint_test_towardzero): Likewise.
19616         (llrint_test_downward): Likewise.
19617         (llrint_test_upward): Likewise.
19618         (log_test): Likewise.
19619         (log10_test): Likewise.
19620         (log1p_test): Likewise.
19621         (log2_test): Likewise.
19622         (logb_test): Likewise.
19623         (logb_test_downward): Likewise.
19624         (lround_test): Likewise.
19625         (llround_test): Likewise.
19626         (modf_test): Likewise.
19627         (nearbyint_test): Likewise.
19628         (nextafter_test): Likewise.
19629         (nexttoward_test): Likewise.
19630         (pow_test): Likewise.
19631         (pow_test_tonearest): Likewise.
19632         (pow_test_towardzero): Likewise.
19633         (pow_test_downward): Likewise.
19634         (pow_test_upward): Likewise.
19635         (remainder_test): Likewise.
19636         (remainder_test_tonearest): Likewise.
19637         (remainder_test_towardzero): Likewise.
19638         (remainder_test_downward): Likewise.
19639         (remainder_test_upward): Likewise.
19640         (remquo_test): Likewise.
19641         (rint_test): Likewise.
19642         (rint_test_tonearest): Likewise.
19643         (rint_test_towardzero): Likewise.
19644         (rint_test_downward): Likewise.
19645         (rint_test_upward): Likewise.
19646         (round_test): Likewise.
19647         (scalb_test): Likewise.
19648         (scalbn_test): Likewise.
19649         (scalbln_test): Likewise.
19650         (signbit_test): Likewise.
19651         (sin_test): Likewise.
19652         (sin_test_tonearest): Likewise.
19653         (sin_test_towardzero): Likewise.
19654         (sin_test_downward): Likewise.
19655         (sin_test_upward): Likewise.
19656         (sincos_test): Likewise.
19657         (sinh_test): Likewise.
19658         (sinh_test_tonearest): Likewise.
19659         (sinh_test_towardzero): Likewise.
19660         (sinh_test_downward): Likewise.
19661         (sinh_test_upward): Likewise.
19662         (sqrt_test): Likewise.
19663         (tan_test): Likewise.
19664         (tan_test_tonearest): Likewise.
19665         (tan_test_towardzero): Likewise.
19666         (tan_test_downward): Likewise.
19667         (tan_test_upward): Likewise.
19668         (tanh_test): Likewise.
19669         (tgamma_test): Likewise.
19670         (trunc_test): Likewise.
19671         (y0_test): Likewise.
19672         (y1_test): Likewise.
19673         (yn_test): Likewise.
19674         (significand_test): Likewise.
19676 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
19678         [BZ #15381]
19679         * libio/genops.c (_IO_no_init): Initialize wide struct info.
19681 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
19683         [BZ #14894]
19684         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
19685         __ppc_mdoio and __ppc_mdoom.
19686         * manual/platform.texi: Document new functions __ppc_yield,
19687         __ppc_mdoio and __ppc_mdoom.
19689 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
19691         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
19692         (main): Mention "tls" pseudo-hwcap is legacy.
19693         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
19695 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
19697         * math/gen-libm-test.pl (parse_args): Output only string of
19698         arguments as text for test name, not full call or descriptions of
19699         tests for extra outputs.
19700         (generate_testfile): Do not pass function name to parse_args.
19701         Generate this_func variable from START.
19702         * math/libm-test.inc (struct test_f_f_data): Rename test_name
19703         field to arg_str.
19704         (struct test_ff_f_data): Likewise.
19705         (test_ff_f_data_nexttoward): Likewise.
19706         (struct test_fi_f_data): Likewise.
19707         (struct test_fl_f_data): Likewise.
19708         (struct test_if_f_data): Likewise.
19709         (struct test_fff_f_data): Likewise.
19710         (struct test_c_f_data): Likewise.
19711         (struct test_f_f1_data): Likewise.  Remove field extra_name.
19712         (struct test_fF_f1_data): Likewise.
19713         (struct test_ffI_f1_data): Likewise.
19714         (struct test_c_c_data): Rename test_name field to arg_str.
19715         (struct test_cc_c_data): Likewise.
19716         (struct test_f_i_data): Likewise.
19717         (struct test_ff_i_data): Likewise.
19718         (struct test_f_l_data): Likewise.
19719         (struct test_f_L_data): Likewise.
19720         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
19721         and extra2_name.
19722         (COMMON_TEST_SETUP): New macro.
19723         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
19724         (COMMON_TEST_CLEANUP): Likewise.
19725         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
19726         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
19727         macros.
19728         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
19729         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
19730         macros.
19731         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
19732         (RUN_TEST_fff_f): Take argument string.  Call new setup and
19733         cleanup macros.
19734         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
19735         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
19736         macros.
19737         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
19738         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
19739         macros.
19740         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19741         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
19742         cleanup macros.
19743         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19744         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
19745         cleanup macros.
19746         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19747         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
19748         cleanup macros.
19749         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19750         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
19751         macros.
19752         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
19753         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
19754         macros.
19755         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
19756         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
19757         macros.
19758         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
19759         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
19760         cleanup macros.
19761         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
19762         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
19763         cleanup macros.
19764         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
19765         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
19766         macros.
19767         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
19768         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
19769         cleanup macros.
19770         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
19771         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
19772         macros.
19773         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
19774         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
19775         macros.
19776         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
19777         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
19778         cleanup macros.
19779         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
19781 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
19783         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19784         to _sifields.sigfault.
19785         (si_addr_lsb): Define new macro.
19786         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19787         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19788         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19790 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
19792         [BZ #15441]
19793         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19794         returns -1.
19795         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19796         null return -1.
19797         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19798         loading the domain.
19800 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
19802         * math/gen-libm-test.pl (parse_args): Do not include expected
19803         result in test name.
19804         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19805         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19806         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19807         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19808         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19811 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19813         * benchtests/Makefile: Sort function entries.
19815         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19816         tanh, asinh, acosh, atanh.
19817         * benchtests/acos-inputs: New file.
19818         * benchtests/acosh-inputs: New file.
19819         * benchtests/asin-inputs: New file.
19820         * benchtests/asinh-inputs: New file.
19821         * benchtests/atanh-inputs: New file.
19822         * benchtests/cosh-inputs: New file.
19823         * benchtests/log-inputs: New file.
19824         * benchtests/sinh-inputs: New file.
19825         * benchtests/tanh-inputs: New file.
19827 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
19829         [BZ #15339]
19830         * posix/tst-getaddrinfo4.c: New test.
19831         * posix/Makefile (tests): Add it.
19833 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19835         [BZ #15339]
19836         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19837         when no services were used.
19838         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19839         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19841 2013-05-21  Andreas Schwab  <schwab@suse.de>
19843         [BZ #15014]
19844         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19845         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19846         successful.
19847         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19848         redundant variable declarations and reallocation of buffer when
19849         parsing as IPv6 address.  Always set NSS status when called from
19850         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
19851         buffer too small.  Correct computation of needed size.
19852         * nss/Makefile (tests): Add test-digits-dots.
19853         * nss/test-digits-dots.c: New test.
19855 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19857         * benchtests/Makefile: Remove instructions for adding
19858         benchmark tests.
19859         * benchtests/README: New file to explain how to execute and
19860         enhance the benchmark tests.
19862 2013-05-21  Andreas Schwab  <schwab@suse.de>
19864         [BZ #15493]
19865         * setjmp/Makefile (tests): Add tst-sigsetjmp.
19866         * setjmp/tst-sigsetjmp.c: New test.
19868 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
19870         * sysdeps/x86_64/memset.S (memset): New implementation.
19871         (__bzero): Likewise.
19872         (__memset_tail): New function.
19874 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
19876         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19877         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19878         __memcpy_sse2_unaligned ifunc selection.
19879         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19880         Add memcpy-sse2-unaligned.S.
19881         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19882         Add: __memcpy_sse2_unaligned.
19884 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
19886         [BZ #15490]
19887         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19888         math_force_eval before restoring floating-point envrionment.
19889         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19890         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19891         Likewise.
19892         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19893         <math_private.h>.
19894         (__nearbyintl): Use math_force_eval before restoring
19895         floating-point environment.
19896         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
19898         * math/gen-libm-test.pl (special_functions): Remove.
19899         (parse_args): Don't handle TEST_extra.  Handle functions with no
19900         return value.
19901         * math/libm-test.inc (struct test_sincos_data): Replace with
19902         struct test_fFF_11_data.
19903         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
19904         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
19905         (sincos_test_data): Change element type to struct
19906         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
19907         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
19908         RUN_TEST_LOOP_sincos.
19909         * math/README.libm-test: Don't mention special handling of
19910         individual functions.
19911         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
19912         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19913         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19914         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19915         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19918         * math/gen-libm-test.pl (get_variable): Remove function.
19919         (parse_args): Don't show pointer parameters to call in test
19920         names.  Use "extra output N" in test names for extra outputs
19921         rather than naming variables.
19923 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
19925         [BZ #15488]
19926         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
19927         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
19928         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
19929         double tests.
19930         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
19931         disable.
19932         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
19933         check_long_double.
19935         * math/gen-libm-test.pl (@tests): Remove variable.
19936         ($count): Likewise.
19937         (new_test): Remove function.
19938         (show_exceptions): New function.
19939         (special_functions): Use show_exceptions instead of new_test.
19940         (parse_args): Likewise.
19941         (generate_testfile): Pass only function name in generated call to
19942         print_max_error or print_complex_max_error.
19943         (get_ulps): Do not handle complex tests specially.
19944         (output_test): Rename to ...
19945         (get_all_ulps_for_test): ... this.  Return a string rather than
19946         printing to a file.  Require ulps to be present.
19947         (output_ulps): Generate arrays rather than #defines.
19948         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
19949         (struct ulp_data): New type.
19950         (BUILD_COMPLEX_ULP): Remove macro.
19951         (compare_ulp_data): New function.
19952         (find_ulps): Likewise.
19953         (find_test_ulps): Likewise.
19954         (find_function_ulps): Likewise.
19955         (find_complex_function_ulps): Likewise.
19956         (print_max_error): Determine allowed ulps using
19957         find_function_ulps.
19958         (print_complex_max_error): Determine allowed ulps using
19959         find_complex_function_ulps.
19960         (check_float_internal): Determine max ulps using find_test_ulps.
19961         (check_float): Do not take max_ulp parameter.  Update call to
19962         check_float_internal.
19963         (check_complex): Likewise.
19964         (check_int): Do not take max_ulp parameter.
19965         (check_long): Likewise.
19966         (check_bool): Likewise.
19967         (check_longlong): Likewise.
19968         (struct test_f_f_data): Remove max_ulp field.
19969         (struct test_ff_f_data): Likewise.
19970         (struct test_ff_f_data_nexttoward): Likewise.
19971         (struct test_fi_f_data): Likewise.
19972         (struct test_fl_f_data): Likewise.
19973         (struct test_if_f_data): Likewise.
19974         (struct test_fff_f_data): Likewise.
19975         (struct test_c_f_data): Likewise.
19976         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
19977         (struct test_fF_f1_data): Likewise.
19978         (struct test_ffI_f1_data): Likewise.
19979         (struct test_c_c_data): Remove max_ulp field.
19980         (struct test_cc_c_data): Likewise.
19981         (struct test_f_i_data): Likewise.
19982         (struct test_ff_i_data): Likewise.
19983         (struct test_f_l_data): Likewise.
19984         (struct test_f_L_data): Likewise.
19985         (struct test_sincos_data): Likewise.
19986         (RUN_TEST_f_f): Do not handle ulps.
19987         (RUN_TEST_LOOP_f_f): Likewise.
19988         (RUN_TEST_2_f): Likewise.
19989         (RUN_TEST_LOOP_2_f): Likewise.
19990         (RUN_TEST_fff_f): Likewise.
19991         (RUN_TEST_LOOP_fff_f): Likewise.
19992         (RUN_TEST_c_f): Likewise.
19993         (RUN_TEST_LOOP_c_f): Likewise.
19994         (RUN_TEST_f_f1): Likewise.
19995         (RUN_TEST_LOOP_f_f1): Likewise.
19996         (RUN_TEST_fF_f1): Likewise.
19997         (RUN_TEST_LOOP_fF_f1): Likewise.
19998         (RUN_TEST_fI_f1): Likewise.
19999         (RUN_TEST_LOOP_fI_f1): Likewise.
20000         (RUN_TEST_ffI_f1): Likewise.
20001         (RUN_TEST_LOOP_ffI_f1): Likewise.
20002         (RUN_TEST_c_c): Likewise.
20003         (RUN_TEST_LOOP_c_c): Likewise.
20004         (RUN_TEST_cc_c): Likewise.
20005         (RUN_TEST_LOOP_cc_c): Likewise.
20006         (RUN_TEST_f_i): Likewise.
20007         (RUN_TEST_LOOP_f_i): Likewise.
20008         (RUN_TEST_f_i_tg): Likewise.
20009         (RUN_TEST_LOOP_f_i_tg): Likewise.
20010         (RUN_TEST_ff_i_tg): Likewise.
20011         (RUN_TEST_LOOP_ff_i_tg): Likewise.
20012         (RUN_TEST_f_b): Likewise.
20013         (RUN_TEST_LOOP_f_b): Likewise.
20014         (RUN_TEST_f_b_tg): Likewise.
20015         (RUN_TEST_LOOP_f_b_tg): Likewise.
20016         (RUN_TEST_f_l): Likewise.
20017         (RUN_TEST_LOOP_f_l): Likewise.
20018         (RUN_TEST_f_L): Likewise.
20019         (RUN_TEST_LOOP_f_L): Likewise.
20020         (RUN_TEST_sincos): Likewise.
20021         (RUN_TEST_LOOP_sincos): Likewise.
20023 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
20025         [BZ #15480]
20026         [BZ #15485]
20027         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20028         main case of finite arguments, set rounding mode to FE_TONEAREST
20029         and discard exceptions.
20030         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
20031         exceptions.
20032         (remainder_tonearest_test_data): New variable.
20033         (remainder_test_tonearest): New function.
20034         (remainder_towardzero_test_data): New variable.
20035         (remainder_test_towardzero): New function.
20036         (remainder_downward_test_data): New variable.
20037         (remainder_test_downward): New function.
20038         (remainder_upward_test_data): New variable.
20039         (remainder_test_upward): New function.
20040         (main): Call the new test functions.
20042         * math/libm-test.inc (struct test_f_f1_data): Remove field
20043         extra_init.
20044         (struct test_fF_f1_data): Likewise.
20045         (struct test_ffI_f1_data): Likewise.
20046         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
20047         based on value of EXTRA_EXPECTED.
20048         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20049         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
20050         EXTRA_VAR based on value of EXTRA_EXPECTED.
20051         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20052         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
20053         EXTRA_VAR based on value of EXTRA_EXPECTED.
20054         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20055         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
20056         EXTRA_VAR based on value of EXTRA_EXPECTED.
20057         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20058         * math/gen-libm-test.pl (parse_args): Don't output initializers
20059         for extra output values.
20061         * math/libm-test.inc (check_int): Expect result to be exactly
20062         equal to expected value and do not handle ulps.
20063         (check_long): Likewise.
20064         (check_longlong): Likewise.
20066         * math/libm-test.inc (ceil_test_data): Test for "inexact"
20067         exceptions.
20068         (cimag_test_data): Likewise.
20069         (conj_test_data): Likewise.
20070         (copysign_test_data): Likewise.
20071         (cproj_test_data): Likewise.
20072         (creal_test_data): Likewise.
20073         (fabs_test_data): Likewise.
20074         (fdim_test_data): Likewise.
20075         (finite_test_data): Likewise.
20076         (floor_test_data): Likewise.
20077         (fmax_test_data): Likewise.
20078         (fmin_test_data): Likewise.
20079         (fmod_test_data): Likewise.
20080         (fpclassify_test_data): Likewise.
20081         (frexp_test_data): Likewise.
20082         (ilogb_test_data): Likewise.
20083         (isfinite_test_data): Likewise.
20084         (isgreater_test_data): Likewise.
20085         (isgreaterequal_test_data): Likewise.
20086         (isinf_test_data): Likewise.
20087         (isless_test_data): Likewise.
20088         (islessequal_test_data): Likewise.
20089         (islessgreater_test_data): Likewise.
20090         (isnan_test_data): Likewise.
20091         (isnormal_test_data): Likewise.
20092         (issignaling_test_data): Likewise.
20093         (isunordered_test_data): Likewise.
20094         (ldexp_test_data): Likewise.
20095         (lrint_test_data): Likewise.
20096         (lrint_test_data) [TEST_FLOAT]: Disable one test.
20097         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20098         (lrint_tonearest_test_data): Test for "inexact" exceptions.
20099         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20100         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20101         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20102         test input.
20103         (lrint_towardzero_test_data): Test for "inexact" exceptions.
20104         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20105         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20106         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20107         that test input.
20108         (lrint_downward_test_data): Test for "inexact" exceptions.
20109         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20110         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20111         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20112         test input.
20113         (lrint_upward_test_data): Test for "inexact" exceptions.
20114         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20115         test input.
20116         (llrint_test_data): Test for "inexact" exceptions.
20117         (llrint_test_data) [TEST_FLOAT]: Disable one test.
20118         (llrint_tonearest_test_data): Test for "inexact" exceptions.
20119         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20120         (llrint_towardzero_test_data): Test for "inexact" exceptions.
20121         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20122         (llrint_downward_test_data): Test for "inexact" exceptions.
20123         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20124         (llrint_upward_test_data): Test for "inexact" exceptions.
20125         (logb_test_data): Likewise.
20126         (logb_downward_test_data): Likewise.
20127         (nextafter_test_data): Likewise.
20128         (nexttoward_test_data): Likewise.
20129         (remainder_test_data): Likewise.
20130         (remquo_test_data): Likewise.
20131         (scalbn_test_data): Likewise.
20132         (scalbln_test_data): Likewise.
20133         (signbit_test_data): Likewise.
20134         (sqrt_test_data): Likewise.
20135         (significand_test_data): Likewise.
20137 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20139         [BZ #15424]
20140         * benchtests/bench-modf.c (struct args): Mark arg0 as
20141         volatile.
20142         * scripts/bench.pl: Mark members of struct args as volatile.
20144 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20146         [BZ # 15497]
20147         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20148         negative infinity on POWER6 or lower.
20149         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20151 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
20153         [BZ #15442]
20154         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20155         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20156         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20157         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20158         (_FP_SETQNAN): New macro.
20159         (_FP_SETQNAN_SEMIRAW): Likewise.
20160         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20161         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20162         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20163         (FP_EXTEND): Use _FP_FRAC_SNANP.
20164         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20165         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20166         into account.
20167         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20168         New macro.
20169         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20170         Likewise.
20172 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20174         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20175         with DIVIDE_BY_ZERO_EXCEPTION.
20176         (gamma_test_data): Likewise.
20177         (lgamma_test_data): Likewise.
20178         (log_test_data): Likewise.
20179         (log10_test_data): Likewise.
20180         (log2_test_data): Likewise.
20181         (tgamma_test_data): Likewise.
20183         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20184         (acos_test_tonearest): Likewise.
20185         (acos_test_towardzero): Likewise.
20186         (acos_test_downward): Likewise.
20187         (acos_test_upward): Likewise.
20188         (acosh_test): Likewise.
20189         (asin_test): Likewise.
20190         (asin_test_tonearest): Likewise.
20191         (asin_test_towardzero): Likewise.
20192         (asin_test_downward): Likewise.
20193         (asin_test_upward): Likewise.
20194         (asinh_test): Likewise.
20195         (atan_test): Likewise.
20196         (atanh_test): Likewise.
20197         (atan2_test): Likewise.
20198         (cabs_test): Likewise.
20199         (cacos_test): Likewise.
20200         (cacosh_test): Likewise.
20201         (casin_test): Likewise.
20202         (casinh_test): Likewise.
20203         (catan_test): Likewise.
20204         (catanh_test): Likewise.
20205         (cbrt_test): Likewise.
20206         (ccos_test): Likewise.
20207         (ccosh_test): Likewise.
20208         (cexp_test): Likewise.
20209         (clog_test): Likewise.
20210         (clog10_test): Likewise.
20211         (cos_test): Likewise.
20212         (cos_test_tonearest): Likewise.
20213         (cos_test_towardzero): Likewise.
20214         (cos_test_downward): Likewise.
20215         (cos_test_upward): Likewise.
20216         (cosh_test): Likewise.
20217         (cosh_test_tonearest): Likewise.
20218         (cosh_test_towardzero): Likewise.
20219         (cosh_test_downward): Likewise.
20220         (cosh_test_upward): Likewise.
20221         (cpow_test): Likewise.
20222         (csin_test): Likewise.
20223         (csinh_test): Likewise.
20224         (csqrt_test): Likewise.
20225         (ctan_test): Likewise.
20226         (ctan_test_tonearest): Likewise.
20227         (ctan_test_towardzero): Likewise.
20228         (ctan_test_downward): Likewise.
20229         (ctan_test_upward): Likewise.
20230         (ctanh_test): Likewise.
20231         (ctanh_test_tonearest): Likewise.
20232         (ctanh_test_towardzero): Likewise.
20233         (ctanh_test_downward): Likewise.
20234         (ctanh_test_upward): Likewise.
20235         (erf_test): Likewise.
20236         (erfc_test): Likewise.
20237         (exp_test): Likewise.
20238         (exp_test_tonearest): Likewise.
20239         (exp_test_towardzero): Likewise.
20240         (exp_test_downward): Likewise.
20241         (exp_test_upward): Likewise.
20242         (exp10_test): Likewise.
20243         (exp2_test): Likewise.
20244         (expm1_test): Likewise.
20245         (fmod_test): Likewise.
20246         (gamma_test): Likewise.
20247         (hypot_test): Likewise.
20248         (j0_test): Likewise.
20249         (j1_test): Likewise.
20250         (jn_test): Likewise.
20251         (lgamma_test): Likewise.
20252         (log_test): Likewise.
20253         (log10_test): Likewise.
20254         (log1p_test): Likewise.
20255         (log2_test): Likewise.
20256         (logb_test_downward): Likewise.
20257         (pow_test): Likewise.
20258         (pow_test_tonearest): Likewise.
20259         (pow_test_towardzero): Likewise.
20260         (pow_test_downward): Likewise.
20261         (pow_test_upward): Likewise.
20262         (remainder_test): Likewise.
20263         (remquo_test): Likewise.
20264         (sin_test): Likewise.
20265         (sin_test_tonearest): Likewise.
20266         (sin_test_towardzero): Likewise.
20267         (sin_test_downward): Likewise.
20268         (sin_test_upward): Likewise.
20269         (sincos_test): Likewise.
20270         (sinh_test): Likewise.
20271         (sinh_test_tonearest): Likewise.
20272         (sinh_test_towardzero): Likewise.
20273         (sinh_test_downward): Likewise.
20274         (sinh_test_upward): Likewise.
20275         (sqrt_test): Likewise.
20276         (tan_test): Likewise.
20277         (tan_test_tonearest): Likewise.
20278         (tan_test_towardzero): Likewise.
20279         (tan_test_downward): Likewise.
20280         (tan_test_upward): Likewise.
20281         (tanh_test): Likewise.
20282         (tgamma_test): Likewise.
20283         (y0_test): Likewise.
20284         (y1_test): Likewise.
20285         (yn_test): Likewise.
20287         * math/gen-libm-test.pl (adjust_arg): Remove function.
20288         (special_function): Remove argument $in_func.  Only handle
20289         generating output for tables of tests, not inside functions.
20290         (parse_args): Likewise.
20291         (generate_testfile): Remove variable $in_func.  Update call to
20292         parse_args.
20293         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20294         (MINUS_ZERO_INIT): Rename macro to minus_zero.
20295         (PLUS_INFTY_INIT): Rename macro to plus_infty.
20296         (MINUS_INFTY_INIT): Rename macro to minus_infty.
20297         (QNAN_VALUE_INIT): Rename macro to qnan_value.
20298         (MAX_VALUE_INIT): Rename macro to max_value.
20299         (MIN_VALUE_INIT): Rename macro to min_value.
20300         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20301         (plus_zero): Remove variable.
20302         (minus_zero): Likewise.
20303         (plus_infty): Likewise.
20304         (minus_infty): Likewise.
20305         (qnan_value): Likewise.
20306         (max_value): Likewise.
20307         (min_value): Likewise.
20308         (min_subnorm_value): Likewise.
20310 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20312         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
20313         uint64_t or uint32_t usage.
20314         * crypt/sha256-block.c: Likewise.
20315         * crypt/sha256-crypt.c: Likewise.
20316         * crypt/sha256.c: Likewise.
20317         * crypt/sha512-block.c: Likewise.
20318         * crypt/sha512-crypt.c: Likewise.
20319         * crypt/sha512.c: Likewise.
20320         * debug/backtrace-tst.c: Likewise.
20321         * debug/pcprofiledump.c: Likewise.
20322         * elf/cache.c: Likewise.
20323         * elf/dl-cache.c: Likewise.
20324         * elf/dl-misc.c: Likewise.
20325         * elf/dl-profile.c: Likewise.
20326         * elf/dl-support.c: Likewise.
20327         * elf/ldconfig.c: Likewise.
20328         * elf/sprof.c: Likewise.
20329         * iconv/dummy-repertoire.c: Likewise.
20330         * iconv/iconv_charmap.c: Likewise.
20331         * iconv/skeleton.c: Likewise.
20332         * iconvdata/8bit-generic.c: Likewise.
20333         * iconvdata/cp737.h: Likewise.
20334         * iconvdata/cp775.h: Likewise.
20335         * iconvdata/ibm1008.h: Likewise.
20336         * iconvdata/ibm1025.h: Likewise.
20337         * iconvdata/ibm1046.h: Likewise.
20338         * iconvdata/ibm1097.h: Likewise.
20339         * iconvdata/ibm1112.h: Likewise.
20340         * iconvdata/ibm1122.h: Likewise.
20341         * iconvdata/ibm1123.h: Likewise.
20342         * iconvdata/ibm1124.h: Likewise.
20343         * iconvdata/ibm1129.h: Likewise.
20344         * iconvdata/ibm1130.h: Likewise.
20345         * iconvdata/ibm1132.h: Likewise.
20346         * iconvdata/ibm1133.h: Likewise.
20347         * iconvdata/ibm1137.h: Likewise.
20348         * iconvdata/ibm1140.h: Likewise.
20349         * iconvdata/ibm1141.h: Likewise.
20350         * iconvdata/ibm1142.h: Likewise.
20351         * iconvdata/ibm1143.h: Likewise.
20352         * iconvdata/ibm1144.h: Likewise.
20353         * iconvdata/ibm1145.h: Likewise.
20354         * iconvdata/ibm1146.h: Likewise.
20355         * iconvdata/ibm1147.h: Likewise.
20356         * iconvdata/ibm1148.h: Likewise.
20357         * iconvdata/ibm1149.h: Likewise.
20358         * iconvdata/ibm1153.h: Likewise.
20359         * iconvdata/ibm1154.h: Likewise.
20360         * iconvdata/ibm1155.h: Likewise.
20361         * iconvdata/ibm1156.h: Likewise.
20362         * iconvdata/ibm1157.h: Likewise.
20363         * iconvdata/ibm1158.h: Likewise.
20364         * iconvdata/ibm1160.h: Likewise.
20365         * iconvdata/ibm1161.h: Likewise.
20366         * iconvdata/ibm1162.h: Likewise.
20367         * iconvdata/ibm1163.h: Likewise.
20368         * iconvdata/ibm1164.h: Likewise.
20369         * iconvdata/ibm1166.h: Likewise.
20370         * iconvdata/ibm1167.h: Likewise.
20371         * iconvdata/ibm12712.h: Likewise.
20372         * iconvdata/ibm1390.h: Likewise.
20373         * iconvdata/ibm1399.h: Likewise.
20374         * iconvdata/ibm16804.h: Likewise.
20375         * iconvdata/ibm4517.h: Likewise.
20376         * iconvdata/ibm4899.h: Likewise.
20377         * iconvdata/ibm4909.h: Likewise.
20378         * iconvdata/ibm4971.h: Likewise.
20379         * iconvdata/ibm5347.h: Likewise.
20380         * iconvdata/ibm803.h: Likewise.
20381         * iconvdata/ibm856.h: Likewise.
20382         * iconvdata/ibm901.h: Likewise.
20383         * iconvdata/ibm902.h: Likewise.
20384         * iconvdata/ibm9030.h: Likewise.
20385         * iconvdata/ibm9066.h: Likewise.
20386         * iconvdata/ibm921.h: Likewise.
20387         * iconvdata/ibm922.h: Likewise.
20388         * iconvdata/ibm9448.h: Likewise.
20389         * iconvdata/isiri-3342.h: Likewise.
20390         * iconvdata/jis0201.h: Likewise.
20391         * include/link.h: Likewise.
20392         * include/netdb.h: Likewise.
20393         * inet/check_native.c: Likewise.
20394         * inet/check_pf.c: Likewise.
20395         * inet/getipv4sourcefilter.c: Likewise.
20396         * inet/getnameinfo.c: Likewise.
20397         * inet/getsourcefilter.c: Likewise.
20398         * inet/htonl.c: Likewise.
20399         * inet/setipv4sourcefilter.c: Likewise.
20400         * inet/setsourcefilter.c: Likewise.
20401         * inet/test-inet6_opt.c: Likewise.
20402         * inet/tst-network.c: Likewise.
20403         * locale/C-collate.c: Likewise.
20404         * locale/C-ctype.c: Likewise.
20405         * locale/C-time.c: Likewise.
20406         * locale/C-translit.h: Likewise.
20407         * locale/loadarchive.c: Likewise.
20408         * locale/programs/3level.h: Likewise.
20409         * locale/programs/charmap.c: Likewise.
20410         * locale/programs/charmap.h: Likewise.
20411         * locale/programs/ld-address.c: Likewise.
20412         * locale/programs/ld-collate.c: Likewise.
20413         * locale/programs/ld-ctype.c: Likewise.
20414         * locale/programs/ld-identification.c: Likewise.
20415         * locale/programs/ld-measurement.c: Likewise.
20416         * locale/programs/ld-messages.c: Likewise.
20417         * locale/programs/ld-monetary.c: Likewise.
20418         * locale/programs/ld-name.c: Likewise.
20419         * locale/programs/ld-numeric.c: Likewise.
20420         * locale/programs/ld-paper.c: Likewise.
20421         * locale/programs/ld-telephone.c: Likewise.
20422         * locale/programs/ld-time.c: Likewise.
20423         * locale/programs/linereader.c: Likewise.
20424         * locale/programs/locale.c: Likewise.
20425         * locale/programs/locarchive.c: Likewise.
20426         * locale/programs/locfile.h: Likewise.
20427         * locale/programs/repertoire.c: Likewise.
20428         * locale/programs/simple-hash.c: Likewise.
20429         * locale/programs/simple-hash.h: Likewise.
20430         * malloc/memusage.c: Likewise.
20431         * malloc/memusagestat.c: Likewise.
20432         * nis/nis_defaults.c: Likewise.
20433         * nis/nis_hash.c: Likewise.
20434         * nis/nis_print.c: Likewise.
20435         * nis/nis_xdr.c: Likewise.
20436         * nscd/connections.c: Likewise.
20437         * nscd/hstcache.c: Likewise.
20438         * nscd/nscd_gethst_r.c: Likewise.
20439         * nscd/nscd_getserv_r.c: Likewise.
20440         * nscd/nscd_helper.c: Likewise.
20441         * nscd/servicescache.c: Likewise.
20442         * nss/makedb.c: Likewise.
20443         * nss/nss_db/db-XXX.c: Likewise.
20444         * nss/nss_db/db-initgroups.c: Likewise.
20445         * nss/nss_db/db-netgrp.c: Likewise.
20446         * nss/nss_files/files-network.c: Likewise.
20447         * nss/nss_files/files-parse.c: Likewise.
20448         * posix/bug-regex5.c: Likewise.
20449         * posix/fnmatch_loop.c: Likewise.
20450         * posix/regcomp.c: Likewise.
20451         * posix/regexec.c: Likewise.
20452         * posix/tst-rfc3484-2.c: Likewise.
20453         * posix/tst-rfc3484-3.c: Likewise.
20454         * posix/tst-rfc3484.c: Likewise.
20455         * resolv/nss_dns/dns-canon.c: Likewise.
20456         * resolv/nss_dns/dns-network.c: Likewise.
20457         * resolv/res_init.c: Likewise.
20458         * resolv/res_mkquery.c: Likewise.
20459         * resolv/tst-aton.c: Likewise.
20460         * stdlib/cxa_atexit.c: Likewise.
20461         * stdlib/cxa_finalize.c: Likewise.
20462         * stdlib/gen-fpioconst.c: Likewise.
20463         * stdlib/strtol_l.c: Likewise.
20464         * string/tst-endian.c: Likewise.
20465         * sunrpc/auth_des.c: Likewise.
20466         * sunrpc/clnt_udp.c: Likewise.
20467         * sunrpc/rtime.c: Likewise.
20468         * sunrpc/svcauth_des.c: Likewise.
20469         * sunrpc/xdr.c: Likewise.
20470         * sunrpc/xdr_intXX_t.c: Likewise.
20471         * sunrpc/xdr_rec.c: Likewise.
20472         * sysdeps/generic/ldconfig.h: Likewise.
20473         * sysdeps/generic/ldsodefs.h: Likewise.
20474         * sysdeps/generic/memusage.h: Likewise.
20475         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20476         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20477         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20478         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20479         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20480         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20481         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20482         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20483         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20484         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20485         * sysdeps/posix/getaddrinfo.c: Likewise.
20486         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20487         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20488         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20489         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20490         * sysdeps/powerpc/test-gettimebase.c: Likewise.
20491         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20492         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20493         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20494         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20495         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20496         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20497         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20498         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20499         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20500         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20501         * sysdeps/x86_64/dl-tls.h: Likewise.
20502         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20503         * time/alt_digit.c: Likewise.
20504         * time/era.c: Likewise.
20505         * wcsmbs/tst-c16c32-1.c: Likewise.
20507 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20509         * math/libm-test.inc (struct test_sincos_data): New type.
20510         (RUN_TEST_LOOP_sincos): New macro.
20511         (sincos_test_data): New variable.
20512         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20514 2013-05-16  Richard Henderson  <rth@redhat.com>
20516         * math/atest-exp2.c (LIMB64): New macro.
20517         (CONSTSZ): New macro.
20518         (mp_exp1, mp_exp_m1, mp_log2): New variables.
20519         (hexdig): Move ...
20520         (print_mpn_fp): ... to function scope.
20521         (read_mpn_hex): Remove.
20522         (get_log2): Remove.
20523         (exp2_mpn): Use mp_log2.
20524         (main): Use mp_exp1.
20526 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20528         * math/libm-test.inc: Remove comment about not testing "inexact"
20529         exceptions.
20530         (INEXACT_EXCEPTION): New macro.
20531         (NO_INEXACT_EXCEPTION): Likewise.
20532         (INVALID_EXCEPTION_OK): Update value.
20533         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20534         (OVERFLOW_EXCEPTION_OK): Likewise.
20535         (UNDERFLOW_EXCEPTION_OK): Likewise.
20536         (IGNORE_ZERO_INF_SIGN): Likewise.
20537         (ERRNO_UNCHANGED): Likewise.
20538         (ERRNO_EDOM): Likewise.
20539         (ERRNO_ERANGE): Likewise.
20540         (test_exceptions): Handle testing "inexact" exceptions.
20541         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
20542         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
20543         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
20544         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
20545         INEXACT_EXCEPTION.
20546         (rint_towardzero_test_data): Likewise.
20547         (rint_downward_test_data): Likewise.
20548         (rint_upward_test_data): Likewise.
20550         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
20551         with OVERFLOW_EXCEPTION.
20552         (exp10_test_data): Likewise.
20553         (exp2_test_data): Likewise.
20554         (expm1_test_data): Likewise.
20555         (lgamma_test_data): Likewise.
20556         (pow_test_data): Likewise.
20557         (tgamma_test_data): Likewise.
20558         (yn_test_data): Remove duplicate test of overflow.
20560         * math/libm-test.inc (struct test_cc_c_data): New type.
20561         (RUN_TEST_LOOP_cc_c): New macro.
20562         (cpow_test_data): New variable.
20563         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
20565         * math/libm-test.inc (struct test_f_L_data): New type.
20566         (RUN_TEST_LOOP_f_L): New macro.
20567         (llrint_test_data): New variable.
20568         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
20569         (llrint_tonearest_test_data): New variable.
20570         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
20571         (llrint_towardzero_test_data): New variable.
20572         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
20573         (llrint_downward_test_data): New variable.
20574         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
20575         (llrint_upward_test_data): New variable.
20576         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
20577         (llround_test_data): New variable.
20578         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
20580 2013-05-13  Peter Collingbourne  <pcc@google.com>
20582         * math/atest-exp2.c (get_log2): Remove const attribute.
20584 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
20586         * math/libm-test.inc (struct test_f_l_data): New type.
20587         (RUN_TEST_LOOP_f_l): New macro.
20588         (lrint_test_data): New variable.
20589         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
20590         (lrint_tonearest_test_data): New variable.
20591         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
20592         (lrint_towardzero_test_data): New variable.
20593         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
20594         (lrint_downward_test_data): New variable.
20595         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
20596         (lrint_upward_test_data): New variable.
20597         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
20598         (lround_test_data): New variable.
20599         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
20601 2013-05-15  Peter Collingbourne  <pcc@google.com>
20603         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
20604         (EXTRACT_WORDS64) Use where appropriate.
20605         (INSERT_WORDS64) Likewise.
20607         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
20608         constraints with x constraints.
20609         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
20611         * malloc/obstack.c (_obstack_compat): Add initializer.
20613 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
20615         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
20616         si_trapno and add si_addr_lsb to _sifields.sigfault.
20617         (si_trapno): Remove macro.
20618         (si_addr_lsb): Define new macro.
20619         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20621 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
20623         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
20624         instead of TEST_f_l.
20625         (llrint_test_tonearest): Likewise.
20626         (llrint_test_towardzero): Likewise.
20627         (llrint_test_downward): Likewise.
20628         (llrint_test_upward): Likewise.
20629         (llround_test): Likewise.
20631         * math/libm-test.inc (struct test_f_i_data): Add comment.
20632         (RUN_TEST_LOOP_f_b): New macro.
20633         (RUN_TEST_LOOP_f_b_tg): Likewise.
20634         (finite_test_data): New variable.
20635         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
20636         (isfinite_test_data): New variable.
20637         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20638         (isinf_test_data): New variable.
20639         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20640         (isnan_test_data): New variable.
20641         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20642         (isnormal_test_data): New variable.
20643         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20644         (issignaling_test_data): New variable.
20645         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20646         (signbit_test_data): New variable.
20647         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20649         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
20650         with INVALID_EXCEPTION.
20651         (acosh_test_data): Likewise.
20652         (asin_test_data): Likewise.
20653         (atanh_test_data): Likewise.
20654         (fmod_test_data): Likewise.
20655         (log_test_data): Likewise.
20656         (log10_test_data): Likewise.
20657         (log2_test_data): Likewise.
20658         (pow_test_data): Likewise.
20659         (sqrt_test_data): Likewise.
20660         (y0_test_data): Likewise.
20661         (y1_test_data): Likewise.
20662         (yn_test_data): Likewise.
20664         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
20665         function contents.
20667         * math/libm-test.inc (struct test_ff_i_data): New type.
20668         (RUN_TEST_LOOP_ff_i_tg): New macro.
20669         (isgreater_test_data): New variable.
20670         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20671         (isgreaterequal_test_data): New variable.
20672         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20673         (isless_test_data): New variable.
20674         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20675         (islessequal_test_data): New variable.
20676         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20677         (islessgreater_test_data): New variable.
20678         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20679         (isunordered_test_data): New variable.
20680         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20682 2013-05-14  David S. Miller  <davem@davemloft.net>
20684         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20686 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
20688         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
20690         * math/libm-test.inc (struct test_fF_f1_data): Change type of
20691         extra_test to int.
20692         (struct test_f_i_data): Change type of max_ulp to int.
20694         * math/libm-test.inc (test_ffI_f1_data): New type.
20695         (RUN_TEST_LOOP_ffI_f1): New macro.
20696         (remquo_test_data): New variable.
20697         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
20699         * setjmp/tst-setjmp-fp.c: New file.
20700         * setjmp/Makefile (tests): Add tst-setjmp-fp.
20701         (link-libm): New variable.
20702         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
20704         * math/libm-test.inc (struct test_f_i_data): New type.
20705         (RUN_TEST_LOOP_f_i): New macro.
20706         (RUN_TEST_LOOP_f_i_tg): Likewise.
20707         (fpclassify_test_data): New variable.
20708         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
20709         (ilogb_test_data): New variable.
20710         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
20712         * math/libm-test.inc (scalbln_test): Correct function name in END
20713         call.
20715         * math/libm-test.inc (struct test_f_f1_data): Add comment.
20716         (RUN_TEST_LOOP_fI_f1): New macro.
20717         (frexp_test_data): New variable.
20718         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
20720         * math/libm-test.inc (struct test_fF_f1_data): New type.
20721         (RUN_TEST_LOOP_fF_f1): New macro.
20722         (modf_test_data): New variable.
20723         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
20725         * math/libm-test.inc (struct test_f_f1_data): New type.
20726         (RUN_TEST_LOOP_f_f1): New macro.
20727         (gamma_test_data): New variable.
20728         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20729         (lgamma_test_data): New variable.
20730         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20732 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
20734         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
20735         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
20736         (main): Comment "tls" pseudo-hwcap.
20738 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
20740         * math/libm-test.inc (struct test_fl_f_data): New type.
20741         (RUN_TEST_LOOP_fl_f): New variable.
20742         (scalbln_test_data): New variable.
20743         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
20745         * math/libm-test.inc (struct test_fi_f_data): New type.
20746         (RUN_TEST_LOOP_fi_f): New macro.
20747         (ldexp_test_data): New variable.
20748         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
20749         (scalbn_test_data): New variable.
20750         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
20752         * math/libm-test.inc (struct test_c_f_data): New type.
20753         (RUN_TEST_LOOP_c_f): New macro.
20754         (cabs_test_data): New variable.
20755         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
20756         (carg_test_data): New variable.
20757         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
20758         (cimag_test_data): New variable.
20759         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
20760         (creal_test_data): New variable.
20761         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
20763         * math/libm-test.inc (struct test_if_f_data): New type.
20764         (RUN_TEST_LOOP_if_f): New macro.
20765         (jn_test_data): New variable.
20766         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
20767         (yn_test_data): New variable.
20768         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
20770         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
20772 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20774         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
20775         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
20777 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
20779         * benchtests/Makefile (CPPFLAGS-nonlib): Add
20780         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
20781         (bench-deps): Add bench-timing.h.
20782         * benchtests-bench-skeleton.c: Include bench-timing.h.
20783         (main): Use TIMING_* macros instead of clock_gettime.
20784         * benchtests/bench-timing.h: New file.
20786         [BZ #14582]
20787         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20788         Renamed from _LIB_VERSION.
20789         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20791 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
20793         * math/libm-test.inc (struct test_fff_f_data): New type.
20794         (RUN_TEST_LOOP_fff_f): New macro.
20795         (fma_test_data): New variable.
20796         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20797         (fma_towardzero_test_data): New variable.
20798         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20799         (fma_downward_test_data): New variable.
20800         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20801         (fma_upward_test_data): New variable.
20802         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20804         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20805         (struct test_c_c_data): New type.
20806         (RUN_TEST_LOOP_c_c): New macro.
20807         (cacos_test_data): New variable.
20808         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20809         (cacosh_test_data): New variable.
20810         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20811         (casin_test_data): New variable.
20812         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20813         (casinh_test_data): New variable.
20814         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20815         (catan_test_data): New variable.
20816         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20817         (catanh_test_data): New variable.
20818         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20819         (ccos_test_data): New variable.
20820         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20821         (ccosh_test_data): New variable.
20822         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20823         (cexp_test_data): New variable.
20824         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20825         (clog_test_data): New variable.
20826         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20827         (clog10_test_data): New variable.
20828         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20829         (conj_test_data): New variable.
20830         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20831         (cproj_test_data): New variable.
20832         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20833         (csin_test_data): New variable.
20834         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20835         (csinh_test_data): New variable.
20836         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20837         (csqrt_test_data): New variable.
20838         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20839         (ctan_test_data): New variable.
20840         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20841         (ctan_tonearest_test_data): New variable.
20842         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20843         (ctan_towardzero_test_data): New variable.
20844         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20845         (ctan_downward_test_data): New variable.
20846         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20847         (ctan_upward_test_data): New variable.
20848         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20849         (ctanh_test_data): New variable.
20850         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20851         (ctanh_tonearest_test_data): New variable.
20852         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20853         (ctanh_towardzero_test_data): New variable.
20854         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20855         (ctanh_downward_test_data): New variable.
20856         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20857         (ctanh_upward_test_data): New variable.
20858         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20859         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20860         of BUILD_COMPLEX.
20862         * math/libm-test.inc (struct test_ff_f_data): New type.
20863         (struct test_ff_f_data_nexttoward): Likewise.
20864         (RUN_TEST_LOOP_2_f): New macro.
20865         (RUN_TEST_LOOP_ff_f): Likewise.
20866         (atan2_test_data): New variable.
20867         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20868         (copysign_test_data): New variable.
20869         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20870         (fdim_test_data): New variable.
20871         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20872         (fmax_test_data): New variable.
20873         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20874         (fmin_test_data): New variable.
20875         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20876         (fmod_test_data): New variable.
20877         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20878         (hypot_test_data): New variable.
20879         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20880         (nextafter_test_data): New variable.
20881         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20882         (nexttoward_test_data): New variable.
20883         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20884         (pow_test_data): New variable.
20885         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20886         (pow_tonearest_test_data): New variable.
20887         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20888         (pow_towardzero_test_data): New variable.
20889         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20890         (pow_downward_test_data): New variable.
20891         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20892         (pow_upward_test_data): New variable.
20893         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20894         (remainder_test_data): New variable.
20895         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
20896         (scalb_test_data): New variable.
20897         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
20898         * sysdeps/i386/fpu/libm-test-ulps: Update.
20900 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
20902         * math/libm-test.inc (fma_test): Use max_value instead of local
20903         variable fltmax.
20904         (nextafter_test): Likewise.
20906         * math/libm-test.inc (acos_towardzero_test_data): New variable.
20907         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20908         (acos_downward_test_data): New variable.
20909         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20910         (acos_upward_test_data): New variable.
20911         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20912         (acosh_test_data): New variable.
20913         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
20914         (asin_test_data): New variable.
20915         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
20916         (asin_tonearest_test_data): New variable.
20917         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20918         (asin_towardzero_test_data): New variable.
20919         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20920         (asin_downward_test_data): New variable.
20921         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20922         (asin_upward_test_data): New variable.
20923         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20924         (asinh_test_data): New variable.
20925         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
20926         (atan_test_data): New variable.
20927         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
20928         (atanh_test_data): New variable.
20929         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
20930         (cbrt_test_data): New variable.
20931         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
20932         (ceil_test_data): New variable.
20933         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
20934         (cos_test_data): New variable.
20935         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
20936         (cos_tonearest_test_data): New variable.
20937         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20938         (cos_towardzero_test_data): New variable.
20939         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20940         (cos_downward_test_data): New variable.
20941         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20942         (cos_upward_test_data): New variable.
20943         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20944         (cosh_test_data): New variable.
20945         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
20946         (cosh_tonearest_test_data): New variable.
20947         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20948         (cosh_towardzero_test_data): New variable.
20949         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20950         (cosh_downward_test_data): New variable.
20951         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20952         (cosh_upward_test_data): New variable.
20953         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20954         (erf_test_data): New variable.
20955         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
20956         (erfc_test_data): New variable.
20957         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
20958         (exp_test_data): New variable.
20959         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
20960         (exp_tonearest_test_data): New variable.
20961         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20962         (exp_towardzero_test_data): New variable.
20963         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20964         (exp_downward_test_data): New variable.
20965         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20966         (exp_upward_test_data): New variable.
20967         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20968         (exp10_test_data): New variable.
20969         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
20970         (exp2_test_data): New variable.
20971         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
20972         (expm1_test_data): New variable.
20973         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
20974         (fabs_test_data): New variable.
20975         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
20976         (floor_test_data): New variable.
20977         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
20978         (j0_test_data): New variable.
20979         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
20980         (j1_test_data): New variable.
20981         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
20982         (log_test_data): New variable.
20983         (log_test): Run tests with RUN_TEST_LOOP_f_f.
20984         (log10_test_data): New variable.
20985         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
20986         (log1p_test_data): New variable.
20987         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
20988         (log2_test_data): New variable.
20989         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
20990         (logb_test_data): New variable.
20991         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
20992         (logb_downward_test_data): New variable.
20993         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20994         (nearbyint_test_data): New variable.
20995         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
20996         (rint_test_data): New variable.
20997         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
20998         (rint_tonearest_test_data): New variable.
20999         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21000         (rint_towardzero_test_data): New variable.
21001         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21002         (rint_downward_test_data): New variable.
21003         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21004         (rint_upward_test_data): New variable.
21005         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21006         (round_test_data): New variable.
21007         (round_test): Run tests with RUN_TEST_LOOP_f_f.
21008         (sin_test_data): New variable.
21009         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
21010         (sin_tonearest_test_data): New variable.
21011         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21012         (sin_towardzero_test_data): New variable.
21013         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21014         (sin_downward_test_data): New variable.
21015         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21016         (sin_upward_test_data): New variable.
21017         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21018         (sinh_test_data): New variable.
21019         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
21020         (sinh_tonearest_test_data): New variable.
21021         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21022         (sinh_towardzero_test_data): New variable.
21023         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21024         (sinh_downward_test_data): New variable.
21025         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21026         (sinh_upward_test_data): New variable.
21027         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21028         (sqrt_test_data): New variable.
21029         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
21030         (tan_test_data): New variable.
21031         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
21032         (tan_tonearest_test_data): New variable.
21033         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21034         (tan_towardzero_test_data): New variable.
21035         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21036         (tan_downward_test_data): New variable.
21037         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21038         (tan_upward_test_data): New variable.
21039         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21040         (tanh_test_data): New variable.
21041         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
21042         (tgamma_test_data): New variable.
21043         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
21044         (trunc_test_data): New variable.
21045         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21046         (y0_test_data): New variable.
21047         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21048         (y1_test_data): New variable.
21049         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21050         (significand_test_data): New variable.
21051         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21053 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
21055         [BZ #12387]
21056         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21058 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21060         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21062 2013-05-10  Andreas Jaeger  <aj@suse.de>
21064         [BZ #15448]
21065         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21066         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21068 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
21070         * math/gen-libm-test.pl (adjust_arg): New function.
21071         (special_functions): Handle generating output in both functions
21072         and arrays.
21073         (parse_args): Likewise.
21074         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
21075         $in_func argument to parse_args.
21076         * math/libm-test.inc (struct test_f_f_data): New type.
21077         (IF_ROUND_INIT_): New macro.
21078         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21079         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21080         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21081         (IF_ROUND_INIT_FE_UPWARD): Likewise.
21082         (ROUND_RESTORE_): Likewise.
21083         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21084         (ROUND_RESTORE_FE_TONEAREST): Likewise.
21085         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21086         (ROUND_RESTORE_FE_UPWARD): Likewise.
21087         (RUN_TEST_LOOP_f_f): New macro.
21088         (acos_test_data): New variable.
21089         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21090         (acos_tonearest_test_data): New variable.
21091         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21093 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21095         * benchtests/bench-skeleton.c (startup): Fix coding style.
21097 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
21099         [BZ #6809]
21100         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21101         negative infinity argument.
21102         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21103         negative infinity argument.
21104         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21105         negative infinity argument.
21106         * math/libm-test.inc (tgamma_test): Expect errno to be set for
21107         domain errors.
21109 2013-05-10  Florian Weimer  <fweimer@redhat.com>
21111         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21112         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21113         * iconv/iconv_prog.c (main): Likewise.
21114         * locale/programs/charmap-dir.c (charmap_readdir)
21115         (fopen_uncompressed): Likewise.
21116         * locale/programs/locfile.c (siblings_uncached)
21117         (write_locale_data): Use lstat64 instead of lstat.
21118         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21119         stat.
21121 2013-05-10  Andreas Jaeger  <aj@suse.de>
21123         [BZ #15395]
21124         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21125         localization.
21126         Include <locale.h>.
21128 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
21130         * elf/dl-close.c (_dl_close_worker): Add comments.
21132 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
21134         [BZ #15359]
21135         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21136         high part of pi/2.
21137         (__ieee754_rem_pio2l): Update comments.
21139         [BZ #15429]
21140         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21141         high part of pi/2.
21142         (__ieee754_rem_pio2l): Update comments.
21144         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21145         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21147         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21148         M_PI_4l.
21150         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21151         (M_PI_34_LOG10El): Likewise.
21152         (M_PI2_LOG10El): Likewise.
21153         (M_PI4_LOG10El): Likewise.
21154         (M_PI_LOG10El): Likewise.
21156 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21158         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21160 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
21162         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21163         (MINUS_ZERO_INIT): Likewise.
21164         (PLUS_INFTY_INIT): Likewise.
21165         (MINUS_INFTY_INIT): Likewise.
21166         (QNAN_VALUE_INIT): Likewise.
21167         (MAX_VALUE_INIT): Likewise.
21168         (MIN_VALUE_INIT): Likewise.
21169         (MIN_SUBNORM_VALUE_INIT): Likewise.
21170         (plus_zero): Initialize with PLUS_ZERO_INIT.
21171         (minus_zero): Initialize with MINUS_ZERO_INIT.
21172         (plus_infty): Initialize with PLUS_INFTY_INIT.
21173         (minus_infty): Initialize with MINUS_INFTY_INIT.
21174         (qnan_value): Initialize with QNAN_VALUE_INIT.
21175         (max_value): Initialize with MAX_VALUE_INIT.
21176         (min_value): Initialize with MIN_VALUE_INIT.
21177         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21179         * math/libm-test.inc (RUN_TEST_if_f): New macro.
21180         (jn_test): Use TEST_if_f instead of TEST_ff_f.
21181         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21182         (yn_test): Use TEST_if_f instead of TEST_ff_f.
21184         * math/libm-test.inc (RUN_TEST_f_f): New macro.
21185         (RUN_TEST_2_f): Likewise.
21186         (RUN_TEST_ff_f): Likewise.
21187         (RUN_TEST_fi_f): Likewise.
21188         (RUN_TEST_fl_f): Likewise.
21189         (RUN_TEST_fff_f): Likewise.
21190         (RUN_TEST_c_f): Likewise.
21191         (RUN_TEST_f_f1): Likewise.
21192         (RUN_TEST_fF_f1): Likewise.
21193         (RUN_TEST_fI_f1): Likewise.
21194         (RUN_TEST_ffI_f1): Likewise.
21195         (RUN_TEST_c_c): Likewise.
21196         (RUN_TEST_cc_c): Likewise.
21197         (RUN_TEST_f_i): Likewise.
21198         (RUN_TEST_f_i_tg): Likewise.
21199         (RUN_TEST_ff_i_tg): Likewise.
21200         (RUN_TEST_f_b): Likewise.
21201         (RUN_TEST_f_b_tg): Likewise.
21202         (RUN_TEST_f_l): Likewise.
21203         (RUN_TEST_f_L): Likewise.
21204         (RUN_TEST_sincos): Likewise.
21205         * math/gen-libm-test.pl (new_test): Take new argument to indicate
21206         whether to show exceptions.  Do not include ");\n" in return
21207         value.
21208         (special_functions): Output call to RUN_TEST_sincos instead of
21209         check_float calls.  Update calls to new_test.
21210         (parse_args): Output call to single RUN_TEST_* macro instead of
21211         check_* calls and other assignments.  Update calls to new_test.
21213         [BZ #2546]
21214         [BZ #2560]
21215         [BZ #5159]
21216         [BZ #15426]
21217         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21218         input to result for tgamma overflow.
21219         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21220         (gamma_coeff): New variable.
21221         (NCOEFF): New macro.
21222         (gamma_positive): New function.
21223         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21224         underflow here.  Use gamma_positive instead of exp (lgamma) for
21225         other arguments.
21226         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21227         (gamma_coeff): New variable.
21228         (NCOEFF): New macro.
21229         (gammaf_positive): New function.
21230         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21231         underflow here.  Use gamma_positive instead of exp (lgamma) for
21232         other arguments.
21233         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21234         (gamma_coeff): New variable.
21235         (NCOEFF): New macro.
21236         (gammal_positive): New function.
21237         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21238         underflow here.  Use gamma_positive instead of exp (lgamma) for
21239         other arguments.
21240         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21241         (gamma_coeff): New variable.
21242         (NCOEFF): New macro.
21243         (gammal_positive): New function.
21244         (__ieee754_gammal_r): Handle positive infinity, overflow and
21245         underflow here.  Handle NaN the same as positive infinity.  Remove
21246         check x < 0xffffffff for negative integers.  Use gamma_positive
21247         instead of exp (lgamma) for other arguments.
21248         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21249         (gamma_coeff): New variable.
21250         (NCOEFF): New macro.
21251         (gammal_positive): New function.
21252         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21253         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21254         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21255         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21256         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21257         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21258         * sysdeps/generic/math_private.h (__gamma_productf): New
21259         prototype.
21260         (__gamma_product): Likewise.
21261         (__gamma_productl): Likewise.
21262         * math/Makefile (libm-calls): Add gamma_product.
21263         * math/libm-test.inc (tgamma_test): Add more tests.
21264         * sysdeps/i386/fpu/libm-test-ulps: Update.
21265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21267 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
21269         * benchtests/bench-skeleton.c (main): Preheat CPU.
21271 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
21273         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21275 2013-05-07  Roland McGrath  <roland@hack.frob.com>
21277         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21278         and _dl_skip_args_internal.
21280 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
21282         * manual/message.texi (Message Translation): Talk about users.
21283         Message to key mapping impacts design.
21285 2013-05-06  Roland McGrath  <roland@hack.frob.com>
21287         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21289         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21291         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21292         * sysdeps/wordsize-64/glob64.c: ... here.
21294         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21295         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21296         New macros.
21298         * debug/getlogin_r_chk.c: Moved to ...
21299         * login/getlogin_r_chk.c: ... here.
21300         * debug/Makefile (routines): Move getlogin_r_chk to ...
21301         * login/Makefile (routines): ... here.
21302         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21303         * login/Versions (libc: GLIBC_2.4): ... here.
21305         * io/poll.c (__poll): Renamed from poll.
21306         Add libc_hidden_def.
21307         (poll): Define as weak alias.
21309         * debug/ptsname_r_chk.c: Moved to ...
21310         * login/ptsname_r_chk.c: ... here.
21311         * debug/Makefile (routines): Move ptsname_r_chk to ...
21312         * login/Makefile (routines): ... here.
21313         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
21314         * login/Versions (libc: GLIBC_2.4): ... here.
21316         * posix/getlogin.c: Moved to ...
21317         * login/getlogin.c: ... here.
21318         * posix/getlogin_r.c: Moved to ...
21319         * login/getlogin_r.c: ... here.
21320         * posix/getlogin_r.c: Moved to ...
21321         * login/getlogin_r.c: ... here.
21322         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21323         * login/Makefile (routines): ... here.
21324         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
21325         * login/Versions (libc: GLIBC_2.0): ... here.
21327         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
21328         (setrlimit): Define as weak alias.
21330         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
21331         Call __ names for open, ftruncate, and close.
21332         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
21333         (truncate): Define as weak alias.
21335 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
21337         * math/gen-libm-test.pl (parse_args): Initialize x before each
21338         test of frexp, modf and remquo.
21340         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
21341         test signgam value.
21343 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21345         [BZ #15418]
21346         [BZ #15419]
21347         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
21348         internal tests.
21349         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21351 2013-05-06  Roland McGrath  <roland@hack.frob.com>
21353         * elf/dl-writev.h: New file.
21354         * elf/dl-misc.c: Include it.
21355         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
21356         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
21358 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
21360         * math/libm-test.inc (noXFails): Remove variable.
21361         (noXPasses): Likewise.
21362         (BUILD_COMPLEX_INT): Remove macro.
21363         (print_screen): Remove xfail argument.
21364         (print_screen_max_error): Likewise.
21365         (update_stats): Likewise.
21366         (print_max_error): Likewise.  Update calls to other affected
21367         functions.
21368         (print_complex_max_error): Likewise.
21369         (test_single_exception): Update calls to print_screen.
21370         (test_single_errno): Likewise.
21371         (check_float_internal): Remove xfail argument.  Update calls to
21372         other affected functions.
21373         (check_float): Likewise.
21374         (check_complex): Likewise.
21375         (check_int): Likewise.
21376         (check_long): Likewise.
21377         (check_bool): Likewise.
21378         (check_longlong): Likewise.
21379         (main): Don't print noXFails and noXPasses.
21380         * math/gen-libm-test.pl (top level): Don't mention expected
21381         failure handling in comment.
21382         (new_test): Don't handle expected failures.
21383         (parse_args): Don't mention expected failure handling in comment.
21384         (generate_testfile): Don't handle expected failures.
21385         (parse_ulps): Likewise.
21386         (print_ulps_file): Likewise.
21387         (get_failure): Remove function.
21388         (output_test): Don't handle expected failures.
21389         * make/README.libm-test: Don't mention expected failure handling.
21391         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
21392         (minus_zero): Likewise.
21393         (plus_infty): Likewise.
21394         (minus_infty): Likewise.
21395         (qnan_value): Likewise.
21396         (max_value): Likewise.
21397         (min_value): Likewise.
21398         (min_subnorm_value): Likewise.
21399         (initialize): Do not initialize those variables dynamically.
21401 2013-05-03  Roland McGrath  <roland@hack.frob.com>
21403         * io/open.c (__open_2): Moved to ...
21404         * io/open_2.c: ... this new file.
21405         * io/open64.c (__open64_2): Moved to ...
21406         * io/open64_2.c: ... this new file.
21407         * io/openat.c (__openat_2): Moved to ...
21408         * io/openat_2.c: ... this new file.
21409         * io/openat64.c (__openat64_2): Moved to ...
21410         * io/openat64_2.c: ... this new file.
21411         * io/Makefile (routines): Add them.
21412         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21413         * sysdeps/unix/sysv/linux/open_2.c: File removed.
21414         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21415         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21416         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21417         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21418         (__openat64): Add hidden_ver.
21419         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21420         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21422         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21423         Separately conditionalize setting of GLRO(dl_sysinfo) so
21424         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21425         as well, but the actual setting is only under [NEED_DL_SYSINFO].
21427 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21429         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21430         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21431         definition.
21432         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21433         * sysdeps/unix/sysv/linux/powerpc/init-first.c
21434         (_libc_vdso_platform_setup): Add __vdso_time initialization.
21435         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21436         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21438 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
21440         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21441         test signgam value.
21443         * math/libm-test.inc (hypot_test): Do not use
21444         IGNORE_ZERO_INF_SIGN.
21446 2013-05-03  Andreas Jaeger  <aj@suse.de>
21448         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21449         Linux 3.9.
21450         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21451         (PF_MAX): Adjust for VSOCK change.
21453 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21455         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21457 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
21459         [BZ #15264]
21460         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21461         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21462         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21464 2013-05-02  David S. Miller  <davem@davemloft.net>
21466         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21468 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
21470         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21472 2013-05-01  Roland McGrath  <roland@hack.frob.com>
21474         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21476 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
21478         [BZ #14952]
21479         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21480         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21481         Use __attribute__ ((__gnu_inline__)).
21482         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21483         Don't use __attribute__ ((__gnu_inline__)).
21485 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
21487         [BZ #15423]
21488         * math/s_catan.c (__catan): Handle small real or imaginary part of
21489         input specially to avoid spurious underflow.
21490         * math/s_catanf.c (__catanf): Likewise.
21491         * math/s_catanh.c (__catanh): Likewise.
21492         * math/s_catanhf.c (__catanhf): Likewise.
21493         * math/s_catanhl.c (__catanhl): Likewise.
21494         * math/s_catanl.c (__catanl): Likewise.
21495         * math/libm-test.inc (catan_test): Add more tests.
21496         (catanh_test): Likewise.
21497         * sysdeps/i386/fpu/libm-test-ulps: Update.
21498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21500 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21502         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21504 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
21506         [BZ #15416]
21507         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21508         accurately for denominator in atan2.
21509         * math/s_catanf.c (__catanf): Likewise.
21510         * math/s_catanh.c (__catanh): Likewise.
21511         * math/s_catanhf.c (__catanhf): Likewise.
21512         * math/s_catanhl.c (__catanhl): Likewise.
21513         * math/s_catanl.c (__catanl): Likewise.
21514         * math/libm-test.inc (catan_test): Add more tests.
21515         (catanh_test): Likewise.
21516         * sysdeps/i386/fpu/libm-test-ulps: Update.
21517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21519 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21521         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
21523         * benchtests/Makefile (bench): Remove slow benchmarks.
21524         * benchtests/atan-inputs: Add slow benchmark inputs.
21525         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
21526         (BENCH_FUNC): Accept variant offset.
21527         (VARIANT): Define.
21528         * benchtests/bench-skeleton.c (main): Run benchmark for each
21529         variant.
21530         * benchtests/cos-inputs: Add slow benchmark inputs.
21531         * benchtests/exp-inputs: Likewise.
21532         * benchtests/pow-inputs: Likewise.
21533         * benchtests/sin-inputs: Likewise.
21534         * benchtests/slowatan-inputs: Remove.
21535         * benchtests/slowatan.c: Remove.
21536         * benchtests/slowcos-inputs: Remove.
21537         * benchtests/slowcos.c: Remove.
21538         * benchtests/slowexp-inputs: Remove.
21539         * benchtests/slowexp.c: Remove.
21540         * benchtests/slowpow-inputs: Remove.
21541         * benchtests/slowpow.c: Remove.
21542         * benchtests/slowsin-inputs: Remove.
21543         * benchtests/slowsin.c: Remove.
21544         * benchtests/slowtan-inputs: Remove.
21545         * benchtests/slowtan.c: Remove.
21546         * benchtests/tan-inputs: Add slow benchmark inputs.
21547         * scripts/bench.pl: Parse comments and directives.
21549         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
21550         in CPPFLAGS.
21551         ($(objpfx)bench-%.c): Remove *-ITER.
21552         * benchtests/bench-modf.c: Remove definition of ITER.
21553         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
21554         (main): Loop for DURATION seconds instead of fixed number of
21555         iterations.
21556         * scripts/bench.pl: Don't expect iterations in parameters.
21558 2013-04-29  Roland McGrath  <roland@hack.frob.com>
21560         * io/fchdir.c (__fchdir): Renamed from fchdir.
21561         (fchdir): Define as weak alias.
21563 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
21565         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
21566         (ERRNO_EDOM): Likewise.
21567         (ERRNO_ERANGE): Likewise.
21568         (noErrnoTests): New variable.
21569         (init_max_error): Set errno to 0.
21570         (test_single_errno): New function.
21571         (test_errno): Likewise.
21572         (check_float_internal): Call test_errno.  Set errno to 0.
21573         (check_complex): Refer to errno tests in comment.
21574         (check_int): Call test_errno.  Set errno to 0.
21575         (check_long): Likewise.
21576         (check_bool): Likewise.
21577         (check_longlong): Likewise.
21578         (cos_test): Use ERRNO_* flags for errno tests instead of
21579         check_int.
21580         (expm1_test): Likewise.
21581         (fmod_test): Likewise.
21582         (ilogb_test): Likewise.
21583         (lgamma_test): Likewise.
21584         (pow_test): Likewise.
21585         (remainder_test): Likewise.
21586         (sin_test): Likewise.
21587         (tan_test): Likewise.
21588         (yn_test): Likewise.
21589         (initialize): Set errno to 0.
21590         (main): Print number of errno tests.
21591         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
21593 2013-04-29  Andreas Jaeger  <aj@suse.de>
21595         [BZ #15084]
21596         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
21597         and RES_USEVC.
21599         [BZ #15085]
21600         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
21601         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
21602         unimplemented.
21604         [BZ #15380]
21605         * stdlib/random.c (__initstate): Return NULL if
21606         __initstate fails.
21608         [BZ #15086]
21609         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
21610         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
21611         RES_SNGLKUPREOP.
21613 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21615         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21617 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
21619         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
21620         of individual tests.
21621         (casin_test): Likewise.
21622         (casinh_test): Likewise.
21624 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
21626         [BZ #15409]
21627         * math/s_catan.c (__catan): Handle arguments with large real or
21628         imaginary part separately without squaring.
21629         * math/s_catanf.c (__catanf): Likewise.
21630         * math/s_catanh.c (__catanh): Likewise.
21631         * math/s_catanhf.c (__catanhf): Likewise.
21632         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21633         and redefine.
21634         (__catanhl): Handle arguments with large real or imaginary part
21635         separately without squaring.
21636         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21637         and redefine.
21638         (__catanl): Handle arguments with large real or imaginary part
21639         separately without squaring.
21640         * math/libm-test.inc (catan_test): Add more tests.
21641         (catanh_test): Likewise.
21642         * sysdeps/i386/fpu/libm-test-ulps: Update.
21643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21645 2013-04-27  Andreas Jaeger  <aj@suse.de>
21647         [BZ #15007]
21648         * stdlib/stdlib.h: Update guards for qecvt.
21649         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
21650         <stdlib.h>.
21652 2013-04-27  Allan McRae  <allan@archlinux.org>
21654         * sysdeps/i386/fpu/libm-test-ulps: Update.
21656 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
21658         [BZ #15406]
21659         * math/s_catan.c: Include <float.h>.
21660         (__catan): Ensure underflow exception occurs for underflowed
21661         result.
21662         * math/s_catanf.c: Include <float.h>.
21663         (__catanf): Ensure underflow exception occurs for underflowed
21664         result.
21665         * math/s_catanh.c: Include <float.h>.
21666         (__catanh): Ensure underflow exception occurs for underflowed
21667         result.
21668         * math/s_catanhf.c: Include <float.h>.
21669         (__catanhf): Ensure underflow exception occurs for underflowed
21670         result.
21671         * math/s_catanhl.c: Include <float.h>.
21672         (__catanhl): Ensure underflow exception occurs for underflowed
21673         result.
21674         * math/s_catanl.c: Include <float.h>.
21675         (__catanl): Ensure underflow exception occurs for underflowed
21676         result.
21677         * math/libm-test.inc (catan_test): Add more tests.
21678         (catanh_test): Likewise.
21680         [BZ #15405]
21681         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
21682         underflowed result.
21683         * math/s_ccoshf.c (__ccoshf): Likewise.
21684         * math/s_ccoshl.c (__ccoshl): Likewise.
21685         * math/s_csin.c (__csin): Likewise.
21686         * math/s_csinf.c (__csinf): Likewise.
21687         * math/s_csinh.c (__csinh): Likewise.
21688         * math/s_csinhf.c (__csinhf): Likewise.
21689         * math/s_csinhl.c (__csinhl): Likewise.
21690         * math/s_csinl.c (__csinl): Likewise.
21691         * math/libm-test.inc (ccos_test): Add more tests.
21692         (ccosh_test): Likewise.
21693         (csin_test): Likewise.
21694         (csinh_test): Likewise.
21696 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21698         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
21699         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
21700         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
21701         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
21702         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
21703         powerpc/power5+/fpu folders.
21704         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
21707 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
21709         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21711 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
21713         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
21714         additions to variable.
21715         [$(config-machine) = x86_64] (modules-names): Likewise.
21716         ($(objpfx)tst-audit3): Remove dependency.
21717         ($(objpfx)tst-audit3.out): Likewise.
21718         ($(objpfx)tst-audit4): Likewise.
21719         ($(objpfx)tst-audit4.out): Likewise.
21720         ($(objpfx)tst-audit5): Likewise.
21721         ($(objpfx)tst-audit5.out): Likewise.
21722         ($(objpfx)tst-audit6): Likewise.
21723         ($(objpfx)tst-audit6.out): Likewise.
21724         ($(objpfx)tst-audit7): Likewise.
21725         ($(objpfx)tst-audit7.out): Likewise.
21726         (tst-audit3-ENV): Remove variable.
21727         (tst-audit4-ENV): Likewise.
21728         (tst-audit5-ENV): Likewise.
21729         (tst-audit6-ENV): Likewise.
21730         (tst-audit7-ENV): Likewise.
21731         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
21732         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
21733         addition to variable.
21734         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
21735         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
21736         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
21737         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
21738         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
21739         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
21740         tst-audit3, tst-audit4 and tst-audit5.
21741         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
21742         tst-audit6 and tst-audit7.
21743         [$(subdir) = elf] (modules-names): Add audit modules for those
21744         tests.
21745         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
21746         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
21747         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
21748         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
21749         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
21750         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
21751         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
21752         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
21753         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
21754         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
21755         [$(subdir) = elf] (tst-audit3-ENV): New variable.
21756         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
21757         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
21758         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
21759         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
21760         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
21761         Likewise.
21762         [$(subdir) = elf && $(config-cflags-avx) = yes]
21763         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
21764         [$(subdir) = elf && $(config-cflags-avx) = yes]
21765         (CFLAGS-tst-auditmod4a.c): Likewise.
21766         [$(subdir) = elf && $(config-cflags-avx) = yes]
21767         (CFLAGS-tst-auditmod4b.c): Likewise.
21768         [$(subdir) = elf && $(config-cflags-avx) = yes]
21769         (CFLAGS-tst-auditmod6b.c): Likewise.
21770         [$(subdir) = elf && $(config-cflags-avx) = yes]
21771         (CFLAGS-tst-auditmod6c.c): Likewise.
21772         [$(subdir) = elf && $(config-cflags-avx) = yes]
21773         (CFLAGS-tst-auditmod7b.c): Likewise.
21774         * elf/tst-audit3.c: Move to ...
21775         * sysdeps/x86_64/tst-audit3.c: ... here.
21776         * elf/tst-audit4.c: Move to ...
21777         * sysdeps/x86_64/tst-audit4.c: ... here.
21778         * elf/tst-audit5.c: Move to ...
21779         * sysdeps/x86_64/tst-audit5.c: ... here.
21780         * elf/tst-audit6.c: Move to ...
21781         * sysdeps/x86_64/tst-audit6.c: ... here.
21782         * elf/tst-audit7.c: Move to ...
21783         * sysdeps/x86_64/tst-audit7.c: ... here.
21784         * elf/tst-auditmod3a.c: Move to ...
21785         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21786         * elf/tst-auditmod3b.c: Move to ...
21787         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21788         * elf/tst-auditmod4a.c: Move to ...
21789         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21790         * elf/tst-auditmod4b.c: Move to ...
21791         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21792         * elf/tst-auditmod5a.c: Move to ...
21793         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21794         * elf/tst-auditmod5b.c: Move to ...
21795         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21796         * elf/tst-auditmod6a.c: Move to ...
21797         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21798         * elf/tst-auditmod6b.c: Move to ...
21799         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21800         * elf/tst-auditmod6c.c: Move to ...
21801         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21802         * elf/tst-auditmod7a.c: Move to ...
21803         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21804         * elf/tst-auditmod7b.c: Move to ...
21805         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21807 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
21809         [BZ #15366]
21810         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21811         define unconditionally.
21812         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21813         define unconditionally.
21814         (INT8_C, INT16_C, etc.): Likewise.
21816 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
21818         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21819         __ehdr_start with hidden visibility.
21821         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21823 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
21825         * math/libm-test.inc (cos_test): Use accurate hex constants.
21826         (sincost_test): Likewise.
21828 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
21830         * math/libm-test.inc (catan_test): Add more tests.
21831         (catanh_test): Likewise.
21833         * math/s_catanf.c (__catanf): Use suffixed floating-point
21834         constants.
21835         * math/s_catanhf.c (__catanhf): Likewise.
21836         * math/s_catanhl.c (__catanhl): Likewise.
21837         * math/s_catanl.c (__catanl): Likewise.
21839         [BZ #15394]
21840         * math/s_catan.c (__catan): Calculate imaginary part of result
21841         with log1p not log unless computing log of number close to 0.
21842         * math/s_catanf.c (__catanf): Likewise.
21843         * math/s_catanl.c (__catanl): Likewise.
21844         * math/s_catanh.c (__catanh): Calculate real part of result with
21845         log1p not log unless computing log of number close to 0.
21846         * math/s_catanhf.c (__catanhf): Likewise.
21847         * math/s_catanhl.c (__catanhl): Likewise.
21848         * math/libm-test.inc (catan_test): Add more tests.
21849         (catanh_test): Likewise.
21850         * sysdeps/i386/fpu/libm-test-ulps: Update.
21851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21853 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21855         * benchtests/Makefile: Mention files in which fast and slow
21856         paths of math functions are implemented.
21858 2013-04-23  Roland McGrath  <roland@hack.frob.com>
21860         * sysdeps/posix/timespec_get.c: New file.
21862 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21864         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21865         POWER.
21866         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21867         for POWER.
21868         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21869         powerpc/power5/fpu folders.
21870         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21871         * benchtests/Makefile: Add modf testcase.
21872         * benchtests/bench-modf.c: New file: Benchmark test for mo
21874 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
21876         [BZ #14888]
21877         * time/Makefile (tests): Add tst-strptime-whitespace.
21878         * time/strptime_l.c (get_number): Use ISSPACE.
21879         (__strptime_internal): Likewise.
21880         * time/tst-strptime-whitespace.c: New test case.
21882 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
21884         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21885         member.
21886         (_nss_files_init): Set it here.
21888 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
21890         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21891         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21892         unsigned.
21894 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
21896         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
21898 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
21900         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
21901         size just once.
21903 2013-04-21  David S. Miller  <davem@davemloft.net>
21905         * po/ru.po: Update Russion translation from translation project.
21907 2013-04-17  Adam Conrad  <adconrad@0c3.net>
21909         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
21910         and setfsgid.
21912 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
21914         * configure.in: Remove i386 configure warning. Remove i386 case.
21915         * configure: Regenerate.
21916         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
21917         Add example to error message.
21918         * sysdeps/i386/configure: Regenerate.
21920 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21922         * benchtests/Makefile (bench): Add cos, tan, slowcos and
21923         slowtan.
21924         * benchtests/cos-inputs: New file.
21925         * benchtests/slowcos-inputs: New file.
21926         * benchtests/slowcos.c: New file.
21927         * benchtests/slowtan-inputs: New file.
21928         * benchtests/slowtan.c: New file.
21929         * benchtests/tan-inputs: New file.
21931 2013-04-16  Roland McGrath  <roland@hack.frob.com>
21933         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
21934         considered kosher.
21936 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21938         * benchtests/Makefile: Include cppflags-iterator.mk to add
21939         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
21941         * Makefile.in (bench-clean): New target.
21942         * benchtests/Makefile (bench-clean): Likewise.
21944 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
21946         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
21948 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
21950         * stdio-common/tstdiomisc.c: Fix coding-style violation.
21952 2013-04-15  Andreas Schwab  <schwab@suse.de>
21954         * nscd/grpcache.c (cache_addgr): Properly check for short write.
21955         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21956         * nscd/pwdcache.c (cache_addpw): Likewise.
21957         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
21958         more than recsize.
21960 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21962         * benchtests/Makefile (bench): Write all output to
21963         bench-out.tmp together.
21965 2013-04-15  Andreas Schwab  <schwab@suse.de>
21967         * nscd/nscd.c (main): Don't fork again after closing files.
21969 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21971         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
21973         * benchtests/Rules (bench-deps): Collect dependencies into a
21974         single variable.  Add Makefile to dependencies.
21975         ($(objpfx)bench-%.c): Depend on bench-deps.
21977 2013-04-12  Roland McGrath  <roland@hack.frob.com>
21978             Xavier Roche  <roche+kml2@exalead.com>
21980         [BZ #15361]
21981         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
21982         just that it's a file descriptor.
21983         * manual/llio.texi (Synchronizing AIO Operations): Update description
21984         for EBADF error from aio_fsync.
21986 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21988         * Rules (bench): Move target definition...
21989         * benchtests/Makefile: ... here.
21991 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
21993         * math/libm-test.inc (cos_test): Fix PI/2 test.
21994         (sincos_test): Likewise.
21995         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21996         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
21998 2013-04-11  Andreas Schwab  <schwab@suse.de>
22000         [BZ #13988]
22001         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22002         accept exponent character only when digits were seen.
22003         * stdio-common/Makefile (tests): Add bug26.
22004         * stdio-common/bug26.c: New file.
22006         [BZ #14293]
22007         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
22008         non-freeable.
22010 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22012         * Makeconfig (rtld-prefix): Define built linker prefix.
22013         * Rules (run-bench): Use it.
22014         * math/Makefile (run-regen-ulps): Likewise.
22016         * Rules (bench): Remove eval.
22018 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22019             Roland McGrath  <roland@hack.frob.com>
22020             Ondrej Bilka  <neleai@seznam.cz>
22022         [BZ #15346]
22023         * time/getdate.c: Include ctype.h and alloca.h.
22024         (__getdate_r): Trim leading and trailing spaces of input.
22025         * time/tst-getdate.c (tests): Add tests with leading and
22026         trailing spaces.
22028 2013-04-08  Roland McGrath  <roland@hack.frob.com>
22030         [BZ #14280]
22031         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
22032         when computing value.
22034 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22036         * math/README.libm-test (How can I generate "libm-test-ulps"?):
22037         Use testrun.sh to run libm tests.
22039         [BZ #15309]
22040         * elf/dl-open.c (dl_open_worker): memset all of seen array.
22042 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
22044         [BZ #15264]
22045         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22047 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22049         * Makefile.in (regen-ulps): New target.
22050         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22051         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22052         [ifneq (no,$(PERL)] (regen-ulps): New target.
22053         [ifeq (no,$(PERL)] (regen-ulps): New target.
22054         * math/libm-test.inc (ulps_file_name): Define.
22055         (output_dir): New variable.
22056         (options): Add "output-dir" option.
22057         (parse_opt): Handle 'o' case.
22058         (main): If output_dir is non-NULL use it as a prefix
22059         otherwise use "".
22060         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22062 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22064         [BZ #10060, #10062]
22065         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22066         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22067         fail configure if __sync_val_compare_and_swap is not inlined.
22068         * sysdeps/i386/configure: Regenerate.
22069         * configure.in: Build for i686 when configured for i386.
22070         * configure: Regenerate.
22071         * README: Remove i386 reference.
22073 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22075         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
22076         * sysdeps/s390/s390-64/sysdep.h: Likewise.
22078 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
22080         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22081         (lmsnanval): New variables.
22082         (F): Add conversion tests.
22083         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22084         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22086         * stdio-common/tstdiomisc.c (F): Properly collect individual
22087         tests' results.
22089         [BZ #14686, #15336]
22090         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22091         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22092         Instead, use input NaN values or generate a qNaN by arithmetic
22093         operation.  Also fix bugs to comply with the standard.
22094         * math/libm-test.inc (remainder_test): Add more tests.
22096         [BZ #15335, #15342]
22097         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22098         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22099         input NaN values or generate a qNaN by arithmetic operation.
22101         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22102         unreachable code.
22104         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22105         definitions.
22107 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
22109         [BZ #14478]
22110         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22111         underflowed result.
22112         * math/s_cexpf.c (__cexpf): Likewise.
22113         * math/s_cexpl.c (__cexpl): Likewise.
22114         * math/libm-test.inc (cexp_test): Add more tests.
22116 2013-04-03  Andreas Schwab  <schwab@suse.de>
22118         [BZ #15330]
22119         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22120         order arrays from heap if bigger than alloca cutoff.
22122 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
22124         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22125         (SNAN_TESTS_double): Refer to GCC PR56831.
22126         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22127         GCC PR56828.
22129 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22131         * Rules (bench): Move bench.out after the run is complete.
22133         * Rules (bench): Echo currently running benchmark.
22135         * benchtests/Makefile (bench): Add atan and slowatan.
22136         * benchtests/atan-inputs: New file.
22137         * benchtests/slowatan-inputs: New file.
22138         * benchtests/slowatan.c: New file.
22140         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22141         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22142         its value.
22144         [BZ #15305]
22145         * sysdeps/unix/sysv/linux/kernel-features.h
22146         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22147         __ASSUME_XFS_RESTRICTED_CHOWN.
22148         * sysdeps/unix/sysv/linux/pathconf.c
22149         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22150         Save and restore errno.
22152 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
22154         [BZ #15327]
22155         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22156         arguments using __kernel_casinh.
22157         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22158         arguments using __kernel_casinhf.
22159         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22160         arguments using __kernel_casinhl.
22161         * math/libm-test.inc (cacosh_test): Add more tests.
22162         * sysdeps/i386/fpu/libm-test-ulps: Update.
22163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22165 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22167         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22168         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22170         * bench/Makefile (bench): Add sin and slowsin.
22171         * benchtests/sin-inputs: New file.
22172         * benchtests/slowsin-inputs: New file.
22173         * benchtests/slowsin.c: New file.
22175         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22176         (bench): Add slowexp and slowpow.
22177         (exp-ITER): Increase iterations.
22178         (pow-ITER): Likewise.
22179         * benchtests/exp-inputs: Change input.
22180         * benchtests/pow-inputs: Likewise.
22181         * benchtests/slowexp-inputs: New file.
22182         * benchtests/slowexp.c: New file.
22183         * benchtests/slowpow-inputs: New file.
22184         * benchtests/slowpow.c: New file.
22186 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22188         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
22189         instructions.
22190         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22191         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
22192         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22193         * benchtests/Makefile: Add rint benchtest.
22194         * benchtests/rint-inputs: Input for rint benchtest.
22196 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
22198         * Versions.def (libm): Add GLIBC_2.18.
22199         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22200         hidden libm prototypes.
22201         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22202         * math/Makefile (libm-calls): Add s_issignaling.
22203         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22204         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
22205         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22206         declaration.
22207         * math/math.h [__USE_GNU] (issignaling): New macro.
22208         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22209         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22210         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22211         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22212         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22213         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22214         * manual/arith.texi (issignaling): New section.
22215         * manual/libm-err-tab.pl (@all_functions): Update comment.
22216         * math/gen-libm-test.pl (parse_args): Apply special handling for
22217         issignaling.
22218         * math/libm-test.inc (print_float, issignaling_test): New
22219         functions.
22220         (check_float_internal): Add issignaling checks.
22221         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22222         default definition.
22223         * sysdeps/powerpc/math-tests.h: New file.
22224         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22225         tests.
22226         * math/test-snan.c (TEST_FUNC): Likewise.
22228 2013-03-30  David S. Miller  <davem@davemloft.net>
22230         * po/de.po: Update from translation team.
22232 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
22234         [BZ #10357]
22235         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22236         imaginary part less than 1.0 and real part less than 0.5
22237         specially.
22238         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22239         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22240         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22241         (cacos_test): Add more tests.
22242         (casin_test): Likewise.
22243         (casinh_test): Likewise.
22244         * sysdeps/i386/fpu/libm-test-ulps: Update.
22245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22247 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22249         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22250         ONE with its value.
22252         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22253         (__pow_mp): Replace ONE and MONE with their values.
22254         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22255         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22256         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22257         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22258         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22259         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22261         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22263         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22264         (__pow_mp): Replace ZERO and MZERO with their values.
22265         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22266         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22267         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22268         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22269         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22270         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22271         (__sqr): Likewise.
22273         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22275         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22277 2013-03-28  Roland McGrath  <roland@hack.frob.com>
22279         * include/stdlib.h [!SHARED] (__call_tls_dtors):
22280         Declare with __attribute__ ((weak)).
22281         * stdlib/exit.c (__libc_atexit) [!SHARED]:
22282         Call __call_tls_dtors only if it's not NULL.
22284 2013-03-28  Roland McGrath  <roland@hack.frob.com>
22286         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22287         didn't do it already, then set _dl_phdr and _dl_phnum based on the
22288         magic __ehdr_start linker symbol if it's defined.
22289         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22290         them up here if it was already done.
22292         * elf/dl-support.c (_dl_phdr): Make pointer to const.
22293         (_dl_aux_init): Use const in cast when setting it.
22294         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22295         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22296         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22298         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22299         Declare them here.
22300         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22301         * csu/libc-tls.c: Nor here.
22302         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22304         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22305         (__libc_message): Never call vsyslog.
22307 2013-03-28  Alan Modra  <amodra@gmail.com>
22309         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
22310         Define as empty.
22311         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
22312         Likewise.
22314 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22316         [BZ #15214]
22317         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
22318         underflow.
22319         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22321 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22323         [BZ #15304]
22324         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22325         Don't add gid passed as argument.
22327         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
22329 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
22331         [BZ #15307]
22332         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22333         imaginary part between 1.0 and 1.5 and real part less than 0.5
22334         specially.
22335         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22336         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22337         * math/libm-test.inc (cacos_test): Add more tests.
22338         (casin_test): Likewise.
22339         (casinh_test): Likewise.
22340         * sysdeps/i386/fpu/libm-test-ulps: Update.
22341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22343 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22345         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
22346         constants.
22347         (norm): Likewise.
22348         (denorm): Likewise.
22349         (__dbl_mp): Likewise.
22350         (add_magnitudes): Likewise.
22351         (sub_magnitudes): Likewise.
22352         (__add): Likewise.
22353         (__sub): Likewise.
22354         (__mul): Likewise.
22355         (__sqr): Likewise.
22356         (__inv): Likewise.
22357         (__dvd): Likewise.
22359         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
22360         commented code.
22361         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
22362         (__dubcos): Likewise.
22363         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
22364         (__ieee754_acos): Likewise.
22365         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22366         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
22367         (__exp1): Likewise.
22368         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22369         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22370         (log1): Likewise.
22371         (my_log2): Likewise.
22372         (checkint): Likewise.
22373         * sysdeps/ieee754/dbl-64/e_remainder.c
22374         (__ieee754_remainder): Likewise.
22375         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22376         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22377         (bsloww): Likewise.
22378         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22380         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22381         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
22382         MANTISSA_STORE_T to store computations on mantissa.  Use
22383         macros for rounding and division.
22384         (denorm): Likewise.
22385         (__dbl_mp): Likewise.
22386         (add_magnitudes): Likewise.
22387         (sub_magnitudes): Likewise.
22388         (__mul): Likewise.
22389         (__sqr): Likewise.
22390         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
22391         powers of two in terms of TWOPOW macro.
22392         (mp_no): Make type of mantissa as MANTISSA_T.
22393         [!RADIXI]: Define RADIXI.
22394         [!TWO52]: Define TWO52.
22395         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22397 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22399         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22400         llroundl symbol when building for PPC32.
22402 2013-03-24  Mark H Weaver  <mhw@netris.org>
22404         * manual/arith.texi (Normalization Functions): Fix prototypes for
22405         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22407 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22409         [BZ #13889]
22410         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22411         high value to check if expl overflow.
22412         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22413         to check for underflow and overflow.
22414         * math/libm-test.inc: Add exp test.
22416 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
22418         [BZ #11120]
22419         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22420         with NOT_IN_libc.
22422 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22424         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22425         symbol.
22427 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
22429         * math/gen-libm-test.pl (parse_args, special_functions): Properly
22430         wrap blocks consisting of several statements.
22432         * sysdeps/generic/math-tests.h: New file.
22433         * sysdeps/i386/fpu/math-tests.h: Likewise.
22434         * math/test-snan.c: Include it.
22435         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22437 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
22439         [BZ #15285]
22440         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22441         (__ieee754_j0l): Do not improve calculations using cos of twice
22442         input for inputs above LDBL_MAX / 2.0L.
22443         (__ieee754_y0l): Likewise.
22444         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22445         (__ieee754_j1l): Do not improve calculations using cos of twice
22446         input for inputs above LDBL_MAX / 2.0L.
22447         (__ieee754_y1l): Likewise.
22448         * math/libm-test.inc (j0_test): Add another test.
22449         (j1_test): Likewise.
22450         (y0_test): Likewise.
22451         (y1_test): Likewise.
22452         * sysdeps/i386/fpu/libm-test-ulps: Update.
22454 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22456         * Rules ($(objpfx)bench-%.c): Include code from a C source
22457         file.
22459 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
22461         [BZ #15287]
22462         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22463         imaginary part 1.0 and real part less than 0.5 specially.
22464         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22465         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22466         * math/libm-test.inc (cacos_test): Add more tests.
22467         (casin_test): Likewise.
22468         (casinh_test): Likewise.
22469         * sysdeps/i386/fpu/libm-test-ulps: Update.
22470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22472 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22474         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22475         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22477 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
22479         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22480         * config.make.in (config-cflags-sse4): Remove variable.
22481         (config-cflags-avx): Likewise.
22482         (config-cflags-sse2avx): Likewise.
22483         (config-cflags-novzeroupper): Likewise.
22484         (config-asflags-i686): Likewise.
22485         (have-mfma4): Likewise.
22486         (have-as-vis3): Likewise.
22487         (MIG): Likewise.
22488         * configure.in (MIG): Do not AC_SUBST.
22489         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22490         (libc_cv_cc_sse4): Do not AC_SUBST.
22491         (libc_cv_cc_avx): Likewise.
22492         (libc_cv_cc_sse2avx): Likewise.
22493         (libc_cv_cc_novzeroupper): Likewise.
22494         (libc_cv_cc_fma4): Likewise.
22495         (libc_cv_as_i686): Likewise.
22496         (libc_cv_sparc_as_vis3): Likewise.
22497         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22498         LIBC_CONFIG_VAR.
22499         (config-asflags-i686): Likewise.
22500         (config-cflags-avx): Likewise.
22501         (config-cflags-sse2avx): Likewise.
22502         (have-mfma4): Likewise.
22503         (config-cflags-novzeroupper): Likewise.
22504         * sysdeps/mach/configure.in (MIG): Likewise.
22505         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22506         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22507         LIBC_CONFIG_VAR.
22508         (config-cflags-avx): Likewise.
22509         (config-cflags-sse2avx): Likewise.
22510         (have-mfma4): Likewise.
22511         (config-cflags-novzeroupper): Likewise.
22512         * configure: Regenerated.
22513         * sysdeps/i386/configure: Likewise.
22514         * sysdeps/mach/configure: Likewise.
22515         * sysdeps/sparc/configure: Likewise.
22516         * sysdeps/x86_64/configure: Likewise.
22518 2013-03-20  Roland McGrath  <roland@hack.frob.com>
22520         [BZ #14812]
22521         * locale/programs/localedef.c (options): Put N_ translation marker
22522         on argument names, not just descriptions.
22524 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22526         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
22528 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
22530         [BZ #14176]
22531         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
22533 2013-03-19  Roland McGrath  <roland@hack.frob.com>
22535         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
22536         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
22537         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
22538         [!BEFORE_ABORT] (before_abort): New function.
22539         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
22540         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
22541         (writev_for_fatal): New function.
22542         (WRITEV_FOR_FATAL): New macro; call that.
22543         (backtrace_and_maps): New function.
22544         (BEFORE_ABORT): New macro; call that.
22545         (struct str_list): Type removed.
22546         (__libc_message, __libc_fatal): Functions removed.
22547         Include <sysdeps/posix/libc_fatal.c> instead.
22549 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
22551         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
22552         constants.
22553         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
22554         double constants.
22556 2013-03-19  Andreas Schwab  <schwab@suse.de>
22558         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
22559         * sysdeps/gnu/configure: Regenerate.
22561         * configure.in: Substitute libc_cv_rtlddir.
22562         * configure: Regenerate.
22563         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
22564         * Makeconfig (rtlddir, inst_rtlddir): New variables.
22565         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
22566         * elf/Makefile (install-others, CFLAGS-interp.c)
22567         (ldso_install, common-ldd-rewrite): Likewise.
22568         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
22569         $(inst_slibdir)/$(rtld-installed-name).
22570         * scripts/rellns-sh: Add -p option.
22571         * Makerules (make-shlib-link): Use rellns-sh to get relative name
22572         for source.
22574 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22576         * manual/nptl.texi: Renamed to ...
22577         * manual/threads.texi: ... this.
22578         * manual/Makefile (chapters): Update.
22580 2013-03-18  Roland McGrath  <roland@hack.frob.com>
22582         [BZ #14812]
22583         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
22584         on argument names, not just descriptions.
22585         * malloc/memusagestat.c (options): Likewise.
22586         * nss/getent.c (options): Likewise.
22588 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
22590         [BZ #14812]
22591         * iconv/iconv_prog.c (options): Put N_ translation marker
22592         on argument names, not just descriptions.
22593         * iconv/iconvconfig.c (options): Likewise.
22595 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
22597         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
22598         implementation which is faster on all x86_64 architectures.
22599         Tested on AMD, Intel Nehalem, SNB, IVB.
22600         * sysdeps/x86_64/strnlen.S: Likewise.
22602         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22603         Remove all multiarch strlen and strnlen versions.
22604         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22605         Remove strlen and strnlen related parts.
22607         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
22608         Inline strlen part.
22609         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22611         * sysdeps/x86_64/multiarch/strlen.S: Remove.
22612         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
22613         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
22614         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
22615         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22616         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
22618 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
22620         * manual/memory.texi (Malloc Tunable Parameters):
22621         Sort parameters alphabetically. Add comments for missing entries.
22623 2013-03-17  David S. Miller  <davem@davemloft.net>
22625         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22627 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
22629         [BZ #15283]
22630         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
22631         for arguments at most half maximum finite value.
22632         * math/libm-test.inc (j0_test): Add more tests.
22633         (j1_test): Likewise.
22634         (y0_test): Likewise.
22635         (y1_test): Likewise.
22636         * sysdeps/i386/fpu/libm-test-ulps: Update.
22637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22639         [BZ #14155]
22640         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
22641         1 / x and functions P and Q for arguments above 0x1p256L.
22642         (__ieee754_y0l): Likewise.
22643         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
22644         (__ieee754_y1l): Likewise.
22645         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
22646         (j1_test): Likewise.
22647         (y0_test): Likewise.
22648         (y1_test): Likewise.
22650 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
22652         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
22653         variable.
22655 2013-03-15  Roland McGrath  <roland@hack.frob.com>
22657         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
22658         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
22659         zero since it's initialized to EXEC_PAGESIZE.
22661         * sysdeps/unix/sysv/linux/ldsodefs.h
22662         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
22663         * sysdeps/generic/ldsodefs.h: ... here.
22665 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
22667         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
22669         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
22670         math/test-snan.c.
22671         * math/test-snan.c: Renamed from
22672         sysdeps/powerpc/fpu/test-powerpc-snan.c.
22673         * math/Makefile (tests): Add test-snan.
22674         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
22675         test-powerpc-snan.
22677         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
22678         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
22679         functions.
22680         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
22681         __builtin_nan family of functions.
22682         * math/libm-test.inc (initialize): Initialize qnan_value with
22683         __builtin_nan family of functions.
22684         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
22685         Remove variables.
22686         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
22687         Remove functions.
22688         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
22689         storage class.  Initialize qNaN_var and sNaN_var with
22690         __builtin_nan and __builtin_nans families of functions,
22691         respectively.
22693         * math/libm-test.inc (acosh_test): Also test with qNaN input.
22694         (sqrt_test): Remove duplicate test with qNaN input.
22695         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
22696         (round_test, signbit_test, significand_test): Note missing +/-Inf
22697         as well as qNaN tests.
22699         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
22700         qNaN_var.  Fix a few strings, too.
22701         * math/libm-test.inc (nan_value): Rename to qnan_value.
22702         * math/gen-libm-test.pl (%beautify): Adjust to that.
22703         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
22704         * math/test-misc.c (main): Likewise.
22705         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
22706         to __qnan_bytes, and __qnan_union, respectively.
22707         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
22708         Likewise.
22709         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
22710         and lqnanval, respectively.
22711         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
22712         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
22713         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
22714         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
22716         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
22717         * math/test-misc.c (main) [__x86_64__]: Enable test for long
22718         doubles.
22720         * math/test-misc.c (main): Fix copy'n'pastos.
22721         * misc/tst-efgcvt.c (special): Likewise.
22723         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
22724         Remove declarations.
22726 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22728         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
22729         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
22730         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
22731         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
22733 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22735         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
22736         macro to return vdso values correctly in IFUNC implementations.
22737         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22738         Optimization by using IFUNC.
22740 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22741             Richard Henderson  <rth@redhat.com>
22742             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22744         * Makefile.in (bench): New target.
22745         * NEWS: Mention the benchmark framework.
22746         * Rules (bench): Likewise.
22747         (binaries-bench): Generate binaries for functions to
22748         benchmark.
22749         * benchtests/Makefile: New makefile for benchmark tests.
22750         * benchtests/bench-skeleton.c: New skeleton file for benchmark
22751         programs.
22752         * benchtests/exp-inputs: New input file for EXP function.
22753         * benchtests/pow-inputs: New input file for POW function.
22754         * scripts/bench.pl: New script to generate source files for
22755         benchmark programs.
22757 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22759         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22760         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22761         computations on mantissa.  Use macros for rounding and
22762         division.
22763         (denorm): Likewise.
22764         (__dbl_mp): Likewise.
22765         (add_magnitudes): Likewise.
22766         (sub_magnitudes): Likewise.
22767         (__mul): Likewise.
22768         (__sqr): Likewise.
22769         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
22770         powers of two in terms of TWOPOW macro.
22771         (mp_no): Make type of mantissa as MANTISSA_T.
22772         [!RADIXI]: Define RADIXI.
22773         [!TWO52]: Define TWO52.
22774         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22776         * manual/nptl.texi (cindex): Modify threads to pthreads.
22778 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
22780         * sysdeps/x86_64/preconfigure: Regenerated.
22782 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
22784         [BZ #14155]
22785         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22786         0x1p28 and above.
22787         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22788         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22789         0x1p28 and above.
22790         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22791         * math/libm-test.inc (j0_test): Do not allow one spurious
22792         underflow exception.
22793         (y1_test): Likewise.
22795 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22797         * manual/Makefile (chapters): Add nptl.
22798         * manual/debug.texi (Debugging Support): Add link to Threads
22799         chapter.
22800         * manual/nptl.texi: New file.
22802         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22804 2013-03-14  Petr Baudis  <pasky@ucw.cz>
22806         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22807         for non-NULL pointer before the memory validity test. Pointed
22808         out by Holger Brunck <holger.brunck@keymile.com>.
22810 2013-03-13  Andreas Schwab  <schwab@suse.de>
22812         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22813         instead of .os.
22815 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
22817         * timezone/zic.c: Update from tzcode 2013b.
22819 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
22821         * manual/install.texi (Configuring and compiling):
22822         Mention i686 and i586.
22823         * INSTALL: Regenerate.
22825 2013-03-12  Roland McGrath  <roland@hack.frob.com>
22827         * sysdeps/init_array/elf-init.c: New file.
22828         * csu/elf-init.c
22829         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22830         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22832         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22833         __gmon_start__ as global, but as static with a .preinit_array pointer.
22834         * sysdeps/init_array/gmon-start.c: New file.  Use that.
22835         * sysdeps/init_array/crti.S: New file, empty except for comments.
22836         * sysdeps/init_array/crtn.S: Likewise.
22838 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
22840         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22841         definining bcopy.
22842         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22843         Remove Prefer_SSE_for_memop.
22844         * sysdeps/x86_64/multiarch/init-arch.h: Remove
22845         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22846         HAS_PREFER_SSE_FOR_MEMOP.
22847         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22848         memset-x86-64.
22849         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22850         Remove bzero, memset ifunc support.
22851         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22852         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22853         * sysdeps/x86_64/multiarch/memset.S: Likewise.
22854         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22856 2013-03-11  Andreas Schwab  <schwab@suse.de>
22858         [BZ #15234]
22859         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22860         by SHLIB_COMPAT.
22861         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22862         (GLIBC_2.16): Remove pthread_atfork.
22864 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
22866         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22867         (ptestcases.h): Likewise.
22869 2013-03-08  Roland McGrath  <roland@hack.frob.com>
22871         * Makeconfig ($(common-objpfx)config.status): Depend on
22872         sysdeps/*/preconfigure{,.in} too.
22874 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
22876         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22877         (__free_hook): Use void * instead of __malloc_ptr_t.
22878         (__malloc_hook): Likewise.
22879         (__realloc_hook): Likewise.
22880         (__memalign_hook): Likewise.
22881         (__after_morecore_hook): Likewise.
22882         * malloc/arena.c (save_malloc_hook): Likewise.
22883         (save_free_hook): Likewise.
22884         * malloc/hooks.c (malloc_hook_ini): Likewise.
22885         (realloc_hook_ini): Likewise.
22886         (memalign_hook_ini): Likewise.
22887         * malloc/malloc.c (malloc_hook_ini): Likewise.
22888         (realloc_hook_ini): Likewise.
22889         (memalign_hook_ini): Likewise.
22890         (__free_hook): Likewise.
22891         (__malloc_hook): Likewise.
22892         (__realloc_hook): Likewise.
22893         (__memalign_hook): Likewise.
22894         (__libc_malloc): Likewise.
22895         (__libc_free): Likewise.
22896         (__libc_realloc): Likewise.
22897         (__libc_memalign): Likewise.
22898         (__libc_valloc): Likewise.
22899         (__libc_pvalloc): Likewise.
22900         (__libc_calloc): Likewise.
22901         (__posix_memalign): Likewise.
22902         * malloc/morecore.c (__sbrk): Likewise.
22903         (__default_morecore): Likewise.
22905         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
22907         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
22908         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
22909         __malloc_ptrdiff_t.
22911         * malloc/malloc.h (__malloc_size_t): Remove macro.
22912         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
22913         __malloc_size_t.
22914         (old_memalign_hook): Likewise.
22915         (old_realloc_hook): Likewise.
22916         (struct hdr): Likewise.
22917         (flood): Likewise.
22918         (mallochook): Likewise.
22919         (memalignhook): Likewise.
22920         (reallochook): Likewise.
22921         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
22922         (tr_old_realloc_hook): Likewise.
22923         (tr_old_memalign_hook): Likewise.
22924         (tr_mallochook): Likewise.
22925         (tr_reallochook): Likewise.
22926         (tr_memalignhook): Likewise.
22928 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22930         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
22931         default_ldbl_pack and using as default implementation.
22932         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
22933         implementation.
22934         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
22935         redundant definition.
22936         (ldbl_insert_mantissa): Likewise.
22937         (ldbl_canonicalize): Likewise.
22938         (ldbl_nearbyint): Likewise.
22939         (ldbl_pack): Rename to ldbl_pack_ppc.
22940         (ldbl_unpack): Rename to ldbl_unpack_ppc.
22941         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
22942         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
22944 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
22946         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
22947         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
22948         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
22949         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
22950         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
22951         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
22952         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
22953         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
22955 2013-03-07  Andreas Jaeger  <aj@suse.de>
22957         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22958         bits/mman-linux.h.
22960 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
22962         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
22963         Include mpa.h and declare __MPEXP.
22964         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
22965         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22966         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22967         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
22968         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22969         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22970         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
22972         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
22973         (__slowpow): Use long double EXPL and LOGL functions to
22974         compute POW.
22975         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22976         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22977         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
22978         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22979         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22980         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
22982         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
22983         intermediate variable to calculate exponent.
22984         (__sqr): Likewise.
22985         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22986         Likewise.
22987         (__sqr): Likewise.
22989         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
22990         [!NO__SQR]: Define __sqr.
22991         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
22992         and NO__SQR.  Remove all code except __mul and __sqr.  Include
22993         sysdeps/ieee754/dbl-64/mpa.c.
22994         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22996         [BZ #12723]
22997         * posix/Makefile (tests): Add tst-pathconf.
22998         * posix/tst-pathconf.c: New test case.
22999         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23000         _PC_PIPE_BUF.
23001         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23003 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
23005         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
23007 2013-03-06  Andreas Jaeger  <aj@suse.de>
23009         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
23010         definition via __MAP_ANONYMOUS.
23012         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
23013         it's not part of Linux headers.
23015         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
23016         (MAP_HUGE_MASK): Define.
23018         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23019         Define.
23020         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23021         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23022         Define.
23023         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23024         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23025         Define.
23026         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23027         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23028         Define.
23029         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23031         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23032         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
23033         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
23034         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
23035         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
23036         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
23038         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23039         Handle f2fs.
23041         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23042         Handle f2fs and efivarfs.
23044         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23045         f2fs.
23047         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23048         (EFIVARFS_MAGIC): Add.
23049         (F2FS_LINK_MAX): Add.
23051 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23053         * stdio-common/vfprintf.c: Replace __builtin_expect with
23054         __glibc_unlikely.
23056 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
23058         [BZ #13550]
23059         * sysdeps/generic/bp-sym.h: Remove file.
23060         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23061         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23062         <bp-sym.h> and <bp-asm.h>.
23063         (__longjmp): Don't use BP_SYM.
23064         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23065         and <bp-asm.h>.
23066         (memcpy): Don't use BP_SYM.
23067         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23068         <bp-sym.h> and <bp-asm.h>.
23069         (memcpy): Don't use BP_SYM.
23070         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
23071         <bp-asm.h>.
23072         (memcpy): Don't use BP_SYM.
23073         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
23074         <bp-asm.h>.
23075         (memset): Don't use BP_SYM.
23076         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23077         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23078         (__bzero): Don't use BP_SYM.
23079         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23080         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23081         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23082         <bp-sym.h> and <bp-asm.h>.
23083         (memcmp): Don't use BP_SYM.  Remove comment about bounded
23084         pointers.
23085         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23086         <bp-sym.h> and <bp-asm.h>.
23087         (memcpy): Don't use BP_SYM.
23088         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23089         <bp-sym.h> and <bp-asm.h>.
23090         (memset): Don't use BP_SYM.
23091         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23092         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23093         (__bzero): Don't use BP_SYM.
23094         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23095         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23096         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23097         <bp-sym.h> and <bp-asm.h>.
23098         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23099         pointers.
23100         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23101         <bp-sym.h> and <bp-asm.h>.
23102         (memcpy): Don't use BP_SYM.
23103         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23104         <bp-sym.h> and <bp-asm.h>.
23105         (memset): Don't use BP_SYM.
23106         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23107         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23108         (__bzero): Don't use BP_SYM.
23109         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23110         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23111         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23112         <bp-sym.h> and <bp-asm.h>.
23113         (__memchr): Don't use BP_SYM.
23114         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23115         <bp-sym.h> and <bp-asm.h>.
23116         (memcmp): Don't use BP_SYM.  Remove comment about bounded
23117         pointers.
23118         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23119         <bp-sym.h> and <bp-asm.h>.
23120         (memcpy): Don't use BP_SYM.
23121         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23122         <bp-sym.h> and <bp-asm.h>.
23123         (__mempcpy): Don't use BP_SYM.
23124         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23125         <bp-sym.h> and <bp-asm.h>.
23126         (__memrchr): Don't use BP_SYM.
23127         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23128         <bp-sym.h> and <bp-asm.h>.
23129         (memset): Don't use BP_SYM.
23130         (__bzero): Likewise.
23131         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23132         <bp-sym.h> and <bp-asm.h>.
23133         (__rawmemchr): Don't use BP_SYM.
23134         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23135         <bp-sym.h> and <bp-asm.h>.
23136         (__STRCMP): Don't use BP_SYM.
23137         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23138         <bp-sym.h> and <bp-asm.h>.
23139         (strchr): Don't use BP_SYM.
23140         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23141         <bp-sym.h> and <bp-asm.h>.
23142         (__strchrnul): Don't use BP_SYM.
23143         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23144         <bp-sym.h> and <bp-asm.h>.
23145         (strlen): Don't use BP_SYM.
23146         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23147         <bp-sym.h> and <bp-asm.h>.
23148         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23149         pointers.
23150         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23151         <bp-sym.h> and <bp-asm.h>.
23152         (__strnlen): Don't use BP_SYM.
23153         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23154         <bp-sym.h> and <bp-asm.h>.
23155         (__GI__setjmp): Don't use BP_SYM.
23156         (_setjmp): Likewise.
23157         (__sigsetjmp): Likewise.
23158         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23159         (L(start_addresses)): Don't use BP_SYM.
23160         (_start): Likewise.
23161         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23162         <bp-asm.h>.
23163         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23164         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23165         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23166         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23167         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23168         <bp-asm.h>.
23169         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23170         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
23171         about bounded pointers.
23172         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23173         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23174         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23175         <bp-asm.h>.
23176         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
23177         about bounded pointers.  Remove GKM FIXME comments.
23178         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23179         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23180         <bp-asm.h>.
23181         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23182         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
23183         Remove GKM FIXME comments.
23184         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23185         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23186         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
23187         <bp-asm.h>.
23188         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
23189         about bounded pointers.  Remove GKM FIXME comment.
23190         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
23191         and <bp-asm.h>.
23192         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23193         pointers.
23194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
23195         <bp-sym.h> and <bp-asm.h>.
23196         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
23198         <bp-sym.h> and <bp-asm.h>.
23199         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
23200         comment.
23202 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23204         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23205         call free(NULL).
23207 2013-03-05  David S. Miller  <davem@davemloft.net>
23209         * po/es.po: Update from translation team.
23211 2013-03-05  Andreas Jaeger  <aj@suse.de>
23213         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23214         <bits/mman-linux.h>.
23215         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23216         is fine.
23217         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23218         <bits/mman-linux.h> to end of file.
23219         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23220         is fine.
23221         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23222         <bits/mman-linux.h> to end of file.
23223         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23224         is fine.
23225         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23226         <bits/mman-linux.h> to end of file.
23228         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23229         (MCL_CURRENT, MCL_FUTURE): Define here.
23231 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23233         [BZ #15232]
23234         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23235         attribute_hidden.
23236         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23238 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23240         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23241         fourth parameter needed for rt_sigprocmask syscall.
23242         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23243         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23244         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23245         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23246         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23247         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23249 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
23251         [BZ #13550]
23252         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23253         comment about bounded pointers.
23254         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23255         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23257 2013-03-04  Andreas Jaeger  <aj@suse.de>
23259         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23260         common definitions.
23262         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23263         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23264         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23265         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23266         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23267         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23269 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23271         [BZ #15055]
23272         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23273         __ieee754_sqrl instead of __sqrl.
23275 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
23277         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23278         * sysdeps/powerpc/fpu_control.h: ... here.
23279         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23280         * sysdeps/powerpc/bits/fenvinline.h: ... here.
23281         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23282         * sysdeps/powerpc/bits/mathinline.h: ... here.
23284 2013-03-01  Roland McGrath  <roland@hack.frob.com>
23286         * elf/dl-hwcaps.c (_dl_important_hwcaps):
23287         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23288         to just [NEED_DL_SYSINFO_DSO].
23289         * elf/dl-support.c: Likewise.
23290         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23291         * elf/rtld.c (dl_main): Likewise.
23292         * elf/setup-vdso.h (setup_vdso): Likewise.
23293         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23294         * sysdeps/unix/sysv/linux/dl-sysdep.c
23295         (_dl_discover_osversion): Likewise.
23297 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
23299         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23300         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23302 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23304         * NEWS: Mention libm performance improvements and non-x86 PI
23305         futex support.
23307         * csu/libc-start.c (__pthread_initialize_minimal): Change
23308         function arguments.
23309         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23311 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
23313         [BZ #13550]
23314         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
23315         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
23316         <bp-sym.h> and <bp-asm.h>.
23317         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23318         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
23319         and <bp-asm.h>.
23320         (memcpy): Don't use BP_SYM.
23321         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
23322         <bp-asm.h>.
23323         (__mpn_add_n): Don't use BP_SYM.
23324         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
23325         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
23326         and <bp-asm.h>.
23327         (__mpn_addmul_1): Don't use BP_SYM.
23328         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23329         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
23330         <bp-sym.h>.
23331         (_setjmp): Don't use BP_SYM.
23332         (__novmx_setjmp): Likewise.
23333         (__GI__setjmp): Likewise.
23334         (__vmx_setjmp): Likewise.
23335         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
23336         <bp-sym.h>.
23337         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
23338         (__bzero): Don't use BP_SYM.
23339         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23340         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23341         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
23342         <bp-sym.h> and <bp-asm.h>.
23343         (memcpy): Don't use BP_SYM.
23344         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
23345         <bp-sym.h> and <bp-asm.h>.
23346         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23347         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
23348         <bp-sym.h> and <bp-asm.h>.
23349         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23350         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
23351         <bp-asm.h>.
23352         (__mpn_lshift): Don't use BP_SYM.
23353         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23354         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
23355         <bp-asm.h>.
23356         (memset): Don't use BP_SYM.
23357         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23358         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23359         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
23360         <bp-asm.h>.
23361         (__mpn_mul_1): Don't use BP_SYM.
23362         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23363         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
23364         <bp-sym.h> and <bp-asm.h>.
23365         (memcmp): Don't use BP_SYM.
23366         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
23367         <bp-sym.h> and <bp-asm.h>.
23368         (memcpy): Don't use BP_SYM.
23369         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
23370         <bp-sym.h> and <bp-asm.h>.
23371         (memset): Don't use BP_SYM.
23372         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
23373         <bp-sym.h> and <bp-asm.h>.
23374         (strncmp): Don't use BP_SYM.
23375         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
23376         <bp-sym.h> and <bp-asm.h>.
23377         (memcpy): Don't use BP_SYM.
23378         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
23379         <bp-sym.h> and <bp-asm.h>.
23380         (memset): Don't use BP_SYM.
23381         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
23382         <bp-sym.h> and <bp-asm.h>.
23383         (__memchr): Don't use BP_SYM.
23384         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
23385         <bp-sym.h> and <bp-asm.h>.
23386         (memcmp): Don't use BP_SYM.
23387         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
23388         <bp-sym.h> and <bp-asm.h>.
23389         (memcpy): Don't use BP_SYM.
23390         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23391         <bp-sym.h> and <bp-asm.h>.
23392         (__mempcpy): Don't use BP_SYM.
23393         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23394         <bp-sym.h> and <bp-asm.h>.
23395         (__memrchr): Don't use BP_SYM.
23396         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23397         <bp-sym.h> and <bp-asm.h>.
23398         (memset): Don't use BP_SYM.
23399         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23400         <bp-sym.h> and <bp-asm.h>.
23401         (__rawmemchr): Don't use BP_SYM.
23402         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23403         <bp-sym.h> and <bp-asm.h>.
23404         (__STRCMP): Don't use BP_SYM.
23405         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23406         <bp-sym.h> and <bp-asm.h>.
23407         (strchr): Don't use BP_SYM.
23408         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23409         <bp-sym.h> and <bp-asm.h>.
23410         (__strchrnul): Don't use BP_SYM.
23411         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23412         <bp-sym.h> and <bp-asm.h>.
23413         (strlen): Don't use BP_SYM.
23414         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23415         <bp-sym.h> and <bp-asm.h>.
23416         (strncmp): Don't use BP_SYM.
23417         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23418         <bp-sym.h> and <bp-asm.h>.
23419         (__strnlen): Don't use BP_SYM.
23420         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23421         <bp-asm.h>.
23422         (__mpn_rshift): Don't use BP_SYM.
23423         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23424         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23425         <bp-sym.h> and <bp-asm.h>.
23426         (__sigsetjmp): Don't use BP_SYM.
23427         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23428         (L(start_addresses)): Don't use BP_SYM.
23429         (_start): Likewise.
23430         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23431         <bp-asm.h>.
23432         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23433         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23434         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23435         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23436         <bp-asm.h>.
23437         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23438         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23439         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23440         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23441         <bp-asm.h>.
23442         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
23443         comments.
23444         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23445         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23446         <bp-asm.h>.
23447         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
23448         FIXME comments.
23449         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23450         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23451         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23452         <bp-asm.h>.
23453         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
23454         comment.
23455         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23456         and <bp-asm.h>.
23457         (strncmp): Don't use BP_SYM,
23458         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23459         <bp-asm.h>.
23460         (__mpn_sub_n): Don't use BP_SYM.
23461         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23462         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23463         and <bp-asm.h>.
23464         (__mpn_submul_1): Don't use BP_SYM.
23465         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23467         <bp-sym.h> and <bp-asm.h>.
23468         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23470         <bp-sym.h> and <bp-asm.h>.
23471         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
23472         comment.
23474 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23476         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23477         Use ZK to minimize writes to Z.
23478         (sub_magnitudes): Simplify code a bit.
23479         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23480         Use ZK to minimize writes to Z.
23481         (sub_magnitudes): Simplify code a bit.
23483 2013-02-27  Roland McGrath  <roland@hack.frob.com>
23485         * csu/gmon-start.c: Add special exception to license text.
23487 2013-02-27  Richard Henderson  <rth@redhat.com>
23489         * scripts/config.guess: Update from config.git.
23490         * scripts/config.sub: Likewise.
23492 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23494         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23496         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23498         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23500         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23502         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23504 2013-02-26  Roland McGrath  <roland@hack.frob.com>
23506         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23507         [$(build-shared = yes].
23509 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23511         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23512         (__mul): Reduce iterations for calculating mantissa.
23514         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23515         MPTWO.
23516         (__mpranred): Likewise.
23518         [BZ #15160]
23519         * malloc/memusagestat.c (main): Draw graphs for heap and stack
23520         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
23522 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
23524         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
23525         Define __attribute__.
23527 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23529         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
23530         unused.
23531         * posix/regex_internal.h (__attribute): Remove.
23532         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
23533         (re_string_context_at): Likewise.
23534         (bitset_not): Use __attribute__ and mark function as possibly
23535         unused.
23536         (bitset_merge): Likewise.
23537         (bitset_mask): Likewise.
23538         (re_string_char_size_at): Likewise.
23539         (re_string_wchar_at): Likewise.
23540         (re_string_elem_size_at): Likewise.
23542 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23544         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
23545         code.
23546         (cc32): Likewise.
23548         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
23549         (__acr): Likewise.
23550         (__cpy): Likewise.
23551         (norm): Likewise.
23552         (denorm): Likewise.
23553         (__dbl_mp): Likewise.
23554         (add_magnitudes): Likewise.
23555         (sub_magnitudes): Likewise.
23556         (__mul): Likewise.
23557         (__inv): Likewise.
23559         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
23560         style.
23562         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
23563         style.
23565         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
23566         code.
23568         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
23569         up changes with default code.
23570         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
23571         Likewise.
23573 2013-02-24  Allan McRae  <allan@archlinux.org>
23575         * manual/socket.texi (The Internet Namespace): Order menu items
23576         to match that in the file.
23578         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
23579         node listing of the info page menu.
23581 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
23583         [BZ #13550]
23584         * sysdeps/i386/bp-asm.h: Remove file.
23585         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23586         (PARMS): Do not use macros from bp-asm.h.
23587         (S1): Likewise.
23588         (S2): Likewise.
23589         (SIZE): Likewise.
23590         (__mpn_add_n): Do not use BP_SYM
23591         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
23592         "bp-asm.h".
23593         (PARMS): Do not use macros from bp-asm.h.
23594         (S1): Likewise.
23595         (SIZE): Likewise.
23596         (__mpn_addmul_1): Do not use BP_SYM
23597         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
23598         "bp-asm.h".
23599         (PARMS): Do not use macros from bp-asm.h.
23600         (SIGMSK): Likewise.
23601         (_setjmp): Likewise.  Do not use BP_SYM.
23602         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
23603         "bp-asm.h".
23604         (PARMS): Do not use macros from bp-asm.h.
23605         (SIGMSK): Likewise.
23606         (setjmp): Likewise.  Do not use BP_SYM.
23607         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
23608         "bp-asm.h".
23609         (PARMS): Do not use macros from bp-asm.h.
23610         (__frexp): Do not use BP_SYM.
23611         (frexp): Likewise.
23612         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
23613         "bp-asm.h".
23614         (PARMS): Do not use macros from bp-asm.h.
23615         (__frexpf): Do not use BP_SYM.
23616         (frexpf): Likewise.
23617         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
23618         "bp-asm.h".
23619         (PARMS): Do not use macros from bp-asm.h.
23620         (__frexpl): Do not use BP_SYM.
23621         (frexpl): Likewise.
23622         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
23623         "bp-asm.h".
23624         (PARMS): Do not use macros from bp-asm.h.
23625         (__remquo): Do not use BP_SYM.
23626         (remquo): Likewise.
23627         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
23628         "bp-asm.h".
23629         (PARMS): Do not use macros from bp-asm.h.
23630         (__remquof): Do not use BP_SYM.
23631         (remquof): Likewise.
23632         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
23633         "bp-asm.h".
23634         (PARMS): Do not use macros from bp-asm.h.
23635         (__remquol): Do not use BP_SYM.
23636         (remquol): Likewise.
23637         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
23638         "bp-asm.h".
23639         (PARMS): Do not use macros from bp-asm.h.
23640         (DEST): Likewise.
23641         (SRC): Likewise.
23642         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
23643         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
23644         "bp-asm.h".
23645         (PARMS): Do not use macros from bp-asm.h.
23646         (strlen): Do not use BP_SYM.
23647         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
23648         "bp-asm.h".
23649         (PARMS): Do not use macros from bp-asm.h.
23650         (S1): Likewise.
23651         (S2): Likewise.
23652         (SIZE): Likewise.
23653         (__mpn_add_n): Do not use BP_SYM.
23654         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
23655         "bp-asm.h".
23656         (PARMS): Do not use macros from bp-asm.h.
23657         (S1): Likewise.
23658         (SIZE): Likewise.
23659         (__mpn_addmul_1): Do not use BP_SYM.
23660         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
23661         weak_alias.
23662         (bzero): Likewise.
23663         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
23664         "bp-asm.h".
23665         (PARMS): Do not use macros from bp-asm.h.
23666         (S): Likewise.
23667         (SIZE): Likewise.
23668         (__mpn_lshift): Do not use BP_SYM.
23669         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
23670         "bp-asm.h".
23671         (PARMS): Do not use macros from bp-asm.h.
23672         (DEST): Likewise.
23673         (SRC): Likewise.
23674         (LEN): Likewise.
23675         (memcpy): Likewise.  Do not use BP_SYM.
23676         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
23677         libc_hidden_def and weak_alias.
23678         (mempcpy): Do not use BP_SYM in weak_alias.
23679         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
23680         "bp-asm.h".
23681         (PARMS): Do not use macros from bp-asm.h.
23682         (DEST): Likewise.
23683         (LEN): Likewise.
23684         [!BZERO_P] (CHR): Likewise.
23685         (memset): Likewise.  Do not use BP_SYM.
23686         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
23687         "bp-asm.h".
23688         (PARMS): Do not use macros from bp-asm.h.
23689         (S1): Likewise.
23690         (SIZE): Likewise.
23691         (__mpn_mul_1): Do not use BP_SYM.
23692         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
23693         "bp-asm.h".
23694         (PARMS): Do not use macros from bp-asm.h.
23695         (S): Likewise.
23696         (SIZE): Likewise.
23697         (__mpn_rshift): Do not use BP_SYM.
23698         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
23699         "bp-asm.h".
23700         (PARMS): Do not use macros from bp-asm.h.
23701         (STR): Likewise.
23702         (CHR): Likewise.
23703         (strchr): Likewise.  Do not use BP_SYM.
23704         (index): Do not use BP_SYM in weak_alias.
23705         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
23706         "bp-asm.h".
23707         (PARMS): Do not use macros from bp-asm.h.
23708         (DEST): Likewise.
23709         (SRC): Likewise.
23710         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
23711         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
23712         "bp-asm.h".
23713         (PARMS): Do not use macros from bp-asm.h.
23714         (strlen): Do not use BP_SYM.
23715         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
23716         "bp-asm.h".
23717         (PARMS): Do not use macros from bp-asm.h.
23718         (S1): Likewise.
23719         (S2): Likewise.
23720         (SIZE): Likewise.
23721         (__mpn_sub_n): Do not use BP_SYM.
23722         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
23723         "bp-asm.h".
23724         (PARMS): Do not use macros from bp-asm.h.
23725         (S1): Likewise.
23726         (SIZE): Likewise.
23727         (__mpn_submul_1): Do not use BP_SYM.
23728         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
23729         "bp-asm.h".
23730         (PARMS): Do not use macros from bp-asm.h.
23731         (S1): Likewise.
23732         (S2): Likewise.
23733         (SIZE): Likewise.
23734         (__mpn_add_n): Do not use BP_SYM.
23735         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
23736         weak_alias.
23737         (bzero): Likewise.
23738         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
23739         "bp-asm.h".
23740         (PARMS): Do not use macros from bp-asm.h.
23741         (BLK2): Likewise.
23742         (LEN): Likewise.
23743         (memcmp): Do not use BP_SYM.
23744         (bcmp): Do not use BP_SYM in weak_alias.
23745         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
23746         "bp-asm.h".
23747         (PARMS): Do not use macros from bp-asm.h.
23748         (DEST): Likewise.
23749         (SRC): Likewise.
23750         (LEN): Likewise.
23751         (memcpy): Likewise.  Do not use BP_SYM.
23752         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
23753         "bp-asm.h".
23754         (PARMS): Do not use macros from bp-asm.h.
23755         (DEST): Likewise.
23756         (SRC): Likewise.
23757         (LEN): Likewise.
23758         (memmove): Likewise.  Do not use BP_SYM.
23759         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
23760         "bp-asm.h".
23761         (PARMS): Do not use macros from bp-asm.h.
23762         (DEST): Likewise.
23763         (SRC): Likewise.
23764         (LEN): Likewise.
23765         (__mempcpy): Likewise.  Do not use BP_SYM.
23766         (mempcpy): Do not use BP_SYM in weak_alias.
23767         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
23768         "bp-asm.h".
23769         (PARMS): Do not use macros from bp-asm.h.
23770         (DEST): Likewise.
23771         (LEN): Likewise.
23772         [!BZERO_P] (CHR): Likewise.
23773         (memset): Likewise.  Do not use BP_SYM.
23774         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
23775         "bp-asm.h".
23776         (PARMS): Do not use macros from bp-asm.h.
23777         (STR2): Likewise.
23778         (strcmp): Do not use BP_SYM.
23779         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
23780         "bp-asm.h".
23781         (PARMS): Do not use macros from bp-asm.h.
23782         (STR): Likewise.
23783         (DELIM): Likewise.
23784         [USE_AS_STRTOK_R] (SAVE): Likewise.
23785         (FUNCTION): Likewise.  Do not use BP_SYM.
23786         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23787         aliases.
23788         (strtok_r): Likewise.
23789         (__GI___strtok_r): Likewise.
23790         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23791         (PARMS): Do not use macros from bp-asm.h.
23792         (S): Likewise.
23793         (SIZE): Likewise.
23794         (__mpn_lshift): Do not use BP_SYM.
23795         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23796         (PARMS): Do not use macros from bp-asm.h.
23797         (STR): Likewise.
23798         (CHR): Likewise.
23799         (__memchr): Do not use BP_SYM.
23800         (memchr): Do not use BP_SYM in weak_alias.
23801         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23802         (PARMS): Do not use macros from bp-asm.h.
23803         (BLK2): Likewise.
23804         (LEN): Likewise.
23805         (memcmp): Do not use BP_SYM.
23806         (bcmp): Do not use BP_SYM in weak_alias.
23807         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23808         (PARMS): Do not use macros from bp-asm.h.
23809         (S1): Likewise.
23810         (SIZE): Likewise.
23811         (__mpn_mul_1): Do not use BP_SYM.
23812         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23813         "bp-asm.h".
23814         (PARMS): Do not use macros from bp-asm.h.
23815         (STR): Likewise.
23816         (CHR): Likewise.
23817         (__rawmemchr): Do not use BP_SYM.
23818         (rawmemchr): Do not use BP_SYM in weak_alias.
23819         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23820         (PARMS): Do not use macros from bp-asm.h.
23821         (S): Likewise.
23822         (SIZE): Likewise.
23823         (__mpn_rshift): Do not use BP_SYM.
23824         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23825         (PARMS): Do not use macros from bp-asm.h.
23826         (SIGMSK): Likewise.
23827         (__sigsetjmp): Likewise.  Do not use BP_SYM.
23828         * sysdeps/i386/start.S: Do not include "bp-sym.h".
23829         (_start): Do not use BP_SYM.
23830         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23831         (PARMS): Do not use macros from bp-asm.h.
23832         (DEST): Likewise.
23833         (SRC): Likewise.
23834         (__stpcpy): Likewise.  Do not use BP_SYM.
23835         (stpcpy): Do not use BP_SYM in weak_alias.
23836         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23837         "bp-asm.h".
23838         (PARMS): Do not use macros from bp-asm.h.
23839         (DEST): Likewise.
23840         (SRC): Likewise.
23841         (LEN): Likewise.
23842         (__stpncpy): Likewise.  Do not use BP_SYM.
23843         (stpncpy): Do not use BP_SYM in weak_alias.
23844         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23845         (PARMS): Do not use macros from bp-asm.h.
23846         (STR): Likewise.
23847         (CHR): Likewise.
23848         (strchr): Likewise.  Do not use BP_SYM.
23849         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23850         "bp-asm.h".
23851         (PARMS): Do not use macros from bp-asm.h.
23852         (STR): Likewise.
23853         (CHR): Likewise.
23854         (__strchrnul): Likewise.  Do not use BP_SYM.
23855         (strchrnul): Do not use BP_SYM in weak_alias.
23856         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23857         "bp-asm.h".
23858         (PARMS): Do not use macros from bp-asm.h.
23859         (STOP): Likewise.
23860         (strcspn): Do not use BP_SYM.
23861         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23862         "bp-asm.h".
23863         (PARMS): Do not use macros from bp-asm.h.
23864         (STR): Likewise.
23865         (STOP): Likewise.
23866         (strpbrk): Likewise.  Do not use BP_SYM.
23867         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
23868         "bp-asm.h".
23869         (PARMS): Do not use macros from bp-asm.h.
23870         (STR): Likewise.
23871         (CHR): Likewise.
23872         (strrchr): Likewise.  Do not use BP_SYM.
23873         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23874         (PARMS): Do not use macros from bp-asm.h.
23875         (SKIP): Likewise.
23876         (strspn): Do not use BP_SYM.
23877         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23878         (PARMS): Do not use macros from bp-asm.h.
23879         (STR): Likewise.
23880         (DELIM): Likewise.
23881         (SAVE): Likewise.
23882         (FUNCTION): Likewise.  Do not use BP_SYM.
23883         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23884         aliases.
23885         (strtok_r): Likewise.
23886         (__GI___strtok_r): Likewise.
23887         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23888         (PARMS): Do not use macros from bp-asm.h.
23889         (S1): Likewise.
23890         (S2): Likewise.
23891         (SIZE): Likewise.
23892         (__mpn_sub_n): Do not use BP_SYM.
23893         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23894         "bp-asm.h".
23895         (PARMS): Do not use macros from bp-asm.h.
23896         (S1): Likewise.
23897         (SIZE): Likewise.
23898         (__mpn_submul_1): Do not use BP_SYM.
23899         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
23900         <bp-sym.h>.
23901         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
23902         and <bp-asm.h>.
23903         (PARMS): Do not use macros from bp-asm.h.
23904         (FLAGS): Likewise.
23905         (PTID): Likewise.
23906         (TLS): Likewise.
23907         (CTID): Likewise.
23908         (__clone): Do not use BP_SYM.
23909         (clone): Do not use BP_SYM in weak_alias.
23910         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
23911         and <bp-asm.h>.
23912         (PARMS): Do not use macros from bp-asm.h.
23913         (LEN): Likewise.
23914         (__mmap64): Do not use BP_SYM.
23915         (mmap64): Do not use BP_SYM in weak_alias.
23916         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23917         <bp-sym.h> and <bp-asm.h>.
23918         (PARMS): Do not use macros from bp-asm.h.
23919         (__posix_fadvise64_l64): Do not use BP_SYM.
23920         * sysdeps/unix/sysv/linux/i386/semtimedop.S
23921         (PARMS): Do not use macros from bp-asm.h.
23922         (NSOPS): Likewise.
23923         (semtimedop): Do not use BP_SYM.
23924         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
23925         and <bp-asm.h>.
23927 2013-02-21  Allan McRae  <allan@archlinux.org>
23929         * manual/message.texi (Charset conversion in gettext):
23930         Move @end statement to beginning of line.
23932 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23934         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
23935         static.
23936         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23937         Likewise.
23939         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
23940         (denorm): Likewise.
23941         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
23942         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
23944 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23946         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
23947         tail-call to the resolved function if pltexit isn't needed.
23949 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23951         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
23952         or Y being zero as being unlikely.
23953         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23954         Likewise.
23956 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
23958         * manual/nss.texi (System Databases and Name Service Switch):
23959         Remove frobnicate @pxref.
23961 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
23963         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23964         __attribute__ ((unused)) to __attribute__ ((__unused__)).
23966 2013-02-20  Petr Machata  <pmachata@redhat.com>
23968         * elf/elf.h (R_ARM_TARGET1): New macro.
23969         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
23970         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
23971         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
23972         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
23973         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
23974         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
23975         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
23976         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
23977         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
23978         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
23979         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
23980         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
23981         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
23982         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
23983         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
23984         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
23985         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
23986         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
23987         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
23988         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
23989         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
23990         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
23991         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
23992         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
23993         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
23994         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
23995         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
23996         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
23997         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
23998         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
23999         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24000         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24001         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24002         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24003         (R_ARM_THM_GOT_BREL12): Likewise.
24004         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24005         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
24006         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
24007         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
24008         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
24009         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
24010         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
24011         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
24012         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
24014 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
24016         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24017         __attribute_used__ to __attribute__ ((unused)).
24019 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24021         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
24022         powerpc mpa.c.
24023         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
24024         comment formatting.
24025         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
24027 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
24029         [BZ #13550]
24030         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
24031         Remove macro.
24032         (ENTER): Remove both macro definitions.
24033         (LEAVE): Likewise.
24034         (CHECK_BOUNDS_LOW): Likewise.
24035         (CHECK_BOUNDS_HIGH): Likewise.
24036         (CHECK_BOUNDS_BOTH): Likewise.
24037         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
24038         (RETURN_BOUNDED_POINTER): Likewise.
24039         (RETURN_NULL_BOUNDED_POINTER): Likewise.
24040         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
24041         (POP_ERRNO_LOCATION_RETURN): Likewise.
24042         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
24043         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24044         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24045         macros.
24046         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24047         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24048         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24049         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24050         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24051         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24052         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24053         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24054         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24055         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24056         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24057         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24058         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24059         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24060         removed macros.
24061         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24062         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24063         macros.
24064         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24065         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24066         * sysdeps/i386/i586/memset.S (memset): Likewise.
24067         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24068         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24069         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24070         macros.
24071         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24072         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
24073         Change uses of L(2) to L(out).
24074         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
24075         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
24076         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
24077         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24078         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24079         removed macros.
24080         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24081         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24082         macros.
24083         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24084         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24085         (RETURN): Do not use macro LEAVE.
24086         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24087         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24088         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24089         * sysdeps/i386/i686/memset.S (memset): Likewise.
24090         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24091         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24092         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24093         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24094         Likewise.
24095         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24096         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
24097         L(1_2) and L(1_3) into L(1).
24098         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24099         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24100         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24101         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24102         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24103         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24104         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24105         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24106         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24107         macros.
24108         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24109         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24110         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24111         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24112         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24113         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24114         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24115         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24116         * sysdeps/i386/strcspn.S (strcspn): Likewise.
24117         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24118         * sysdeps/i386/strrchr.S (strrchr): Likewise.
24119         * sysdeps/i386/strspn.S (strspn): Likewise.
24120         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24121         conditional code.
24122         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24123         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24124         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24125         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
24126         L(1_3) into L(1_1).
24127         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24128         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24129         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24130         macros.
24131         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24133 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
24135         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24136         macro.
24138 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24140         * math/atest-exp.c (exp_mpn): Remove ROUND.
24141         * math/atest-exp2.c (exp_mpn): Likewise.
24142         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24144         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24145         * stdlib/tst-tls-atexit-lib.c: Likewise.
24146         * stdlib/tst-tls-atexit.c: Likewise.
24148 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24150         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24151         and __attribute_alloc_size__.
24153 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24155         * include/programs/xmalloc.h: Change __attribute_alloc_size to
24156         __attribute_alloc_size__.
24157         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24158         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24160 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24162         * include/programs/xmalloc.h: New file.
24163         * catgets/gencat.c: Include it.
24164         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24165         * elf/pldd.c: Likewise.
24166         * iconv/iconv_charmap.c: Likewise.
24167         * iconv/iconvconfig.c: Likewise.
24168         * iconv/strtab.c: Likewise.
24169         * locale/programs/locale.c: Likewise.
24170         * locale/programs/localedef.h: Likewise.
24171         * locale/programs/simple-hash.c: Likewise.
24172         * nscd/nscd.h: Likewise.
24173         * nss/makedb.c: Likewise.
24174         * sysdeps/generic/ldconfig.h: Likewise.
24176 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24178         * Versions.def: Add GLIBC_2.18.
24179         * include/link.h (struct link_map): New member l_tls_dtor_count.
24180         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24181         (__call_tls_dtors): Likewise.
24182         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24183         __cxa_thread_atexit_impl.
24184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24185         Likewise.
24186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24187         Likewise.
24188         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24189         Likewise.
24190         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24191         Likewise.
24192         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24193         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
24194         Likewise.
24195         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
24196         Likewise.
24197         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24198         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24199         Likewise.
24200         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24201         (tests): Add test case tst-tls-atexit.
24202         (modules-names): Add shared library for tst-tls-atexit.
24203         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
24204         (GLIBC_PRIVATE): Add __call_tls_dtors.
24205         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24206         for libstdc++.
24207         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24208         * stdlib/tst-tls-atexit.c: New test case.
24209         * stdlib/tst-tls-atexit-lib.c: New test case.
24211         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
24213         * elf/Versions (ld): Add _dl_find_dso_for_object.
24214         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24215         * elf/dl-open.c (_dl_find_dso_for_object): New function.
24216         (dl_open_worker): Use _dl_find_dso_for_object.
24217         * elf/dl-sym.c (do_sym): Likewise.
24218         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24220 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24222         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24223         Syntactic changes only.
24224         (_dl_runtime_profile): Do a tail-call to the resolved function.
24226 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
24228         [BZ #13550]
24229         * sysdeps/x86_64/bp-asm.h: Remove file.
24230         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24231         <bp-sym.h> and <bp-asm.h>.
24232         (__clone): Do not use BP_SYM.
24233         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24234         <bp-sym.h> and <bp-asm.h>.
24235         * sysdeps/unix/x86_64/sysdep.S: Likewise.
24236         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24237         "bp-asm.h".
24238         (_setjmp): Do not use BP_SYM.
24239         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24240         "bp-asm.h".
24241         (setjmp): Do not use BP_SYM.
24242         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24243         libc_hidden_def.
24244         (mempcpy): Do not use BP_SYM in weak_alias.
24245         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24246         "bp-asm.h".
24247         (strchr): Do not use BP_SYM.
24248         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24249         "bp-asm.h".
24250         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24251         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24252         (_start): Do not use BP_SYM.
24253         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24254         "bp-asm.h".
24255         (strcat): Do not use BP_SYM.
24256         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24257         "bp-asm.h".
24258         (STRCMP): Do not use BP_SYM.
24259         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24260         "bp-asm.h".
24261         (STRCPY): Do not use BP_SYM.
24262         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24263         "bp-asm.h".
24264         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24265         "bp-asm.h".
24266         (FUNCTION): Do not use BP_SYM.
24267         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24268         weak_alias.
24269         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24271 2013-02-17  Andreas Jaeger  <aj@suse.de>
24273         * time/Versions: Sort entries.
24274         * string/Versions: Likewise.
24275         * resolv/Versions: Likewise.
24276         * posix/Versions: Likewise.
24277         * iconv/Versions: Likewise.
24278         * elf/Versions: Likewise.
24279         * wcsmbs/Versions: Likewise.
24281 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24283         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24284         loop termination condition.
24286         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24287         variable to calculate EZ.
24288         (__sqr): Likewise.
24290         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24291         the lower precision input.
24293 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
24295         [BZ #13550]
24296         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24297         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24298         (run-via-rtld-prefix): Do not handle %-bp tests.
24299         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24300         (all-object-suffixes): Remove .ob.
24301         (bppfx): Remove variable.
24302         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24303         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24304         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24305         [$(build-bounded) = yes] (libtype.ob): Likewise.
24306         * Makerules (elide-routines.ob): Remove variable.
24307         (do-tests-clean): Do not handle *-bp.out.
24308         (common-mostlyclean): Do not handle *-bp and *-bp.out.
24309         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24310         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
24311         (tests): Do not include $(tests-bp.out).
24312         (xtests): Do not include $(xtests-bp.out).
24313         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
24314         [$(build-bounded) = yes] ($(addprefix
24315         $(objpfx),$(binaries-bounded))): Remove rule.
24316         ($(objpfx)%-bp.out): Remove rule.
24317         * config.make.in (build-bounded): Remove variable.
24318         * crypt/Makefile [$(build-bounded) = yes]
24319         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
24320         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
24321         append to variable.
24322         [$(build-bounded) = yes] (install-lib): Likewise.
24323         [$(build-bounded) = yes] (generated): Likewise.
24324         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
24325         Remove rule.
24326         * intl/Makefile [$(build-bounded) = yes]
24327         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
24328         * math/Makefile [$(build-bounded) = yes]
24329         ($(tests:%=$(objpfx)%-bp): Likewise.
24330         * misc/Makefile [$(build-bounded) = yes]
24331         ($(objpfx)tst-tsearch-bp): Likewise.
24332         * nptl/Makeconfig (bounded-thread-library): Remove variable.
24333         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
24334         Remove dependency.
24335         * string/Makefile (o-objects.ob): Remove variable.
24336         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
24337         (CFLAGS-.ob): Remove variable.
24338         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
24339         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
24340         both definitions of variable.
24341         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
24342         (ASFLAGS-.ob): Remove variable.
24344 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
24346         [BZ #13550]
24347         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
24348         Remove __BOUNDED_POINTERS__ from condition.
24349         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
24350         * string/bits/string2.h [!__NO_STRING_INLINES &&
24351         !__BOUNDED_POINTERS__]: Likewise.
24352         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
24353         Likewise.
24354         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
24355         Remove conditional code.
24356         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
24357         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
24358         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
24359         condition.
24361         [BZ #13550]
24362         * csu/libc-start.c: Do not include <bp-sym.h>.
24363         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
24364         * elf/dl-open.c: Do not include <bp-sym.h>.
24365         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
24366         * math/fegetenv.c: Do not include <bp-sym.h>.
24367         (fegetenv): Do not use BP_SYM in versioned symbols.
24368         * nptl/sysdeps/pthread/bits/libc-lockP.h
24369         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
24370         <bp-sym.h>.
24371         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24372         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
24373         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24374         (__pthread_mutex_destroy): Likewise.
24375         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24376         (__pthread_mutex_lock): Likewise.
24377         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24378         (__pthread_mutex_trylock): Likewise.
24379         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24380         (__pthread_mutex_unlock): Likewise.
24381         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24382         (__pthread_mutexattr_init): Likewise.
24383         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24384         (__pthread_mutexattr_destroy): Likewise.
24385         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24386         (__pthread_mutexattr_settype): Likewise.
24387         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24388         (__pthread_rwlock_init): Likewise.
24389         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24390         (__pthread_rwlock_destroy): Likewise.
24391         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24392         (__pthread_rwlock_rdlock): Likewise.
24393         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24394         (__pthread_rwlock_tryrdlock): Likewise.
24395         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24396         (__pthread_rwlock_wrlock): Likewise.
24397         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24398         (__pthread_rwlock_trywrlock): Likewise.
24399         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24400         (__pthread_rwlock_unlock): Likewise.
24401         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24402         (__pthread_key_create): Likewise.
24403         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24404         (__pthread_setspecific): Likewise.
24405         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24406         (__pthread_getspecific): Likewise.
24407         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24408         Likewise.
24409         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24410         (_pthread_cleanup_push_defer): Likewise.
24411         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24412         (_pthread_cleanup_pop_restore): Likewise.
24413         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24414         (pthread_setcancelstate): Likewise.
24415         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24416         <bp-sym.h>.
24417         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24418         (memchr): Do not use BP_SYM in weak_alias.
24419         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24420         (fegetenv): Do not use BP_SYM in versioned symbols.
24421         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24422         (fesetenv): Do not use BP_SYM in versioned symbols.
24423         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24424         (feupdateenv): Do not use BP_SYM in versioned symbols.
24425         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24426         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24427         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24428         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24429         (open64): Do not use BP_SYM in weak_alias.
24430         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24431         (fegetenv): Do not use BP_SYM in versioned symbols.
24432         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24433         (fesetenv): Do not use BP_SYM in versioned symbols.
24434         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24435         (feupdateenv): Do not use BP_SYM in versioned symbols.
24436         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24437         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24438         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24439         (feraiseexcept): Do not use BP_SYM in versioned symbols.
24440         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24441         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24442         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24443         <bp-sym.h>.
24444         (__libc_start_main): Do not use BP_SYM.
24446 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24448         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24449         redundant return line.
24450         (norm): Likewise.
24451         (denorm): Likewise.
24452         (dbl_mp): Likewise.
24453         (sub_magnitudes): Likewise.
24454         (__add): Likewise.
24455         (__sub): Likewise.
24456         (__mul): Likewise.
24457         (__inv): Likewise.
24458         (__dvd): Likewise.
24459         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24460         (norm): Likewise.
24461         (denorm): Likewise.
24462         (dbl_mp): Likewise.
24463         (sub_magnitudes): Likewise.
24464         (__add): Likewise.
24465         (__sub): Likewise.
24466         (__mul): Likewise.
24467         (__inv): Likewise.
24468         (__dvd): Likewise.
24470         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24471         instead of __mul.
24472         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24473         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24474         (cc32): Likewise.
24476         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24477         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24478         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24479         of __mul for squares.
24480         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24481         function
24482         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24483         Likewise.
24484         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24485         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24487 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
24489         [BZ #13550]
24490         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24491         code.
24492         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24493         prototype or function definition.  Rename ubp_* variables and
24494         parameters.  Remove argv definitions conditional on
24495         [__BOUNDED_POINTERS__].
24496         * debug/backtrace.c (__backtrace): Do not use __unbounded.
24497         * elf/dl-runtime.c (_dl_fixup): Likewise.
24498         * include/set-hooks.h (RUN_HOOK): Likewise.
24499         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24500         definition.
24501         * string/strcpy.c (strcpy): Do not use __unbounded.
24502         * sysdeps/generic/frame.h (struct layout): Likewise.
24503         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24504         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24505         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24506         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24507         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24508         (__backtrace): Likewise.
24509         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24510         use __ptrvalue.
24511         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24512         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24513         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24514         Likewise.
24515         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24516         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24517         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24518         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24519         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24520         Do not use __unbounded.
24521         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
24522         Rename __unboundedrlimits parameter to rlimits in prototype.
24523         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
24524         Do not use __unbounded.
24525         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
24526         not use __ptrvalue.
24527         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24528         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
24529         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24530         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
24531         __ptrvalue or __unbounded.
24532         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
24533         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
24534         use __unbounded.
24535         (__new_msgctl): Do not use __ptrvalue.
24536         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
24537         __unbounded.
24538         (__libc_msgrcv): Do not use __ptrvalue.
24539         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
24540         startup_info): Do not use __unbounded.
24541         (__libc_start_main): Likewise.  Rename ubp_* variables and
24542         parameters.  Remove argv definitions conditional on
24543         [__BOUNDED_POINTERS__].
24544         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
24545         __ptrvalue.
24546         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
24547         use __unbounded.
24548         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
24549         or __ptrvalue.
24550         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
24551         use __unbounded.
24552         (__new_shmctl): Do not use __ptrvalue.
24553         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24554         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24555         Likewise.
24556         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24557         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
24558         (__libc_sigaction): Likewise.
24559         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
24560         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
24561         Likewise.
24562         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24564 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
24566         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
24568         * string/mempcpy.c: Implement by calling memcpy.
24570 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24572         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
24574         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
24575         evaluation.
24577         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
24578         values in the mantissa.
24580         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
24581         minimize writes to Z.
24582         (sub_magnitudes): Simplify code a bit.
24584 2013-02-12  Roland McGrath  <roland@hack.frob.com>
24586         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
24587         from the message.  The linker prefixes all warnings with that already.
24589 2013-02-12  Andreas Schwab  <schwab@suse.de>
24591         [BZ #15078]
24592         * posix/regexec.c (extend_buffers): Add parameter min_len.
24593         (check_matching): Pass minimum needed length.
24594         (clean_state_log_if_needed): Likewise.
24595         (get_subexp): Likewise.
24596         * posix/Makefile (tests): Add bug-regex34.
24597         (bug-regex34-ENV): Define.
24598         * posix/bug-regex34.c: New file.
24600         [BZ #11561]
24601         * posix/regcomp.c (parse_bracket_exp): When looking up collating
24602         elements compare against the byte sequence of it, not its name.
24603         * posix/Makefile (tests): Add bug-regex35.
24604         (bug-regex35-ENV): Define.
24605         * posix/bug-regex35.c: New file.
24607 2013-02-11  Tom de Vries  <tom@codesourcery.com>
24609         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
24610         comment.
24611         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
24612         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
24613         (CHECK_EOL): Add undef.
24615 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
24617         * bits/stdlib-bsearch.h: New file.
24618         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
24619         * stdlib/stdlib.h: Likewise.
24621 2013-02-11  Roland McGrath  <roland@hack.frob.com>
24623         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
24624         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
24625         declaration.
24626         * manual/search.texi (Array Search Function): Add missing const in
24627         lfind prototype.
24628         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
24629         declaration to use rlim_t.
24630         (Basic Scheduling Functions): Remove erroneous const from
24631         sched_getparam prototype.  Remove erroneous * from
24632         sched_get_priority_max and sched_get_priority_min prototypes.
24633         (Resource Usage): Fix summary @comment on vtimes to refer to
24634         sys/vtimes.h rather than vtimes.h.
24635         Add missing *s in vtimes prototype.
24636         (Limits on Resources): Fix ulimit prototype to return long int.
24637         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
24638         prototypes to use long int rather than double.
24639         (BSD Random): Fix initstate and setstate to use char *, not void *.
24640         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
24641         prototype to make second argument 'struct aiocb64 *const[]'.
24642         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
24643         (Status of AIO Operations): Remove erroneous const in aio_return and
24644         aio_return64 prototypes.
24645         (Synchronizing I/O): Fix sync prototype to return void.
24646         * manual/startup.texi (Suboptions): Remove an erroneous const in
24647         getsubopt prototype.
24648         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
24649         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
24650         use size_t rather than int.
24651         (Scanning All Users): Likewise for getpwent_r.
24652         (Setting Groups): Add missing const to setgroups prototype.
24653         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
24654         * manual/socket.texi (Host Names): Fix gethostbyaddr and
24655         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
24656         'const void *' rather than 'const char *'.
24657         (Host Address Functions): Likewise for inet_ntop.
24658         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
24659         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
24660         ssize_t for return value.
24661         (Sending Data): Likewise for send, sendto, sendmsg.
24662         (Socket Option Functions): Add a missing const in setsockopt prototype.
24663         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
24664         use wchar_t for the argument.
24665         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
24666         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
24667         take no arguments.
24668         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
24669         double/float/long double for second argument.
24670         Fix return types of significand, significandf, significandl.
24671         * manual/filesys.texi (Setting Permissions): Use mode_t for second
24672         argument in fchmod prototype.
24673         (File Owner): Use uid_t and gid_t in fchown prototype.
24674         (File Times): Add const to utimes, futimes, and lutimes prototypes.
24675         (Making Special Files): Use mode_t and dev_t in mknod prototype.
24676         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
24677         use 'const struct dirent **' as argument types to CMP function pointer
24678         argument.
24679         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
24680         (File Times): Fix summary magic @comment for struct utimbuf and utime
24681         to refer to utime.h, not time.h.
24682         * manual/string.texi (Argz Functions): Add missing const in
24683         argz_extract and argz_next prototypes.
24684         (Finding Tokens in a String): Likewise for basename.
24685         (String/Array Comparison): Fix typo in wcscasecmp prototype.
24686         (Copying and Concatenation): Fix typo in wmemmove prototype.
24687         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
24688         (Signal Stack): Remove erroneous const in sigstack prototype.
24689         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
24690         prototype.
24691         (Simple Calendar Time): Likewise for stime.
24692         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
24693         prototype.
24694         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
24695         say sys/sysctl.h instead.
24696         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
24697         and vsyslog prototypes.
24699 2013-02-11  Tom de Vries  <tom@codesourcery.com>
24701         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
24702         Remove.
24704 2013-02-11  Roland McGrath  <roland@hack.frob.com>
24706         * misc/sys/mman.h: Fix typo in mremap comment.
24708 2013-02-08  Roland McGrath  <roland@hack.frob.com>
24710         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
24711         the '\0' terminator.
24713 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
24715         [BZ #13550]
24716         * debug/segfault.c: Don't include <bp-checks.h>.
24717         * sysdeps/generic/bp-checks.h: Remove file.
24718         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
24719         (__GETDENTS): Don't use CHECK_N.
24720         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
24721         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24722         (__getgroups): Don't use CHECK_N.
24723         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
24724         (setgroups): Don't use CHECK_N.
24725         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
24726         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24727         (__libc_msgrcv): Don't use CHECK_N.
24728         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
24729         (__libc_msgsnd): Don't use CHECK_N.
24730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24731         <bp-checks.h>.
24732         (__libc_pread): Don't use CHECK_N.
24733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
24734         include <bp-checks.h>.
24735         (__libc_pread64): Don't use CHECK_N.
24736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
24737         include <bp-checks.h>.
24738         (__libc_pwrite): Don't use CHECK_N.
24739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
24740         include <bp-checks.h>.
24741         (__libc_pwrite64): Don't use CHECK_N.
24742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
24743         <bp-checks.h>.
24744         (__libc_pread): Don't use CHECK_N.
24745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
24746         include <bp-checks.h>.
24747         (__libc_pread64): Don't use CHECK_N.
24748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
24749         include <bp-checks.h>.
24750         (__libc_pwrite): Don't use CHECK_N.
24751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
24752         include <bp-checks.h>.
24753         (__libc_pwrite64): Don't use CHECK_N.
24754         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
24755         (do_pread): Don't use CHECK_N.
24756         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
24757         (do_pread64): Don't use CHECK_N.
24758         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
24759         (do_pwrite): Don't use CHECK_N.
24760         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
24761         (do_pwrite64): Don't use CHECK_N.
24762         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
24763         (__libc_readv): Don't use CHECK_N.
24764         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
24765         (semop): Don't use CHECK_N.
24766         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
24767         <bp-checks.h>.
24768         (semtimedop): Don't use CHECK_N.
24769         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
24770         (__libc_pread): Don't use CHECK_N.
24771         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
24772         <bp-checks.h>.
24773         (__libc_pread64): Don't use CHECK_N.
24774         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
24775         <bp-checks.h>.
24776         (__libc_pwrite): Don't use CHECK_N.
24777         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
24778         <bp-checks.h>.
24779         (__libc_pwrite64): Don't use CHECK_N.
24780         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
24781         <bp-checks.h>.
24782         (__libc_msgrcv): Don't use CHECK_N.
24783         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24784         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
24785         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24786         (__libc_writev): Don't use CHECK_N.
24788 2013-02-08  Roland McGrath  <roland@hack.frob.com>
24790         * string/strcpy.c: Removed unused variable.
24792         * Makeconfig (+sysdep-includes): Define with := rather than =.
24793         Use an existing include/ subdir of each sysdeps dir before it.
24795 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
24797         * nscd/connection.c (register_traced_file): Comment function.
24798         [HAVE_INOTIFY] (union __inev): Define.
24799         [HAVE_INOTIFY] (inotify_check_files): New function.
24800         [HAVE_INOTIFY] (clear_db_cache): Likewise.
24801         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24802         clear_db_cache.
24803         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24805 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
24807         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24808         loaded if not already and that a failure is permanent.
24810 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
24812         [BZ #15006]
24813         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24814         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24816 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
24818         [BZ #13550]
24819         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24820         (CHECK_1_NULL_OK): Likewise.
24821         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24822         (__fxstat): Do not use CHECK_1.
24823         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24824         <bp-checks.h>.
24825         (___fxstat64): Do not use CHECK_1.
24826         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24827         <bp-checks.h>.
24828         (__fxstatat): Do not use CHECK_1.
24829         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24830         <bp-checks.h>.
24831         (__fxstatat64): Do not use CHECK_1.
24832         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24833         <bp-checks.h>.
24834         (__fxstat): Do not use CHECK_1.
24835         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24836         <bp-checks.h>.
24837         (__fxstatat): Do not use CHECK_1.
24838         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24839         <bp-checks.h>.
24840         (__getresgid): Do not use CHECK_1.
24841         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24842         <bp-checks.h>.
24843         (__getresuid): Do not use CHECK_1.
24844         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24845         <bp-checks.h>.
24846         (__lxstat): Do not use CHECK_1.
24847         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24848         <bp-checks.h>.
24849         (__old_msgctl): Do not use CHECK_1.
24850         (__new_msgctl): Likewise.
24851         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24852         <bp-checks.h>.
24853         (__new_setrlimit): Do not use CHECK_1.
24854         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24855         <bp-checks.h>.
24856         (__old_shmctl): Do not use CHECK_1.
24857         (__new_shmctl): Likewise.
24858         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24859         <bp-checks.h>.
24860         (__xstat): Do not use CHECK_1.
24861         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24862         (__lxstat): Do not use CHECK_1.
24863         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24864         <bp-checks.h>.
24865         (___lxstat64): Do not use CHECK_1.
24866         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24867         (__old_msgctl): Do not use CHECK_1.
24868         (__new_msgctl): Likewise.
24869         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24870         <bp-checks.h>.
24871         (__gettimeofday): Do not use CHECK_1.
24872         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24873         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24874         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24875         <bp-checks.h>.
24876         (__gettimeofday): Do not use CHECK_1.
24877         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24878         (__old_shmctl): Do not use CHECK_1_NULL_OK.
24879         (__new_shmctl): Do not use CHECK_1.
24880         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24881         <bp-checks.h>.
24882         (do_sigtimedwait): Do not use CHECK_1.
24883         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24884         <bp-checks.h>.
24885         (do_sigwaitinfo): Do not use CHECK_1.
24886         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24887         <bp-checks.h>.
24888         (msgctl): Do not use CHECK_1.
24889         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24890         <bp-checks.h>.
24891         (shmctl): Do not use CHECK_1.
24892         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24893         (ustat): Do not use CHECK_1.
24894         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
24895         <bp-checks.h>.
24896         (__fxstat): Do not use CHECK_1.
24897         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24898         <bp-checks.h>.
24899         (__fxstatat): Do not use CHECK_1.
24900         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
24901         <bp-checks.h>.
24902         (__lxstat): Do not use CHECK_1.
24903         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
24904         <bp-checks.h>.
24905         (__xstat): Do not use CHECK_1.
24906         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
24907         (__xstat): Do not use CHECK_1.
24908         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
24909         (___xstat64): Do not use CHECK_1.
24911         [BZ #13550]
24912         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
24913         definitions.
24914         (CHECK_BOUNDS_HIGH): Likewise.
24915         * string/strcpy.c: Do not include <bp-checks.h>.
24916         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
24918 2013-02-07  Roland McGrath  <roland@hack.frob.com>
24920         * nscd/nscd-client.h (__nscd_drop_map_ref):
24921         Add __attribute__ ((unused)).
24922         * nis/nss-nisplus.h (niserr2nss): Likewise.
24924         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
24925         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
24927         * csu/libc-tls.c (init_static_tls, init_slotinfo):
24928         Remove inline keyword.
24929         * include/rounding-mode.h (round_away): Likewise.
24930         * libio/wfileops.c (adjust_wide_data): Likewise.
24931         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
24932         (__m128i_strloadu_tolower): Likewise.
24933         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
24934         (__m128i_strloadu_tolower): Likewise.
24935         * time/mktime.c (ydhms_diff): Likewise.
24936         * locale/elem-hash.h (elem_hash): Likewise.
24937         * locale/setlocale.c (setdata): Likewise.
24938         * posix/regex_internal.h (re_string_char_size_at): Likewise.
24939         (re_string_wchar_at): Likewise.
24940         (bitset_not, bitset_merge, bitset_mask): Likewise.
24941         [!(__GNUC__ > 3)] (inline): Remove macro.
24942         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
24943         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
24944         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24945         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24946         * string/memcmp.c (memcmp_bytes): Likewise.
24947         * locale/programs/locarchive.c (compute_hashval): Likewise.
24948         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
24949         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
24950         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
24951         * nss/getent.c (print_rpc, print_protocols): Likewise.
24952         (print_passwd, print_group, print_aliases): Likewise.
24953         * nis/nss-nisplus.h (niserr2nss): Likewise.
24954         * nscd/connections.c (restart_p): Likewise.
24955         Change return type to bool.
24957 2013-02-05  Roland McGrath  <roland@hack.frob.com>
24959         * Makeconfig (all-Depend-files): Add existing
24960         $(sorted-subdirs:=/Depend) files.
24961         (all-subdirs): Remove nss.
24962         * sysdeps/unix/inet/Subdirs: Add it here instead.
24963         * hesiod/Depend: New file.
24965         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
24966         instead of calling alloca.
24968         * io/lseek.c (__lseek): Rename to __libc_lseek.
24969         Define __lseek as an alias.
24971         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
24973 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
24975         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
24976         else clause and remove check for non-standard endianness.
24978 2013-02-04  David S. Miller  <davem@davemloft.net>
24980         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24982 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
24984         [BZ #13550]
24985         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
24986         (__ubp_memchr): Remove prototype.
24987         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
24988         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24989         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
24990         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
24991         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
24992         Remove alias.
24993         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
24994         (__ubp_memchr): Likewise.
24995         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
24996         (__ubp_memchr): Likewise.
24997         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
24998         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
24999         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25000         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25001         CHECK_STRING.
25002         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25003         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25004         (__getcwd): Do not use CHECK_STRING.
25005         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25006         <bp-checks.h>.
25007         (__real_chown): Do not use CHECK_STRING.
25008         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
25009         <bp-checks.h>.
25010         (fchownat): Do not use CHECK_STRING.
25011         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
25012         CHECK_STRING.
25013         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25014         <bp-checks.h>.
25015         (__lchown): Do not use CHECK_STRING.
25016         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25017         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25018         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25019         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25021         include <bp-checks.h>.
25022         (truncate64): Do not use CHECK_STRING.
25023         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25024         <bp-checks.h>.
25025         (__real_chown): Do not use CHECK_STRING.
25026         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25027         <bp-checks.h>.
25028         (__lchown): Do not use CHECK_STRING.
25029         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25030         <bp-checks.h>.
25031         (__chown): Do not use CHECK_STRING.
25032         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
25033         <bp-checks.h>.
25034         (truncate64): Do not use CHECK_STRING.
25035         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
25036         Likewise.
25037         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
25038         (__xmknod): Do not use CHECK_STRING.
25039         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25040         <bp-checks.h>.
25041         (__xmknodat): Do not use CHECK_STRING.
25042         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25043         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25045 2013-02-04  Andreas Schwab  <schwab@suse.de>
25047         [BZ #14142]
25048         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25049         * include/netdb.h: Likewise for h_errno.
25050         * elf/tst-stackguard1.c: Include <tls.h>.
25052 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
25054         * elf/link.h (struct link_map): Extend the l_addr comment.
25055         * include/link.h (struct link_map): Likewise.
25057 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
25059         [BZ #13550]
25060         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25061         (BOUNDED_1): Remove macro.
25062         * debug/backtrace.c: Don't include <bp-checks.h>.
25063         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25064         (__backtrace): Likewise.
25065         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25066         <bp-checks.h>.
25067         (__backtrace): Don't use BOUNDED_1.
25068         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25069         <bp-checks.h>.
25070         (__backtrace): Don't use BOUNDED_1.
25071         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
25072         (__backtrace): Don't use BOUNDED_1.
25073         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
25074         (shmat): Don't use BOUNDED_N.
25076 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
25078         [BZ #13550]
25079         * sysdeps/generic/bp-start.h: Remove file.
25080         * csu/libc-start.c: Don't include <bp-start.h>.
25081         (LIBC_START_MAIN): Set up __environ directly instead of using
25082         INIT_ARGV_and_ENVIRON.
25083         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25084         <bp-start.h>.
25086         [BZ #13550]
25087         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25088         definitions.
25089         (CHECK_FCNTL): Likewise.
25090         (CHECK_N_PAGES): Likewise.
25092         [BZ #13550]
25093         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25094         definitions.
25095         (CHECK_SIGSET_NULL_OK): Likewise.
25096         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25097         <bp-checks.h>.
25098         (sigpending): Don't use CHECK_SIGSET.
25099         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25100         <bp-checks.h>.
25101         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25102         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25103         <bp-checks.h>.
25104         (do_sigsuspend): Don't use CHECK_SIGSET.
25105         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25106         use CHECK_SIGSET.
25107         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25108         (do_sigwait): Don't use CHECK_SIGSET.
25109         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25110         use CHECK_SIGSET.
25111         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25112         include <bp-checks.h>.
25113         (sigpending): Don't use CHECK_SIGSET.
25114         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25115         include <bp-checks.h>.
25116         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25117         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25118         <bp-checks.h>.
25119         (sigpending): Don't use CHECK_SIGSET.
25120         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25121         <bp-checks.h>.
25122         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25124         [BZ #13550]
25125         * sysdeps/generic/bp-semctl.h: Remove file.
25126         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25127         <bp-checks.h> and <bp-semctl.h>.
25128         (__old_semctl): Don't use CHECK_SEMCTL.
25129         (__new_semctl): Likewise.
25130         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25131         and <bp-semctl.h>.
25132         (__old_semctl): Don't use CHECK_SEMCTL.
25133         (__new_semctl): Likewise.
25134         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25135         <bp-checks.h> and <bp-semctl.h>.
25136         (__old_semctl): Don't use CHECK_SEMCTL.
25137         (__new_semctl): Likewise.
25138         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25139         <bp-checks.h> and <bp-semctl.h>.
25140         (semctl): Don't use CHECK_SEMCTL.
25142         [BZ #13550]
25143         * Makerules (elide-bp-thunks): Remove variable.
25144         (elide-routines.oS): Don't use $(elide-bp-thunks).
25145         (elide-routines.os): Likewise.
25146         (elide-routines.o): Likewise.
25147         (elide-routines.op): Likewise.
25148         (elide-routines.og): Likewise.
25149         (objects): Don't use $(bp-thunks).
25150         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25151         include.
25152         (common-generated): Do not add s-proto-bp.d.
25153         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25154         (int): Likewise.
25155         (typ): Likewise.
25156         Do not generate makefile rules for bounded-pointer thunks.
25157         * sysdeps/generic/bp-thunks.h: Remove file.
25158         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25159         * sysdeps/unix/s-proto-bp.S: Likewise.
25161         [BZ #15062]
25162         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25163         parts of result separately when argument is not close to line from
25164         -i to i and one part of argument is small.
25165         * math/k_casinhf.c (__kernel_casinhf): Likewise.
25166         * math/k_casinhl.c (__kernel_casinhl): Likewise.
25167         * math/libm-test.inc (cacos_test): Add more tests.
25168         (casin_test): Likewise.
25169         (casinh_test): Likewise.
25170         * sysdeps/i386/fpu/libm-test-ulps: Update.
25171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25173 2013-01-31  David S. Miller  <davem@davemloft.net>
25175         * po/de.po: Update from translation team.
25177 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
25179         * time/tzfile.c: Include stdint.h for SIZE_MAX.
25181 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
25183         * configure.in (_AC_PROG_CC_C89): New definition.
25184         * configure: Regenerate.
25186         * configure.in (AC_PROG_CPP): New definition.
25187         * configure: Regenerate.
25189 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
25191         * debug/tst-backtrace.h: New file.
25192         * debug/tst-backtrace2.c: Include tst-backtrace.h.
25193         (ret): Remove variable.
25194         (x): Likewise.
25195         (FAIL): Remove macro.
25196         (NO_INLINE): Likewise.
25197         (fn1): Use match function instead of strstr.
25198         * debug/tst-backtrace3.c: Include tst-backtrace.h.
25199         (ret): Remove variable.
25200         (x): Likewise.
25201         (FAIL): Remove macro.
25202         (NO_INLINE): Likewise.
25203         (fn): Use match function instead of strstr.
25204         * debug/tst-backtrace4.c: Include tst-backtrace.h.
25205         (ret): Remove variable.
25206         (x): Likewise.
25207         (FAIL): Remove macro.
25208         (NO_INLINE): Likewise.
25209         (handle_signal): Use match function instead of strstr.
25210         * debug/tst-backtrace5.c: Include tst-backtrace.h.
25211         (ret): Remove variable.
25212         (x): Likewise.
25213         (FAIL): Remove macro.
25214         (NO_INLINE): Likewise.
25215         (handle_signal): Use match function instead of strstr.
25217 2013-01-23  Roland McGrath  <roland@hack.frob.com>
25219         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25221 2013-01-23  David S. Miller  <davem@davemloft.net>
25223         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25224         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25225         argument of CAS if possible.
25226         * sysdeps/sparc/sparc64/bits/atomic.h
25227         (__arch_compare_and_exchange_val_32_acq): Likewise.
25228         (__arch_compare_and_exchange_val_64_acq): Likewise.
25230 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
25232         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25233         * sysdeps/posix/ulimit.c: ... this.
25234         Include <limits.h>.
25235         * sysdeps/unix/bsd/ulimit.c: Remove file.
25237 2013-01-23  Adam Conrad  <adconrad@0c3.net>
25239         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25240         (LDFLAGS-tst-array5): Likewise.
25242 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
25244         [BZ #15036]
25245         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25246         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25247         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25248         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25250 2013-01-21  David S. Miller  <davem@davemloft.net>
25252         * sysdeps/sparc/backtrace.c: New file.
25253         * sysdeps/sparc/sparc32/backtrace.h: New file.
25254         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25255         * sysdeps/sparc/sparc64/backtrace.h: New file.
25256         * sysdeps/sparc/sparc64/backtrace.c: Delete.
25257         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25258         -funwind-tables.
25260 2013-01-21  Andreas Schwab  <schwab@suse.de>
25262         [BZ #15020]
25263         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25264         closed its stdout.
25266 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
25268         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25269         "mpa2.h".
25270         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25272 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
25273             Mark Mitchell  <mark@codesourcery.com>
25274             Tom de Vries  <tom@codesourcery.com>
25275             Paul Pluzhnikov  <ppluzhnikov@google.com>
25277         * debug/tst-backtrace2.c: New file.
25278         * debug/tst-backtrace3.c: Likewise.
25279         * debug/tst-backtrace4.c: Likewise.
25280         * debug/tst-backtrace5.c: Likewise.
25281         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25282         (CFLAGS-tst-backtrace3.c): Likewise.
25283         (CFLAGS-tst-backtrace4.c): Likewise.
25284         (CFLAGS-tst-backtrace5.c): Likewise.
25285         (LDFLAGS-tst-backtrace2): Likewise.
25286         (LDFLAGS-tst-backtrace3): Likewise.
25287         (LDFLAGS-tst-backtrace4): Likewise.
25288         (LDFLAGS-tst-backtrace5): Likewise.
25289         (tests): Add new tests tst-backtrace2, tst-backtrace3,
25290         tst-backtrace4 and tst-backtrace5.
25292 2013-01-18  Anton Blanchard  <anton@samba.org>
25293             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25295         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25296         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25297         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25298         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25300         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25301         "+r" and remove output regs list as redundant.  Add explicit inline
25302         asm to specify register of return val to work around compiler codegen
25303         bug.  Remove (int) cast on return value.  Add return type parameter to
25304         use in macro so that this macro does not truncate return value for
25305         64-bit values.
25306         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25307         pass to INTERNAL_VSYSCALL_NCS.
25308         (INLINE_VSYSCALL): Add 'long int' as return type to
25309         INTERNAL_VSYSCALL_NCS macro invocation.
25310         (INTERNAL_VSYSCALL): Add 'long int' as return type to
25311         INTERNAL_VSYSCALL_NCS macro invocation.
25312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25314 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25316         [BZ #14496]
25317         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
25318         Fix application of SIMD FP exception mask.
25320         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
25321         mp_no from a power of two.
25322         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
25323         __mpexp_twomm1.  Use __pow_mp.
25325         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
25326         multiplication.
25328 2013-01-17  David S. Miller  <davem@davemloft.net>
25330         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25332 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
25334         [BZ #15023]
25335         * include/complex.h: Condition contents on [!_COMPLEX_H].
25336         (__kernel_casinhf): New prototype.
25337         (__kernel_casinh): Likewise.
25338         (__kernel_casinhl): Likewise.
25339         * math/Makefile (libm_calls): Add k_casinh.
25340         * math/k_casinh.c: New file.
25341         * math/k_casinhf.c: Likewise.
25342         * math/k_casinhl.c: Likewise.
25343         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
25344         finite nonzero arguments.
25345         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
25346         finite nonzero arguments.
25347         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
25348         finite nonzero arguments.
25349         * math/s_casinh.c: Do not include <float.h>.
25350         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
25351         * math/s_casinhf.c: Do not include <float.h>.
25352         (__casinhf): Move code for finite nonzero arguments to
25353         k_casinhf.c.
25354         * math/s_casinhl.c: Do not include <float.h>.
25355         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
25356         redefine.
25357         (__casinhl): Move code for finite nonzero arguments to
25358         k_casinhl.c.
25359         * math/libm-test.inc (cacos_test): Add more tests.
25360         * sysdeps/i386/fpu/libm-test-ulps: Update.
25361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25363 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
25365         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
25366         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
25367         [!HAVE_MREMAP]: Remove [defined linux] case.
25368         * malloc/arena.c: Do not include <malloc-sysdep.h>.
25370 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
25372         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
25374 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
25376         * elf/elf.h (R_386_SIZE32): New relocation.
25377         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
25378         R_386_SIZE32.
25379         (elf_machine_rela): Likewise.
25380         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25381         R_X86_64_SIZE64 and R_X86_64_SIZE32.
25383 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
25385         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
25386         (FP_FAST_FMA): Do not define.
25387         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
25388         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
25389         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25390         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25391         !_SOFT_FLOAT]: Likewise.
25392         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25393         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25394         value.
25395         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25396         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25397         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25398         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25399         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25400         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25401         file.
25403 2013-01-16  Andreas Schwab  <schwab@suse.de>
25405         [BZ #14327]
25406         * include/stdlib.h (__mktemp): Add declaration.
25407         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25408         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25410 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25412         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25413         definitions.
25414         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25415         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25416         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25417         definitions here.
25418         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25419         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25420         definitions.
25421         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25422         and ONE.
25423         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25424         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25425         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25426         definitions.
25427         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25428         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25429         definitions.
25430         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25432         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25434 2013-01-15  David S. Miller  <davem@davemloft.net>
25436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25437         trunc{,f} to libm-sysdep_routes.
25438         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25440         file.
25441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25443         file.
25444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25445         file.
25446         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25447         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25448         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25449         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25450         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25451         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25452         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25453         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25456         nearbyint{,f} to libm-sysdep_routes.
25457         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25459         New file.
25460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25461         file.
25462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25463         New file.
25464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25465         file.
25466         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25467         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25468         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25469         file.
25470         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25471         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25472         file.
25473         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25474         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25475         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25477         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25478         libc_feholdexcept and libc_fesetenv.
25480 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
25482         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25484 2013-01-14  David S. Miller  <davem@davemloft.net>
25486         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25487         (SPARC_ASM_VIS2_IFUNC): Likewise.
25488         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25490         use of 'siam' instruction.
25491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25492         Likewise.
25493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25494         Likewise.
25495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25496         Likewise.
25497         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25498         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25499         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25500         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25502         file.
25503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25504         file.
25505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25506         file.
25507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25508         file.
25509         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25510         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25511         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25512         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25514         new VIS2 routines.
25515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25518         Likewise.
25519         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25520         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25521         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25522         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
25524         routines to libm-sysdep_routines.
25525         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25528         fdim/fdimf to libm-sysdep_routines.
25529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
25530         file.
25531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
25532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
25533         file.
25534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
25535         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
25536         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
25537         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
25538         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
25539         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
25540         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
25542 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25544         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
25545         to optimize copies.
25547         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
25548         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25549         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25551         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
25552         local variable MPTWO.
25553         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25554         Likewise.
25556 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25558         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
25559         GLOB_NOESCAPE.
25561 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25563         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
25565 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25567         * manual/pattern.texi (glob_t): Document gl_flags.
25568         (glob64_t): Likewise.
25570 2013-01-11  David S. Miller  <davem@davemloft.net>
25572         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
25573         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
25574         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
25575         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
25576         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
25577         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
25578         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
25579         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
25580         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
25581         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
25582         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
25583         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
25584         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
25586         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25587         sparc V9 rather than using V8 code.
25588         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25589         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25591         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25592         Move to...
25593         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
25594         Here.
25596 2013-01-11  Roland McGrath  <roland@hack.frob.com>
25598         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
25599         not in the main loop.
25600         * configure: Regenerated.
25602 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
25604         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
25605         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
25606         to just #else.
25607         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
25608         [!__GLIBC_HAVE_LONG_LONG] case.
25609         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
25610         condition to just #else.
25611         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
25612         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
25613         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
25614         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
25615         unconditional.
25616         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
25617         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25618         #elif condition to just #else.
25619         * sysdeps/unix/sysv/linux/sys/sysmacros.h
25620         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
25621         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25622         #elif condition to just #else.
25624 2013-01-11  Steve Ellcey  <sellcey@mips.com>
25626         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
25627         (EF_MIPS_ARCH_64): Fix value.
25628         (EF_MIPS_ARCH_32R2): New.
25629         (EF_MIPS_ARCH_64R2): New.
25631 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
25633         * Makeconfig (+link-pie-before-libc): New.
25634         (+link-pie-after-libc): Likewise.
25635         (+link-pie-tests): Likewise.
25636         (+link-pie): Rewritten.
25637         (link-before-libc): Remove $(config-LDFLAGS).
25638         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
25639         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
25640         (config-LDFLAGS): Renamed to ...
25641         (rtld-LDFLAGS): This.
25642         (rtld-tests-LDFLAGS): New macro.
25643         (link-libc-rpath-link): Likewise.
25644         (link-libc-tests-rpath-link): Likewise.
25645         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
25646         (link-libc): Prepand $(link-libc-rpath-link).
25647         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
25648         (test-program-prefix): New macro.
25649         (test-via-rtld-prefix): Likewise.
25650         (test-program-cmd): Likewise.
25651         (host-test-program-cmd): Likewise.
25652         * Makefile ($(common-objpfx)testrun.sh): Replace
25653         $(run-program-prefix) with $(test-program-prefix).
25654         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
25655         $(rtld-LDFLAGS).
25656         ($(common-objpfx)shlib.lds): Likewise.
25657         (build-module-helper): Likewise.
25658         ($(common-objpfx)format.lds): Likewise.
25659         * Rules (binaries-pie-tests): New.
25660         (binaries-pie-notests): Likewise.
25661         (binaries-pie): Rewritten.
25662         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
25663         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
25664         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
25665         (make-test-out): Replace $(host-built-program-cmd) with
25666         $(host-test-program-cmd).
25667         * config.make.in (build-hardcoded-path-in-tests): New variable.
25668         * configure.in (--enable-hardcoded-path-in-tests): New configure
25669         option.
25670         (hardcoded_path_in_tests): New AC_SUBST.
25671         * configure: Regenerated.
25672         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
25673         $(built-program-cmd) with $(test-program-cmd).
25674         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
25675         (test_program_cmd): This.
25676         * elf/Makefile ($(objpfx)order.out): Run test with
25677         $(test-program-prefix).
25678         ($(objpfx)order2.out): Likewise.
25679         ($(objpfx)tst-initorder.out): Likewise.
25680         ($(objpfx)tst-initorder2.out): Likewise.
25681         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
25682         $(test-program-cmd).
25683         ($(objpfx)tst-array1-static.out): Likewise.
25684         ($(objpfx)tst-array2.out): Likewise.
25685         ($(objpfx)tst-array3.out): Likewise.
25686         ($(objpfx)tst-array4.out): Likewise.
25687         ($(objpfx)tst-array5.out): Likewise.
25688         ($(objpfx)tst-array5-static.out): Likewise.
25689         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
25690         $(test-program-cmd).
25691         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
25692         $(run-program-prefix) with $(test-program-prefix).
25693         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
25694         (test_program_prefix): This.
25695         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
25696         $(run-program-prefix) with $(test-program-prefix).
25697         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
25698         (test_program_prefix): This.
25699         * iconvdata/tst-tables.sh: Likewise.
25700         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
25701         $(run-program-prefix) with $(test-program-prefix).
25702         ($(objpfx)tst-translit.out): Likewise.
25703         ($(objpfx)tst-gettext2.out): Likewise.
25704         ($(objpfx)tst-gettext4.out): Likewise.
25705         ($(objpfx)tst-gettext6.out): Likewise.
25706         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
25707         (test_program_prefix): This.
25708         * intl/tst-gettext2.sh: Likewise.
25709         * intl/tst-gettext4.sh  Likewise.
25710         * intl/tst-gettext6.sh: Likewise.
25711         * intl/tst-translit.sh: Likewise.
25712         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
25713         with $(test-program-cmd).
25714         * libio/Makefile ($(objpfx)test-freopen.out): Replace
25715         $(run-program-prefix) with $(test-program-prefix).
25716         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
25717         (test_program_prefix): This.
25718         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
25719         $(run-program-prefix) with $(test-program-prefix).
25720         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
25721         (test_program_prefix): This.
25722         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
25723         * posix/Makefile ($(objpfx)globtest.out): Replace
25724         $(run-via-rtld-prefix) and $(test-wrapper) with
25725         $(test-program-prefix) and $(test-via-rtld-prefix).
25726         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
25727         $(test-program-prefix).
25728         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
25729         $(host-test-program-cmd).
25730         (tst-spawn-ARGS): Likewise.
25731         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
25732         $(test-program-prefix).
25733         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
25734         (test_via_rtld_prefix): This.
25735         (test_wrapper): Renamed to ...
25736         (test_program_prefix): This.
25737         (run_program_prefix): Replaced by test_program_prefix.
25738         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
25739         (test_program_prefix): This.
25740         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
25741         with $(host-test-program-cmd).
25742         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
25743         $(run-program-prefix) with $(test-program-prefix).
25744         ($(objpfx)tst-printf.out): Likewise.
25745         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
25746         $(test-program-cmd).
25747         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
25748         (test_program_prefix): This.
25749         * stdio-common/tst-unbputc.sh: Likewise.
25750         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
25751         $(run-program-prefix) with $(test-program-prefix).
25752         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
25753         (test_program_prefix): This.
25754         * string/Makefile ($(objpfx)tst-svc.out):  Replace
25755         $(built-program-cmd) with $(test-program-cmd).
25757 2013-01-11  Andreas Jaeger  <aj@suse.de>
25759         [BZ #15003]
25760         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
25761         value. Sync with Linux 3.7.
25763 2013-01-10  David S. Miller  <davem@davemloft.net>
25765         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
25766         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25767         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25769 2013-01-10  Roland McGrath  <roland@hack.frob.com>
25771         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
25772         never set.
25773         * configure: Regenerated.
25775 2013-01-10  David S. Miller  <davem@davemloft.net>
25777         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25778         sparc V9 rather than using V8 code.
25779         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25780         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25782 2013-01-10  Roland McGrath  <roland@hack.frob.com>
25784         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25785         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25786         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25787         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25788         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25789         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25790         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25791         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25792         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25793         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25794         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25795         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25796         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25797         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25798         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25799         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25800         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25801         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25802         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25803         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25804         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25805         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25806         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25807         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25808         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25809         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25810         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25812 2013-01-10  David S. Miller  <davem@davemloft.net>
25814         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25816 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
25818         * posix/Makefile (tests-static): New variable.
25819         (tests): Add $(tests-static).
25820         (tst-exec-static-ARGS): New variable.
25821         (tst-spawn-static-ARGS): Likewise.
25822         * posix/tst-exec-static.c: New file.
25823         * posix/tst-spawn-static.c: Likewise.
25824         * posix/tst-exec.c: Support run directly.
25825         * posix/tst-spawn.c: Likewise.
25827 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
25829         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25830         long.
25831         * math/bits/mathcalls.h (llrint): Likewise.
25832         (llround): Likewise.
25833         * stdlib/stdlib.h (struct drand48_data): Likewise.
25834         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25835         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25836         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25837         Likewise.
25838         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25839         Likewise.
25840         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25841         (elf_greg_t): Likewise.
25842         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25843         (__jmp_buf): Likewise.
25844         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25845         definitions.
25846         (llrint): Likewise, for all definitions.
25847         (llrintl): Likewise.
25849         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25850         Remove [__GNUC__] condition.
25851         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25852         condition to just [__USE_ISOC99].
25853         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25855 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
25857         [BZ #14200]
25858         * sysdeps/unix/sysv/linux/x86/bits/environments.h
25859         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25860         defined.
25861         (_POSIX_V6_ILP32_OFF32): Likewise.
25862         (_XBS5_ILP32_OFF32): Likewise.
25863         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25864         (__ILP32_OFFBIG_LDFLAGS): Likewise.
25866 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25868         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25870         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25871         doubles __mpexp_twomm1.  Adjust usage.
25872         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25873         Remove.
25875 2013-01-10  Andreas Schwab  <schwab@suse.de>
25877         [BZ #14964]
25878         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25879         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25881 2013-01-09  David S. Miller  <davem@davemloft.net>
25883         [BZ #15003]
25884         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25885         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25886         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25887         (TCP_FASTOPEN): Define.
25888         (tcp_repair_opt): New structure.
25889         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25890         enum values.
25891         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25892         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25893         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
25894         (tcp_cookie_transactions): New structure.
25896 2013-01-09  Anton Blanchard  <anton@samba.org>
25898         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25899         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
25900         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
25901         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25903 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
25905         * include/features.h (__USE_ANSI): Remove.
25907 2013-01-09  Roland McGrath  <roland@hack.frob.com>
25909         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
25911         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
25913 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
25915         * sysdeps/s390/fpu/libm-test-ulps: Update.
25917         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25919         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
25920         (__acr): Likewise.
25921         (__cpy): Likewise.
25922         (norm): Likewise.
25923         (denorm): Likewise.
25924         (__mp_dbl): Likewise.
25925         (__dbl_mp): Likewise.
25926         (add_magnitudes): Likewise.
25927         (sub_magnitudes): Likewise.
25928         (__add): Likewise.
25929         (__sub): Likewise.
25930         (__mul): Likewise.
25931         (__inv): Likewise.
25932         (__dvd): Likewise.
25933         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
25934         (__acr): Likewise.
25935         (__cpy): Likewise.
25936         (norm): Likewise.
25937         (denorm): Likewise.
25938         (__mp_dbl): Likewise.
25939         (__dbl_mp): Likewise.
25940         (add_magnitudes): Likewise.
25941         (sub_magnitudes): Likewise.
25942         (__add): Likewise.
25943         (__sub): Likewise.
25944         (__mul): Likewise.
25945         (__inv): Likewise.
25946         (__dvd): Likewise.
25947         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
25948         (__acr): Likewise.
25949         (__cpy): Likewise.
25950         (norm): Likewise.
25951         (denorm): Likewise.
25952         (__mp_dbl): Likewise.
25953         (__dbl_mp): Likewise.
25954         (add_magnitudes): Likewise.
25955         (sub_magnitudes): Likewise.
25956         (__add): Likewise.
25957         (__sub): Likewise.
25958         (__mul): Likewise.
25959         (__inv): Likewise.
25960         (__dvd): Likewise.
25962 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
25964         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
25965         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
25966         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
25967         2 && __USE_EXTERN_INLINES]: Likewise.
25969 2013-01-08  Andreas Jaeger  <aj@suse.de>
25971         [BZ# 14985]
25972         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
25973         Remove.
25974         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25975         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25977 2013-01-07  Anton Blanchard  <anton@samba.org>
25979         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
25980         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25981         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
25982         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25983         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25984         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25985         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
25986         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25987         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25988         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25989         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25990         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25991         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25992         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25993         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
25994         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25995         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25996         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25997         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
25998         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25999         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26000         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26001         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26002         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26003         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26004         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26005         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26006         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26007         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
26008         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26009         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26010         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26011         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26012         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26013         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26014         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26015         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26016         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26017         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
26018         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26019         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
26020         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26021         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26023 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
26025         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
26026         (__MALLOC_PMT): Likewise.
26027         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26028         [__GNUC__], only on [_LIBC].
26029         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26030         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
26031         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26032         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
26033         forward declaration.
26034         (realloc_hook_ini): Likewise.
26035         (memalign_hook_ini): Likewise.
26036         (__libc_memalign): Do not use __MALLOC_PMT in variable
26037         declaration.
26038         (__libc_valloc): Likewise.
26039         (__libc_pvalloc): Likewise.
26040         (__libc_calloc): Likewise.
26041         (__posix_memalign): Likewise.
26043         [BZ #14996]
26044         * math/s_casinh.c: Include <float.h>.
26045         (__casinh): Do not do computation with squaring and square root
26046         for large arguments.
26047         * math/s_casinhf.c: Include <float.h>.
26048         (__casinhf): Do not do computation with squaring and square root
26049         for large arguments.
26050         * math/s_casinhl.c: Include <float.h>.
26051         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26052         (__casinhl): Do not do computation with squaring and square root
26053         for large arguments.
26054         * math/libm-test.inc (casin_test): Add more tests.
26055         (casinh_test): Likewise.
26056         * sysdeps/i386/fpu/libm-test-ulps: Update.
26057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26059 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
26061         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26062         (__x86_64_raw_data_cache_size): Likewise.
26063         (__x86_64_data_cache_size_half): Likewise.
26064         (__x86_64_raw_data_cache_size_half): Likewise.
26065         (__x86_64_shared_cache_size): Likewise.
26066         (__x86_64_raw_shared_cache_size): Likewise.
26067         (__x86_64_shared_cache_size_half): Likewise.
26068         (__x86_64_raw_shared_cache_size_half): Likewise.
26069         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26070         to ...
26071         (__x86_data_cache_size): This.
26072         (__x86_64_raw_data_cache_size): Renamed to ...
26073         (__x86_raw_data_cache_size): This.
26074         (__x86_64_data_cache_size_half): Renamed to ...
26075         (__x86_data_cache_size_half): This.
26076         (__x86_64_raw_data_cache_size_half): Renamed to ...
26077         (__x86_raw_data_cache_size_half): This.
26078         (__x86_64_shared_cache_size): Renamed to ...
26079         (__x86_shared_cache_size): This.
26080         (__x86_64_raw_shared_cache_size): Renamed to ...
26081         (__x86_raw_shared_cache_size): This.
26082         (__x86_64_shared_cache_size_half): Renamed to ...
26083         (__x86_shared_cache_size_half): This.
26084         (__x86_64_raw_shared_cache_size_half): Renamed to ...
26085         (__x86_raw_shared_cache_size_half): This.
26086         * sysdeps/x86_64/memcpy.S: Updated.
26087         * sysdeps/x86_64/memset.S: Likewise.
26088         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26089         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26090         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26092 2013-01-04  David S. Miller  <davem@davemloft.net>
26094         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26096 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
26098         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26099         1 to avoid redefinition warning.
26100         (__USE_GNU): Don't define.
26101         (init_signaling_nan): Protoize.
26103         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26105 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26107         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26108         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26109         (__cpymn): Likewise.
26110         (norm): Remove commented code.
26111         (denorm): Likewise.
26112         (__mp_dbl): Likewise.
26113         (__inv): Likewise.
26114         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26115         (__cpymn): Likewise.
26116         (norm): Remove commented code.
26117         (denorm): Likewise.
26118         (__mp_dbl): Likewise.
26119         (__inv): Likewise.
26121         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26122         mp_no value for 1.0 and 2.0.
26123         (norm): Use RADIXI instead of radixi.d.
26124         (denorm): Likewise.
26125         (__mul): Use 0.0 instead of zero.d.
26126         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26127         mp_no value for 1.0 and 2.0.
26128         (norm): Use RADIXI instead of radixi.d.
26129         (denorm): Likewise.
26130         (__mul): Use 0.0 instead of zero.d.
26132 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
26134         [BZ #14994]
26135         * math/s_casinh.c (__casinh): Reduce finite argument to first
26136         quadrant then set signs of results at the end.
26137         * math/s_casinhf.c (__casinhf): Likewise.
26138         * math/s_casinhl.c (__casinhl): Likewise.
26139         * math/libm-test.inc (casin_test): Add more tests.
26140         (casinh_test): Likewise.
26141         * sysdeps/i386/fpu/libm-test-ulps: Update.
26142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26144 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26146         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26148         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26150         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26151         declarations.
26152         (denorm): Likewise.
26153         (__mp_dbl): Likewise.
26154         (__inv): Likewise.
26156         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26157         and adjust the header comment.
26159         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26160         variable name from declaration.
26162 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
26164         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26165         Initialize COMMON_CPUID_INDEX_7 element.
26166         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26167         (CPUID_RTM): Likewise.
26168         (HAS_RTM): Likewise.
26169         (COMMON_CPUID_INDEX_7): New enum.
26171 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
26173         [BZ #14981]
26174         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26175         size is zero, record memory as freed.
26177 2013-01-03  Andreas Jaeger  <aj@suse.de>
26179         * po/ia.po: Add new Interlingua translation.
26181 2012-01-03  Allan McRae  <allan@archlinux.org>
26183         * locale/programs/localedef.c: Fix description of '--posix' flag.
26185 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
26187         * NEWS: Update dates in second copyright notice.
26188         * README: Update copyright dates in example.
26189         * manual/libc.texinfo: Update copyright dates.
26190         * scripts/test-installation.pl: Update copyright date in --version
26191         output.
26193         * hurd/ctty-input.c: Fix copyright notice formatting.
26194         * hurd/ctty-output.c: Likewise.
26195         * hurd/dtable.c: Likewise.
26196         * hurd/hurd-raise.c: Likewise.
26197         * hurd/hurdprio.c: Likewise.
26198         * hurd/msgportdemux.c: Likewise.
26199         * misc/sys/file.h: Likewise.
26200         * misc/sys/ioctl.h: Likewise.
26201         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26202         * sysdeps/mach/hurd/chdir.c: Likewise.
26203         * sysdeps/mach/hurd/fchdir.c: Likewise.
26204         * sysdeps/mach/hurd/rename.c: Likewise.
26205         * sysdeps/mach/hurd/rmdir.c: Likewise.
26206         * sysdeps/mach/hurd/seekdir.c: Likewise.
26207         * sysdeps/mach/hurd/setsid.c: Likewise.
26208         * sysdeps/posix/wait3.c: Likewise.
26210         * All files with FSF copyright notices: Update copyright dates
26211         using scripts/update-copyrights.
26212         * intl/plural.c: Regenerated.
26213         * locale/programs/charmap-kw.h: Likewise.
26214         * locale/programs/locfile-kw.h: Likewise.
26216 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26218         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26219         four values.
26221         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26222         calculation loop and add branch prediction.
26224         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26225         check access beyond bounds of m1np.
26227         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26228         MPTWO.
26229         (__inv): Remove local variable MPTWO to use the global
26230         constant.
26231         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26232         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26233         variable MPTWO.
26234         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26235         MP3HALFS static const.
26237 2013-01-01  David S. Miller  <davem@davemloft.net>
26239         * po/ca.po: Update from translation team.
26241 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
26243         * scripts/update-copyrights: New file.
26244         * Makeconfig: Reformat copyright notice.
26245         * ctype/ctype.h: Likewise.
26246         * debug/swprintf_chk.c: Likewise.
26247         * elf/dl-cache.c: Likewise.
26248         * elf/dl-debug.c: Likewise.
26249         * elf/dl-object.c: Likewise.
26250         * grp/initgroups.c: Likewise.
26251         * hurd/Makefile: Likewise.
26252         * hurd/hurd/signal.h: Likewise.
26253         * hurd/hurdfault.c: Likewise.
26254         * hurd/hurdioctl.c: Likewise.
26255         * hurd/hurdlookup.c: Likewise.
26256         * hurd/intr-msg.c: Likewise.
26257         * iconv/gconv_open.c: Likewise.
26258         * libio/swprintf.c: Likewise.
26259         * locale/lc-ctype.c: Likewise.
26260         * locale/nl_langinfo.c: Likewise.
26261         * mach/Machrules: Likewise.
26262         * mach/Makefile: Likewise.
26263         * malloc/obstack.h: Likewise.
26264         * manual/Makefile: Likewise.
26265         * manual/tsort.awk: Likewise.
26266         * misc/bits/stab.def: Likewise.
26267         * nis/nis_print_group_entry.c: Likewise.
26268         * nis/nis_table.c: Likewise.
26269         * nis/nss_compat/compat-pwd.c: Likewise.
26270         * nis/nss_compat/compat-spwd.c: Likewise.
26271         * po/Makefile: Likewise.
26272         * posix/fnmatch.c: Likewise.
26273         * posix/regex.h: Likewise.
26274         * resolv/Makefile: Likewise.
26275         * resolv/nss_dns/dns-network.c: Likewise.
26276         * resolv/res_hconf.c: Likewise.
26277         * scripts/gen-sorted.awk: Likewise.
26278         * soft-fp/soft-fp.h: Likewise.
26279         * stdio-common/printf.h: Likewise.
26280         * stdlib/monetary.h: Likewise.
26281         * stdlib/random.c: Likewise.
26282         * stdlib/random_r.c: Likewise.
26283         * sysdeps/generic/Makefile: Likewise.
26284         * sysdeps/gnu/Makefile: Likewise.
26285         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26286         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26287         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26288         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26289         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26290         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26291         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26292         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26293         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26294         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26295         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26296         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26297         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26298         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26299         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26300         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26301         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26302         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26303         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26304         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26305         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26306         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26307         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26308         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26309         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26310         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26311         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26312         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
26313         * sysdeps/mach/hurd/errnos.awk: Likewise.
26314         * sysdeps/mach/hurd/fork.c: Likewise.
26315         * sysdeps/mach/hurd/getcwd.c: Likewise.
26316         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
26317         * sysdeps/mach/hurd/mmap.c: Likewise.
26318         * sysdeps/mach/hurd/utimes.c: Likewise.
26319         * sysdeps/mach/hurd/xmknod.c: Likewise.
26320         * sysdeps/posix/profil.c: Likewise.
26321         * sysdeps/posix/readdir_r.c: Likewise.
26322         * sysdeps/powerpc/bits/mathdef.h: Likewise.
26323         * sysdeps/powerpc/bits/setjmp.h: Likewise.
26324         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
26325         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26326         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26327         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26328         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26329         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26330         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26331         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26332         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26333         * sysdeps/pthread/lio_listio.c: Likewise.
26334         * sysdeps/sparc/dl-procinfo.h: Likewise.
26335         * sysdeps/unix/i386/sysdep.S: Likewise.
26336         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
26337         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
26338         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
26339         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
26340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26341         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26342         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26343         * sysdeps/unix/sysv/linux/speed.c: Likewise.
26344         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26345         * sysdeps/wordsize-32/divdi3.c: Likewise.
26346         * time/sys/time.h: Likewise.
26347         * wcsmbs/Makefile: Likewise.
26349 2013-01-01  David S. Miller  <davem@davemloft.net>
26351         * po/fr.po: Update from translation team.
26353         * catgets/gencat.c: Update copyright year.
26354         * csu/version.c: Likewise.
26355         * debug/catchsegv.sh: Likewise.
26356         * debug/pcprofiledump.c: Likewise.
26357         * debug/xtrace.sh: Likewise.
26358         * elf/ldconfig.c: Likewise.
26359         * elf/ldd.bash.in: Likewise.
26360         * elf/pldd.c: Likewise.
26361         * elf/sotruss.ksh: Likewise.
26362         * elf/sprof.c: Likewise.
26363         * iconv/iconv_prog.c: Likewise.
26364         * iconv/iconvconfig.c: Likewise.
26365         * locale/programs/locale.c: Likewise.
26366         * locale/programs/localedef.c: Likewise.
26367         * login/programs/pt_chown.c: Likewise.
26368         * malloc/memusage.sh: Likewise.
26369         * malloc/memusagestat.c: Likewise.
26370         * malloc/mtrace.pl: Likewise.
26371         * nscd/nscd.c: Likewise.
26372         * nss/getent.c: Likewise.
26373         * nss/makedb.c: Likewise.
26374         * posix/getconf.c: Likewise.
26376 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26378         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
26379         numbers.
26381 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
26383         * math/bits/mathcalls.h (modf): Use __nonnull.
26385 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26387         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
26388         (split): Use macro CN instead of the bare value.
26389         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26390         could be used.
26391         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26392         instead of the bare value.
26393         (power1): Likewise.
26395 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26397         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26398         __ATAN_TWOM.
26399         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26401         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26402         their values.
26403         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26404         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26405         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26406         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26408 2012-12-28  Andreas Jaeger  <aj@suse.de>
26410         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
26411         values are from Linux 3.7.
26413         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26414         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
26416 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26418         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
26419         TRUE case.
26421         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26422         (norm): Likewise.
26423         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26424         variables with preprocessor constants.
26425         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26426         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26427         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26429 2012-12-27  Bruno Haible  <bruno@clisp.org>
26431         [BZ #14317]
26432         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26433         only if needed.
26435 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26437         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26438         and use variable directly.
26439         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26441         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26442         MPONE.
26443         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26444         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26445         variable MPONE.
26446         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26447         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26448         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26449         include directive.  Remove local variable MPONE.
26450         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26451         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26452         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26454 2012-12-25  David S. Miller  <davem@davemloft.net>
26456         * version.h (RELEASE): Set to "development".
26457         (VERSION): Set to "2.17.90".
26458         * NEWS: Add 2.18 section.
26460 2012-12-21  David S. Miller  <davem@davemloft.net>
26462         * po/hr.po: Update from translation team.
26464 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26466         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26468 2012-12-19  Steve Ellcey  <sellcey@mips.com>
26470         * NEWS:  Mention new memcpy for MIPS.
26472 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26474         * manual/contrib.texi (Contributors): Spelling correction.
26476 2012-12-15  David S. Miller  <davem@davemloft.net>
26478         * po/ru.po: Update from translation team.
26480 2012-12-13  David S. Miller  <davem@davemloft.net>
26482         * NEWS: Mention IFUNC testsuite enhancements.
26484         * po/pl.po: Update from translation team.
26485         * po/bg.po: Likewise.
26487         * manual/contrib.texi (Contributors): Update entries for Hongjiu
26488         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
26490 2012-12-11  David S. Miller  <davem@davemloft.net>
26492         * po/sv.po: Update from translation team.
26494         * po/vi.po: Update from translation team.
26496         * po/cs.po: Update from translation team.
26498         * po/de.po: Update from translation team.
26499         * po/eo.po: Likewise.
26500         * po/nl.po: Likewise.
26502 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26504         [BZ #14246]
26505         * manual/argp.texi (Argp Helper Functions): Move node to follow
26506         Argp Parsing State.
26508         [BZ #14872]
26509         * manual/conf.texi (Limits on File System Capacity): Mention if
26510         terminating null is included in the max size.
26512 2012-12-10  Andreas Jaeger  <aj@suse.de>
26514         * po/cs.po: Update from translation team.
26516 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26518         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26519         void pointer and cast to uintptr_t.
26520         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
26521         path.
26522         * sysdeps/s390/s390-64/memcpy.S: Likewise.
26523         * sysdeps/s390/s390-64/memset.S: Likewise.
26525 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
26527         [BZ #14833]
26528         * menual/message.texi (Message Translation): Fix typos.
26529         (Helper programs for gettext): Likewise.
26531 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
26533         [BZ #14898]
26534         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
26535         Change to -1.
26537 2012-12-07  David S. Miller  <davem@davemloft.net>
26539         * po/libc.pot: Update.
26541 2012-12-07  Richard Henderson  <rth@redhat.com>
26543         [BZ #10114]
26544         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
26545         normal/normal case to before the switch.
26546         (_FP_DIV): Likewise.
26548 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
26549             Mike Frysinger  <vapier@gentoo.org>
26551         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
26552         check for __NR_fadvise64_64.
26554 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
26556         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
26557         0, not just to plain "0" as a statement.
26558         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
26559         with cw.
26561 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
26563         * NEWS: Use sourceware.org in Bugzilla URL.
26565 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
26567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26568         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26570         * stdio-common/tst-put-error.c (do_test): Add newline to the
26571         padded test to ensure flush.
26573 2012-12-05  Jeff Law  <law@redhat.com>
26575         * sunrpc/etc.rpc (fedfs_admin): Add entry.
26577 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
26579         * README: Don't refer to ports add-on as distributed separately.
26580         Mention AArch64 in list of systems supported in the ports add-on.
26582         * LICENSES: Add more non-FSF copyright and license notices.
26584         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
26585         ((unused)).
26587         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
26589         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
26590         10000 as width of padded output.
26592 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
26594         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
26596         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
26597         variable LX with __attribute__ ((unused)).
26598         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26599         Likewise.
26600         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26601         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26602         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
26603         with __attribute__ ((unused)).
26605 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
26607         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
26609 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
26611         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
26612         (CFLAGS-nldbl-acos.c): New variable.
26613         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
26614         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
26615         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
26616         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
26617         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
26618         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
26619         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
26620         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
26621         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
26622         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
26623         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
26624         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
26625         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
26626         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
26627         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
26628         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
26629         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
26630         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
26631         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
26632         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
26633         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
26634         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
26635         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
26636         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
26637         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
26638         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
26639         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
26640         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
26641         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
26642         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
26643         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
26644         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
26645         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
26646         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
26647         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
26648         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
26649         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
26650         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
26651         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
26652         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
26653         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
26654         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
26655         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
26656         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
26657         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
26658         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
26659         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
26660         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
26661         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
26662         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
26663         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
26664         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
26665         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
26666         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
26667         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
26668         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
26669         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
26670         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
26671         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
26672         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
26673         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
26674         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
26675         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
26676         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
26677         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
26678         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
26679         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
26680         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
26681         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
26682         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
26683         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
26684         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
26685         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
26686         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
26687         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
26688         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
26689         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
26690         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
26691         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
26692         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
26693         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
26694         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
26695         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
26696         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
26697         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
26698         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
26699         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
26700         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
26701         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
26702         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
26703         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
26704         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
26705         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
26706         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
26707         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
26708         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
26709         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
26711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26712         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26714         [BZ #14914]
26715         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
26716         whole low double instead of just low 47 bits when splitting values
26717         into two parts.
26719 2012-12-03  Allan McRae  <allan@archlinux.org>
26721         * manual/stdio.texi (Predefined Printf Handlers): Remove
26722         @hsep and @vsep usage.
26724 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
26726         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
26727         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
26729 2012-12-03  Jeff Law  <law@redhat.com>
26731         * time/sys/time.h (settimeofday): Do not mark TV argument
26732         as __nonnull.
26734 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
26736         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
26737         when currently writing and seek to current position when not.
26738         * libio/Makefile (tests): Remove bug-fclose1.
26739         * libio/bug-fclose1.c: Delete.
26741 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
26743         * manual/arith.texi (feenableexcept): Fix typo.
26744         (fedisableexcept): Likewise.
26746 2012-11-30  Roland McGrath  <roland@hack.frob.com>
26748         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26749         second, differently-typed declaration, rather than a cast.
26751 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26753         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
26754         * include/rpc/svc.h: ... here.
26756 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
26758         [BZ #13013]
26759         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
26760         depending n and resplen2 to catch cases where answer
26761         equals answerp2.
26763 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
26765         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
26766         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
26768 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
26770         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
26772 2012-11-29  Roland McGrath  <roland@hack.frob.com>
26774         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
26776 2012-11-28  Jeff Law  <law@redhat.com>
26778         [BZ #13761]
26779         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
26780         dataset_temporary.  Track alloca usage into alloca_used.
26781         If dataset is large allocate and release it via malloc/free.
26783 2012-06-04  Florian Weimer  <fweimer@redhat.com>
26785         [BZ #14197]
26786         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26788 2012-11-28  David S. Miller  <davem@davemloft.net>
26790         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26792 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
26794         [BZ #14803]
26795         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26796         of pi/2 rounded to nearest to 64 bits.
26797         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26798         nearest to 64 bits.
26799         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26800         bits.
26802 2012-11-28  Jeff Law <law@redhat.com>
26803             Martin Osvald <mosvald@redhat.com>
26805         [BZ #14889]
26806         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26807         * sunrpc/svc.c: Include time.h.
26808         (__svc_accept_failed): New function.
26809         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26810         any reason other than EINTR, call __svc_accept_failed.
26811         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26812         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26814 2012-11-28  Andreas Schwab  <schwab@suse.de>
26816         * scripts/abilist.awk: Also handle indirect functions in .opd
26817         section.
26819 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
26821         [BZ #13881]
26822         * sysdeps/x86/fpu/powl_helper.c: New file.
26823         * sysdeps/x86/fpu/Makefile: Likewise.
26824         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26825         (p3): New object.
26826         (__ieee754_powl): Use __powl_helper for finite arguments except
26827         integer exponents below 8.
26828         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26829         (p3): New object.
26830         (__ieee754_powl): Use __powl_helper for finite arguments except
26831         integer exponents below 8.
26832         * math/libm-test.inc (pow_test): Add more tests and enable some
26833         previously disabled tests.
26834         * sysdeps/i386/fpu/libm-test-ulps: Update.
26835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26837 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26838             Carlos O'Donell  <carlos_odonell@mentor.com>
26840         * nss/makedb.c (is_prime): Assert that input is odd and greater
26841         than 4.  Note that fact in a comment too.
26842         (next_prime): Add 4 to input.
26844 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26846         [BZ #11741]
26847         * libio/Makefile (tests): Add test case tst-fwrite-error.
26848         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26849         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26850         * libio/tst-fwrite-error.c: New test case.
26852 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
26854         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26855         before casting to void *.
26856         * include/libc-internal.h (__pointer_type): New macro.
26857         (__integer_if_pointer_type_sub): Likewise.
26858         (__integer_if_pointer_type): Likewise.
26859         (cast_to_integer): Likewise.
26860         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26861         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26862         before casting to atomic64_t.
26863         (atomic_exchange_acq): Likewise.
26864         (__arch_exchange_and_add_body): Likewise.
26865         (__arch_add_body): Likewise.
26866         (atomic_add_negative): Likewise.
26867         (atomic_add_zero): Likewise.
26869 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
26871         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26872         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26873         (add_fdes): Likewise.
26874         (linear_search_fdes): Likewise.
26875         (binary_search_unencoded_fdes): Likewise.
26877 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
26879         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26881 2012-11-24  Adam Conrad  <adconrad@0c3.net>
26883         * configure.in: Autodetect C++ header directories.
26884         * configure: Regenerated.
26886 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
26888         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26890 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
26892         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26894 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
26896         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
26897         LDBL_MANT_DIG == 106]: Disable some tests.
26898         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26899         Likewise.
26900         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26901         Likewise.
26903         [BZ #14871]
26904         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
26905         input for small inputs.  Return +/- pi/2 for large inputs.
26906         * math/libm-test.inc (atan_test): Add more tests.
26908         * sysdeps/generic/unwind-dw2-fde-glibc.c
26909         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
26910         __attribute__ ((unused)).
26912         [BZ #14645]
26913         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
26914         x * y if x and y are nonzero and z is zero.
26916         [BZ #14811]
26917         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
26918         nonzero exponents with absolute value below 0x1p-117 to +/-
26919         0x1p-117.
26921         [BZ #14869]
26922         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
26923         up arguments below 2**-450, not just those below 2**-500.
26924         * math/libm-test.inc (hypot_test): Add another test.
26926         [BZ #14868]
26927         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26928         Return a+b for ratio over 2**120, not 2**60.
26929         * math/libm-test.inc (hypot_test): Add another test.
26931         * math/libm-test.inc (clog_test): Use
26932         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
26933         (clog10_test): Likewise.
26935         [BZ #6778]
26936         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
26938 2012-11-22  Andreas Schwab  <schwab@suse.de>
26940         * sysdeps/i386/fpu/libm-test-ulps: Update.
26942 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
26944         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
26945         printf output with newline.
26947 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
26949         [BZ #14865]
26950         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
26951         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
26952         -z nodlopen, -z initfirst and -z execstack support.
26953         * configure: Regenerated.
26955         * elf/elf.h (DF_1_NODIRECT): New macro.
26956         (DF_1_IGNMULDEF): Likewise.
26957         (DF_1_NOKSYMS): Likewise.
26958         (DF_1_NOHDR): Likewise.
26959         (DF_1_EDITED): Likewise.
26960         (DF_1_NORELOC): Likewise.
26961         (DF_1_SYMINTPOSE): Likewise.
26962         (DF_1_GLOBAUDIT): Likewise.
26963         (DF_1_SINGLETON): Likewise.
26964         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
26965         DT_1_SUPPORTED_MASK bits.
26966         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
26968 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
26970         * sysdeps/unix/make-syscalls.sh: Document prefixes.
26972 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
26974         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
26975         macro.
26977         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
26978         (sendmmsg): Move declarations...
26979         * socket/sys/socket.h: ... here.
26980         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
26981         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
26982         include it from...
26983         * socket/recvmmsg.c: ... this new file.
26984         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
26985         (sendmmsg): Rename to __sendmmsg, create weak alias and make
26986         definition of __sendmmsg hidden.
26987         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26988         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
26989         Move ENOSYS stub into and include it from...
26990         * socket/sendmmsg.c: ... this new file.
26991         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
26992         (sysdep_routines): Move recvmmsg and sendmmsg...
26993         * socket/Makefile (routines): ... here.
26994         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
26995         (GLIBC_PRIVATE): Add __sendmmsg.
26996         * include/sys/socket.h (__sendmmsg): Add declarations.
26997         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
26998         sendmmsg.
27000 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
27002         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27003         variable I1 with __attribute__ ((unused)).
27004         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27006 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
27008         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
27009         DUMMY variables with __attribute__ ((unused)).
27011         * bits/byteswap.h: Include <bits/types.h>.
27012         (__bswap_64): Use __uint64_t instead of unsigned long long int.
27014 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
27016         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
27017         string_t.  Do not manually set errno.
27018         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
27019         length with __strnlen.  Make sure to both set errno and return it on
27020         failure.
27022 2012-11-19  David S. Miller  <davem@davemloft.net>
27024         With help from Joseph Myers.
27025         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
27026         very large arguments properly.
27027         * math/libm-test.inc (atan_test): New tests.
27028         (atan2_test): New tests.
27029         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27030         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27032 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
27034         [BZ #14856]
27035         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
27036         Define to 3.
27038         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
27039         [POSIX] (EADDRNOTAVAIL): Likewise.
27040         [POSIX] (EAFNOSUPPORT): Likewise.
27041         [POSIX] (EALREADY): Likewise.
27042         [POSIX] (ECONNABORTED): Likewise.
27043         [POSIX] (ECONNREFUSED): Likewise.
27044         [POSIX] (ECONNRESET): Likewise.
27045         [POSIX] (EDESTADDRREQ): Likewise.
27046         [POSIX] (EDQUOT): Likewise.
27047         [POSIX] (EHOSTUNREACH): Likewise.
27048         [POSIX] (EIDRM): Likewise.
27049         [POSIX] (EISCONN): Likewise.
27050         [POSIX] (ELOOP): Likewise.
27051         [POSIX] (EMULTIHOP): Likewise.
27052         [POSIX] (ENETDOWN): Likewise.
27053         [POSIX] (ENETUNREACH): Likewise.
27054         [POSIX] (ENOBUFS): Likewise.
27055         [POSIX] (ENODATA): Likewise.
27056         [POSIX] (ENOLINK): Likewise.
27057         [POSIX] (ENOMSG): Likewise.
27058         [POSIX] (ENOPROTOOPT): Likewise.
27059         [POSIX] (ENOSR): Likewise.
27060         [POSIX] (ENOSTR): Likewise.
27061         [POSIX] (ENOTCONN): Likewise.
27062         [POSIX] (ENOTSOCK): Likewise.
27063         [POSIX] (EOPNOTSUPP): Likewise.
27064         [POSIX] (EOVERFLOW): Likewise.
27065         [POSIX] (EPROTO): Likewise.
27066         [POSIX] (EPROTONOSUPPORT): Likewise.
27067         [POSIX] (EPROTOTYPE): Likewise.
27068         [POSIX] (ESTALE): Likewise.
27069         [POSIX] (ETIME): Likewise.
27070         [POSIX] (ETXTBSY): Likewise.
27071         [POSIX] (EWOULDBLOCK): Likewise.
27072         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
27073         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
27074         [POSIX] (SEEK_CUR): Likewise.
27075         [POSIX] (SEEK_END): Likewise.
27076         [POSIX || UNIX98] (mode_t): Do not require.
27077         [POSIX] (off_t): Likewise.
27078         [POSIX] (pid_t): Likewise.
27079         [POSIX] (sys/stat.h): Do not allow header.
27080         [POSIX] (unistd.h): Likewise.
27081         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27082         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27083         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27084         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27085         require.
27086         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27087         sigevent): Specify elements.
27088         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27089         entry.
27090         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27091         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27093         * conform/data/cpio.h-data [POSIX]: Disable whole file.
27094         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27095         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27096         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27097         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27098         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27099         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27100         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27101         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27102         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27103         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27104         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27105         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27106         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27107         Likewise.
27108         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27109         Likewise.
27110         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27111         Likewise.
27112         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27113         Likewise.
27114         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27115         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27116         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27117         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27118         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27119         Specify lower bound on value.
27120         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27121         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27122         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27123         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27124         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27125         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27126         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27127         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27128         value.
27129         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27130         as optional.
27131         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27132         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27133         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27134         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27135         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27136         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27137         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27138         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27139         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27140         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27141         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27142         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27143         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27144         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27145         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27146         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27147         entry.
27148         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27149         optional.
27150         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27151         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27152         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27153         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27154         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27155         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27156         Likewise.
27157         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27158         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27159         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27160         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27161         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
27162         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27163         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27164         as optional.
27165         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27166         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27167         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27168         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27169         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27170         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27171         specify as optional.
27172         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27173         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27174         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27175         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27176         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27177         [XPG3] (NL_LANGMAX): Likewise.
27178         [POSIX || XPG3] (NL_MSGMAX): Likewise.
27179         [POSIX || XPG3] (NL_NMAX): Likewise.
27180         [POSIX || XPG3] (NL_SETMAX): Likewise.
27181         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27182         [XPG3] (NZERO): Likewise.
27183         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27184         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27185         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27186         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27187         (REG_ERANGE): Expect.
27188         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
27189         optional-constant.
27190         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
27191         Use (void) in prototype.
27192         [POSIX] (*_t): Allow.
27193         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
27194         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
27195         (WRDE_BADVAL): Expect.
27197         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
27198         expect.
27199         [XPG3 || XPG4] (O_RSYNC): Likewise.
27200         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27201         Likewise.
27202         [XPG3 || XPG4] (pthread_sigmask): Likewise.
27203         [XPG3 || XPG4] (sigqueue): Likewise.
27204         [XPG3 || XPG4] (sigtimedwait): Likewise.
27205         [XPG3 || XPG4] (sigwaitinfo): Likewise.
27206         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27207         [XPG3 || XPG4] (vsnprintf): Likewise.
27208         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27209         Likewise.
27210         [XPG3 || XPG4] (blksize_t): Likewise.
27211         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27212         Likewise.
27213         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27214         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27215         [XPG3 || XPG4] (struct itimerspec): Likewise.
27216         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27217         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27218         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27219         [XPG3 || XPG4] (clockid_t): Likewise.
27220         [XPG3 || XPG4] (timer_t): Likewise.
27221         [XPG3 || XPG4] (clock_getres): Likewise.
27222         [XPG3 || XPG4] (clock_gettime): Likewise.
27223         [XPG3 || XPG4] (clock_settime): Likewise.
27224         [XPG3 || XPG4] (nanosleep): Likewise.
27225         [XPG3 || XPG4] (timer_create): Likewise.
27226         [XPG3 || XPG4] (timer_delete): Likewise.
27227         [XPG3 || XPG4] (timer_gettime): Likewise.
27228         [XPG3 || XPG4] (timer_getoverrun): Likewise.
27229         [XPG3 || XPG4] (timer_settime): Likewise.
27230         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27231         [XPG3 || XPG4] (getlogin_r): Likewise.
27232         [XPG3 || XPG4] (pread): Likewise.
27233         [XPG3 || XPG4] (pthread_atfork): Likewise.
27234         [XPG3 || XPG4] (pwrite): Likewise.
27236         [BZ #14835]
27237         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27238         <bits/siginfo.h>.
27240 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
27242         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27243         finalizing MALLSTREAM.
27245         * sysdeps/mach/hurd/syncfs.c: New file.
27247 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27249         [BZ #14719]
27250         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27251         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27252         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27253         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27254         (_nss_dns_gethostbyname4_r): Likewise.
27255         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27256         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27258 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
27260         [BZ #13763]
27261         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27263 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
27265         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27266         * elf/cache.c (print_entry): Print ",AArch64" for
27267         FLAG_AARCH64_LIB64
27269         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27270         * elf/cache.c (print_entry): Print ",hard-float" for
27271         FLAG_ARM_LIBHF.
27273 2012-11-18  David S. Miller  <davem@davemloft.net>
27275         With help from Joseph Myers.
27276         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27277         cutoff to 2**-13.
27278         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27279         cutoff to 2**-25.
27280         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27281         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27282         small.
27283         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27284         * math/libm-test.inc (y0_test): New tests.
27285         (y1_test): New tests.
27286         * sysdeps/i386/fpu/libm-test-ulps: Update.
27287         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27288         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27290 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
27292         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27293         64-bit targets.
27294         * configure: Regenerated.
27296 2012-11-17  David S. Miller  <davem@davemloft.net>
27298         [BZ #14811]
27299         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27300         nonzero exponents with absolute value below 0x1p-128 to +/-
27301         0x1p-128.
27303 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
27305         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27307         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27309         * posix/getconf-speclist.c: New file.
27310         * posix/posix-envs.def: Likewise.
27311         * posix/confstr.c (START_ENV_GROUP): New macro.
27312         (END_ENV_GROUP): Likewise.
27313         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27314         (KNOWN_PRESENT_ENV_STRING): Likewise.
27315         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27316         (UNKNOWN_ENVIRONMENT): Likewise.
27317         (confstr): Include posix-envs.def instead of handling
27318         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
27319         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
27320         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
27321         (END_ENV_GROUP): Likewise.
27322         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27323         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27324         (UNKNOWN_ENVIRONMENT): Likewise.
27325         (__sysconf): Include posix-envs.def instead of handling associated
27326         cases directly here.
27327         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
27328         preprocessing getconf-speclist.c rather than running getconf or
27329         generating empty file.
27331 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
27333         * scripts/check-local-headers.sh: Ignore 'mach' headers.
27335 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
27337         [BZ #14672]
27338         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
27340 2012-11-16  David S. Miller  <davem@davemloft.net>
27342         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
27343         smaller than LDBL_EPSILON/2.0L, just return xm1.
27345 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
27347         * elf/tst-array1.c (init): Set constructor priority to 1000.
27348         (fini): Set destructor priority to 1000.
27349         * elf/tst-array2dep.c: Likewise.
27351 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27353         [BZ #11741]
27354         * libio/fileops.c (_IO_new_file_write): Correctly return error.
27355         (_IO_new_file_xsputn): Also return EOF if none of the input
27356         data was written when overflow failed.
27357         * libio/iopadn.c (_IO_padn): Likewise.
27358         * libio/iowpadn.c (_IO_wpadn): Likewise.
27359         * stdio-common/tst-put-error.c: Add copyright notice.
27360         (do_test): Add case for printing padded string.
27361         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
27362         _IO_padn returned error.
27363         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
27364         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
27365         return EOF.
27367 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27369         * libio/libioP.h: Add comment note that the references to C++
27370         bits are now obsolete.
27372 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27374         * math/libm-test.inc (check_complex): Use asprintf.
27376 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
27378         * debug/pcprofiledump.c (print_version): Update copyright year.
27379         * malloc/memusagestat.c (print_version): Likewise.
27381 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
27383         [BZ #14831]
27384         * elf/Makefile (tests): Add tst-audit8.
27385         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
27386         ($(objpfx)tst-audit8.out): New target.
27387         (tst-audit8-ENV): New variable.
27388         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
27389         audit if l_reloc_result is NULL.
27390         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27391         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27392         * elf/tst-audit8.c: New file.
27394 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27396         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27397         * misc/Makefile (CFLAGS-select.c): Define.
27398         * posix/Makefile (CFLAGS-pause.c): Define.
27400 2012-11-13  David S. Miller  <davem@davemloft.net>
27402         * crypt/Makefile: Move test targets after toplevel Rules
27403         inclusion.  Grab any necessary sysdep routines when linking.
27404         * crypt/md5.c (md5_process_block): Remove define, we will always
27405         name it __md5_process_block.
27406         (md5_finish_ctx): Update md5_process_block call.
27407         (md5_stream): Likewise.
27408         (md5_process_bytes): Likewise.
27409         (md5_process_block): Rename to __md5_process_block and move to ...
27410         * crypt/md5-block.c: ... here.
27411         * crypt/sha256.c (sha256_process_block): Move to ...
27412         * crypt/sha256-block.c: ... here.
27413         * crypt/sha512.c (sha512_process_block): Move to ...
27414         * crypt/sha512-block.c: ... here.
27415         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27416         path.
27417         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27418         * sysdeps/sparc/sparc64/multiarch/Makefile
27419         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27420         crypt subdir.
27421         (localedef-aux): Add md5 crypto assembler when in locale subdir.
27422         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27423         multiarch changes.
27424         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27425         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27426         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27427         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27428         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27429         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27430         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27431         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27432         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27433         file.
27434         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27435         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27436         file.
27437         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27439 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
27441         * timezone/tzselect.ksh: Update from tzcode git revision
27442         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27443         * timezone/zdump.c: Likewise.
27444         * timezone/zic.c: Likewise.
27445         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27446         in TZVERSION setting, not $(PKGVERSION).
27447         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
27448         REPORT_BUGS_TO settings.
27450         [BZ #14838]
27451         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27452         macro.
27454 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27456         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27457         detection to immediately after _FP_ROUND().
27458         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27459         bits are 0.
27461 2012-11-11  David S. Miller  <davem@davemloft.net>
27463         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27464         inttypes.h
27465         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27466         __close rather than their public counterparts.
27468 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
27470         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27471         file.
27472         [UNIX98] (sem_timedwait): Do not expect.
27473         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27474         [XPG4 || UNIX98] (sockatmark): Do not expect.
27475         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27476         (clock_getcpuclockid): Do not expect.
27477         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27478         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27479         Do not expect.
27480         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27481         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27482         [UNIX98] (vwscanf): Likewise.
27483         [UNIX98] (vswscanf): Likewise.
27485 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
27487         * timezone/version.h: Remove file.
27488         * timezone/README: Do not refer to version.h.
27489         * timezone/Makefile ($(objpfx)zic.o): New dependency on
27490         $(objpfx)version.h.
27491         ($(objpfx)zdump.o): Likewise.
27492         ($(objpfx)version.h): New target.
27494         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27495         2012i.
27496         * timezone/README: Don't mention modification to tzselect.ksh.
27497         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27498         work on unmodified tzselect.ksh.  Substitute version numbers in
27499         tzselect.ksh.
27501         * Makefile (format-me): Remove.
27502         (INSTALL): Adjust indentation.  Use commands directly instead of
27503         using $(format-me).
27505         * aclocal.m4 (ACX_PKGVERSION): New macro.
27506         (ACX_BUGURL): Likewise.
27507         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27508         (PKGVERSION): New AC_DEFINE_UNQUOTED.
27509         (REPORT_BUGS_TO): Likewise.
27510         * configure: Regenerated.
27511         * config.h.in (PKGVERSION): New macro.
27512         (REPORT_BUGS_TO): Likewise.
27513         * config.make.in (PKGVERSION): New variable.
27514         (PKGVERSION_TEXI): Likewise.
27515         (REPORT_BUGS_TO): Likewise.
27516         (REPORT_BUGS_TEXI): Likewise.
27517         * Makefile (format-me): Use -I$(common-objpfx)manual.
27518         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27519         ($(common-objpfx)manual/%): New target.
27520         (manual/%): Remove target.
27521         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
27522         (print_version): Use PKGVERSION.
27523         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
27524         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
27525         and REPORT_BUGS_TO.
27526         ($(objpfx)xtrace): Likewise.
27527         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
27528         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
27529         (print_version): Use PKGVERSION.
27530         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
27531         (do_version): Use PKGVERSION.
27532         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
27533         REPORT_BUGS_TO.
27534         (common-ldd-rewrite): Likewise.
27535         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
27536         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
27537         (print_version): Use PKGVERSION.
27538         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
27539         * elf/pldd.c (argp_program_bug_address): Remove variable.
27540         (more_help): New function.
27541         (argp): Use more_help.
27542         (print_version): Use PKGVERSION.
27543         * elf/sln.c (main): Use PKGVERSION.
27544         (usage): Use REPORT_BUGS_TO.
27545         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
27546         (top level): Use PKGVERSION.
27547         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
27548         (print_version): Use PKGVERSION.
27549         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
27550         (print_version): Use PKGVERSION.
27551         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
27552         (print_version): Use PKGVERSION.
27553         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
27554         (print_version): Use PKGVERSION.
27555         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
27556         (print_version): Use PKGVERSION.
27557         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
27558         (print_version): Use PKGVERSION.
27559         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
27560         and BUGURL.
27561         ($(objpfx)memusage): Likewise.
27562         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
27563         (do_version): Use PKGVERSION.
27564         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
27565         (print_version): Use PKGVERSION.
27566         * malloc/mtrace.pl ($PACKAGE): Remove variable.
27567         ($PKGVERSION): New variable.
27568         ($REPORT_BUGS_TO): Likewise.
27569         (usage): Use $REPORT_BUGS_TO.
27570         (top level): Use $PKGVERSION.
27571         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
27572         ($(objpfx)pkgvers.texi): New rule.
27573         ($(objpfx)stamp-pkgvers): Likewise.
27574         * manual/install.texi: Include pkgvers.texi.
27575         (--with-pkgversion): Document new configure option.
27576         (--with-bugurl): Likewise.
27577         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
27578         than necessarily for this particular distribution.  Use
27579         REPORT_BUGS_TO for where to report bugs.
27580         * INSTALL: Regenerated.
27581         * manual/libc.texinfo: Include pkgvers.texi.
27582         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
27583         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
27584         (print_version): Use PKGVERSION.
27585         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
27586         (print_version): Use PKGVERSION.
27587         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
27588         (print_version): Use PKGVERSION.
27589         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
27590         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
27591         macro.
27592         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
27593         (print_version): Use PKGVERSION.
27594         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
27595         (print_version): Use PKGVERSION.
27596         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
27597         and PKGVERSION.
27599         * timezone/checktab.awk: Update from tzcode 2012i.
27600         * timezone/ialloc.c: Likewise.
27601         * timezone/private.h: Likewise.
27602         * timezone/scheck.c: Likewise.
27603         * timezone/tzfile.h: Likewise.
27604         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
27605         (TZVERSION): Hardcode tzcode version number.
27606         * timezone/zdump.c: Update from tzcode 2012i.
27607         * timezone/zic.c: Likewise.
27608         * timezone/version.h: New file.
27609         * timezone/README: Describe version.h.  Update upstream location.
27611         [BZ #14824]
27612         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
27613         (mktemp): Enable declaration.
27614         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
27615         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
27616         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
27617         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
27618         Likewise.
27619         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
27620         Likewise.
27621         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
27622         Likewise.
27623         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
27624         Likewise.
27625         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
27626         Likewise.
27627         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
27628         Likewise.
27630         [BZ #14821]
27631         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
27632         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
27633         for copies of such integer values.
27634         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27635         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27637 2012-11-09  Andreas Jaeger  <aj@suse.de>
27639         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
27640         definitions and declarations that are provided by
27641         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27643 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27645         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
27646         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
27647         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
27648         definition.
27650 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27652         * elf/elf.h: Update comment before AArch64 relocations.
27654 2012-11-07  David S. Miller  <davem@davemloft.net>
27656         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
27657         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27658         (__start_context): Declare.
27659         (__makecontext_ret): Delete.
27660         (__makecontext): Hook up __start_context instead of
27661         __makecontext_ret.
27662         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
27663         (sysdep_routines): Add __start_context when in stdlib.
27665 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27667         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
27668         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
27669         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
27670         hardcoded "nm".
27671         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
27672         (READELF): New variable.  Use it instead of hardcoded "readelf".
27674 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
27676         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
27677         * sysdeps/x86/Makefile: Here.
27678         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
27679         * sysdeps/x86/tst-xmmymm.sh: This.
27681 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27683         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
27684         expectations.
27685         [UNIX98] (pthread_barrier_t): Do not expect.
27686         [UNIX98] (pthread_barrierattr_t): Likewise.
27687         [UNIX98] (pthread_spinlock_t): Likewise.
27688         [UNIX98] (pthread_barrier_destroy): Likewise.
27689         [UNIX98] (pthread_barrier_init): Likewise.
27690         [UNIX98] (pthread_barrier_wait): Likewise.
27691         [UNIX98] (pthread_barrierattr_destroy): Likewise.
27692         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
27693         [UNIX98] (pthread_barrierattr_init): Likewise.
27694         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
27695         [UNIX98] (pthread_getcpuclockid): Likewise.
27696         [UNIX98] (pthread_mutex_timedlock): Likewise.
27697         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
27698         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
27699         [UNIX98] (pthread_sigmask): Likewise.
27700         [UNIX98] (pthread_spin_destroy): Likewise.
27701         [UNIX98] (pthread_spin_init): Likewise.
27702         [UNIX98] (pthread_spin_lock): Likewise.
27703         [UNIX98] (pthread_spin_trylock): Likewise.
27704         [UNIX98] (pthread_spin_unlock): Likewise.
27705         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
27706         Do not expect.
27707         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
27708         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
27709         [XPG3 || XPG4] (pthread_cond_t): Likewise.
27710         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
27711         [XPG3 || XPG4] (pthread_key_t): Likewise.
27712         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
27713         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
27714         [XPG3 || XPG4] (pthread_once_t): Likewise.
27715         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
27716         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
27717         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
27718         [XPG3 || XPG4] (pthread_t): Likewise.
27720         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
27721         not expect.
27722         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
27724         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
27725         Change function return type to int.
27727         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
27728         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
27729         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
27730         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
27731         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
27732         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
27733         [!POSIX] (posix_madvise): Likewise.
27734         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
27735         && !UNIX98].
27736         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
27737         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
27738         (mode_t): Likewise.
27739         (posix_mem_offset): Likewise.
27740         (posix_typed_mem_get_info): Likewise.
27741         (posix_typed_mem_open): Likewise.
27743         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
27744         Change condition to [XOPEN2K8].
27746         * conform/conformtest.pl: Preprocess allow-header data with -x c
27747         instead of from stdin.
27748         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
27749         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
27750         [C99-based standards] (cerfc): Likewise.
27751         [C99-based standards] (cexp2): Likewise.
27752         [C99-based standards] (cexpm1): Likewise.
27753         [C99-based standards] (clog10): Likewise.
27754         [C99-based standards] (clog1p): Likewise.
27755         [C99-based standards] (clog2): Likewise.
27756         [C99-based standards] (clgamma): Likewise.
27757         [C99-based standards] (ctgamma): Likewise.
27758         [C99-based standards] (cerff): Likewise.
27759         [C99-based standards] (cerfcf): Likewise.
27760         [C99-based standards] (cexp2f): Likewise.
27761         [C99-based standards] (cexpm1f): Likewise.
27762         [C99-based standards] (clog10f): Likewise.
27763         [C99-based standards] (clog1pf): Likewise.
27764         [C99-based standards] (clog2f): Likewise.
27765         [C99-based standards] (clgammaf): Likewise.
27766         [C99-based standards] (ctgammaf): Likewise.
27767         [C99-based standards] (cerfl): Likewise.
27768         [C99-based standards] (cerfcl): Likewise.
27769         [C99-based standards] (cexp2l): Likewise.
27770         [C99-based standards] (cexpm1l): Likewise.
27771         [C99-based standards] (clog10l): Likewise.
27772         [C99-based standards] (clog1pl): Likewise.
27773         [C99-based standards] (clog2l): Likewise.
27774         [C99-based standards] (clgammal): Likewise.
27775         [C99-based standards] (ctgammal): Likewise.
27776         * conform/data/inttypes.h-data [C99-based standards]: Include
27777         stdint.h-data.  Remove all expectations for stdint.h contents.
27778         [C99-based standards] (PRI*): Do not allow.
27779         [C99-based standards] (SCN*): Likewise.
27780         [C99-based standards] (*_t): Likewise.
27781         [C99-based-standards] (PRId8): Expect macro.
27782         [C99-based-standards] (PRIi8): Likewise.
27783         [C99-based-standards] (PRIo8): Likewise.
27784         [C99-based-standards] (PRIu8): Likewise.
27785         [C99-based-standards] (PRIx8): Likewise.
27786         [C99-based-standards] (PRIX8): Likewise.
27787         [C99-based-standards] (SCNd8): Likewise.
27788         [C99-based-standards] (SCNi8): Likewise.
27789         [C99-based-standards] (SCNo8): Likewise.
27790         [C99-based-standards] (SCNu8): Likewise.
27791         [C99-based-standards] (SCNx8): Likewise.
27792         [C99-based-standards] (PRIdLEAST8): Likewise.
27793         [C99-based-standards] (PRIiLEAST8): Likewise.
27794         [C99-based-standards] (PRIoLEAST8): Likewise.
27795         [C99-based-standards] (PRIuLEAST8): Likewise.
27796         [C99-based-standards] (PRIxLEAST8): Likewise.
27797         [C99-based-standards] (PRIXLEAST8): Likewise.
27798         [C99-based-standards] (SCNdLEAST8): Likewise.
27799         [C99-based-standards] (SCNiLEAST8): Likewise.
27800         [C99-based-standards] (SCNoLEAST8): Likewise.
27801         [C99-based-standards] (SCNuLEAST8): Likewise.
27802         [C99-based-standards] (SCNxLEAST8): Likewise.
27803         [C99-based-standards] (PRIdFAST8): Likewise.
27804         [C99-based-standards] (PRIiFAST8): Likewise.
27805         [C99-based-standards] (PRIoFAST8): Likewise.
27806         [C99-based-standards] (PRIuFAST8): Likewise.
27807         [C99-based-standards] (PRIxFAST8): Likewise.
27808         [C99-based-standards] (PRIXFAST8): Likewise.
27809         [C99-based-standards] (SCNdFAST8): Likewise.
27810         [C99-based-standards] (SCNiFAST8): Likewise.
27811         [C99-based-standards] (SCNoFAST8): Likewise.
27812         [C99-based-standards] (SCNuFAST8): Likewise.
27813         [C99-based-standards] (SCNxFAST8): Likewise.
27814         [C99-based-standards] (PRId16): Likewise.
27815         [C99-based-standards] (PRIi16): Likewise.
27816         [C99-based-standards] (PRIo16): Likewise.
27817         [C99-based-standards] (PRIu16): Likewise.
27818         [C99-based-standards] (PRIx16): Likewise.
27819         [C99-based-standards] (PRIX16): Likewise.
27820         [C99-based-standards] (SCNd16): Likewise.
27821         [C99-based-standards] (SCNi16): Likewise.
27822         [C99-based-standards] (SCNo16): Likewise.
27823         [C99-based-standards] (SCNu16): Likewise.
27824         [C99-based-standards] (SCNx16): Likewise.
27825         [C99-based-standards] (PRIdLEAST16): Likewise.
27826         [C99-based-standards] (PRIiLEAST16): Likewise.
27827         [C99-based-standards] (PRIoLEAST16): Likewise.
27828         [C99-based-standards] (PRIuLEAST16): Likewise.
27829         [C99-based-standards] (PRIxLEAST16): Likewise.
27830         [C99-based-standards] (PRIXLEAST16): Likewise.
27831         [C99-based-standards] (SCNdLEAST16): Likewise.
27832         [C99-based-standards] (SCNiLEAST16): Likewise.
27833         [C99-based-standards] (SCNoLEAST16): Likewise.
27834         [C99-based-standards] (SCNuLEAST16): Likewise.
27835         [C99-based-standards] (SCNxLEAST16): Likewise.
27836         [C99-based-standards] (PRIdFAST16): Likewise.
27837         [C99-based-standards] (PRIiFAST16): Likewise.
27838         [C99-based-standards] (PRIoFAST16): Likewise.
27839         [C99-based-standards] (PRIuFAST16): Likewise.
27840         [C99-based-standards] (PRIxFAST16): Likewise.
27841         [C99-based-standards] (PRIXFAST16): Likewise.
27842         [C99-based-standards] (SCNdFAST16): Likewise.
27843         [C99-based-standards] (SCNiFAST16): Likewise.
27844         [C99-based-standards] (SCNoFAST16): Likewise.
27845         [C99-based-standards] (SCNuFAST16): Likewise.
27846         [C99-based-standards] (SCNxFAST16): Likewise.
27847         [C99-based-standards] (PRId32): Likewise.
27848         [C99-based-standards] (PRIi32): Likewise.
27849         [C99-based-standards] (PRIo32): Likewise.
27850         [C99-based-standards] (PRIu32): Likewise.
27851         [C99-based-standards] (PRIx32): Likewise.
27852         [C99-based-standards] (PRIX32): Likewise.
27853         [C99-based-standards] (SCNd32): Likewise.
27854         [C99-based-standards] (SCNi32): Likewise.
27855         [C99-based-standards] (SCNo32): Likewise.
27856         [C99-based-standards] (SCNu32): Likewise.
27857         [C99-based-standards] (SCNx32): Likewise.
27858         [C99-based-standards] (PRIdLEAST32): Likewise.
27859         [C99-based-standards] (PRIiLEAST32): Likewise.
27860         [C99-based-standards] (PRIoLEAST32): Likewise.
27861         [C99-based-standards] (PRIuLEAST32): Likewise.
27862         [C99-based-standards] (PRIxLEAST32): Likewise.
27863         [C99-based-standards] (PRIXLEAST32): Likewise.
27864         [C99-based-standards] (SCNdLEAST32): Likewise.
27865         [C99-based-standards] (SCNiLEAST32): Likewise.
27866         [C99-based-standards] (SCNoLEAST32): Likewise.
27867         [C99-based-standards] (SCNuLEAST32): Likewise.
27868         [C99-based-standards] (SCNxLEAST32): Likewise.
27869         [C99-based-standards] (PRIdFAST32): Likewise.
27870         [C99-based-standards] (PRIiFAST32): Likewise.
27871         [C99-based-standards] (PRIoFAST32): Likewise.
27872         [C99-based-standards] (PRIuFAST32): Likewise.
27873         [C99-based-standards] (PRIxFAST32): Likewise.
27874         [C99-based-standards] (PRIXFAST32): Likewise.
27875         [C99-based-standards] (SCNdFAST32): Likewise.
27876         [C99-based-standards] (SCNiFAST32): Likewise.
27877         [C99-based-standards] (SCNoFAST32): Likewise.
27878         [C99-based-standards] (SCNuFAST32): Likewise.
27879         [C99-based-standards] (SCNxFAST32): Likewise.
27880         [C99-based-standards] (PRId64): Likewise.
27881         [C99-based-standards] (PRIi64): Likewise.
27882         [C99-based-standards] (PRIo64): Likewise.
27883         [C99-based-standards] (PRIu64): Likewise.
27884         [C99-based-standards] (PRIx64): Likewise.
27885         [C99-based-standards] (PRIX64): Likewise.
27886         [C99-based-standards] (SCNd64): Likewise.
27887         [C99-based-standards] (SCNi64): Likewise.
27888         [C99-based-standards] (SCNo64): Likewise.
27889         [C99-based-standards] (SCNu64): Likewise.
27890         [C99-based-standards] (SCNx64): Likewise.
27891         [C99-based-standards] (PRIdLEAST64): Likewise.
27892         [C99-based-standards] (PRIiLEAST64): Likewise.
27893         [C99-based-standards] (PRIoLEAST64): Likewise.
27894         [C99-based-standards] (PRIuLEAST64): Likewise.
27895         [C99-based-standards] (PRIxLEAST64): Likewise.
27896         [C99-based-standards] (PRIXLEAST64): Likewise.
27897         [C99-based-standards] (SCNdLEAST64): Likewise.
27898         [C99-based-standards] (SCNiLEAST64): Likewise.
27899         [C99-based-standards] (SCNoLEAST64): Likewise.
27900         [C99-based-standards] (SCNuLEAST64): Likewise.
27901         [C99-based-standards] (SCNxLEAST64): Likewise.
27902         [C99-based-standards] (PRIdFAST64): Likewise.
27903         [C99-based-standards] (PRIiFAST64): Likewise.
27904         [C99-based-standards] (PRIoFAST64): Likewise.
27905         [C99-based-standards] (PRIuFAST64): Likewise.
27906         [C99-based-standards] (PRIxFAST64): Likewise.
27907         [C99-based-standards] (PRIXFAST64): Likewise.
27908         [C99-based-standards] (SCNdFAST64): Likewise.
27909         [C99-based-standards] (SCNiFAST64): Likewise.
27910         [C99-based-standards] (SCNoFAST64): Likewise.
27911         [C99-based-standards] (SCNuFAST64): Likewise.
27912         [C99-based-standards] (SCNxFAST64): Likewise.
27913         [C99-based-standards] (PRIdMAX): Likewise.
27914         [C99-based-standards] (PRIiMAX): Likewise.
27915         [C99-based-standards] (PRIoMAX): Likewise.
27916         [C99-based-standards] (PRIuMAX): Likewise.
27917         [C99-based-standards] (PRIxMAX): Likewise.
27918         [C99-based-standards] (PRIXMAX): Likewise.
27919         [C99-based-standards] (SCNdMAX): Likewise.
27920         [C99-based-standards] (SCNiMAX): Likewise.
27921         [C99-based-standards] (SCNoMAX): Likewise.
27922         [C99-based-standards] (SCNuMAX): Likewise.
27923         [C99-based-standards] (SCNxMAX): Likewise.
27924         [C99-based-standards] (PRIdPTR): Likewise.
27925         [C99-based-standards] (PRIiPTR): Likewise.
27926         [C99-based-standards] (PRIoPTR): Likewise.
27927         [C99-based-standards] (PRIuPTR): Likewise.
27928         [C99-based-standards] (PRIxPTR): Likewise.
27929         [C99-based-standards] (PRIXPTR): Likewise.
27930         [C99-based-standards] (SCNdPTR): Likewise.
27931         [C99-based-standards] (SCNiPTR): Likewise.
27932         [C99-based-standards] (SCNoPTR): Likewise.
27933         [C99-based-standards] (SCNuPTR): Likewise.
27934         [C99-based-standards] (SCNxPTR): Likewise.
27935         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
27936         allow.
27937         * conform/data/stdint.h-data: Update comments to clarify
27938         requirements.
27939         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
27940         type.
27941         [C99-based standards] (INT8_MAX): Likewise.
27942         [C99-based standards] (INT16_MIN): Likewise.
27943         [C99-based standards] (INT16_MAX): Likewise.
27944         [C99-based standards] (INT32_MIN): Likewise.
27945         [C99-based standards] (INT32_MAX): Likewise.
27946         [C99-based standards] (INT64_MIN): Likewise.
27947         [C99-based standards] (INT64_MAX): Likewise.
27948         [C99-based standards] (UINT8_MAX): Likewise.
27949         [C99-based standards] (UINT16_MAX): Likewise.
27950         [C99-based standards] (UINT32_MAX): Likewise.
27951         [C99-based standards] (UINT64_MAX): Likewise.
27952         [C99-based standards] (INT_LEAST8_MIN): Likewise.
27953         [C99-based standards] (INT_LEAST8_MAX): Likewise.
27954         [C99-based standards] (INT_LEAST16_MIN): Likewise.
27955         [C99-based standards] (INT_LEAST16_MAX): Likewise.
27956         [C99-based standards] (INT_LEAST32_MIN): Likewise.
27957         [C99-based standards] (INT_LEAST32_MAX): Likewise.
27958         [C99-based standards] (INT_LEAST64_MIN): Likewise.
27959         [C99-based standards] (INT_LEAST64_MAX): Likewise.
27960         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
27961         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
27962         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
27963         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
27964         [C99-based standards] (INT_FAST8_MIN): Likewise.
27965         [C99-based standards] (INT_FAST8_MAX): Likewise.
27966         [C99-based standards] (INT_FAST16_MIN): Likewise.
27967         [C99-based standards] (INT_FAST16_MAX): Likewise.
27968         [C99-based standards] (INT_FAST32_MIN): Likewise.
27969         [C99-based standards] (INT_FAST32_MAX): Likewise.
27970         [C99-based standards] (INT_FAST64_MIN): Likewise.
27971         [C99-based standards] (INT_FAST64_MAX): Likewise.
27972         [C99-based standards] (UINT_FAST8_MAX): Likewise.
27973         [C99-based standards] (UINT_FAST16_MAX): Likewise.
27974         [C99-based standards] (UINT_FAST32_MAX): Likewise.
27975         [C99-based standards] (UINT_FAST64_MAX): Likewise.
27976         [C99-based standards] (INTPTR_MIN): Likewise.
27977         [C99-based standards] (INTPTR_MAX): Likewise.
27978         [C99-based standards] (UINTPTR_MAX): Likewise.
27979         [C99-based standards] (INTMAX_MIN): Likewise.
27980         [C99-based standards] (INTMAX_MAX): Likewise.
27981         [C99-based standards] (UINTMAX_MAX): Likewise.
27982         [C99-based standards] (PTRDIFF_MIN): Likewise.
27983         [C99-based standards] (PTRDIFF_MAX): Likewise.
27984         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
27985         [C99-based standards] (SIZE_MAX): Likewise.
27986         [C99-based standards] (WCHAR_MAX): Likewise.
27987         [C99-based standards] (WINT_MAX): Likewise.
27988         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
27989         constraint on value.
27990         [C99-based standards] (WCHAR_MIN): Likewise.
27991         [C99-based standards] (WINT_MIN): Likewise.
27992         [C99-based standards] (*_t): Allow.
27993         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
27994         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
27995         Include math.h-data and complex.h-data.  Remove all expectations
27996         of math.h and complex.h contents.
27997         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
27998         at end of line.
27999         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28000         (struct tm): Expect tag.
28001         [C99-based-standards] (wcstof): Expect function.
28002         [C99-based-standards] (wcstold): Likewise.
28003         [C99-based-standards] (wcstoll): Likewise.
28004         [C99-based-standards] (wcstoull): Likewise.
28005         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
28006         macro-int-constant.  Specify type.
28007         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
28008         constraint on value.
28009         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28010         Specify type.
28011         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
28012         Specify value.
28013         [ISO C standards]: Do not allow headers.
28014         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
28015         wcs[abcdefghijklmnopqrstuvwxyz]*.
28016         [ISO C standards] (*_t): Do not allow.
28017         * conform/data/wctype.h-data [C99-based standards] (iswblank):
28018         Expect function.
28019         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
28020         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28021         Specify type.
28022         [ISO C standards]: Do not allow headers.
28023         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
28024         is[abcdefghijklmnopqrstuvwxyz]*.
28025         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
28026         to[abcdefghijklmnopqrstuvwxyz]*.
28027         [ISO C standards] (*_t): Do not allow.
28028         * conform/data/stdalign.h-data: New file.
28029         * conform/data/stdbool.h-data: Likewise.
28030         * conform/data/stdnoreturn.h-data: Likewise.
28032 2012-11-07  Roland McGrath  <roland@hack.frob.com>
28034         [BZ #14815]
28035         * manual/filesys.texi (Directory Entries): Typo fix.
28036         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
28038 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28040         * elf/elf.h (EM_AARCH64): New macro.
28041         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
28042         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
28043         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
28044         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28045         (R_AARCH64_TLSDESC): Likewise.
28046         (NT_ARM_TLS): Likewise.
28047         (NT_ARM_HW_BREAK): Likewise.
28048         (NT_ARM_HW_WATCH): Likewise.
28050 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28052         [BZ #14811]
28053         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28054         (__ieee754_powl): Saturate nonzero exponents with absolute value
28055         below 0x1p-79 to +/- 0x1p-79.
28056         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28057         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28058         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28059         nonzero exponents with absolute value below 0x1p-32 to +/-
28060         0x1p-32.
28061         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28062         (__ieee754_powl): Saturate nonzero exponents with absolute value
28063         below 0x1p-79 to +/- 0x1p-79.
28064         * math/libm-test.inc (pow_test): Add more tests.
28066 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28068         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28069         _dl_s390_cap_flags with kernel. Increase string length.
28070         (_dl_s390_platforms): Add z196 and zEC12.
28072 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28074         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
28075         Change XOPEN21K to XOPEN2K.
28077 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
28079         * string/memmove.c: Use memcpy when possible.
28081 2012-11-06  Andreas Jaeger  <aj@suse.de>
28083         * po/eo.po: Update from translation team.
28085 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
28087         [BZ #14793]
28088         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28089         exponent and small x and y exponents, scale x or y up.  Increase
28090         by 2 the exponent used in scaling up.
28091         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28092         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28093         * math/libm-test.inc (fma_test): Add more tests.
28094         (fma_test_towardzero): Likewise.
28095         (fma_test_downward): Likewise.
28096         (fma_test_upward): Likewise.
28098 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
28100         [BZ #14805]
28101         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28102         fenv_t *.
28104         [BZ #14801]
28105         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28106         namespace for names of struct fields.
28107         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28108         fenv_t fields.
28109         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28110         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28112 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28114         [BZ #3665]
28115         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28117 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
28119         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28120         PTR_DEMANGLE.
28122         [BZ #5246]
28123         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28124         PTR_DEMANGLE.
28126 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
28128         [BZ #14797]
28129         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28130         definitely overflow as x * y not x * y + z.
28131         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28132         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28133         * math/libm-test.inc (fma_test): Add more tests.
28134         (fma_test_towardzero): Likewise.
28135         (fma_test_downward): Likewise.
28136         (fma_test_upward): Likewise.
28138 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
28140         [BZ #157]
28142         * include/stub-tag.h: Remove file.
28143         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28144         '#include' of it.
28145         * manual/maint.texi (Porting): Don't reference it.
28146         * Makerules ($(objpfx)stubs): Likewise.
28147         * dirent/closedir.c: Don't include <stub-tag.h>.
28148         * dirent/dirfd.c: Likewise.
28149         * dirent/fdopendir.c: Likewise.
28150         * dirent/getdents.c: Likewise.
28151         * dirent/getdents64.c: Likewise.
28152         * dirent/opendir.c: Likewise.
28153         * dirent/readdir.c: Likewise.
28154         * dirent/readdir64.c: Likewise.
28155         * dirent/readdir64_r.c: Likewise.
28156         * dirent/readdir_r.c: Likewise.
28157         * dirent/rewinddir.c: Likewise.
28158         * dirent/seekdir.c: Likewise.
28159         * dirent/telldir.c: Likewise.
28160         * gmon/profil.c: Likewise.
28161         * grp/setgroups.c: Likewise.
28162         * inet/if_index.c: Likewise.
28163         * io/access.c: Likewise.
28164         * io/chdir.c: Likewise.
28165         * io/chmod.c: Likewise.
28166         * io/chown.c: Likewise.
28167         * io/close.c: Likewise.
28168         * io/dup.c: Likewise.
28169         * io/dup2.c: Likewise.
28170         * io/dup3.c: Likewise.
28171         * io/euidaccess.c: Likewise.
28172         * io/faccessat.c: Likewise.
28173         * io/fchdir.c: Likewise.
28174         * io/fchmod.c: Likewise.
28175         * io/fchmodat.c: Likewise.
28176         * io/fchown.c: Likewise.
28177         * io/fchownat.c: Likewise.
28178         * io/fcntl.c: Likewise.
28179         * io/flock.c: Likewise.
28180         * io/fstatfs.c: Likewise.
28181         * io/fstatfs64.c: Likewise.
28182         * io/fstatvfs.c: Likewise.
28183         * io/fstatvfs64.c: Likewise.
28184         * io/futimens.c: Likewise.
28185         * io/fxstat.c: Likewise.
28186         * io/fxstat64.c: Likewise.
28187         * io/fxstatat.c: Likewise.
28188         * io/fxstatat64.c: Likewise.
28189         * io/getcwd.c: Likewise.
28190         * io/isatty.c: Likewise.
28191         * io/lchmod.c: Likewise.
28192         * io/lchown.c: Likewise.
28193         * io/link.c: Likewise.
28194         * io/linkat.c: Likewise.
28195         * io/lseek.c: Likewise.
28196         * io/lseek64.c: Likewise.
28197         * io/lxstat64.c: Likewise.
28198         * io/mkdir.c: Likewise.
28199         * io/mkdirat.c: Likewise.
28200         * io/mkfifo.c: Likewise.
28201         * io/mkfifoat.c: Likewise.
28202         * io/open.c: Likewise.
28203         * io/open64.c: Likewise.
28204         * io/openat.c: Likewise.
28205         * io/openat64.c: Likewise.
28206         * io/pipe.c: Likewise.
28207         * io/pipe2.c: Likewise.
28208         * io/poll.c: Likewise.
28209         * io/posix_fadvise.c: Likewise.
28210         * io/posix_fadvise64.c: Likewise.
28211         * io/posix_fallocate.c: Likewise.
28212         * io/posix_fallocate64.c: Likewise.
28213         * io/read.c: Likewise.
28214         * io/readlink.c: Likewise.
28215         * io/readlinkat.c: Likewise.
28216         * io/rmdir.c: Likewise.
28217         * io/sendfile.c: Likewise.
28218         * io/sendfile64.c: Likewise.
28219         * io/statfs.c: Likewise.
28220         * io/statfs64.c: Likewise.
28221         * io/statvfs.c: Likewise.
28222         * io/statvfs64.c: Likewise.
28223         * io/symlink.c: Likewise.
28224         * io/symlinkat.c: Likewise.
28225         * io/ttyname.c: Likewise.
28226         * io/ttyname_r.c: Likewise.
28227         * io/umask.c: Likewise.
28228         * io/unlink.c: Likewise.
28229         * io/unlinkat.c: Likewise.
28230         * io/utime.c: Likewise.
28231         * io/utimensat.c: Likewise.
28232         * io/write.c: Likewise.
28233         * io/xmknod.c: Likewise.
28234         * io/xmknodat.c: Likewise.
28235         * io/xstat.c: Likewise.
28236         * io/xstat64.c: Likewise.
28237         * login/getpt.c: Likewise.
28238         * login/grantpt.c: Likewise.
28239         * login/unlockpt.c: Likewise.
28240         * math/e_acoshl.c: Likewise.
28241         * math/e_acosl.c: Likewise.
28242         * math/e_asinl.c: Likewise.
28243         * math/e_atan2l.c: Likewise.
28244         * math/e_atanhl.c: Likewise.
28245         * math/e_coshl.c: Likewise.
28246         * math/e_expl.c: Likewise.
28247         * math/e_fmodl.c: Likewise.
28248         * math/e_gammal_r.c: Likewise.
28249         * math/e_hypotl.c: Likewise.
28250         * math/e_j0l.c: Likewise.
28251         * math/e_j1l.c: Likewise.
28252         * math/e_jnl.c: Likewise.
28253         * math/e_lgammal_r.c: Likewise.
28254         * math/e_log10l.c: Likewise.
28255         * math/e_log2l.c: Likewise.
28256         * math/e_logl.c: Likewise.
28257         * math/e_powl.c: Likewise.
28258         * math/e_rem_pio2l.c: Likewise.
28259         * math/e_sinhl.c: Likewise.
28260         * math/e_sqrtl.c: Likewise.
28261         * math/fclrexcpt.c: Likewise.
28262         * math/fedisblxcpt.c: Likewise.
28263         * math/feenablxcpt.c: Likewise.
28264         * math/fegetenv.c: Likewise.
28265         * math/fegetexcept.c: Likewise.
28266         * math/fegetround.c: Likewise.
28267         * math/feholdexcpt.c: Likewise.
28268         * math/fesetenv.c: Likewise.
28269         * math/fesetround.c: Likewise.
28270         * math/feupdateenv.c: Likewise.
28271         * math/fgetexcptflg.c: Likewise.
28272         * math/fraiseexcpt.c: Likewise.
28273         * math/fsetexcptflg.c: Likewise.
28274         * math/ftestexcept.c: Likewise.
28275         * math/k_cosl.c: Likewise.
28276         * math/k_rem_pio2l.c: Likewise.
28277         * math/k_sinl.c: Likewise.
28278         * math/k_tanl.c: Likewise.
28279         * math/s_asinhl.c: Likewise.
28280         * math/s_atanl.c: Likewise.
28281         * math/s_cbrtl.c: Likewise.
28282         * math/s_erfl.c: Likewise.
28283         * math/s_expm1l.c: Likewise.
28284         * math/s_log1pl.c: Likewise.
28285         * math/s_tanhl.c: Likewise.
28286         * misc/acct.c: Likewise.
28287         * misc/brk.c: Likewise.
28288         * misc/chflags.c: Likewise.
28289         * misc/chroot.c: Likewise.
28290         * misc/fchflags.c: Likewise.
28291         * misc/fgetxattr.c: Likewise.
28292         * misc/flistxattr.c: Likewise.
28293         * misc/fremovexattr.c: Likewise.
28294         * misc/fsetxattr.c: Likewise.
28295         * misc/fsync.c: Likewise.
28296         * misc/ftruncate.c: Likewise.
28297         * misc/futimes.c: Likewise.
28298         * misc/futimesat.c: Likewise.
28299         * misc/getdomain.c: Likewise.
28300         * misc/getdtsz.c: Likewise.
28301         * misc/gethostid.c: Likewise.
28302         * misc/gethostname.c: Likewise.
28303         * misc/getloadavg.c: Likewise.
28304         * misc/getpagesize.c: Likewise.
28305         * misc/getsysstats.c: Likewise.
28306         * misc/getxattr.c: Likewise.
28307         * misc/gtty.c: Likewise.
28308         * misc/ioctl.c: Likewise.
28309         * misc/lgetxattr.c: Likewise.
28310         * misc/listxattr.c: Likewise.
28311         * misc/llistxattr.c: Likewise.
28312         * misc/lremovexattr.c: Likewise.
28313         * misc/lsetxattr.c: Likewise.
28314         * misc/lutimes.c: Likewise.
28315         * misc/madvise.c: Likewise.
28316         * misc/mincore.c: Likewise.
28317         * misc/mlock.c: Likewise.
28318         * misc/mlockall.c: Likewise.
28319         * misc/mmap.c: Likewise.
28320         * misc/mprotect.c: Likewise.
28321         * misc/msync.c: Likewise.
28322         * misc/munlock.c: Likewise.
28323         * misc/munlockall.c: Likewise.
28324         * misc/munmap.c: Likewise.
28325         * misc/preadv.c: Likewise.
28326         * misc/preadv64.c: Likewise.
28327         * misc/ptrace.c: Likewise.
28328         * misc/pwritev.c: Likewise.
28329         * misc/pwritev64.c: Likewise.
28330         * misc/readv.c: Likewise.
28331         * misc/reboot.c: Likewise.
28332         * misc/remap_file_pages.c: Likewise.
28333         * misc/removexattr.c: Likewise.
28334         * misc/revoke.c: Likewise.
28335         * misc/select.c: Likewise.
28336         * misc/setdomain.c: Likewise.
28337         * misc/setegid.c: Likewise.
28338         * misc/seteuid.c: Likewise.
28339         * misc/sethostid.c: Likewise.
28340         * misc/sethostname.c: Likewise.
28341         * misc/setregid.c: Likewise.
28342         * misc/setreuid.c: Likewise.
28343         * misc/setxattr.c: Likewise.
28344         * misc/sstk.c: Likewise.
28345         * misc/stty.c: Likewise.
28346         * misc/swapoff.c: Likewise.
28347         * misc/swapon.c: Likewise.
28348         * misc/sync.c: Likewise.
28349         * misc/syncfs.c: Likewise.
28350         * misc/syscall.c: Likewise.
28351         * misc/truncate.c: Likewise.
28352         * misc/ualarm.c: Likewise.
28353         * misc/usleep.c: Likewise.
28354         * misc/ustat.c: Likewise.
28355         * misc/utimes.c: Likewise.
28356         * misc/vhangup.c: Likewise.
28357         * misc/writev.c: Likewise.
28358         * posix/_exit.c: Likewise.
28359         * posix/alarm.c: Likewise.
28360         * posix/execve.c: Likewise.
28361         * posix/fexecve.c: Likewise.
28362         * posix/fork.c: Likewise.
28363         * posix/fpathconf.c: Likewise.
28364         * posix/getaddrinfo.c: Likewise.
28365         * posix/getegid.c: Likewise.
28366         * posix/geteuid.c: Likewise.
28367         * posix/getgid.c: Likewise.
28368         * posix/getgroups.c: Likewise.
28369         * posix/getlogin.c: Likewise.
28370         * posix/getlogin_r.c: Likewise.
28371         * posix/getpgid.c: Likewise.
28372         * posix/getpid.c: Likewise.
28373         * posix/getppid.c: Likewise.
28374         * posix/getresgid.c: Likewise.
28375         * posix/getresuid.c: Likewise.
28376         * posix/getsid.c: Likewise.
28377         * posix/getuid.c: Likewise.
28378         * posix/glob64.c: Likewise.
28379         * posix/nanosleep.c: Likewise.
28380         * posix/pathconf.c: Likewise.
28381         * posix/pause.c: Likewise.
28382         * posix/posix_madvise.c: Likewise.
28383         * posix/pread.c: Likewise.
28384         * posix/pread64.c: Likewise.
28385         * posix/pwrite.c: Likewise.
28386         * posix/pwrite64.c: Likewise.
28387         * posix/sched_getaffinity.c: Likewise.
28388         * posix/sched_getp.c: Likewise.
28389         * posix/sched_gets.c: Likewise.
28390         * posix/sched_primax.c: Likewise.
28391         * posix/sched_primin.c: Likewise.
28392         * posix/sched_rr_gi.c: Likewise.
28393         * posix/sched_setaffinity.c: Likewise.
28394         * posix/sched_setp.c: Likewise.
28395         * posix/sched_sets.c: Likewise.
28396         * posix/sched_yield.c: Likewise.
28397         * posix/setgid.c: Likewise.
28398         * posix/setlogin.c: Likewise.
28399         * posix/setpgid.c: Likewise.
28400         * posix/setresgid.c: Likewise.
28401         * posix/setresuid.c: Likewise.
28402         * posix/setsid.c: Likewise.
28403         * posix/setuid.c: Likewise.
28404         * posix/sleep.c: Likewise.
28405         * posix/spawni.c: Likewise.
28406         * posix/sysconf.c: Likewise.
28407         * posix/times.c: Likewise.
28408         * posix/wait.c: Likewise.
28409         * posix/wait3.c: Likewise.
28410         * posix/wait4.c: Likewise.
28411         * posix/waitpid.c: Likewise.
28412         * resolv/gai_sigqueue.c: Likewise.
28413         * resource/getpriority.c: Likewise.
28414         * resource/getrlimit.c: Likewise.
28415         * resource/getrusage.c: Likewise.
28416         * resource/nice.c: Likewise.
28417         * resource/setpriority.c: Likewise.
28418         * resource/setrlimit.c: Likewise.
28419         * resource/ulimit.c: Likewise.
28420         * rt/aio_cancel.c: Likewise.
28421         * rt/aio_fsync.c: Likewise.
28422         * rt/aio_read.c: Likewise.
28423         * rt/aio_sigqueue.c: Likewise.
28424         * rt/aio_suspend.c: Likewise.
28425         * rt/aio_write.c: Likewise.
28426         * rt/clock_getres.c: Likewise.
28427         * rt/clock_gettime.c: Likewise.
28428         * rt/clock_nanosleep.c: Likewise.
28429         * rt/clock_settime.c: Likewise.
28430         * rt/lio_listio.c: Likewise.
28431         * rt/mq_close.c: Likewise.
28432         * rt/mq_getattr.c: Likewise.
28433         * rt/mq_notify.c: Likewise.
28434         * rt/mq_open.c: Likewise.
28435         * rt/mq_receive.c: Likewise.
28436         * rt/mq_send.c: Likewise.
28437         * rt/mq_setattr.c: Likewise.
28438         * rt/mq_timedreceive.c: Likewise.
28439         * rt/mq_timedsend.c: Likewise.
28440         * rt/mq_unlink.c: Likewise.
28441         * rt/shm_open.c: Likewise.
28442         * rt/shm_unlink.c: Likewise.
28443         * rt/timer_create.c: Likewise.
28444         * rt/timer_delete.c: Likewise.
28445         * rt/timer_getoverr.c: Likewise.
28446         * rt/timer_gettime.c: Likewise.
28447         * rt/timer_settime.c: Likewise.
28448         * setjmp/__longjmp.c: Likewise.
28449         * setjmp/setjmp.c: Likewise.
28450         * signal/kill.c: Likewise.
28451         * signal/killpg.c: Likewise.
28452         * signal/raise.c: Likewise.
28453         * signal/sigaction.c: Likewise.
28454         * signal/sigaltstack.c: Likewise.
28455         * signal/sigblock.c: Likewise.
28456         * signal/sigignore.c: Likewise.
28457         * signal/sigintr.c: Likewise.
28458         * signal/signal.c: Likewise.
28459         * signal/sigpause.c: Likewise.
28460         * signal/sigpending.c: Likewise.
28461         * signal/sigqueue.c: Likewise.
28462         * signal/sigreturn.c: Likewise.
28463         * signal/sigset.c: Likewise.
28464         * signal/sigsetmask.c: Likewise.
28465         * signal/sigstack.c: Likewise.
28466         * signal/sigsuspend.c: Likewise.
28467         * signal/sigtimedwait.c: Likewise.
28468         * signal/sigvec.c: Likewise.
28469         * signal/sigwait.c: Likewise.
28470         * signal/sigwaitinfo.c: Likewise.
28471         * signal/sysv_signal.c: Likewise.
28472         * socket/accept.c: Likewise.
28473         * socket/accept4.c: Likewise.
28474         * socket/bind.c: Likewise.
28475         * socket/connect.c: Likewise.
28476         * socket/getpeername.c: Likewise.
28477         * socket/getsockname.c: Likewise.
28478         * socket/getsockopt.c: Likewise.
28479         * socket/isfdtype.c: Likewise.
28480         * socket/listen.c: Likewise.
28481         * socket/recv.c: Likewise.
28482         * socket/recvfrom.c: Likewise.
28483         * socket/recvmsg.c: Likewise.
28484         * socket/send.c: Likewise.
28485         * socket/sendmsg.c: Likewise.
28486         * socket/sendto.c: Likewise.
28487         * socket/setsockopt.c: Likewise.
28488         * socket/shutdown.c: Likewise.
28489         * socket/sockatmark.c: Likewise.
28490         * socket/socket.c: Likewise.
28491         * socket/socketpair.c: Likewise.
28492         * stdio-common/ctermid.c: Likewise.
28493         * stdio-common/cuserid.c: Likewise.
28494         * stdio-common/remove.c: Likewise.
28495         * stdio-common/rename.c: Likewise.
28496         * stdio-common/renameat.c: Likewise.
28497         * stdio-common/tempname.c: Likewise.
28498         * stdlib/getcontext.c: Likewise.
28499         * stdlib/makecontext.c: Likewise.
28500         * stdlib/setcontext.c: Likewise.
28501         * stdlib/swapcontext.c: Likewise.
28502         * stdlib/system.c: Likewise.
28503         * streams/fattach.c: Likewise.
28504         * streams/fdetach.c: Likewise.
28505         * streams/getmsg.c: Likewise.
28506         * streams/getpmsg.c: Likewise.
28507         * streams/putmsg.c: Likewise.
28508         * streams/putpmsg.c: Likewise.
28509         * sysdeps/unix/bsd/getpt.c: Likewise.
28510         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28511         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28512         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28514         Likewise.
28515         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28516         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28517         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28518         * sysvipc/msgctl.c: Likewise.
28519         * sysvipc/msgget.c: Likewise.
28520         * sysvipc/msgrcv.c: Likewise.
28521         * sysvipc/msgsnd.c: Likewise.
28522         * sysvipc/semctl.c: Likewise.
28523         * sysvipc/semget.c: Likewise.
28524         * sysvipc/semop.c: Likewise.
28525         * sysvipc/semtimedop.c: Likewise.
28526         * sysvipc/shmat.c: Likewise.
28527         * sysvipc/shmctl.c: Likewise.
28528         * sysvipc/shmdt.c: Likewise.
28529         * sysvipc/shmget.c: Likewise.
28530         * termios/tcdrain.c: Likewise.
28531         * termios/tcflow.c: Likewise.
28532         * termios/tcflush.c: Likewise.
28533         * termios/tcgetattr.c: Likewise.
28534         * termios/tcgetpgrp.c: Likewise.
28535         * termios/tcsendbrk.c: Likewise.
28536         * termios/tcsetattr.c: Likewise.
28537         * termios/tcsetpgrp.c: Likewise.
28538         * time/adjtime.c: Likewise.
28539         * time/clock.c: Likewise.
28540         * time/getitimer.c: Likewise.
28541         * time/gettimeofday.c: Likewise.
28542         * time/setitimer.c: Likewise.
28543         * time/settimeofday.c: Likewise.
28544         * time/stime.c: Likewise.
28545         * time/time.c: Likewise.
28547 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
28549         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
28550         /usr/old/bin.
28552         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
28553         instead of spaces.
28554         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
28556 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
28558         [BZ #14796]
28559         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
28560         FE_TONEAREST before applying Dekker multiplication and Knuth
28561         addition.  Clear inexact exceptions and check for exact zero
28562         results afterwards.
28563         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28564         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28565         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28566         * math/libm-test.inc (fma_test): Add more tests.
28567         (fma_test_towardzero): Likewise.
28568         (fma_test_downward): Likewise.
28569         (fma_test_upward): Likewise.
28570         * sysdeps/generic/math_private.h (default_libc_fesetround): New
28571         function.
28572         (libc_fesetround): New macro.
28573         (libc_fesetroundf): Likewise.
28574         (libc_fesetroundl): Likewise.
28575         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
28576         function.
28577         (libc_fesetround_387): Likewise.
28578         (libc_fesetroundf): New macro.
28579         (libc_fesetround): Likewise.
28580         (libc_fesetroundl): Likewise.
28581         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
28582         function.
28583         (libc_fesetroundf): New macro.
28584         (libc_fesetround): Likewise.
28585         (libc_fesetroundl): Likewise.
28586         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
28587         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
28588         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
28589         libm_hidden_ver.
28590         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
28591         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
28592         libm_hidden_def.
28593         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
28594         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
28595         libm_hidden_ver.
28596         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
28597         libm_hidden_def.
28599         [BZ #3439]
28600         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
28601         integer constant usable in #if and use that to give value to enum
28602         constant.
28603         (FE_DIVBYZERO): Likewise.
28604         (FE_UNDERFLOW): Likewise.
28605         (FE_OVERFLOW): Likewise.
28606         (FE_INVALID): Likewise.
28607         (FE_INVALID_SNAN): Likewise.
28608         (FE_INVALID_ISI): Likewise.
28609         (FE_INVALID_IDI): Likewise.
28610         (FE_INVALID_ZDZ): Likewise.
28611         (FE_INVALID_IMZ): Likewise.
28612         (FE_INVALID_COMPARE): Likewise.
28613         (FE_INVALID_SOFTWARE): Likewise.
28614         (FE_INVALID_SQRT): Likewise.
28615         (FE_INVALID_INTEGER_CONVERSION): Likewise.
28616         (FE_TONEAREST): Likewise.
28617         (FE_TOWARDZERO): Likewise.
28618         (FE_UPWARD): Likewise.
28619         (FE_DOWNWARD): Likewise.
28620         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
28621         (FE_DIVBYZERO): Likewise.
28622         (FE_OVERFLOW): Likewise.
28623         (FE_UNDERFLOW): Likewise.
28624         (FE_INEXACT): Likewise.
28625         (FE_TONEAREST): Likewise.
28626         (FE_DOWNWARD): Likewise.
28627         (FE_UPWARD): Likewise.
28628         (FE_TOWARDZERO): Likewise.
28629         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
28630         (FE_UNDERFLOW): Likewise.
28631         (FE_OVERFLOW): Likewise.
28632         (FE_DIVBYZERO): Likewise.
28633         (FE_INVALID): Likewise.
28634         (FE_TONEAREST): Likewise.
28635         (FE_TOWARDZERO): Likewise.
28636         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
28637         (FE_OVERFLOW): Likewise.
28638         (FE_UNDERFLOW): Likewise.
28639         (FE_DIVBYZERO): Likewise.
28640         (FE_INEXACT): Likewise.
28641         (FE_TONEAREST): Likewise.
28642         (FE_TOWARDZERO): Likewise.
28643         (FE_UPWARD): Likewise.
28644         (FE_DOWNWARD): Likewise.
28645         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
28646         (FE_DIVBYZERO): Likewise.
28647         (FE_OVERFLOW): Likewise.
28648         (FE_UNDERFLOW): Likewise.
28649         (FE_INEXACT): Likewise.
28650         (FE_TONEAREST): Likewise.
28651         (FE_DOWNWARD): Likewise.
28652         (FE_UPWARD): Likewise.
28653         (FE_TOWARDZERO): Likewise.
28655 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
28657         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
28659 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
28661         * scripts/cross-test-ssh.sh (command): Use newlines to separate
28662         commands.  Quote $PWD.
28663         (blacklist_exports): Don't use remove_newlines.  Replace "declare
28664         -x" by "export".
28665         (remove_newlines): Remove.
28667 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
28669         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
28670         * stdlib/stdlib.h (atof): Moved to ...
28671         * include/bits/stdlib-float.h: Here.  New file.
28672         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
28673         * stdlib/bits/stdlib-float.h: New file.
28674         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
28675         -mno-sse -mno-mmx.
28676         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
28677         <xmmintrin.h>.
28679 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
28681         * conform/conformtest.pl (@headers): Add fenv.h.
28682         * conform/data/fenv.h-data: New file.
28683         * include/fenv.h [_ISOMAC]: Disable all contents of file except
28684         include of <math/fenv.h>.
28686         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
28687         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
28688         && !UNIX98].  Enables tests for XOPEN2K8.
28689         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
28690         POSIX2008]: Likewise.
28692         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
28693         (struct rusage): Do not expect type or its members.
28695         [BZ #3439]
28696         * math/math.h (FP_NAN): Define macro to integer constant usable in
28697         #if and use that to give value to enum constant.
28698         (FP_INFINITE): Likewise.
28699         (FP_ZERO): Likewise.
28700         (FP_SUBNORMAL): Likewise.
28701         (FP_NORMAL): Likewise.
28703 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
28705         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
28706         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
28707         arguments.
28709 2012-11-02  Roland McGrath  <roland@hack.frob.com>
28711         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
28712         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
28713         autoconf-time if not.
28714         * configure.in: Remove AC_PREREQ.
28716 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28718         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
28719         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
28720         of the internal implementation.
28722 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
28724         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
28725         except include of <misc/sys/syslog.h>.
28727 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
28729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28730         function returns with a NULL context exit with zero.
28732 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28734         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
28736 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
28738         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
28739         (run_program_cmd): This.
28740         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
28741         (tst_langinfo): New variable.  Use it.
28743 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
28745         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
28746         floating point opcodes.
28748 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
28750         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
28751         variable.
28753         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28755         * sysdeps/mach/hurd/powerpc: Remove directory.
28756         * sysdeps/mach/powerpc: Likewise.
28758 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
28760         * scripts/check-local-headers.sh: Ignore c++ headers.
28762 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
28764         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
28765         __libc_cleanup_region_start argument.
28767 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
28769         [BZ #14784]
28770         [BZ #14785]
28771         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
28772         x * y using scaling, not as x * y + z.
28773         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28774         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28775         * math/libm-test.inc (fma_test): Add more tests.
28776         (fma_test_towardzero): Likewise.
28777         (fma_test_downward): Likewise.
28778         (fma_test_upward): Likewise.
28780 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
28782         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28784 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
28786         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28787         New variable.
28789 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
28791         * rt/tst-shm.c (worker): Correct checking for mmap failure.
28793 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
28795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28796         Fix sort order.
28797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28798         Likewise.
28800 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28803         Fix the order of the list for glibc 2.17.
28804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28805         Likewise.
28807 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
28809         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28811 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
28813         [BZ #14610]
28814         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28815         for low part of x being zero before using __atanl (y).
28816         * math/libm-test.inc (atan2_test): Add another test.
28818         * manual/install.texi (Configuring and compiling): Document
28819         general use of test-wrapper and test-wrapper-env.
28820         * INSTALL: Regenerated.
28822         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28823         (__fma): Do not extract and scale down low bits on after-rounding
28824         systems when result rounded to normal precision would have normal
28825         exponent.
28826         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28827         (__fmal): Do not extract and scale down low bits on after-rounding
28828         systems when result rounded to normal precision would have normal
28829         exponent.
28830         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28831         (__fmal): Do not extract and scale down low bits on after-rounding
28832         systems when result rounded to normal precision would have normal
28833         exponent.
28834         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28835         macro.
28836         (fma_test): Add more tests.
28837         (fma_test_towardzero): Likewise.
28838         (fma_test_downward): Likewise.
28839         (fma_test_upward): Likewise.
28841 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
28843         * sysdeps/i386/tininess.h: Renamed to ...
28844         * sysdeps/x86/tininess.h: This.
28845         * sysdeps/x86_64/tininess.h: Removed.
28847 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
28849         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28850         input.  Use $(build-program-cmd).
28851         ($(objpfx)tst-array1-static.out): Likewise.
28852         ($(objpfx)tst-array2.out): Likewise.
28853         ($(objpfx)tst-array3.out): Likewise.
28854         ($(objpfx)tst-array4.out): Likewise.
28855         ($(objpfx)tst-array5.out): Likewise.
28856         ($(objpfx)tst-array5-static.out): Likewise.
28858 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
28860         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28861         if defined.
28863         * nss/nsswitch.h (nss_interface_function): Provide new
28864         macro for use with NSS functions.
28865         * grp/initgroups.c: Use new macro.
28866         * nss/getXXbyYY.c: Likewise.
28867         * nss/getXXbyYY_r.c: Likewise.
28868         * nss/getXXent.c: Likewise.
28869         * nss/getXXent_r.c: Likewise.
28870         * sysdeps/posix/getaddrinfo.c: Likewise.
28872 2012-10-30  Andreas Jaeger  <aj@suse.de>
28874         * po/ru.po: Update Russion translation from translation project.
28876 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
28878         [BZ #14152]
28879         [BZ #14783]
28880         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28881         result and shift together with sticky bit instead of replicating
28882         round-to-nearest rounding.
28883         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28884         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28885         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
28886         missing underflow exceptions.
28887         (fma_test_towardzero): Add more tests.
28888         (fma_test_downward): Likewise.
28889         (fma_test_upward): Likewise.
28891         [BZ #14047]
28892         * sysdeps/generic/tininess.h: New file.
28893         * sysdeps/i386/tininess.h: Likewise.
28894         * sysdeps/sh/tininess.h: Likewise.
28895         * sysdeps/x86_64/tininess.h: Likewise.
28896         * stdlib/tst-strtod-underflow.c: Likewise.
28897         * stdlib/tst-tininess.c: Likewise.
28898         * stdlib/strtod_l.c: Include <tininess.h>.
28899         (round_and_return): Do not set errno for exact underflow cases.
28900         Force an underflow exception when setting errno for underflow.
28901         Determine underflow based on rounding to normal precision if
28902         TININESS_AFTER_ROUNDING.
28903         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
28904         ERANGE for exact underflow cases.
28905         * stdlib/Makefile (tests): Add tst-tininess and
28906         tst-strtod-underflow.
28907         ($(objpfx)tst-tininess): Use $(link-libm).
28908         ($(objpfx)tst-strtod-underflow): Likewise.
28910 2012-10-30  Andreas Jaeger  <aj@suse.de>
28912         [BZ#14767]
28913         * elf/Makefile (tests): Remove conditional for have-initfini-array
28914         since this is now always required and the variable does not exist
28915         anymore.
28916         (tests-static): Likewise.
28917         (modules-names): Likewise.
28919         * po/eo.po: Add Esperanto translation from translation project.
28921         * elf/tst-array1.c (fini_array): Make writeable so that it can be
28922         merged with constructor/destructor.
28923         (init_array): Likewise.
28924         * elf/tst-array2dep.c (fini_array): Likewise.
28925         (init_array): Likewise.
28927 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
28929         * manual/message.texi: Delete @cartouche tags.
28931 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
28933         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
28934         EOPNOTSUPP.
28935         * sysdeps/mach/hurd/fsync.c: Likewise.
28937         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
28938         [_POSIX_REALTIME_SIGNALS]: Change condition to
28939         [_POSIX_REALTIME_SIGNALS > 0].
28941 2012-10-27  Andreas Jaeger  <aj@suse.de>
28943         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
28944         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
28945         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
28946         [__WORDSIZE != 64]: Likewise.
28948 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
28950         *  iconvdata/tst-table.sh: Remove ${SHELL}.
28951         *  iconvdata/tst-tables.sh: Likewise.
28953 2012-10-25  David S. Miller  <davem@davemloft.net>
28955         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28956         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
28957         of strtoull.
28959         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
28960         ifunc-impl-list.c
28961         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28962         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
28963         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
28964         file.
28966 2012-10-25  Roland McGrath  <roland@hack.frob.com>
28968         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28969         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
28970         __getdirentries.
28972 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
28973             Jim Blandy  <jimb@codesourcery.com>
28975         * scripts/cross-test-ssh.sh: New file.
28976         * manual/install.texi (Configuring and compiling): Document use of
28977         cross-test-ssh.sh.
28978         * INSTALL: Regenerated.
28980 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
28982         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
28983         EOPNOTSUPP.
28985 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
28987         * Makeconfig (run-program-prefix): Fix comment.
28989 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
28990             Jim Blandy  <jimb@codesourcery.com>
28992         * Makeconfig (test-wrapper): New variable,
28993         (test-wrapper-env): Likewise.
28994         [$(cross-compiling) = yes && $(test-wrapper) != ""]
28995         (run-built-tests): Define to yes.
28996         (run-program-prefix): Use $(test-wrapper).
28997         (built-program-cmd): Likewise.
28998         * Rules (make-test-out): Use $(test-wrapper-env) and
28999         $(host-built-program-cmd).
29000         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29001         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29002         tst-pathopt.sh.
29003         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29004         $(test-wrapper-env) to tst-rtld-load-self.sh.
29005         ($(objpfx)order2.out): Use $(test-wrapper).
29006         ($(objpfx)tst-initorder.out): Likewise.
29007         ($(objpfx)tst-initorder2.out): Likewise.
29008         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
29009         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
29010         (test_wrapper_env): New variable.  Use it to run ld.so.
29011         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
29012         Use it to run ld.so.
29013         (test_wrapper_env): Likewise.
29014         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
29015         $(test-wrapper) to run-iconv-test.sh.
29016         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
29017         (ICONV): Use $test_wrapper.
29018         * posix/Makefile ($(objpfx)globtest.out): Pass
29019         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
29020         globtest.sh, not $(run-program-prefix).
29021         * posix/globtest.sh (run_via_rtld_prefix): New variable.
29022         (test_wrapper): Likewise.
29023         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
29024         set together with run_via_rtld_prefix.
29025         (run_program_prefix): Define in terms of test_wrapper and
29026         run_via_rtld_prefix.
29028 2012-10-24  Roland McGrath  <roland@hack.frob.com>
29030         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
29031         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
29032         Targets removed.
29034         [BZ #14743]
29035         * include/time.h: Remove librt_hidden_proto (clock_gettime).
29036         Declare __clock_getres, __clock_gettime, __clock_settime,
29037         __clock_nanosleep, and __clock_getcpuclockid.
29038         * rt/clock_gettime.c: Define __clock_gettime as an alias.
29039         Remove librt_hidden_def (clock_gettime).
29040         * sysdeps/unix/clock_gettime.c: Likewise.
29041         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
29042         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29043         * rt/clock_getres.c: Define __clock_getres as an alias.
29044         * sysdeps/posix/clock_getres.c: Likewise.
29045         * rt/clock_settime.c: Define __clock_settime as an alias.
29046         * sysdeps/unix/clock_settime.c: Likewise.
29047         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29048         * sysdeps/unix/clock_nanosleep.c: Likewise.
29049         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29050         * rt/clock-compat.c: New file.
29051         * rt/Makefile (librt-routines): Add clock-compat and move
29052         $(clock-routines) to ...
29053         (routines): ... here, new variable.
29054         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29055         Don't add get_clockfreq here.
29056         * rt/Versions (libc: GLIBC_2.17): New version set.
29057         Add clock_* symbols here.
29058         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
29059         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29060         (GLIBC_2.17): Add clock_* symbols.
29061         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29062         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29063         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29065         Likewise.
29066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29067         Likewise.
29068         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29069         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29070         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29071         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29072         * NEWS: Mention the move.
29074         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29075         Use __open, __read, __close rather than their public counterparts.
29076         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29077         (__get_clockfreq_via_cpuinfo): Likewise.
29078         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29079         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29081         * config.h.in (HAVE_IFUNC): New #undef.
29082         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29083         was successful.
29084         * configure: Regenerated.
29086 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
29088         * configure.in: Move READELF check to start of file.
29089         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29090         libc_cv_asm_gnu_indirect_function in the process.
29091         * configure: Regenerated.
29093 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
29095         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29096         send the output to /dev/null.
29097         (libc_cv_cc_with_libunwind): Likewise.
29098         (libc_cv_as_noexecstack): Likewise.
29099         * configure: Regenerate.
29101 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
29103         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29105         * posix/globtest.sh (TMPDIR): Do not set.
29106         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29107         (testout): Likewise.
29109 2012-10-24  Andreas Jaeger  <aj@suse.de>
29111         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29112         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29113         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29114         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29115         posix_fadvise64, posix_fallocate64.
29117         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29118         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29119         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29120         Likewise.
29121         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29122         Likewise.
29123         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29125         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29126         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29127         <bits/fcntl-linux.h>.
29128         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29130         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29131         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29132         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29133         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29134         [__WORDSIZE != 64]: Likewise.
29136 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
29138         * Makeconfig (run-built-tests): New variable.
29139         * Rules [$(cross-compiling) = yes]: Change condition to
29140         [$(run-built-tests) = no].
29141         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29142         to [$(run-built-tests) = yes].
29143         * elf/Makefile [$(cross-compiling) = no]: Likewise
29144         * grp/Makefile [$(cross-compiling) = no]: Likewise.
29145         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29146         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29147         * intl/Makefile [$(cross-compiling) = no]: Likewise.
29148         * io/Makefile [$(cross-compiling) = no]: Likewise.
29149         * libio/Makefile [$(cross-compiling) = no]: Likewise.
29150         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29151         * misc/Makefile [$(cross-compiling) = no]: Likewise.
29152         * posix/Makefile [$(cross-compiling) = no]: Likewise.
29153         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29154         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29155         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29156         * string/Makefile [$(cross-compiling) = no]: Likewise.
29158         * posix/Makefile ($(objpfx)globtest.out): Pass
29159         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29160         $(rtld-installed-name).
29161         * posix/globtest.sh (elf_objpfx): Remove variable.
29162         (rtld_installed_name): Likewise.
29163         (library_path): Likewise.
29164         (run_program_prefix): New variable.  Use for running globtest
29165         binary.
29167 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
29168             Joseph Myers  <joseph@codesourcery.com>
29170         * Makeconfig (host-built-program-cmd): New variable.
29171         * elf/Makefile (tst-stackguard1-ARGS): Use
29172         $(host-built-program-cmd).
29173         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29174         (tst-spawn-ARGS): Likewise.
29175         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29177 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
29178             Jim Blandy  <jimb@codesourcery.com>
29180         * Makeconfig (run-via-rtld-prefix): New variable.
29181         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29182         (built-program-cmd): Likewise.
29184 2012-10-22  Andreas Jaeger  <aj@suse.de>
29186         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29187         __O_RSYNC if it exists, otherwise to O_SYNC.
29189 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
29190             Joseph Myers  <joseph@codesourcery.com>
29192         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
29193         /dev/null.
29194         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29195         from /dev/null
29196         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
29197         /dev/null.
29199 2012-10-22  Andreas Jaeger  <aj@suse.de>
29201         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29202         Define always.
29203         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29205         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29206         bits/fcntl-linux.h.
29208         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29209         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29211         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29212         to __O_LARGEFILE.
29213         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29214         to __O_LARGEFILE.
29216 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
29217             Joseph Myers  <joseph@codesourcery.com>
29219         * config.make.in (NM): New variable.
29221 2012-10-21  Andreas Jaeger  <aj@suse.de>
29223         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29224         definitions and declarations that are provided by
29225         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29227 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
29229         [BZ #14683]
29230         * elf/Makefile (tests-static): Add tst-leaks1-static.
29231         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29232         ($(objpfx)tst-leaks1-static): New rule.
29233         ($(objpfx)tst-leaks1-static-mem): Likewise.
29234         (tst-leaks1-static-ENV): New macro.
29235         * elf/dl-open.c (dl_open_worker): Check the main application
29236         only if SHARED is defined.
29237         * elf/tst-leaks1-static.c: New file.
29239 2012-10-20  Andreas Jaeger  <aj@suse.de>
29241         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29242         generic values for Linux.
29243         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29244         and declarations that are provided by <bits/fcntl-linux.h> and
29245         include <bits/fcntl-linux.h>.
29246         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29247         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29249 2012-10-20  Roland McGrath  <roland@hack.frob.com>
29251         * io/fcntl.h: Move include of <bits/types.h> to the top and
29252         include it unconditionally.
29254 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
29256         * wcsmbs/Makefile (tests-ifunc): New variable.
29257         (tests): Add $(tests-ifunc).
29258         * wcsmbs/test-wcschr-ifunc.c: New file.
29259         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29260         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29261         * wcsmbs/test-wcslen-ifunc.c: Likewise.
29262         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29263         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29265         * string/Makefile (tests-ifunc): New variable.
29266         (tests): Add $(tests-ifunc).
29267         * string/test-memccpy.c (TEST_NAME): New macro.
29268         * string/test-memchr.c (TEST_NAME): Likewise.
29269         * string/test-memcmp.c (TEST_NAME): Likewise.
29270         * string/test-memcpy.c (TEST_NAME): Likewise.
29271         * string/test-memmem.c (TEST_NAME): Likewise.
29272         * string/test-memmove.c (TEST_NAME): Likewise.
29273         * string/test-memset.c (TEST_NAME): Likewise.
29274         * string/test-rawmemchr.c (TEST_NAME): Likewise.
29275         * string/test-stpcpy.c (TEST_NAME): Likewise.
29276         * string/test-stpncpy.c (TEST_NAME): Likewise.
29277         * string/test-strcasecmp.c (TEST_NAME): Likewise.
29278         * string/test-strcasestr.c (TEST_NAME): Likewise.
29279         * string/test-strcat.c (TEST_NAME): Likewise.
29280         * string/test-strchr.c (TEST_NAME): Likewise.
29281         * string/test-strcmp.c(TEST_NAME): Likewise.
29282         * string/test-strcpy.c (TEST_NAME): Likewise.
29283         * string/test-strcspn.c (TEST_NAME): Likewise.
29284         * string/test-strlen.c (TEST_NAME): Likewise.
29285         * string/test-strncasecmp.c (TEST_NAME): Likewise.
29286         * string/test-strncmp.c (TEST_NAME): Likewise.
29287         * string/test-strncpy.c (TEST_NAME): Likewise.
29288         * string/test-strnlen.c (TEST_NAME): Likewise.
29289         * string/test-strpbrk.c (TEST_NAME): Likewise.
29290         * string/test-strrchr.c (TEST_NAME): Likewise.
29291         * string/test-strspn.c (TEST_NAME): Likewise.
29292         * string/test-strstr.c (TEST_NAME): Likewise.
29293         * string/test-bcopy-ifunc.c: New file.
29294         * string/test-bzero-ifunc.c: Likewise.
29295         * string/test-memccpy-ifunc.c: Likewise.
29296         * string/test-memchr-ifunc.c: Likewise.
29297         * string/test-memcmp-ifunc.c: Likewise.
29298         * string/test-memcpy-ifunc.c: Likewise.
29299         * string/test-memmem-ifunc.c: Likewise.
29300         * string/test-memmove-ifunc.c: Likewise.
29301         * string/test-mempcpy-ifunc.c: Likewise.
29302         * string/test-memset-ifunc.c: Likewise.
29303         * string/test-rawmemchr-ifunc.c: Likewise.
29304         * string/test-stpcpy-ifunc.c: Likewise.
29305         * string/test-stpncpy-ifunc.c: Likewise.
29306         * string/test-strcasecmp-ifunc.c: Likewise.
29307         * string/test-strcasestr-ifunc.c: Likewise.
29308         * string/test-strcat-ifunc.c: Likewise.
29309         * string/test-strchr-ifunc.c: Likewise.
29310         * string/test-strchrnul-ifunc.c: Likewise.
29311         * string/test-strcmp-ifunc.c: Likewise.
29312         * string/test-strcpy-ifunc.c: Likewise.
29313         * string/test-strcspn-ifunc.c: Likewise.
29314         * string/test-strlen-ifunc.c: Likewise.
29315         * string/test-strncasecmp-ifunc.c: Likewise.
29316         * string/test-strncat-ifunc.c: Likewise.
29317         * string/test-strncmp-ifunc.c: Likewise.
29318         * string/test-strncpy-ifunc.c: Likewise.
29319         * string/test-strnlen-ifunc.c: Likewise.
29320         * string/test-strpbrk-ifunc.c: Likewise.
29321         * string/test-strrchr-ifunc.c: Likewise.
29322         * string/test-strspn-ifunc.c: Likewise.
29323         * string/test-strstr-ifunc.c: Likewise.
29325         * debug/Makefile (tests-ifunc): New variable.
29326         (tests): Add $(tests-ifunc).
29327         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
29328         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
29329         * debug/test-stpcpy_chk-ifunc.c: New file.
29330         * debug/test-strcpy_chk-ifunc.c: Likewise.
29332 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29334         [BZ #13601]
29335         * elf/dl-load.c (open_verify): Retry read if the entire ELF
29336         header is not read in.
29338 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
29340         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
29341         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
29342         directly.  Pass built executable to script as
29343         $(built-program-cmd).
29344         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
29345         $testprogram without using LD_LIBRARY_PATH and $ldso.
29347         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
29348         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
29349         $(rtld-installed-name).
29350         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
29351         (rtld_installed_name): Likewise.
29352         (library_path): Likewise.
29353         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
29354         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
29355         $(run-program-prefix) to tst-tables.sh.
29356         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
29357         it to run tst-table-from and tst-table-to.
29358         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
29359         Pass it to tst-table.sh.
29360         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
29361         $(run-program-prefix) to tst-gettext.sh.
29362         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
29363         tst-translit.sh.
29364         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
29365         tst-gettext2.sh.
29366         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
29367         to run tst-gettext.
29368         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
29369         to run tst-gettext2.
29370         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
29371         to run tst-translit.
29372         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
29373         $(run-program-prefix) to tst-mtrace.sh.
29374         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
29375         to run tst-mtrace.
29376         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
29377         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
29378         $(rtld-installed-name).
29379         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
29380         (rtld_installed_name): Likewise.
29381         (run_program_prefix): New variable.  Use it to run wordexp-test.
29383         * Makeconfig (ARCH): Remove all definitions.
29384         (machine): Likewise.
29385         [ARCH]: Remove conditional code.
29386         [!objdir]: Give error.
29387         [!objdir] (objpfx): Remove.
29388         [!objdir] (common-objpfx): Likewise.
29389         [!objdir] (common-objdir): Likewise.
29390         * configure.in (config_makefile): Remove.  Hardcode Makefile in
29391         AC_CONFIG_FILES call.
29392         * configure: Regenerated.
29394         [BZ #13888]
29395         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29396         or TMPDIR.
29397         (testout): Likewise.
29399         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29400         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29401         $(rtld-installed-name).
29402         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29403         (rtld_installed_name): Likwise.
29404         (runit): Remove function.
29405         (run_getconf): New variable,  Use it for running getconf binary.
29407 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
29409         [BZ #14716]
29410         * string/test-memmem.c (check_result): New function.
29411         (do_one_test): Use it.
29412         (check1): New function.
29413         (test_main): Use it.
29415 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
29417         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29419 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
29421         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29422         (_G_LSEEK64): Likewise.
29423         (_G_MMAP64): Likewise.
29424         (_G_FSTAT64): Likewise.
29425         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29426         (_G_LSEEK64): Likewise.
29427         (_G_MMAP64): Likewise.
29428         (_G_FSTAT64): Likewise.
29429         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29430         unconditional.  Call __mmap64 directly.
29431         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29432         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
29433         __lseek64 directly.
29434         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29435         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
29436         __mmap64 directly.
29437         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29438         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
29439         __lseek64 directly.
29440         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29441         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
29442         __lseek64 directly.
29443         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29444         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
29445         __lseek64 directly.
29446         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29447         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
29448         __fxstat64 directly.
29449         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29450         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29451         unconditional.
29452         (freopen64) [!_G_OPEN64]: Remove conditional code.
29453         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29454         unconditional.
29455         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29456         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29457         unconditional.
29458         (ftello64) [!_G_LSEEK64]: Remove conditional code.
29459         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29460         unconditional.
29461         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29462         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29463         unconditional.
29464         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29465         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29466         unconditional.
29467         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29468         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29469         unconditional.
29470         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29471         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29472         unconditional.
29473         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29475 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29477         [BZ #12140]
29478         * manual/memory.texi (Malloc Tunable Parameters): Add note
29479         about free list pointers overwriting some perturb bytes.
29480         Wording suggested by Roland McGrath.
29482 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
29484         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29485         (lgamma_test): Likewise.
29486         (tgamma_test): Likewise.
29488 2012-10-16  Florian Weimer  <fweimer@redhat.com>
29490         [BZ #14700]
29491         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29492         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29494 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
29496         * NEWS: Mention BZ #14716.
29497         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29498         when removing AVAILABLE1_USES_J macro.
29500 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
29502         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29503         (__bswap_64): __uint64_t for unsigned 64-bit int.
29505 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
29507         * include/string.h (memmem): Declare libc hidden alias.
29508         * string/memmem.c (memmem): Define libc hidden alias.
29509         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29510         __read, __close instead of open, read, close.
29512 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
29514         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29515         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29516         global and hidden.
29517         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29518         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29519         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29520         Likewise.
29521         (__rawmemchr_sse2): Likewise.
29522         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
29523         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
29524         (__strchr_sse2): Likewise.
29525         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
29526         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
29527         (__strcasecmp_sse2): Likewise.
29528         (__strncasecmp_sse2): Likewise.
29529         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
29530         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
29531         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
29532         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
29533         (__strrchr_sse2): Likewise.
29534         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
29535         ifunc-impl-list.c.
29536         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29537         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29538         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29539         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29540         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29541         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29542         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29543         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29544         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
29545         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
29546         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
29547         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
29548         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
29549         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29550         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29551         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29552         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29553         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29554         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
29555         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
29556         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
29557         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
29558         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
29559         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29560         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
29561         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29562         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29563         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29564         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29565         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29567         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
29568         global and hidden.
29569         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
29570         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
29571         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
29572         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
29573         Likewise.
29574         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
29575         Likewise.
29576         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
29577         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
29578         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
29579         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
29580         ifunc-impl-list.c.
29581         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29582         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29583         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29584         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29585         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29586         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29587         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29588         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29589         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29590         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29591         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29592         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29593         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29594         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29595         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29596         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29597         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29598         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
29599         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29600         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29601         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29602         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29603         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29604         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29605         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29606         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29607         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29608         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29609         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29610         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29611         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29612         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29613         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29614         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
29615         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29616         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29617         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29618         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29619         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29620         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29621         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
29623         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
29624         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
29625         * include/ifunc-impl-list.h: New file.
29626         * misc/ifunc-impl-list.c: Likewise.
29627         * misc/Makefile (routines): Add ifunc-impl-list.
29628         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
29629         * string/test-string.h: Include <ifunc-impl-list.h>.
29630         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
29631         TEST_NAME]: New variables.
29632         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
29633         are defined.
29634         (test_init): Call __libc_ifunc_impl_list to initialize
29635         func_list if TEST_IFUNC and TEST_NAME are defined.
29637         * string/Makefile (strop-tests): Add bcopy and bzero.
29638         * string/test-bcopy.c: New file.
29639         * string/test-bzero.c: Likewise.
29640         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
29641         defined.
29642         * string/test-memset.c: Support bzero test if TEST_BZERO is
29643         defined.
29644         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
29645         __libc_memmove.
29646         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
29647         __libc_memset.
29648         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
29649         of memset.
29651 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
29653         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
29654         * configure: Regenerated.
29656         * Makeconfig (+link-static-before-libc): Don't include
29657         $(link-static-libc).
29659         * libio/libio.h (_IO_pos_t): Remove.
29661 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
29663         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
29664         McGrath.
29666 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
29668         * crypt/crypt-entry.c: Include fips-private.h.
29669         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
29670         * crypt/md5c-test.c (main): Tolerate disabled MD5.
29671         * sysdeps/unix/sysv/linux/fips-private.h: New file.
29672         * sysdeps/generic/fips-private.h: New file, dummy fallback.
29674 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
29676         * crypt/crypt-private.h: Include stdbool.h.
29677         (_ufc_setup_salt_r): Return bool.
29678         * crypt/crypt-entry.c: Include errno.h.
29679         (__crypt_r): Return NULL with EINVAL for bad salt.
29680         * crypt/crypt_util.c (bad_for_salt): New.
29681         (_ufc_setup_salt_r): Check that salt is long enough and within
29682         the specified alphabet.
29683         * crypt/badsalttest.c: New file.
29684         * crypt/Makefile (tests): Add it.
29685         ($(objpfx)badsalttest): New.
29687 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
29689         * NEWS: Add entry for BZ #14602.
29691 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
29693         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
29694         type-generic.
29695         * math/libm-test.inc: Update comment listing what functions and
29696         macros are tested.
29697         (isgreater_test): New function.
29698         (isgreaterequal_test): Likewise.
29699         (isless_test): Likewise.
29700         (islessequal_test): Likewise.
29701         (islessgreater_test): Likewise.
29702         (isunordered_test): Likewise.
29703         (main): Call the new functions.
29705 2012-10-09  Roland McGrath  <roland@hack.frob.com>
29707         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
29708         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
29709         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
29710         * sysdeps/i386/configure: Regenerated.
29711         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
29712         * sysdeps/mach/configure: Regenerated.
29713         * sysdeps/mach/hurd/configure: Regenerated.
29714         * sysdeps/powerpc/configure: Regenerated.
29715         * sysdeps/powerpc/powerpc32/configure: Regenerated.
29716         * sysdeps/powerpc/powerpc64/configure: Regenerated.
29717         * sysdeps/s390/s390-32/configure: Regenerated.
29718         * sysdeps/s390/s390-64/configure: Regenerated.
29719         * sysdeps/sh/configure: Regenerated.
29720         * sysdeps/sparc/configure: Regenerated.
29721         * sysdeps/unix/sysv/linux/configure: Regenerated.
29722         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29723         * sysdeps/x86_64/configure: Regenerated.
29725         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
29726         defined.  Don't check if MAP is NULL.
29728 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
29730         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
29731         (_G_stat64): Likewise.
29732         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29733         (_G_stat64): Likewise.
29734         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
29735         instead of struct _G_stat64.
29736         * libio/fileops.c (mmap_remap_check): Likewise.
29737         (decide_maybe_mmap): Likewise.
29738         (_IO_new_file_seekoff): Likewise.
29739         (_IO_file_stat): Likewise.
29740         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
29741         _G_off64_t.
29742         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
29743         instead of struct _G_stat64.
29744         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29746 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
29748         [BZ #14602]
29749         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29750         Replace with ...
29751         (CHECK_EOL): New macro.
29752         (two_way_short_needle): Check beginning of haystack for EOL.  Use
29753         CHECK_EOL.
29754         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29755         Replace with CHECK_EOL.
29756         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29757         Replace with CHECK_EOL.
29759 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
29761         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
29762         type-generic.
29763         * math/libm-test.inc: Update comment listing what functions and
29764         macros are tested.
29765         (finite_test): New function.
29766         (isinf_test): Likewise.
29767         (isnan_test): Likewise.
29768         (fpclassify_test): Test subnormal input.
29769         (isfinite_test): Likewise.
29770         (isnormal_test): Likewise.
29771         (main): Call the new functions.
29773 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
29775         [BZ #14660]
29776         * Makerules (%.dynsym): Force C locale when running
29777         $(OBJDUMP) --dynamic-syms.
29779 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
29781         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
29782         <stdint.h>.
29784 2012-10-06  David S. Miller  <davem@davemloft.net>
29786         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29787         upper 32-bits of the length value in %o2 since we use branch-on-register
29788         tests which consider the entire 64-bit register.
29790 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
29792         * string/test-strstr.c (check2): Add a test for page boundary.
29794 2012-10-05  David S. Miller  <davem@davemloft.net>
29796         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29797         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29798         file.
29799         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29800         sysdep_routines.
29801         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29802         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29803         and bzero when HWCAP_SPARC_CRYPTO is present.
29805 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
29807         [BZ #14602]
29808         * string/test-strstr.c (check2): New function.
29809         (test_main): Call check2.
29811         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29812         and bug-strchr1.
29813         * string/bug-strcasestr1.c (do_test): Moved to ...
29814         * string/test-strcasestr.c (check1): Here.  New function.
29815         (do_one_test): Break out result checking code into ...
29816         (check_result): This.  New function.
29817         (do_one_test): Call check_result.
29818         (test_main): Call check1.
29819         * string/bug-strchr1.c (do_test): Moved to ...
29820         * string/test-strchr.c (check1): Here.  New function.
29821         (do_one_test): Break out result checking code into ...
29822         (check_result): This.  New function.
29823         (do_one_test): Call check_result.
29824         (test_main): Call check1.
29825         * string/bug-strstr1.c (main): Moved to ...
29826         * string/test-strstr.c (check1): Here.  New function.
29827         (do_one_test): Break out result checking code into ...
29828         (check_result): This.  New function.
29829         (do_one_test): Call check_result.
29830         (test_main): Call check1.
29831         * string/bug-strcasestr1.c: Removed.
29832         * string/bug-strchr1.c: Likewise.
29833         * string/bug-strstr1.c: Likewise.
29835         * elf/Makefile (dl-routines): Add hwcaps.
29836         * elf/dl-support.c (_dl_important_hwcaps): Removed.
29837         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29838         (_dl_important_hwcaps): Moved to ...
29839         * elf/dl-hwcaps.c: Here.  New file.
29840         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29842         [BZ #14557]
29843         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29844         if IS_IN_rtld isn't defined.
29846         * elf/dl-support.c (_dl_sysinfo_map): New.
29847         Include "get-dynamic-info.h" and "setup-vdso.h".
29848         (_dl_non_dynamic_init): Call setup_vdso.
29849         * elf/dynamic-link.h: Don't include <assert.h>.
29850         (elf_get_dynamic_info): Moved to ...
29851         * elf/get-dynamic-info.h: Here.  New file.
29852         * elf/dynamic-link.h: Include "get-dynamic-info.h".
29853         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29854         * elf/setup-vdso.h: Here.  New file.
29855         * elf/rtld.c: Include "setup-vdso.h".
29856         (dl_main): Call setup_vdso.
29858 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
29860         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29861         creal in comment listing functions tested.  List finite, isinf,
29862         isnan, isless, islessequal, isgreater, isgreaterequal,
29863         islessgreater, isunordered, lgamma_r and pow10 as functions and
29864         macros not tested.  Mention which functions not tested are aliases
29865         for other functions.  Fix typo.  Note that signs of NaNs are not
29866         tested.
29868         * scripts/config.guess: Update from config.git.
29869         * scripts/config.sub: Likewise.
29871 2012-10-04  Roland McGrath  <roland@hack.frob.com>
29873         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29874         * misc/madvise.c (madvise): Renamed to __madvise.
29875         Make madvise a weak alias.
29876         * include/sys/mman.h: Declare __madvise.
29877         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29878         * sysdeps/unix/syscalls.list
29879         (madvise): Make __madvise the strong name, and madvise a weak alias.
29880         * sysdeps/unix/sysv/linux/syscalls.list
29881         (madvise, mmap): Remove redundant entries.
29882         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29883         * malloc/malloc.c (mtrim): Likewise.
29884         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29886 2012-10-03  Roland McGrath  <roland@hack.frob.com>
29888         * sysdeps/mach/hurd/dl-cache.c: File removed.
29889         * config.h.in (USE_LDCONFIG): New #undef.
29890         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29891         * configure: Regenerated.
29892         * elf/Makefile (dl-routines): Add dl-cache only under
29893         [$(use-ldconfig) = yes].
29894         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29895         cache on [USE_LDCONFIG].
29896         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
29897         [USE_LDCONFIG].
29898         * elf/rtld.c (dl_main): Likewise.
29900 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
29902         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
29903         _SC_LEVEL4_CACHE_LINESIZE.
29905 2012-10-03  Roland McGrath  <roland@hack.frob.com>
29907         * sysdeps/unix/bsd/confstr.h: File removed.
29909 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
29911         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29912         sys/sdt-config.h.
29914 2012-10-02  Roland McGrath  <roland@hack.frob.com>
29916         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
29917         Make 'mapoff' field ElfW(Off) rather than off_t.
29919 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
29921         * nscd/Makefile: Remove nscd-cflags and all its users.
29922         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
29923         (CFLAGS-nonlib): Add compiler flags for nscd modules.
29925         [BZ #10631]
29926         * malloc.c (malloc_printerr): Clarify error message.
29928 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
29930         [BZ #14648]
29931         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29932         Set bit_FMA_Usable if FMA is supported.
29933         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
29934         macro.
29935         (bit_FMA4_Usable): Updated.
29936         (index_FMA_Usable): New macro.
29937         (CPUID_FMA): Likewise
29938         (HAS_FMA): Defined with bit_FMA_Usable.
29940 2012-10-01  Roland McGrath  <roland@hack.frob.com>
29942         * bits/types.h (__swblk_t): Type removed.
29943         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
29944         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
29945         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29946         (__SWBLK_T_TYPE): Likewise.
29947         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29948         (__SWBLK_T_TYPE): Likewise.
29949         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29950         (__SWBLK_T_TYPE): Likewise.
29951         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29952         (__SWBLK_T_TYPE): Likewise.
29954 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
29955             Honza Horak <hhorak@redhat.com>
29957         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
29958         (xdr_mapname): Use YPMAXMAP as maxsize.
29959         (xdr_peername): Use YPMAXPEER as maxsize.
29960         (xdr_keydat): Use YPAXRECORD as maxsize.
29961         (xdr_valdat): Use YPMAXRECORD as maxsize.
29963 2012-10-01  Roland McGrath  <roland@hack.frob.com>
29965         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
29967         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
29968         * csu/init-first.c: ... here.
29969         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
29970         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29971         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29972         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29973         * sysdeps/i386/init-first.c: File removed.
29974         * sysdeps/sh/init-first.c: File removed.
29976 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
29978         [BZ #14645]
29979         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
29980         if x * y might underflow to zero and z is zero.
29981         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29982         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29983         * math/libm-test.inc (min_subnorm_value): New variable.
29984         (fma_test): Add more tests.
29985         (fma_test_towardzero): Likewise.
29986         (fma_test_downward): Likewise
29987         (fma_test_upward): Likewise.
29988         (initialize): Set min_subnorm_value.
29990 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
29992         [BZ #14638]
29993         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
29994         0 + 0.
29995         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
29996         mode for addition resulting in exact zero.
29997         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
29998         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
29999         exact 0 + 0.
30000         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30001         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30002         * math/libm-test.inc (fma_test): Add more tests.
30003         (fma_test_towardzero): New function.
30004         (fma_test_downward): Likewise.
30005         (fma_test_upward): Likewise.
30006         (main): Call the new functions.
30008 2012-09-28  David S. Miller  <davem@davemloft.net>
30010         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
30012 2012-09-28  Roland McGrath  <roland@hack.frob.com>
30014         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
30015         instead of SIGALRM.
30017         * sysdeps/gnu/_G_config.h: Moved to ...
30018         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30019         * sysdeps/mach/hurd/_G_config.h: Moved to ...
30020         * sysdeps/generic/_G_config.h: ... here.
30022         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
30024         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
30026         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30027         Conditionalize target on [libnss_test1.so-version].
30029         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
30031         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
30032         (elfobjdir): Move out of conditionals.
30034         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
30035         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
30036         (__nss_lookup_function): Conditionalize label remove_from_tree on
30037         [!DO_STATIC_NSS || SHARED], matching its only use.
30039 2012-09-28  David S. Miller  <davem@davemloft.net>
30041         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
30042         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
30043         file.
30044         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30045         sysdep_routines.
30046         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30047         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30048         when HWCAP_SPARC_CRYPTO is present.
30050 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30052         * io/tst-mknodat.c: Create a FIFO instead of a socket.
30054 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
30056         [BZ #6530]
30057         * stdio-common/vfprintf.c (process_string_arg): Revert
30058         2000-07-22 change.
30060 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
30062         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30063         for testcase.
30064         * stdio-common/tst-sprintf.c: Include <locale.h>
30065         (main): Test sprintf's handling of incomplete multibyte
30066         characters.
30068 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
30070         * elf/dl-runtime.c (VERSYMIDX): Removed.
30071         * elf/dl-version.c (VERSYMIDX): Likewise.
30072         * elf/do-rel.h (VERSYMIDX): Likewise.
30073         (VALIDX): Likewise.
30074         * elf/dynamic-link.h (VERSYMIDX): Likewise.
30075         * elf/rtld.c (VALIDX): Likewise.
30076         (ADDRIDX): Likewise.
30077         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30078         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30079         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
30080         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30081         (VALIDX): Likewise.
30082         (ADDRIDX): Likewise.
30084 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30086         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30088 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
30090         [BZ #11438]
30091         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30092         to global scope.
30093         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30094         addresses are in the same scope as 192.0.2/24.
30095         * posix/gai.conf: Document new scope table defaults.
30097 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30099         [BZ #5298]
30100         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30101         for ftell.  Compute offsets from write pointers instead.
30102         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30104 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30106         [BZ #14543]
30107         * libio/Makefile (tests): New test case tst-fseek.
30108         * libio/tst-fseek.c: New test case to verify that fseek/ftell
30109         combination works in wide mode.
30110         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30111         state when the external buffer state changes.
30113 2012-09-27  David S. Miller  <davem@davemloft.net>
30115         [BZ #14376]
30116         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30117         pass reloc->r_addend in as the 'high' argument to
30118         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30120         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30122 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30124         * rt/tst-aio2.c: Include <pthread.h>.
30125         * rt/tst-aio3.c: Likewise.
30127 2012-09-27  Steve Ellcey  <sellcey@mips.com>
30129         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30131 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
30133         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30134         contents on [SHARED].
30136 2012-09-26  Marek Polacek  <polacek@redhat.com>
30138         [BZ #14530]
30139         [BZ #13741]
30140         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30141         for C++ and GCC <4.3 as well as for non GCC compilers.
30143 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
30145         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30147 2012-09-25  Roland McGrath  <roland@hack.frob.com>
30149         * Makefile.in (all, install): Declare with .PHONY.
30150         Reported by Michael Hope <michael.hope@linaro.org>.
30152 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30154         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30155         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30156         system header.
30157         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30158         Likewise.
30159         (sydep_routines): Add the new and the internal functions.
30160         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30161         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30163         (GLIBC_2.17): Add the new function.
30164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30165         (GLIBC_2.17): Likewise.
30166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30167         (GLIBC_2.17): Likewise.
30168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30169         (GLIBC_2.17): Likewise.
30170         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30172 2012-09-25  Alan Modra  <amodra@gmail.com>
30174         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30175         Add release barrier before setting once_control to say
30176         initialisation is done.  Add hints on lwarx.  Use macro in
30177         place of isync.
30178         (clear_once_control): Add release barrier.
30180 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
30182         [BZ #13629]
30183         * math/s_clog.c (__clog): Handle more values close to |z| = 1
30184         specially.
30185         * math/s_clog10.c (__clog10): Likewise.
30186         * math/s_clog10f.c (__clog10f): Likewise.
30187         * math/s_clog10l.c (__clog10l): Likewise.
30188         * math/s_clogf.c (__clogf): Likewise.
30189         * math/s_clogl.c (__clogl): Likewise.
30190         * math/Makefile (libm-calls): Add x2y2m1.
30191         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
30192         (__x2y2m1): Likewise.
30193         (__x2y2m1l): Likewise.
30194         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
30195         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
30196         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
30197         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30198         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
30199         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30200         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30201         * sysdeps/i386/fpu/libm-test-ulps: Update.
30202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30204         [BZ #14621]
30205         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30206         int as type of variable DEPTH.
30207         (glob): Use size_t instead of int as type of variables NEWCOUNT
30208         and OLD_PATHC.
30210 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30212         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30213         Add s_sincosf-sse2.
30214         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30215         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30216         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30217         macros for using routine as __sincosf_ia32.
30218         Use macro for function declaration and weak_alias.
30219         * sysdeps/i386/fpu/libm-test-ulps: Update.
30221         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30222         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30224         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
30225         subnormal argument.
30226         * math/s_cexpf.c (__cexpf): Likewise.
30227         * math/s_csinf.c (__csinf): Likewise.
30228         * math/s_csinhf.c (__csinhf): Likewise.
30229         * math/s_ctanf.c (__ctanf): Likewise.
30230         * math/s_ctanhf.c (__ctanhf): Likewise.
30231         * math/s_ccosh.c (__ccoshf): Likewise.
30232         * math/s_cexp.c (__cexpl): Likewise.
30233         * math/s_csin.c (__csin): Likewise.
30234         * math/s_csinh.c (__csinh): Likewise.
30235         * math/s_ctan.c (__ctan): Likewise.
30236         * math/s_ctanh.c (ctanh): Likewise.
30237         * math/s_ccoshl.c (__ccoshl): Likewise.
30238         * math/s_cexpl.c (__cexpl): Likewise.
30239         * math/s_csinl.c (__csinl): Likewise.
30240         * math/s_csinhl.c (__csinhl): Likewise.
30241         * math/s_ctanl.c (__ctanl): Likewise.
30242         * math/s_ctanhl.c (__ctanhl): Likewise.
30244 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
30246         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30247         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30248         (_IO_off_t): Define to __off_t, not _G_off_t.
30249         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30250         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30251         (_IO_wint_t): Define to wint_t, not _G_wint_t.
30252         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30253         type of __dummy and __dummy2 fields.
30254         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30255         (_G_ssize_t): Likewise.
30256         (_G_off_t): Likewise.
30257         (_G_pid_t): Likewise.
30258         (_G_uid_t): Likewise.
30259         (_G_wchar_t): Likewise.
30260         (_G_wint_t): Likewise.
30261         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30262         (_G_ssize_t): Likewise.
30263         (_G_off_t): Likewise.
30264         (_G_pid_t): Likewise.
30265         (_G_uid_t): Likewise.
30266         (_G_wchar_t): Likewise.
30267         (_G_wint_t): Likewise.
30268         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30269         (_G_ssize_t): Likewise.
30270         (_G_off_t): Likewise.
30271         (_G_pid_t): Likewise.
30272         (_G_uid_t): Likewise.
30273         (_G_wchar_t): Likewise.
30274         (_G_wint_t): Likewise.
30276 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30278         * malloc/arena.c: Include malloc-sysdep.h.
30279         (shrink_heap): Use check_may_shrink_heap to decide if madvise
30280         is sufficient to shrink the heap or an unmap is needed.
30281         * sysdeps/generic/malloc-sysdep.h: New file.  Define
30282         new function check_may_shrink_heap.
30283         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
30284         new function check_may_shrink_heap.
30286 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30288         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30289         comments.
30291 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
30293         * catgets/test-gencat.sh: Add "set -e".
30294         * elf/tst-pathopt.sh: Likewise.
30295         * grp/tst_fgetgrent.sh: Likewise.
30296         * iconvdata/run-iconv-test.sh: Likewise.
30297         * intl/tst-gettext.sh: Likewise.
30298         * intl/tst-gettext2.sh: Likewise.
30299         * intl/tst-gettext4.sh: Likewise.
30300         * intl/tst-gettext6.sh: Likewise.
30301         * intl/tst-translit.sh: Likewise.
30302         * io/ftwtest-sh: Likewise.
30303         * libio/test-freopen.sh: Likewise.
30304         * malloc/tst-mtrace.sh: Likewise.
30305         * posix/globtest.sh: Likewise.
30306         * posix/tst-getconf.sh: Likewise.
30307         * posix/wordexp-tst.sh: Likewise.
30308         * stdio-common/tst-printf.sh: Likewise.
30309         * stdio-common/tst-unbputc.sh: Likewise.
30310         * stdlib/tst-fmtmsg.sh: Likewise.
30311         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30312         * catgets/Makefile: Do not specify -e option when running
30313         testsuite shell scripts.
30314         * elf/Makefile: Likewise.
30315         * grp/Makefile: Likewise.
30316         * iconvdata/Makefile: Likewise.
30317         * intl/Makefile: Likewise.
30318         * io/Makefile: Likewise.
30319         * libio/Makefile: Likewise.
30320         * malloc/Makefile: Likewise.
30321         * posix/Makefile: Likewise.
30322         * stdio-common/Makefile: Likewise.
30323         * stdlib/Makefile: Likewise.
30324         * sysdeps/x86_64/Makefile: Likewise.
30326         * io/ftwtest-sh: Add copyright header.
30327         * posix/globtest.sh: Likewise.
30328         * posix/tst-getconf.sh: Likewise.
30329         * posix/wordexp-tst.sh: Likewise.
30330         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30332 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
30334         [BZ #13679]
30335         * Makeconfig (+link): Defined as $(+link-static) if
30336         $(build-shared) isn't yes.
30337         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
30338         isn't yes.
30339         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
30341         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
30343         [BZ #14562]
30344         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
30345         new chunk size with MALLOC_ALIGN_MASK.
30347 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
30349         [BZ #5044]
30350         * stdio-common/printf_fphex.c: Include <stdbool.h> and
30351         <rounding-mode.h>.
30352         (__printf_fphex): Determine rounding using get_rounding_mode and
30353         round_away.
30354         * stdio-common/tst-printf-round.c (struct hex_test): New
30355         structure.
30356         (hex_tests): New variable.
30357         (test_hex_in_one_mode): New function.
30358         (do_test): Also run tests for hex float output.
30360 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
30362         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30363         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30364         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
30365         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30366         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30367         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
30368         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30369         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30371 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
30373         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
30374         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
30375         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
30376         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
30378 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
30380         [BZ #14579]
30381         * elf/rtld.c (dl_main): Limit the check for self loading to normal
30382         mode only.
30383         * elf/tst-rtld-load-self.sh: New test.
30384         * elf/Makefile: Run it.
30386 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
30388         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
30389         (tst-writev-ENV): Remove.
30390         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30392 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
30394         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30396 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
30398         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30399         unconditional.
30400         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30401         Likewise.
30402         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30403         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30404         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30405         Likewise.
30407 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
30409         [BZ #14587]
30410         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30411         * config.make.in (have-cpp-asm-debuginfo): Removed.
30412         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30413         * configure: Regenerated.
30415 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
30417         [BZ #5044]
30418         * stdio-common/printf_fp.c: Include <stdbool.h> and
30419         <rounding-mode.h>.
30420         (___printf_fp): Determine rounding using get_rounding_mode and
30421         round_away.
30422         * stdio-common/tst-printf-round.c: New file.
30423         * stdio-common/Makefile (tests): Add tst-printf-round.
30424         (link-libm): New variable.
30425         ($(objpfx)tst-printf-round): Depend in $(link-libm).
30427 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
30429         [BZ #14576]
30430         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30431         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30432         Likewise.
30433         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30434         Likewise.
30436 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
30438         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30439         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30440         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30441         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30443 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
30445         [BZ #14518]
30446         * include/rounding-mode.h: New file.
30447         * sysdeps/generic/get-rounding-mode.h: Likewise.
30448         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30449         * stdlib/strtod_l.c: Include <rounding-mode.h>.
30450         (MAX_VALUE): New macro.
30451         (MIN_VALUE): Likewise.
30452         (overflow_value): New function.
30453         (underflow_value): Likewise.
30454         (round_and_return): Use overflow_value and underflow_value to
30455         determine return values in overflow and underflow cases.  Use
30456         round_away to determine rounding depending on rounding mode.
30457         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30458         determine return values in overflow and underflow cases.
30459         * stdlib/tst-strtod-round.c: Include <fenv.h>.
30460         (struct test_results): New structure.
30461         (struct test): Use struct test_results to store expected results
30462         for all rounding modes.
30463         (TEST): Include expected results for all rounding modes.
30464         (test_in_one_mode): New function.
30465         (do_test): Use test_in_one_mode to compute and check results.
30466         Check results for all rounding modes.
30467         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30468         $(link-libm).
30470 2012-12-09  Allan McRae  <allan@archlinux.org>
30472         * sysdeps/i386/fpu/libm-test-ulps: Update
30474 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
30476         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30477         (_G_int32_t): Likewise.
30478         (_G_uint16_t): Likewise.
30479         (_G_uint32_t): Likewise.
30480         (_G_HAVE_BOOL): Likewise.
30481         (_G_HAVE_ATEXIT): Likewise.
30482         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30483         (_G_HAVE_IO_FILE_OPEN): Likewise.
30484         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30485         (_G_int32_t): Likewise.
30486         (_G_uint16_t): Likewise.
30487         (_G_uint32_t): Likewise.
30488         (_G_HAVE_BOOL): Likewise.
30489         (_G_HAVE_ATEXIT): Likewise.
30490         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30491         (_G_HAVE_IO_FILE_OPEN): Likewise.
30492         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30493         (_G_int32_t): Likewise.
30494         (_G_uint16_t): Likewise.
30495         (_G_uint32_t): Likewise.
30496         (_G_HAVE_BOOL): Likewise.
30497         (_G_HAVE_ATEXIT): Likewise.
30498         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30499         (_G_HAVE_IO_FILE_OPEN): Likewise.
30501 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
30503         * csu/libc-tls.c: Update copyright years.
30505 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
30507         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30508         [!_G_USING_THUNKS]: Remove conditional code.
30509         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30510         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30512         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30513         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30514         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30515         (_G_VTABLE_LABEL_PREFIX): Likewise.
30516         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30517         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30518         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30519         (_G_VTABLE_LABEL_PREFIX): Likewise.
30520         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30521         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30522         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30523         (_G_VTABLE_LABEL_PREFIX): Likewise.
30524         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30526 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
30528         * libio/Makefile: Include ../Makeconfig before tests.
30529         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
30530         only if $(build-shared) is yes.
30532         * iconv/gconv_db.c: Update copyright years.
30534 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30536         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
30537         unwind info if defined PIC. Fix special cases description.
30538         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
30540         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
30541         DP_HI_MASK entry.
30542         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
30544 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
30546         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
30548         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
30549         is NULL.
30551         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
30552         (LDLIBS-tst-chk4): This.
30553         (LDFLAGS-tst-chk5): Renamed to ...
30554         (LDLIBS-tst-chk5): This.
30555         (LDFLAGS-tst-chk6): Renamed to ...
30556         (LDLIBS-tst-chk6): This.
30557         (LDFLAGS-tst-lfschk4): Renamed to ...
30558         (LDLIBS-tst-lfschk4): This.
30559         (LDFLAGS-tst-lfschk5): Renamed to ...
30560         (LDLIBS-tst-lfschk5): This.
30561         (LDFLAGS-tst-lfschk6): Renamed to ...
30562         (LDLIBS-tst-lfschk6): This.
30564         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
30565         on $(common-objpfx)soversions.mk.
30567 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
30569         [BZ #10014]
30570         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
30571         example host name.
30573 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
30575         * malloc/arena.c (arena_get_retry): New function that gets
30576         another arena for the caller to try its request on.
30577         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30578         current arena cannot fulfill the request.
30579         (__libc_memalign): Likewise.
30580         (__libc_memalign): Likewise.
30581         (__libc_pvalloc): Likewise.
30582         (__libc_calloc): Likewise.
30584 2012-09-05  John Tobey  <john.tobey@gmail.com>
30586         [BZ #13542]
30587         * manual/arith.texi (Operations on Complex): Fix description
30588         of carg branch cut.
30590 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
30592         [BZ #10014]
30593         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
30594         host name.
30596         [BZ #10038]
30597         * manual/memory.texi (Memory): Make order of menu items match
30598         order of sections.
30600 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30602         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
30603         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
30604         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
30606 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30608         * csu/libc-tls.c (static_dtv): Renamed to ...
30609         (_dl_static_dtv): This.  Make it global.
30610         (_dl_initial_dtv): Removed.
30611         (__libc_setup_tls): Updated.
30612         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
30613         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
30614         DL_INITIAL_DTV.
30616 2012-09-06  Petr Machata  <pmachata@redhat.com>
30618         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
30619         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
30620         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
30621         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
30623 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30625         [BZ #14545]
30626         * csu/libc-tls.c (_dl_initial_dtv): New variable.
30627         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
30628         freeing dtv[-1].
30630 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30632         [BZ #14544]
30633         * Makeconfig (link-static-before-libc): Replace $(+prector)
30634         with $(+prectorT).
30635         (link-static-after-libc): Replace $(+postctor) with
30636         $(+postctorT).
30637         (link-bounded): Replace $(+prector)/$(+postctor) with
30638         $(+prectorT)/$(+postctorT).
30639         (+prectorT): New macro.
30640         (+postctorT): Likewise.
30642 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
30644         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
30645         (round_str): Handle values above the maximum for IBM long double
30646         as inexact.
30647         * stdlib/tst-strtod-round.c (tests): Regenerated.
30649 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30651         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
30652         assembler flag.
30653         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
30654         zarch_nohighgprs around the zarch optimized routines.
30655         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30656         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30657         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
30658         for zarch.
30660 2012-09-05  David S. Miller  <davem@davemloft.net>
30662         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30664         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
30665         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
30666         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
30667         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30668         entries.
30670 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30672         * malloc/arena.c: Fold copyright years.
30673         * malloc/mcheck.c, malloc/memusage.c: Likewise.
30675 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30677         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
30679 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30681         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
30683 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30685         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
30686         change internal state upon failure.
30688 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30690         * malloc/mcheck.c (mcheck_check_all): Fix typo.
30691         * malloc/memusage.c (mmap): Likewise.
30692         (mmap64, mremap): Likewise.  Adjust name in comment.
30694 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30696         * libio/fileops.c: Fix typos in comments.
30697         * libio/oldfileops.c: Likewise.
30698         * libio/wfileops.c: Likewise.
30700 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30702         [BZ #1349]
30703         * malloc/Makefile (tests): Add tst-malloc-usable test case.
30704         (tst-malloc-usable-ENV): Set environment for test case.
30705         * malloc/hooks.c (malloc_check_get_size): New function to get
30706         requested size.
30707         * malloc/malloc.c (musable): Use malloc_check_get_size.
30708         * malloc/tst-malloc-usable.c: New test case.
30710 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
30712         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
30714 2012-09-05  Allan McRae  <allan@archlinux.org>
30716         [BZ #13966]
30717         * configure.in (CXX_SYSINCLUDES): Use compiler output to
30718         determine header location.
30719         * configure: Regenerated.
30721 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
30723         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
30724         float format.
30725         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
30726         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
30727         format.
30728         (test): Regenerate.
30730 2012-09-04  David S. Miller  <davem@davemloft.net>
30732         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
30733         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
30734         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
30736 2012-09-04  Florian Weimer  <fweimer@redhat.com>
30738         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
30739         failures.
30741         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
30743 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
30745         [BZ #9914]
30746         * libio/iogetdelim.c: Include <limits.h>.
30747         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
30748         + len + 1 would overflow.
30750 2012-09-03  Andreas Jaeger  <aj@suse.de>
30752         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30753         * sysdeps/i386/fpu/libm-test-ulps: Update.
30755 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30757         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30758         Add s_sinf-sse2, s_conf-sse2.
30760         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
30761         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
30762         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
30763         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30765         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
30766         for using routine as __sinf_ia32.
30767         Use macro for function declaration and weak_alias.
30768         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
30769         for using routine as __cosf_ia32.
30770         Use macro for function declaration and weak_alias.
30772         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
30773         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
30775         * sysdeps/x86_64/fpu/s_sinf.S: New file.
30776         * sysdeps/x86_64/fpu/s_cosf.S: New file.
30777         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30779         * math/libm-test.inc (cos_test): Add more test cases.
30780         (sin_test): Likewise.
30781         (sincos_test): Likewise.
30783 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30785         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30786         (IFUNC_RESOLVE): Make pointers to the specialized implementations
30787         hidden.
30788         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30790 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
30792         [BZ #14538]
30793         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30794         first element of the GOT.
30795         (elf_machine_load_address): Return the difference between
30796         the runtime address of _DYNAMIC and elf_machine_dynamic ().
30798 2012-09-01  Allan McRae  <allan@archlinux.org>
30800         [BZ #13412]
30801         * configure.in (AWK): Require gawk version 3.0 or later.
30802         * configure: Regenerated.
30804 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
30806         * sysdeps/unix/sysv/linux/kernel-features.h
30807         (__ASSUME_POSIX_CPU_TIMERS): Remove.
30808         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30809         [__NR_clock_getres]: Make code unconditional.
30810         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30811         (clock_getcpuclockid): Remove code left unreachable by removal of
30812         conditionals.
30813         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30814         code unconditional.
30815         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30816         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30817         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30818         Make code unconditional.
30819         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30820         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30821         * sysdeps/unix/sysv/linux/clock_settime.c
30822         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30823         conditional code.
30824         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30825         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30827 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
30829         [BZ #14476]
30830         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30831         scripts/test-installation.pl.
30833         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30834         and $ld_so_version if it is set.
30836 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30838         [BZ #14516]
30839         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30840         failure if reading from procfs failed.
30841         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30843 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
30845         * sysdeps/unix/sysv/linux/kernel-features.h
30846         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30847         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30848         Remove conditional code.
30849         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30850         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30851         Remove conditional code.
30852         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30853         * sysdeps/unix/sysv/linux/i386/fxstat.c
30854         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30855         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30856         * sysdeps/unix/sysv/linux/i386/fxstatat.c
30857         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30858         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30859         * sysdeps/unix/sysv/linux/i386/lxstat.c
30860         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30861         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30862         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30863         Remove conditional code.
30864         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30865         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30866         Remove conditional code.
30867         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30868         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30869         <kernel-features.h>.
30870         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30871         Remove.
30872         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30873         Remove conditional code.
30874         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30875         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30876         Remove conditional.
30878 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
30880         [BZ #5400]
30881         * NEWS: Add fixed bug number.
30883 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
30885         [BZ #14519]
30886         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30887         underflowing exponent in case of negative sign.
30888         * stdlib/tst-strtod-round-data: Add more tests.
30889         * stdlib/tst-strtod-round.c (tests): Regenerated.
30891         [BZ #3479]
30892         * stdlib/strtod_l.c (NDIG): Remove.
30893         (HEXNDIG): Likewise.
30894         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30895         smallest representable value.
30896         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
30897         lie within an exact representation of 1/2 ulp of the result.
30898         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
30899         unconditionally.
30900         (TENS_P9_IDX): Define unconditionally.
30901         (TENS_P9_SIZE): Likewise.
30902         (TENS_P10_IDX): Likewise.
30903         (TENS_P10_SIZE): Likewise.
30904         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
30905         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
30906         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30907         entries for 10^2^13 and 10^2^14.
30908         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
30909         (TENS_P13_IDX): Define.
30910         (TENS_P13_SIZE): Likewise.
30911         (TENS_P14_IDX): Likewise.
30912         (TENS_P14_SIZE): Likewise.
30913         (_fpioconst_pow10): Change array size to
30914         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
30915         unconditional.
30916         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
30917         1024]: Add entries for 10^2^13 and 10^2^14.
30918         [LAST_POW10 > _LAST_POW10]: Remove #error.
30919         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
30920         (_fpioconst_pow10): Change array size to
30921         FPIOCONST_POW10_ARRAY_SIZE.
30922         * stdlib/gen-fpioconst.c: New file.
30923         * stdlib/gen-tst-strtod-round.c: Likewise.
30924         * stdlib/tst-strtod-round-data: Likewise.
30925         * stdlib/tst-strtod-round.c: Likewise.
30926         * stdlib/Makefile (tests): Add tst-strtod-round.
30928         [BZ #14459]
30929         * stdlib/strtod_l.c: Include <stdint.h>.
30930         (NDEBUG): Do not define.
30931         (round_and_return): Change EXPONENT parameter to type intmax_t.
30932         Rearrange calculations to avoid internal overflow possibilities.
30933         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
30934         Rearrange calculations to avoid internal overflow possibilities.
30935         Assert that number fits inside MPNSIZE limbs.
30936         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
30937         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
30938         calculations and add assertions to avoid internal overflow
30939         possibilities.  Add casts to avoid signed/unsigned operations.
30940         * stdlib/tst-strtod-overflow.c: New file.
30941         * stdlib/Makefile (tests): Add tst-strtod-overflow.
30943 2012-08-25  Marek Polacek  <polacek@redhat.com>
30945         * time/time.h: Fix some typos in comments.
30947 2012-08-23  Roland McGrath  <roland@hack.frob.com>
30949         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
30950         * posix/tst-rfc3484-2.c: Likewise.
30951         * posix/tst-rfc3484-3.c: Likewise.
30953 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
30955         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
30956         (EF_ARM_ABI_FLOAT_HARD): Likewise.
30958 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
30960         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
30961         #include of fxstatat64.c.
30963 2012-08-22  Roland McGrath  <roland@hack.frob.com>
30965         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
30966         * shadow/getspent_r.c: Likewise.
30967         * shadow/getspnam.c: Likewise.
30968         * shadow/getspnam_r.c: Likewise.
30969         * gshadow/getsgent.c: Likewise.
30970         * gshadow/getsgent_r.c: Likewise.
30971         * gshadow/getsgnam.c: Likewise.
30972         * gshadow/getsgnam_r.c: Likewise.
30973         * inet/getnetbyad.c: Likewise.
30974         * inet/getnetbyad_r.c: Likewise.
30975         * inet/getnetbynm.c: Likewise.
30976         * inet/getnetbynm_r.c: Likewise.
30977         * inet/getnetent.c: Likewise.
30978         * inet/getnetent_r.c: Likewise.
30979         * inet/getproto.c: Likewise.
30980         * inet/getproto_r.c: Likewise.
30981         * inet/getprtent.c: Likewise.
30982         * inet/getprtent_r.c: Likewise.
30983         * inet/getprtname.c: Likewise.
30984         * inet/getprtname_r.c: Likewise.
30985         * inet/getrpcbyname.c: Likewise.
30986         * inet/getrpcbyname_r.c: Likewise.
30987         * inet/getrpcbynumber.c: Likewise.
30988         * inet/getrpcbynumber_r.c: Likewise.
30989         * inet/getrpcent.c: Likewise.
30990         * inet/getrpcent_r.c: Likewise.
30991         * inet/getaliasent.c: Likewise.
30992         * inet/getaliasent_r.c: Likewise.
30993         * inet/getaliasname.c: Likewise.
30994         * inet/getaliasname_r.c: Likewise.
30995         * nscd/getgrgid_r.c: Likewise.
30996         * nscd/getgrnam_r.c: Likewise.
30997         * nscd/gethstbyad_r.c: Likewise.
30998         * nscd/gethstbynm3_r.c: Likewise.
30999         * nscd/getpwnam_r.c: Likewise.
31000         * nscd/getpwuid_r.c: Likewise.
31001         * nscd/getsrvbynm_r.c: Likewise.
31002         * nscd/getsrvbypt_r.c: Likewise.
31003         * nscd/gai.c: Likewise.
31005         * configure.in (build_nscd): New substituted variable, set
31006         by --disable-build-nscd and defaults to $use_nscd.
31007         * configure: Regenerated.
31008         * config.make.in (build-nscd): New substituted variable.
31009         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
31010         Change conditional to require [$(build-nscd) = yes] as well.
31011         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
31013         [BZ# 13696]
31014         * configure.in (use_nscd): New substituted variable, set by
31015         --disable-nscd.  If enabled, define USE_NSCD.
31016         * configure: Regenerated.
31017         * config.h.in: Add USE_NSCD.
31018         * config.make.in (use-nscd): New substituted variable.
31019         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
31020         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
31021         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
31022         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
31023         (CFLAGS-getgrnam_r.c): Likewise.
31024         (CFLAGS-initgroups.c): Likewise.
31025         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
31026         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31027         Variables removed.
31028         * inet/getnetgrent_r.c
31029         (nscd_setnetgrent): New function, broken out of ...
31030         (setnetgrent): ... here.  Call it.
31031         (innetgr): Conditionalize nscd bits on [USE_NSCD].
31032         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
31033         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
31034         * nscd/Makefile (routines, aux): Move definitions after include of
31035         Makeconfig.  Conditionalize on [$(use-nscd) != no].
31036         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
31037         Conditionalize on [USE_NSCD].
31038         (is_nscd, nscd_init_cb): Likewise.
31039         (nss_load_library): Conditionalize init callback on [USE_NSCD].
31040         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
31041         * nss/nss_db/db-init.c: Likewise.
31042         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
31043         [USE_NSCD].
31044         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31045         (make_request): Use it.
31046         (cache_valid_p): New function.
31047         (__check_pf): Use it.
31048         * NEWS: Add item for --disable-nscd.
31050 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
31052         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31053         to support sed >= 4.2.1-20-ga9bf076.
31054         * configure: Regenerated.
31056 2012-08-22  Roland McGrath  <roland@hack.frob.com>
31058         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31059         Conditionalize whole body on [IREL].
31061 2012-08-22  Jeff Law <law@redhat.com>
31063         [BZ #14505]
31064         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31065         if the family is PF_UNSPEC.
31067 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
31069         * Makerules (lib-version): Rename from V.
31070         (install-lib-nosubdir): Change V to lib-version.
31072 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
31074         [BZ #14252]
31075         * powerpc32/power6/wcschr.c: New file.
31076         * powerpc32/power6/wcscpy.c: New file.
31077         * powerpc32/power6/wcsrchr.c: New file.
31078         * powerpc64/power6/wcschr.c: New file.
31079         * powerpc64/power6/wcscpy.c: New file.
31080         * powerpc64/power6/wcsrchr.c: New file.
31082 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
31084         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31085         (two_way_short_needle): Use it.
31086         * string/strstr.c (AVAILABLE1_USES_J): Define.
31087         * string/strcasestr.c: Likewise.
31089         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31090         array references.
31091         * string/strcasestr.c (TOLOWER): Make side-effect safe.
31093         [BZ #11607]
31094         * NEWS: Add an entry.
31095         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31096         define their defaults.
31097         (two_way_short_needle): Detect end-of-string on-the-fly.
31098         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31099         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31100         * string/bug-strcasestr1.c: New test.
31101         * string/Makefile: Run it.
31103 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
31105         [BZ #11607]
31106         * string/str-two-way.h (two_way_short_needle): Optimize matching of
31107         the first character.
31109 2012-08-21  Roland McGrath  <roland@hack.frob.com>
31111         * csu/elf-init.c (__libc_csu_irel): Function removed.
31112         * csu/libc-start.c (apply_irel): New function.
31113         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31115 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
31117         * sysdeps/unix/sysv/linux/kernel-features.h
31118         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31119         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31120         <kernel-features.h>.
31121         [__NR_fadvise64_64]: Make code unconditional.
31122         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31123         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31124         !__NR_fadvise64_64)]: Likewise.
31125         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31126         !__NR_fadvise64_64))]: Likewise.
31127         [__NR_fadvise64]: Make code unconditional.
31128         [!__NR_fadvise64]: Remove conditional code.
31129         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31130         <kernel-features.h>.
31131         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31132         unconditional.
31133         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31134         conditional code.
31135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31136         not include <kernel-features.h>.
31137         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31138         unconditional.
31139         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31140         conditional code.
31141         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31142         include <kernel-features.h>.
31143         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31144         unconditional.
31145         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31146         conditional code.
31148 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
31150         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31151         slight instruction rearrangements per scrollpipe analysis.
31152         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31154 2012-08-20  Roland McGrath  <roland@hack.frob.com>
31156         * manual/syslog.texi (syslog; vsyslog, closelog):
31157         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31158         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31160         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31161         DSOCAPS to match condition on defining it.
31163 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
31165         * sysdeps/unix/sysv/linux/kernel-features.h
31166         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31168         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31169         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31171         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31172         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31174         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31175         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31177         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31178         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31180         * sysdeps/unix/sysv/linux/kernel-features.h
31181         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31182         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31183         unconditional.
31184         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31185         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31186         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31187         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31188         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
31189         Make code unconditional.
31190         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31191         (__mmap64) [!__NR_mmap2]: Likewise.
31192         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
31193         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31194         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31195         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
31196         [__NR_mmap2]: Make code unconditional.
31197         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31198         (__mmap64) [!__NR_mmap2]: Likewise.
31200 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31202         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31204 2012-08-18  Andreas Jaeger  <aj@suse.de>
31206         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31208 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
31210         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31211         * include/unistd.h (__have_sock_cloexec): Likewise.
31212         (__have_pipe2): Likewise.
31213         (__have_dup3): Likewise.
31215 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
31217         [BZ #9685]
31218         * include/unistd.h (__have_pipe2): Change define into an extern int.
31219         (__have_dup3): Likewise.
31220         * socket/have_sock_cloexec.c: Include fcntl.h.
31221         (__have_pipe2): New variable.
31222         (__have_dup3): Likewise.
31224 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
31226         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31228 2012-08-17  Marek Polacek  <polacek@redhat.com>
31230         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31231         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31233 2012-08-17  Roland McGrath  <roland@hack.frob.com>
31235         * configure.in: Add AC_SUBST for sysheaders.
31236         * configure: Regenerated.
31237         * config.make.in (sysheaders): New substituted variable.
31239         * sysdeps/unix/mkfifo.c: Moved ...
31240         * sysdeps/posix/mkfifo.c: ... here.
31241         * sysdeps/unix/mkfifoat.c: Moved ...
31242         * sysdeps/posix/mkfifoat.c: ... here.
31244         * sysdeps/unix/utime.c: Moved ...
31245         * sysdeps/posix/utime.c: ... here.
31247         * sysdeps/unix/time.c: Moved ...
31248         * sysdeps/posix/time.c: ... here.
31249         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31250         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
31252         * sysdeps/unix/nice.c: Moved ...
31253         * sysdeps/posix/nice.c: ... here.
31255         * sysdeps/unix/alarm.c: Moved ...
31256         * sysdeps/posix/alarm.c: ... here.
31258         * intl/Makefile ($(codeset_mo)): Depend on the input file.
31260 2012-08-17  Jeff Law <law@redhat.com>
31262         * intl/Makefile (codeset_mo): New variable.
31263         ($(codeset_mo)): New target.
31264         (tst-codeset.out): Depend on that.  Remove explicit rule.
31265         (tst-gettext3.out, tst-gettext5.out): Likewise.
31266         (LOCPATH-ENV, tst-codeset-ENV): New variables.
31267         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31268         * intl/tst-codeset.sh: Remove.
31269         * intl/tst-gettext3.sh: Likewise.
31270         * intl/tst-gettext5.sh: Likewise.
31272 2012-08-17  Roland McGrath  <roland@hack.frob.com>
31274         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
31275         * sysdeps/unix/syscalls.list: ... here.
31277         * sysdeps/posix/getaddrinfo.c
31278         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31279         (gaiconf_init, gaiconf_reload): Use them.
31280         [!_STATBUF_ST_NSEC]
31281         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31282         Define using time_t rather than struct timespec.
31284         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31285         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31286         Macros removed.
31287         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31288         [!NO_THREADS].
31289         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31290         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31291         Likewise.
31293         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31294         __libc_cleanup_push argument.
31296         * bits/param.h: New file.
31297         * misc/sys/param.h: New file.
31298         * include/sys/param.h: New file.
31299         * misc/Makefile (headers): Add bits/param.h.
31300         * sysdeps/generic/sys/param.h: File removed.
31301         * sysdeps/unix/sysv/linux/bits/param.h: New file.
31302         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31303         * sysdeps/mach/hurd/bits/param.h: New file.
31304         * sysdeps/mach/hurd/sys/param.h: File removed.
31306         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31307         last change.
31309         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
31310         [_IO_MTSAFE_IO].
31311         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
31312         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
31313         New macros.
31315         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
31316         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
31317         rather than -D_IO_MTSAFE_IO conditionally.
31318         * stdio-common/Makefile (CPPFLAGS): Likewise.
31319         * wcsmbs/Makefile (CPPFLAGS): Likewise.
31320         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
31321         Use $(libio-mtsafe).
31322         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
31323         of -D_IO_MTSAFE_IO.
31324         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
31325         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
31326         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
31327         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
31328         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
31329         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
31330         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
31331         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
31332         (CFLAGS-fread_u_chk.c): Likewise.
31333         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
31334         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
31335         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
31336         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
31337         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
31338         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
31339         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
31340         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
31341         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
31343         * libio/Makefile: Test [$(libc-reentrant) = yes]
31344         instead of [$(filter %REENTRANT, $(defines)) nonempty].
31346         * Makeconfig
31347         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
31348         * sysdeps/pthread/configure: File removed.
31349         * sysdeps/pthread/Makeconfig: New file.
31350         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
31351         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
31353 2012-08-16  Gary Benson  <gbenson@redhat.com>
31355         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
31356         unmapping the first object in a namespace.
31358 2012-08-16  Roland McGrath  <roland@hack.frob.com>
31360         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
31361         (__internal_setnetgrent): ... this.  Add internal_function to
31362         definition.  Add libc_hidden_def.
31363         (setnetgrent): Update caller.
31364         (internal_endnetgrent): Renamed to ...
31365         (__internal_endnetgrent): ... this.  Add internal_function to
31366         definition.  Add libc_hidden_def.
31367         (endnetgrent): Update caller.
31368         (internal_getnetgrent_r): Renamed to ...
31369         (__internal_getnetgrent_r): ... this.  Add internal_function to
31370         definition.  Add libc_hidden_def.
31371         (__getnetgrent_r): Update caller.
31372         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
31374 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
31376         * stdlib/longlong.h: Update from GCC.
31378 2012-08-16  Roland McGrath  <roland@hack.frob.com>
31380         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
31381         on _QL, which is set by umul_ppmm but never used.
31382         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
31383         variables, which are set by GMP macros but never used.
31384         * stdio-common/_itowa.c (_itowa): Likewise.
31385         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
31386         * stdlib/mod_1.c (mpn_mod_1): Likewise.
31388 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
31390         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31391         struct La_sh_regs is not constant.
31392         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31393         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31394         and struct La_sparc64_regs are not constant.
31396 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
31398         * sysdeps/unix/sysv/linux/kernel-features.h
31399         (__ASSUME_POSIX_TIMERS): Remove.
31400         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31401         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31402         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31403         Make code unconditional.
31404         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31405         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31406         Make code unconditional.
31407         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31408         * sysdeps/unix/sysv/linux/clock_nanosleep.c
31409         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31410         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31411         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31412         Make code unconditional.
31413         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31414         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31415         (__libc_missing_posix_timers): Remove.
31417 2012-08-15  Roland McGrath  <roland@hack.frob.com>
31419         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31420         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31422         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31424         * elf/dl-sym.c: Include <stdlib.h>.
31426         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31427         constants, which avoids warnings in 32-bit builds.
31429         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31430         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31432         * misc/lseek.c: File moved to ...
31433         * io/lseek.c: ... here.
31435         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31437         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31438         shifting LEN more than 31 bits at once.
31440 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31442         [BZ #14195]
31443         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31444         segmentation fault for a case of two empty input strings.
31445         * string/test-strncasecmp.c (check1): Renamed to...
31446         (bz12205): ...this.
31447         (bz14195): Add new testcase for two empty input strings and N > 0.
31448         (test_main): Call new testcase, adapt for renamed function.
31450 2012-08-15  Andreas Jaeger  <aj@suse.de>
31452         [BZ #14090]
31453         * crypt/md5test2.c: New test, based on test supplied by Serge
31454         Belyshev <belyshev@depni.sinp.msu.ru>.
31455         * crypt/Makefile (xtests): Add md5test-giant..
31456         * crypt/Makefile ($(objpfx)md5test-giant): Add.
31458 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
31460         [BZ #14090]
31461         * crypt/md5.c (md5_process_block): Don't assume the buffer
31462         length is less than 2**32.
31463         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31464         length is less than 2**64.
31466 2012-08-15  Roland McGrath  <roland@hack.frob.com>
31468         * string/str-two-way.h: Include <sys/param.h>.
31469         (MAX): Macro removed.
31471         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31472         Move #define and #undef of memmove to just before and after
31473         including <string.h>.
31475         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31476         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31477         and after including <string.h>.  Move declarations of
31478         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31479         to before #include "string/memmove.c".
31481         * include/dirent.h: Declare __getdirentries.
31483         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31484         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31486 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
31488         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31489         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31490         * sysdeps/i386/configure: Regenerated.
31491         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31492         STABS_CURRENT_FILE, and STABS_FUN.
31493         (END): Remove call to STABS_FUN_END.
31494         (STABS_CURRENT_FILE1): Delete.
31495         (STABS_CURRENT_FILE): Likewise.
31496         (STABS_FUN): Likewise.
31497         (STABS_FUN_END): Likewise.
31498         (STABS_FUN2): Likewise.
31499         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31500         * sysdeps/x86_64/configure: Regenerated.
31502 2012-08-14  Roland McGrath  <roland@hack.frob.com>
31504         * elf/dl-open.c: Include <atomic.h>.
31505         * elf/dl-lookup.c: Likewise.
31507 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
31509         * sysdeps/unix/sysv/linux/kernel-features.h
31510         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31511         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31512         unconditionally.
31513         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31514         unconditionally.
31515         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31516         condition on __ASSUME_CLONE_THREAD_FLAGS.
31518 2012-08-14  Andreas Jaeger  <aj@suse.de>
31520         * sysdeps/i386/fpu/libm-test-ulps: Update.
31522 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
31524         * include/atomic.h (atomic_exchange_and_add): Split into ...
31525         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
31526         New atomic macros.
31528 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
31530         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31532 2012-08-13  Jeff Law <law@redhat.com>
31534         * manual/stdio.texi (snprintf): Clarify handling of the trailing
31535         null byte in the output string.
31537 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
31539         * sysdeps/unix/sysv/linux/kernel-features.h
31540         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
31541         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
31542         (__ASSUME_ARG_MAX_STACK_BASED): Define.
31543         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31544         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
31545         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
31546         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
31548 2012-08-09  Jeff Law <law@redhat.com>
31550         [BZ #13939]
31551         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31552         When avoid_arena is set, don't retry in the that arena.  Pick the
31553         next one, whatever it might be.
31554         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
31555         (arena_lock): Pass in new parameter to arena_get2.
31556         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
31557         arena_get2.
31558         (__libc_malloc): Unify retrying after main arena failure with
31559         __libc_memalign version.
31560         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
31562 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
31564         [BZ #14166]
31565         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
31566         to __redirect_strstr.
31567         (__strstr_sse42): Use typeof __redirect_strstr.
31568         (__strstr_ia32): Likewise.
31569         (__libc_strstr): New prototype.
31570         (strstr): Renamed to ...
31571         (__libc_strstr): This.
31572         (strstr): New strong alias of __libc_strstr.
31573         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31574         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
31575         __redirect_time.
31576         Include <time.h>.
31577         (__libc_time): New prototype.
31578         (time_ifunc): Replace time with __libc_time.
31579         (time): New strong alias and hidden definition of __libc_time.
31580         (__GI_time): Remove strong alias.
31581         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
31582         Include <stddef.h>.
31583         (memmove): Redefined to __redirect_memmove.
31584         (__memmove_sse2): Use typeof __redirect_memmove.
31585         (__memmove_ssse3): Likewise.
31586         (__memmove_ssse3_back): Likewise.
31587         (__libc_memmove): New prototype.
31588         (memmove): Renamed to ...
31589         (__libc_memmove): This.
31590         (memmove): New strong alias of __libc_memmove.
31592 2012-08-08  Mark Salter  <msalter@redhat.com>
31594         * elf/elf.h
31595         (R_MN10300_TLS_GD): Define.
31596         (R_MN10300_TLS_LD): Likewise.
31597         (R_MN10300_TLS_LDO): Likewise.
31598         (R_MN10300_TLS_GOTIE): Likewise.
31599         (R_MN10300_TLS_IE): Likewise.
31600         (R_MN10300_TLS_LE): Likewise.
31601         (R_MN10300_TLS_DTPMOD): Likewise.
31602         (R_MN10300_TLS_DTPOFF): Likewise.
31603         (R_MN10300_TLS_TPOFF): Likewise.
31604         (R_MN10300_SYM_DIFF): Likewise.
31605         (R_MN10300_ALIGN): Likewise.
31606         (R_MN10300_NUM): Update.
31608 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
31610         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
31611         Remove.
31613 2012-08-08  Roland McGrath  <roland@hack.frob.com>
31615         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
31617         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
31618         sysdeps/unix -> sysdeps/posix move.
31619         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31621 2012-08-07      Allan McRae     <allan@archlinux.org>
31623         [BZ #14303]
31624         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
31625         (SUNOS_CPP): Likewise.
31626         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
31627         not found.
31628         (open_input): Call CPP using execvp.
31630 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
31632         * sysdeps/unix/sysv/linux/kernel-features.h
31633         (__ASSUME_PROT_GROWSUPDOWN): Remove.
31634         (__ASSUME_NO_CLONE_DETACHED): Likewise.
31635         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31636         (__ASSUME_WAITID_SYSCALL): Likewise.
31637         * sysdeps/unix/sysv/linux/dl-execstack.c
31638         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
31639         code unconditional.
31640         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
31641         conditional code.
31642         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
31643         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
31644         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
31645         code.
31646         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
31647         unconditional.
31648         [__ASSUME_WAITID_SYSCALL]: Likewise.
31649         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
31651 2012-08-07  Roland McGrath  <roland@hack.frob.com>
31653         * sysdeps/unix/closedir.c: Renamed to ...
31654         * sysdeps/posix/closedir.c: ... here.
31655         * sysdeps/unix/dirfd.c: Renamed to ...
31656         * sysdeps/posix/dirfd.c: ... here.
31657         * sysdeps/unix/dirstream.h: Renamed to ...
31658         * sysdeps/posix/dirstream.h: ... here.
31659         * sysdeps/unix/fdopendir.c: Renamed to ...
31660         * sysdeps/posix/fdopendir.c: ... here.
31661         * sysdeps/unix/opendir.c: Renamed to ...
31662         * sysdeps/posix/opendir.c: ... here.
31663         * sysdeps/unix/readdir.c: Renamed to ...
31664         * sysdeps/posix/readdir.c: ... here.
31665         * sysdeps/unix/readdir_r.c: Renamed to ...
31666         * sysdeps/posix/readdir_r.c: ... here.
31667         * sysdeps/unix/rewinddir.c: Renamed to ...
31668         * sysdeps/posix/rewinddir.c: ... here.
31669         * sysdeps/unix/seekdir.c: Renamed to ...
31670         * sysdeps/posix/seekdir.c: ... here.
31671         * sysdeps/unix/telldir.c: Renamed to ...
31672         * sysdeps/posix/telldir.c: ... here.
31673         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
31674         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
31675         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31676         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
31678         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
31679         * bits/fcntl.h: ... here.
31681         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
31682         not 0.
31683         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
31684         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
31685         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
31686         (struct flock): Move l_start, l_len to the beginning.
31687         Use __pid_t for l_pid.
31688         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
31689         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
31690         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
31691         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
31692         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
31693         [__USE_LARGEFILE64] (struct flock64): New type.
31694         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
31696         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
31697         * bits/dirent.h: ... here.
31699         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
31700         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
31702 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
31704         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31705         Change from 2.6.0 to 2.6.16.
31706         * sysdeps/unix/sysv/linux/configure: Regenerated.
31707         * sysdeps/unix/sysv/linux/kernel-features.h
31708         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
31709         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
31710         version.
31711         (__ASSUME_UTIMES): Likewise.
31712         (__ASSUME_CLONE_STOPPED): Remove.
31713         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
31714         architectures, not kernel version.
31715         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
31716         (__ASSUME_NO_CLONE_DETACHED): Likewise.
31717         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31718         (__ASSUME_WAITID_SYSCALL): Likewise.
31719         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
31720         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
31721         * README: State 2.6.16 as minimum Linux kernel version.  Do not
31722         refer to older versions.
31724 2012-08-06  Roland McGrath  <roland@hack.frob.com>
31726         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
31727         Define alphasort64 as an alias.
31728         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
31729         Define versionsort64 as an alias.
31730         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
31731         Define scandir64 as an alias.
31732         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
31733         Define scandirat64 as an alias.
31734         * dirent/alphasort64.c (alphasort64):
31735         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
31736         * dirent/versionsort64.c: Likewise.
31737         * dirent/scandir64.c: Likewise.
31738         * dirent/scandirat64.c: Likewise.
31739         * sysdeps/wordsize-64/alphasort.c: File removed.
31740         * sysdeps/wordsize-64/alphasort64.c: File removed.
31741         * sysdeps/wordsize-64/scandir.c: File removed.
31742         * sysdeps/wordsize-64/scandir64.c: File removed.
31743         * sysdeps/wordsize-64/scandirat.c: File removed.
31744         * sysdeps/wordsize-64/scandirat64.c: File removed.
31745         * sysdeps/wordsize-64/versionsort.c: File removed.
31746         * sysdeps/wordsize-64/versionsort64.c: File removed.
31747         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
31748         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
31749         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
31750         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
31751         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
31752         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
31753         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
31754         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
31756         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
31757         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31758         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
31759         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31760         [defined __arch64__ || defined __sparcv9]
31761         (__INO_T_MATCHES_INO64_T): New macro.
31762         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31763         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
31764         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
31765         * sysdeps/unix/sysv/linux/bits/dirent.h
31766         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
31767         (_DIRENT_MATCHES_DIRENT64): New macro.
31769         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
31770         Define lockf64 as an alias.
31771         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
31772         Define fseeko64 as an alias.
31773         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
31774         Define ftello64 as an alias.
31775         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
31776         Define _IO_fgetpos64 and fgetpos64 as aliases.
31777         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
31778         Define _IO_fsetpos64 and fsetpos64 as aliases.
31779         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
31780         Conditionalize body on this.
31781         * libio/fseeko64.c: Likewise.
31782         * libio/ftello64.c: Likewise.
31783         * libio/iofgetpos64.c: Likewise.
31784         * libio/iofsetpos64.c: Likewise.
31785         * sysdeps/wordsize-64/lockf.c: File removed.
31786         * sysdeps/wordsize-64/lockf64.c: File removed.
31787         * sysdeps/wordsize-64/fseeko.c: File removed.
31788         * sysdeps/wordsize-64/fseeko64.c: File removed.
31789         * sysdeps/wordsize-64/ftello.c: File removed.
31790         * sysdeps/wordsize-64/ftello64.c: File removed.
31791         * sysdeps/wordsize-64/iofgetpos.c: File removed.
31792         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31793         * sysdeps/wordsize-64/iofsetpos.c: File removed.
31794         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31795         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31796         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31797         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31798         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31799         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31800         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31801         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31802         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31803         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31804         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31806         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31807         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31808         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31809         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31810         [defined __arch64__ || defined __sparcv9]
31811         (__OFF_T_MATCHES_OFF64_T): New macro.
31812         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31813         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31814         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31815         (__OFF_T_MATCHES_OFF64_T): New macro.
31817 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
31819         * stdlib/secure-getenv.c (__secure_getenv): Replace
31820         GLIBC_2_16 with GLIBC_2_17.
31822 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
31824         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31825         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31827 2012-08-03  David S. Miller  <davem@davemloft.net>
31829         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31831 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
31833         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31834         Remove.
31835         (__ASSUME_CORRECT_SI_PID): Likewise.
31836         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31837         (__ASSUME_TMPFS_NAME): Likewise.
31838         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31839         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31840         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31841         (HAVE_AUX_SECURE): Make definition unconditional.
31842         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31843         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31845 2012-08-03  Roland McGrath  <roland@hack.frob.com>
31847         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31848         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31849         * sysdeps/mach/hurd/eloop-threshold.h: New file.
31850         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31851         __eloop_threshold instead of SYMLOOP_MAX.
31853         * sysdeps/generic/eloop-threshold.h: New file.
31854         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31855         of MAXSYMLINKS.
31856         * elf/chroot_canon.c (chroot_canon): Likewise.
31858 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
31860         [BZ #13717]
31861         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31862         Change to 2.6.0 everywhere.
31863         * sysdeps/unix/sysv/linux/configure: Regenerated.
31864         * sysdeps/unix/sysv/linux/kernel-features.h
31865         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31866         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31867         kernel versions.
31868         (__ASSUME_POSIX_TIMERS): Define unconditionally.
31869         (__ASSUME_FUTEX_REQUEUE): Remove.
31870         (__ASSUME_STATFS64): Define unconditionally.
31871         (__ASSUME_AT_SECURE): Likewise.
31872         (__ASSUME_CORRECT_SI_PID): Likewise.
31873         (__ASSUME_TGKILL): Define without depending on kernel version for
31874         i386.
31875         (__ASSUME_UTIMES): Likewise.
31876         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31877         kernel version.
31878         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31879         (__ASSUME_TMPFS_NAME): Likewise.
31880         * README: Update reference to Linux kernel versions.
31882 2012-08-02  Marek Polacek  <polacek@redhat.com>
31884         [BZ# 14150]
31885         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
31886         libc_cv_asm_type_prefix with %.
31887         * configure: Regenerated.
31888         * include/libc-symbols.h: Remove comment about
31889         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31890         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31891         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31892         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31893         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31894         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31895         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
31896         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
31897         * elf/tst-unique2mod1.c: Likewise.
31898         * elf/tst-unique1mod2.c: Likewise.
31899         * elf/tst-unique1mod1.c: Likewise.
31900         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
31901         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
31902         Replace ASM_TYPE_DIRECTIVE with .type.
31903         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31904         * sysdeps/i386/sysdep.h: Likewise.
31905         * sysdeps/x86_64/sysdep.h: Likewise.
31906         * sysdeps/sh/sysdep.h: Likewise.
31907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31908         Do not define ASM_TYPE_DIRECTIVE.
31909         * sysdeps/powerpc/sysdep.h: Likewise.
31910         * sysdeps/powerpc/powerpc32/sysdep.h:
31911         Replace ASM_TYPE_DIRECTIVE with .type.
31912         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31913         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31914         * sysdeps/i386/fpu/e_powf.S: Likewise.
31915         * sysdeps/i386/fpu/e_expl.S: Likewise.
31916         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31917         * sysdeps/i386/fpu/e_acosh.S: Likewise.
31918         * sysdeps/i386/fpu/e_pow.S: Likewise.
31919         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31920         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31921         * sysdeps/i386/fpu/s_expm1.S: Likewise.
31922         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31923         * sysdeps/i386/fpu/e_log2.S: Likewise.
31924         * sysdeps/i386/fpu/e_log2l.S: Likewise.
31925         * sysdeps/i386/fpu/e_scalb.S: Likewise.
31926         * sysdeps/i386/fpu/e_powl.S: Likewise.
31927         * sysdeps/i386/fpu/e_log10f.S: Likewise.
31928         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31929         * sysdeps/i386/fpu/e_logl.S: Likewise.
31930         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31931         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31932         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31933         * sysdeps/i386/fpu/e_log2f.S: Likewise.
31934         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31935         * sysdeps/i386/fpu/e_log.S: Likewise.
31936         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31937         * sysdeps/i386/fpu/e_logf.S: Likewise.
31938         * sysdeps/i386/fpu/e_log10l.S: Likewise.
31939         * sysdeps/i386/fpu/e_atanh.S: Likewise.
31940         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31941         * sysdeps/i386/fpu/e_log10.S: Likewise.
31942         * sysdeps/i386/fpu/s_frexp.S: Likewise.
31943         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31944         * sysdeps/i386/fpu/s_asinh.S: Likewise.
31945         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31946         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31947         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
31948         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31949         * sysdeps/i386/i686/strtok.S: Likewise.
31950         * sysdeps/i386/i386-mcount.S: Likewise.
31951         * sysdeps/i386/strtok.S: Likewise.
31952         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
31953         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31954         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31955         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31956         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
31957         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31958         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31959         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31960         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31961         * sysdeps/x86_64/_mcount.S: Likewise.
31962         * sysdeps/x86_64/strtok.S: Likewise.
31963         * sysdeps/sh/_mcount.S: Likewise.
31965 2012-08-01  Roland McGrath  <roland@hack.frob.com>
31967         * libio/iofopen.c: Include <fcntl.h>.
31968         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
31969         (_IO_fopen64, fopen64): Define as aliases.
31970         * libio/iofopen64.c: Include <fcntl.h>.
31971         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
31972         Conditionalize body on this.
31973         * sysdeps/wordsize-64/iofopen.c: File removed.
31974         * sysdeps/wordsize-64/iofopen64.c: File removed.
31976 2012-08-01  Marek Polacek  <polacek@redhat.com>
31978         * libc/Makeconfig: Use elf in place of binfmt-subdir.
31979         Use dlfcn directly instead of a variable.
31980         (binfmt-subdir): Do not define.
31981         (dlfcn): Likewise.
31983 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
31985         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
31986         Remove all definitions.
31987         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
31988         <kernel-features.h>.
31989         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31990         (miss_F_GETOWN_EX): Remove all definitions.
31991         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
31992         macro definition.
31993         [!__ASSUME_FCNTL64]: Remove conditional code.
31994         [__ASSUME_FCNTL64]: Make code unconditional.
31995         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
31996         <kernel-features.h>.
31997         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
31998         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
31999         (lockf64) [__NR_fcntl64]: Make code unconditional.
32000         (lockf64) [__ASSUME_FCNTL64]: Likewise.
32002         * sysdeps/unix/sysv/linux/kernel-features.h
32003         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32004         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32005         Make code unconditional.
32006         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32007         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
32009         [__NR_vfork]: Make code unconditional.
32010         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32011         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
32013         [__NR_vfork]: Make code unconditional.
32014         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32015         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32017 2012-08-01  Roland McGrath  <roland@hack.frob.com>
32019         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
32020         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
32022         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32023         Define mkstemp64 as an alias.
32024         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32025         Define mkstemps64 as an alias.
32026         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32027         Define mkostemp64 as an alias.
32028         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32029         Define mkostemps64 as an alias.
32030         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
32031         Conditionalize body on this.
32032         * misc/mkostemp64.c: Likewise.
32033         * misc/mkostemps64.c: Likewise.
32034         * misc/mkstemps64.c: Likewise.
32035         * sysdeps/wordsize-64/mkstemp64.c: File removed.
32036         * sysdeps/wordsize-64/mkostemp64.c: File removed.
32037         * sysdeps/wordsize-64/mkostemp.c: File removed.
32038         * sysdeps/wordsize-64/mkstemp.c: File removed.
32039         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
32040         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
32041         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
32042         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32044         [BZ #14138]
32045         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32046         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32047         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32048         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32050         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32051         compat_symbol macros from <shlib-compat.h> rather than the underlying
32052         default_symbol_version and symbol_version macros, so that DEFAULT
32053         lines in shlib-versions are respected.
32054         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32056 2012-08-01  Florian Weimer  <fweimer@redhat.com>
32058         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32059         Declare with warn_unused_result.
32060         (setgid, setregid, setegid, setresgid): Likewise.
32061         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32062         Likewise.
32063         * WUR-REPORT: Remove set*id functions.
32065 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
32067         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32069 2012-07-31  Roland McGrath  <roland@hack.frob.com>
32071         [BZ #10191]
32072         * include/sys/socket.h (__libc_accept, __libc_accept4):
32073         Add attribute_hidden.
32074         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
32076         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32077         use of PTR_MANGLE.
32078         * inet/getnetgrent_r.c (setup): Likewise.
32080         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32082 2012-07-31  David S. Miller  <davem@davemloft.net>
32084         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32086 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
32088         [BZ #13629]
32089         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32090         value between 1.0 and 2.0 and smaller part has absolute value less
32091         than 1.0.
32092         * math/s_clog10.c (__clog10): Likewise.
32093         * math/s_clog10f.c (__clog10f): Likewise.
32094         * math/s_clog10l.c (__clog10l): Likewise.
32095         * math/s_clogf.c (__clogf): Likewise.
32096         * math/s_clogl.c (__clogl): Likewise.
32097         * math/libm-test.inc (clog_test): Add more tests.
32098         (clog10_test): Likewise.
32099         * sysdeps/i386/fpu/libm-test-ulps: Update.
32100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32102 2012-07-31  Florian Weimer  <fweimer@redhat.com>
32104         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32105         Exit with zero in case no suitable GID is found, and write a
32106         message to standard error.
32108 2012-07-30  Roland McGrath  <roland@hack.frob.com>
32110         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32111         rather than to 1.
32112         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32113         (MAXPATHLEN): Removed.
32114         (NOGROUP, NODEV): New macros.
32115         (setbit, clrbit, isset, isclr): New macros.
32116         (howmany, roundup, powerof2): New macros.
32117         (DEV_BSIZE): New macro.
32119         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32120         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32122         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32123         definition on [!__NO_LONG_DOUBLE_MATH].
32125         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32126         PTR_MANGLE and PTR_DEMANGLE.
32128         * socket/accept4.c (accept4): Rename to __libc_accept4.
32129         Define accept4 as a weak alias.
32131         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32132         on [_DIRENT_HAVE_D_TYPE].
32133         * io/ftw.c (ftw_dir): Likewise.
32135         * io/xmknod.c (__xmknod): Don't check PATH for being null.
32137         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32139         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32140         Use the BSD numbers rather than the arbitrary ones we had.
32141         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32142         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32143         (SIGXCPU, SIGXFSZ): New macros.
32144         (_NSIG): Now 32.
32146         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32147         initializer on [_LIBC_REENTRANT].
32149         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32150         definitions inside [_POSIX_MAPPED_FILES].
32152         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32154         * dirent/opendir.c: Include <fcntl.h>.
32156         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32157         (__libc_getspecific): Likewise.
32158         (__libc_key_create): Likewise.
32160         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32161         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32162         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32163         (tmpfile64): Define as alias.
32164         * sysdeps/wordsize-64/tmpfile.c: File removed.
32165         * sysdeps/wordsize-64/tmpfile64.c: File removed.
32166         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32167         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32169         * stdio-common/vfscanf.c: Include <stdbool.h>.
32170         * nss/makedb.c: Likewise.
32171         * stdio-common/_i18n_number.h: Likewise.
32172         * argp/argp-help.c: Likewise.
32173         * posix/wordexp.c: Likewise.
32174         * sysdeps/posix/spawni.c: Likewise.
32175         * nss/nss_files/files-initgroups.c: Likewise.
32176         * stdio-common/reg-modifier.c: Include <stdlib.h>.
32177         * nss/nss_files/files-initgroups.c: Likewise.
32178         * nss/nss_db/db-netgrp.c: Likewise.
32179         * nss/nss_db/db-initgroups.c: Likewise.
32180         * io/fchmodat.c: Include <sys/stat.h>.
32182         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32183         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32185         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
32186         [HAVE_MMAP].
32188         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
32189         Add multiple inclusion protection.
32191 2012-07-27  David S. Miller  <davem@davemloft.net>
32193         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32195 2012-07-27  Gary Benson  <gbenson@redhat.com>
32197         [BZ #14298]
32198         * elf/rtld.c: Include <stap-probe.h>.
32199         (dl_main): Added static probes "init_start" and "init_complete".
32200         * elf/dl-load.c: Include <stap-probe.h>.
32201         (lose): Take new parameter "nsid".
32202         Added static probe "map_failed".
32203         (_dl_map_object_from_fd): Pass namespace id to lose.
32204         Added static probe "map_start".
32205         (open_verify): Pass namespace id to lose.
32206         * elf/dl-open.c: Include <stap-probe.h>.
32207         (dl_open_worker) Added static probes "map_complete", "reloc_start"
32208         and "reloc_complete".
32209         * elf/dl-close.c: Include <stap-probe.h>.
32210         (_dl_close_worker): Added static probes "unmap_start" and
32211         "unmap_complete".
32212         * elf/rtld-debugger-interface.txt: New file documenting the above.
32214 2012-07-26  Roland McGrath  <roland@hack.frob.com>
32216         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32217         rather than a string variable.
32218         * sunrpc/rpc_main.c (h_output): Likewise.
32219         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32221 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
32223         * inet/check_native.c: New file.
32225 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
32227         [BZ #13629]
32228         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32229         if larger part has absolute value 1.0.
32230         * math/s_clog10.c (__clog10): Likewise.
32231         * math/s_clog10f.c (__clog10f): Likewise.
32232         * math/s_clog10l.c (__clog10l): Likewise.
32233         * math/s_clogf.c (__clogf): Likewise.
32234         * math/s_clogl.c (__clogl): Likewise.
32235         * math/libm-test.inc (clog_test): Add more tests.
32236         (clog10_test): Likewise.
32237         * sysdeps/i386/fpu/libm-test-ulps: Update.
32238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32240         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32241         (pltexit): Likewise.
32242         (La_regs): Likewise.
32243         (La_retval): Likewise.
32244         (int_retval): Likewise.
32245         Update #error for removed macros to refer only to definitions in
32246         tst-audit.h.
32247         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32248         macro.
32249         (pltexit): Likewise.
32250         (La_regs): Likewise.
32251         (La_retval): Likewise.
32252         (int_retval): Likewise.
32253         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32254         macro.
32255         (pltexit): Likewise.
32256         (La_regs): Likewise.
32257         (La_retval): Likewise.
32258         (int_retval): Likewise.
32259         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32260         macro.
32261         (pltexit): Likewise.
32262         (La_regs): Likewise.
32263         (La_retval): Likewise.
32264         (int_retval): Likewise.
32265         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32266         macro.
32267         (pltexit): Likewise.
32268         (La_regs): Likewise.
32269         (La_retval): Likewise.
32270         (int_retval): Likewise.
32271         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32272         macro.
32273         (pltexit): Likewise.
32274         (La_regs): Likewise.
32275         (La_retval): Likewise.
32276         (int_retval): Likewise.
32277         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32278         macro.
32279         (pltexit): Likewise.
32280         (La_regs): Likewise.
32281         (La_retval): Likewise.
32282         (int_retval): Likewise.
32283         * sysdeps/generic/tst-audit.h: Update comment to refer only to
32284         macro definitions in tst-audit.h.
32285         * sysdeps/i386/tst-audit.h: New file.
32286         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32287         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32288         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32289         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32290         * sysdeps/sh/tst-audit.h: Likewise.
32291         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32292         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32293         * sysdeps/x86_64/tst-audit.h: Likewise.
32295 2012-07-26  Andreas Jaeger  <aj@suse.de>
32297         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32298         ptrace.
32300         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32301         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32302         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32303         PTRACE_O_MASK.
32304         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32305         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32306         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32308         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
32309         value.
32311         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
32312         _sigsys.
32313         (si_call_addr, si_syscall, si_arch): Define new macro.
32314         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
32315         _sigsys.
32316         (si_call_addr, si_syscall, si_arch): Define new marcro.
32317         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
32318         _sigsys.
32319         (si_call_addr, si_syscall, si_arch): Define new macro.
32320         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
32321         _sigsys.
32322         (si_call_addr, si_syscall, si_arch): Define new macro.
32324 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
32326         [BZ #13717]
32327         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32328         Change to 2.4.21 where previously 2.4.1.
32329         * sysdeps/unix/sysv/linux/configure: Regenerated.
32330         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
32331         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
32332         Linux kernel version.
32333         (__ASSUME_STD_AUXV): Remove.
32334         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
32335         kernel version.
32336         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
32337         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
32338         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
32339         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
32340         (__ASSUME_NETLINK_SUPPORT): Likewise.
32341         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
32342         (__no_netlink_support): Remove conditional definition.
32343         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
32344         Remove.
32345         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32346         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
32347         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
32348         (if_nameindex_ioctl): Remove.
32349         (if_nameindex_netlink): Do not handle __no_netlink_support.
32350         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32351         code.
32352         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
32353         Remove conditional code.
32354         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32355         code.
32356         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
32357         unconditional.
32358         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32359         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
32360         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
32361         Remove.
32362         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
32363         [!__ASSUME_STD_AUXV]: Remove conditional code.
32364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
32365         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
32366         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
32367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
32368         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
32369         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32370         code.
32371         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32373         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
32374         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32375         conditional code.
32376         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32378         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32379         code.
32380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32381         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32382         conditional code.
32383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
32384         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32385         code unconditional.
32386         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32387         conditional code.
32388         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32389         unconditional.
32390         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32391         conditional code.
32392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32393         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32394         unconditional.
32395         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32396         conditional code.
32397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32398         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32399         code unconditional.
32400         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32401         conditional code.
32402         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32403         unconditional.
32404         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32405         conditional code.
32406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32407         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32408         code unconditional.
32409         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32410         conditional code.
32411         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32412         unconditional.
32413         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32414         conditional code.
32416 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
32418         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32419         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32420         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32421         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32422         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32423         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32424         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32425         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32426         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32427         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32428         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32429         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32430         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32431         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32432         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32433         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32434         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32435         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32436         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32437         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32438         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32439         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32440         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32442 2012-07-25  Florian Weimer  <fweimer@redhat.com>
32444         * Versions.def: Add GLIBC_2.17.
32445         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32446         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32447         Introduce __libc_secure_getenv.
32448         * stdlib/Versions (2.17): Add secure_getenv
32449         (GLIBC_PRIVATE): Add __libc_secure_getenv.
32450         * stdlib/secure-getenv.c: Rename __secure_getenv to
32451         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
32452         symbol __secure_getenv for GLIBC_2.0.
32453         * stdlib/tst-secure-getenv.c: New.
32454         * stdlib/Makefile (tests): Add testcase.
32455         * manual/startup.texi (Environment Access): Document
32456         secure_getenv.
32457         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32458         __libc_secure_getenv.
32459         * inet/ruserpass.c (ruserpass): Likewise.
32460         * malloc/mtrace.c (mtrace): Likewise.
32461         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
32462         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
32463         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32464         * sysdeps/posix/tempname.c: Likewise.  Evaluate
32465         HAVE_SECURE_GETENV.
32466         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
32467         __secure_getenv to __libc_secure_getenv.
32468         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
32469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32470         Likewise.
32471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32472         Likewise.
32473         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32474         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32475         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32476         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32477         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32478         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32479         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32481 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
32483         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32484         (struct La_i86_retval): Likewise.
32485         (struct La_x86_64_regs): Likewise.
32486         (struct La_x86_64_retval): Likewise.
32487         (struct La_x32_regs): Likewise.
32488         (struct La_x32_retval): Likewise.
32489         (struct La_ppc32_regs): Likewise.
32490         (struct La_ppc32_retval): Likewise.
32491         (struct La_ppc64_regs): Likewise.
32492         (struct La_ppc64_retval): Likewise.
32493         (struct La_sh_regs): Likewise.
32494         (struct La_sh_retval): Likewise.
32495         (struct La_s390_32_regs): Likewise.
32496         (struct La_s390_32_retval): Likewise.
32497         (struct La_s390_64_regs): Likewise.
32498         (struct La_s390_64_retval): Likewise.
32499         (struct La_sparc32_regs): Likewise.
32500         (struct La_sparc32_retval): Likewise.
32501         (struct La_sparc64_regs): Likewise.
32502         (struct La_sparc64_retval): Likewise.
32503         (struct audit_ifaces): Remove architecture-specific pltenter and
32504         pltexit members.
32505         * sysdeps/i386/ldsodefs.h: New file.
32506         * sysdeps/powerpc/ldsodefs.h: Likewise.
32507         * sysdeps/s390/ldsodefs.h: Likewise.
32508         * sysdeps/sh/ldsodefs.h: Likewise.
32509         * sysdeps/sparc/ldsodefs.h: Likewise.
32510         * sysdeps/x86_64/ldsodefs.h: Likewise.
32512 2012-07-25  Marek Polacek  <polacek@redhat.com>
32514         [BZ #6808]
32515         * math/libm-test.inc (yn_test): Add another test.
32516         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32517         to ERANGE when the result is +-Inf.
32518         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32519         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32520         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
32521         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
32523 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
32525         * conform/data/time.h-data (NULL): Use macro-constant.  Require
32526         equal to 0.
32527         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
32528         clock_t.
32529         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
32531 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
32533         * configure.in <sysdeps resolving>: Correct printing
32534         Implies_before.
32535         * configure: Regenerate.
32537 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
32539         * math/w_ilogb.c: Include <limits.h>.
32540         * math/w_ilogbl.c: Likewise.
32542 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
32544         * manual/lang.texi (__va_copy): Document primarily as ISO C99
32545         va_copy.  Document allowing for unavailable va_copy only as
32546         pre-C99 compatibility.
32547         * manual/string.texi (Copying and Concatenation): Use va_copy
32548         instead of __va_copy in concat example.
32550 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
32552         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
32553         (__sendto): Use create_address_port.  Initialize APORT and deallocate
32554         it if not null.
32556         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
32557         with O_NOLINK passed to __file_name_lookup.
32559         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
32560         with O_NOLINK passed to __file_name_lookup.
32562         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
32563         negative N or less than NGIDS.
32565         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
32566         type to string_t.  Set ERANGE as errno and return it if NAME is not big
32567         enough.  Use memcpy instead of strncpy.
32569 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
32571         * elf/Makefile (check-data): Remove.
32572         (localplt.data): New vpath directive.
32573         ($(objpfx)check-localplt.out): Use localplt.data from vpath
32574         instead of $(check-data).
32575         * scripts/data/localplt-generic.data: Move to ...
32576         * sysdeps/generic/localplt.data: ... here.
32577         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
32578         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
32579         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
32580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32581         ... here.
32582         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
32583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32584         ... here.
32585         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
32586         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
32587         ... here.
32588         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
32589         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32590         ... here.
32591         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
32592         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
32593         ... here.
32594         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
32595         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
32596         ... here.
32598 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32600         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
32601         PPC32 and PPC64 files.
32602         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
32603         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
32605 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32607         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
32608         __makecontext_ret to ...
32609         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32610         ... here and call exit if uc_link is NULL.  New file.
32611         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
32612         __makecontext_ret.S.
32613         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
32614         __makecontext_ret to ...
32615         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32616         ... here and call exit if uc_link is NULL.  New file.
32617         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
32618         __makecontext_ret.S.
32620 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32622         * elf/elf.h (R_390_IRELATIVE): New definition.
32623         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
32624         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
32625         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
32626         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32627         (elf_machine_lazy_rel): Likewise.
32628         * sysdeps/s390/dl-irel.h: New file.
32629         * sysdeps/s390/s390-64/memcpy.S: New asm code.
32630         * sysdeps/s390/s390-64/memset.S: New asm code.
32631         * sysdeps/s390/s390-64/memcmp.S: New asm code.
32632         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
32633         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
32634         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
32635         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
32636         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
32637         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
32638         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
32639         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
32640         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
32641         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
32642         * sysdeps/s390/s390-32/memcpy.S: New asm code.
32643         * sysdeps/s390/s390-32/memset.S: New asm code.
32644         * sysdeps/s390/s390-32/memcmp.S: New asm code.
32646 2012-07-17  Marek Polacek  <polacek@redhat.com>
32648         [BZ #14349]
32649         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
32650         * sysdeps/s390/s390-64/configure.in: Likewise.
32651         * sysdeps/sparc/configure.in: Likewise.
32652         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
32653         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
32654         * sysdeps/i386/configure.in: Likewise.
32655         * sysdeps/x86_64/configure.in: Likewise.
32656         * sysdeps/sh/configure.in: Likewise.
32657         * sysdeps/s390/s390-32/configure: Regenerated.
32658         * sysdeps/s390/s390-64/configure: Likewise.
32659         * sysdeps/x86_64/configure: Likewise.
32660         * sysdeps/sh/configure: Likewise.
32661         * sysdeps/powerpc/powerpc64/configure: Likewise.
32662         * sysdeps/powerpc/powerpc32/configure: Likewise.
32663         * sysdeps/sparc/configure: Likwise.
32664         * sysdeps/i386/configure: Likewise.
32666         * elf/dl-open.c: Comment fixes.
32668 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
32670         * Makefile [CXX] (check-data): Remove.
32671         [CXX] (c++-types.data): New vpath directive.
32672         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
32673         vpath.  Do not allow for C++ type data being missing.
32674         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
32675         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
32676         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
32677         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
32678         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
32679         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
32680         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
32681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32682         ... here.
32683         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
32684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32685         ... here.
32686         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
32687         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
32688         ... here.
32689         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
32690         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
32691         ... here.
32692         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
32693         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
32694         ... here.
32695         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
32696         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
32697         ... here.
32698         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
32699         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
32700         ... here.
32701         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
32702         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
32704         * elf/tls-macros.h (TLS_LE): Move architecture-specific
32705         definitions to architecture-specific files.
32706         (TLS_IE): Likewise.
32707         (TLS_LD): Likewise.
32708         (TLS_GD): Likewise.
32709         * sysdeps/i386/tls-macros.h: New file.
32710         * sysdeps/powerpc/tls-macros.h: Likewise.
32711         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
32712         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
32713         * sysdeps/sh/tls-macros.h: Likewise.
32714         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
32715         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
32716         * sysdeps/x86_64/tls-macros.h: Likewise.
32718 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
32720         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
32721         zero value for regular exit case.
32723         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32724         (__start_context): Preserve zero value for regular exit case.
32726 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
32727             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32729         * manual/setjmp.texi (setcontext): Clarify normal process
32730         termination when uc_link is the null pointer.
32731         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
32732         exit call.
32734 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
32736         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
32737         preprocessor.  Test for each exception mask separately.
32739 2012-07-16  Andreas Jaeger  <aj@suse.de>
32741         * po/ru.po: Update from translation team.
32743 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
32745         * conform/data/string.h-data (NULL): Use macro-constant.  Require
32746         equal to 0.
32747         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32748         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32749         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
32750         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
32751         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32753 2012-07-13  Andreas Jaeger  <aj@suse.de>
32755         * po/fr.po: Update from translation team.
32757 2012-07-12  Marek Polacek  <polacek@redhat.com>
32759         [BZ #14173]
32760         * math/libm-test.inc (yn_test): Add test for BZ #14173.
32761         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
32762         loop condition.
32764 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
32766         [BZ #13717]
32767         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32768         Change to 2.4.1 where previously 2.4.0.
32769         * sysdeps/unix/sysv/linux/configure: Regenerated.
32770         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
32771         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
32772         version.
32773         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32774         (__ASSUME_AT_CLKTCK): Remove.
32775         (__ASSUME_AT_PAGESIZE): Likewise.
32776         (__ASSUME_AT_XID): Likewise.
32777         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
32778         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
32779         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
32780         unconditionally.
32781         (HAVE_AUX_PAGESIZE): Likewise.
32782         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32783         [__ASSUME_AT_CLKTCK]: Make code unconditional.
32784         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32786 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
32788         [BZ #14307]
32789         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32790         the temporary buffer used to invoke __gethostbyname2_r,
32791         __gethostbyaddr_r and gethostbyname4_r to make room for struct
32792         host_data / struct gaih_addrtuple.
32793         * resolv/nss_dns/dns-host.c (global scope): Move definition of
32794         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32795         header file nss/nsswitch.h.
32796         * nss/nsswitch.h (global scope): Add definition of implementation
32797         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32798         resolv/nss_dns/dns-host.c).
32800 2012-07-11  Andreas Jaeger  <aj@suse.de>
32802         * po/fr.po: Update from translation team.
32804         * po/sv.po: Update from translation team
32805         * po/fr.po: Another update from translation team.
32807 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32809         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32810         for subnormals or multiply small sinh result by itself.
32811         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32812         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32814 2012-07-11  David S. Miller  <davem@davemloft.net>
32816         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32818 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
32820         [BZ #14347]
32821         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32822         (INTERNAL_MARK): Shift it here.
32824 2012-07-10  Marek Polacek  <polacek@redhat.com>
32826         [BZ #14151]
32827         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
32828         libc_cv_asm_global_directive with .globl.
32829         * configure: Regenerated.
32830         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32831         with .globl.
32832         * sysdeps/i386/configure: Regenerated.
32833         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32834         with .globl.
32835         * sysdeps/x86_64/configure: Regenerated.
32836         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32837         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32838         * elf/tst-unique2mod2.c: Likewise.
32839         * elf/tst-unique2mod1.c: Likewise.
32840         * elf/tst-unique1mod2.c: Likewise.
32841         * elf/tst-unique1mod1.c: Likewise.
32842         * sysdeps/s390/s390-32/sysdep.h: Likewise.
32843         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32844         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32845         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32846         * sysdeps/mach/sysdep.h: Likewise.
32847         * sysdeps/i386/sysdep.h: Likewise.
32848         * sysdeps/i386/i386-mcount.S: Likewise.
32849         * sysdeps/x86_64/_mcount.S: Likewise.
32850         * sysdeps/x86_64/sysdep.h: Likewise.
32851         * sysdeps/sh/_mcount.S: Likewise.
32852         * sysdeps/sh/sysdep.h: Likewise.
32853         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32854         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32855         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32856         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32857         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32858         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32859         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32860         * locale/localeinfo.h: Likewise.
32861         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32862         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32864 2012-07-09  Roland McGrath  <roland@hack.frob.com>
32866         [BZ #14336]
32867         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32868         system".
32869         * manual/message.texi (The Uniforum approach): Likewise.
32870         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32871         (glibc iconv Implementation): Likewise.
32873 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
32875         [BZ #14337]
32876         * math/s_clog.c (__clog): Avoid scaling a value down where that
32877         could result in underflow.
32878         * math/s_clog10.c (__clog10): Likewise.
32879         * math/s_clog10f.c (__clog10f): Likewise.
32880         * math/s_clog10l.c (__clog10l): Likewise.
32881         * math/s_clogf.c (__clogf): Likewise.
32882         * math/s_clogl.c (__clogl): Likewise.
32883         * math/libm-test.inc (clog_test): Add more tests.
32884         (clog10_test): Likewise.
32885         * sysdeps/i386/fpu/libm-test-ulps: Update.
32886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32888 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
32890         [BZ #14283]
32891         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32892         by 7 not 8 to examine high bit of fractional part.
32894         [BZ #14042]
32895         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
32896         for call to __mcount_internal.
32897         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
32898         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
32899         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
32901 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
32903         [BZ #14154]
32904         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
32905         approximation for values within 0x1p-13f of an odd multiple of
32906         pi/4.
32907         * math/libm-test.inc (tan_test): Do not allow spurious underflow
32908         exception.  Add more tests.
32909         * sysdeps/i386/fpu/libm-test-ulps: Update.
32911         [BZ #6778]
32912         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
32913         inputs and return -1 for them.  Do not check for +Inf in case not
32914         reachable for +Inf.
32915         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32916         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
32917         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32918         and return -1 for them.  Do not check for +Inf in case not
32919         reachable for +Inf.
32920         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
32921         define.
32922         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32923         and return -1 for them.  Do not check for +Inf in case not
32924         reachable for +Inf.
32925         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
32926         spurious underflow.
32927         * sysdeps/i386/fpu/libm-test-ulps: Update.
32928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32930 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
32932         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
32934 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
32936         [BZ #14157]
32937         [BZ #14331]
32938         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
32939         could result in spurious underflow.  Scale down values above
32940         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
32941         * math/s_csqrtf.c (__csqrtf): Likewise.
32942         * math/s_csqrtl.c (__csqrtl): Likewise.
32943         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
32944         spurious underflow.
32945         * sysdeps/i386/fpu/libm-test-ulps: Update.
32946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32948 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
32950         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
32951         xopen-msg.sed.
32952         * catgets/xopen-msg.awk: New file.
32953         * catgets/xopen-msg.sed: Removed.
32955         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
32956         po2text.sed.
32957         * intl/po2test.awk: New file.
32958         * intl/po2test.sed: Removed.
32960 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
32962         [BZ #14328]
32963         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
32964         or multiply small sinh result by itself.
32965         * math/s_ctanf.c (__ctanf): Likewise.
32966         * math/s_ctanh.c (__ctanh): Likewise.
32967         * math/s_ctanhf.c (__ctanhf): Likewise.
32968         * math/s_ctanhl.c (__ctanhl): Likewise.
32969         * math/s_ctanl.c (__ctanl): Likewise.
32970         * math/libm-test.inc (ctan_test_tonearest): New function.
32971         (ctan_test_towardzero): Likewise.
32972         (ctan_test_downward): Likewise.
32973         (ctan_test_upward): Likewise.
32974         (ctanh_test_tonearest): Likewise.
32975         (ctanh_test_towardzero): Likewise.
32976         (ctanh_test_downward): Likewise.
32977         (ctanh_test_upward): Likewise.
32978         (main): Call these new functions.
32979         * sysdeps/i386/fpu/libm-test-ulps: Update.
32980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32982 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
32984         * .gitignore: Delete /ports entry.
32986 2012-07-03  Andreas Jaeger  <aj@suse.de>
32988         * po/bg.po: Update from translation team.
32989         * po/cs.po: Likewise.
32990         * po/de.po: Likewise.
32991         * po/hr.po: Likewise.
32992         * po/nl.pl: Likewise.
32993         * po/pl.po: Likewise.
32994         * po/vi.po: Likewise.
32996 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
32998         * Makeconfig [!+link] (+link-before-libc): New variable.
32999         [!+link] (+link-after-libc): Likewise.
33000         [!+link] (+link-tests): Likewise.
33001         [!+link] (+link): Define in terms of $(+link-before-libc) and
33002         $(+link-after-libc).
33003         [!+link-static] (+link-static-before-libc): New variable.
33004         [!+link-static] (+link-static-after-libc): Likewise.
33005         [!+link-static] (+link-static-tests): Likewise.
33006         [!+link-static] (+link-static): Define in terms of
33007         $(+link-static-before-libc) and $(+link-static-after-libc).
33008         [build-shared] (link-libc-before-gnulib): New variable.
33009         [build-shared] (link-libc-tests): Likewise.
33010         [build-shared] (link-libc): Define in terms of
33011         $(link-libc-before-gnulib).
33012         [!build-shared] (link-libc-tests): New variable.
33013         (link-libc-static-tests): New variable.
33014         [!gnulib] (gnulib-arch): New variable.
33015         [!gnulib] (gnulib-tests): Likewise.
33016         [!gnulib] (static-gnulib-arch): Likewise.
33017         [!gnulib] (static-gnulib-tests): Likewise.
33018         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
33019         Define with "=" instead of ":=".
33020         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
33021         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
33022         * Rules (binaries-all-notests): New variable.
33023         (binaries-all-tests): Likewise.
33024         (binaries-static-notests): Likewise.
33025         (binaries-static-tests): Likewise.
33026         (binaries-all): Define using $(binaries-all-notests) and
33027         $(binaries-all-tests).
33028         (binaries-static): Define using $(binaries-static-notests) and
33029         $(binaries-static-tests).
33030         (binaries-shared-tests): New variable.
33031         (binaries-shared-notests): Likewise.
33032         (binaries-shared): Remove variable.
33033         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
33034         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
33035         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
33036         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
33037         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
33038         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
33039         * elf/Makefile (sln-modules): New variable.
33040         (extra-objs): Add $(sln-modules:=.o).
33041         (ldconfig-modules): Add static-stubs.
33042         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
33043         * elf/static-stubs.c: New file.
33045         [BZ #14283]
33046         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33047         by 7 not 8 to examine high bit of fractional part.  Use volatile
33048         variables when splitting into final array of floats if
33049         __FLT_EVAL_METHOD__ != 0.
33050         * math/libm-test.inc (cos_test): Add another test.
33051         (sin_test): Likewise.
33052         * sysdeps/i386/fpu/libm-test-ulps: Update.
33054         [BZ #14273]
33055         * math/libm-test.inc (cosh_test): Add more tests.
33057         * version.h (RELEASE): Set to "development".
33058         (VERSION): Set to "2.16.90".
33060 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
33062         * NEWS: Update copyright. Remove last-updated date.
33063         Mention math library bug fixes and timezone data changes.
33064         * README: Mention GNU/Hurd, x32, and HPPA support status.
33066 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
33068         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33070 2012-06-27  Andreas Jaeger  <aj@suse.de>
33072         * manual/contrib.texi (Contributors): Add Samuel Thibault.
33074 2012-06-25  Andreas Jaeger  <aj@suse.de>
33076         * sysdeps/s390/fpu/libm-test-ulps: Update.
33078 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
33079             Thomas Schwinge  <thomas@codesourcery.com>
33081         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33082         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33083         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33084         fanotify_mark.
33086 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
33088         * sysdeps/mach/start.c: Remove file.
33089         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33090         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33091         * sysdeps/sh/init-first.c: Likewise.
33093         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33094         registers for frame unwinding purposes, add CFI directives.
33095         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33096         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33097         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33098         Likewise.
33100         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33101         __fortify_fail returning.
33102         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33104         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33105         sysdeps/sh/____longjmp_chk.S.
33106         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33107         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33108         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33109         (gen-as-const-headers): Append sigaltstack-offsets.sym.
33111         * sysdeps/sh/abort-instr.h: New file.
33112         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33113         process in case exit returns.
33115         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33116         initialize the GOT register before use.
33118         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33119         calculation of ARGC > 4.
33121         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33122         meaningful names to some local labels.
33124 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33125             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33127         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33128         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33129         (__arch_compare_and_exchange_val_16_acq): Likewise.
33130         (__arch_compare_and_exchange_val_32_acq): Likewise.
33131         (atomic_exchange_and_add): Fix gUSA sequence.
33132         (atomic_add): Likewise.
33133         (atomic_add_negative): Likewise.
33134         (atomic_add_zero): Likewise.
33135         (atomic_bit_test_set): Likewise.
33137 2012-06-22  Andreas Schwab  <schwab@redhat.com>
33139         [BZ #13579]
33140         * include/link.h (struct link_map): Add l_free_initfini.
33141         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33142         l_initfini.
33143         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33144         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33145         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33146         set.
33148 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
33150         * configure.in: Use AC_LANG_SOURCE.
33151         * configure: Regenerate.
33153 2012-06-22  Roland McGrath  <roland@hack.frob.com>
33155         * configure.in (libc_cv_localstatedir): New substituted variable.
33156         * configure: Regenerated.
33157         * config.make.in (localstatedir): New variable, substituted from
33158         libc_cv_localstatedir.
33159         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33160         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33161         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33162         * sysdeps/gnu/configure: Regenerated.
33164 2012-06-21  Jeff Law  <law@redhat.com>
33166         [BZ #14277]
33167         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33168         free.  Simplify list management for _LIBC case.
33170 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
33172         [BZ #14273]
33173         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33174         Clear sign bit of 64-bit integer value before comparing against
33175         overflow value.
33177         * sysdeps/mach/configure: Regenerated.
33179 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
33181         [BZ #14278]
33182         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33184 2012-06-21  Jeff Law  <law@redhat.com>
33186         [BZ #13882]
33187         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
33188         uint16_t for elements in the "seen" array to avoid char overflows.
33189         * elf/dl-fini.c (_dl_sort_fini): Likewise.
33190         * elf/dl-open.c (dl_open_worker): Likewise.
33192 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
33194         * scripts/list-sources.sh: Scan PORTS for translations.
33195         * po/libc.pot: Regenerated.
33197 2012-06-21  Andreas Jaeger  <aj@suse.de>
33199         [BZ #12194]
33200         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33201         warning.
33202         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33203         * bits/byteswap-16.h (__bswap_16): Likewise.
33204         * bits/byteswap.h (__bswap_constant_16): Likewise.
33206 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
33208         [BZ #14117]
33209         * sysdeps/i386/fpu_control.h: Removed.
33210         * sysdeps/x86_64/fpu_control.h: Moved to ...
33211         * sysdeps/x86/fpu_control.h: Here.
33213         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33214         (_FPU_SETCW): Likewise.
33216 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
33218         [BZ #14117]
33219         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33220         * sysdeps/x86/fpu/bits/mathinline.h: This.
33221         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33223         [BZ #14050]
33224         [BZ #14117]
33225         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33226         functions if __x86_64__ is defined.
33228 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
33230         * string/endian.h: Add !__ASSEMBLER__ condition for including
33231         conversion interfaces.
33233 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
33235         [BZ #14241]
33236         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33237         of ABS(x) in calculating zero to negative powers other than odd
33238         integers.
33239         * math/libm-test.inc (pow_test): Add more tests.
33241 2012-06-15  Andreas Jaeger  <aj@suse.de>
33243         * manual/contrib.texi (Contributors): Update entry of Liubov
33244         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33245         Machado Filho.
33247 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
33249         * string/string.h: Add __wur to GNU version of strerror_r.
33251 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
33253         [BZ #14229]
33254         * string/Makefile (tests): Add tst-strtok_r.
33255         * string/tst-strtok_r.c: New file.
33256         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33257         RAX_LP/RDX_LP on SAVE_PTR.
33259 2012-06-14  Roland McGrath  <roland@hack.frob.com>
33261         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33263 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
33265         * libm_test.inc (csqrt_test): Allow more spurious underflow
33266         exceptions.
33267         (j0_test): Likewise.
33268         (j1_test): Likewise.
33269         (y0_test): Likewise.
33270         (y1_test): Likewise.
33272 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
33274         * po/Makefile (libc.pot): Use UTF-8 charset.
33276 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
33278         [BZ #14210]
33279         Suppress sign-conversion warning from FD_SET.
33280         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33281         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33282         not unsigned long int.
33283         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33285 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
33287         [BZ #14050]
33288         [BZ #14117]
33289         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33290         __extern_always_inline instead of __extern_inline.
33291         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33292         (__signbit): Likewise.
33293         (__signbitl): Support C++ namespace.
33294         (lrintf): New inline function.
33295         (lrint): Likewise.
33296         (llrintf): Likewise.
33297         (llrint): Likewise.
33298         (fmaxf): Likewise.
33299         (fmax): Likewise.
33300         (fminf): Likewise.
33301         (fmin): Likewise.
33302         (rint): Likewise.
33303         (rintf): Likewise.
33304         (ceil): Likewise.
33305         (ceilf): Likewise.
33306         (floor): Likewise.
33307         (floorf): Likewise.
33308         (nearbyint): Likewise.
33309         (nearbyintf): Likewise.
33311 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
33313         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
33314         non-default versions.
33316 2012-06-11  Roland McGrath  <roland@hack.frob.com>
33318         [BZ #14218]
33319         * manual/argp.texi (Argp): Reword argp_parse description slightly.
33321 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
33323         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
33324         (FE_UPWARD, FE_DOWNWARD): Don't define.
33325         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
33326         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33328         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
33329         reading it.
33330         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33331         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33333 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33335         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33336         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
33337         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
33338         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
33340 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
33342         [BZ #14117]
33343         * sysdeps/i386/fpu/bits/fenv.h: Removed.
33344         * sysdeps/i386/fpu/Implies: New file.
33345         * sysdeps/x86_64/fpu/Implies: Likewise.
33346         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
33347         * sysdeps/x86/fpu/bits/fenv.h: This.
33349         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
33350         __SSE_MATH__.
33352 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
33354         [BZ #14134]
33355         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
33356         character 0xffff that matches the last element of the
33357         conversion table.
33359 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33361         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
33362         fmodl commit.
33364 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33366         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
33367         values higher than 25.6283.
33369 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33371         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
33372         subnormal exponent extraction and add some __builtin_expect.
33373         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
33374         Fix for subnormal mantissa calculation.
33376 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
33378         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
33379         cpu2 is -1 and errno is not ENOSYS.
33381 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
33383         [BZ #14117]
33384         * sysdeps/i386/i486/bits/string.h: Renamed to ...
33385         * sysdeps/x86/bits/string.h: This.
33386         * sysdeps/x86_64/bits/string.h: Removed.
33388         * sysdeps/i386/i486/bits/string.h: Define inline functions only
33389         if not compiling for x86-64, but compiling for >= i486.
33391         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33392         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33394         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33395         New macro from Linux kernel 3.4.0.
33396         (FP_XSTATE_MAGIC2): Likewise.
33397         (FP_XSTATE_MAGIC2_SIZE): Likewise.
33398         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33399         (struct _fpx_sw_bytes): New struct.
33400         (struct _xsave_hdr): Likewise.
33401         (struct _ymmh_state): Likewise.
33402         (struct _xstate): Likewise.
33404         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33405         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33406         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33407         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33408         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33409         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33411         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33412         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33413         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33414         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33415         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33416         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33418 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33420         [BZ #13743]
33421         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33422         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33423         (sysdep_headers): Include sys/platform/ppc.h.
33424         * sysdeps/powerpc/test-gettimebase.c: Test for
33425         __ppc_get_timebase() to catch future ISA opcode/insn changes.
33426         * manual/Makefile (appendices): Include platform.texi.
33427         * manual/contrib.texi (Contributors): Update @node pointers.
33428         * manual/maint.texi (Maintenance): Likewise.
33429         (Platform): New node.
33430         * manual/platform.texi: New file.  Document the new features.
33432 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33433             Jakub Jelinek  <jakub@redhat.com>
33435         [BZ #14188]
33436         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33437         where __builtin_expect is unavailable.
33439 2012-06-03  David S. Miller  <davem@davemloft.net>
33441         * stdlib/longlong.h: Updated from GCC.
33443 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
33445         [BZ #14042]
33446         * sysdeps/powerpc/powerpc32/mcount.c: New file.
33447         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33448         __mcount_internal.
33449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33450         (GLIBC_2.16): Likewise.
33452 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33454         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33456 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
33458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33459         (default-abi): New variable.
33460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33461         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33462         variable.
33463         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33464         Likewise.
33465         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33466         Likewise.
33467         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33468         Likewise.
33470         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33471         definition.  Document in comment.
33473 2012-06-01  David S. Miller  <davem@davemloft.net>
33475         * stdlib/longlong.h: Updated from GCC.
33477 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33479         [BZ #14117]
33480         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33481         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33482         sys/debugreg.h sys/io.h here.
33483         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33484         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33485         sys/io.h.
33486         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33487         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33488         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33489         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33490         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33491         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33493         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33494         Define only if __x86_64__ is defined.
33496 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
33498         [BZ #14048]
33499         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33500         Use int64_t for variable i.
33501         * math/libm-test.inc (fmod_test): Add more tests.
33503         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33504         z computation is not scheduled after fetestexcept.
33505         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33506         Use math_force_eval instead of asm to ensure calculation scheduled
33507         before exception test.
33508         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33509         Ensure a1 + u.d computation is not scheduled after fetestexcept.
33511 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
33513         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33514         computation is not scheduled after fetestexcept.
33516 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33518         [BZ #14117]
33519         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33520         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
33522 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33524         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
33525         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33527 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
33529         [BZ #14117]
33530         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
33531         <bits/wordsize.h>.
33532         (__WCHAR_MIN): Support __WORDSIZE == 64.
33533         (__WCHAR_MAX): Likewise.
33535         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
33536         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
33538         [BZ #14183]
33539         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
33540         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
33542         [BZ #14117]
33543         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
33544         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
33546         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
33547         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
33549         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
33550         Defined to 1 if __x86_64__ isn't defined.
33551         (_STAT_VER_LINUX_OLD): New.
33552         (st_atime): Remove duplicate.
33553         (st_mtime): Likewise.
33554         (st_ctime): Likewise.
33556 2012-05-31  David S. Miller  <davem@davemloft.net>
33558         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
33559         entries.
33561 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
33563         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
33564         gen-libm-test.pl.
33566         [BZ #14132]
33567         * elf/dl-reloc.c: Include <_itoa.h>.
33568         (_dl_reloc_bad_type): Remove use of INTUSE.
33569         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
33570         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
33571         * stdio-common/psiginfo.c (psiginfo): Likewise.
33572         * stdio-common/psignal.c (psignal): Likewise.
33573         * string/strsignal.c (strsignal): Likewise.
33574         * include/signal.h (_sys_siglist): Declare hidden proto.
33575         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
33576         INTVARDEF with libc_hidden_data_def.
33577         * stdio-common/itoa-udigits.c: Likewise.
33578         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
33579         (_itoa_lower_digits_internal): Remove declaration.
33580         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
33581         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
33582         (_sys_sigabbrev_internal): Remove aliases.
33583         (_sys_siglist): Define hidden alias.
33585 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
33587         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33588         bits/sysctl.h.
33590 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
33592         [BZ #14117]
33593         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
33594         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
33596         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
33597         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
33598         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
33599         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
33600         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
33601         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
33603         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
33604         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
33605         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
33607         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
33608         with __addr.
33609         (insw): Likewise.
33610         (insl): Likewise.
33611         (outsb): Likewise.
33612         (outsw): Likewise.
33613         (outsl): Likewise.
33615         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
33616         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
33617         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
33619         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
33620         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
33621         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
33622         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
33623         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
33624         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
33626         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
33627         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
33629         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
33630         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
33632         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
33633         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
33634         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
33636         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
33637         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
33638         to ...
33639         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
33641         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
33642         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
33643         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
33645         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
33646         for x86-64.
33647         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
33649 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
33651         * math/math.h (M_El): Use two more decimal places.
33652         (M_LOG2El): Likewise.
33653         (M_LOG10El): Likewise.
33654         (M_LN2l): Likewise.
33655         (M_LN10l): Likewise.
33656         (M_PIl): Likewise.
33657         (M_PI_2l): Likewise.
33658         (M_PI_4l): Likewise.
33659         (M_1_PIl): Likewise.
33660         (M_2_PIl): Likewise.
33661         (M_2_SQRTPIl): Likewise.
33662         (M_SQRT2l): Likewise.
33663         (M_SQRT1_2l): Likewise.
33665 2012-05-31  David S. Miller  <davem@davemloft.net>
33667         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
33668         values between float registers.
33669         * sysdeps/sparc/sparc64/memset.S: Likewise.
33670         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33672 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
33674         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
33675         -D_FORTIFY_SOURCE=1.
33676         (CPPFLAGS-tst-longjmp_chk.c): Define.
33677         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
33678         (CPPFLAGS-tst-longjmp_chk2.c): Define.
33679         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
33680         CFLAGS-tst-wchar-h.c.
33682 2012-05-31  Marek Polacek  <polacek@redhat.com>
33684         [BZ #14132]
33685         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
33686         __endmntent_internal): Remove declaration.
33687         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
33688         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
33689         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
33691 2012-05-30  David S. Miller  <davem@davemloft.net>
33693         * sysdeps/sparc/sparc32/soft-fp/q_util.c
33694         (___Q_simulate_exceptions): Use real FP ops rather than writing
33695         into the %fsr.
33696         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
33697         Likewise.
33699 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33701         [BZ #14117]
33702         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
33703         * sysdeps/x86/bits/xtitypes.h: This.
33705         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
33706         * sysdeps/x86/bits/wordsize.h: This.
33708         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
33709         * sysdeps/x86/bits/huge_vall.h: This.
33711         * sysdeps/i386/bits/select.h: Removed.
33712         * sysdeps/x86_64/bits/select.h: Renamed to ...
33713         * sysdeps/x86/bits/select.h: This.
33715         * sysdeps/i386/bits/setjmp.h: Removed.
33716         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
33717         * sysdeps/x86/bits/setjmp.h: This.
33719         * sysdeps/i386/bits/mathdef.h: Removed.
33720         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
33721         * sysdeps/x86/bits/mathdef.h: This.
33723 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
33725         [BZ #14132]
33726         * include/sys/socket.h (__connect_internal)
33727         (__libc_sa_len_internal): Remove declaration.
33728         (__connect, __libc_sa_len): Declare hidden_proto.
33729         (SA_LEN): Remove use of INTUSE.
33730         * socket/connect.c: Add libc_hidden_def.
33731         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
33732         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
33733         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
33734         alias.
33735         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33736         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
33737         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
33738         of adding _internal alias.
33740 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33742         [BZ #14117]
33743         * sysdeps/i386/bits/link.h: Removed.
33744         * sysdeps/i386/bits/linkmap.h: Likewise.
33745         * sysdeps/x86_64/bits/link.h: Renamed to ...
33746         * sysdeps/x86/bits/link.h: This.
33747         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
33748         * sysdeps/x86/bits/linkmap.h: This.
33750         * sysdeps/i386/bits/endian.h: Removed.
33751         * sysdeps/x86_64/bits/endian.h: Renamed to ...
33752         * sysdeps/x86/bits/endian.h: This.
33754         * sysdeps/i386/bits/byteswap.h: Removed.
33755         * sysdeps/i386/bits/byteswap-16.h: Likewise.
33756         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
33757         * sysdeps/x86/bits/byteswap.h: This.
33758         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
33759         * sysdeps/x86/bits/byteswap-16.h: This.
33760         * sysdeps/i386/Implies: Add x86.
33761         * sysdeps/x86_64/Implies: Likewise.
33763 2012-05-30  David S. Miller  <davem@davemloft.net>
33765         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
33766         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
33767         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33768         (FP_TRAPPING_EXCEPTIONS): Define.
33769         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33770         (FP_TRAPPING_EXCEPTIONS): Define.
33771         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
33772         subnormals only when inexact has been signalled or underflow
33773         exceptions are enabled.
33774         (_FP_PACK_CANONICAL): Likewise.
33776 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33778         [BZ #14183]
33779         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
33780         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
33782 2012-05-30  Richard Henderson  <rth@twiddle.net>
33784         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33785         with #ifndef NOT_IN_libc.
33787         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
33788         marked to avoid plt entry.
33790 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33792         [BZ #14112]
33793         * Makeconfig (default-abi): New macro.
33794         (abi-includes): Likewise.
33795         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
33796         $(abi-$(default-abi)-lib-soname) for soname if defined.
33797         ($(common-objpfx)gnu/lib-names.stmp): Generate from
33798         abi-variants.
33799         * Makefile (installed-stubs): Likewise.
33800         * include/stubs-biarch.h: Removed.
33801         * scripts/lib-names.awk: Only handle one library at a time.
33802         * scripts/soversions.awk: Remove WORDSIZE support.
33803         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33804         entries.
33805         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33806         Removed.
33807         (syscall-list-default-condition): Likewise.
33808         (syscall-list-default-condition): Likewise.
33809         (syscall-list-includes): Likewise.
33810         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33811         syscall-list-* with abi-*.  Handle undefined abi-variants.
33812         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33813         * sysdeps/unix/sysv/linux/i386/Implies: New file.
33814         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33815         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33816         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33817         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33818         Removed.
33819         (syscall-list-32-options): Likewise.
33820         (syscall-list-32-condition): Likewise.
33821         (syscall-list-64-options): Likewise.
33822         (syscall-list-64-condition): Likewise.
33823         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33824         macro.
33825         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33826         Renamed to ...
33827         (abi-*): This.
33828         (abi-64-ld-soname): New macro.
33829         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33830         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33831         Renamed to ...
33832         (abi-*): This.
33833         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33834         * sysdeps/x86_64/x32/shlib-versions: Likewise.
33836 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
33838         * sysdeps/unix/sysv/linux/kernel-features.h
33839         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33840         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33841         include <kernel-features.h>.
33842         [!__NR_ftruncate64]: Remove conditional code.
33843         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33844         [__NR_ftruncate64]: Make code unconditional.
33845         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33846         * sysdeps/unix/sysv/linux/truncate64.c: Do not
33847         include <kernel-features.h>.
33848         [!__NR_ftruncate64]: Remove conditional code.
33849         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33850         [__NR_ftruncate64]: Make code unconditional.
33851         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
33853         include <kernel-features.h>.
33854         [!__NR_ftruncate64]: Remove conditional code.
33855         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33856         [__NR_ftruncate64]: Make code unconditional.
33857         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33859         include <kernel-features.h>.
33860         [!__NR_ftruncate64]: Remove conditional code.
33861         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33862         [__NR_ftruncate64]: Make code unconditional.
33863         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33865         * configure.in (libc_cv_fpie): Weaken to a compile test using
33866         LIBC_TRY_CC_OPTION.
33867         * configure: Regenerated.
33869 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33871         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33872         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33873         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33874         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33875         Refreshed.
33876         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33877         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33878         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33879         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33880         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33881         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33882         Refreshed.
33884 2012-05-27  David S. Miller  <davem@davemloft.net>
33886         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33887         (___Q_zero): New.
33888         (__Q_simulate_exceptions): Return void.  Change to simulate
33889         exceptions by writing into the %fsr.
33890         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33891         (__Qp_handle_exceptions): Likewise.
33892         (numbers): Delete.
33893         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33894         __Qp_handle_exceptions.
33895         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
33896         __Qp_handle_exceptions.
33897         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33898         as unused and give dummy FP_RND_NEAREST initializer.
33899         (FP_INHIBIT_RESULTS): Define.
33900         (___Q_simulate_exceptions): Update declaration.
33901         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
33902         formatting.
33903         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33904         as unused and give dummy FP_RND_NEAREST initializer.
33905         (__Qp_handle_exceptions): Update declaration.
33906         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
33907         formatting.
33909 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
33911         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
33912         the temporary FPU control word.
33913         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33914         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
33915         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33916         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33917         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33918         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33919         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33920         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33921         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33922         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
33923         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33925 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33927         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
33928         fields.
33930 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
33932         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
33933         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
33934         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
33935         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
33936         Likewise.
33937         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
33938         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
33939         Likewise.
33941 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
33943         * po/h.po: Update from translation team.
33945 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
33947         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
33949         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
33950         handling of denormals.
33951         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33952         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33953         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33954         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33955         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33956         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
33957         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
33958         Likewise.
33960 2012-05-26  Marek Polacek  <polacek@redhat.com>
33962         [BZ #14152]
33963         * math/libm-test.inc (fma_test): Don't always expect underflow
33964         exception.
33966 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33968         [BZ #12416]
33969         * elf/tst-execstack.c: Include stackinfo.h.
33970         (do_test): Adjust test case to ensure that pthread_getattr_np
33971         behaviour remains the same after marking stack executable.
33973 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
33975         * sysdeps/unix/sysv/linux/kernel-features.h
33976         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
33977         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
33978         kernel-features.h.
33979         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33980         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33981         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
33982         kernel-features.h.
33983         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33984         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33986 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
33988         * configure.in: Define the default includes to being none.
33989         * configure: Regenerated.
33991 2012-05-25  Roland McGrath  <roland@hack.frob.com>
33993         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
33994         * sysdeps/x86_64/setjmp.S: Likewise.
33995         * sysdeps/i386/bsd-setjmp.S: Likewise.
33996         * sysdeps/i386/bsd-_setjmp.S: Likewise.
33997         * sysdeps/i386/setjmp.S: Likewise.
33998         * sysdeps/i386/__longjmp.S: Likewise.
33999         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34000         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34002         * include/stap-probe.h: New file.
34003         * configure.in: Handle --enable-systemtap.
34004         * configure: Regenerated.
34005         * config.h.in (USE_STAP_PROBE): New #undef.
34006         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
34007         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
34008         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34010 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
34012         [BZ #13717]
34013         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34014         to 2.4.0 where earlier.
34015         * sysdeps/unix/sysv/linux/configure: Regenerated.
34016         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34017         <kernel-features.h>.
34018         [__ASSUME_32BITUIDS]: Make code unconditional.
34019         [!__ASSUME_32BITUIDS]: Remove conditional code.
34020         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
34021         <kernel-features.h>.
34022         [__ASSUME_32BITUIDS]: Make code unconditional.
34023         [!__ASSUME_32BITUIDS]: Remove conditional code.
34024         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
34025         [__ASSUME_32BITUIDS]: Make code unconditional.
34026         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34027         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
34028         <kernel-features.h>.
34029         [__ASSUME_32BITUIDS]: Make code unconditional.
34030         [!__ASSUME_32BITUIDS]: Remove conditional code.
34031         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
34032         <kernel-features.h>.
34033         [__ASSUME_32BITUIDS]: Make code unconditional.
34034         [!__ASSUME_32BITUIDS]: Remove conditional code.
34035         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
34036         <kernel-features.h>.
34037         [__ASSUME_32BITUIDS]: Make code unconditional.
34038         [!__ASSUME_32BITUIDS]: Remove conditional code.
34039         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
34040         <kernel-features.h>.
34041         [__ASSUME_32BITUIDS]: Make code unconditional.
34042         [!__ASSUME_32BITUIDS]: Remove conditional code.
34043         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34044         <kernel-features.h>.
34045         [__ASSUME_32BITUIDS]: Make code unconditional.
34046         [!__ASSUME_32BITUIDS]: Remove conditional code.
34047         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34048         <kernel-features.h>.
34049         [__ASSUME_32BITUIDS]: Make code unconditional.
34050         [!__ASSUME_32BITUIDS]: Remove conditional code.
34051         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
34052         <kernel-features.h>.
34053         [__ASSUME_32BITUIDS]: Make code unconditional.
34054         [!__ASSUME_32BITUIDS]: Remove conditional code.
34055         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34056         <kernel-features.h>.
34057         [__ASSUME_32BITUIDS]: Make code unconditional.
34058         [!__ASSUME_32BITUIDS]: Remove conditional code.
34059         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34060         <kernel-features.h>.
34061         [__ASSUME_32BITUIDS]: Make code unconditional.
34062         [!__ASSUME_32BITUIDS]: Remove conditional code.
34063         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
34064         <kernel-features.h>.
34065         [__ASSUME_32BITUIDS]: Make code unconditional.
34066         [!__ASSUME_32BITUIDS]: Remove conditional code.
34067         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
34068         <kernel-features.h>.
34069         [__NR_setresgid] (__setresgid): Do not declare.
34070         [__ASSUME_32BITUIDS]: Make code unconditional.
34071         [!__ASSUME_32BITUIDS]: Remove conditional code.
34072         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
34073         <kernel-features.h>.
34074         [__NR_setresuid] (__setresuid): Do not declare.
34075         [__ASSUME_32BITUIDS]: Make code unconditional.
34076         [!__ASSUME_32BITUIDS]: Remove conditional code.
34077         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
34078         <kernel-features.h>.
34079         [__ASSUME_32BITUIDS]: Make code unconditional.
34080         [!__ASSUME_32BITUIDS]: Remove conditional code.
34081         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
34082         <kernel-features.h>.
34083         [__ASSUME_32BITUIDS]: Make code unconditional.
34084         [!__ASSUME_32BITUIDS]: Remove conditional code.
34085         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
34086         <kernel-features.h>.
34087         [__ASSUME_32BITUIDS]: Make code unconditional.
34088         [!__ASSUME_32BITUIDS]: Remove conditional code.
34089         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
34090         <kernel-features.h>.
34091         [__ASSUME_32BITUIDS]: Make code unconditional.
34092         [!__ASSUME_32BITUIDS]: Remove conditional code.
34093         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
34094         <kernel-features.h>.
34095         [__ASSUME_32BITUIDS]: Make code unconditional.
34096         [!__ASSUME_32BITUIDS]: Remove conditional code.
34097         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
34098         <kernel-features.h>.
34099         [__ASSUME_32BITUIDS]: Make code unconditional.
34100         [!__ASSUME_32BITUIDS]: Remove conditional code.
34101         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
34102         <kernel-features.h>.
34103         [__ASSUME_32BITUIDS]: Make code unconditional.
34104         [!__ASSUME_32BITUIDS]: Remove conditional code.
34105         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
34106         <kernel-features.h>.
34107         [__ASSUME_32BITUIDS]: Make code unconditional.
34108         [!__ASSUME_32BITUIDS]: Remove conditional code.
34109         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
34110         <kernel-features.h>.
34111         [__ASSUME_32BITUIDS]: Make code unconditional.
34112         [!__ASSUME_32BITUIDS]: Remove conditional code.
34113         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34114         <kernel-features.h>.
34115         [__ASSUME_32BITUIDS]: Make code unconditional.
34116         [!__ASSUME_32BITUIDS]: Remove conditional code.
34117         * sysdeps/unix/sysv/linux/kernel-features.h
34118         (__ASSUME_SETRESUID_SYSCALL): Remove.
34119         (__ASSUME_SETRESGID_SYSCALL): Likewise.
34120         (__ASSUME_32BITUIDS): Likewise.
34121         (__ASSUME_LDT_WORKS): Likewise.
34122         (__ASSUME_O_DIRECTORY): Likewise.
34123         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34124         architecture but not kernel version.
34125         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34126         (__ASSUME_MMAP2_SYSCALL): Likewise.
34127         (__ASSUME_STAT64_SYSCALL): Likewise.
34128         (__ASSUME_IPC64): Likewise.
34129         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34130         <kernel-features.h>.
34131         [__ASSUME_32BITUIDS]: Make code unconditional.
34132         [!__ASSUME_32BITUIDS]: Remove conditional code.
34133         * sysdeps/unix/sysv/linux/opendir.c: Do not include
34134         <kernel-features.h>.
34135         [__ASSUME_O_DIRECTORY]: Make code unconditional.
34136         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34137         132096]: Remove conditional code.
34138         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34139         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34140         <kernel-features.h>.
34141         [__ASSUME_32BITUIDS]: Make code unconditional.
34142         [!__ASSUME_32BITUIDS]: Remove conditional code.
34143         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34144         <kernel-features.h>.
34145         [__ASSUME_32BITUIDS]: Make code unconditional.
34146         [!__ASSUME_32BITUIDS]: Remove conditional code.
34147         * sysdeps/unix/sysv/linux/setegid.c: Do not include
34148         <kernel-features.h>.
34149         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34150         unconditional.
34151         (__setresgid): Do not declare.
34152         [__ASSUME_32BITUIDS]: Make code unconditional.
34153         [!__ASSUME_32BITUIDS]: Remove conditional code.
34154         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34155         <kernel-features.h>.
34156         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34157         unconditional.
34158         (__setresuid): Do not declare.
34159         [__ASSUME_32BITUIDS]: Make code unconditional.
34160         [!__ASSUME_32BITUIDS]: Remove conditional code.
34161         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34162         <kernel-features.h>.
34163         [__ASSUME_32BITUIDS]: Make code unconditional.
34164         [!__ASSUME_32BITUIDS]: Remove conditional code.
34165         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34166         <kernel-features.h>.
34167         [__ASSUME_32BITUIDS]: Make code unconditional.
34168         [!__ASSUME_32BITUIDS]: Remove conditional code.
34170 2012-05-25  Richard Henderson  <rth@twiddle.net>
34172         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34173         dl_hwcap to ifunc resolver.
34174         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34175         elf_ifunc_invoke.
34176         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34177         dl_hwcap to ifunc resolver.
34178         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34180 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34182         [BZ #14153]
34183         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34184         for |x| <= 2**-26, not 2**-57.
34185         * math/libm-test.inc (acos_test): Do not allow spurious underflow
34186         exception.
34188 2012-05-24  Jeff Law  <law@redhat.com>
34190         * stdio-common/Makefile (tests): Add bug25.
34191         * stdio-common/bug25.c: New test.
34193 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
34195         [BZ #13576]
34196         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
34197         multiple of MALLOC_ALIGNMENT in size.
34198         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
34200 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34202         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34203         Require >= 256.
34204         (FILENAME_MAX): Use macro-int-constant.
34205         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
34206         (_IOFBF): Use macro-int-constant.
34207         (_IOLBF): Likewise.
34208         (_IONBF): Likewise.
34209         (SEEK_CUR): Likewise.
34210         (SEEK_END): Likewise.
34211         (SEEK_SET): Likewise.
34212         (TMP_MAX): Likewise.
34213         (EOF): Use macro-int-constant.  Require < 0.
34214         (NULL): Use macro-constant.  Require == 0.
34215         (stdin): Require type to be FILE *.
34216         (stdout): Likewise.
34217         (stderr): Likewise.
34218         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34219         macro-int-constant.
34220         (EXIT_SUCCESS): Likewise.
34221         (NULL): Use macro-constant.  Require == 0.
34222         (RAND_MAX): Use macro-int-constant.
34223         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34224         [C99-based standards] (strtof): Require function.
34225         [C99-based standards] (strtold): Likewise.
34226         [C99-based standards] (strtoll): Likewise.
34227         [C99-based standards] (strtoull): Likewise.
34228         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34229         [ISO || ISO99 || ISO11] (limits.h): Likewise.
34230         [ISO || ISO99 || ISO11] (math.h): Likewise.
34231         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34232         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34233         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34235 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
34237         [BZ #14132]
34238         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34239         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34240         * intl/dgettext.c (DCGETTEXT): Likewise.
34241         * intl/gettext.c (DCGETTEXT): Likewise.
34242         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34243         * posix/regex_internal.h (gettext): Likewise.
34244         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34245         Remove declaration.
34246         * include/argz.h (__argz_count_internal)
34247         (__argz_stringify_internal): Remove declaration.
34248         (__argz_count, __argz_stringify): Declare hidden proto.
34249         * intl/dcgettext.c: Remove use of INTDEF.
34250         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34251         * string/argz-stringify.c: Likewise.
34252         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34253         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34254         Declare hidden proto.
34255         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34256         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34257         Declare hidden proto.
34258         * include/stdio.h (__asprintf_internal): Don't declare.
34259         (__asprintf): Don't define as macro.  Declare hidden proto.
34260         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34261         (__fsetlocking): Declare hidden proto.
34262         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34263         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34264         hidden proto.
34265         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34266         (_IO_setlinebuf): Remove use of INTUSE.
34267         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34268         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34269         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34270         Remove declaration.
34271         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34272         (_IO_do_flush): Remove use of INTUSE.
34273         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34274         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34275         (_IO_adjust_column, _IO_least_wmarker)
34276         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34277         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34278         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34279         (_IO_default_doallocate, _IO_wdefault_doallocate)
34280         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34281         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34282         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34283         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34284         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34285         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34286         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34287         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34288         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34289         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34290         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34291         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34292         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34293         proto.
34294         (_IO_flush_all_internal, _IO_adjust_column_internal)
34295         (_IO_default_uflow_internal, _IO_default_finish_internal)
34296         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34297         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34298         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34299         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34300         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34301         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34302         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34303         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34304         (_IO_file_close_internal, _IO_file_close_it_internal)
34305         (_IO_file_underflow_internal, _IO_file_overflow_internal)
34306         (_IO_file_init_internal, _IO_file_attach_internal)
34307         (_IO_file_fopen_internal, _IO_file_read_internal)
34308         (_IO_file_sync_internal, _IO_file_seek_internal)
34309         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34310         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
34311         (_IO_str_underflow_internal, _IO_str_overflow_internal)
34312         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
34313         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
34314         (_IO_list_all_internal, _IO_link_in_internal)
34315         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
34316         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
34317         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
34318         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
34319         (_IO_do_write_internal, _IO_padn_internal)
34320         (_IO_getline_info_internal, _IO_getline_internal)
34321         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
34322         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
34323         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
34324         (_IO_vfscanf_internal, _IO_vfprintf_internal)
34325         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
34326         (_IO_init_internal, _IO_un_link_internal): Don't declare.
34327         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
34328         with libc_hidden_ver, remove use of INTUSE.
34329         * libio/genops.c: Likewise.
34330         * libio/freopen.c: Likewise.
34331         * libio/freopen64.c: Likewise.
34332         * libio/iofclose.c: Likewise.
34333         * libio/iofdopen.c: Likewise.
34334         * libio/iofflush.c: Likewise.
34335         * libio/iofflush_u.c: Likewise.
34336         * libio/iofgets.c: Likewise.
34337         * libio/iofgets_u.c: Likewise.
34338         * libio/iofopen.c: Likewise.
34339         * libio/iofopncook.c: Likewise.
34340         * libio/iofread.c: Likewise.
34341         * libio/iofread_u.c: Likewise.
34342         * libio/ioftell.c: Likewise.
34343         * libio/iofwrite.c: Likewise.
34344         * libio/iogetline.c: Likewise.
34345         * libio/iogets.c: Likewise.
34346         * libio/iogetwline.c: Likewise.
34347         * libio/iopadn.c: Likewise.
34348         * libio/iopopen.c: Likewise.
34349         * libio/ioseekoff.c: Likewise.
34350         * libio/ioseekpos.c: Likewise.
34351         * libio/iosetbuffer.c: Likewise.
34352         * libio/iosetvbuf.c: Likewise.
34353         * libio/ioungetc.c: Likewise.
34354         * libio/ioungetwc.c: Likewise.
34355         * libio/iovdprintf.c: Likewise.
34356         * libio/iovsprintf.c: Likewise.
34357         * libio/iovsscanf.c: Likewise.
34358         * libio/memstream.c: Likewise.
34359         * libio/obprintf.c: Likewise.
34360         * libio/oldfileops.c: Likewise.
34361         * libio/oldiofclose.c: Likewise.
34362         * libio/oldiofdopen.c: Likewise.
34363         * libio/oldiofopen.c: Likewise.
34364         * libio/oldiopopen.c: Likewise.
34365         * libio/oldstdfiles.c: Likewise.
34366         * libio/putc.c: Likewise.
34367         * libio/setbuf.c: Likewise.
34368         * libio/setlinebuf.c: Likewise.
34369         * libio/stdfiles.c: Likewise.
34370         * libio/strops.c: Likewise.
34371         * libio/vasprintf.c: Likewise.
34372         * libio/vscanf.c: Likewise.
34373         * libio/vsnprintf.c: Likewise.
34374         * libio/vswprintf.c: Likewise.
34375         * libio/wfiledoalloc.c: Likewise.
34376         * libio/wfileops.c: Likewise.
34377         * libio/wgenops.c: Likewise.
34378         * libio/wmemstream.c: Likewise.
34379         * libio/wstrops.c: Likewise.
34380         * libio/__fpurge.c: Likewise.
34381         * libio/__fsetlocking.c: Likewise.
34382         * assert/assert.c: Likewise.
34383         * debug/fgets_chk.c: Likewise.
34384         * debug/fgets_u_chk.c: Likewise.
34385         * debug/fread_chk.c: Likewise.
34386         * debug/fread_u_chk.c: Likewise.
34387         * debug/gets_chk.c: Likewise.
34388         * debug/obprintf_chk.c: Likewise.
34389         * debug/vasprintf_chk.c: Likewise.
34390         * debug/vdprintf_chk.c: Likewise.
34391         * debug/vsnprintf_chk.c: Likewise.
34392         * debug/vsprintf_chk.c: Likewise.
34393         * malloc/mtrace.c: Likewise.
34394         * misc/error.c: Likewise.
34395         * misc/syslog.c: Likewise.
34396         * stdio-common/asprintf.c: Likewise.
34397         * stdio-common/fxprintf.c: Likewise.
34398         * stdio-common/getw.c: Likewise.
34399         * stdio-common/isoc99_fscanf.c: Likewise.
34400         * stdio-common/isoc99_scanf.c: Likewise.
34401         * stdio-common/isoc99_vfscanf.c: Likewise.
34402         * stdio-common/isoc99_vscanf.c: Likewise.
34403         * stdio-common/isoc99_vsscanf.c: Likewise.
34404         * stdio-common/printf-prs.c: Likewise.
34405         * stdio-common/printf_fp.c: Likewise.
34406         * stdio-common/printf_fphex.c: Likewise.
34407         * stdio-common/printf_size.c: Likewise.
34408         * stdio-common/putw.c: Likewise.
34409         * stdio-common/scanf.c: Likewise.
34410         * stdio-common/sprintf.c: Likewise.
34411         * stdio-common/tmpfile.c: Likewise.
34412         * stdio-common/vfprintf.c: Likewise.
34413         * stdio-common/vfscanf.c: Likewise.
34414         * stdlib/strfmon_l.c: Likewise.
34415         * sunrpc/openchild.c: Likewise.
34416         * sunrpc/xdr_stdio.c: Likewise.
34417         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34418         * sysdeps/mach/hurd/tmpfile.c: Likewise.
34420 2012-05-24  Roland McGrath  <roland@hack.frob.com>
34422         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34424         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34425         in the third column, to generate for the shared library an IFUNC
34426         that uses _dl_vdso_vsym.
34427         * Makerules (COMPILE.c, compile-stdin.c): New variables.
34428         * Makeconfig (object-suffixes-noshared): New variable.
34430         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34431         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34432         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34433         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34435         [BZ #14132]
34436         * include/sys/time.h (__gettimeofday): Remove macro.
34437         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34438         * time/gettimeofday.c (__gettimeofday): Remove #undef.
34439         Remove INTDEF.
34440         (__gettimeofday): Add libc_hidden_def.
34441         (gettimeofday): Add libc_hidden_weak.
34442         * sysdeps/mach/gettimeofday.c: Likewise.
34443         * sysdeps/posix/gettimeofday.c: Likewise.
34444         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34445         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34446         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34447         (__gettimeofday_internal): Remove strong_alias.
34448         (__gettimeofday): Add libc_hidden_def.
34449         (gettimeofday): Add libc_hidden_weak.
34450         * sysdeps/unix/syscalls.list (gettimeofday):
34451         Remove __gettimeofday_internal alias.
34453 2012-05-24  Daniel Jacobowitz  <drow@false.org>
34454             H.J. Lu  <hongjiu.lu@intel.com>
34456         [BZ #12495]
34457         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34458         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34459         (largebin_index_32_big): New.
34460         (largebin_index): Use it for 16-byte alignment.
34461         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
34462         correction with front_misalign.
34464 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
34466         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34467         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34468         Likewise.
34469         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34470         Likewise.
34471         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34472         Likewise.
34473         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34474         Likewise.
34475         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34476         Likewise.
34477         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34478         Likewise.
34479         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34480         Likewise.
34481         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34482         Likewise.
34483         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34484         Likewise.
34485         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34486         Likewise.
34487         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34488         Likewise.
34489         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34490         Likewise.
34492         * scripts/data/c++-types-x32-linux-gnu.data: New file.
34493         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34495 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34497         [BZ #10846]
34498         [BZ #14036]
34499         * math/libm-test.inc (exp_test): Add test from bug 14036.
34500         (pow_test): Add test from bug 10846.
34502         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34503         and other flags.
34504         (special_function): Do not include flags in test name.
34505         (parse_args): Likewise.
34506         * sysdeps/i386/fpu/libm-test-ulps: Update.
34507         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34508         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34509         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34512         * math/gen-libm-test.pl (%beautify): Add entries for underflow
34513         exceptions.
34514         * math/libm-test.inc ("Philosophy"): Update comment about
34515         exception testing.
34516         (UNDERFLOW_EXCEPTION): New macro.
34517         (UNDERFLOW_EXCEPTION_OK): Likewise.
34518         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34519         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34520         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
34521         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
34522         (INVALID_EXCEPTION_OK): Update value.
34523         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34524         (OVERFLOW_EXCEPTION_OK): Likewise.
34525         (IGNORE_ZERO_INF_SIGN): Likewise.
34526         (test_exceptions): Handle underflow exceptions.
34527         (acos_test): Update for underflow exception expectations.
34528         (cexp_test): Likewise.
34529         (clog_test): Likewise.
34530         (clog10_test): Likewise.
34531         (csqrt_test): Likewise.
34532         (ctan_test): Likewise.
34533         (ctanh_test): Likewise.
34534         (exp_test): Likewise.
34535         (exp10_test): Likewise.
34536         (exp2_test): Likewise.
34537         (expm1_test): Likewise.
34538         (fma_test): Likewise.
34539         (j0_test): Likewise.
34540         (jn_test): Likewise.
34541         (nexttoward_test): Likewise.
34542         (pow_test): Likewise.
34543         (scalbn_test): Likewise.
34544         (scalbln_test): Likewise.
34545         (tan_test): Likewise.
34546         (y1_test): Likewise.
34547         * sysdeps/i386/fpu/libm-test-ulps: Update.
34548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34550 2012-05-23  David S. Miller  <davem@davemloft.net>
34552         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34553         (__libc_sigaction): Remove unused local variables.
34555 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34557         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
34559 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
34561         mktime: avoid signed integer overflow
34562         * time/mktime.c (__mktime_internal): Do not mishandle the case
34563         where diff == INT_MIN.
34565         mktime: simplify computation of average
34566         * time/mktime.c (ranged_convert): Use new time_t_avg function
34567         instead of rolling our own (probably-slower) code.
34569         mktime: do not assume signed right shift propagates sign bit
34570         * time/mktime.c (isdst_differ): New static function.
34571         (__mktime_internal): No need to normalize tm_isdst now.
34572         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
34573         tm_isdst values.
34575         mktime: merge another wrapv change from gnulib
34576         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
34577         from some compilers.
34579         mktime: remove incorrect attempt at unusual arithmetics
34580         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
34581         The code didn't really work on such machines anyway.
34582         (TYPE_MINIMUM): Assume two's complement.
34583         (twos_complement_arithmetic): Verify that long_int and time_t
34584         are two's complement (or unsigned, in the latter case).
34586         mktime: check signed shifts on long_int and time_t, too
34587         * time/mktime.c (SHR): Check that shifts work as desired
34588         on the types long_int and time_t too, as SHR is used on
34589         such types.
34591         mktime: do not assume 'long' is wide enough
34592         * time/mktime.c (verify): Move decl up.
34593         (long_int): New type.
34594         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
34595         to remove assumption in the code that 'long' is wide enough to
34596         store year values.  This assumption is not true on x32 and on
34597         some non-glibc platforms.
34599         mktime: merge wrapv change from gnulib
34600         * time/mktime.c (WRAPV): New macro.
34601         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
34602         (guess_time_tm, __mktime_internal): Do not assume that signed
34603         integer overflow wraps around; modern compilers generate code
34604         where this assumption is no longer valid.
34606 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34608         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34609         Replace "jmp L(pseudo_end)" with "ret".
34610         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
34611         Likewise.
34613 2012-05-23  Andreas Jaeger  <aj@suse.de>
34615         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
34616         * sysdeps/unix/sysv/linux/poll.c: Remove file.
34618 2012-05-23  Andreas Jaeger  <aj@suse.de>
34619             Maximilian Attems  <max@stro.at>
34621         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
34622         New macros.
34624 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34626         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
34627         code so that pseudo_end is just ret and the stack pointer is
34628         correct also for static library in error case.
34630 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
34632         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
34633         move to syscalls.list.
34634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34639         * manual/install.texi (Running make install): Do not mention Linux
34640         kernel version for which pt_chown is not needed.
34641         (Linux): Do not mention problems with nscd with 2.0 kernels.
34642         * INSTALL: Regenerated.
34644 2012-05-23  Andreas Jaeger  <aj@suse.de>
34646         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
34647         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
34648         macro.
34649         * sysdeps/unix/sysv/linux/s390/bits/mman.h
34650         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34651         * sysdeps/unix/sysv/linux/sh/bits/mman.h
34652         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34653         * sysdeps/unix/sysv/linux/i386/bits/mman.h
34654         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34655         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
34656         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34657         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
34658         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34659         * sysdeps/unix/sysv/linux/bits/in.h
34660         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
34662 2012-05-22  Roland McGrath  <roland@hack.frob.com>
34664         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
34665         (PREPARE_VERSION): Just use assert instead, it will be elided
34666         under [NDEBUG] anyway.
34668 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34670         * sysdeps/unix/sysv/linux/Makefile: Include
34671         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
34672         (sysdep_routines): Remove sysctl.
34673         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
34674         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
34675         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
34676         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
34677         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
34679 2012-05-22  Andreas Jaeger  <aj@suse.de>
34681         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
34682         that pseudo_end is just ret and the stack pointer is correct also
34683         for static library in error case.
34685 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
34687         [BZ #14122]
34688         * nss/nsswitch.c (defconfig_entries): New variable.
34689         (__nss_database_lookup): Don't leak defconfig entries.
34690         (nss_parse_service_list): Don't leak on error paths.
34691         (free_database_entries): New function.
34692         (free_defconfig): New function.
34693         (free_mem): Move common code to free_database_entries.
34695 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34697         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
34698         Add arch_prctl.
34699         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
34701         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34702         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
34703         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
34704         New macro.
34705         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
34706         (INTERNAL_SYSCALL_TYPES): Likewise.
34707         (LOAD_ARGS_TYPES_[1-6]): Likewise.
34708         (LOAD_REGS_TYPES_[1-6]): Likewise.
34709         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
34710         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
34712 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34714         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
34715         copysignl for GLIBC_2_0.
34716         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
34717         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
34718         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
34719         logbl for GLIBC_2_0.
34720         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34721         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34723 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34725         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
34726         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
34728         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34729         Use "neg %eax".
34731         * time/mktime.c: Update copyright years.
34733 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
34735         mktime: merge comment-quoting-style change from gnulib
34736         * time/mktime.c: Quote 'like this' in comments.
34737         The GNU coding standards suggest that we no longer quote `like this',
34738         as "`" and "'" are typically rendered asymmetrically nowadays.
34739         The typical gnulib style is to quote 'like this' when quoting
34740         code, and "like this" when quoting English.
34742         * time/mktime.c (compile-command): Add "-I.".
34744         mktime: merge mktime-internal.h change from gnulib
34745         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
34747         mktime: merge time_r change from gnulib
34748         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
34750         mktime: merge DEBUG change from gnulib
34751         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
34752         case system <time.h> has a #define.
34754         mktime: merge <sys/types.h> change from gnulib
34755         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
34756         since <time.t> is now guaranteed to define time_t.
34758         mktime: merge HAVE_CONFIG_H change from gnulib
34759         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
34761 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34763         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34764         Use "neg %eax".
34766         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
34767         __rlim_t cast.
34768         (struct rusage): Use anonymous union to pad each field to
34769         __syscall_slong_t.
34771 2012-05-21  David S. Miller  <davem@davemloft.net>
34773         * Makefules (o-iterator): Remove .s cases.
34774         (compile-command.s): Delete.
34775         (COMPILE.s): Delete.
34776         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34778 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
34780         * configure.in (libc_cv_predef_stack_protector): Only consider
34781         "foobar" and "__stack_chk_fail" lines in libc_undefs.
34782         * configure: Regenerated.
34784 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
34786         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34787         New macro.  Use R*LP on int and pointer.
34788         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
34789         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34790         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
34791         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34793         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34794         [__WORDSIZE_TIME64_COMPAT32] instead of
34795         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34796         (struct utmp): Likewise.
34797         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34798         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34799         Renamed to ...
34800         (__WORDSIZE_TIME64_COMPAT32): This.
34801         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34802         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34803         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34804         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34805         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34806         (__WORDSIZE_TIME64_COMPAT32): New macro.
34808 2012-05-21  Andreas Jaeger  <aj@suse.de>
34810         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34811         only if [SHARED]. Add prototype for __wcschr_ia32.
34813 2012-05-21  Roland McGrath  <roland@hack.frob.com>
34815         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34816         of %rbp unmolested in the jmp_buf while mangling the low bits.
34817         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34818         unmolested high bits of %rbp while demangling the low bits.
34819         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34821 2012-05-21  Andreas Jaeger  <aj@suse.de>
34823         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34824         * sunrpc/svc_simple.c: Use it for registerrpc.
34825         * sunrpc/xcrypt.c: Use it for passwd2des.
34827         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34829 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
34831         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34832         Don't define if [__SYSCALL_WORDSIZE != 32].
34833         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34834         New macro.
34836 2012-05-21  Bruno Haible  <bruno@clisp.org>
34837             Andreas Jaeger  <aj@suse.de>
34839         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34840         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34841         inptr and inend for must_buffer_ch.
34842         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34843         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34844         * stdio-common/Makefile (tests): Remove bug15.
34845         (bug15-ENV): Remove macro.
34846         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34847         anymore.
34849 2012-05-19  Andreas Jaeger  <aj@suse.de>
34850             Roland McGrath  <roland@hack.frob.com>
34852         * manual/contrib.texi: Completely rewritten. It contains now an
34853         alphabetical list of contributors and their contributions.
34855 2012-05-21  Richard Henderson  <rth@twiddle.net>
34857         * misc/getauxval.c (__getauxval): Use unsigned long int.
34858         * misc/sys/auxv.h: Include <sys/cdefs.h>.
34859         (getauxval): Use unsigned long int.
34861 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
34863         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34865 2012-05-21  Roland McGrath  <roland@hack.frob.com>
34867         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34868         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34869         __alignof__ (long double).
34871 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34873         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34875 2012-05-20  Richard Henderson  <rth@twiddle.net>
34877         * misc/getauxval.c: New file.
34878         * misc/sys/auxv.h: New file.
34879         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34880         (routines): Add getauxval.
34881         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34882         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34883         * elf/dl-sysdep.c (_dl_auxv): Remove.
34884         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34885         * elf/dl-support.c (_dl_auxv): New variable.
34886         (_dl_aux_init): Initialize it.
34887         * manual/startup.texi (Auxiliary Vector): New node.
34888         * sysdeps/generic/bits/hwcap.h: New file.
34889         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34890         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
34891         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34892         * sysdeps/sparc/sysdep.h: ... here.  Include it.
34893         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34894         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
34895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34896         Update.
34897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34898         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
34899         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
34900         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
34901         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34902         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34903         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
34904         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
34906 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34908         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34910 2012-05-19  David S. Miller  <davem@davemloft.net>
34912         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34914 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
34916         [BZ #14123]
34917         * math/s_ccosh.c: Include <float.h>
34918         (__ccosh): Avoid internal overflow calculating sinh and cosh
34919         values before multiplying by sin and cos values.
34920         * math/s_ccoshf.c: Likewise.
34921         * math/s_ccoshl.c: Likewise.
34922         * math/s_csin.c: Likewise.
34923         * math/s_csinf.c: Likewise.
34924         * math/s_csinl.c: Likewise.
34925         * math/s_csinh.c: Likewise.
34926         * math/s_csinhf.c: Likewise.
34927         * math/s_csinhl.c: Likewise.
34928         * math/libm-test.inc (ccos_test): Add more tests.
34929         (ccosh_test): Likewise.
34930         (csin_test): Likewise.
34931         (csinh_test): Likewise.
34932         * sysdeps/i386/fpu/libm-test-ulps: Update.
34933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34935 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
34937         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
34938         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
34940         * sysdeps/x86_64/x32/_itoa.h: Add comment.
34942 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
34944         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
34945         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
34946         * sysdeps/powerpc/soft-fp/Versions: Likewise.
34947         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
34948         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
34949         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
34950         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
34951         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
34952         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
34953         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
34954         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
34955         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
34956         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
34957         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
34958         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
34959         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
34960         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
34961         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
34962         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
34963         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
34964         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
34965         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
34966         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
34967         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
34968         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
34969         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
34970         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
34971         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
34972         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
34973         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
34974         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
34976 2012-05-18  Andreas Jaeger  <aj@suse.de>
34978         * csu/.gitignore: Delete.
34980 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
34982         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
34983         (timex): Use __syscall_slong_t.
34985 2012-05-18  Andreas Jaeger  <aj@suse.de>
34986             Carlos O'Donell  <carlos_odonell@mentor.com>
34988         * manual/install.texi (Configuring and compiling): Update
34989         description about files modified in the source directory.
34990         * INSTALL: Regenerated.
34992 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
34994         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
34995         value.  Use "or" to set return value to -1.
34996         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
34997         negate return value.
34999 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35001         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35002         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
35003         failure if the compiler has Graphite support disabled.
35004         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35005         Likewise.
35006         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
35007         (CFLAGS-memmove.c): Likewise.
35008         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
35009         Likewise.
35011 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35013         * sysdeps/x86_64/x32/_itoa.h: New file.
35015         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
35016         getdents system call only if kernel and user dirents have the
35017         same d_ino and d_off.
35019         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35020         LLONG_MAX != LONG_MAX.
35021         (_itoa_word): Use _ITOA_WORD_TYPE on value.
35022         (_fitoa_word): Likewise.
35024         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
35025         years.
35026         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35027         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35028         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
35030         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
35031         include <bits/wordsize.h>.  Check __x86_64__ instead of
35032         __WORDSIZE.
35033         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
35034         if __x86_64__ is defined.  Use anonymous union on fpstate.
35036         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
35037         anonymous union.
35039 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
35041         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35042         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
35043         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
35044         Refer to _rtld_local_ro instead of _rtld_global_ro.
35045         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35046         Likewise.
35047         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35048         Likewise.
35049         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35050         Likewise.
35051         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35052         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35053         of _rtld_global, and rtld_progname instead of _dl_argv[0].
35055         * sysdeps/powerpc/powerpc32/dl-machine.c
35056         (__elf_machine_runtime_setup) [PROF]: Don't reference
35057         _dl_prof_resolve.
35059 2012-05-18  Andreas Jaeger  <aj@suse.de>
35061         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35062         function only available for GCCs before 3.4 since GCC 3.4
35063         introduced a builtin.
35064         (lrint): Likewise.
35065         (llrintf): Likewise.
35066         (llrint): Likewise.
35067         (fmaxf): Likewise.
35068         (fmax): Likewise.
35069         (fminf): Likewise.
35070         (fmin): Likewise.
35071         (rint): Likewise.
35072         (rintf): Likewise.
35073         (nearbyint): Likewise.
35074         (nearbyintf): Likewise.
35075         (ceil): Likewise.
35076         (ceilf): Likewise.
35077         (floor): Likewise.
35078         (floorf): Likewise.
35080 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35082         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35083         on both fields and cast pointer to __syscall_ulong_t.
35085         * bits/types.h (__fsword_t): New type.
35086         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35087         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35088         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35089         (__FSWORD_T_TYPE): Likewise.
35090         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35091         (__FSWORD_T_TYPE): Likewise.
35092         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35093         (__FSWORD_T_TYPE): Likewise.
35094         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35095         (__FSWORD_T_TYPE): Likewise.
35096         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35097         __SWORD_TYPE with __fsword_t.
35098         (statfs64): Likewise.
35100 2012-05-17  David S. Miller  <davem@davemloft.net>
35102         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35104 2012-05-17  Andreas Jaeger  <aj@suse.de>
35106         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35107         warning.
35109 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35111         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35113 2012-05-17  Andreas Jaeger  <aj@suse.de>
35115         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35116         when it is used.
35118 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
35120         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35122 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35124         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35125         * sysdeps/x86_64/tst-mallocalign1.c: New file.
35127 2012-05-17  Andreas Jaeger  <aj@suse.de>
35128             Carlos O'Donell  <carlos_odonell@mentor.com>
35130         [BZ #14059]
35131         * sysdeps/x86_64/multiarch/init-arch.h
35132         (bit_YMM_Usable): Rename to...
35133         (bit_AVX_Usable): ... this.
35134         (bit_FMA4_Usable): New macro.
35135         (bit_XMM_state): New macro.
35136         (bit_YMM_state): New macro.
35137         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35138         [__ASSEMBLER__] (index_AVX_Usable): ... this.
35139         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35140         (CPUID_OSXSAVE): New macro.
35141         (CPUID_AVX): New macro.
35142         (CPUID_FMA4): New macro.
35143         (index_YMM_Usable): Rename to...
35144         (index_AVX_Usable): ... this.
35145         (HAS_AVX): Use HAS_ARCH_FEATURE.
35146         (HAS_FMA4): Likewise.
35147         (HAS_YMM_USABLE): Remove.
35148         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35149         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35150         are present.
35151         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35152         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35153         * sysdeps/x86_64/multiarch/Makefile: Likewise.
35154         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35155         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35157 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
35159         * math/libm-test.c: Support platforms without multiple rounding modes.
35160         * math/bug-nextafter.c: Support platforms without FP exceptions.
35161         * math/bug-nexttoward.c: Likewise.
35162         * math/test-fenv.c: Likewise.
35163         * math/test-misc.c: Likewise.
35164         * stdlib/bug-getcontext.c: Likewise.
35166 2012-05-17  Andreas Jaeger  <aj@suse.de>
35168         * manual/examples/search.c (critter_cmp): Change signature to
35169         avoid warnings.
35170         * manual/string.texi (Collation Functions): Likewise.
35172 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35174         * bits/types.h: Fold copyright years.
35175         * bits/typesizes.h: Likewise.
35176         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35177         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35178         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35179         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35180         * time/time.h: Likewise.
35182 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
35184         [BZ #208]
35185         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35186         in instead of returning them.  Return void.
35187         (__libc_mallinfo): Accumulate over all arenas.
35188         (__malloc_stats): Adjust for change in int_mallinfo interface.
35190 2012-05-16  Roland McGrath  <roland@hack.frob.com>
35192         [BZ #10375]
35193         * configure.in (NM): Add AC_CHECK_TOOL for it.
35194         (libc_extra_cflags): New substituted variable.
35195         Check for -fstack-protector being used implicitly.
35196         * configure: Regenerated.
35197         * config.make.in (config-extra-cflags): New variable,
35198         gets @libc_extra_cflags@.
35199         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35201         [BZ #10375]
35202         * configure.in: Check for _FORTIFY_SOURCE being predefined.
35203         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35204         * configure: Regenerated.
35205         * config.make.in (CPPUNDEFS): New substituted variable.
35206         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35207         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35208         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35210 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35212         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35213         (mq_attr): Use __syscall_slong_t.
35215 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35217         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35218         Check __x86_64__ instead of __WORDSIZE.
35219         (_STAT_VER_LINUX): Likewise.
35220         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
35221         __syscall_ulong_t and __syscall_slong_t.
35222         (stat64): Likewise.
35224 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35226         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35228 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35230         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35232 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35234         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35235         __syscall_ulong_t.
35237         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35238         include <bits/wordsize.h>.  Check __x86_64__ instead of
35239         __WORDSIZE.
35240         (greg_t): Use "__extension__ long long int" if __x86_64__ is
35241         defined.
35242         (mcontext_t): Replace "unsigned long" with "unsigned long long".
35244         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35245         include <bits/wordsize.h>.  Check __x86_64__ instead of
35246         __WORDSIZE.
35247         (user_regs_struct): Use "__extension__ unsigned long long"
35248         instead of "unsigned long" if __x86_64__ is defined.
35249         (user): Likewise.  Pad after pointer field if __ILP32__ is
35250         defined.
35252 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
35254         * configure.in (makeinfo): Require version 4.5 or later.  Allow
35255         versions 5 to 9.
35256         * configure: Regenerated.
35257         * manual/install.texi (texinfo): Increase version requirement to
35258         4.5 or later.
35259         * INSTALL: Regenerated.
35261         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35263 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35265         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35267         * sysdeps/x86_64/x32/ffs.c: New file.
35269         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35270         __syscall_ulong_t.
35271         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35272         defined.  Use __syscall_ulong_t.
35273         (shminfo): Use __syscall_ulong_t.
35274         (shm_info): Likewise.
35276         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35277         __syscall_ulong_t.
35279         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35280         <bits/wordsize.h>.
35281         (msgqnum_t): Use __syscall_ulong_t.
35282         (msglen_t): Likewise.
35283         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
35284         __syscall_ulong_t.
35286         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35287         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35289         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35291         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35292         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35294         * sysvipc/sys/msg.h (msgbuf): Replace long int with
35295         __syscall_slong_t.
35297         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35298         include <bits/wordsize.h>.  Check __x86_64__ instead of
35299         __WORDSIZE.
35301         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35302         "unsigned long long int" if __x86_64__ is defined.
35303         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35305         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35306         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35307         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35309         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
35310         <stdint.h>.
35311         (GET_PC): Cast to uintptr_t first.
35312         (GET_FRAME): Likewise.
35313         (GET_STACK): Likewise.
35315         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
35316         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
35317         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
35318         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
35319         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
35320         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
35321         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
35322         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
35323         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
35324         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
35325         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
35326         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
35327         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35328         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
35329         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
35330         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
35331         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
35332         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
35333         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
35334         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
35335         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
35336         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
35337         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
35338         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
35339         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
35340         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
35341         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
35342         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
35343         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
35345 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
35347         * Makerules (+depfiles): Also collect depfiles from .oS in
35348         $(extra-objs).
35349         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
35350         .oS, $(libnldbl-routines)).
35352         * Makerules (native-compile-mkdep-flags): Define.
35353         * sunrpc/Makefile (extra-objs): Add $(addprefix
35354         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
35355         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
35356         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
35357         calling $(make-target-directory).
35359 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35361         * bits/types.h (__snseconds_t): Removed.
35362         * time/time.h (struct timespec): Replace __snseconds_t with
35363         __syscall_slong_t.
35364         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
35365         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
35366         Likewise.
35367         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35368         (__SNSECONDS_T_TYPE): Likewise.
35369         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35370         (__SNSECONDS_T_TYPE): Likewise.
35371         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35372         (__SNSECONDS_T_TYPE): Likewise.
35374 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35376         * sysdeps/mach/hurd/bits/typesizes.h
35377         (__SYSCALL_SLONG_TYPE): New macro.
35378         (__SYSCALL_ULONG_TYPE): Likewise.
35380 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35382         * bits/types.h (__syscall_slong_t): New type.
35383         (__syscall_ulong_t): Likewise.
35385         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
35386         (__SYSCALL_ULONG_TYPE): Likewise.
35387         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35388         (__SYSCALL_SLONG_TYPE): Likewise.
35389         (__SYSCALL_ULONG_TYPE): Likewise.
35390         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35391         (__SYSCALL_SLONG_TYPE): Likewise.
35392         (__SYSCALL_ULONG_TYPE): Likewise.
35393         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35394         (__SYSCALL_SLONG_TYPE): Likewise.
35395         (__SYSCALL_ULONG_TYPE): Likewise.
35397 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35399         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35400         Add sigaltstack-offsets.sym.
35401         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35402         <sigaltstack-offsets.h>.
35403         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
35404         longjmp_msg pointer.
35405         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
35406         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35407         signal stack.
35408         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35410 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
35412         * elf/stackguard-macros.h: Remove file.
35413         * sysdeps/generic/stackguard-macros.h: New file.
35414         * sysdeps/i386/stackguard-macros.h: Likewise.
35415         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35416         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35417         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35418         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35419         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35420         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35421         * sysdeps/x86_64/stackguard-macros.h: Likewise.
35422         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35423         <elf/stackguard-macros.h>.
35425         [BZ #14109]
35426         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35427         __aligned__ in attribute.
35428         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35429         (gregset_t): Likewise.
35431 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35433         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35434         * sysdeps/x86_64/64/Implies-after: Here.  New file.
35435         * sysdeps/x86_64/x32/Implies-after: New file.
35437 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35439         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35440         and access return value for _dl_profile_fixup.  Use R10_LP to
35441         load frame size.
35443 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35445         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35447 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35449         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35450         * sysdeps/x86_64/x32/sysdep.h: New file.
35452 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35454         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35455         * sysdeps/x86_64/setjmp.S: Likewise.
35457 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35459         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35460         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35461         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35462         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35463         remove unused global constant.
35465 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
35467         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35468         include of <not-cancel.h>.
35470 2012-05-15  Roland McGrath  <roland@hack.frob.com>
35472         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35474 2012-05-15  Jeff Law  <law@redhat.com>
35475             Andreas Jaeger  <aj@suse.de>
35477         [BZ #13594]
35478         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35479         out from...
35480         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35481         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35482         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35483         code changing __hst_map_handle.map.
35485 2012-05-15  Roland McGrath  <roland@hack.frob.com>
35487         * configure.in (sysnames): Look for Implies-before and Implies-after
35488         files.
35489         * configure: Regenerated.
35491 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35493         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35494         8-byte data alignment with LP_SIZE alignment.
35496 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35498         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35499         into R10_LP.
35501 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35503         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35505 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35507         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35508         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35509         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35510         Likewise.
35511         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35513 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35515         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35516         (stackinfo_sub_sp): Likewise.
35518 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35520         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
35521         RAX_LP.
35523 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35525         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
35526         into R*_LP.
35528 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35530         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
35531         sizes into R*_LP.
35533 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35535         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
35537 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35539         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
35540         into R11_LP and load __x86_64_shared_cache_size_half into
35541         R8_LP.
35543 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35545         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
35546         R8_LP.
35548 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35550         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
35551         logb for POWER7.
35552         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
35553         logbf for POWER7.
35554         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
35555         logbl for POWER7.
35556         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
35557         powerpc32/power7/fpu/s_logb.c via #include.
35558         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
35559         powerpc32/power7/fpu/s_logbf.c via #include.
35560         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
35561         powerpc32/power7/fpu/s_logbl.c via #include.
35563 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
35565         * README.libm: Remove file.
35567 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35569         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
35570         count for x32.  Use R*_LP and omit operand-size suffix.
35572 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35574         * shlib-versions: Move x86_64-.*-linux.* entries to ...
35575         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
35576         * sysdeps/x86_64/x32/shlib-versions: New file.
35578 2012-05-14  Roland McGrath  <roland@hack.frob.com>
35580         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
35581         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
35582         Use _dl_fatal_printf instead.
35584 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
35586         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
35587         set if not set by the user.  Do not allow for being unset.
35588         * sysdeps/unix/sysv/linux/configure: Regenerated.
35590 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35592         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
35593         the `q' suffix from lea and replace .quad with ASM_ADDR.
35595 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35597         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
35598         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
35599         instead of $17.
35600         (PTR_DEMANGLE): Likewise.
35602 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35604         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
35605         (LP_OP): Likewise.
35606         (ASM_ADDR): Likewise.
35607         (RAX_LP): Likewise.
35608         (RBP_LP): Likewise.
35609         (RBX_LP): Likewise.
35610         (RCX_LP): Likewise.
35611         (RDI_LP): Likewise.
35612         (RSI_LP): Likewise.
35613         (RSP_LP): Likewise.
35614         (R8_LP): Likewise.
35615         (R9_LP): Likewise.
35616         (R10_LP): Likewise.
35617         (R10_LP): Likewise.
35618         (R11_LP): Likewise.
35619         (R12_LP): Likewise.
35620         (R13_LP): Likewise.
35621         (R14_LP): Likewise.
35622         (R15_LP): Likewise.
35624 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35626         * sysdeps/x86_64/x32/dl-machine.h: New file.
35628 2012-05-14  Andreas Jaeger  <aj@suse.de>
35630         * manual/Makefile (subdir): Remove export of subdir.
35631         (all): Remove target.
35632         (.PHONY): Remove all from list.
35633         (mkinstalldirs): Remove.
35634         (.PHONY): Remove installdirs from list.
35635         ($(inst_infodir)/libc.info): Use make-target-directory.
35636         (installdirs): Remove.
35637         (subdir_%): Remove.
35638         (glibc-targets): Remove.
35639         (lib): Remove.
35640         (stubs): Remove.
35641         ($(objpfx)stubs ../po/manual.pot): Remove.
35642         ($(objpfx)stamp%): Remove.
35643         (make-target-directory): Remove.
35644         (subdir_install): Remove.
35645         (routines): Remove.
35646         (aux): Remove.
35647         (sources): Remove.
35648         (objects): Remove.
35649         (headers): Remove.
35651         [BZ #13750]
35652         * manual/.gitignore: Remove, it's not needed anymore.
35653         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
35654         all files in it.
35655         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
35656         directory.
35657         (texis): Renamed to $(objpfx)texis.
35658         (texis-path): New, contains path to generated files.
35659         (chapters.%): Use texis-path for complete path, add extra argument
35660         libc-texinfo.sh.
35661         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
35662         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
35663         (summary,texi, stamp-summary): Use complete path of
35664         files. Generate files in build dir.
35665         (dir-add.texi): Build in build dir.
35666         (libm-err.texi,stamp-libm-err): Likewise.
35667         (version.texi, stamp-version): Likewise.
35668         (.%c.texi): Likewise.
35669         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
35670         (mostlyclean): Remove target.
35671         (realclean): Remove target.
35672         (generated): Add new variable with contents from mostlyclean and
35673         realclean, remove entries duplicated in common-mostlyclean, add
35674         stamp-libm-err and stamp-version.
35675         (generated-dirs): Add libc directory.
35676         ($(inst_infodir)/libc.info): Install files from build dir.
35678         * manual/install.texi (Configuring and compiling): Adjust since
35679         the info files are not part of the tar ball anymore.
35681 2012-05-14  Andreas Jaeger  <aj@suse.de>
35683         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
35684         variable.
35686 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
35688         [BZ #13717]
35689         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35690         to 2.2.0 where earlier.
35691         * sysdeps/unix/sysv/linux/configure: Regenerated.
35692         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
35693         Remove conditional code.
35694         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
35695         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
35696         Remove conditional code.
35697         [!__NR_lchown]: Likewise.
35698         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35699         [__NR_lchown]: Likewise.
35700         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
35701         comment referencing __ASSUME_LCHOWN_SYSCALL.
35702         * sysdeps/unix/sysv/linux/i386/sigaction.c
35703         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35704         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35705         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
35706         Remove conditional code.
35707         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
35708         (__protocol_available): Remove #if 0 code.
35709         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
35710         conditional code.
35711         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
35712         * sysdeps/unix/sysv/linux/kernel-features.h
35713         (__ASSUME_GETCWD_SYSCALL): Don't define.
35714         (__ASSUME_REALTIME_SIGNALS): Likewise.
35715         (__ASSUME_PREAD_SYSCALL): Likewise.
35716         (__ASSUME_PWRITE_SYSCALL): Likewise.
35717         (__ASSUME_POLL_SYSCALL): Likewise.
35718         (__ASSUME_LCHOWN_SYSCALL): Likewise.
35719         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
35720         non-SPARC.
35721         (__ASSUME_SIOCGIFNAME): Don't define.
35722         (__ASSUME_MSG_NOSIGNAL): Likewise.
35723         (__ASSUME_SENDFILE): Define unconditionally.
35724         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
35725         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
35726         conditional code.
35727         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
35728         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
35729         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35730         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35731         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
35732         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35733         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
35735         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35736         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35738         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35739         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
35741         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35742         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35744         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35745         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
35747         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35748         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35750         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35751         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
35753         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35754         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35756         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35757         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35758         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
35759         Remove conditional code.
35760         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35761         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35762         Remove conditional code.
35763         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35764         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
35765         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
35766         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35767         Remove conditional code.
35768         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35769         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
35770         Remove conditional code.
35771         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35772         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
35773         Remove conditional code.
35774         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35775         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35776         Remove conditional code.
35777         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35778         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35779         Remove conditional code.
35780         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35781         * sysdeps/unix/sysv/linux/sh/pwrite64.c
35782         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35783         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35784         * sysdeps/unix/sysv/linux/sigaction.c
35785         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35786         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35787         * sysdeps/unix/sysv/linux/sigpending.c
35788         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35789         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35790         * sysdeps/unix/sysv/linux/sigprocmask.c
35791         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35792         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35793         * sysdeps/unix/sysv/linux/sigsuspend.c
35794         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35795         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35796         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35797         (__libc_missing_rt_sigs): Remove.
35798         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35799         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35800         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35801         Remove conditional code.
35802         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35803         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35804         return 1.
35805         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35806         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35807         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35808         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35810 2012-05-14  Andreas Jaeger  <aj@suse.de>
35812         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35813         it's not used in glibc.
35814         (__coshm1): Likewise.
35815         (__acosh1p): Likewise.
35816         (__sgn): Likewise.
35818         * manual/string.texi (Copying and Concatenation): Add missing
35819         variable in concat example.
35820         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35822 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35824         [BZ #14103]
35825         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35826         __builtin_clzl with __builtin_clzll.
35828 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35830         [BZ #14104]
35831         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35832         libc_freeres_ptr.
35834 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35836         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35837         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35838         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35839         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35841 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
35843         * NEWS: Update ia64 info.
35845 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
35847         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35848         used as bcopy.
35850 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
35852         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35853         * sysdeps/unix/syscalls.list (dup3): Likewise.
35854         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35855         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35857 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
35859         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35860         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35862 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
35864         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35865         thread pointer.
35866         (TLS_IE): Use mov/add instead of movq/addq to load thread
35867         pointer.
35868         (TLS_GD_PREFIX): New.
35869         (TLS_GD): Use it.
35871 2012-05-11  David S. Miller  <davem@davemloft.net>
35873         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35874         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35875         (_FPU_SETCW): Likewise.
35877 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35879         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35880         is 32-byte aligned.
35882 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
35884         [BZ #11837]
35885         * iconvdata/gb18030.c: Update tables.
35886         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
35887         characters specially.
35888         (BODY for TO_LOOP): Add encoding of missing ranges.
35890 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
35892         [BZ #13673]
35893         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35894         * sysdeps/mach/hurd/dup3.c: Likewise.
35895         * sysdeps/mach/hurd/readlinkat.c: Likewise.
35896         * sysdeps/powerpc/memmove.c:: Likewise.
35898 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35900         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
35901         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
35903 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35905         * elf/elf.h (R_X86_64_RELATIVE64): New.
35906         (R_X86_64_NUM): Updated.
35907         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35908         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
35909         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
35910         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35911         tst-quad1pie tst-quad2pie
35912         (modules-names): Add tst-quadmod1 tst-quadmod2.
35913         ($(objpfx)tst-quad1): New dependency.
35914         ($(objpfx)tst-quad2): Likewise.
35915         ($(objpfx)tst-quad1pie): Likewise.
35916         ($(objpfx)tst-quad2pie): Likewise.
35917         * sysdeps/x86_64/tst-quad1.c: New file.
35918         * sysdeps/x86_64/tst-quad1pie.c: New file.
35919         * sysdeps/x86_64/tst-quad2.c: Likewise.
35920         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
35921         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
35922         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
35923         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35924         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
35926 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35928         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
35929         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
35930         * streams/stropts.h (t_scalar_t): Define type.
35932         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
35933         (_PATH_PRESERVE): Set to "/var/lib".
35934         (_PATH_RWHODIR): Set to "/var/spool/rwho".
35936         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
35937         instead of int.
35939         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
35940         if __dir_mkfile succeeded.
35942         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
35943         checking for _hurd_dtablesize.  Unlock it right after having
35944         finished _hurd_dtable allocation.
35946 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35948         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
35949         * sysdeps/mach/hurd/configure: Regenerated.
35950         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
35951         special-casing to...
35952         * sysdeps/gnu/configure.in: ... this new file.
35953         * sysdeps/unix/sysv/linux/configure: Regenerated.
35954         * sysdeps/gnu/configure: New generated file.
35956         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
35957         for Linux: use nsec instead of usec, as well as:
35958         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
35959         members of type struct timespec.
35960         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
35961         New macros.
35962         (struct stat64): Likewise.
35963         (_STATBUF_ST_NSEC): New macro.
35964         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
35966         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35967         __strtoul_internal rather than strtoul.
35969 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35971         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
35972         and reject them.
35974 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35976         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
35977         which preserves existing values.
35978         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
35980 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35982         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
35983         TIMEOUT values.  Return EINVAL for NFDS values either negative or
35984         greater than FD_SETSIZE.
35986 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35988         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
35989         allocated, call __vm_protect to finish enabling the existing space, and
35990         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
35991         allocate the remainder.
35993 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35995         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
35996         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
35998 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36000         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36001         sysdeps/mach/hurd/readlink.c.
36003         * posix/tst-sysconf.c (posix_options): Only use
36004         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36005         _POSIX_SYNCHRONIZED_IO when they are defined
36006         * sysdeps/mach/hurd/bits/posix_opt.h:
36007         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
36008         (_XOPEN_REALTIME): Undefine macro.
36009         (_XOPEN_REALTIME_THREADS): Undefine macro.
36010         (_XOPEN_SHM): Undefine macro.
36011         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
36012         macro to -1.
36013         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
36014         macro to -1.
36015         (_POSIX_ASYNC_IO): Undefine macro.
36016         (_POSIX_PRIORITIZED_IO): Undefine macro.
36017         (_POSIX_SPIN_LOCKS): Define macro to -1.
36019         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
36020         SA_NODEFER, SA_RESETHAND.
36021         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
36022         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
36023         F_DUPFD_CLOEXEC.
36025 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36027         * elf/Makefile (pldd-modules): Define unconditionally.
36029 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36031         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
36033 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36035         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
36036         Return ENOENT when name is empty.
36037         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
36039 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36041         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
36043         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36045 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36047         Fix mlock in all cases except non-readable pages.
36048         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36049         instead of VM_PROT_ALL as parameter to __vm_wire function.
36051         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36052         (__mkdir): When path is `/', just fail with EEXIST.
36053         * sysdeps/mach/hurd/mkdirat.c: Likewise.
36055 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36057         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36058         <sys/uio.h> (for writev).
36059         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36060         and <sys/param.h> (for MIN).
36062 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36064         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36065         REQUESTED_TIME.  Properly set the remaining time and return EINTR
36066         if interrupted.
36068 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36070         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
36071         Depend on against $(link-rpcuserlibs).
36073 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36075         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
36076         (__libc_stack_end): Do not use attribute_relro.
36077         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36078         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
36079         to libthread-provided value.
36080         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36081         attribute_relro.
36083 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36085         [BZ #3748]
36086         * bits/libc-lock.h (__libc_once_get): New macro.
36087         * sysdeps/mach/bits/libc-lock.h: Likewise.
36088         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36089         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36090         instead of using implementation details.
36092         * libio/fileops.c: Unconditionally include <kernel-features.h>.
36093         * libio/freopen.c: Likewise.
36094         * libio/freopen64.c: Likewise.
36095         * misc/syslog.c: Likewise.
36096         * nscd/connections.c: Likewise.
36097         * nscd/netgroupcache.c: Likewise.
36098         * sysdeps/posix/getcwd.c: Likewise.
36100 2012-05-10  Roland McGrath  <roland@hack.frob.com>
36102         * math/w_ilogbf.c: Add #include <limits.h>.
36104 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36106         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
36107         path instead of returning without unlocking.
36109         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36110         immediate-write ioctls.
36111         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36113 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36115         * sysdeps/mach/hurd/i386/init-first.c (init): Use
36116         __builtin_frame_address instead of making assumptions about the
36117         location of the return address relative to DATA.  Force early load of
36118         the return address.
36119         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36120         __builtin_frame_address.
36122         dup3 for GNU Hurd.
36123         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36124         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
36125         implement dup3 and do some further code clean-ups.
36126         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36127         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36129 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36131         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36133         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36134         HURD_CRITICAL_END around holding _hurd_dtable_lock.
36135         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36136         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36137         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36138         d->port.lock.
36140         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36141         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
36142         when handler == SIG_ERR, not when handler != SIG_ERR.
36144 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36146         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36147         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36148         definitions.
36150         accept4 for GNU Hurd.
36151         * include/sys/socket.h (__libc_accept4): New prototype.
36152         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
36153         to implement __libc_accept4.
36154         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36155         __libc_accept4.
36156         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36158         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36159         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36160         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36161         signal-defines.sym.
36163 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36165         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
36167 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36169         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36170         assertion on O_CLOEXEC flag.
36171         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36172         * hurd/intern-fd.c: Likewise.
36173         * hurd/port2fd.c: Likewise.
36175 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36177         [BZ #3906]
36178         * bits/in.h (IPV6_PKTINFO): Define new macro.
36179         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36181 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36183         [BZ #13954]
36184         [BZ #13955]
36185         [BZ #13956]
36186         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36187         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36188         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
36189         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36190         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36191         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36192         * math/libm-test.inc (logb_test) : Additional logb tests.
36194 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
36195             Andreas Jaeger  <aj@suse.de>
36197         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
36198         * configure: Regenerated.
36199         * config.h.in (LINK_OBSOLETE_RPC): New macro.
36200         * config.make.in (link-obsolete-rpc): New substituted variable.
36201         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36202         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36203         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36204         (shared-only-routines): Don't set it under [link-obsolete-rpc],
36205         so that libc.a contains the symbols.
36206         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36207         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36208         * sunrpc/auth_none.c: Likewise.
36209         * sunrpc/auth_unix.c: Likewise.
36210         * sunrpc/authdes_prot.c: Likewise.
36211         * sunrpc/authuxprot.c: Likewise.
36212         * sunrpc/clnt_gen.c: Likewise.
36213         * sunrpc/clnt_perr.c: Likewise.
36214         * sunrpc/clnt_raw.c: Likewise.
36215         * sunrpc/clnt_simp.c: Likewise.
36216         * sunrpc/clnt_tcp.c: Likewise.
36217         * sunrpc/clnt_udp.c: Likewise.
36218         * sunrpc/clnt_unix.c: Likewise.
36219         * sunrpc/des_crypt.c: Likewise.
36220         * sunrpc/des_soft.c: Likewise.
36221         * sunrpc/get_myaddr.c: Likewise.
36222         * sunrpc/key_call.c: Likewise.
36223         * sunrpc/key_prot.c: Likewise.
36224         * sunrpc/netname.c: Likewise.
36225         * sunrpc/pm_getmaps.c: Likewise.
36226         * sunrpc/pm_getport.c: Likewise.
36227         * sunrpc/pmap_clnt.c: Likewise.
36228         * sunrpc/pmap_prot.c: Likewise.
36229         * sunrpc/pmap_prot2.c: Likewise.
36230         * sunrpc/pmap_rmt.c: Likewise.
36231         * sunrpc/publickey.c: Likewise.
36232         * sunrpc/rpc_cmsg.c: Likewise.
36233         * sunrpc/rpc_common.c: Likewise.
36234         * sunrpc/rpc_dtable.c: Likewise.
36235         * sunrpc/rpc_prot.c: Likewise.
36236         * sunrpc/rpc_thread.c: Likewise.
36237         * sunrpc/rtime.c: Likewise.
36238         * sunrpc/svc.c: Likewise.
36239         * sunrpc/svc_auth.c: Likewise.
36240         * sunrpc/svc_raw.c: Likewise.
36241         * sunrpc/svc_run.c: Likewise.
36242         * sunrpc/svc_tcp.c: Likewise.
36243         * sunrpc/svc_udp.c: Likewise.
36244         * sunrpc/svc_unix.c: Likewise.
36245         * sunrpc/svcauth_des.c: Likewise.
36246         * sunrpc/xcrypt.c: Likewise.
36247         * sunrpc/xdr.c: Likewise.
36248         * sunrpc/xdr_array.c: Likewise.
36249         * sunrpc/xdr_float.c: Likewise.
36250         * sunrpc/xdr_intXX_t.c: Likewise.
36251         * sunrpc/xdr_mem.c: Likewise.
36252         * sunrpc/xdr_rec.c: Likewise.
36253         * sunrpc/xdr_ref.c: Likewise.
36254         * sunrpc/xdr_sizeof.c: Likewise.
36255         * sunrpc/xdr_stdio.c: Likewise.
36257 2012-05-10  Roland McGrath  <roland@hack.frob.com>
36259         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36260         change.  Update copyright years.
36262 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
36264         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36266 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
36267             Joseph Myers  <joseph@codesourcery.com>
36268             Paul Pluzhnikov  <ppluzhnikov@google.com>
36270         [BZ #14012]
36271         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36272         requiring rpcgen.
36273         [cross-compiling] (extra-libs): Likewise.
36274         [cross-compiling] (extra-libs-others): Likewise.
36275         [cross-compiling] (librpcsvc-routines): Likewise.
36276         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36277         [cross-compiling] (omit-deps): Likewise.
36278         (sunrpc-CPPFLAGS): New variable.
36279         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36280         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36281         (cross-rpcgen-objs): New variable.
36282         (extra-objs): Append $(cross-rpcgen-objs).
36283         ($(cross-rpcgen-objs)): New rule.
36284         ($(objpfx)cross-rpcgen): Likewise.
36285         (rpcgen-cmd): Define to use $(built-program-file).  Expand
36286         comment.
36287         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36288         ($(objpfx)x%.stmp): Likewise.
36289         * sunrpc/proto.h [IS_IN_build] (_): Define.
36290         [IS_IN_build] (_libc_intl_domainname): Likewise.
36292 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36294         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36295         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36296         and R_X86_64_TPOFF64.
36298 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
36300         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36301         sysdeps/unix/sysv/syscalls.list.
36302         (stime): Likewise.
36303         (utime): Likewise.
36304         * sysdeps/unix/sysv/syscalls.list: Remove file.
36306 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
36308         [BZ #3440]
36309         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36310         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
36311         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
36312         (__LC_IDENTIFICATION): Make these macros useful in #if
36313         expressions, as required by C99.
36315 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
36317         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
36318         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
36319         after this.
36321 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
36323         * stdlib/longlong.h: Updated from GCC.
36325 2012-05-09  Andreas Jaeger  <aj@suse.de>
36327         * nscd/nscd.c (run_modes): Make named enum, reorder so that
36328         default is first entry.
36329         (run_mode): Set type.
36330         (main): Remove informal message about syslog.
36331         (options): Fix typo.
36333         [BZ #14053]
36334         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
36335         to asm.
36336         (lrint): Likewise.
36337         (llrintf): Likewise.
36338         (llrint): Likewise.
36339         (rint): Likewise.
36340         (rintf): Likewise.
36341         (nearbyint): Likewise.
36342         (nearbyintf): Likewise.
36344 2012-05-09  Andreas Jaeger  <aj@suse.de>
36345             Pedro Alves  <palves@redhat.com>
36347         * nscd/nscd.c (run_mode): Use enum.
36348         (main): Cleanup coding style issue.
36350 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
36351             Andreas Jaeger  <aj@suse.de>
36353         * nscd/nscd.c (go_background): Replaced with...
36354         (run_mode): ... this.
36355         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
36356         (options): Add -F --foreground.
36357         (main): Implement it.
36358         (parse_opt): Parse it.
36360 2012-05-09  Andreas Jaeger  <aj@suse.de>
36362         [BZ #14083]
36363         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
36364         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
36365         -Wconversion warning.
36366         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
36367         Likewise.
36369 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
36371         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
36372         == 0.
36373         (LC_ALL): Use macro-int-constant.
36374         (LC_COLLATE): Likewise.
36375         (LC_CTYPE): Likewise.
36376         (LC_MESSAGES): Likewise.
36377         (LC_MONETARY): Likewise.
36378         (LC_NUMERIC): Likewise.
36379         (LC_TIME): Likewise.
36380         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
36381         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36382         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36383         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
36384         Specify type.
36385         [C99-based standards] (float_t): Expect type.
36386         [C99-based standards] (double_t): Expect type.
36387         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
36388         type.
36389         [C99-based standards] (HUGE_VALL): Likewise.
36390         [C99-based standards] (INFINITY): Likewise.
36391         [C99-based standards] (NAN): Likewise.
36392         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36393         [C99-based standards] (FP_NAN): Likewise.
36394         [C99-based standards] (FP_NORMAL): Likewise.
36395         [C99-based standards] (FP_SUBNORMAL): Likewise.
36396         [C99-based standards] (FP_ZERO): Likewise.
36397         [C99-based standards] (FP_FAST_FMA): Use
36398         optional-macro-int-constant.  Specify type.  Require == 1.
36399         [C99-based standards] (FP_FAST_FMAF): Likewise.
36400         [C99-based standards] (FP_FAST_FMAL): Likewise.
36401         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36402         [C99-based standards] (FP_ILOGBNAN): Likewise.
36403         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36404         Specify type.
36405         [C99-based standards] (MATH_ERREXCEPT): Likewise.
36406         [C99-based standards] (math_errhandling): Specify type.
36407         [ISO99 || ISO11] (signgam): Do not allow.
36408         [non-C99-based standards] (copysignf): Do not allow.
36409         [non-C99-based standards] (exp2f): Likewise.
36410         [non-C99-based standards] (log2f): Likewise.
36411         [non-C99-based standards] (modff): Allow.
36412         [non-C99-based standards] (erff): Do not allow.
36413         [non-C99-based standards] (erfcf): Likewise.
36414         [non-C99-based standards] (gammaf): Likewise.
36415         [non-C99-based standards] (hypotf): Likewise.
36416         [non-C99-based standards] (j0f): Likewise.
36417         [non-C99-based standards] (j1f): Likewise.
36418         [non-C99-based standards] (jnf): Likewise.
36419         [non-C99-based standards] (lgammaf): Likewise.
36420         [non-C99-based standards] (tgammaf): Likewise.
36421         [non-C99-based standards] (y0f): Likewise.
36422         [non-C99-based standards] (y1f): Likewise.
36423         [non-C99-based standards] (ynf): Likewise.
36424         [non-C99-based standards] (isnanf): Likewise.
36425         [non-C99-based standards] (acoshf): Likewise.
36426         [non-C99-based standards] (asinhf): Likewise.
36427         [non-C99-based standards] (atanhf): Likewise.
36428         [non-C99-based standards] (cbrtf): Likewise.
36429         [non-C99-based standards] (expm1f): Likewise.
36430         [non-C99-based standards] (ilogbf): Likewise.
36431         [non-C99-based standards] (log1pf): Likewise.
36432         [non-C99-based standards] (logbf): Likewise.
36433         [non-C99-based standards] (nextafterf): Likewise.
36434         [non-C99-based standards] (remainderf): Likewise.
36435         [non-C99-based standards] (rintf): Likewise.
36436         [non-C99-based standards] (scalbf): Likewise.
36437         [non-C99-based standards] (copysignl): Likewise.
36438         [non-C99-based standards] (exp2l): Likewise.
36439         [non-C99-based standards] (log2l): Likewise.
36440         [non-C99-based standards] (modfl): Allow.
36441         [non-C99-based standards] (erfl): Do not allow.
36442         [non-C99-based standards] (erfcl): Likewise.
36443         [non-C99-based standards] (gammal): Likewise.
36444         [non-C99-based standards] (hypotl): Likewise.
36445         [non-C99-based standards] (j0l): Likewise.
36446         [non-C99-based standards] (j1l): Likewise.
36447         [non-C99-based standards] (jnl): Likewise.
36448         [non-C99-based standards] (lgammal): Likewise.
36449         [non-C99-based standards] (tgammal): Likewise.
36450         [non-C99-based standards] (y0l): Likewise.
36451         [non-C99-based standards] (y1l): Likewise.
36452         [non-C99-based standards] (ynl): Likewise.
36453         [non-C99-based standards] (isnanl): Likewise.
36454         [non-C99-based standards] (acoshl): Likewise.
36455         [non-C99-based standards] (asinhl): Likewise.
36456         [non-C99-based standards] (atanhl): Likewise.
36457         [non-C99-based standards] (cbrtl): Likewise.
36458         [non-C99-based standards] (expm1l): Likewise.
36459         [non-C99-based standards] (ilogbl): Likewise.
36460         [non-C99-based standards] (log1pl): Likewise.
36461         [non-C99-based standards] (logbl): Likewise.
36462         [non-C99-based standards] (nextafterl): Likewise.
36463         [non-C99-based standards] (remainderl): Likewise.
36464         [non-C99-based standards] (rintl): Likewise.
36465         [non-C99-based standards] (scalbl): Likewise.
36466         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36467         [non-C99-based standards] (FP_*): Do not allow.
36468         [C99-based standards] (FP_*): Change to
36469         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36470         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36471         allow.
36472         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36473         (SIG_ERR): Likewise.
36474         [X/Open-based standards] (SIG_HOLD): Likewise.
36475         (SIG_IGN): Likewise.
36476         (SIGABRT): Use macro-int-constant.  Specify type.  Require
36477         positive value.
36478         (SIGFPE): Likewise.
36479         (SIGILL): Likewise.
36480         (SIGINT): Likewise.
36481         (SIGSEGV): Likewise.
36482         (SIGTER): Likewise.
36483         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36484         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36485         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36486         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36487         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36488         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36489         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36490         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36491         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36492         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36493         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36494         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36495         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36496         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36497         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36498         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36499         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36500         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36501         [X/Open-based standards] (SIGTRAP): Likewise.
36502         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36503         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36504         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36505         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36506         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36507         allow.
36509 2012-05-08  Ian Wienand  <ianw@vmware.com>
36511         [BZ #14080]
36512         * time/tzset.c (__tzset_parse_tz): Update default rules for
36513         daylight time changes in the Energy Policy Act of 2005.
36515 2012-05-09  Andreas Jaeger  <aj@suse.de>
36517         [BZ #13983]
36518         * elf/ldconfig.c (parse_conf): Change string to make clear that
36519         ldconfig only issued a warning if ld.so.conf does not exist.
36521 2012-05-08  David S. Miller  <davem@davemloft.net>
36523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
36524         movxtod instead of popping the value on the stack.
36526         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36528 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
36530         * config.h.in: Add HAVE_ARM_PCS_VFP.
36532 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
36534         [BZ #13979]
36535         * include/features.h: Warn if user requests __FORTIFY_SOURCE
36536         checking but the checks are disabled for any reason.
36538 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
36540         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
36541         and ELF64_R_TYPE with ELFW(R_TYPE).
36543 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
36545         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
36546         (ulimit): Likewise.
36548         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
36549         (settimeofday): Likewise.
36551 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
36553         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
36554         a struct th_u2 inside the union, and move tu_block/tu_code into
36555         a new th_u3 union of tu_block/tu_code inside of that.  Move
36556         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
36557         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
36558         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
36559         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
36560         (th_stuff): Change to th_u1.tu_stuff.
36561         (th_data): Define.
36562         (th_msg): Change to th_u1.th_u2.tu_data.
36564 2012-05-07  David S. Miller  <davem@davemloft.net>
36566         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36568         [BZ #14074]
36569         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
36570         (SETUP_PIC_REG): Use it.
36571         (SETUP_PIC_REG_LEAF): Use it.
36573 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
36575         [BZ #13885]
36576         [BZ #13923]
36577         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36578         USE_AS_EXPM1L.
36579         (EXPL_FINITE): Likewise.
36580         (FLDLOG): Likewise.
36581         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36582         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36583         e_expl.S.
36584         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36585         USE_AS_EXPM1L.
36586         (EXPL_FINITE): Likewise.
36587         (FLDLOG): Likewise.
36588         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36589         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36590         e_expl.S.
36591         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
36592         test of -max_value argument for long double.
36593         * sysdeps/i386/fpu/libm-test-ulps: Update.
36594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36596 2012-05-06  David S. Miller  <davem@davemloft.net>
36598         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
36599         quad soft-float symbols whose references which are compiler
36600         generated.
36601         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36603 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
36605         [BZ #13884]
36606         [BZ #13914]
36607         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36608         USE_AS_EXP10L.
36609         (EXPL_FINITE): Likewise.
36610         (FLDLOG): Likewise.
36611         (c0): Likewise.
36612         (c1): Likewise.
36613         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
36614         Adjust comments for base varying.
36615         (__expl_finite): Change alias to EXPL_FINITE.
36616         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
36617         e_expl.S.
36618         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
36619         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36620         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36621         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
36622         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36623         USE_AS_EXP10L.
36624         (EXPL_FINITE): Likewise.
36625         (FLDLOG): Likewise.
36626         (c0): Likewise.
36627         (c1): Likewise.
36628         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
36629         Adjust comments for base varying.
36630         (__expl_finite): Change alias to EXPL_FINITE.
36631         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
36632         tests for bugs.
36633         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36635         [BZ #14064]
36636         * math/libm-test.inc (check_float_internal): Correct ulp
36637         calculation for subnormal expected results.
36639 2012-05-06  Andreas Jaeger  <aj@suse.de>
36641         * Makeconfig (+math-flags): New, set to -frounding-math.
36642         (+cflags): Add +math-flags so that all of glibc gets compiled with
36643         it.
36645         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
36647 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
36649         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
36650         Disable one test.
36652         [BZ #13787]
36653         [BZ #13922]
36654         [BZ #14036]
36655         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
36656         (__ieee754_expl): Allow for and saturate large arguments.
36657         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
36658         (u_threshold): Likewise.
36659         (__exp): Call __ieee754_exp before checking for overflow and
36660         underflow.
36661         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
36662         (u_threshold): Likewise.
36663         (__expf): Call __ieee754_expf before checking for overflow and
36664         underflow.
36665         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
36666         (u_threshold): Likewise.
36667         (__expl): Call __ieee754_expl before checking for overflow and
36668         underflow.
36669         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
36670         (__ieee754_expl): Allow for and saturate large arguments.
36671         * math/libm-test.inc (exp_test): Add another test.  Do not allow
36672         missing overflow exception on overflow.
36673         (expm1_test): Do not allow missing overflow exception on overflow.
36675         * sysdeps/i386/fpu/e_expl.c: Move to ...
36676         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
36677         rather than using inline asm.
36678         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
36679         * sysdeps/x86_64/fpu/e_expl.S: Copy from
36680         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
36682         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
36683         (nice): Likewise.
36684         (poll): Likewise.
36685         (signal): Likewise.
36686         (time): Likewise.
36687         (times): Likewise.
36689 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
36691         * sysdeps/unix/syscalls.list (adjtime): Add entry from
36692         sysdeps/unix/common/syscalls.list.
36693         (fchmod): Likewise.
36694         (fchown): Likewise.
36695         (ftruncate): Likewise.
36696         (getrusage): Likewise.
36697         (gettimeofday): Likewise.
36698         (setpgid): Likewise.
36699         (setregid): Likewise.
36700         (setreuid): Likewise.
36701         (sigaction): Likewise.
36702         (truncate): Likewise.
36703         (vhangup): Likewise.
36704         * sysdeps/unix/common/syscalls.list: Remove file.
36705         * sysdeps/unix/bsd/Implies: Don't include unix/common.
36706         * sysdeps/unix/sysv/linux/Implies: Likewise.
36708 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
36710         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
36711         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
36712         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
36713         Moved to ...
36714         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36715         Here.
36716         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
36717         to ...
36718         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
36719         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
36720         to ...
36721         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
36722         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
36723         to ...
36724         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
36725         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
36726         to ...
36727         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
36728         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
36729         to ...
36730         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
36731         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
36732         to ...
36733         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
36734         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
36735         to ...
36736         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36737         Here.
36738         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
36739         to ...
36740         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
36741         Here.
36742         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36743         to ...
36744         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
36745         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
36746         Moved to ...
36747         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
36748         Here.
36749         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
36750         to ...
36751         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
36753 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
36755         * sysdeps/unix/common/bits/dirent.h: Remove file.
36756         * sysdeps/unix/common/bits/fcntl.h: Likewise.
36758         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
36759         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
36760         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
36761         * sysdeps/unix/bsd/isatty.c: Likewise.
36762         * sysdeps/unix/bsd/tcdrain.c: Likewise.
36763         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
36764         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
36766 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36768         [BZ #13563]
36769         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
36770         long double comparison inaccuracies.
36771         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36772         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36774 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
36776         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
36777         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
36779 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
36781         [BZ #14049]
36782         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36783         nonzero digits before rounding a hex value.
36784         * stdlib/tst-strtod.c (tests): Add another test.
36786 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36788         * sysdeps/s390/fpu/libm-test-ulps: Update.
36790 2012-05-03  Andreas Jaeger  <aj@suse.de>
36792         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36793         does not get optimized out.
36794         (malloc_opt_barrier): New.
36796 2012-05-03  Andreas Jaeger  <aj@suse.de>
36797             Roland McGrath  <roland@hack.frob.com>
36799         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
36800         intermediate file deletion.
36801         (generated): Add .symlist files.
36803 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
36805         [BZ #13775]
36806         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36807         Redirect under this condition.
36808         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36809         [__USE_GNU] (__dprintf_chk): Not under this condition.
36810         [__USE_GNU] (__vdprintf_chk): Likewise.
36811         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36812         under this condition.
36813         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36814         [__USE_XOPEN2K8] (dprintf): Define under this condition.
36815         [__USE_XOPEN2K8] (vdprintf): Likewise.
36816         [__USE_GNU] (__dprintf_chk): Not under this condition.
36817         [__USE_GNU] (__vdprintf_chk): Likewise.
36818         [__USE_GNU] (dprintf): Likewise.
36819         [__USE_GNU] (vdprintf): Likewise.
36821 2012-05-03  Roland McGrath  <roland@hack.frob.com>
36823         * elf/Makefile (common-generated): Set this instead of generated for
36824         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
36825         $(all-built-dso)-derived lists.
36827 2012-05-03  Andreas Jaeger  <aj@suse.de>
36829         * sysdeps/i386/fpu/libm-test-ulps: Update.
36831         * FAQ: Removed.
36832         * FAQ.in: Likewise.
36833         * scripts/gen-FAQ.pl: Likewise.
36834         * manual/install.texi (Installation): Point to online location of
36835         FAQ.
36836         * Makefile (files-for-dist): Remove FAQ.
36837         (FAQ): Remove.
36839 2012-05-02  Allan McRae  <allan@archlinux.org>
36841         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36842         (LDFLAGS-reldepmod5.so): Likewise.
36843         (LDFLAGS-reldep6mod1.so): Likewise.
36844         (LDFLAGS-reldep6mod4.so): Likewise.
36845         (LDFLAGS-reldep8mod3.so): Likewise.
36846         (LDFLAGS-unload4mod1.so): Likewise.
36847         (LDFLAGS-unload4mod2.so): Likewise.
36848         (LDFLAGS-tst-initorder): Likewise.
36849         (LDFLAGS-tst-initordera2.so): Likewise.
36850         (LDFLAGS-tst-initordera3.so): Likewise.
36851         (LDFLAGS-tst-initordera4.so): Likewise.
36852         (LDFLAGS-tst-initorderb2.so): Likewise.
36853         (LDFLAGS-noload): Likewise.
36854         (LDFLAGS-next): Likewise.
36855         (LDFLAGS-order2mod1.so): Likewise.
36856         (LDFLAGS-order2mod2.so): Likewise.
36857         (LDFLAGS-tst-initorder2): Likewise.
36858         (LDFLAGS-tst-initorder2a.so): Likewise.
36859         (LDFLAGS-tst-initorder2b.so): Likewise.
36860         (LDFLAGS-tst-initorder2c.so): Likewise.
36861         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36863 2012-05-02  David S. Miller  <davem@davemloft.net>
36865         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36867 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
36869         [BZ #14055]
36870         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36872 2012-05-02  Andreas Jaeger  <aj@suse.de>
36874         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36875         since we manipulate rounding mode.
36876         (CPPFLAGS-test-idouble.c): Likewise.
36877         (CPPFLAGS-test-ifloat.c): Likewise.
36878         (CFLAGS-test-ldouble.c): Likewise.
36879         (CFLAGS-test-double.c): Likewise.
36880         (CFLAGS-test-float.c): Likewise.
36881         (CFLAGS-test-misc.c): Likewise.
36882         (CFLAGS-test-test-fenv.c): Likewise.
36884 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36886         [BZ #2550]
36887         [BZ #2570]
36888         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36889         comparisons to determine direction to adjust input.
36891 2012-05-01  Roland McGrath  <roland@hack.frob.com>
36893         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36894         output to the target.
36896         * scripts/localplt.awk: New file.
36897         * elf/Makefile ($(objpfx)check-localplt): Target removed.
36898         (check-localplt-CFLAGS): Variable removed.
36899         ($(all-built-dso:=.jmprel)): New static pattern rule.
36900         (generated): Add those targets.
36901         (localplt-built-dso): New variable.
36902         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
36904         * elf/check-localplt.c: File removed.
36906         * scripts/check-execstack.awk: New file.
36907         * elf/Makefile ($(objpfx)check-execstack): Target removed.
36908         (check-execstack-CFLAGS): Variable removed.
36909         ($(objpfx)check-execstack.h): Target removed.
36910         ($(objpfx)execstack-default): New target.
36911         (generated): Add that instead of check-execstack.h.
36912         ($(all-built-dso:=.phdr)): New static pattern rule.
36913         (generated): Add those targets.
36914         * elf/check-execstack.c: File removed.
36916         * scripts/check-textrel.awk: New file.
36917         * elf/Makefile ($(objpfx)check-textrel): Target removed.
36918         (check-textrel-CFLAGS): Variable removed.
36919         (all-built-dso): Use := to define.o
36920         ($(all-built-dso:=.dyn)): New static pattern rule.
36921         (generated): Add those targets.
36922         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
36923         * config.make.in (READELF): New substituted variable.
36924         * elf/check-textrel.c: File removed.
36926 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
36928         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36929         allow.
36930         * conform/data/ctype.h-data [C99-based standards] (isblank):
36931         Expect function.
36932         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
36933         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
36934         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36935         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
36936         Specify type.  Require positive value.
36937         (EILSEQ): Likewise.
36938         (ERANGE): Likewise.
36939         [ISO || POSIX] (EILSEQ): Do not expect.
36940         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
36941         Specify type.  Require positive value.
36942         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
36943         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
36944         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
36945         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
36946         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
36947         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
36948         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
36949         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
36950         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
36951         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
36952         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
36953         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
36954         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
36955         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
36956         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
36957         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
36958         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
36959         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
36960         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
36961         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
36962         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
36963         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
36964         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
36965         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
36966         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
36967         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
36968         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
36969         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
36970         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
36971         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
36972         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
36973         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
36974         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
36975         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
36976         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
36977         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
36978         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
36979         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
36980         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
36981         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
36982         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
36983         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
36984         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
36985         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
36986         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
36987         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
36988         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
36989         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
36990         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
36991         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
36992         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
36993         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
36994         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
36995         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
36996         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
36997         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
36998         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
36999         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37000         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37001         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37002         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37003         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37004         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37005         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
37006         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
37007         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
37008         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
37009         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
37010         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
37011         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
37012         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
37013         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
37014         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
37015         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
37016         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
37017         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
37018         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
37019         Require >= 2.
37020         (FLT_ROUNDS): Expect as macro, not constant.
37021         (FLT_MANT_DIG): Use macro-int-constant.
37022         (DBL_MANT_DIG): Likewise.
37023         (LDBL_MANT_DIG): Likewise.
37024         (FLT_DIG): Likewise.
37025         (DBL_DIG): Likewise.
37026         (LDBL_DIG): Likewise.
37027         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
37028         (DBL_MIN_EXP): Likewise.
37029         (LDBL_MIN_EXP): Likewise.
37030         (FLT_MAX_EXP): Use macro-int-constant.
37031         (DBL_MAX_EXP): Likewise.
37032         (LDBL_MAX_EXP): Likewise.
37033         (FLT_MAX_10_EXP): Likewise.
37034         (DBL_MAX_10_EXP): Likewise.
37035         (LDBL_MAX_10_EXP): Likewise.
37036         (FLT_MAX): Use macro-constant.
37037         (DBL_MAX): Likewise.
37038         (LDBL_MAX): Likewise.
37039         (FLT_EPSILON): Use macro-constant.  Give upper bound.
37040         (DBL_EPSILON): Likewise.
37041         (LDBL_EPSILON): Likewise.
37042         (FLT_MIN): Likewise.
37043         (DBL_MIN): Likewise.
37044         (LDBL_MIN): Likewise.
37045         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37046         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37047         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37048         [ISO11] (FLT_HAS_SUBNORM): Likewise.
37049         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37050         [ISO11] (DBL_DECIMAL_DIG): Likewise.
37051         [ISO11] (FLT_DECIMAL_DIG): Likewise.
37052         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37053         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37054         [ISO11] (FLT_TRUE_MIN): Likewise.
37055         [ISO11] (LDBL_TRUE_MIN): Likewise.
37056         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37057         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37058         (SCHAR_MIN): Use macro-int-constant.  Specify type.
37059         (SCHAR_MAX): Likewise.
37060         (UCHAR_MAX): Likewise.
37061         (CHAR_MIN): Likewise.
37062         (CHAR_MAX): Likewise.
37063         (MB_LEN_MAX): Use macro-int-constant.
37064         (SHRT_MIN): Use macro-int-constant.  Specify type.
37065         (SHRT_MAX): Likewise.
37066         (USHRT_MAX): Likewise.
37067         (INT_MAX): Likewise.
37068         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
37069         bound negative.
37070         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37071         bound with "U".
37072         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37073         bound with "L".
37074         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
37075         bound negative.  Suffix upper bound with "L".
37076         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37077         bound with "UL".
37078         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37079         Specify type.
37080         [C99-based standards] (LLONG_MAX): Likewise.
37081         [C99-based standards] (ULLONG_MAX): Likewise.
37082         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
37083         == 0.
37084         [ISO11] (max_align_t): Require type.
37085         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37087         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37088         from $CFLAGS, without defining away __attribute__ calls.
37089         (checknamespace): Use $CFLAGS_namespace.
37091         * conform/conformtest.pl (@keywords): Only include C99 keywords
37092         for standards based on C99 or C11.
37094         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37095         Disable tests.
37096         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37097         UNIX98]: Likewise.
37099         * conform/conformtest.pl: Handle "macro-int-constant" and test for
37100         usability of symbols in #if.
37102         * conform/conformtest.pl: If macro or constant types start
37103         "promoted:", expect the symbol to be of the following type
37104         promoted by the integer promotions.
37106         * conform/conformtest.pl: Parse all "constant" and "macro" lines
37107         in one place.  Also handle "macro-constant".
37109         * conform/conformtest.pl: Only accept expected macro values with
37110         "==".  Parse all "macro" lines in one place.
37111         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37113         * conform/conformtest.pl: Handle braced types on "constant" lines
37114         instead of handling "typed-constant".
37115         * conform/data/signal.h-data: Use "constant" instead of
37116         "typed-constant".
37118         * conform/conformtest.pl: Handle "optional-" at start of lines in
37119         one place rather than duplicating several cases.  Handle each
37120         format of "macro" line with initial "optional-".
37122         * conform/conformtest.pl: Only accept expected constant or
37123         optional-constant values with "==".  Parse all "constant" lines in
37124         one place.  Parse all "optional-constant" lines in one place.
37125         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37126         * conform/data/fmtmsg.h-data: Likewise.
37127         * conform/data/netinet/in.h-data: Likewise.
37128         * conform/data/tar.h-data: Likewise.
37129         * conform/data/limits.h-data: Use "==" form on "constant" and
37130         "optional-constant" lines.
37132         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37133         Use -std=c99 for XOPEN2K.
37134         (@knownproblems): Remove.
37135         (newtoken): Don't check %isknown.
37137         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37138         Do not expect macro.
37139         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37140         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37141         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37142         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37143         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37144         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37145         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37146         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37147         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37148         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37149         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37150         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37151         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37152         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37153         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37154         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37155         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37156         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37157         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37158         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37159         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37160         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37161         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37162         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37163         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37164         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37165         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37166         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37167         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37168         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37169         [XPG3] (acosh): Likewise.
37170         [XPG3] (asinh): Likewise.
37171         [XPG3] (atanh): Likewise.
37172         [XPG3] (cbrt): Likewise.
37173         [XPG3] (expm1): Likewise.
37174         [XPG3] (ilogb): Likewise.
37175         [XPG3] (log1p): Likewise.
37176         [XPG3] (logb): Likewise.
37177         [XPG3] (nextafter): Likewise.
37178         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37179         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37180         [XPG3] (remainder): Likewise.
37181         [XPG3] (rint): Likewise.
37182         [XPG3 || XPG4 || UNIX98] (round): Likewise.
37183         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37184         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37185         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37186         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37187         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
37188         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
37189         [UNIX98 || XOPEN2K] (scalb): Expect.
37190         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
37191         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
37192         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
37193         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
37194         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
37195         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
37196         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
37197         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
37198         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
37199         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37200         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37201         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37202         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37203         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37204         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37205         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37206         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37207         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37208         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37209         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37210         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37211         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37212         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37213         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37214         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37215         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37216         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37217         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37218         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37219         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37220         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37221         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37222         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37223         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37224         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37225         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37226         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37227         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37228         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37229         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37230         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37231         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37232         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37233         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37234         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37235         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37236         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37237         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37238         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37239         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37240         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37241         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37242         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37243         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37244         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37245         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37246         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37247         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37248         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37249         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37250         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37251         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37252         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37253         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37254         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37255         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37256         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37257         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37258         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37259         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37260         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37261         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37262         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37263         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37264         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37265         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37266         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37267         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37268         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37269         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37270         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37271         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37272         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37273         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37274         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37275         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37276         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37277         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37278         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37279         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37280         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37281         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37282         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37283         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37284         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37285         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37286         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37287         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37288         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37289         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37290         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37291         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37292         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37293         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37294         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37295         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37296         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37297         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37298         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37299         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37300         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37301         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37302         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37303         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37304         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37305         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37306         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37307         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37308         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37309         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37310         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
37311         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
37312         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
37313         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
37314         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
37315         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
37316         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
37317         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
37318         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
37319         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
37320         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
37321         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
37322         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
37323         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
37324         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
37325         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
37326         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
37328         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
37329         _XOPEN_SOURCE_EXTENDED for XPG4.
37331         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
37333         * Makeconfig (localtime): Remove variable.
37334         (inst_localtime-file): Likewise.
37336 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37339         Update.
37340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37341         Update.
37342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37343         Update.
37344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37345         Update.
37346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
37347         Update.
37348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
37349         Update.
37350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37351         Update.
37352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
37353         Update.
37354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37355         Update.
37357 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
37359         [BZ #2550]
37360         [BZ #2570]
37361         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
37362         comparisons to determine direction to adjust input.
37363         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37364         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
37365         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37366         Likewise.
37367         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37368         Likewise.
37369         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37370         Likewise.
37371         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37372         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37373         Likewise.
37374         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37375         Likewise.
37376         * math/libm-test.inc (nexttoward_test): Add more tests.
37378 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37380         [BZ #14040]
37381         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
37382         in version GLIBC_2.1, not GLIBC_2.0.
37383         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
37384         Likewise.
37386 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
37388         [BZ #13942]
37389         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37390         (1 - x) * (1 + x).
37391         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37392         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37393         * math/libm-test.inc (acos_test): Add more tests.
37394         (asin_test): Likewise.
37395         * sysdeps/i386/fpu/libm-test-ulps: Update.
37396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37398         [BZ #14034]
37399         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37400         of square root.
37401         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37402         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37403         * math/libm-test.inc (acos_test_tonearest): New function.
37404         (acos_test_towardzero): Likewise.
37405         (acos_test_downward): Likewise.
37406         (acos_test_upward): Likewise.
37407         (asin_test_tonearest): Likewise.
37408         (asin_test_towardzero): Likewise.
37409         (asin_test_downward): Likewise.
37410         (asin_test_upward): Likewise.
37411         (main): Call the new functions.
37412         * sysdeps/i386/fpu/libm-test-ulps: Update.
37413         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37415         [BZ #13884]
37416         [BZ #13924]
37417         * math/e_exp10.c: Include <float.h>.
37418         (__ieee754_exp10): Handle underflow here rather than multiplying
37419         large negative argument by M_LN10.
37420         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37421         of __ieee754_expf.
37422         * math/e_exp10l.c: Include <float.h>.
37423         (__ieee754_exp10l): Handle underflow here rather than multiplying
37424         large negative argument by M_LN10l.
37425         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
37426         spurious overflow exception on underflow.
37428 2012-04-29  Marek Polacek  <polacek@redhat.com>
37430         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37431         (__fortify_function): New macro.
37432         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37433         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37434         __extern_always_inline.
37435         * libio/bits/stdio2.h: Likewise.
37436         * libio/bits/stdio.h: Likewise.
37437         * string/string.h: Likewise.
37438         * string/bits/string3.h: Likewise.
37439         * include/stdio.h: Likewise.
37440         * stdlib/bits/stdlib.h: Likewise.
37441         * stdlib/stdlib.h: Likewise.
37442         * rt/bits/mqueue2.h: Likewise.
37443         * rt/mqueue.h: Likewise.
37444         * posix/bits/unistd.h: Likewise.
37445         * posix/unistd.h: Likewise.
37446         * io/bits/poll2.h: Likewise.
37447         * io/bits/fcntl2.h: Likewise.
37448         * io/fcntl.h: Likewise.
37449         * io/sys/poll.h: Likewise.
37450         * misc/bits/syslog.h: Likewise.
37451         * misc/bits/syslog-ldbl.h: Likewise.
37452         * misc/sys/syslog.h: Likewise.
37453         * socket/bits/socket2.h: Likewise.
37454         * socket/sys/socket.h: Likewise.
37455         * debug/tst-chk1.c: Likewise.
37456         * wcsmbs/bits/wchar2.h: Likewise.
37457         * wcsmbs/bits/wchar-ldbl.h: Likewise.
37458         * wcsmbs/wchar.h: Likewise.
37460 2012-04-29  Andreas Jaeger  <aj@suse.de>
37462         * Makerules (tests): Remove enable-check-abi protection.
37463         (check-abi-warn): Remove.
37464         (check-abi-%): Remove check-abi-warn usage.
37466         * configure.in: Remove check-abi configure option.
37467         * configure: Regenerated.
37468         * config.make.in (enable-check-abi): Remove.
37470 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
37472         [BZ #14033]
37473         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37474         double functions to double *_finite functions.
37476         [BZ #13941]
37477         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37478         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37479         LDBL_MIN_EXP.
37480         * stdio-common/Makefile (tests): Add tst-sprintf3.
37481         * stdio-common/tst-sprintf3.c: New file.
37483         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37484         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37486 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
37488         * conform/conformtest.pl: Remove duplicate typed-constant
37489         handling.
37491 2012-04-28  David S. Miller  <davem@davemloft.net>
37493         * Makerules (%.abilist): Add vpath on sysdep_dirs.
37494         (check-abi-%): Remove AWK script prerequisite and explicit
37495         abilist directory.
37496         (check-abi): Rewrite to just diff the symlist with the abilist.
37497         (config-tls, config-abi-config): Delete, no longer used.
37498         (update-abi-%): Remove AWK script and explicit abilist directory.
37499         (update-abi): Rewrite to simply compare and conditionally copy the
37500         symlist and the sysdep abilist file.  Remove update-abi-config
37501         checks.
37502         * abilist/ld.abilist: Remove.
37503         * abilist/libBrokenLocale.abilist: Remove.
37504         * abilist/libanl.abilist: Remove.
37505         * abilist/libcrypt.abilist: Remove.
37506         * abilist/libdl.abilist: Remove.
37507         * abilist/librt.abilist: Remove.
37508         * abilist/libthread_db.abilist: Remove.
37509         * abilist/libutil.abilist: Remove.
37510         * scripts/extract-abilist.awk: Remove.
37511         * scripts/merge-abilist.awk: Remove.
37512         * sysdeps/generic/libcidn.abilist: New file.
37513         * sysdeps/generic/libnss_compat.abilist: New file.
37514         * sysdeps/generic/libnss_db.abilist: New file.
37515         * sysdeps/generic/libnss_dns.abilist: New file.
37516         * sysdeps/generic/libnss_files.abilist: New file.
37517         * sysdeps/generic/libnss_hesiod.abilist: New file.
37518         * sysdeps/generic/libnss_nis.abilist: New file.
37519         * sysdeps/generic/libnss_nisplus.abilist: New file.
37520         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
37521         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37522         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
37523         file.
37524         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
37525         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
37526         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
37527         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
37528         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
37529         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
37530         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
37531         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
37532         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
37533         file.
37534         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
37535         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
37536         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
37537         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
37538         file.
37539         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
37540         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
37541         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
37542         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
37543         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
37544         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
37545         file.
37546         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
37547         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
37548         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
37549         file.
37550         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
37551         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
37552         New file.
37553         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
37554         New file.
37555         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
37556         New file.
37557         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
37558         New file.
37559         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
37560         New file.
37561         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
37562         New file.
37563         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
37564         New file.
37565         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
37566         New file.
37567         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
37568         New file.
37569         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
37570         New file.
37571         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
37572         New file.
37573         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
37574         New file.
37575         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
37576         New file.
37577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
37578         file.
37579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37580         New file.
37581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37582         New file.
37583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
37584         file.
37585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37586         New file.
37587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37588         New file.
37589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
37590         file.
37591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37592         New file.
37593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37594         New file.
37595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37596         New file.
37597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37598         New file.
37599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37600         New file.
37601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37602         New file.
37603         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
37604         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
37605         file.
37606         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37607         New file.
37608         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
37609         file.
37610         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
37611         file.
37612         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
37613         file.
37614         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
37615         file.
37616         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
37617         file.
37618         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37619         New file.
37620         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
37621         file.
37622         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
37623         file.
37624         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37625         New file.
37626         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
37627         file.
37628         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
37629         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
37630         file.
37631         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37632         New file.
37633         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
37634         file.
37635         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
37636         file.
37637         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
37638         file.
37639         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
37640         file.
37641         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
37642         file.
37643         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37644         New file.
37645         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
37646         file.
37647         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
37648         file.
37649         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37650         New file.
37651         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
37652         file.
37653         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37654         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
37655         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
37656         file.
37657         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
37658         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
37659         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
37660         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
37661         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
37662         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
37663         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
37664         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
37665         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
37666         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
37667         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
37668         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
37669         file.
37670         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37671         New file.
37672         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
37673         file.
37674         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
37675         file.
37676         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
37677         file.
37678         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
37679         file.
37680         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
37681         file.
37682         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37683         New file.
37684         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37685         New file.
37686         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
37687         file.
37688         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37689         New file.
37690         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
37691         file.
37692         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
37693         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
37694         file.
37695         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37696         New file.
37697         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
37698         file.
37699         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
37700         file.
37701         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
37702         file.
37703         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
37704         file.
37705         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
37706         file.
37707         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37708         New file.
37709         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37710         New file.
37711         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
37712         file.
37713         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37714         New file.
37715         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
37716         file.
37718 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
37720         * conform/conformtest.pl: Fix typo in handling typed-constant from
37721         allow-header.
37723 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
37725         * README: Cut down references to pre-2.6 Linux kernels and
37726         Linuxthreads.  Update lists of configurations in libc and ports
37727         and sort alphabetically.  Say "or newer" with Linux kernel version
37728         requirements.
37730         * config.h.in [IS_IN_build]: Allow compiling without optimization.
37732 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37734         [BZ #887]
37735         * math/libm-test.inc (logb_test_downward): New test to expose
37736         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
37737         rounding mode.
37739 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
37741         [BZ #14027]
37742         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
37743         to be done.
37744         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
37745         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
37747 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
37749         * sysdeps/unix/i386/brk.S: Remove file.
37750         * sysdeps/unix/i386/dl-brk.S: Likewise.
37751         * sysdeps/unix/i386/pipe.S: Likewise.
37752         * sysdeps/unix/i386/sigreturn.S: Likewise.
37753         * sysdeps/unix/i386/syscall.S: Likewise.
37754         * sysdeps/unix/i386/vfork.S: Likewise.
37755         * sysdeps/unix/i386/wait.S: Likewise.
37757         * sysdeps/unix/common/tcsendbrk.c: Move to ...
37758         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
37760         * configure.in (arm*-none*): Do not allow without
37761         --enable-hacker-mode.
37762         (netbsd*): Remove case setting base_os.
37763         (386bsd*): Likewise.
37764         (freebsd*): Likewise.
37765         (bsdi*): Likewise.
37766         (osf*): Likewise.
37767         (sunos*): Likewise.
37768         (ultrix*): Likewise.
37769         (newsos*): Likewise.
37770         (dynix*): Likewise.
37771         (*bsd*): Likewise.
37772         (sysv*): Likewise.
37773         (isc*): Likewise.
37774         (esix*): Likewise.
37775         (sco*): Likewise.
37776         (minix*): Likewise.
37777         (irix4*): Likewise.
37778         (irix6*): Likewise.
37779         (solaris[2-9]*): Likewise.
37780         (none): Likewise.
37781         * configure: Regenerated.
37783 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37785         [BZ #11521]
37786         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37787         overflow or cancellation in calculating denominator.
37788         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37789         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37790         down expression to avoid unexpected rounding in newer GCCs.
37791         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37793 2012-04-26  David S. Miller  <davem@davemloft.net>
37795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37796         long-double compat symbols.
37797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37802         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37803         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37804         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37805         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37806         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37807         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37808         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37809         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37811 2012-04-25  David S. Miller  <davem@davemloft.net>
37813         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37814         HWCAP_* values only after the memory barriers have been defined.
37815         (atomic_full_barrier): Define.
37816         (atomic_read_barrier): Define.
37817         (atomic_write_barrier): Define.
37819 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37821         * shlib-versions: Add libgcc_s version information.
37822         * sysdeps/generic/libgcc_s.h: Remove.
37823         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37824         libgcc_s.h.
37825         * sysdeps/gnu/unwind-resume.c: Likewise.
37826         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37828 2012-04-25  David S. Miller  <davem@davemloft.net>
37830         * sysdeps/unix/sparc/brk.S: Delete.
37831         * sysdeps/unix/sparc/dl-brk.S: Delete.
37832         * sysdeps/unix/sparc/pipe.S: Delete.
37833         * sysdeps/unix/sparc/sysdep.S: Delete.
37834         * sysdeps/unix/sparc/sysdep.h: Delete.
37835         * sysdeps/unix/sparc/vfork.S: Delete.
37836         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37837         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37838         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37839         (ret_ERRVAL, r0, r1, MOVE): Define.
37840         (JUMPTARGET): Remove.
37841         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37842         sysdeps/unix/sparc/sysdep.h
37843         (ENTRY, END): Remove.
37844         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37846 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
37848         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37849         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37850         -DIS_IN_build.
37852         * timezone/README: Update upstream location and email address for
37853         tzcode and tzdata.
37854         * timezone/zdump.c: Update from tzcode 2012b.
37855         * timezone/zic.c: Likewise.
37857         * configure.in (libc_cv_as_needed): Remove test.
37858         * configure: Regenerated.
37859         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37860         conditional definition.
37861         [$(have-as-needed) != yes] (no-as-needed): Likewise.
37862         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37863         * config.make.in (have-as-needed): Remove variable.
37865 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37866             Paul Pluzhnikov  <ppluzhnikov@google.com>
37868         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37869         strings correctly.
37871 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
37873         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37874         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37875         * sysdeps/sh/strlen.S: Likewise.
37877 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
37879         * sysdeps/unix/fork.S: Remove file.
37880         * sysdeps/unix/i386/fork.S: Likewise.
37881         * sysdeps/unix/sparc/fork.S: Likewise.
37883         * sysdeps/unix/system.c: Remove file.
37884         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37886         * sysdeps/unix/getegid.S: Remove file.
37887         * sysdeps/unix/geteuid.S: Likewise.
37889 2012-04-24  Roland McGrath  <roland@hack.frob.com>
37891         * scripts/check-localplt.awk: New file.
37892         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37893         of diff.
37894         * scripts/data/localplt-generic.data: Add a comment.
37896         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
37897         NODE when __dir_mkfile failed.
37898         * sysdeps/mach/hurd/symlinkat.c: Likewise.
37899         Reported by Ludovic Courtès <ludo@gnu.org>.
37901 2012-04-24  Andreas Jaeger  <aj@suse.de>
37903         * Makerules (common-clean): Also remove gen-as-const-headers
37904         files.
37906 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
37908         * Makerules (native-compile): Do not change working directory for
37909         build.  Use $(OUTPUT_OPTION) in command.
37910         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
37912 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37914         [BZ #13886]
37915         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
37916         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
37917         * math/libm-test.inc (floor_test): Add more tests.
37918         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37920 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
37922         * sysdeps/unix/getdents.c: Remove file.
37923         * sysdeps/unix/sysv/getdents.c: Likewise.
37924         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37926         * sysdeps/unix/syscalls.list (madvise): Add syscall from
37927         sysdeps/unix/mman/syscalls.list.
37928         (mmap): Likewise.
37929         (mprotect): Likewise.
37930         (msync): Likewise.
37931         (munmap): Likewise.
37932         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
37933         * sysdeps/unix/mman/syscalls.list: Remove.
37934         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
37936         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
37937         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
37938         * configure: Regenerated.
37939         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
37940         $(libgcc_s_suffix).
37941         * config.make.in (libgcc_s_suffix): Remove variable.
37943 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
37945         * sysdeps/unix/sysv/gethostname.c: Move to ...
37946         * sysdeps/posix/gethostname.c: ... here.
37948         * sysdeps/unix/execve.S: Remove file.
37950         * sysdeps/unix/_exit.S: Remove file.
37952 2012-04-23  Andreas Jaeger  <aj@suse.de>
37954         [BZ #13739]
37955         * manual/Makefile: Remove make dist support, there's no
37956         need for a stand-alone documentation tar ball.
37957         (TEXI2DVI): Define always, it's not in Makeconfig.
37958         (dist): Removed.
37959         (tar-it): Removed.
37960         (edition): Removed.
37961         (glibc-doc-$(edition).tar): Removed
37962         (%.Z): Removed.
37963         (%.gz): Removed.
37964         (%.uu): Removed.
37965         (ETAGS): Remove, it's in Makeconfig.
37966         (move-if-change): Remove, it's in Makeconfig.
37968 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
37970         [BZ #13970]
37971         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
37972         (strtod, strtof, strtold, strtol, strtoul, strtoq)
37973         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
37974         (strtod_l, strtof_l, strtold_l): Remove __wur.
37975         It is not necessarily an error to ignore strtol's return value.
37976         One can reliably look at the stored endptr to decide whether
37977         the number had valid syntax.
37979 2012-04-21  Andreas Jaeger  <aj@suse.de>
37981         [BZ #13739]
37982         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
37984 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
37986         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
37987         * sysdeps/unix/sysv/Versions: Remove file.
37989 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
37991         [BZ #13927]
37992         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37994 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
37996         [BZ #7064]
37997         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
37998         version from __vm86.
38000 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
38002         * sysdeps/unix/common/lxstat.c: Remove file.
38003         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38005         * sysdeps/unix/sysv/Makefile: Remove file.
38007         * sysdeps/unix/sysv/direct.h: Remove file.
38009         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
38010         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
38011         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
38012         * sysdeps/unix/sysv/bits/signum.h: Likewise.
38013         * sysdeps/unix/sysv/bits/stat.h: Likewise.
38014         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
38015         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
38017         * sysdeps/unix/sysv/setrlimit.c: Remove file.
38019         * sysdeps/unix/xmknod.c: Remove file.
38020         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
38022         * sysdeps/unix/sysv/settimeofday.c: Remove file.
38024         * sysdeps/unix/sysv/i386/time.S: Remove file.
38026         * sysdeps/unix/fxstat.c: Remove file.
38027         * sysdeps/unix/xstat.c: Likewise.
38028         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
38030         * sysdeps/unix/sysv/sigaction.c: Remove file.
38032         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
38033         (sysdep_headers): Remove variable.
38034         [termio.h not in sysdep_headers] (generated): Likewise.
38035         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
38036         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
38037         * sysdeps/unix/sysv/tcdrain.c: Likewise.
38038         * sysdeps/unix/sysv/tcflow.c: Likewise.
38039         * sysdeps/unix/sysv/tcflush.c: Likewise.
38040         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
38041         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
38042         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
38043         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
38044         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38046         * sysdeps/unix/siglist.c: Remove file.
38048         * sysdeps/unix/getppid.S: Remove file.
38050         * sysdeps/unix/mkdir.c: Remove file.
38051         * sysdeps/unix/rmdir.c: Likewise.
38053 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
38055         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38056         ERR_MAX value.
38057         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38058         errlist-compat value.
38060 2012-04-18  David S. Miller  <davem@davemloft.net>
38062         * sysdeps/generic/memcopy.h (reg_char): Delete.
38063         * debug/strcat_chk.c: Use char, not reg_char.
38064         * debug/strcpy_chk.c: Likewise.
38065         * debug/strncat_chk.c: Likewise.
38066         * debug/strncpy_chk.c: Likewise.
38067         * string/memchr.c: Likewise.
38068         * string/memrchr.c: Likewise.
38069         * string/rawmemchr.c: Likewise.
38070         * string/strcat.c: Likewise.
38071         * string/strchr.c: Likewise.
38072         * string/strchrnul.c: Likewise.
38073         * string/strcmp.c: Likewise.
38074         * string/strcpy.c: Likewise.
38075         * string/strncat.c: Likewise.
38076         * string/strncmp.c: Likewise.
38077         * string/strncpy.c: Likewise.
38079 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38081         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38082         __builtin_memcopy is called when src and dest ranges are known to not
38083         overlap.
38085 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38087         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38088         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38089         fwd_align_merge macro call.
38090         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38091         bwd_align_merge macro call.
38092         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38094 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38096         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38097         bwd_align_merge macros.
38098         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38099         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38100         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38102 2012-04-18  David S. Miller  <davem@davemloft.net>
38104         * sysdeps/sparc/sparc64/memcopy.h: Delete.
38106 2012-04-18  Andreas Jaeger  <aj@suse.de>
38108         [BZ# 6794]
38109         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38110         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38111         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38113         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38114         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38115         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38117         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38118         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38119         Adjust for changed ldbl-128 files.
38121         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38122         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38123         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38125 2012-04-17  David S. Miller  <davem@davemloft.net>
38127         * sysdeps/sparc/sparc32/memcopy.h: Delete.
38129 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
38131         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38132         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38133         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38134         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38135         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38136         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38138 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38140         [BZ #6794]
38141         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38142         * math/libm-test.inc: Add ilogb errno and exception tests.
38143         * math/w_ilogb.c: New file: ilogb wrapper.
38144         * math/w_ilogbf.c: New file: ilogbf wrapper.
38145         * math/w_ilogbl.c: New file: ilogbl wrapper.
38146         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38147         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38148         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38149         exception being thrown with 0.0 as argument.
38150         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38151         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38152         exception being thrown with 0.0 as argument.
38153         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38154         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38155         exception being thrown with 0.0 as argument.
38156         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38157         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38158         exception being thrown with 0.0 as argument.
38159         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38160         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
38161         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
38162         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38163         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38164         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38165         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38166         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38167         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38169 2012-04-17  Petr Baudis  <pasky@ucw.cz>
38171         * include/sys/uio.h: Change __vector to __iovec to avoid clash
38172         with altivec.
38174 2012-04-16  Marek Polacek  <polacek@redhat.com>
38176         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38178 2012-04-16  Marek Polacek  <polacek@redhat.com>
38180         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38181         operands of fdivp instruction.
38183 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
38185         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38186         * elf/tst-auditmod3b.c: Likewise.
38187         * elf/tst-auditmod4b.c: Likewise.
38188         * elf/tst-auditmod5b.c: Likewise.
38189         * elf/tst-auditmod6b.c: Likewise.
38190         * elf/tst-auditmod6c.c: Likewise.
38191         * elf/tst-auditmod7b.c: Likewise.
38192         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
38193         * sysdeps/x86_64/preconfigure.in: Likewise.
38194         * sysdeps/x86_64/preconfigure: Regenerated.
38196 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
38198         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
38199         __ILP32__.
38201 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
38203         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38204         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38206 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
38208         [BZ #13973]
38209         * locale/iso-639.def: Fix gl language name. Spotted by
38210         Yaron Shahrabani.
38212 2012-04-12  Roland McGrath  <roland@hack.frob.com>
38214         [BZ #2074]
38215         * libio/libio.h (__io_write_fn): Update comment.
38217 2012-04-12  Petr Baudis  <pasky@ucw.cz>
38219         [BZ #2074]
38220         * stdio.texi (Hook Functions): The user provided writer function
38221         is not allowed to return -1.
38223 2012-04-11  David S. Miller  <davem@davemloft.net>
38225         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38227 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
38229         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38230         Add a leading slash to rtkaio.
38232 2012-04-11  Jim Meyering  <meyering@redhat.com>
38234         [BZ #11959]
38235         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38236         It is not necessarily an error to ignore fwrite's return
38237         value.  One can reliably use ferror to test for errors after
38238         the fact.
38240 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
38242         * bits/types.h (__snseconds_t): New type.
38243         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38245         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38246         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38247         (__SNSECONDS_T_TYPE): Likewise.
38248         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38249         (__SNSECONDS_T_TYPE): Likewise.
38250         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38251         (__SNSECONDS_T_TYPE): Likewise.
38253 2012-04-10  Andreas Jaeger  <aj@suse.de>
38255         [BZ #2636]
38256         * manual/time.texi (Processor Time): Return type of times is
38257         elapsed real time since an arbitrary point in the past.
38258         (CPU Time): Move CLK_TCK from here...
38259         (Processor Time): ...to here.  Correct description.
38260         * manual/conf.texi (Constants for Sysconf): Correct description of
38261         _SC_CLK_TCK.
38263 2012-04-10  David S. Miller  <davem@davemloft.net>
38265         [BZ #13967]
38266         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38267         where the is a gap between DT_REL(A) and DT_JMPREL.
38269 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
38271         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38272         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38273         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38275 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38277         * elf/dl-support.c (_dl_inhibit_cache): New variable.
38278         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38279         (dl_main): Handle --inhibit-cache.
38280         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38281         _dl_inhibit_cache.
38282         * elf/dl-load.c (_dl_map_object): Use it.
38283         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38285 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
38287         [BZ #13872]
38288         * sysdeps/i386/fpu/e_powl.S (p78): New object.
38289         (__ieee754_powl): Saturate large exponents rather than testing for
38290         overflow of y*log2(x).
38291         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38292         * math/libm-test.inc (pow_test): Do not permit spurious overflow
38293         exceptions.
38295         [BZ #11521]
38296         * math/s_ctan.c: Include <float.h>.
38297         (__ctan): Avoid internal overflow or cancellation in calculating
38298         denominator.
38299         * math/s_ctanf.c: Likewise.
38300         * math/s_ctanl.c: Likewise.
38301         * math/s_ctanh.c: Likewise.
38302         * math/s_ctanhf.c: Likewise.
38303         * math/s_ctanhl.c: Likewise.
38304         * math/libm-test.inc (ctan_test): Add more tests.
38305         (ctanh_test): Likewise.
38306         * sysdeps/i386/fpu/libm-test-ulps: Update.
38307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38309 2012-04-09  Andreas Jaeger  <aj@suse.de>
38311         [BZ #6894]
38312         * manual/filesys.texi (Directory Entries): Mention that d_namlen
38313         is an optional BSD extension.
38315         [BZ #10254]
38316         * manual/stdio.texi (Opening Streams): Document additional fopen
38317         parameters.
38319 2012-04-09  Roland McGrath  <roland@hack.frob.com>
38321         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
38322         %eax without telling the compiler.
38324 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
38326         [BZ # 13963]
38327         * manual/install.texi: Use sourceware.org.
38329 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
38331         [BZ #13873]
38332         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
38333         (__ieee754_pow): Generate overflow and underflow using huge*huge
38334         and tiny*tiny rather than just returning constant infinity or zero
38335         for large exponents.
38336         * math/libm-test.inc (pow_test): Require overflow exceptions for
38337         applicable cases of large exponents.
38339         [BZ #706]
38340         * sysdeps/i386/fpu/e_pow.S (p10): New object.
38341         (__ieee754_pow): Use iterative multiplication algorithm only for
38342         integer exponents with absolute value below 1024.  Check for odd
38343         integer exponents when using algorithm for real exponents.
38344         * math/libm-test.inc (pow_test): Add more tests.
38345         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38347 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
38349         [BZ #13705]
38350         * math/libm-test.inc (exp_test): Do not allow overflow exception
38351         on underflow test.
38353 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
38355         [BZ #13705]
38356         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
38357         instead of __kernel_standard_f.
38359 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
38361         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
38362         * sysdeps/x86_64/memset_chk.S: Likewise.
38364 2012-04-08  Andreas Jaeger  <aj@suse.de>
38366         [BZ #10153]
38367         * manual/startup.texi (Environment Access): Describe return value
38368         for putenv and setenv.
38370         [BZ #6895]
38371         * manual/filesys.texi (Directory Entries): Add description for
38372         DT_LNK.
38374         [BZ #6890]
38375         * manual/filesys.texi (Directory Entries): Clarify that it's file
38376         system not operating system in the description of DT_UNKNOWN.
38378         [BZ #6578]
38379         * manual/syslog.texi (closelog): Fix reference, it's openlog.
38381 2012-04-08  Stephen Compall  <s11@member.fsf.org>
38383         [BZ #6649]
38384         * manual/llio.texi (Opening and Closing Files): Add cross
38385         reference to explain mode argument.
38387 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
38389         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38390         * sysdeps/x86_64/memset_chk.S: Likewise.
38392 2012-04-07  David S. Miller  <davem@davemloft.net>
38394         * elf/elf.h (R_SPARC_WDISP10): Define.
38395         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38396         R_SPARC_SIZE32.
38397         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38398         R_SPARC_SIZE64 and R_SPARC_H34.
38400 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
38402         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38403         conditions and remove no longer applicable assertion.
38405 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
38407         * bits/byteswap.h: Include <features.h>.
38408         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38409         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38411 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
38413         * bits/byteswap.h (__bswap_16): Removed.
38414         Include <bits/byteswap-16.h> to get __bswap_16.
38415         * sysdeps/i386/bits/byteswap.h: Likewise.
38416         * sysdeps/s390/bits/byteswap.h: Likewise.
38417         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38418         * bits/byteswap-16.h: New file.
38419         * sysdeps/i386/bits/byteswap-16.h: Likewise.
38420         * sysdeps/s390/bits/byteswap-16.h: Likewise.
38421         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38422         * string/Makefile (headers): Add bits/byteswap-16.h.
38424 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
38426         [BZ #13895]
38427         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38428         extra indirection.
38429         * nss/Makefile (tests-static, tests): Add tst-nss-static.
38430         * nss/tst-nss-static.c: New.
38432 2012-04-06  Robert Millan  <rmh@gnu.org>
38434         [BZ #6486]
38435         * manual/llio.texi (File Position Primitive): lseek
38436         refers to WHENCE when it really means OFFSET.
38438 2012-04-06  Andreas Jaeger  <aj@suse.de>
38440         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38441         strncmp declarations.
38443         * abilist/libc.abilist: Add __poll and __ppoll.
38445 2012-04-05  David S. Miller  <davem@davemloft.net>
38447         * scripts/check-local-headers.sh: Accept a host triplet in the
38448         path matched by the exclude regexp.
38450         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38451         definition.
38452         * sysdeps/powerpc/powerpc32/dl-machine.h
38453         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38454         * sysdeps/s390/s390-32/dl-machine.h
38455         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38456         * sysdeps/sparc/sparc32/dl-machine.h
38457         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38458         * sysdeps/sparc/sparc64/dl-machine.h
38459         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38461         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38462         lazy binding.
38463         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
38464         undefined symbol errors.
38466         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
38467         DT_NEEDED entries.
38469 2012-04-05  Michael Matz  <matz@suse.de>
38471         [BZ #13592]
38472         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38474 2012-04-05  Andreas Jaeger  <aj@suse.de>
38476         [BZ #13908]
38477         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38478         comment.
38480 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38482         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38483         which ROUND is no valid rounding mode.
38485 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38487         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38488         read again.
38489         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38491 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38493         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38494         an exception using FPU order intentionally.
38496 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38498         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38499         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38500         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38501         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38503 2012-04-05  Simon Josefsson  <simon@josefsson.org>
38505         [BZ #12340]
38506         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38507         EINVAL when BUFLEN is too smal.
38509 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
38511         [BZ #13553]
38512         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38513         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38515 2012-04-03  Andreas Jaeger  <aj@suse.de>
38517         [BZ #13938]
38518         * manual/setjmp.texi (System V contexts): Fix sentence.
38520         [BZ #13926]
38521         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
38522         New macro for this case.
38523         [!__GNUC__] (__bswap_64): New inline function for this case.
38524         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38525         * bits/byteswap.h: Likewise.
38526         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
38527         ull, guard with __GLIBC_HAVE_LONG_LONG.
38529         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
38530         __GLIBC_HAVE_LONG_LONG.
38532         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
38533         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
38535 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38537         [BZ #13691]
38538         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
38539         inptr and inend, rather than using last_ch.
38541 2012-04-02  David S. Miller  <davem@davemloft.net>
38543         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
38544         * stdio-common/printf-parse.h (read_int): Change return type to
38545         'int', return -1 on INT_MAX overflow.
38546         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
38547         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
38548         overflows INT_MAX.  Check for overflow of in-format-string precision
38549         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
38550         SIZE_MAX not INT_MAX for integer overflow test.
38551         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
38552         skip the construct in the format string but do not record anything.
38553         * stdio-common/bug22.c: Adjust to test both width/prevision
38554         INT_MAX overflow as well as total length INT_MAX overflow.  Check
38555         explicitly for proper errno values.
38557 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
38559         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
38560         CHAR_MAX.
38561         * string/test-strcmp.c [! WIDE]: Likewise.
38562         * time/tst-mktime2.c: Likewise for INT_MAX.
38563         * string/test-string.h: #include <sys/param.h> for MIN.
38565         * csu/init-first.c (__libc_init_first): Call __ctype_init.
38566         * sysdeps/i386/init-first.c (init): Likewise.
38567         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
38568         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
38569         * sysdeps/sh/init-first.c (init): Likewise.
38571 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
38573         * po/ru.po: Update from translation team.
38574         * po/vi.po: Likewise.
38576 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
38578         * resolv/nss_dns/dns-host.c: Merge copyright years.
38580 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38582         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38583         Optimize memcpy with prefetch if
38584         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
38585         src, dst pointers have unequal 16 byte alignments.
38587 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38589         [BZ #13928]
38590         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
38591         from a CNAME entry and return the minimum ttl for the query.
38592         (gaih_getanswer_slice): Likewise.
38594 2012-03-30  Jeff Law  <law@redhat.com>
38596         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
38597         due to long keys.
38598         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
38599         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
38601         * resolv/nss_dns/dns-host.c: Update copyright year.
38603 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
38605         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
38606         requests to save a system call.  Fix check that all bytes are sent.
38608         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
38609         comments for sendmmsg.
38611 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38613         [BZ #13691]
38614         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
38615         with only 1 character between 0x0041 and 0x01b0.
38616         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
38617         * wcsmbs/tst-mbsnrtowcs.c: New file.
38619 2012-03-29  David S. Miller  <davem@davemloft.net>
38621         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
38622         small copies by hand.
38624 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38626         [BZ #13761]
38627         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
38628         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
38629         group memberships.
38631 2012-03-28  David S. Miller  <davem@davemloft.net>
38633         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
38634         that branches into memcpy.
38635         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38636         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38637         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38638         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38639         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
38640         bits.
38641         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
38642         implementation too.
38643         * sysdeps/sparc/mempcpy.S: New file.
38645         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
38646         the IFUNC routine in the libc case.
38647         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38649         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
38650         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
38651         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
38652         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
38653         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
38654         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
38655         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
38656         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
38658         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
38659         loop to 256 bytes instead of 64 bytes and fix test signedness.
38661         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
38662         * sysdeps/sparc/sparc32/Makefile: rather than here...
38663         * sysdeps/sparc/sparc64/Makefile: and here.
38665 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
38667         * malloc/mallocbug.c: Avoid warnings about unused variables.
38669 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
38671         [BZ #13760]
38672         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
38673         in the right place. Discard and retry query if response is
38674         larger than input buffer size.
38676 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
38678         [BZ #369]
38679         [BZ #2678]
38680         [BZ #3866]
38681         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
38682         x for large integer exponent.
38683         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38684         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
38685         sign of result as needed afterwards.
38686         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38687         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
38688         result for underflowing pow the same as for overflow.
38689         (__kernel_standard_l): Handle powl overflow and underflow here
38690         rather than calling __kernel_standard.
38691         * math/libm-test.inc (pow_test): Add more tests.
38693         [BZ #3868]
38694         [BZ #13879]
38695         [BZ #13910]
38696         [BZ #13911]
38697         [BZ #13912]
38698         [BZ #13913]
38699         [BZ #13915]
38700         [BZ #13916]
38701         [BZ #13917]
38702         [BZ #13918]
38703         [BZ #13919]
38704         [BZ #13920]
38705         [BZ #13921]
38706         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
38707         * sysdeps/ieee754/k_standard.c: Include <float.h>.
38708         (__kernel_standard_l): New function.
38709         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
38710         __kernel_standard.
38711         * math/w_acosl.c (__acosl): Likewise.
38712         * math/w_asinl.c (__asinl): Likewise.
38713         * math/w_atan2l.c (__atan2l): Likewise.
38714         * math/w_atanhl.c (__atanhl): Likewise.
38715         * math/w_coshl.c (__coshl): Likewise.
38716         * math/w_exp10l.c (__exp10l): Likewise.
38717         * math/w_exp2l.c (__exp2l): Likewise.
38718         * math/w_fmodl.c (__fmodl): Likewise.
38719         * math/w_hypotl.c (__hypotl): Likewise.
38720         * math/w_j0l.c (__j0l, __y0l): Likewise.
38721         * math/w_j1l.c (__j1l, __y1l): Likewise.
38722         * math/w_jnl.c (__jnl, __ynl): Likewise.
38723         * math/w_lgammal.c (__lgammal): Likewise.
38724         * math/w_log10l.c (__log10l): Likewise.
38725         * math/w_log2l.c (__log2l): Likewise.
38726         * math/w_logl.c (__logl): Likewise.
38727         * math/w_powl.c (__powl): Likewise.
38728         * math/w_remainderl.c (__remainderl): Likewise.
38729         * math/w_scalbl.c (sysv_scalbl): Likewise.
38730         * math/w_sinhl.c (__sinhl): Likewise.
38731         * math/w_sqrtl.c (__sqrtl): Likewise.
38732         * math/w_tgammal.c (__tgammal): Likewise.
38733         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
38734         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
38735         * math/libm-test.inc (acos_test): Add more tests.
38736         (acosh_test): Likewise.
38737         (asin_test): Likewise.
38738         (atanh_test): Likewise.
38739         (exp_test): Likewise.
38740         (exp10_test): Likewise.
38741         (exp2_test): Likewise.
38742         (expm1_test): Likewise.
38743         (lgamma_test): Likewise.
38744         (log_test): Likewise.
38745         (log10_test): Likewise.
38746         (log1p_test): Likewise.
38747         (log2_test): Likewise.
38748         (pow_test): Do not allow some spurious overflow exceptions.
38749         (sqrt_test): Add more tests.
38750         (tgamma_test): Likewise.
38751         (y0_test): Likewise.
38752         (y1_test): Likewise.
38753         (yn_test): Likewise.
38755 2012-03-27  Anton Blanchard  <anton@samba.org>
38757         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
38758         MAP_HUGETLB.
38759         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38760         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38761         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38763 2012-03-27  David S. Miller  <davem@davemloft.net>
38765         * conform/Makefile: Run run-conformtest.sh using $(BASH).
38767         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
38768         have-as-vis3 check.
38770 2012-03-27  Andreas Jaeger  <aj@suse.de>
38772         * sysdeps/x86_64/elf/configure.in: Moved to ...
38773         * sysdeps/x86_64/configure.in: ... here.
38774         * sysdeps/x86_64/elf/start.S: Moved to ...
38775         * sysdeps/x86_64/start.S: ... here.
38776         * sysdeps/x86_64/elf/configure: Delete.
38778         * sysdeps/x86_64/configure.in: Merge contents from
38779         sysdeps/i386/configure.in (without i686 check).
38781         * sysdeps/i386/elf/Versions: Merge into ...
38782         * sysdeps/i386/Versions: ... this.
38783         * sysdeps/i386/elf/Versions: Delete file.
38784         * sysdeps/i386/elf/start.S: Moved to ...
38785         * sysdeps/i386/start.S: ...here.
38786         * sysdeps/i386/elf/configure.in: Merge into...
38787         * sysdeps/i386/configure.in: ...here.
38788         * sysdeps/i386/elf/configure.in: Delete file.
38789         * sysdeps/i386/elf/configure: Delete file.
38791         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38792         * debug/backtracesyms.c: ... here.
38793         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38794         * debug/backtracesymsfd.c: ... here.
38795         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38796         * sysdeps/generic/ifunc-sel.h: ... here.
38798         * sysdeps/unix/i386/start.c: Delete file.
38799         * sysdeps/unix/sparc/start.c: Delete file.
38800         * sysdeps/unix/start.c: Delete file.
38802         * sysdeps/sh/elf/configure.in: Moved to ...
38803         * sysdeps/sh/configure.in: ... here.
38804         * sysdeps/sh/elf/start.S: Moved to ...
38805         * sysdeps/sh/start.S: ... here.
38806         * sysdeps/sh/elf/configure: Delete file.
38808         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38809         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38810         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38811         * sysdeps/powerpc/powerpc64/entry.h: ... here.
38812         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38813         * sysdeps/powerpc/powerpc64/start.S: here.
38814         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38815         * sysdeps/powerpc/powerpc64/Makefile: ... this.
38816         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38817         * sysdeps/powerpc/powerpc64/configure.in: ... this.
38818         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38820         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38821         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38822         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38823         * sysdeps/powerpc/powerpc32/start.S: ... here.
38824         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38825         * sysdeps/powerpc/powerpc32/configure.in: ... this.
38826         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38828         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38829         * sysdeps/powerpc/ifunc-sel.h: ... here.
38830         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38831         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38833         * sysdeps/sparc/elf/configure.in: Moved to ...
38834         * sysdeps/sparc/configure.in: ... here.
38835         * sysdeps/sparc/elf/configure: Delete file.
38836         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38837         * sysdeps/sparc/sparc32/start.S: ... here.
38838         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38839         * sysdeps/sparc/sparc64/start.S: ... here.
38840         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38841         * sysdeps/sparc/sparc32/Makefile: ... this.
38842         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38843         * sysdeps/sparc/sparc64/Makefile: ... this.
38845         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38846         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38847         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38848         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38849         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38850         * sysdeps/s390/s390-32/setjmp.S: ... here.
38851         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38852         * sysdeps/s390/s390-32/configure.in: ... here.
38853         * sysdeps/s390/s390-32/elf/configure: Delete file.
38854         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38855         * sysdeps/s390/s390-32/start.S: ... here.
38857         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38858         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38859         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38860         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38861         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38862         * sysdeps/s390/s390-64/setjmp.S: ... here.
38863         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38864         * sysdeps/s390/s390-64/configure.in: ... here
38865         * sysdeps/s390/s390-64/elf/configure: Delete file.
38866         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38867         * sysdeps/s390/s390-64/start.S: ... here.
38868         * sysdeps/s390/s390-64/elf/configure: Delete.
38870         * configure.in: Remove support for elf directories in sysdeps.
38872         * configure: Regenerated.
38873         * sysdeps/i386/configure: Regenerated.
38874         * sysdeps/powerpc/powerpc32/configure: Regenerated.
38875         * sysdeps/powerpc/powerpc64/configure: Regenerated.
38876         * sysdeps/s390/s390-32/configure: Regenerated.
38877         * sysdeps/s390/s390-64/configure: Regenerated.
38878         * sysdeps/sh/configure: Regenerated.
38879         * sysdeps/sparc/configure: Regenerated.
38880         * sysdeps/x86_64/configure: Regenerated.
38882 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
38884         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38886         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38887         denormal result into account.
38889 2012-03-25  Roland McGrath  <roland@hack.frob.com>
38891         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38892         Reported by Allan McRae <allan@archlinux.org>.
38894 2012-03-23  Jeff Law  <law@redhat.com>
38896         * nss/getnssent.c (__nss_getent): Fix typo.
38898 2012-03-23  David S. Miller  <davem@davemloft.net>
38900         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38902 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
38904         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
38905         to pad to uint64_t for each field.
38906         (dl_tls_index): Replace unsigned long with uint64_t.
38908 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
38909         Paul Pluzhnikov  <ppluzhnikov@google.com>
38911         [BZ #6528]
38912         * grp/Makefile (otherlibs): Don't set it.
38913         * inet/Makefile (otherlibs): Likewise.
38914         * login/Makefile (otherlibs): Likewise.
38915         * nscd/Makefile (otherlibs): Likewise.
38916         * posix/Makefile (otherlibs): Likewise.
38917         * pwd/Makefile (otherlibs): Likewise.
38918         * rt/Makefile (otherlibs): Likewise.
38919         * sunrpc/Makefile (otherlibs): Likewise.
38920         * nss/Makefile (otherlibs): Likewise.
38921         Add libnss_files to routines and static-only-routines.
38922         ($(objpfx)getent): Remove rule.
38923         * resolv/Makefile: Add libnss_dns and libresolv to routines and
38924         static-only-routines.
38926 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
38928         [BZ #13892]
38929         * math/s_cexp.c: Include <float.h>.
38930         (__cexp): Handle exp result overflowing not necessarily
38931         overflowing both real and imaginary parts of result.
38932         * math/s_cexpf.c: Likewise.
38933         * math/s_cexpl.c: Likewise.
38934         * math/libm-test.inc (cexp_test): Add more tests.
38935         * sysdeps/i386/fpu/libm-test-ulps: Update.
38936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38938 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38940         * include/link.h (ELFW): New macro.
38941         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
38942         Replace ELF64_R_TYPE with ELFW(R_TYPE).
38944 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38946         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
38947         with uint64_t.
38949 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38951         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
38952         declaration.
38953         (struct La_x32_retval): Likewise.
38955 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38957         * sysdeps/x86_64/preconfigure.in: New file.
38958         * sysdeps/x86_64/preconfigure: New generated file.
38960 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
38962         [BZ #13824]
38963         * math/e_exp2l.c: Include <float.h>.
38964         (__ieee754_exp2l): Handle overflow and underflow cases
38965         separately.  Only pass fractional part of argument to
38966         __ieee754_expl.
38967         * math/libm-test.inc (exp2_test): Add more tests.
38969         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
38970         negating x to take absolute value.
38971         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38972         Likewise.
38973         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38974         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
38975         Likewise.
38976         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
38977         computing low part if x was negated.
38978         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38980 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
38982         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
38983         la_x32_gnu_pltexit.
38984         (pltexit): Cast int_retval to ptrdiff_t.
38985         * elf/tst-auditmod3b.c: Likewise.
38986         * elf/tst-auditmod4b.c: Likewise.
38987         * elf/tst-auditmod5b.c: Likewise.
38988         * elf/tst-auditmod6b.c: Likewise.
38989         * elf/tst-auditmod6c.c: Likewise.
38990         * elf/tst-auditmod7b.c: Likewise.
38992         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
38993         and x32_gnu_pltexit.
38995         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
38996         __ELF_NATIVE_CLASS.
38997         (La_x32_regs): New macro.
38998         (La_x32_retval): Likewise.
38999         (la_x32_gnu_pltenter): New function prototype.
39000         (la_x32_gnu_pltexit): Likewise.
39002 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
39004         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39005         exponent.
39007         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39009         * configure.in (libc_cv_cc_nofma): Check for option to disable
39010         generation of FMA instructions.
39011         * configure: Regenerate.
39012         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
39013         * sysdeps/ieee754/dbl-64/Makefile: New file.
39014         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
39015         Remove brandred-fma4.
39016         (CFLAGS-brandred-fma4.c): Remove.
39017         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39018         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
39019         define.
39020         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
39021         define.
39023 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39025         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39026         LLONG_MAX != LONG_MAX.
39027         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39028         (_fitoa_word): Likewise.
39029         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
39030         LLONG_MAX != LONG_MAX.
39031         * stdio-common/_itowa.h: Include <_itoa.h>.
39032         (_itowa_word): Use _ITOA_WORD_TYPE on value.
39033         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
39034         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
39035         only if not defined.
39036         (_ITOA_WORD_TYPE): Likewise.
39037         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39038         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
39040 2012-03-21  David S. Miller  <davem@davemloft.net>
39042         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39044 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39046         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39047         of x86_64 when setting libc_cv_slibdir, libdir and
39048         libc_cv_localedir.
39049         * sysdeps/unix/sysv/linux/configure: Regenerated.
39051 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39053         * manual/lang.texi (Old Varargs): Remove section.
39054         (How Variadic): Update menu.
39055         (va_start): Do not mention varargs.h.
39057 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39058             Joseph Myers  <joseph@codesourcery.com>
39060         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39061         link test.
39062         * configure: Regenerated.
39064 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39066         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39067         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39068         conformtest.pl
39070 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39072         * NOTES: Remove.
39073         * Makefile (files-for-dist): Remove NOTES.
39074         (NOTES): Remove rule.
39075         * README: Don't refer to NOTES.
39076         * manual/creature.texi: Don't include macros.texi.
39077         * manual/intro.texi (creature.texi): Remove comment referring to
39078         NOTES.
39080         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39081         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39082         * configure: Regenerated.
39083         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39084         LIBC_TRY_CC_OPTION.
39085         (libc_cv_as_i686): Likewise.
39086         (libc_cv_cc_avx): Likewise.
39087         (libc_cv_cc_sse2avx): Likewise.
39088         (libc_cv_cc_fma4): Likewise.
39089         (libc_cv_cc_novzeroupper): Likewise.
39090         * sysdeps/i386/configure: Regenerated.
39092         [BZ #13883]
39093         * sysdeps/i386/fpu/s_cexp.S: Remove.
39094         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39095         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39096         * math/libm-test.inc (cexp_test): Add more tests.
39097         * sysdeps/i386/fpu/libm-test-ulps: Update.
39098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39100 2012-03-21  Allan McRae  <allan@archlinux.org>
39102         * timezone/Makefile: Do not install iso3166.tab and zone.tab
39104 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39106         [BZ #13871]
39107         * math/w_exp2.c: Do not include <float.h>.
39108         (o_threshold, u_threshold): Remove.
39109         (__exp2): Calculate result before checking finiteness and calling
39110         __kernel_standard.
39111         * math/w_exp2f.c: Likewise.
39112         * math/w_exp2l.c: Likewise.
39113         * math/libm-test.inc (exp2_test): Require overflow exception for
39114         1e6 input.
39116         [BZ #3866]
39117         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39118         range of signed 64-bit integers before using fistpll.  Remove
39119         checks for whether integers fit in mantissa bits.
39120         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39121         the range of signed 32-bit integers before using fistpl.  Remove
39122         checks for whether integers fit in mantissa bits.
39123         * sysdeps/i386/fpu/e_powl.S (p64): New object.
39124         (__ieee754_powl): Test for y outside the range of signed 64-bit
39125         integers before using fistpll.  Reduce 64-bit values to 63-bit
39126         ones as needed.
39127         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39128         divide-by-zero is raised for zero to large negative powers.
39129         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39130         (__ieee754_powl): Test for y outside the range of signed 64-bit
39131         integers before using fistpll.  Reduce 64-bit values to 63-bit
39132         ones as needed.
39133         * math/libm-test.inc (pow_test): Add more tests.
39135 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39137         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39138         <stdio-common/_itoa.h>.
39139         * debug/segfault.c: Likewise.
39140         * elf/dl-cache.c: Likewise.
39141         * elf/dl-minimal.c: Likewise.
39142         * elf/dl-misc.c: Likewise.
39143         * elf/dl-sysdep.c: Likewise.
39144         * elf/dl-version.c: Likewise.
39145         * elf/rtld.c: Likewise.
39146         * hurd/hurdsock.c: Likewise.
39147         * hurd/lookup-retry.c: Likewise.
39148         * malloc/malloc.c: Likewise.
39149         * malloc/mtrace.c: Likewise.
39150         * nscd/nscd_getgr_r.c: Likewise.
39151         * nscd/nscd_getpw_r.c: Likewise.
39152         * nscd/nscd_getserv_r.c: Likewise.
39153         * posix/getopt_init.c: Likewise.
39154         * posix/wordexp.c: Likewise.
39155         * stdio-common/_itoa.c: Likewise.
39156         * stdio-common/printf_fphex.c: Likewise.
39157         * stdio-common/vfprintf.c: Likewise.
39158         * string/_strerror.c: Likewise.
39159         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39160         * sysdeps/i386/i686/hp-timing.h: Likewise.
39161         * sysdeps/mach/_strerror.c: Likewise.
39162         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39163         * sysdeps/mach/hurd/sethostid.c: Likewise.
39164         * sysdeps/mach/hurd/xmknodat.c: Likewise.
39165         * sysdeps/mach/xpg-strerror.c: Likewise.
39166         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39167         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39168         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39169         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39170         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39171         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39172         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39173         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39174         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39175         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39176         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39177         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39178         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39179         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39180         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39181         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39182         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39183         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39184         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39185         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39186         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
39188         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
39190         * stdio-common/_itoa.h: Moved to ...
39191         * sysdeps/generic/_itoa.h: Here.
39193         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
39195         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
39196         instead of "_itoa.h" and "_itowa.h".
39197         * stdio-common/vfprintf.: Likewise.
39199 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39201         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39202         <bits/wordsize.h>.
39203         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39204         (__signbit): Likwise.
39205         (llrintf): Likwise.
39206         (llrint): Likwise.
39208 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39210         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39211         __WORDSIZE != 64.
39213 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
39215         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39216         OVERFLOW_EXCEPTION_OK.
39217         * math/libm-test.inc ("Philosophy"): Update comment about
39218         exception testing.
39219         (OVERFLOW_EXCEPTION): Define.
39220         (OVERFLOW_EXCEPTION_OK): Likewise.
39221         (INVALID_EXCEPTION_OK): Renumber.
39222         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39223         (IGNORE_ZERO_INF_SIGN): Likewise.
39224         (test_exceptions): Handle FE_OVERFLOW.
39225         (exp10_test): Expect overflow exceptions.
39226         (exp2_test): Likewise.
39227         (expm1_test): Likewise.
39228         (nextafter_test): Likewise.
39229         (pow_test): Likewise.
39230         (scalbn_test): Likewise.
39231         (scalbln_test): Likewise.
39233 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39235         * sysdeps/x86_64/bits/atomic.h
39236         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39237         64bit integer.
39238         (atomic_exchange_acq): Likewise.
39239         (__arch_exchange_and_add_body): Likewise.
39240         (__arch_add_body): Likewise.
39241         (atomic_add_negative): Likewise.
39242         (atomic_add_zero): Likewise.
39244 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39246         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
39247         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39249 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39251         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39252         Check __x86_64__ instead of __WORDSIZE.
39254 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39256         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39258 2012-03-19  David S. Miller  <davem@davemloft.net>
39260         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39262         * sysdeps/sparc/fpu/fenv_private.h: New file.
39263         * sysdeps/sparc/fpu/math_private.h: Use it.
39264         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39265         Remove.
39266         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
39267         (libc_feholdexcept_setroundl): Remove.
39268         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39269         Remove.
39270         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39271         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39273 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39275         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39276         int64_t instead of long int.
39277         (INSERT_WORDS64): Likwise.
39279 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39281         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39282         _Unwind_GetCFA return to _Unwind_Ptr first.
39284 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
39286         [BZ #13629]
39287         * math/s_clog.c: Include <float.h>.
39288         (__clog): Scale large or subnormal inputs.
39289         * math/s_clogf.c: Likewise.
39290         * math/s_clogl.c: Likewise.
39291         * math/s_clog10.c: Include <float.h>.
39292         (M_LOG10_2): Define.
39293         (__clog10): Scale large or subnormal inputs.
39294         * math/s_clog10f.c: Likewise.
39295         * math/s_clog10l.c: Likewise.
39296         * math/libm-test.inc (clog_test): Add more tests.
39297         (clog10_test): Likewise.
39298         * sysdeps/i386/fpu/libm-test-ulps: Update.
39299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39301         [BZ #11451]
39302         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39303         x and y.
39304         * math/libm-test.inc (atan2_test): Add another test.
39306         * Makerules (common-objdir-compile): Remove.
39307         * sysdeps/unix/Makefile (config-generated): Do not add
39308         $(unix-generated) to variable.
39309         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39310         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
39311         Remove rule.
39312         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
39313         Likewise.
39314         [generic bits/local_lim.h] (before-compile): Do not append to
39315         variable.
39316         [generic bits/local_lim.h] (common-generated): Likewise.
39317         [generic sys/param.h] (before-compile): Do not append to variable.
39318         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
39319         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
39320         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
39321         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
39322         include.
39323         [generic sys/param.h] (sys/param.h-includes): Remove variable.
39324         [generic sys/param.h] (sys/param.h-includes): Remove rule.
39325         [generic sys/param.h] ($(addprefix
39326         $(common-objpfx),$(sys/param.h-includes))): Likewise.
39327         [generic sys/param.h] (common-generated): Do not append to
39328         variable.
39329         [generic sys/param.h] (sysdep_headers): Likewise.
39330         [generic bits/errno.h] (before-compile): Do not append to
39331         variable.
39332         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
39333         rule.
39334         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
39335         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
39336         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
39337         [generic bits/errno.h] (common-generated): Do not append to
39338         variable.
39339         [generic bits/ioctls.h] (before-compile): Do not append to
39340         variable.
39341         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
39342         rule.
39343         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
39344         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
39345         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
39346         rule.
39347         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
39348         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
39349         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
39350         [generic bits/ioctls.h] (common-generated): Do not append to
39351         variable.
39352         [generic sys/syscall.h] (syscall.h): Remove variable.
39353         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
39354         rule.
39355         [generic sys/syscall.h] (before-compile): Do not append to
39356         variable.
39357         [generic sys/syscall.h] (common-generated): Likewise.
39358         * sysdeps/unix/errnos-tmpl.c: Remove file.
39359         * sysdeps/unix/errnos.awk: Likewise.
39360         * sysdeps/unix/ioctls-tmpl.c: Likewise.
39361         * sysdeps/unix/ioctls.awk: Likewise.
39362         * sysdeps/unix/mk-local_lim.c: Likewise.
39363         * sysdeps/unix/snarf-ioctls: Likewise.
39365 2012-03-19  Richard Henderson  <rth@twiddle.net>
39367         * sysdeps/i386/fpu/fenv_private.h: New file.
39368         * sysdeps/i386/fpu/math_private.h: Use it.
39369         (math_opt_barrier, math_force_eval): Remove.
39370         (libc_feholdexcept_setround_53bit): Remove.
39371         (libc_feupdateenv_53bit): Remove.
39372         * sysdeps/x86_64/fpu/math_private.h: Likewise.
39373         (math_opt_barrier, math_force_eval): Remove.
39374         (libc_feholdexcept): Remove.
39375         (libc_feholdexcept_setround): Remove.
39376         (libc_fetestexcept, libc_fesetenv): Remove.
39377         (libc_feupdateenv_test): Remove.
39378         (libc_feupdateenv, libc_feholdsetround): Remove.
39379         (libc_feresetround): Remove.
39381         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
39382         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39384         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
39385         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
39386         (libc_feupdateenv_testl): New.
39387         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
39388         (libc_feupdateenv_testf): New.
39389         (libc_feupdateenv): Use libc_feupdateenv_test.
39390         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39391         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39393         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39394         (libc_feholdsetroundf, libc_feholdsetroundl): New.
39395         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39396         (libc_feresetround_noex): New.
39397         (libc_feresetround_noexf): New.
39398         (libc_feresetround_noexl): New.
39399         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39400         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39401         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39402         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39403         SET_RESTORE_ROUND.
39404         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39405         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39406         (__cos): Likewise.
39407         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39408         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39409         SET_RESTORE_ROUND_NOEX.
39410         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39411         SET_RESTORE_ROUND_NOEXF.
39412         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39413         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39414         (libc_feholdsetroundf): New.
39415         (libc_feresetround, libc_feresetroundf): New.
39417         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39418         (libc_feholdexcept_setround_53bit): Convert from macro to function.
39419         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
39421         * sysdeps/generic/math_private.h: Include <fenv.h>.
39422         (default_libc_feholdexcept): New.
39423         (default_libc_feholdexcept_setround): New.
39424         (default_libc_fesetenv, default_libc_feupdateenv): New.
39425         (libc_feholdexcept): Only define if undefined.
39426         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39427         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39428         (libc_feholdexcept_setroundl): Likewise.
39429         (libc_feholdexcept_setround_53bit): Likewise.
39430         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39431         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39432         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39433         (libc_feupdateenv_53bit): Likewise.
39434         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39435         (libc_feholdexcept): Convert from macro to inline function.
39436         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39437         (libc_fesetenv, libc_feupdateenv): Likewise.
39439         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39440         not previously defined.
39441         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39442         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39443         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39444         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39445         * sysdeps/ieee754/flt-32/math_private.h: New file.
39446         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39447         math_private.h below SET_FLOAT_WORD.
39448         (__isnan, __isinf_ns, __finite): Remove.
39449         (__isnanf, __isinf_nsf, __finitef): Remove.
39451 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
39453         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39455 2012-03-17  David S. Miller  <davem@davemloft.net>
39457         [BZ #6471]
39458         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39459         for 2.16.
39461 2012-03-16  David S. Miller  <davem@davemloft.net>
39463         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39464         warnings.
39466         [BZ #6471]
39467         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39468         properly.
39469         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39470         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39471         sysdep_routines when subdir is sysvipc.
39472         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39473         __getshmlba helper.
39475         * sysdeps/sparc/fpu/libm-test/ulps: Update.
39477 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39479         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39480         [__LP64__].
39482 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39484         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39485         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39486         (__lround): Renamed to ...
39487         (__llround): This.  Replace long int with long long int.
39488         Define lround functions as aliases of llround functions.
39489         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39491 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39493         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39494         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
39495         adresses to uintptr_t.  Replace "long int" and "unsigned long
39496         int" with "greg_t" on va_arg.
39498 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39500         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39501         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39503         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39504         Move e_machine check before EI_CLASS check.  Handle x32
39505         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39506         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39507         SKIP_EM_IA_64 and include
39508         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39510         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39511         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39512         (add_system_dir): New macro.
39514         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39515         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39517 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
39519         [BZ #2551]
39520         [BZ #2552]
39521         [BZ #2553]
39522         [BZ #2554]
39523         [BZ #2562]
39524         [BZ #2563]
39525         [BZ #2565]
39526         [BZ #2566]
39527         [BZ #2576]
39528         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
39529         (y0): Likewise.
39530         * math/w_j0f.c (j0f): Likewise.
39531         (y0f): Likewise.
39532         * math/w_j0l.c (__j0l): Likewise.
39533         (__y0l): Likewise.
39534         * math/w_j1.c (j1): Likewise.
39535         (y1): Likewise.
39536         * math/w_j1f.c (j1f): Likewise.
39537         (y1f): Likewise.
39538         * math/w_j1l.c (__j1l): Likewise.
39539         (__y1l): Likewise.
39540         * math/w_jn.c (jn): Likewise.
39541         (yn): Likewise.
39542         * math/w_jnf.c (jnf): Likewise.
39543         (ynf): Likewise.
39544         * math/w_jnl.c (__jnl): Likewise.
39545         (__ynl): Likewise.
39546         * math/libm-test.inc (j0_test): Add more tests.
39547         (j1_test): Likewise.
39548         (jn_test): Likewise.  Add trailing semicolon to existing test.
39549         (y0_test): Likewise.
39550         (y1_test): Likewise.
39551         * sysdeps/i386/fpu/libm-test-ulps: Update.
39552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39554         [BZ #13851]
39555         [BZ #13854]
39556         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
39557         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
39558         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
39559         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
39560         (__tanl): Set errno for infinite argument.
39561         * sysdeps/i386/fpu/mptan.c: Remove.
39562         * sysdeps/i386/fpu/s_tan.S: Likewise.
39563         * sysdeps/i386/fpu/s_tanl.S: Likewise.
39564         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
39565         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
39566         * math/libm-test.inc (tan_test): Add more tests and enable more
39567         tests for double and long double.
39568         * sysdeps/i386/fpu/libm-test-ulps: Update.
39569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39571 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
39573         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
39574         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
39576 2012-03-16  Roland McGrath  <roland@hack.frob.com>
39578         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
39579         * configure.in: Use it for both main tree and add-ons.
39580         * configure: Regenerated.
39582 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39584         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
39586 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
39588         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
39589         in comment.
39591         [BZ #13851]
39592         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
39593         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
39594         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
39595         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
39596         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
39597         infinite argument.
39598         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
39599         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
39600         != 0 for prec == 2.
39601         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
39602         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
39603         * sysdeps/i386/fpu/s_cosl.S: Likewise.
39604         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
39605         * sysdeps/i386/fpu/s_sinl.S: Likewise.
39606         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
39607         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
39608         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
39609         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
39610         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
39611         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
39612         * math/libm-test.inc (cos_test): Add more tests and enable more
39613         tests for long double.
39614         (sin_test): Likewise.
39615         (sincos_test): Likewise.
39616         * sysdeps/i386/fpu/libm-test-ulps: Update.
39617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39619 2012-03-16  David S. Miller  <davem@davemloft.net>
39621         * sysdeps/sparc/fpu/math_private.h: New file.
39623 2012-03-15  David S. Miller  <davem@davemloft.net>
39625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
39626         file.
39627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
39628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
39629         file.
39630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
39631         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
39632         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
39633         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
39634         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
39635         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
39636         sysdep routines.
39637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39639         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
39640         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
39642         * sysdeps/sparc/sparc-ifunc.h: New file.
39643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
39644         sparc-ifunc.h
39645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
39647         Likewise.
39648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
39649         Likewise.
39650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
39651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
39652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39654         Likewise.
39655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
39657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
39659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
39660         Likewise.
39661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
39662         Likewise.
39663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
39665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
39666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
39667         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39668         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39669         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
39670         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
39671         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39672         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39673         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
39674         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
39675         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
39676         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
39677         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
39678         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
39679         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
39680         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
39681         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
39682         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
39683         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
39684         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
39685         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
39686         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
39688 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
39690         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
39691         scaling.
39692         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39694 2012-03-15  Andreas Jaeger  <aj@suse.de>
39696         [BZ #13852]
39697         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
39698         ieee754/flt-32 implementation for sin, cos and sincos.
39699         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
39700         * sysdeps/i386/fpu/s_cosf.S: Likewise.
39701         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
39702         * sysdeps/i386/fpu/s_sinf.S: Likewise.
39703         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
39704         ieee754/flt-32 implementation for tan.
39706         * math/libm-test.inc (cos_test): Enable some large input tests for
39707         float as well
39708         (sin_test): Likewise.
39709         (sincos_test): Likewise.
39710         (tan_test): Add tests for large input.
39712         * sysdeps/i386/fpu/libm-test-ulps: Update.
39714 2012-03-15  Andreas Jaeger  <aj@suse.de>
39716         [BZ #13658]
39717         * math/libm-test.inc (cos_test): Add more test cases.
39718         (sin_test): Likewise.
39719         (sincos_test): Likewise.
39721 2012-03-15  Andreas Jaeger  <aj@suse.de>
39723         [BZ #13837]
39724         * math/libm-test.inc (cos_test): Add a test case for large input
39725         value.
39726         (sin_test): Likewise.
39727         (sincos_test): Likewise.
39729 2012-03-15  Andreas Jaeger  <aj@suse.de>
39730             Joseph Myers  <joseph@codesourcery.com>
39732         [BZ #13658]
39733         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
39734         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
39735         * sysdeps/i386/fpu/branred.c: Likewise.
39736         * sysdeps/i386/fpu/dosincos.c: Likewise.
39737         * sysdeps/i386/fpu/mpa.c: Likewise.
39738         * sysdeps/i386/fpu/s_cos.S: Likewise.
39739         * sysdeps/i386/fpu/s_sin.S: Likewise.
39740         * sysdeps/i386/fpu/s_sincos.S: Likewise.
39741         * sysdeps/i386/fpu/sincos32.c: Likewise.
39743         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
39744         Define.
39745         (libc_feupdateenv_53bit): Define.
39746         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
39747         Define.
39748         (libc_feupdateenv_53bit): Define.
39750         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
39751         53 bit (without extend i386 double precision).
39753         * math/libm-test.inc (sincos_test): Add tests for large input.
39754         (sin): Likewise.
39755         (cos): Likewise.
39757         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39759 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
39761         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39763 2012-03-15  David S. Miller  <davem@davemloft.net>
39765         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
39766         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
39767         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
39768         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
39769         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
39770         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
39771         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
39772         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
39773         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
39774         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
39775         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
39776         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
39777         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
39778         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
39779         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
39780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
39781         file.
39782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
39783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39784         file.
39785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
39786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39787         file.
39788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
39789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39790         file.
39791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39792         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39793         fmin/fmax sysdep routines.
39794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39796 2012-03-14  David S. Miller  <davem@davemloft.net>
39798         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39799         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39800         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39801         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39802         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39803         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39804         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39805         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39806         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39807         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39808         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39809         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39810         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39811         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39812         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39813         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39814         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39815         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39816         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39817         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39818         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39819         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39820         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39821         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39822         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39823         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39824         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39825         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
39826         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39827         routines.
39828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39829         file.
39830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
39831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39832         file.
39833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
39834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39835         file.
39836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
39837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39838         file.
39839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
39840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39841         file.
39842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
39843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39844         file.
39845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39846         file.
39847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39848         file.
39849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39850         file.
39851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39852         New file.
39853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39854         file.
39855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39856         file.
39857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
39858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39859         file.
39860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
39861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39862         file.
39863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
39864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39865         file.
39866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
39867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39868         VIS3 routines.
39870         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39871         New file.
39873         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39875         * sysdeps/sparc/configure.in: New file.
39876         * sysdeps/sparc/configure: Generate.
39877         * configure.in (libc_cv_sparc_as_vis3): Substitute.
39878         * configure: Regenerate.
39879         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39880         * config.make.in (have-as-vis3): New.
39881         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39882         available use -Av9d instead of -Av9a.
39883         * sysdeps/sparc/sparc64/Makefile: Likewise.
39884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
39885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39886         New file.
39887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39888         file.
39889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39890         New file.
39891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39892         file.
39893         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39894         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39895         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
39896         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
39897         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
39899         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
39900         fzeros/fnegs to load 0x80000000 into a float register instead of
39901         using the stack.
39902         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
39904 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
39906         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39907         bits/syscall.h.
39908         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
39909         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
39910         ($(inst_includedir)/bits/syscall.h): Remove rule.
39911         ($(objpfx)bits/syscall.d): Include instead of
39912         $(objpfx)syscall-list.d.
39913         (generated): Change syscall-list.h and syscall-list.d to
39914         bits/syscall.h and bits/syscall.d.
39916 2012-03-14  Roland McGrath  <roland@hack.frob.com>
39918         [BZ #13846]
39919         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
39921 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
39923         [BZ #13841]
39924         * math/s_csqrt.c: Include <float.h>.
39925         (__csqrt): Scale large or subnormal inputs.
39926         * math/s_csqrtf.c: Likewise.
39927         * math/s_csqrtl.c: Likewise.
39928         * math/libm-test.inc (csqrt_test): Add more tests.
39929         * sysdeps/i386/fpu/libm-test-ulps: Update.
39930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39932         [BZ #13840]
39933         * math/libm-test.inc (hypot_test): Add more tests.
39935 2012-03-13  David S. Miller  <davem@davemloft.net>
39937         [BZ #13840]
39938         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
39939         double-precision for the calculation instead of scaling.
39941 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
39943         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
39944         manipulate bits before adding and subtracting TWO52[sx].
39945         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
39946         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
39947         Likewise.
39948         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
39950 2012-03-13  David S. Miller  <davem@davemloft.net>
39952         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
39953         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
39954         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
39955         rtld-global-offsets.h
39956         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39958         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
39959         large parameters.
39961         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
39963         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
39964         'err' in the ifdef scope in which it is actually used.
39966         * nss/nss_db/db-init.c: Include string.h
39968 2012-03-12  David S. Miller  <davem@davemloft.net>
39970         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39971         masking out of the most significant byte of random value used.
39972         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39973         Fix coding style in previous change.
39975         * sysdeps/unix/sysv/linux/kernel-features.h
39976         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
39977         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
39978         expression.
39979         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
39980         later.
39982 2012-03-11  David S. Miller  <davem@davemloft.net>
39984         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39985         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
39986         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
39987         for 'resultvar' otherwise things get truncated on 64-bit.
39989         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39990         Fix masking out of the most significant byte of random value used.
39992         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39994 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
39996         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39998 2012-03-09  David S. Miller  <davem@davemloft.net>
40000         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40001         variables with appropriate CPP guards.
40002         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40003         from the frame pointer, not the stack pointer.  Correct layout
40004         comments.  Fix test on resulting framesize and the management of
40005         the outregs buffer for pltexit.  Preserve floating point return
40006         values across _dl_call_pltexit call.
40007         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
40008         framesize and the management of the outregs buffer for pltexit.
40009         Preserve floating point return values across _dl_call_pltexit
40010         call.
40011         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
40012         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
40013         (la_sparc64_gnu_pltexit): New functions.
40014         (print_exit): Fix format string for return register value.
40016 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
40018         * sunrpc/Makefile (others): Add rpcgen.
40019         ($(objpfx)rpcgen): Remove special build rule and dependency on
40020         libc.
40021         * sunrpc/rpcgen.c: New file.
40023 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
40025         [BZ #13673]
40026         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40027         * stdio-common/bug-vfprintf-nargs.c: Likewise.
40028         * sysdeps/i386/crti.S: Likewise.
40029         * sysdeps/i386/crtn.S: Likewise.
40030         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
40031         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
40032         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
40033         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
40034         * sysdeps/sh/crti.S: Likewise.
40035         * sysdeps/sh/crtn.S: Likewise.
40036         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40038         [BZ #13673]
40039         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
40040         with URL.
40041         * locale/programs/locfile-kw.gperf: Likewise.
40042         * locale/programs/charmap-kw.h: Regenerated.
40043         * locale/programs/locfile-kw.h: Likewise.
40045         [BZ #13673]
40046         * intl/plural.y: Replace FSF snail mail address with URL.
40047         * intl/plural.c: Regenerated.
40049 2012-03-09  Richard Henderson  <rth@twiddle.net>
40051         * include/math_private.h: Remove file.
40052         * math/math_private.h: Move file ...
40053         * sysdeps/generic/math_private.h: ... here.
40055         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40056         * sysdeps/powerpc/fpu/math_private.h: Likewise.
40057         * sysdeps/x86_64/fpu/math_private.h: Likewise.
40059         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
40060         and <math_private.h>.
40061         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40062         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40063         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40064         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40065         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40066         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40067         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40068         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40069         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40070         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40071         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40072         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40073         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40074         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40075         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40076         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40077         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40078         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40079         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40080         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40081         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40082         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40083         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40084         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40085         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40086         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40087         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40088         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40089         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40090         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40091         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40092         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40093         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40094         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40095         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40096         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40097         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40098         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40099         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40100         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40101         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40102         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40103         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40104         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40105         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40106         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40107         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40108         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40109         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40110         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40111         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40112         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40113         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40114         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40115         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40116         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40117         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40118         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40119         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40120         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40121         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40122         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40123         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40124         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40125         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40126         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40127         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40128         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40129         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40130         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40131         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40132         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40133         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40134         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40135         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40136         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40137         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40138         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40139         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40140         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40141         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40142         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40143         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40144         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40145         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40146         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40147         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40148         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40149         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40150         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40151         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40152         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40153         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40154         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40155         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40156         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40157         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40158         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40159         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40160         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40161         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40162         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40163         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40164         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40165         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40166         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40167         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40168         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40169         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40170         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40171         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40172         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40173         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40174         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40175         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40176         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40177         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40178         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40179         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40180         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40181         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40182         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40183         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40184         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40185         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40186         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40187         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40188         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
40189         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40190         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
40191         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
40192         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40193         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40194         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
40195         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
40196         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40197         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40198         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40199         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40200         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40201         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40202         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40203         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40204         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40205         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40206         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40207         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40208         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40209         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40210         * sysdeps/ieee754/k_standard.c: Likewise.
40211         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40212         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40213         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40214         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40215         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40216         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40217         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40218         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40219         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40220         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40221         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40222         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40223         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40224         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40225         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40226         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40227         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40228         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40229         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40230         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40231         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40232         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40233         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40234         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40235         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40236         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40237         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40238         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40239         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40240         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40241         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40242         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40243         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40244         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40245         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40246         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40247         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40248         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40249         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40250         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40251         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40252         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40253         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40254         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40255         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40256         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40257         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40258         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40259         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40260         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40261         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40262         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40263         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40264         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40265         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40266         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40267         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40268         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40269         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40270         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40271         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40272         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40273         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40274         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40275         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40276         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40277         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40278         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40279         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40280         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40281         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40282         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40283         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40284         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40285         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40286         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40287         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40288         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40289         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40290         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40291         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40292         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40293         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40294         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40295         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40296         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40297         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40298         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40299         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40300         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40301         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40302         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40303         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40304         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40305         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40306         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40307         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40308         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40309         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40310         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
40311         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40312         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40313         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40314         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40315         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
40316         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40317         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40318         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40319         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
40320         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40321         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40322         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40323         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40324         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40325         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40326         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40327         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40328         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40329         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40330         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40331         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40332         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40333         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40334         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40335         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40336         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
40337         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40338         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40339         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40340         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40341         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40342         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40343         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40344         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40345         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40346         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40347         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
40348         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40349         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40350         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
40351         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
40352         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40353         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
40354         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
40355         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40356         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40357         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40358         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40359         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40360         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
40361         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40362         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40363         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40364         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40365         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
40366         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
40367         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40368         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40369         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40370         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40371         * sysdeps/ieee754/s_lib_version.c: Likewise.
40372         * sysdeps/ieee754/s_matherr.c: Likewise.
40373         * sysdeps/ieee754/s_signgam.c: Likewise.
40374         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40375         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40376         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
40377         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
40378         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
40379         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40380         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
40381         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
40382         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
40383         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
40384         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40385         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
40386         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40387         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40388         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
40389         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40390         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40391         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40392         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40393         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40394         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40396 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
40398         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40399         * sunrpc/rpc_main.c: Likewise.
40400         * sunrpc/rpc_svcout.c: Likewise.
40402 2012-03-09  David S. Miller  <davem@davemloft.net>
40404         * include/math_private.h: New file.
40406 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
40408         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40409         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40410         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40411         from <bits/socket_type.h>.
40412         (enum __socket_type): Don't define here.
40413         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40414         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40415         bits/socket_type.h.
40417         [BZ #13566]
40418         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40419         checking __USE_GNU.
40421         * Makerules ($(inst_includedir)/%.h): New rule.
40422         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40423         (install-others): Remove variable setting.
40424         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40426 2012-03-08  Richard Henderson  <rth@twiddle.net>
40428         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40429         from macro to inline function; merge with the
40430         !__LIBC_INTERNAL_MATH_INLINES version.
40431         (__ieee754_sqrtf): Likewise.
40433         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40434         to inline function.
40435         (__rintf, __floor, __floorf): Likewise.
40437         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40438         macro to inline function.
40439         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40441         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40442         not <math/math_private.h>.
40444 2012-03-08  David S. Miller  <davem@davemloft.net>
40446         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40447         copyright year.
40448         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40450 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
40452         * resolv/gai_misc.c (handle_requests): Fix struct timespec
40453         normalization.
40454         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40455         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40457 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
40459         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
40460         be defined individually, they must be defined as a block.  Define
40461         S for printing a string instead of hidint the different by using a
40462         macro for adding the 'l'.
40463         * stdio-common/tst-fphex-wide.c: Adjust.
40465 2012-03-07  Marek Polacek  <polacek@redhat.com>
40467         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40469 2012-03-08  Marek Polacek  <polacek@redhat.com>
40471         [BZ #13806]
40472         * stdio-common/Makefile (tests): Add tst-fphex-wide.
40473         * stdio-common/tst-fphex.c: Define a few macros to make the
40474         test reusable.  Use them.
40475         * stdio-common/tst-fphex-wide.c: New file.
40477 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
40479         [BZ #6911]
40480         * manual/macros.texi (gnusystems): New macro.
40481         (nongnusystems): Likewise.
40482         (gnulinuxhurdsystems): Likewise.
40483         (gnuhurdsystems): Likewise..
40484         (gnulinuxsystems): Likewise.
40485         * manual/charset.texi: Use new macros or @theglibc{} to refer to
40486         variants of the GNU system, not "GNU system".
40487         * manual/conf.texi: Likewise.
40488         * manual/errno.texi: Likewise.  Update example of errno macro
40489         expansion.
40490         * manual/filesys.texi: Likewise.
40491         (getumask): Document as specific to GNU/Hurd.
40492         * manual/install.texi: Likewise.  Reword some references to
40493         GNU/Linux.
40494         * manual/intro.texi: Likewise.
40495         * manual/io.texi: Likewise.
40496         (File Name Portability): Detail which constraints are inapplicable
40497         to all GNU systems and which are only inapplicable to GNU/Hurd.
40498         * manual/job.texi: Likewise.
40499         * manual/llio.texi: Likewise.
40500         (O_NOCTTY): Document as present on GNU/Linux.
40501         * manual/maint.texi: Likewise.
40502         * manual/memory.texi: Likewise.
40503         * manual/pattern.texi: Likewise.
40504         * manual/pipe.texi: Likewise.
40505         * manual/process.texi: Likewise.
40506         * manual/resource.texi: Likewise.
40507         (RUSAGE_CHILDREN): Remove statement about specifying a particular
40508         child on GNU/Hurd.
40509         * manual/setjmp.texi: Likewise.
40510         * manual/signal.texi: Likewise.
40511         * manual/startup.texi: Likewise.
40512         * manual/stdio.texi: Likewise.
40513         * manual/terminal.texi: Likewise.
40514         (ONLCR): Document as POSIX.
40515         (OXTABS): Document availability on GNU/Linux as XTABS.
40516         (ONOEOT): Document availability separately from other bits.
40517         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40518         * manual/time.texi: Likewise.
40519         * manual/users.texi: Likewise.
40520         * INSTALL: Regenerated.
40521         * sysdeps/gnu/errlist.c: Regenerated.
40523         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
40524         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
40525         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
40526         puts.
40527         * configure: Regenerated.
40529 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
40531         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
40532         default includes instead of AC_HEADER_CHECK.
40533         * sysdeps/i386/configure: Regenerated.
40535         [BZ #10716]
40536         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
40537         * math/s_cacoshf.c (__cacoshf): Likewise.
40538         * math/s_cacoshl.c (__cacoshl): Likewise.
40539         * math/s_casinh.c (__casinh): Set signs of result from argument.
40540         * math/s_casinhf.c (__casinhf): Likewise.
40541         * math/s_casinhl.c (__casinhl): Likewise.
40542         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
40543         (casinh_test): Add more tests.
40544         * sysdeps/i386/fpu/libm-test-ulps: Update.
40545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40547 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
40549         * po/zh_TW.po: Update from translation team.
40551         * login/Makefile (distribute): Remove variable.
40552         * catgets/Makefile: Likewise.
40553         * mach/Makefile: Likewise.
40554         * malloc/Makefile: Likewise.
40555         * misc/Makefile: Likewise.
40556         * iconv/Makefile: Likewise.
40557         * nscd/Makefile: Likewise.
40558         * hurd/Makefile: Likewise.
40559         * manual/Makefile: Likewise.
40560         * locale/Makefile: Likewise.
40561         * intl/Makefile: Likewise.
40562         * conform/Makefile: Likewise.
40563         * nss/Makefile: Likewise.
40564         * time/Makefile: Likewise.
40565         * soft-fp/Makefile: Likewise.
40566         * dirent/Makefile: Likewise.
40567         * gmon/Makefile: Likewise.
40568         * po/Makefile: Likewise.
40569         * rt/Makefile: Likewise.
40570         * socket/Makefile: Likewise.
40571         * math/Makefile: Likewise.
40572         * signal/Makefile: Likewise.
40573         * debug/Makefile: Likewise.
40574         * elf/Makefile: Likewise.
40575         * timezone/Makefile: Likewise.
40576         * stdlib/Makefile: Likewise.
40577         * iconvdata/Makefile: Likewise.
40578         * sunrpc/Makefile: Likewise.
40579         * io/Makefile: Likewise.
40580         * argp/Makefile: Likewise.
40581         * inet/Makefile: Likewise.
40582         * hesiod/Makefile: Likewise.
40583         * grp/Makefile: Likewise.
40584         * csu/Makefile: Likewise.
40585         * wctype/Makefile: Likewise.
40586         * crypt/Makefile: Likewise.
40587         * libio/Makefile: Likewise.
40588         * string/Makefile: Likewise.
40589         * nis/Makefile: Likewise.
40590         * resolv/Makefile: Likewise.
40591         * stdio-common/Makefile: Likewise.
40592         * wcsmbs/Makefile: Likewise.
40593         * dlfcn/Makefile: Likewise.
40594         * posix/Makefile: Likewise.
40596         [BZ #6959]
40597         * timezone/Makefile: Don't install timezone files, just the programs
40598         and scripts.
40600 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
40602         * nss/databases.def: Add missing gshadow entry.
40604         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
40606 2012-03-06  Marek Polacek  <polacek@redhat.com>
40608         [BZ #13726]
40609         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
40610         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40611         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
40612         * stdio-common/tst-long-dbl-fphex.c: New file.
40614 2012-03-06  David S. Miller  <davem@davemloft.net>
40616         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40617         (set_obp_int): New function.
40618         (get_obp_int): New function.
40619         (__get_clockfreq_via_dev_openprom): Likewise.
40620         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
40621         Avoid unused variable warnings on 'val' and use builtin_expect.
40622         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
40623         __builtin_expect.
40624         (INLINE_CLONE_SYSCALL): Likewise.
40626 2012-03-05  David S. Miller  <davem@davemloft.net>
40628         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40630 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
40632         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40634         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
40635         only for |x| >= 40.
40636         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40638 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
40640         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
40641         Replace gettimeofday with __vdso_gettimeofday.
40643         * sysdeps/unix/sysv/linux/x86_64/init-first.c
40644         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
40645         __vdso_clock_gettime and __vdso_getcpu.
40647         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
40648         time with __vdso_time.
40650 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
40652         * manual/lang.texi (size_t): Note types to which size_t may be
40653         equivalent with the GNU C Library, but do not describe when
40654         differences between them are significant.
40656 2012-03-05  Andreas Jaeger  <aj@suse.de>
40658         * sysdeps/i386/fpu/libm-test-ulps: Update.
40660 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
40662         [BZ #3976]
40663         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
40664         (__ieee754_pow): Save and restore rounding mode and use
40665         round-to-nearest for main computations.
40666         * math/libm-test.inc (pow_test_tonearest): New function.
40667         (pow_test_towardzero): Likewise.
40668         (pow_test_downward): Likewise.
40669         (pow_test_upward): Likewise.
40670         (main): Call the new functions.
40671         * sysdeps/i386/fpu/libm-test-ulps: Update.
40672         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40674         [BZ #3976]
40675         * math/libm-test.inc (cosh_test_tonearest): New function.
40676         (cosh_test_towardzero): Likewise.
40677         (cosh_test_downward): Likewise.
40678         (cosh_test_upward): Likewise.
40679         (sinh_test_tonearest): Likewise.
40680         (sinh_test_towardzero): Likewise.
40681         (sinh_test_downward): Likewise.
40682         (sinh_test_upward): Likewise.
40683         (main): Call the new functions.
40684         * sysdeps/i386/fpu/libm-test-ulps: Update.
40685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40687 2012-03-05  Tom de Vries  <tom@codesourcery.com>
40689         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
40690         default stack guard is set in last bytes.
40691         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
40693 2012-03-05  Kees Cook  <keescook@chromium.org>
40695         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
40697         [BZ #13656]
40698         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
40699         possibly allocate from heap instead of stack.
40700         * stdio-common/bug-vfprintf-nargs.c: New file.
40701         * stdio-common/Makefile (tests): Add nargs overflow test.
40703 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
40705         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40707 2012-03-03  Marek Polacek  <polacek@redhat.com>
40709         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
40710         * math/math_private.h: Likewise.
40711         * stdlib/tst-strtod.c: Likewise.
40712         * sysdeps/i386/i486/bits/atomic.h: Likewise.
40713         * sysdeps/x86_64/bits/atomic.h: Likewise.
40715 2012-03-02  David S. Miller  <davem@davemloft.net>
40717         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
40718         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
40719         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
40720         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
40721         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
40722         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
40723         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
40724         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
40726 2012-03-02  Roland McGrath  <roland@hack.frob.com>
40728         [BZ #13792]
40729         * manual/examples/README: New file, says the example source files
40730         can be used under GPL>=2.
40731         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40732         line containing just "*/".
40733         * manual/examples/add.c: Add copyright header (GPL>=2).
40734         * manual/examples/argp-ex1.c: Likewise.
40735         * manual/examples/argp-ex2.c: Likewise.
40736         * manual/examples/argp-ex3.c: Likewise.
40737         * manual/examples/argp-ex4.c: Likewise.
40738         * manual/examples/atexit.c: Likewise.
40739         * manual/examples/db.c: Likewise.
40740         * manual/examples/dir.c: Likewise.
40741         * manual/examples/dir2.c: Likewise.
40742         * manual/examples/execinfo.c: Likewise.
40743         * manual/examples/filecli.c: Likewise.
40744         * manual/examples/filesrv.c: Likewise.
40745         * manual/examples/fmtmsgexpl.c: Likewise.
40746         * manual/examples/genpass.c: Likewise.
40747         * manual/examples/inetcli.c: Likewise.
40748         * manual/examples/inetsrv.c: Likewise.
40749         * manual/examples/isockad.c: Likewise.
40750         * manual/examples/longopt.c: Likewise.
40751         * manual/examples/memopen.c: Likewise.
40752         * manual/examples/memstrm.c: Likewise.
40753         * manual/examples/mkfsock.c: Likewise.
40754         * manual/examples/mkisock.c: Likewise.
40755         * manual/examples/mygetpass.c: Likewise.
40756         * manual/examples/pipe.c: Likewise.
40757         * manual/examples/popen.c: Likewise.
40758         * manual/examples/rprintf.c: Likewise.
40759         * manual/examples/search.c: Likewise.
40760         * manual/examples/select.c: Likewise.
40761         * manual/examples/setjmp.c: Likewise.
40762         * manual/examples/sigh1.c: Likewise.
40763         * manual/examples/sigusr.c: Likewise.
40764         * manual/examples/stpcpy.c: Likewise.
40765         * manual/examples/strdupa.c: Likewise.
40766         * manual/examples/strftim.c: Likewise.
40767         * manual/examples/strncat.c: Likewise.
40768         * manual/examples/subopt.c: Likewise.
40769         * manual/examples/swapcontext.c: Likewise.
40770         * manual/examples/termios.c: Likewise.
40771         * manual/examples/testopt.c: Likewise.
40772         * manual/examples/testpass.c: Likewise.
40773         * manual/examples/timeval_subtract.c: Likewise.
40775         [BZ #13792]
40776         * manual/time.texi (Elapsed Time): Move timeval_subtract example
40777         function to ...
40778         * manual/timeval_subtract.c.texi: ... here, new file.
40780 2012-03-02  David S. Miller  <davem@davemloft.net>
40782         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40784 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
40786         [BZ #3976]
40787         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40788         (__sin): Save and restore rounding mode and use round-to-nearest
40789         for all computations.
40790         (__cos): Save and restore rounding mode and use round-to-nearest
40791         for all computations.
40792         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40793         <fenv.h>.
40794         (tan): Save and restore rounding mode and use round-to-nearest for
40795         all computations.
40796         * math/libm-test.inc (cos_test_tonearest): New function.
40797         (cos_test_towardzero): Likewise.
40798         (cos_test_downward): Likewise.
40799         (cos_test_upward): Likewise.
40800         (sin_test_tonearest): Likewise.
40801         (sin_test_towardzero): Likewise.
40802         (sin_test_downward): Likewise.
40803         (sin_test_upward): Likewise.
40804         (tan_test_tonearest): Likewise.
40805         (tan_test_towardzero): Likewise.
40806         (tan_test_downward): Likewise.
40807         (tan_test_upward): Likewise.
40808         (main): Call the new functions.
40809         * sysdeps/i386/fpu/libm-test-ulps: Update.
40810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40812         [BZ #10135]
40813         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40814         small n, then large n, before computing and testing k+n.
40815         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40816         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40817         Likewise.
40818         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40819         Likewise.
40820         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40821         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40822         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40823         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40824         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40825         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40826         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40827         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40828         * math/libm-test.inc (scalbn_test): Add more tests.
40829         (scalbln_test): Likewise.
40831         * manual/filesys.texi (mode_t): Describe constraints on size and
40832         signedness, not exact equivalence to a particular type.
40833         (ino_t): Likewise.
40834         (ino64_t): Likewise.
40835         (dev_t): Likewise.
40836         (nlink_t): Likewise.
40837         (blkcnt_t): Likewise.
40838         (blkcnt64_t): Likewise.
40839         * manual/llio.texi (off_t): Likewise.
40841         [BZ #3976]
40842         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40843         (__ieee754_exp): Save and restore rounding mode and use
40844         round-to-nearest for all computations.
40845         * math/libm-test.inc (exp_test_tonearest): New function.
40846         (exp_test_towardzero): Likewise.
40847         (exp_test_downward): Likewise.
40848         (exp_test_upward): Likewise.
40849         (main): Call the new functions.
40850         * sysdeps/i386/fpu/libm-test-ulps: Update.
40851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40853 2012-03-01  Chris Demetriou  <cgd@google.com>
40855         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40856         have predictable order.
40858 2012-03-01  David S. Miller  <davem@davemloft.net>
40860         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40862         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40863         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40864         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40865         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40867         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40868         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40869         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40870         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40871         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40872         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40873         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40874         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40875         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40877         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40879         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40880         * sysdeps/sparc/fpu/libm-test-ulps: to here.
40881         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40883         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40884         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40885         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40886         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40887         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40888         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40889         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40890         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40891         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40892         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40893         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40894         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40895         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40896         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40897         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40898         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40899         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
40900         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
40901         * sysdeps/sparc/elf/configure: Regenerated.
40903 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
40905         * configure.in (AS, LD): Require binutils 2.20 or later.
40906         * configure: Regenerated.
40907         * manual/install.texi (Tools for Compilation): Give binutils 2.20
40908         as required minimum version.
40909         * INSTALL: Regenerated.
40911         [BZ #2541]
40912         [BZ #4108]
40913         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
40914         before squaring exponent.
40915         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
40916         bottom long double and 27 bits of top long double before squaring
40917         exponent.
40918         * math/libm-test.inc (erfc_test): Add more tests.
40919         * sysdeps/i386/fpu/libm-test-ulps: Update.
40920         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40923 2012-03-01  Kai Tietz  <ktietz@redhat.com>
40925         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
40926         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
40927         containing bit-fields.
40928         * soft-fp/extended.h (_FP_UNION_E): Likewise.
40929         * soft-fp/single.h (_FP_UNION_S): Likewise.
40930         * soft-fp/double.h (_FP_UNION_D): Likewise.
40932 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
40934         [BZ #13786]
40935         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
40936         not include ../strcmp.S.
40937         [USE_AS_STRNCASECMP_L]: Likewise.
40938         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
40939         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
40940         * sysdeps/i386/i686/multiarch/strncase_l-c.c
40941         (__strncasecmp_l_ia32): Define as alias to
40942         __strncasecmp_l_nonascii.
40944         [BZ #5794]
40945         * math/libm-test.inc (expm1_test): Add test for bug 5794.
40946         * sysdeps/i386/fpu/libm-test-ulps: Update.
40947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40949         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
40950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40952 2012-02-29  Jeff Law  <law@redhat.com>
40954         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
40955         out of bounds read.
40957 2012-02-29  Marek Polacek  <polacek@redhat.com>
40959         [BZ #13706]
40960         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
40961         * elf/Makefile: Add rules to run tst-unused-dep.out.
40963 2012-02-28  David S. Miller  <davem@davemloft.net>
40965         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
40966         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
40967         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
40968         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
40969         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
40970         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
40972 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
40974         * math/libm-test.inc (llround_test): Move one test from
40975         lround_test.  Use TEST_f_L in moved test.
40976         (lround_test): Move misplaced test to llround_test.  Add testcase
40977         from bug 2561.
40979 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
40981         * sysdeps/x86_64/fpu/e_expf.S: New file.
40982         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
40984 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
40986         [BZ #13637]
40987         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
40988         of remain_len that may cause incomplete multi-byte character and
40989         false match.
40990         * posix/bug-regex33.c: New file.
40991         * posix/Makefile (tests): Add bug-regex33.
40993 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
40995         * manual/macros.texi: New file.
40996         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
40997         * manual/libc.texinfo: Include macros.texi.
40998         * manual/creatute.texi: Likewise.
40999         * manual/install.texi: Likewise.
41000         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41001         @glibcadj{} in references to the GNU C Library.
41002         * manual/charset.texi: Likewise.
41003         * manual/conf.texi: Likewise.
41004         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
41005         when not using those macros.
41006         * manual/creature.texi: Likewise.
41007         * manual/crypt.texi: Likewise.
41008         * manual/errno.texi: Likewise.
41009         * manual/filesys.texi: Likewise.
41010         * manual/header.texi: Likewise.
41011         * manual/install.texi: Likewise.
41012         * manual/intro.texi: Likewise.
41013         * manual/io.texi: Likewise.
41014         * manual/job.texi: Likewise.
41015         * manual/lang.texi: Likewise.
41016         * manual/libc.texiinfo: Likewise.
41017         * manual/llio.texi: Likewise.
41018         * manual/locale.texi: Likewise.
41019         * manual/maint.texi: Likewise.
41020         * manual/math.texi: Likewise.
41021         * manual/memory.texi: Likewise.
41022         * manual/message.texi: Likewise.
41023         * manual/nss.texi: Likewise.
41024         * manual/pattern.texi: Likewise.
41025         * manual/process.texi: Likewise.
41026         * manual/resource.texi: Likewise.
41027         * manual/search.texi: Likewise.
41028         * manual/setjmp.texi: Likewise.
41029         * manual/signal.texi: Likewise.
41030         * manual/socket.texi: Likewise.
41031         * manual/startup.texi: Likewise.
41032         * manual/stdio.texi: Likewise.
41033         * manual/string.texi: Likewise.
41034         * manual/sysinfo.texi: Likewise.
41035         * manual/syslog.texi: Likewise.
41036         * manual/terminal.texi: Likewise.
41037         * manual/time.texi: Likewise.
41038         * manual/users.texi: Likewise.
41039         * INSTALL: Regenerated.
41040         * NOTES: Regenerated.
41041         * sysdeps/gnu/errlist.c: Regenerated.
41043 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
41045         * include/dirent.h: Include <dirstream.h> before
41046         <dirent/dirent.h>.
41048 2012-02-28  David S. Miller  <davem@davemloft.net>
41050         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41051         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41052         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41053         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41055 2012-02-27  David S. Miller  <davem@davemloft.net>
41057         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41058         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41059         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41060         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41062         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41063         frame pointer instead of stack pointer relative arg slot.
41064         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41065         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41066         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41068 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
41070         [BZ #3992]
41071         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
41073 2012-02-27  David S. Miller  <davem@davemloft.net>
41075         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
41076         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41077         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41078         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41079         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41080         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41081         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41082         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41084 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
41086         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41087         later.  Allow versions 5-9.
41088         * configure: Regenerated.
41089         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41090         required minimum version and 4.6 as recommended version.  Do not
41091         mention bugs in GCC 2.7 and 2.8.
41092         * INSTALL: Regenerated.
41094 2012-02-27  David S. Miller  <davem@davemloft.net>
41096         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41097         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41098         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41099         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41100         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41101         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41102         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41103         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41105         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41106         manipulate bits before adding and subtracting TWO112[sx].
41107         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41109 2012-02-27  Roland McGrath  <roland@hack.frob.com>
41111         [BZ #13775]
41112         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41113         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41114         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41115         being in POSIX, because they are in 1003.1-2008.
41117         * rt/tst-aio.c: Include <fcntl.h>.
41118         * rt/tst-aio7.c: Likewise.
41119         * rt/tst-aio64.c: Likewise.
41121         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41123 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
41125         * manual/install.texi (--with-headers): Describe headers as
41126         interface headers, not private headers.
41127         (Specific advice for GNU/Linux systems): Describe use of headers
41128         from "make headers_install", not private headers from older
41129         kernels.
41130         * INSTALL: Regenerated.
41131         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41132         Change to 2.6.19.
41133         * sysdeps/unix/sysv/linux/configure: Regenerated.
41135         * manual/llio.texi (fclean): Remove documentation.
41137         * manual/Makefile (libc-texi-generated): New variable.  Include
41138         version.texi.
41139         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41140         $(libc-texi-generated), not duplicated list of files.
41141         (version.texi, stamp-version): New rules.
41142         (realclean): Remove $(libc-texi-generated), not individual files
41143         from that list.  Do not remove dir-add.texinfo.
41144         * manual/libc.texinfo: Comment out uses of edition numbers and
41145         references to printed manual.  Remove last-updated dates.
41146         (EDITION): Comment out.
41147         (ISBN): Likewise.
41148         (VERSION, UPDATED): Remove.
41149         (version.texi): Include.
41151 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
41153         * sysdeps/posix/spawni.c: Include <signal.h>.
41154         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41155         * sysdeps/pthread/aio_fsync.c: Likewise.
41157 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
41159         * conform/Makefile (tests): Run only when not cross-compiling and
41160         when fast-check is not defined.
41162         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41163         * conform/data/limits.h-data: Fixes for POSIX2008.
41164         * conform/run-conformtest.sh: Run all tests.
41165         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41166         headers.
41167         * include/bits/dlfcn.h: Likewise.
41168         * include/langinfo.h: Likewise.
41169         * include/monetary.h: Likewise.
41170         * include/sys/poll.h: Likewise.
41172         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41173         for __USE_GNU.
41174         * posix/spawn.h: Define __need_sigset_t.
41175         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41176         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41177         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
41178         to get sigevent_t only.
41179         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41180         only for __USE_GNU.
41181         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41182         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41183         process_vm_writev only for __USE_GNU.
41184         * termios/termios.h: Declare tcgetsid also for POSIX2008.
41186         * conform/Makefile: For now ignore errors from run-conformtest.
41187         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
41188         POSIX to avoid namespace pollution.  Don't prepend headers.
41189         * conform/data/aio.h-data: Fixes for POSIX testing.
41190         * conform/data/fcntl.h-data: Likewise.
41191         * conform/data/glob.h-data: Likewise.
41192         * conform/data/grp.h-data: Likewise.
41193         * conform/data/pthread.h-data: Likewise.
41194         * conform/data/pwd.h-data: Likewise.
41195         * conform/data/signal.h-data: Likewise.
41196         * conform/data/spawn.h-data: Likewise.
41197         * conform/data/stdio.h-data: Likewise.
41198         * conform/data/stdlib.h-data: Likewise.
41199         * conform/data/stropts.h-data: Likewise.
41200         * conform/data/sys/mman.h-data: Likewise.
41201         * conform/data/sys/stat.h-data: Likewise.
41202         * conform/data/sys/types.h-data: Likewise.
41203         * conform/data/sys/wait.h-data: Likewise.
41204         * conform/data/time.h-data: Likewise.
41205         * conform/data/unistd.h-data: Likewise.
41206         * conform/data/utime.h-data: Likewise.
41208         * io/sys/stat.h: fchmod was always in POSIX.
41209         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41210         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41211         * rt/aio.h: Define __need_timespec before including <time.h>.
41212         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41213         struct.  Add forward declaration of pthread_attr_t and use it in
41214         sigevent.
41215         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41216         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41217         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41218         always remove CLK_TCK definition.
41220 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
41222         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41224 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
41226         * conform/run-conformtest.sh: New file.
41227         * conform/Makefile: Run run-conformtest for tests.
41228         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
41229         support.
41231         * conform/data/uchar.h-data: New file.
41232         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41233         * conform/data/arpa/inet.h-data: Likewise.
41234         * conform/data/assert.h-data: Likewise.
41235         * conform/data/complex.h-data: Likewise.
41236         * conform/data/cpio.h-data: Likewise.
41237         * conform/data/ctype.h-data: Likewise.
41238         * conform/data/dirent.h-data: Likewise.
41239         * conform/data/dlfcn.h-data: Likewise.
41240         * conform/data/errno.h-data: Likewise.
41241         * conform/data/fcntl.h-data: Likewise.
41242         * conform/data/float.h-data: Likewise.
41243         * conform/data/fmtmsg.h-data: Likewise.
41244         * conform/data/fnmatch.h-data: Likewise.
41245         * conform/data/ftw.h-data: Likewise.
41246         * conform/data/glob.h-data: Likewise.
41247         * conform/data/grp.h-data: Likewise.
41248         * conform/data/iconv.h-data: Likewise.
41249         * conform/data/inttypes.h-data: Likewise.
41250         * conform/data/langinfo.h-data: Likewise.
41251         * conform/data/libgen.h-data: Likewise.
41252         * conform/data/limits.h-data: Likewise.
41253         * conform/data/locale.h-data: Likewise.
41254         * conform/data/math.h-data: Likewise.
41255         * conform/data/monetary.h-data: Likewise.
41256         * conform/data/mqueue.h-data: Likewise.
41257         * conform/data/ndbm.h-data: Likewise.
41258         * conform/data/net/if.h-data: Likewise.
41259         * conform/data/netdb.h-data: Likewise.
41260         * conform/data/netinet/in.h-data: Likewise.
41261         * conform/data/nl_types.h-data: Likewise.
41262         * conform/data/poll.h-data: Likewise.
41263         * conform/data/pthread.h-data: Likewise.
41264         * conform/data/pwd.h-data: Likewise.
41265         * conform/data/regex.h-data: Likewise.
41266         * conform/data/sched.h-data: Likewise.
41267         * conform/data/search.h-data: Likewise.
41268         * conform/data/semaphore.h-data: Likewise.
41269         * conform/data/setjmp.h-data: Likewise.
41270         * conform/data/signal.h-data: Likewise.
41271         * conform/data/spawn.h-data: Likewise.
41272         * conform/data/stdarg.h-data: Likewise.
41273         * conform/data/stdio.h-data: Likewise.
41274         * conform/data/stdlib.h-data: Likewise.
41275         * conform/data/string.h-data: Likewise.
41276         * conform/data/strings.h-data: Likewise.
41277         * conform/data/stropts.h-data: Likewise.
41278         * conform/data/sys/ipc.h-data: Likewise.
41279         * conform/data/sys/mman.h-data: Likewise.
41280         * conform/data/sys/msg.h-data: Likewise.
41281         * conform/data/sys/resource.h-data: Likewise.
41282         * conform/data/sys/select.h-data: Likewise.
41283         * conform/data/sys/sem.h-data: Likewise.
41284         * conform/data/sys/shm.h-data: Likewise.
41285         * conform/data/sys/socket.h-data: Likewise.
41286         * conform/data/sys/stat.h-data: Likewise.
41287         * conform/data/sys/statvfs.h-data: Likewise.
41288         * conform/data/sys/time.h-data: Likewise.
41289         * conform/data/sys/timeb.h-data: Likewise.
41290         * conform/data/sys/times.h-data: Likewise.
41291         * conform/data/sys/types.h-data: Likewise.
41292         * conform/data/sys/uio.h-data: Likewise.
41293         * conform/data/sys/un.h-data: Likewise.
41294         * conform/data/sys/utsname.h-data: Likewise.
41295         * conform/data/sys/wait.h-data: Likewise.
41296         * conform/data/syslog.h-data: Likewise.
41297         * conform/data/tar.h-data: Likewise.
41298         * conform/data/termios.h-data: Likewise.
41299         * conform/data/utime.h-data: Likewise.
41300         * conform/data/utmpx.h-data: Likewise.
41301         * conform/data/varargs.h-data: Likewise.
41302         * conform/data/wchar.h-data: Likewise.
41303         * conform/data/wctype.h-data: Likewise.
41304         * conform/data/wordexp.h-data: Likewise.
41306         * include/stropts.h: New file.
41307         * include/uchar.h: New file.
41308         * include/aio.h: Changes to allow conformtest.pl to use the headers.
41309         * include/assert.h: Likewise.
41310         * include/ctype.h: Likewise.
41311         * include/dirent.h: Likewise.
41312         * include/dlfcn.h: Likewise.
41313         * include/fcntl.h: Likewise.
41314         * include/fnmatch.h: Likewise.
41315         * include/glob.h: Likewise.
41316         * include/grp.h: Likewise.
41317         * include/libio.h: Likewise.
41318         * include/locale.h: Likewise.
41319         * include/math.h: Likewise.
41320         * include/net/if.h: Likewise.
41321         * include/netdb.h: Likewise.
41322         * include/netinet/in.h: Likewise.
41323         * include/pthread.h: Likewise.
41324         * include/pwd.h: Likewise.
41325         * include/regex.h: Likewise.
41326         * include/sched.h: Likewise.
41327         * include/search.h: Likewise.
41328         * include/setjmp.h: Likewise.
41329         * include/signal.h: Likewise.
41330         * include/stdio.h: Likewise.
41331         * include/stdlib.h: Likewise.
41332         * include/string.h: Likewise.
41333         * include/sys/cdefs.h: Likewise.
41334         * include/sys/mman.h: Likewise.
41335         * include/sys/msg.h: Likewise.
41336         * include/sys/resource.h: Likewise.
41337         * include/sys/select.h: Likewise.
41338         * include/sys/socket.h: Likewise.
41339         * include/sys/stat.h: Likewise.
41340         * include/sys/statvfs.h: Likewise.
41341         * include/sys/time.h: Likewise.
41342         * include/sys/times.h: Likewise.
41343         * include/sys/uio.h: Likewise.
41344         * include/sys/utsname.h: Likewise.
41345         * include/sys/wait.h: Likewise.
41346         * include/termios.h: Likewise.
41347         * include/time.h: Likewise.
41348         * include/ulimit.h: Likewise.
41349         * include/unistd.h: Likewise.
41350         * include/utime.h: Likewise.
41351         * include/wchar.h: Likewise.
41352         * include/wctype.h: Likewise.
41353         * include/wordexp.h: Likewise.
41355         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
41357         * time/time.h: TIME_UTC must be a macro.
41358         Make timespec_get available for ISO C11 only as well.
41360 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
41362         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
41363         Reported by Peng Haitao <penght@cn.fujitsu.com>.
41365 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41367         * configure.in: Use -o not -a in test for unsupported multi-arch.
41369 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41371         * manual/texinfo.tex: Update to version 2012-01-19.16.
41373 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41375         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
41377 2012-02-24  Roland McGrath  <roland@hack.frob.com>
41379         [BZ #13738]
41380         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
41381         * manual/fdl-1.3.texi: New file.
41382         * manual/fdl-1.1.texi: File removed.
41384         [BZ #13738]
41385         * manual/libc.texinfo (FDL_VERSION): New @set.
41386         Use it for mention of FDL in cover text.
41387         (Documentation License): Use it in @include file name.
41389 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41390             Roland McGrath  <roland@hack.frob.com>
41392         [BZ #5461]
41393         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41394         (not LONG_LONG_MAX and LONG_LONG_MIN.
41395         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41396         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
41397         name.
41398         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41400 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41402         [BZ #2547]
41403         [BZ #11365]
41404         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41405         manipulate bits before adding and subtracting TWO23[sx].
41406         * math/libm-test.inc (nearbyint_test): Add more tests.
41408 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41410         [BZ #2548]
41411         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41412         bits before adding and subtracting TWO23[sx].
41413         * math/libm-test.inc (rint_test): Add more tests.
41414         (rint_test_tonearest): Likewise.
41415         (rint_test_towardzero): Likewise.
41416         (rint_test_downward): Likewise.
41417         (rint_test_upward: Likewise.
41419 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41421         [BZ #10110]
41422         * include/stdc-predef.h: New file.  Extracted from features.h.
41423         * include/features.h: Include stdc-predef.h.
41424         * Makefile (headers): Add stdc-predef.h.
41425         * CONFORMANCE (Compiler limitations): Update.
41427 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41429         * manual/libc.texinfo (VERSION, UPDATED): Revert.
41431 2012-02-21  David S. Miller  <davem@davemloft.net>
41433         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41434         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41436 2012-02-20  David S. Miller  <davem@davemloft.net>
41438         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41439         using a normal save/restore sequence, rather than allocating a
41440         dummy stack frame just to store a frame pointer and restore.
41441         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41443 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41445         * manual/install.texi: Fix stray word in line-wrapped comment.
41447 2012-02-20  David S. Miller  <davem@davemloft.net>
41449         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41450         both binutils and gcc support GOTDATA.
41452         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41453         "rd %pc" in the PIC register setup sequences.
41455         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41456         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41457         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41458         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41459         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41460         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41461         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41462         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41463         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41464         (SYSCALL_ERROR_HANDLER): Likewise.
41465         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41466         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41467         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41468         (SYSCALL_ERROR_HANDLER): Likewise.
41470         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41471         (HAVE_GCC_GOTDATA): New.
41472         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41473         relocation support in both binutils and gcc.
41474         * sysdeps/sparc/elf/configure: Regenerate.
41476         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41477         * sysdeps/sparc/sparc32/elf/configure: Delete.
41478         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41479         * sysdeps/sparc/sparc64/elf/configure: Delete.
41480         * sysdeps/sparc/elf/configure.in: New file.
41481         * sysdeps/sparc/elf/configure: Generate.
41483         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41484         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41485         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41486         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41487         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41489 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41491         * manual/install.texi: Do not mention specific glibc version
41492         numbers.
41493         * manual/libc.texinfo (VERSION, UPDATED): Update.
41494         (@copying): Use @copyright{} and range of years.
41496 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41498         [BZ #13695]
41499         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41500         [crti.S not in sysdirs] (generated): Do not append.
41501         [crti.S not in sysdirs] (omit-deps): Likewise.
41502         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41503         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41504         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41505         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41506         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41507         Likewise.
41508         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41509         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41510         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41511         * csu/defs.awk: Remove file.
41512         * sysdeps/generic/initfini.c: Likewise.
41513         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41514         variable.
41515         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41516         Likewise.
41518 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41520         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
41521         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
41522         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
41523         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
41524         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41525         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
41526         <bits/epoll.h>.
41527         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
41528         (__EPOLL_PACKED): Define to empty if not defined by
41529         <bits/epoll.h>.
41530         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
41531         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41532         bits/epoll.h.
41534 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41536         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
41537         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
41538         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
41539         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
41540         <bits/timerfd.h>.
41541         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
41542         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41543         bits/timerfd.h.
41545 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41547         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
41548         in C locale.
41549         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41550         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41551         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
41552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41554 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
41556         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41557         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41559 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
41561         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
41562         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
41563         defined.
41564         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
41565         Likewise.
41566         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
41567         entry for 2.16.
41569 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
41571         * math/w_acos.c: Use non-signaling floating-point comparisons.
41572         * math/w_acosf.c: Likewise.
41573         * math/w_acosh.c: Likewise.
41574         * math/w_acoshf.c: Likewise.
41575         * math/w_acoshl.c: Likewise.
41576         * math/w_acosl.c: Likewise.
41577         * math/w_asin.c: Likewise.
41578         * math/w_asinf.c: Likewise.
41579         * math/w_asinl.c: Likewise.
41580         * math/w_atanh.c: Likewise.
41581         * math/w_atanhf.c: Likewise.
41582         * math/w_atanhl.c: Likewise.
41583         * math/w_exp2.c: Likewise.
41584         * math/w_exp2f.c: Likewise.
41585         * math/w_exp2l.c: Likewise.
41586         * math/w_j0.c: Likewise.
41587         * math/w_j0f.c: Likewise.
41588         * math/w_j0l.c: Likewise.
41589         * math/w_j1.c: Likewise.
41590         * math/w_j1f.c: Likewise.
41591         * math/w_j1l.c: Likewise.
41592         * math/w_jn.c: Likewise.
41593         * math/w_jnf.c: Likewise.
41594         * math/w_log.c: Likewise.
41595         * math/w_log10.c: Likewise.
41596         * math/w_log10f.c: Likewise.
41597         * math/w_log10l.c: Likewise.
41598         * math/w_log2.c: Likewise.
41599         * math/w_log2f.c: Likewise.
41600         * math/w_log2l.c: Likewise.
41601         * math/w_logf.c: Likewise.
41602         * math/w_logl.c: Likewise.
41603         * math/w_sqrt.c: Likewise.
41604         * math/w_sqrtf.c: Likewise.
41605         * math/w_sqrtl.c: Likewise.
41606         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41607         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
41608         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41609         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41610         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41612 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41614         [BZ #9739]
41615         * manual/string.texi (strnlen): Use correct parameter name in
41616         equivalent expression.
41618 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41620         [BZ #11174]
41621         * manual/users.texi (seteuid): Consistently use neweuid for
41622         argument name.
41624 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41626         [BZ #13704]
41627         * manual/nss.texi (Services in the NSS configuration): Correct
41628         list of services in example configuration file.
41630 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
41632         [BZ #11322]
41633         * manual/arith.texi: Remove statements about negative zero
41634         behaving identically to zero.
41636 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
41638         [BZ #5993]
41639         * manual/install.texi: Do not document upgrading from libc5.
41641 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
41643         [BZ #4596]
41644         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
41646 2012-02-18  David S. Miller  <davem@davemloft.net>
41648         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
41649         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
41650         %o7 across the call.
41651         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
41652         instead.
41653         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
41654         SETUP_PIC_REG_LEAF.
41655         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41656         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
41657         * sysdeps/sparc/crtn.S: Likewise.
41659 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
41661         * aout/Makefile: Remove.
41663 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
41665         [BZ #13058]
41666         * manual/examples/argp-ex1.c (main): Format definition in GNU
41667         style.
41668         * manual/examples/argp-ex2.c (main): Likewise.
41669         * manual/examples/argp-ex3.c (main): Likewise.
41670         * manual/examples/argp-ex4.c (main): Likewise.
41671         * manual/examples/longopt.c (main): Use new-style prototype
41672         definition.
41673         * manual/examples/strncat.c (main): Specify return type and use
41674         (void) for arguments.
41675         * manual/examples/subopt.c (main): Use char **argv argument.
41677 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41679         [BZ #5077]
41680         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
41681         rounding modes.
41683 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
41685         [BZ #6907]
41686         * manual/string.texi (strchr): Change when strchrnul is
41687         recommended.
41689 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
41691         [BZ #174]
41692         * manual/locale.texi (setlocale): Document LOCPATH.
41694 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41696         [BZ #10210]
41697         * manual/process.texi (execle): Move @dots{} before last argument.
41699 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
41701         [BZ #12047]
41702         * manual/charset.texi (Generic Charset Conversion): Fix typo
41703         (LC_TYPE -> LC_CTYPE).
41705 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
41707         [BZ #5805]
41708         * manual/arith.texi (scalbn): Use @var{} on parameter names.
41709         (scalbnf): Likewise.
41710         (scalbnl): Likewise.
41711         (scalbln): Likewise.
41712         (scalblnf): Likewise.
41713         (scalblnl): Likewise.
41714         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
41715         (vwarnx): Likewise.
41716         (verr): Likewise.
41717         (verrx): Likewise.
41718         * manual/filesys.texi (telldir): Use braces around return type.
41719         * manual/llio.texi (mmap): Add space after comma.
41720         (mmap64): Likewise.
41721         * manual/math.texi (jn): Use @var{} on parameter names.
41722         (jnf): Likewise.
41723         (jnl): Likewise.
41724         (yn): Likewise.
41725         (ynf): Likewise.
41726         (ynl): Likewise.
41727         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
41728         line.
41729         * manual/resource.texi (ulimit): Use @dots{} instead of literal
41730         "...".
41731         (sched_get_priority_min): Remove semicolon on @deftypefun line.
41732         (sched_get_priority_max): Likewise.
41733         * manual/signal.texi (sigvec): Add space after comma.
41734         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
41735         names.
41736         (if_indextoname): Likewise.
41737         (if_freenameindex): Likewise.
41738         (sendto): Use ',' instead of '.' in prototype.
41739         * manual/startup.texi (syscall): Use @dots{} instead of literal
41740         "...".
41741         * manual/stdio.texi (__fpending): Separate initial words of
41742         paragraph from @deftypefun line.
41743         * manual/syslog.texi (syslog): Use @dots{} instead of literal
41744         "...".
41745         (vsyslog): Use @var{} on parameter names.
41746         * manual/terminal.texi (stty): Use @var{} on parameter names.
41747         * manual/users.texi (getutmp): Use @var{} on parameter names.
41748         (getutmpx): Likewise.
41750 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41752         [BZ #6884]
41753         * manual/stdio.texi (fopen): Fix typos in description of
41754         ",ccs=STRING".
41756 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
41758         [BZ #4026]
41759         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
41760         get clock_id definition.
41762 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
41764         [BZ #4822]
41765         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
41766         (madvise): Cast every argument to void on its own.
41768 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41770         [BZ #9902]
41771         * manual/startup.texi (Exit Status): Fix typo.
41773 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41775         [BZ #10140]
41776         * manual/examples/argp-ex1.c: Include <stdlib.h>.
41777         * manual/examples/argp-ex2.c: Likewise.
41778         * manual/examples/argp-ex3.c: Likewise.
41780 2012-02-16  Richard Henderson  <rth@redhat.com>
41782         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41783         * sysdeps/s390/s390-32/initfini.c: Remove.
41784         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41785         * sysdeps/s390/s390-64/initfini.c: Remove.
41787 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41789         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41790         compiler output for sysdeps/generic/initfini.c.
41791         * sysdeps/sh/elf/initfini.c: Remove file.
41793 2012-02-16  David S. Miller  <davem@davemloft.net>
41795         [BZ #11494]
41796         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41798         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41799         * sysdeps/sparc/crti.S: New file.
41800         * sysdeps/sparc/crtn.S: New file.
41801         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41802         * sysdeps/sparc/sparc64/Makefile: Likewise.
41804 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
41806         [BZ #3335]
41807         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41809 2012-02-15  Roland McGrath  <roland@hack.frob.com>
41811         [BZ #4822]
41812         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41814         * mach/devstream.c (cookie_io_functions_t): Macro removed.
41815         (write, read, close): Likewise.
41816         Patch by Aurelien Jarno <aurelien@aurel32.net>.
41818 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
41820         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41821         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41822         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41823         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41824         <bits/signalfd.h>.
41825         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41826         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41827         bits/signalfd.h.
41829 2012-02-14  Marek Polacek  <polacek@redhat.com>
41831         * sysdeps/x86_64/crti.S: New file.
41832         * sysdeps/x86_64/crtn.S: New file.
41833         * sysdeps/x86_64/elf/initfini.c: Remove file.
41835 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
41837         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41838         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41839         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41840         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41841         <bits/inotify.h>.
41842         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41843         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41844         bits/inotify.h.
41846 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
41848         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41849         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41850         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41851         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41852         <bits/eventfd.h>.
41853         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41854         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41855         bits/eventfd.h.
41857 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
41859         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41860         __feraiseexcept instead of feraiseexcept.
41862         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41863         nanosleep invocations.
41864         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41865         strings, and add error checking for a nanosleep invocations.
41867 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
41869         Replace FSF snail mail address with URLs, as per GNU coding standards.
41870         Most of the snail mail addresses were wrong anyway, and omitting
41871         them makes the source code easier to maintain.  Almost all of the
41872         changes are to license notices and to locale LC_IDENTIFICATION
41873         addresses, except for this one:
41874         * manual/libc.texinfo: In "Published by", give the FSF's URL,
41875         not its snail mail address.
41877 2012-02-09  Richard Henderson  <rth@twiddle.net>
41879         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41880         of kernel-features.h.
41882         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41884 2012-02-08  Marek Polacek  <polacek@redhat.com>
41886         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41887         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41888         * sysdeps/gnu/_G_config.h: Likewise.
41889         * sysdeps/generic/_G_config.h: Likewise.
41891 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
41893         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41894         tests.
41895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41897         * sysdeps/powerpc/powerpc32/crti.S: New file.
41898         * sysdeps/powerpc/powerpc32/crtn.S: New file.
41899         * sysdeps/powerpc/powerpc64/crti.S: New file.
41900         * sysdeps/powerpc/powerpc64/crtn.S: New file.
41902         * Makeconfig (have-initfini): Don't set.
41903         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
41904         * configure.in (nopic_initfini): Don't substitute.
41905         * config.h.in (HAVE_INITFINI): Don't #undef.
41906         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41907         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
41909 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
41911         Support crti.S and crtn.S provided directly by architectures.
41912         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
41913         [crti.S in sysdirs] (omit-deps): Likewise.
41914         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
41915         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
41916         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
41917         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
41918         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
41919         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
41920         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
41921         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
41922         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
41923         compiler output for sysdeps/generic/initfini.c.
41924         * sysdeps/i386/elf/Makefile: Remove file.
41925         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
41927 2012-02-07  Marek Polacek  <polacek@redhat.com>
41929         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
41930         * sysdeps/gnu/_G_config.h: Likewise.
41931         * sysdeps/mach/hurd/_G_config.h: Likewise.
41933 2012-02-07  Marek Polacek  <polacek@redhat.com>
41935         * math/Makefile (tests): Add tst-CMPLX2.
41936         * math/tst-CMPLX2.c: New file.
41938 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
41940         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41942         * math/libm-test.inc (jn_test): Add missing L suffix.
41944 2012-02-06  Marek Polacek  <polacek@redhat.com>
41946         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
41947         * sysdeps/i386/fpu/e_powf.S: Likewise.
41948         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41949         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41950         * sysdeps/i386/fpu/e_acosh.S: Likewise.
41951         * sysdeps/i386/fpu/e_pow.S: Likewise.
41952         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41953         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41954         * sysdeps/i386/fpu/s_expm1.S: Likewise.
41955         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41956         * sysdeps/i386/fpu/e_log2.S: Likewise.
41957         * sysdeps/i386/fpu/e_log2l.S: Likewise.
41958         * sysdeps/i386/fpu/e_scalb.S: Likewise.
41959         * sysdeps/i386/fpu/e_powl.S: Likewise.
41960         * sysdeps/i386/fpu/s_log1p.S: Likewise.
41961         * sysdeps/i386/fpu/e_log10f.S: Likewise.
41962         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41963         * sysdeps/i386/fpu/e_logl.S: Likewise.
41964         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41965         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
41966         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41967         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41968         * sysdeps/i386/fpu/e_log2f.S: Likewise.
41969         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41970         * sysdeps/i386/fpu/e_log.S: Likewise.
41971         * sysdeps/i386/fpu/s_cexp.S: Likewise.
41972         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41973         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
41974         * sysdeps/i386/fpu/e_logf.S: Likewise.
41975         * sysdeps/i386/fpu/e_log10l.S: Likewise.
41976         * sysdeps/i386/fpu/e_atanh.S: Likewise.
41977         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
41978         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41979         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41980         * sysdeps/i386/fpu/e_log10.S: Likewise.
41981         * sysdeps/i386/fpu/s_frexp.S: Likewise.
41982         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41983         * sysdeps/i386/fpu/s_asinh.S: Likewise.
41984         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41985         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41986         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41987         * sysdeps/i386/asm-syntax.h: Likewise.
41988         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41989         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41990         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41991         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
41992         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
41993         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41994         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
41995         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
41996         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41997         * sysdeps/powerpc/sysdep.h: Likewise.
41998         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
41999         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42001 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
42003         [BZ #411]
42004         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42006 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
42008         * sysdeps/i386/sysdep.h: Include <features.h>.
42009         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
42010         version.
42012 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
42014         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
42015         Define.
42016         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
42017         LOAD_PIC_REG_STR.
42019 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42021         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
42022         (SETUP_PIC_REG): Use GET_PC_THUNK.
42023         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
42024         macro.
42026 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42028         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
42029         for non-PIC compilation.
42030         (SETUP_PIC_REG): Add .p2align directive.
42031         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
42032         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42033         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42034         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42035         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42036         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42037         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42038         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42039         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42040         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42041         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42042         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42043         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42044         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42045         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42046         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42047         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42048         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42049         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42050         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42051         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42052         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42053         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42054         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42055         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42056         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42057         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42058         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42059         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42060         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42061         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42062         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42063         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42064         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42065         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42066         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42067         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42068         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42069         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42070         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42071         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42073 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42075         * math/tst-CMPLX.c: Include <stdio.h>.
42077 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
42079         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42080         float.
42081         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42082         * sysdeps/sparc/bits/mathdef.h: Likewise.
42084 2012-01-31  Marek Polacek  <polacek@redhat.com>
42086         * libio/libio.h: Don't define _PARAMS.
42087         * locale/programs/config.h: Don't define PARAMS.
42088         * stdlib/strtol_l.c: Likewise.
42089         (__strtol_l): Remove PARAMS from the prototype.
42091 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
42093         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
42094         names.  Just use the correct names.  Remove unnecessary wrapper
42095         functions.
42096         * malloc/arena.c: Likewise.
42097         * malloc/hooks.c: Likewise.
42099         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42100         ARENA_TEST says not to.  Simplify test for creation of a new arena.
42101         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42103 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
42105         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42106         into tail calls.
42107         (update_get_addr): New function.
42108         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42109         GET_ADDR_MODULE parameter.
42111 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
42113         * crypt/cert.c: Remove __STDC__ conditionals.
42114         * crypt/crypt-entry.c: Likewise.
42115         * crypt/crypt_util.c: Likewise.
42116         * libio/filedoalloc.c: Likewise.
42117         * libio/fileops.c: Likewise.
42118         * libio/genops.c: Likewise.
42119         * libio/iofclose.c: Likewise.
42120         * libio/iofdopen.c: Likewise.
42121         * libio/iofopen.c: Likewise.
42122         * libio/iofopen64.c: Likewise.
42123         * libio/iogetdelim.c: Likewise.
42124         * libio/iopopen.c: Likewise.
42125         * libio/obprintf.c: Likewise.
42126         * libio/oldfileops.c: Likewise.
42127         * libio/oldiofclose.c: Likewise.
42128         * libio/oldiofdopen.c: Likewise.
42129         * libio/oldiofopen.c: Likewise.
42130         * libio/oldiopopen.c: Likewise.
42131         * libio/wfiledoalloc.c: Likewise.
42132         * libio/wgenops.c: Likewise.
42133         * locale/programs/xmalloc.c: Likewise.
42134         * misc/syslog.c: Likewise.
42135         * stdio-common/xbug.c: Likewise.
42136         * string/memchr.c: Likewise.
42137         * string/memcmp.c: Likewise.
42138         * string/memrchr.c: Likewise.
42139         * string/rawmemchr.c: Likewise.
42140         * sysdeps/posix/getcwd.c: Likewise.
42141         * time/strftime_l.c: Likewise.
42143 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
42145         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
42146         * config.make.in (config-cflags-sse2avx): Define.
42147         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42148         Fix typo.
42150 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
42152         * scripts/config.guess: Update from upstream config git repository.
42153         * scripts/config.sub: Likewise.
42155 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
42157         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42158         (EM_NUM): Update.
42159         (R_TILEPRO_*, R_TILEGX_*): New macros.
42161         * scripts/firstversions.awk: Fix bug in version range handling.
42163         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42165         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42167         * include/sys/epoll.h: New file.
42168         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42169         libc_hidden_def.
42171 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
42173         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42174         Avoid unnecessary __WORDSIZE == 64 test.
42175         (fmaxf): Use VEX format if possible.
42176         (fmax): Likewise.
42177         (fminf): Likewise.
42178         (fmin): Likewise.
42180         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42181         * math/math_private.h: Remove libc_fegetround* and
42182         libc_fesetround*.
42183         * sysdeps/i386/configure.in: Check for -msse2avx.
42184         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42185         also if SSE2AVX is defined.
42186         Remove libc_fegetround* and libc_fesetround*.
42187         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
42188         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
42189         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
42190         of HAS_YMM_USABLE.
42191         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42192         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42193         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42194         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42195         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42197         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
42199 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42201         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42202         size is not set.
42203         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42205 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
42207         [BZ #13618]
42208         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42209         relocation.
42210         * Makeconfig (libm): Define.
42211         * elf/Makefile: Add rules to build and run tst-relsort1.
42212         * elf/tst-relsort1.c: New file.
42213         * elf/tst-relsort1mod1.c: New file.
42214         * elf/tst-relsort1mod2.c: New file.
42216 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
42218         * math/s_ldexp.c: Remove __STDC__ conditionals.
42219         * math/s_ldexpf.c: Likewise.
42220         * math/s_ldexpl.c: Likewise.
42221         * math/s_nextafter.c: Likewise.
42222         * math/s_nexttowardf.c: Likewise.
42223         * math/s_significand.c: Likewise.
42224         * math/s_significandf.c: Likewise.
42225         * math/s_significandl.c: Likewise.
42226         * math/w_jnl.c: Likewise.
42227         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42228         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42229         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42230         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42231         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42232         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42233         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42234         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42235         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42236         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42237         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42238         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42239         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42240         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42241         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42242         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42243         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42244         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42245         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42246         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42247         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42248         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42249         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42250         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42251         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42252         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42253         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42254         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42255         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42256         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42257         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42258         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42259         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42260         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42261         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42262         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42263         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42264         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42265         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42266         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42267         * sysdeps/ieee754/k_standard.c: Likewise.
42268         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42269         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42270         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42271         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42272         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42273         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42274         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42275         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42276         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42277         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42278         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42279         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42280         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42281         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42282         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42283         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42284         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42285         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42286         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42287         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42288         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42289         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42290         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42291         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42292         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42293         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42294         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42295         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42296         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42297         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42298         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42299         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42300         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42301         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42302         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42303         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42304         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42305         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42306         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42307         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42308         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42309         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42310         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
42311         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
42312         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42313         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42314         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42315         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42316         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42317         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
42318         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
42319         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42320         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42321         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42322         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42323         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42324         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
42325         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42326         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42327         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42328         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42329         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42330         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42331         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42332         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42333         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42334         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42335         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42336         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42337         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42338         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42339         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42340         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42341         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42342         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42343         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42344         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42345         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42346         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42347         * sysdeps/ieee754/s_matherr.c: Likewise.
42348         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42349         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42350         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42351         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42353 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
42355         * crypt/md5.h: Remove __STDC__ conditionals.
42356         * libio/libioP.h: Likewise.
42357         * locale/programs/config.h: Likewise.
42358         * sysdeps/generic/sysdep.h: Likewise.
42359         * sysdeps/i386/asm-syntax.h: Likewise.
42360         * sysdeps/s390/asm-syntax.h: Likewise.
42361         * sysdeps/unix/sysdep.h: Likewise.
42362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42365 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
42367         * libio/libio.h: Remove __STDC__ conditionals.
42368         * malloc/obstack.h: Likewise.
42369         * math/complex.h: Likewise.
42370         * math/math.h: Likewise.
42371         * sysdeps/generic/_G_config.h: Likewise.
42372         * sysdeps/gnu/_G_config.h: Likewise.
42373         * sysdeps/mach/hurd/_G_config.h: Likewise.
42374         * sysdeps/powerpc/bits/mathdef.h: Likewise.
42375         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42376         * sysdeps/sparc/bits/mathdef.h: Likewise.
42378 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
42380         [BZ #13583]
42381         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
42382         Clean up HAS_* macros.
42383         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
42384         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
42385         possible.
42386         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
42387         HAS_AVX.
42388         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42389         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42390         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42391         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42392         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42394 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
42396         * elf/tst-unique3.cc (gets): Remove declaration.
42397         * elf/tst-unique3lib.cc (gets): Likewise.
42398         * elf/tst-unique3lib2.cc (gets): Likewise.
42399         * elf/tst-unique4.cc (gets): Likewise.
42401 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
42403         * include/stdio.h: Add C++ protection.  Add gets declarations and
42404         definitions.
42405         * debug/tst-chk1.c: Don't declare gets here.
42406         * stdio-common/tst-gets.c: Likewise.
42408 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
42410         * posix/glob: Remove directory.
42412 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
42414         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42416 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
42418         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42419         of the non-standard EPFNOSUPPORT.
42421 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42423         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42424         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42425         ANYWHERE set to 1 only on KERN_NO_SPACE error.
42427 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
42429         * wcsmbs/uchar.h: Test __STDC_VERSION__.
42431 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
42433         * nscd/aicache.c (addhstaiX): Do not cache negative results of
42434         transient errors.
42435         * nscd/grpcache.c (cache_addgr): Likewise.
42436         * nscd/hstcache.c (cache_addhst): Likewise.
42437         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42438         * nscd/pwdcache.c (cache_addpw): Likewise.
42439         * nscd/servicescache.c (cache_addserv): Likewise.
42441 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
42443         * malloc/malloc.c: Various cleanups.
42444         * malloc/hooks.c: Likewise.
42446         * stdlib/Makefile (tests): Add bug-fmtmsg1.
42447         * stdlib/bug-fmtmsg1.c: New file.
42449         * stdlib/fmtmsg.c (init): Add missing unlock.
42450         Patch by Peng Haitao <penght@cn.fujitsu.com>.
42452 2012-01-12  Marek Polacek  <polacek@redhat.com>
42454         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42455         and _GNU_SOURCE.
42457 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
42459         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42460         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42461         macro to ensure uniqueness of label name.
42462         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42463         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42465 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
42467         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42469         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42470         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42471         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42472         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42474 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
42476         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42478         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42479         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42480         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42482         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42484         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
42485         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42486         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42487         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
42489         * math/bits/math-finite.h: Add ldexp support.
42491 2012-01-10  Marek Polacek  <polacek@redhat.com>
42493         * locale/programs/localedef.h (show_archive_content): Add noreturn
42494         attribute.
42496 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
42498         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42500 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42502         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42504         * io/Makefile (headers): Add bits/poll2.h.
42506 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
42508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42509         typo #include statement.
42511 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42513         * include/sys/cdefs.h: Define __attribute_alloc_size.
42514         * catgets/gencat.c: Add alloc_size attribute and apply consistently
42515         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42516         * elf/pldd.c: Likewise.
42517         * iconv/iconv_charmap.c: Likewise.
42518         * iconv/iconvconfig.c: Likewise.
42519         * iconv/strtab.c: Likewise.
42520         * locale/programs/locale.c: Likewise.
42521         * locale/programs/localedef.h: Likewise.
42522         * locale/programs/simple-hash.c: Likewise.
42523         * nscd/nscd.h: Likewise.
42524         * nss/makedb.c: Likewise.
42525         * sysdeps/generic/ldconfig.h: Likewise.
42526         * locale/programs/localedef.c: Remove xmalloc prototype.
42527         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
42529 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
42531         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
42532         appropriate.
42534 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42536         * math/Makefile (tests): Add tst-CMPLX.
42537         * math/tst-CMPLX.c: New file.
42539         * math/complex.h (CMPLXL): Fix typo.
42541         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
42542         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
42543         GLIBC_2.16.
42544         * debug/tst-chk1.c: Add poll and ppoll tests.
42545         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
42546         * include/sys/poll.h: Add hidden proto for ppoll.
42547         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
42548         * sysdeps/mach/hurd/ppoll.c: Likewise.
42549         * io/ppoll.c: Likewise.
42550         * debug/poll_chk.c: New file.
42551         * debug/ppoll_chk.c: New file.
42552         * include/bits/poll2.h: New file.
42553         * io/bits/poll2.h: New file.
42555         [BZ #1350]
42556         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
42558         * configure.in: static is always set to yes.  Remove.
42559         * config.make.in: Don't set build-static.
42560         * Makeconfig: Remove use of build-static.
42561         * dlfcn/Makefile: Likewise.
42562         * elf/Makefile: Likewise.
42563         * math/Makefile: Likewise.
42564         * misc/Makefile: Likewise.
42565         * nptl/Makefile: Likewise.
42566         * sysdeps/mach/hurd/Makefile: Likewise.
42568         * configure.in: PWD_P is not used anymore.
42569         * config.make.in: Remove PWD_P entry.
42571         * configure.in: Remove last remnants of RANLIB.
42572         No need to check for signed size_t anymore.
42573         Don't set libc_commonpagesize and libc_relro_required here for Alpha
42574         and IA-64.
42575         Remove __builtin_expect test because we require at least gcc 3.4.
42576         * aclocal.m4: Likewise.
42578         * wcsmbs/mbrtoc16.c: Implement using towc function.
42579         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
42580         * wcsmbs/wcsmbsload.c: Likewise.
42581         * iconv/gconv_simple.c: Likewise.
42582         * iconv/gconv_int.h: Likewise.
42583         * iconv/gconv_builtin.h: Likewise.
42584         * iconv/iconv_prog.c: Remove CHAR16 handling.
42586         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
42588         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
42590         * configure.in: Remove --with-elf and --enable-bounded options.
42591         Dont set base_machine for ia64.  More non-ELF conditions removed.
42592         Remove testing and setting of leading underscore information.
42593         * config.make.in (build-bounded): Set to no.
42594         * config.h.in: Remove NO_UNDERSCORES entry.
42595         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
42596         them.
42597         * csu/start.c: Remove !NO_UNDERSCORE code.
42598         * locale/localeinfo.h: Likewise.
42599         * sysdeps/generic/machine-gmon.h: Likewise.
42600         * sysdeps/generic/sysdep.h: Likewise.
42601         * sysdeps/i386/sysdep.h: Likewise.
42602         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42603         * sysdeps/mach/sysdep.h: Likewise.
42604         * sysdeps/s390/s390-32/sysdep.h: Likewise.
42605         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42606         * sysdeps/sh/sysdep.h: Likewise.
42607         * sysdeps/sparc/sparc32/alloca.S: Likewise.
42608         * sysdeps/unix/i386/sysdep.S: Likewise.
42609         * sysdeps/unix/sparc/start.c: Likewise.
42610         * sysdeps/unix/sparc/sysdep.S: Likewise.
42611         * sysdeps/unix/sparc/sysdep.h: Likewise.
42612         * sysdeps/unix/start.c: Likewise.
42613         * sysdeps/unix/x86_64/sysdep.S: Likewise.
42614         * sysdeps/x86_64/sysdep.h: Likewise.
42616 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
42618         [BZ #13553]
42619         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
42620         for non-gcc.
42621         * argp/argp-fmtstream.h: Use const instead __const.
42622         * argp/argp.h: Likewise.
42623         * assert/assert.h: Likewise.
42624         * bits/fenv.h: Likewise.
42625         * bits/sched.h: Likewise.
42626         * bits/sigset.h: Likewise.
42627         * bits/sigthread.h: Likewise.
42628         * catgets/nl_types.h: Likewise.
42629         * conform/data/pthread.h-data: Likewise.
42630         * crypt/crypt-private.h: Likewise.
42631         * crypt/crypt.h: Likewise.
42632         * crypt/crypt_util.c: Likewise.
42633         * ctype/ctype.h: Likewise.
42634         * debug/execinfo.h: Likewise.
42635         * debug/mbsnrtowcs_chk.c: Likewise.
42636         * debug/mbsrtowcs_chk.c: Likewise.
42637         * debug/wcsnrtombs_chk.c: Likewise.
42638         * debug/wcsrtombs_chk.c: Likewise.
42639         * debug/wcstombs_chk.c: Likewise.
42640         * dirent/dirent.h: Likewise.
42641         * dlfcn/dlfcn.h: Likewise.
42642         * elf/neededtest4.c: Likewise.
42643         * grp/grp.h: Likewise.
42644         * gshadow/gshadow.h: Likewise.
42645         * iconv/gconv.h: Likewise.
42646         * iconv/gconv_int.h: Likewise.
42647         * iconv/gconv_simple.c: Likewise.
42648         * iconv/iconv.h: Likewise.
42649         * iconv/loop.c: Likewise.
42650         * iconv/skeleton.c: Likewise.
42651         * include/aio.h: Likewise.
42652         * include/aliases.h: Likewise.
42653         * include/argz.h: Likewise.
42654         * include/arpa/inet.h: Likewise.
42655         * include/assert.h: Likewise.
42656         * include/dirent.h: Likewise.
42657         * include/dlfcn.h: Likewise.
42658         * include/execinfo.h: Likewise.
42659         * include/fcntl.h: Likewise.
42660         * include/fenv.h: Likewise.
42661         * include/glob.h: Likewise.
42662         * include/grp.h: Likewise.
42663         * include/libintl.h: Likewise.
42664         * include/mntent.h: Likewise.
42665         * include/netdb.h: Likewise.
42666         * include/pwd.h: Likewise.
42667         * include/rpc/netdb.h: Likewise.
42668         * include/sched.h: Likewise.
42669         * include/search.h: Likewise.
42670         * include/shadow.h: Likewise.
42671         * include/signal.h: Likewise.
42672         * include/stdio.h: Likewise.
42673         * include/stdlib.h: Likewise.
42674         * include/string.h: Likewise.
42675         * include/sys/socket.h: Likewise.
42676         * include/sys/stat.h: Likewise.
42677         * include/sys/statfs.h: Likewise.
42678         * include/sys/statvfs.h: Likewise.
42679         * include/sys/syslog.h: Likewise.
42680         * include/sys/time.h: Likewise.
42681         * include/sys/uio.h: Likewise.
42682         * include/time.h: Likewise.
42683         * include/unistd.h: Likewise.
42684         * include/utmp.h: Likewise.
42685         * include/wchar.h: Likewise.
42686         * include/wctype.h: Likewise.
42687         * inet/aliases.h: Likewise.
42688         * inet/arpa/inet.h: Likewise.
42689         * inet/netinet/ether.h: Likewise.
42690         * inet/netinet/in.h: Likewise.
42691         * intl/libintl.h: Likewise.
42692         * io/bits/fcntl2.h: Likewise.
42693         * io/fcntl.h: Likewise.
42694         * io/ftw.h: Likewise.
42695         * io/sys/poll.h: Likewise.
42696         * io/sys/stat.h: Likewise.
42697         * io/sys/statfs.h: Likewise.
42698         * io/sys/statvfs.h: Likewise.
42699         * io/utime.h: Likewise.
42700         * libio/bits/stdio.h: Likewise.
42701         * libio/bits/stdio2.h: Likewise.
42702         * libio/libio.h: Likewise.
42703         * libio/libioP.h: Likewise.
42704         * libio/stdio.h: Likewise.
42705         * locale/lc-ctype.c: Likewise.
42706         * locale/locale.h: Likewise.
42707         * login/utmp.h: Likewise.
42708         * malloc/arena.c: Likewise.
42709         * malloc/malloc.c: Likewise.
42710         * malloc/malloc.h: Likewise.
42711         * malloc/mcheck.c: Likewise.
42712         * malloc/mtrace.c: Likewise.
42713         * math/bits/mathcalls.h: Likewise.
42714         * math/fenv.h: Likewise.
42715         * math/math_private.h: Likewise.
42716         * misc/bits/error.h: Likewise.
42717         * misc/bits/syslog.h: Likewise.
42718         * misc/err.h: Likewise.
42719         * misc/error.h: Likewise.
42720         * misc/fstab.h: Likewise.
42721         * misc/mntent.h: Likewise.
42722         * misc/regexp.h: Likewise.
42723         * misc/search.h: Likewise.
42724         * misc/sgtty.h: Likewise.
42725         * misc/sys/mman.h: Likewise.
42726         * misc/sys/syslog.h: Likewise.
42727         * misc/sys/uio.h: Likewise.
42728         * misc/sys/xattr.h: Likewise.
42729         * misc/ttyent.h: Likewise.
42730         * nis/rpcsvc/ypclnt.h: Likewise.
42731         * nss/nss.h: Likewise.
42732         * posix/bits/unistd.h: Likewise.
42733         * posix/fnmatch.h: Likewise.
42734         * posix/glob.h: Likewise.
42735         * posix/sched.h: Likewise.
42736         * posix/spawn.h: Likewise.
42737         * posix/sys/wait.h: Likewise.
42738         * posix/unistd.h: Likewise.
42739         * posix/wordexp.h: Likewise.
42740         * pwd/pwd.h: Likewise.
42741         * resolv/netdb.h: Likewise.
42742         * resource/sys/resource.h: Likewise.
42743         * rt/aio.h: Likewise.
42744         * rt/bits/mqueue2.h: Likewise.
42745         * rt/mqueue.h: Likewise.
42746         * shadow/shadow.h: Likewise.
42747         * signal/signal.h: Likewise.
42748         * socket/send.c: Likewise.
42749         * socket/sendto.c: Likewise.
42750         * socket/sys/socket.h: Likewise.
42751         * stdio-common/printf.h: Likewise.
42752         * stdlib/bits/stdlib.h: Likewise.
42753         * stdlib/fmtmsg.h: Likewise.
42754         * stdlib/monetary.h: Likewise.
42755         * stdlib/stdlib.h: Likewise.
42756         * stdlib/ucontext.h: Likewise.
42757         * streams/stropts.h: Likewise.
42758         * string/argz.h: Likewise.
42759         * string/bits/string2.h: Likewise.
42760         * string/string.h: Likewise.
42761         * string/strings.h: Likewise.
42762         * sunrpc/rpc/auth.h: Likewise.
42763         * sunrpc/rpc/auth_des.h: Likewise.
42764         * sunrpc/rpc/clnt.h: Likewise.
42765         * sunrpc/rpc/netdb.h: Likewise.
42766         * sunrpc/rpc/pmap_clnt.h: Likewise.
42767         * sunrpc/rpc/xdr.h: Likewise.
42768         * sysdeps/generic/inttypes.h: Likewise.
42769         * sysdeps/generic/net/if.h: Likewise.
42770         * sysdeps/generic/sys/swap.h: Likewise.
42771         * sysdeps/gnu/net/if.h: Likewise.
42772         * sysdeps/gnu/utmpx.h: Likewise.
42773         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
42774         * sysdeps/i386/i486/bits/string.h: Likewise.
42775         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
42776         * sysdeps/s390/bits/string.h: Likewise.
42777         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
42778         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
42779         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
42780         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
42781         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
42782         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42783         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42784         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42785         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42786         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42787         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42788         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42789         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42790         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42791         * sysdeps/unix/sysv/linux/readv.c: Likewise.
42792         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42793         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42794         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42795         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42796         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42797         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42798         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42799         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42800         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42801         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42802         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42803         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42804         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42805         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42806         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42807         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42808         * sysvipc/sys/ipc.h: Likewise.
42809         * sysvipc/sys/msg.h: Likewise.
42810         * sysvipc/sys/sem.h: Likewise.
42811         * sysvipc/sys/shm.h: Likewise.
42812         * termios/termios.h: Likewise.
42813         * time/sys/time.h: Likewise.
42814         * time/time.h: Likewise.
42815         * wcsmbs/bits/wchar2.h: Likewise.
42816         * wcsmbs/uchar.h: Likewise.
42817         * wcsmbs/wchar.h: Likewise.
42818         * wctype/wctype.h: Likewise.
42820         [BZ #13551]
42821         * Makeconfig: Remove all but ELF support including AIX support.
42822         * Makerules: Likewise.
42823         * config.h.in: Likewise.
42824         * config.make.in: Likewise.
42825         * configure: Likewise.
42826         * configure.in: Likewise.
42827         * csu/Makefile: Likewise.
42828         * csu/version.c: Likewise.
42829         * debug/Makefile: Likewise.
42830         * dlfcn/Makefile: Likewise.
42831         * elf/Makefile: Likewise.
42832         * extra-lib.mk: Likewise.
42833         * iconv/Makefile: Likewise.
42834         * include/libc-symbols.h: Likewise.
42835         * include/shlib-compat.h: Likewise.
42836         * resolv/Makefile: Likewise.
42837         * resolv/res_libc.c: Likewise.
42838         * rt/Makefile: Likewise.
42839         * sysdeps/i386/asm-syntax.h: Likewise.
42840         * sysdeps/i386/sysdep.h: Likewise.
42841         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42842         * sysdeps/mach/sysdep.h: Likewise.
42843         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42844         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42845         * sysdeps/s390/asm-syntax.h: Likewise.
42846         * sysdeps/s390/s390-32/sysdep.h: Likewise.
42847         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42848         * sysdeps/sh/sysdep.h: Likewise.
42849         * sysdeps/unix/sparc/sysdep.h: Likewise.
42850         * sysdeps/wordsize-32/divdi3.c: Likewise.
42851         * sysdeps/x86_64/sysdep.h: Likewise.
42853         * argp/Versions: Remove _argp_unlock_xxx.
42855         [BZ #13559]
42856         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
42857         * abilist/libBrokenLocale.abilist: Likewise.
42858         * abilist/libanl.abilist: Likewise.
42859         * abilist/libc.abilist: Likewise.
42860         * abilist/libcrypt.abilist: Likewise.
42861         * abilist/libdl.abilist: Likewise.
42862         * abilist/libm.abilist: Likewise.
42863         * abilist/libnsl.abilist: Likewise.
42864         * abilist/libpthread.abilist: Likewise.
42865         * abilist/libresolv.abilist: Likewise.
42866         * abilist/librt.abilist: Likewise.
42867         * abilist/libthread_db.abilist: Likewise.
42868         * abilist/libutil.abilist: Likewise.
42869         * abilist/libnss_db.abilist: New file.
42871         * scripts/abilist.awk: Add support for indirect functions.
42873         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42875         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42877         * shlib-versions: Remove entries for ports architectures.
42879         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
42880         files in ports.
42881         * elf/stackguard-macros.h: Remove support for IA-64.
42882         * elf/tst-auditmod1.c: Likewise.
42883         * sysdeps/generic/ldsodefs.h: Likewise.
42885         * sysdeps/unix/sysv/linux/configure.in: Ports should define
42886         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42887         configure files.
42889         [BZ #13552]
42890         * configure.in: Remove --enable-omitfp support.
42891         * FAQ.in: Adjust.
42892         * config.make.in: Likewise.
42893         * Makeconfig: Likewise.
42894         * manual/install.texi: Likewise.
42896         In case anyone cares, the IA-64 architecture could move to ports.
42897         * sysdeps/ia64/*: Removed.
42898         * sysdeps/unix/sysv/linux/ia64/*: Removed.
42899         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
42901         [BZ #13555]
42902         * configure.in: Remove entries for unsupported architectures.
42904         [BZ #13533]
42905         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
42906         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
42907         routines.
42908         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
42909         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
42910         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
42911         fall back to using wcrtomb.
42912         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
42913         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
42914         renaming.
42915         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
42916         * wcsmbs/tst-c16c32-1.c: New file.
42918         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
42919         local variable.
42921         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
42923         * elf/tst-unique3.cc: Add explicit declaration of gets.
42924         * elf/tst-unique3lib.cc: Likewise.
42925         * elf/tst-unique3lib2.cc: Likewise.
42926         * elf/tst-unique4.cc: Likewise.
42928         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
42930 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
42932         [BZ #13566]
42933         * assert/assert.h (static_assert): Don't define for C++.
42934         * libio/stdio.h (gets): Do declare for C++ <= C++11.
42935         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
42937 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
42939         * iconv/loop.c (single loop): Fix assertion in storing of
42940         remaining bytes.
42942         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
42944 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
42946         * posix/getconf.c: Update copyright year.
42947         * nss/getent.c: Likewise.
42948         * nss/makedb.c: Likewise.
42949         * iconv/iconvconfig.c: Likewise.
42950         * iconv/iconv_prog.c: Likewise.
42951         * elf/ldconfig.c: Likewise.
42952         * elf/pldd.c: Likewise.
42953         * elf/sotruss.ksh: Likewise.
42954         * catgets/gencat.c: Likewise.
42955         * csu/version.c: Likewise.
42956         * elf/ldd.bash.in: Likewise.
42957         * elf/sprof.c (print_version): Likewise.
42958         * locale/programs/locale.c: Likewise.
42959         * locale/programs/localedef.c: Likewise.
42960         * login/programs/pt_chown.c: Likewise.
42961         * nscd/nscd.c (print_version): Likewise.
42962         * debug/xtrace.sh: Likewise.
42963         * malloc/memusage.sh: Likewise.
42964         * malloc/mtrace.pl: Likewise.
42965         * debug/catchsegv.sh: Likewise.
42967 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
42969         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
42970         pure attribute.
42972 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
42974         [BZ #13533]
42975         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
42976         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
42977         transformations.
42978         * iconv/gconv_int.h: Likewise.
42979         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
42980         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
42981         from libc for GLIBC_2.16.
42982         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
42983         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
42984         * wcsmbs/uchar.h: Really define mbstate_t.
42985         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
42986         * wcsmbs/c16rtomb.c: New file.
42987         * wcsmbs/mbrtoc16.c: New file.
42988         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
42989         for C/POSIX locale.
42990         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
42991         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
42993         * wcsmbs/wchar.h: Add missing __restrict.
42995 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
42997         [BZ #13532]
42998         * time/Makefile (routines): Add timespec_get.
42999         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43000         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
43001         timespec for ISO C11.
43002         * time/timespec_get.c: New file.
43003         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43004         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43006         [BZ #13531]
43007         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
43008         * stdlib/stdlib.h: Declare aligned_alloc.
43009         * Versions.def: Add GLIBC_2.16 for libc.
43010         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
43012         [BZ 13527]
43013         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
43014         ISO C11.
43016         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
43017         code.
43019         [BZ #13528]
43020         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
43022         [BZ #13529]
43023         * assert/assert.h (static_assert): Define.
43025         * version.h: Update for 2.16 development version.
43027         [BZ #13526]
43028         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
43029         _ISOC11_SOURCE.
43031         * version.h (RELEASE): Bump for 2.15 release.
43032         * include/features.h (__GLIBC_MINOR__): Bump to 15.
43034         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
43035         Patch by Marek Polacek <mpolacek@redhat.com>.
43037         * bits/byteswap.h: Protect long long constants with __extension__.
43038         * sysdeps/i386/bits/byteswap.h: Likewise.
43039         * sysdeps/ia64/bits/byteswap.h: Likewise.
43040         * sysdeps/s390/bits/byteswap.h: Likewise.
43041         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43043 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43045         [BZ #13540]
43046         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43047         destination buffer.
43048         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43050 2011-12-23  Marek Polacek  <polacek@redhat.com>
43052         * elf/dl-addr.c (determine_info): Add inline keyword.
43053         * elf/tst-auditmod4b.c (check_avx): Likewise.
43054         * elf/tst-auditmod6b.c (check_avx): Likewise.
43055         * elf/tst-auditmod6c.c (check_avx): Likewise.
43056         * elf/tst-auditmod7b.c (check_avx): Likewise.
43058 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
43060         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43061         !__SSE_MATH__.
43063 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43065         [BZ #13540]
43066         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43067         processing for last bytes.
43069 2011-08-06  Bruno Haible  <bruno@clisp.org>
43071         [BZ #13061]
43072         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
43073         U+0385, not to U+1FEE.
43075         [BZ #13062]
43076         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
43077         entry for U+00A5 U+0301.
43079 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
43081         [BZ #13166]
43082         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43083         buffer for the output is too small.
43085         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43086         optimization.
43088         [BZ #13185]
43089         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43090         SSE flags if possible.
43092 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43094         [BZ #13540]
43095         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43096         processing for last bytes.
43098 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
43100         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43101         (syscall-list-default-options, syscall-list-default-condition)
43102         (syscall-list-includes): Define.
43103         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43104         list of ABIs and options and #if conditions for each ABI.  Do not
43105         handle common syscalls between ABIs specially.
43106         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43107         Remove.
43108         (syscall-list-variants, syscall-list-32bit-options)
43109         (syscall-list-32bit-condition, syscall-list-64bit-options)
43110         (syscall-list-64bit-condition): Define.
43111         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43112         (syscall-list-variants, syscall-list-32bit-options)
43113         (syscall-list-32bit-condition, syscall-list-64bit-options)
43114         (syscall-list-64bit-condition): Define.
43115         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43116         Remove.
43117         (syscall-list-variants, syscall-list-32bit-options)
43118         (syscall-list-32bit-condition, syscall-list-64bit-options)
43119         (syscall-list-64bit-condition): Define.
43120         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43121         Remove.
43122         (syscall-list-variants, syscall-list-32bit-options)
43123         (syscall-list-32bit-condition, syscall-list-64bit-options)
43124         (syscall-list-64bit-condition): Define.
43126 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
43128         * locale/iso-639.def: Add brx entry.
43130         [BZ #13328]
43131         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43132         Proposed by Mariusz_Cukr <marcukr@op.pl>.
43134         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43135         __feraiseexcept_renamed.
43137 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
43139         [BZ #13538]
43140         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43141         EPOLLET with unsigned values.
43142         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43143         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43145         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43146         to large cancellation.
43147         * math/s_cacoshf.c: Likewise.
43148         * math/s_cacoshl.c: Likewise.
43150 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
43152         [BZ #13305]
43153         [BZ #12786]
43154         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43155         * math/s_cacoshf.c: Likewise.
43156         * math/s_cacoshl.c: Likewise.
43158 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
43160         [BZ #13439]
43161         * iconv/gconv.h: Define __GCONV_SWAP.
43162         * iconvdata/unicode.c: The swap bit must be stored in __flags.
43163         * iconvdata/utf-16.c: Likewise.
43164         * iconvdata/utf-32.c: Likewise.
43166 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
43168         [BZ #13524]
43169         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43170         numerator after shifting it by one limb.
43172 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
43174         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43175         under [__USE_EXTERN_INLINES].
43177 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
43179         [BZ #13446]
43180         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43182 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43184         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43185         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43186         optimized code.
43187         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
43188         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
43189         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
43190         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
43191         for strncasecmp/strncasecmp_l compilation.
43192         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
43193         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
43195 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
43197         [BZ #13484]
43198         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
43199         of __asm__.
43201 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
43203         [BZ #13506]
43204         * time/tzfile.c (__tzfile_read): Check values from file header.
43206 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
43208         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43209         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43210         * powerpc/powerpc32/dl-start.S: Likewise.
43211         * powerpc/powerpc32/elf/start.S: Likewise.
43212         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43213         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43214         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43215         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43216         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43217         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43218         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43219         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43220         * powerpc/powerpc32/fpu/s_round.S: Likewise.
43221         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43222         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43223         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43224         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43225         * powerpc/powerpc32/memset.S: Likewise.
43226         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43227         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43228         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43229         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43230         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43231         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43232         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43233         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43234         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43235         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43236         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43237         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43238         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43240 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43242         * math/libm-test.inc: Added more nearbyint tests.
43243         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43244         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43245         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43246         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43248 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
43250         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43251         FD_CLOEXEC.
43253 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43255         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43256         Add wcscpy-ssse3 wcscpy-c.
43257         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43258         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43259         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43260         * sysdeps/x86_64/wcschr.S: New file.
43261         * sysdeps/x86_64/wcsrchr.S: New file.
43262         * string/test-strcmp.c: Remove checking of wcscmp function for
43263         wrong alignments.
43264         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43265         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43266         wcsrchr-sse2 wcsrchr-c.
43267         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43268         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43269         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43270         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43271         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43272         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43273         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43274         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43275         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43276         * wcsmbc/wcschr.c (WCSCHR): New macro.
43278 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43280         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43281         * wcsmbs/test-wcsrchr.c: New file.
43282         * string/test-strrchr.c: Add wcsrchr support.
43283         (WIDE): New macro.
43284         * wcsmbs/test-wcscpy.c: New file.
43285         * string/test-strcpy.c: Add wcscpy support.
43286         (WIDE): New macro.
43288 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
43290         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43291         the inner loop.
43293 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
43295         [BZ #13472]
43296         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43298 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
43300         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
43301         Minor optimizations.
43303         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43304         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43305         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43307 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
43309         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43310         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
43311         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
43312         for gcc to avoid warnings.
43313         * inet/Makefile (tests): Add tst-checks.
43314         * inet/tst-checks.c: New file.
43316         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
43317         warning.
43319         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
43320         __wmemcmp_sse2.
43322         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
43323         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
43325         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
43327 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
43329         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
43330         problem.
43332         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
43334 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
43336         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
43337         conditional on GCC version.
43338         (__arch_compare_and_exchange_val_8_acq)
43339         (__arch_compare_and_exchange_val_16_acq)
43340         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
43341         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
43342         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
43344 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
43346         * sysdeps/sh/backtrace.c: New file.
43348 2011-12-02  Andreas Schwab  <schwab@redhat.com>
43350         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
43351         parenthesis.
43353 2011-12-01  Andreas Schwab  <schwab@redhat.com>
43355         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
43356         falling back to utime.
43358 2011-11-30  Andreas Schwab  <schwab@redhat.com>
43360         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
43361         expectations for float.
43363 2011-11-29  Andreas Schwab  <schwab@redhat.com>
43365         * locale/weight.h (findidx): Add parameter len.
43366         * locale/weightwc.h (findidx): Likewise.
43367         * posix/fnmatch_loop.c (FCT): Adjust caller.
43368         * posix/regcomp.c (build_equiv_class): Likewise.
43369         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
43370         * posix/regexec.c (check_node_accept_bytes): Likewise.
43371         * string/strcoll_l.c (STRCOLL): Likewise.
43372         * string/strxfrm_l.c (STRXFRM): Likewise.
43374 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
43376         * Makefile.in: Remove CVSOPT handling.
43377         * configure.in: Remove use of AC_REVISION.
43378         * iconvdata/Makefile (distribute): No need to filter out CVS.
43379         * scripts/list-sources.sh: Remove CVS, subversion and monotone
43380         handling.
43382 2011-11-16  Andreas Schwab  <schwab@redhat.com>
43384         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
43385         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
43386         [USE_AS_STRNCASECMP_L]: Likewise.
43387         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
43388         NO_TLS_DIRECT_SEG_REFS.
43389         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43390         Fix argument offsets for non-PIC.
43391         [USE_AS_STRNCASECMP_L]: Likewise.
43392         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43393         NO_TLS_DIRECT_SEG_REFS.
43395 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
43397         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
43398         O_CLOEXEC.
43399         * locale/loadlocale.c (_nl_load_locale): Likewise.
43401 2011-11-15  Andreas Schwab  <schwab@redhat.com>
43403         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43404         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43405         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43406         (SYSCALL_GETTIME): Set errno on error.
43408         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43409         count references to noai6ai_cached.
43411 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
43413         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43415         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43416         FD_CLOEXEC for /proc/self/maps.
43418         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43419         FD_CLOEXEC for /proc/meminfo.
43421         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43422         gai.conf.
43424         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
43425         FD_CLOEXEC for given file.
43427         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43429         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43430         FD_CLOEXEC for /etc/hosts.
43431         (_gethtent): Likewise.
43433         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43435         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43436         cancellation and set FD_CLOEXEC for /etc/netgroup.
43438         * nss/nss_files/files-key.c (search): Don't allow cancellation when
43439         reading /etc/publickey.
43441         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43442         allow cancellation when reading /etc/group.
43444         * nss/nss_files/files-alias.c (internal_setent): Don't allow
43445         cancellation.
43446         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
43448         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43449         when using data file.
43451         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43453         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43454         (write_nis_obj): Use "c" and "e" in fopen.
43456         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43458         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43460         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43462         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43464         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43465         locale.alias.
43467         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43469         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43471         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43473         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43474         file parsing and set FD_CLOEXEC.
43476 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
43478         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43480 2011-11-14  Andreas Schwab  <schwab@redhat.com>
43482         * malloc/arena.c (arena_get2): Don't call reused_arena when
43483         _int_new_arena failed.
43485 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
43487         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43488         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43489         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43490         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43491         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43492         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43493         to compile strcasecmp and strncasecmp.
43494         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43495         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43497         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43499 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
43501         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43502         locale-defines.sym to gen-as-const-headers.
43503         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43504         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43505         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43506         to compile strcasecmp and strncasecmp.
43507         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43508         strcasecmp_l and strncasecmp_l.
43509         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43510         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43511         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43512         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43513         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43514         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43515         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43516         * sysdeps/i386/i686/multiarch/strncase.S: New file.
43517         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43518         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43519         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43521 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
43523         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
43524         result of SYSDEP_GETTIME_CPU to retval.
43525         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
43526         parameter list to macro.  Remove trailing semicolon.  Adjust users.
43528         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
43529         variable.
43531         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
43532         mantissa words.
43533         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
43535         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
43536         from unused variable.
43538         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
43539         DWARF definitions.
43540         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
43541         for assembling.
43543         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
43544         over namespaces.
43546         * sunrpc/rpc_prot.c (rejected): Fix case value.
43548         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
43549         unsigned long long int to avoid warnings in shift.
43551         * posix/regex_internal.c (re_string_reconstruct): Actually use result
43552         of use of trans.
43553         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
43554         variable tmp.
43556         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
43557         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43558         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43560         * nis/nis_table.c (nis_list): Use variable of correct type for
43561         result of __follow_path call.
43563 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43565         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
43566         of math functions ceil, trunc, floor, round, and sqrt, when
43567         avaliable on the platform.
43568         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
43569         name clash.
43570         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43571         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43572         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43574 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
43576         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
43577         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43579 2011-11-11  Roland McGrath  <roland@hack.frob.com>
43581         * include/unistd.h: Fix __readlink return type.
43582         Reported by Chris Metcalf <cmetcalf@tilera.com>.
43584 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
43586         * stdlib/ucontext.h: Undo last change for makecontext.
43588 2011-11-11  Andreas Schwab  <schwab@redhat.com>
43590         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
43592         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
43593         * setjmp/setjmp.h: Mark functions as non-leaf.
43594         * setjmp/bits/setjmp2.h: Likewise.
43595         * stdlib/ucontext.h: Likewise.
43597 2011-11-10  Andreas Schwab  <schwab@redhat.com>
43599         * malloc/arena.c (_int_new_arena): Don't increment narenas.
43600         (reused_arena): Don't check arena limit.
43601         (arena_get2): Atomically check arena limit.
43603 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
43605         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
43606         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
43608         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
43609         instructions.
43611 2011-11-07  Andreas Schwab  <schwab@redhat.com>
43613         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
43614         handler when locking.
43616         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43617         Fix size of allocated buffer.
43619 2011-11-04  Andreas Schwab  <schwab@redhat.com>
43621         [BZ #10103]
43622         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
43623         declarations for long double functions.
43624         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
43626         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
43628 2011-11-03  Andreas Schwab  <schwab@redhat.com>
43630         * nscd/nscd.c (main): Don't start AVC thread until credentials are
43631         installed.
43633         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
43634         is disabled.
43636 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43638         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
43640 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
43642         * include/alloca.h (stackinfo_alloca_round): Define.
43643         (extend_alloca): Use it.
43644         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
43645         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
43646         here.
43648         * scripts/check-local-headers.sh: Ignore libaudit.h.
43650         * nscd/Makefile (extra-objs): Make recursively expanded.
43652 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
43654         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
43655         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43657         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
43658         * posix/tst-rfc3484-2.c: Likewise.
43659         * posix/tst-rfc3484-3.c: Likewise.
43661         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43662         process_vm_writev.
43663         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
43664         process_vm_writev.
43665         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
43666         process_vm_writev from libc using GLIBC_2.15 version.
43668         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
43670 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
43672         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
43673         stack usage.
43675 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
43677         [BZ #13367]
43678         * nss/getent.c (initgroups_keys): Show error message in case no group
43679         names are given.
43681         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
43682         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
43683         __bump_nl_timestamp.
43684         * nscd/connections (nscd_init): When host database is served open
43685         netlink socket and request notification about configuration changes.
43686         (main_loop_poll): Track netlink file descriptor and bump timestamp
43687         in case data becomes available.
43688         (main_loop_epoll): Likewise.
43689         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
43690         (database_pers_head): Add extra_data fileds.
43691         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
43692         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
43693         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
43694         Adjust caller.
43695         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
43696         in6ai data, call __free_in6ai.
43697         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
43698         Add -DHAVE_NETLINK.
43699         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
43700         interface information.  Reuse previous data if netlink timestamp
43701         is not changed.
43702         (__bump_nl_timestamp): New function.
43703         (__free_in6ai): New function.
43705 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
43707         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
43708         close_not_cancel_no_status here.
43709         (__check_pf): Reorganize code a bit to not call close twice if OOM.
43711 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
43713         [BZ #13276]
43714         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
43715         return value.
43717         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
43718         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
43719         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
43721 2011-07-03  Andreas Jaeger  <aj@suse.de>
43723         [BZ #10709]
43724         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
43725         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
43726         * math/libm-test.inc (sin_test): Add test case.
43728 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
43730         [BZ #13337]
43731         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
43732         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43734         * elf/chroot_canon.c (chroot_canon): Cleanups.
43736         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
43738         [BZ #13335]
43739         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
43740         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43742         * string/test-strchr.c: Make usable for strchrnul testing.
43743         * string/test-strchrnul.c: New file.
43744         * string/Makefile (strop-tests): Add strchrnul.
43746         * po/it.po: Update from translation team.
43747         * po/es.po: Likewise.
43749 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
43751         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
43752         the three constants needed as parameters.  Drop the others.
43753         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
43754         __m128i_strloadu_tolower.
43755         Create and initialize variable zero and use it in all the places
43756         where _mm_setzero_si128 was used.
43758         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
43759         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
43760         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
43761         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
43762         anymore.
43763         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
43764         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
43765         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
43766         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
43767         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
43768         __mpranred, __mptan.
43769         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
43770         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
43771         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
43772         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
43773         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
43774         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
43775         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
43776         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
43777         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
43779 2011-10-28  Andreas Schwab  <schwab@redhat.com>
43781         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
43782         redefine if SHARED.
43783         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43785         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43786         wide char related routines to wcsmbs subdir.
43788 2011-10-27  Andreas Schwab  <schwab@redhat.com>
43790         [BZ #13344]
43791         * misc/sys/cdefs.h (__THROWNL): Define.
43792         * posix/unistd.h: Use __THREADNL instead of __THREAD
43793         for memory synchronization functions.
43795 2011-10-26  Roland McGrath  <roland@hack.frob.com>
43797         [BZ #13349]
43798         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43799         doesn't exist.
43800         * manual/stdio.texi (Obstack Streams): Node removed.
43802 2011-10-26  Andreas Schwab  <schwab@redhat.com>
43804         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43805         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43806         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43808         * math/math_private.h (math_force_eval): Allow non-addressable
43809         arguments.
43810         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43812 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
43814         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43815         file is not needed.
43817         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43818         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43819         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43820         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43821         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43822         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43823         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43824         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43825         Add AVX variants.
43826         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43827         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43828         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43829         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43830         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43831         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43832         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43833         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43834         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43835         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43836         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43837         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43838         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43839         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43840         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43841         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43842         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43843         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43844         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43846         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43847         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
43849         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43850         place.  Use VEX encoding when compiling for AVX.
43852 2011-10-25  Andreas Schwab  <schwab@redhat.com>
43854         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43855         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43857         * string/test-strchr.c (do_test): Don't generate NUL bytes.
43859 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
43861         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
43862         useless if() expression.
43863         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43864         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43865         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43866         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43867         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43868         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43869         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43870         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43871         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43872         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43873         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43874         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43875         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43876         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43877         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43878         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43879         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43880         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43881         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43883         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43885 2011-10-25  Andreas Schwab  <schwab@redhat.com>
43887         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43888         condition.
43889         * elf/dl-fini.c (_dl_sort_fini): Likewise.
43891 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
43893         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43894         .text section.  Avoid duplicate constants.
43895         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43896         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43897         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43898         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43899         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43900         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43901         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43902         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43903         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43904         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
43905         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43906         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43907         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43908         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43909         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43910         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43911         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43912         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43913         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43914         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43915         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43916         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43917         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43918         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
43919         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
43920         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
43921         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
43922         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43923         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
43924         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
43925         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
43926         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
43927         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43928         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
43929         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
43930         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
43931         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
43932         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
43933         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
43934         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
43935         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
43936         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
43937         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
43938         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
43939         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
43941 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
43943         * sysdeps/x86_64/dla.h: Move to ...
43944         * sysdeps/x86_64/fpu/dla.h: ...here.
43945         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
43946         situations.  Use __builtin_fma only for gcc 4.6 and up.
43948         * config.make.in: Add have-mfma4 entry.
43949         * configure.in: Substitute libc_cv_cc_fma4.
43950         * math/Makefile (dbl-only-routines): Add sincostab.
43951         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
43952         Use __sincostab not sincos.
43953         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
43954         name is a macro.
43955         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43956         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43957         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43958         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
43959         using __copysign.
43960         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
43961         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
43962         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
43963         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
43964         and __inv.
43965         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
43966         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
43967         __copysign.
43968         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
43969         define aliases when function name is a macro.
43970         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
43971         sysdeps/ieee754/dbl-64/sincos.tbl.
43972         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
43973         fma4-enabled routines.
43974         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
43975         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
43976         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
43977         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
43978         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
43979         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
43980         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
43981         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
43982         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
43983         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
43984         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
43985         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
43986         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
43987         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
43988         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
43989         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
43990         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
43991         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
43992         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
43993         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
43994         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
43995         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
43996         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
43997         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
43998         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
43999         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44000         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44001         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44002         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44003         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44005         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
44006         rename.
44007         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44008         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44009         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44010         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44011         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44012         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44013         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44014         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44016 2011-10-24  Andreas Schwab  <schwab@redhat.com>
44018         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
44020 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44022         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
44024         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
44025         prediction.
44026         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44028         * string/strnlen.c: Don't define STRNLEN, reverse logic.
44029         Remove unused variable magic_bits.
44030         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
44032         * string/strnlen.c: Define and use STRNLEN macro.
44033         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
44034         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
44035         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
44036         * wcsmbs/wcslen.c: Define and use WCSLEN.
44037         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
44038         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
44039         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
44040         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
44041         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
44042         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
44043         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44045 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44047         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44048         strnlen-sse2-no-bsf.
44049         Rename strlen-no-bsf to strlen-sse2-no-bsf.
44050         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44051         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44052         Add strnlen support.
44053         (USE_AS_STRNLEN): New macro.
44054         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44055         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44056         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44057         * sysdeps/x86_64/wcslen.S: New file.
44059 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
44061         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44062         XMM-moves are used for copying on small sizes.
44064 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44066         * wcsmbs/Makefile (strop-tests): Add wcschr.
44067         * wcsmbs/test-wcschr.c: New file.
44068         * string/test-strchr.c: Update.
44069         Add wcschr support.
44070         (WIDE): New macro.
44072 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44074         * wcsmbs/Makefile (strop-tests): Add wcslen.
44075         * wcsmbs/test-wcslen.c: New file.
44076         * string/test-strlen.c: Update.
44077         Add wcslen support.
44078         (WIDE): New macro.
44080 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44082         * po/it.po: Update from translation team.
44084 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44086         * sysdeps/x86_64/wcscmp.S: Update.
44087         Fix wrong comparison semantics.
44088         wcscmp shall use signed comparison not unsigned.
44089         Don't use substraction to avoid overflow bug.
44090         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44091         * wcsmbc/wcscmp.c: Likewise.
44092         * string/test-strcmp.c: Likewise.
44093         Add new tests to check cases with negative values.
44095 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44097         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44098         * sysdeps/x86_64/dla.h: ...here.  New file.
44099         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44100         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44101         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44102         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44103         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44104         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44105         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44106         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44107         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44109 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
44111         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44112         __ynl_finite aliases.
44114 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
44116         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44118         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44119         define DLA_FMA.
44120         [DLA_FMA] (EMULV): Use DLA_FMA.
44121         [DLA_FMA] (MUL12): Use EMULV.
44122         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44123         that are not needed.
44124         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44125         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44126         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44127         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44128         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44129         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44130         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44132 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
44134         * math/s_nan.c: Undef __nan.
44135         * math/s_nanf.c: Undef __nanf.
44136         * math/s_nanl.c: Undef __nanl.
44137         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44138         "math_private.h".
44140 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
44142         * math/s_catan.c: Add branch predictions.
44143         * math/s_catanf.c: Likewise.
44144         * math/s_catanh.c: Likewise.
44145         * math/s_catanhf.c: Likewise.
44146         * math/s_catanhl.c: Likewise.
44147         * math/s_catanl.c: Likewise.
44148         * math/s_cexp.c: Likewise.
44149         * math/s_cexpf.c: Likewise.
44150         * math/s_cexpl.c: Likewise.
44151         * math/s_clog.c: Likewise.
44152         * math/s_clog10.c: Likewise.
44153         * math/s_clog10f.c: Likewise.
44154         * math/s_clog10l.c: Likewise.
44155         * math/s_clogf.c: Likewise.
44156         * math/s_clogl.c: Likewise.
44157         * math/s_csqrt.c: Likewise.
44158         * math/s_csqrtf.c: Likewise.
44159         * math/s_csqrtl.c: Likewise.
44160         * math/s_ctanf.c: Likewise.
44161         * math/s_ctanh.c: Likewise.
44162         * math/s_ctanhf.c: Likewise.
44163         * math/s_ctanhl.c: Likewise.
44164         * math/s_ctanl.c: Likewise.
44166         * math/math_private.h: Define __nan, __nanf, __nanl.
44167         * math/s_cacosh.c: Include <math_private.h>.
44168         * math/s_cacoshl.c: Likewise.
44169         * math/s_casinh.c: Likewise.
44170         * math/s_casinhf.c: Likewise.
44171         * math/s_casinhl.c: Likewise.
44172         * math/s_ccos.c: Rely entire on ccosh.
44173         * math/s_ccosf.c: Rely entire on ccoshf.
44174         * math/s_ccosl.c: Rely entirely on ccoshl.
44175         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
44176         Remove tests for FE_INVALID.
44177         * math/s_ccoshf.c: Likewise.
44178         * math/s_ccoshl.c: Likewise.
44179         * math/s_csin.c: Likewise.
44180         * math/s_csinf.c: Likewise.
44181         * math/s_csinh.c Likewise.
44182         * math/s_csinhf.c: Likewise.
44183         * math/s_csinhl.c: Likewise.
44184         * math/s_csinl.c: Likewise.
44185         * math/s_ctan.c: Likewise.
44186         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44187         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
44188         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
44190 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
44192         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
44193         compilation problems.
44195         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
44196         __builtin_expect.
44198 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
44200         * sysdeps/i386/configure.in: Test for -mfma4 option.
44201         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44202         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44203         COMMON_CPUID_INDEX_80000001.
44204         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44205         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44206         use it if FMA3 is not supported.
44207         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44209         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44210         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44212 2011-10-20  Andreas Schwab  <schwab@redhat.com>
44214         [BZ #12892]
44215         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44216         it would create a cycle with a link time dependency.
44218 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
44220         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44221         instruction.
44222         * string/Makefile (strop-tests): Add rawmemchr.
44223         * string/test-rawmemchr.c: New file.
44225         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44226         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
44227         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
44228         when compiling str{,n}casecmp and when AVX is available.  Hook up
44229         new optimized code in initializers.
44231 2011-10-19  Andreas Schwab  <schwab@redhat.com>
44233         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44234         __feraiseexcept instead of feraiseexcept.
44236 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
44238         * math/math_private.h: Define defaults for libc_fetestexcept and
44239         libc_feupdateenv.
44240         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44241         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44242         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44243         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44244         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44245         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44246         libc_fetestexcept and libc_feupdateenv.
44248         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44249         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44250         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44251         * sysdeps/x86_64/fpu/math_private.h: Define special version of
44252         libc_feholdexcept_setround.
44254         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44255         Add s_nearbyint-c and s_nearbyintf-c.
44256         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44257         nearbyintf inlines.
44258         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44259         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44260         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44261         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44263         * math/math_private.h: Define defaults for libc_fegetround,
44264         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44265         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44266         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44267         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44268         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44269         standard functions.
44270         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44271         Remove comments and hacks for old compiler versions.
44272         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44273         libc_fegetround, libc_fesetround, libc_feholdexcept, and
44274         libc_feholdexceptl.
44276 2011-10-18  Andreas Schwab  <schwab@redhat.com>
44278         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
44279         (__feraiseexcept_renamed): Add __NTH.
44280         (feraiseexcept): Add __NTH.  Rename local variables to fix
44281         namespace violations.
44283 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
44285         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44287         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44289         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44290         recently added interfaces.
44291         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44293         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44294         about macro parameter expansion.
44296         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44297         __NO_MATH_INLINES is defined.  Cleanups.
44299         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44300         and __floorf is target has SSE4.1.
44301         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44302         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44303         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44304         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44306         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44307         name.
44308         (floorf): Likewise.
44310         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
44312 2011-10-17  Andreas Schwab  <schwab@redhat.com>
44314         * misc/sys/cdefs.h: Fix last change.
44316         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
44317         database lookup.
44319 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
44321         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
44323         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
44324         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44325         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44326         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44327         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44328         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44329         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44330         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44331         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44332         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
44333         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
44334         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
44335         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
44336         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
44337         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
44338         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
44339         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
44340         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
44341         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
44342         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
44343         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
44344         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
44346         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
44347         ceil, ceilf, floor, floorf.
44349         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
44350         Perform IRELATIVE relocations last.
44352         * elf/do-rel.h: Add another parameter nrelative, replacing the
44353         local variable with the same name.  Change name of the function
44354         to end in Rel or Rela (uppercase).
44355         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
44356         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
44357         elf_dynamic_do_##reloc function.
44359 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
44361         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
44362         is sufficient, at least on modern CPUs.
44364         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
44366         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
44367         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
44369         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
44370         __expl_finite.
44371         * math/bits/math-finite.h: Add entries for exp.
44372         * math/e_expl.c: Add __*_finite alias.
44373         * sysdeps/i386/fpu/e_exp.S: Likewise.
44374         * sysdeps/i386/fpu/e_expf.S: Likewise.
44375         * sysdeps/i386/fpu/e_expl.c: Likewise.
44376         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44377         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44378         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44379         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44380         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
44381         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44382         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44384         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
44385         is sufficient, at least on modern CPUs.
44387         * ctype/ctype-info.c (__ctype_init): Define.
44388         * include/ctype.h (__ctype_init): Declare.
44389         (__ctype_b_loc): The variable is always initialized.
44390         (__ctype_toupper_loc): Likewise.
44391         (__ctype_tolower_loc): Likewise.
44392         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44393         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44395 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
44397         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44399         * configure.in: Also look in $cxxmachine/include for C++ system
44400         headers.
44402 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44404         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44405         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44406         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44407         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
44408         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44409         (USE_AS_WMEMCMP): New macro.
44410         Fixing indents.
44411         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44412         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44413         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44414         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44415         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44416         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44417         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44418         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44419         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44420         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44421         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44422         (USE_AS_WMEMCMP): New macro.
44423         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44424         * sysdeps/string/test-memcmp.c: Update.
44425         Fix simple_wmemcmp.
44426         Add new tests.
44427         * wcsmbs/wmemcmp.c: Update.
44428         (WMEMCMP): New macro.
44429         Fix overflow bug.
44431 2011-10-12  Andreas Jaeger  <aj@suse.de>
44433         [BZ #13268]
44434         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44436 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
44438         * libio/iofwide.c (do_length): Avoid warning.
44440         * ctype/ctype.h (__isctype_f): Add missing __THROW.
44442 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
44444         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44446         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44447         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44448         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44449         * sysdeps/i386/i686/fpu/e_log.S: New file.
44450         * sysdeps/i386/i686/fpu/e_logf.S: New file.
44451         * sysdeps/i386/i686/fpu/e_logl.S: New file.
44453         * ctype/ctype.h: Add support for inlined isXXX functions when
44454         compiling C++ code.
44456 2011-10-14  Andreas Schwab  <schwab@redhat.com>
44458         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44460         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44462 2011-10-13  Roland McGrath  <roland@hack.frob.com>
44464         [BZ #13291]
44465         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44467 2011-10-13  Andreas Schwab  <schwab@redhat.com>
44469         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44470         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44471         feraiseexcept.
44473         * sysdeps/x86_64/memrchr.S: Check for zero size.
44475         * string/stratcliff.c: Add memrchr tests.
44477 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44479         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44480         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44481         rawmemchr-sse2 rawmemchr-sse2-bsf.
44482         * sysdeps/i386/i686/multiarch/memchr.S: New file.
44483         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44484         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44485         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44486         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44487         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44488         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44489         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44490         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44491         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44492         * string/memrchr.c (MEMRCHR): New macro.
44494 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
44496         Add integration with gcc's -ffinite-math-only and optimize wrapper
44497         functions in libm.
44498         * Versions.def: Define GLIBC_2.15 version for libm.
44499         * math/Makefile (headers): Add bits/math-finite.h.
44500         * math/bits/math-finite.h: New file.
44501         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44502         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44503         * math/e_acoshl.c: Add __*_finite alias.
44504         * math/e_acosl.c: Likewise.
44505         * math/e_asinl.c: Likewise.
44506         * math/e_atan2l.c: Likewise.
44507         * math/e_atanhl.c: Likewise.
44508         * math/e_coshl.c: Likewise.
44509         * math/e_exp10.c: Likewise.
44510         * math/e_exp10f.c: Likewise.
44511         * math/e_exp10l.c: Likewise.
44512         * math/e_exp2l.c: Likewise.
44513         * math/e_fmodl.c: Likewise.
44514         * math/e_gammal_r.c: Likewise.
44515         * math/e_hypotl.c: Likewise.
44516         * math/e_j0l.c: Likewise.
44517         * math/e_j1l.c: Likewise.
44518         * math/e_jnl.c: Likewise.
44519         * math/e_lgammal_r.c: Likewise.
44520         * math/e_log10l.c: Likewise.
44521         * math/e_log2l.c: Likewise.
44522         * math/e_logl.c: Likewise.
44523         * math/e_powl.c: Likewise.
44524         * math/e_sinhl.c: Likewise.
44525         * math/e_sqrtl.c: Likewise.
44526         * math/e_scalb.c: Completely rewritten and optimized.
44527         * math/e_scalbf.c: Likewise.
44528         * math/e_scalbl.c: Likewise.
44529         * math/w_acos.c: Likewise.
44530         * math/w_acosf.c: Likewise.
44531         * math/w_acosl.c: Likewise.
44532         * math/w_acosh.c: Likewise.
44533         * math/w_acoshf.c: Likewise.
44534         * math/w_acoshl.c: Likewise.
44535         * math/w_asin.c: Likewise.
44536         * math/w_asinf.c: Likewise.
44537         * math/w_asinl.c: Likewise.
44538         * math/w_atan2.c: Likewise.
44539         * math/w_atan2f.c: Likewise.
44540         * math/w_atan2l.c: Likewise.
44541         * math/w_atanh.c: Likewise.
44542         * math/w_atanhf.c: Likewise.
44543         * math/w_atanhl.c: Likewise.
44544         * math/w_exp10.c: Likewise.
44545         * math/w_exp10f.c: Likewise.
44546         * math/w_exp10l.c: Likewise.
44547         * math/w_fmod.c: Likewise.
44548         * math/w_fmodf.c: Likewise.
44549         * math/w_fmodl.c: Likewise.
44550         * math/w_j0.c: Likewise.
44551         * math/w_j0f.c: Likewise.
44552         * math/w_j0l.c: Likewise.
44553         * math/w_j1.c: Likewise.
44554         * math/w_j1f.c: Likewise.
44555         * math/w_j1l.c: Likewise.
44556         * math/w_jn.c: Likewise.
44557         * math/w_jnf.c: Likewise.
44558         * math/w_log.c: Likewise.
44559         * math/w_logf.c: Likewise.
44560         * math/w_logl.c: Likewise.
44561         * math/w_log10.c: Likewise.
44562         * math/w_log10f.c: Likewise.
44563         * math/w_log10l.c: Likewise.
44564         * math/w_log2.c: Likewise.
44565         * math/w_log2f.c: Likewise.
44566         * math/w_log2l.c: Likewise.
44567         * math/w_pow.c: Likewise.
44568         * math/w_powf.c: Likewise.
44569         * math/w_powl.c: Likewise.
44570         * math/w_remainder.c: Likewise.
44571         * math/w_remainderf.c: Likewise.
44572         * math/w_remainderl.c: Likewise.
44573         * math/w_scalb.c: Likewise.
44574         * math/w_scalbf.c: Likewise.
44575         * math/w_scalbl.c: Likewise.
44576         * math/w_sqrt.c: Likewise.
44577         * math/w_sqrtf.c: Likewise.
44578         * math/w_sqrtl.c: Likewise.
44579         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
44580         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
44581         used.
44582         * math/math_private.h: Declare __kernel_standard_f.
44583         * math/w_cosh.c: Remove cruft and optimize a bit.
44584         * math/w_coshf.c: Likewise.
44585         * math/w_coshl.c: Likewise.
44586         * math/w_exp2.c: Likewise.
44587         * math/w_exp2f.c: Likewise.
44588         * math/w_exp2l.c: Likewise.
44589         * math/w_hypot.c: Likewise.
44590         * math/w_hypotf.c: Likewise.
44591         * math/w_hypotl.c: Likewise.
44592         * math/w_lgamma.c: Likewise.
44593         * math/w_lgamma_r.c: Likewise.
44594         * math/w_lgammaf.c: Likewise.
44595         * math/w_lgammaf_r.c: Likewise.
44596         * math/w_lgammal.c: Likewise.
44597         * math/w_lgammal_r.c: Likewise.
44598         * math/w_sinh.c: Likewise.
44599         * math/w_sinhf.c: Likewise.
44600         * math/w_sinhl.c: Likewise.
44601         * math/w_tgamma.c: Likewise.
44602         * math/w_tgammaf.c: Likewise.
44603         * math/w_tgammal.c: Likewise.
44604         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44605         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44606         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
44607         Minor optimizations.  Pretty printing.  Remove cruft.
44608         * sysdeps/i386/fpu/e_acosf.S: Likewise.
44609         * sysdeps/i386/fpu/e_acosh.S: Likewise.
44610         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44611         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44612         * sysdeps/i386/fpu/e_acosl.c: Likewise.
44613         * sysdeps/i386/fpu/e_asin.S: Likewise.
44614         * sysdeps/i386/fpu/e_asinf.S: Likewise.
44615         * sysdeps/i386/fpu/e_atan2.S: Likewise.
44616         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
44617         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
44618         * sysdeps/i386/fpu/e_atanh.S: Likewise.
44619         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44620         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44621         * sysdeps/i386/fpu/e_exp10.S: Likewise.
44622         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
44623         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
44624         * sysdeps/i386/fpu/e_exp2.S: Likewise.
44625         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
44626         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
44627         * sysdeps/i386/fpu/e_fmod.S: Likewise.
44628         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
44629         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
44630         * sysdeps/i386/fpu/e_hypot.S: Likewise.
44631         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
44632         * sysdeps/i386/fpu/e_log.S: Likewise.
44633         * sysdeps/i386/fpu/e_log10.S: Likewise.
44634         * sysdeps/i386/fpu/e_log10f.S: Likewise.
44635         * sysdeps/i386/fpu/e_log10l.S: Likewise.
44636         * sysdeps/i386/fpu/e_log2.S: Likewise.
44637         * sysdeps/i386/fpu/e_log2f.S: Likewise.
44638         * sysdeps/i386/fpu/e_log2l.S: Likewise.
44639         * sysdeps/i386/fpu/e_logf.S: Likewise.
44640         * sysdeps/i386/fpu/e_logl.S: Likewise.
44641         * sysdeps/i386/fpu/e_pow.S: Likewise.
44642         * sysdeps/i386/fpu/e_powf.S: Likewise.
44643         * sysdeps/i386/fpu/e_powl.S: Likewise.
44644         * sysdeps/i386/fpu/e_remainder.S: Likewise.
44645         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
44646         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
44647         * sysdeps/i386/fpu/e_scalb.S: Likewise.
44648         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44649         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44650         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
44651         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
44652         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
44653         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44654         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44655         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44656         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44657         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44658         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44659         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44660         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44661         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44662         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44663         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44664         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44665         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44666         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44667         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44668         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44669         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44670         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44671         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44672         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44673         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44674         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44675         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44676         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44677         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44678         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44679         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44680         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44681         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
44682         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44683         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44684         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44685         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44686         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44687         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44688         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44689         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44690         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44691         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44692         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44693         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44694         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44695         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44696         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44697         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44698         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44699         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44700         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44701         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44702         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
44703         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44704         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44705         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44706         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44707         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44708         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44709         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44710         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44711         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44712         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44713         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44714         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44715         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44716         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44717         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44718         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44719         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44720         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44721         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
44722         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44723         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44724         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44725         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44726         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44727         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44728         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44729         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44730         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44731         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44732         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44733         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44734         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44735         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
44736         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44737         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44738         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44739         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44740         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44741         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44742         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44743         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44744         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44745         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44746         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44747         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44748         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44749         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44750         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
44751         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
44752         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
44753         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
44754         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
44755         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
44756         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
44757         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44758         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44759         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44760         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44761         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
44762         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44763         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
44764         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
44765         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
44766         (__isnanf): Likewise.
44767         (__isinf_ns): Likewise.
44768         (__isinf_nsf): Likewise.
44769         (__finite): Likewise.
44770         (__finitef): Likewise.
44771         (__ieee754_sqrt): Define as macro.
44772         (__ieee754_sqrtf): Define as macro.
44773         (__ieee754_sqrtl): Define as macro.
44774         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
44775         inlined copy.
44776         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
44777         __FINITE_MATH_ONLY__ consistent.
44778         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
44780 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
44782         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44783         of rawmemchr.
44785         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44787 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
44789         * po/ja.po: Update from translation team.
44791 2011-10-08  Roland McGrath  <roland@hack.frob.com>
44793         * locale/programs/locarchive.c (prepare_address_space): New function.
44794         (create_archive, enlarge_archive, open_archive): Use it.
44796         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44797         inside [SHARED], where it is used.
44799         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44801         * nss/getent.c (netgroup_keys): Remove unused variable.
44802         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44804 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
44806         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44807         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44808         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44809         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44810         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44811         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44812         * math/Makefile (libm-calls): Add s_isinf_ns.
44813         * math/divtc3.c: Use __isinf_nsl instead of isinf.
44814         * math/multc3.c: Likewise.
44815         * math/s_casin.c: Likewise.
44816         * math/s_casinf.c: Likewise.
44817         * math/s_casinl.c: Likewise.
44818         * math/s_ccos.c: Likewise.
44819         * math/s_ccosf.c: Likewise.
44820         * math/s_ccosl.c: Likewise.
44821         * math/s_ctan.c: Likewise.
44822         * math/s_ctanf.c: Likewise.
44823         * math/s_ctanh.c: Likewise.
44824         * math/s_ctanhf.c: Likewise.
44825         * math/s_ctanhl.c: Likewise.
44826         * math/s_ctanl.c: Likewise.
44827         * math/w_fmod.c: Likewise.
44828         * math/w_fmodf.c: Likewise.
44829         * math/w_fmodl.c: Likewise.
44830         * math/w_remainder.c: Likewise.
44831         * math/w_remainderf.c: Likewise.
44832         * math/w_remainderl.c: Likewise.
44833         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44834         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44835         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44836         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44837         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44838         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44839         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44840         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44842         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44843         of the number.
44844         * stdio-common/printf_fphex.c: Likewise.
44845         * stdio-common/printf_size.c: Likewise.
44847         * math/e_exp10.c: Include math_private.h using <...> not "...".
44848         * math/e_exp10f.c: Likewise.
44849         * math/e_exp10l.c: Likewise.
44850         * math/e_exp2l.c: Likewise.
44851         * math/e_j0l.c: Likewise.
44852         * math/e_j1l.c: Likewise.
44853         * math/e_jnl.c: Likewise.
44854         * math/e_lgammal_r.c: Likewise.
44855         * math/e_rem_pio2l.c: Likewise.
44856         * math/e_scalb.c: Likewise.
44857         * math/e_scalbf.c: Likewise.
44858         * math/e_scalbl.c: Likewise.
44859         * math/k_cosl.c: Likewise.
44860         * math/k_sinl.c: Likewise.
44861         * math/k_tanl.c: Likewise.
44862         * math/s_cacoshf.c: Likewise.
44863         * math/s_catan.c: Likewise.
44864         * math/s_catanf.c: Likewise.
44865         * math/s_catanh.c: Likewise.
44866         * math/s_catanhf.c: Likewise.
44867         * math/s_catanhl.c: Likewise.
44868         * math/s_catanl.c: Likewise.
44869         * math/s_ccosh.c: Likewise.
44870         * math/s_ccoshf.c: Likewise.
44871         * math/s_ccoshl.c: Likewise.
44872         * math/s_cexp.c: Likewise.
44873         * math/s_cexpf.c: Likewise.
44874         * math/s_cexpl.c: Likewise.
44875         * math/s_clog.c: Likewise.
44876         * math/s_clog10.c: Likewise.
44877         * math/s_clog10f.c: Likewise.
44878         * math/s_clog10l.c: Likewise.
44879         * math/s_clogf.c: Likewise.
44880         * math/s_clogl.c: Likewise.
44881         * math/s_csin.c: Likewise.
44882         * math/s_csinf.c: Likewise.
44883         * math/s_csinh.c: Likewise.
44884         * math/s_csinhf.c: Likewise.
44885         * math/s_csinhl.c: Likewise.
44886         * math/s_csinl.c: Likewise.
44887         * math/s_csqrt.c: Likewise.
44888         * math/s_csqrtf.c: Likewise.
44889         * math/s_csqrtl.c: Likewise.
44890         * math/s_ctan.c: Likewise.
44891         * math/s_ctanf.c: Likewise.
44892         * math/s_ctanh.c: Likewise.
44893         * math/s_ctanhf.c: Likewise.
44894         * math/s_ctanhl.c: Likewise.
44895         * math/s_ctanl.c: Likewise.
44896         * math/s_ldexp.c: Likewise.
44897         * math/s_ldexpf.c: Likewise.
44898         * math/s_ldexpl.c: Likewise.
44899         * math/s_significand.c: Likewise.
44900         * math/s_significandf.c: Likewise.
44901         * math/s_significandl.c: Likewise.
44902         * math/w_acos.c: Likewise.
44903         * math/w_acosf.c: Likewise.
44904         * math/w_acosh.c: Likewise.
44905         * math/w_acoshf.c: Likewise.
44906         * math/w_acoshl.c: Likewise.
44907         * math/w_acosl.c: Likewise.
44908         * math/w_asin.c: Likewise.
44909         * math/w_asinf.c: Likewise.
44910         * math/w_asinl.c: Likewise.
44911         * math/w_atan2.c: Likewise.
44912         * math/w_atan2f.c: Likewise.
44913         * math/w_atan2l.c: Likewise.
44914         * math/w_atanh.c: Likewise.
44915         * math/w_atanhf.c: Likewise.
44916         * math/w_atanhl.c: Likewise.
44917         * math/w_cosh.c: Likewise.
44918         * math/w_coshf.c: Likewise.
44919         * math/w_coshl.c: Likewise.
44920         * math/w_dremf.c: Likewise.
44921         * math/w_exp10.c: Likewise.
44922         * math/w_exp10f.c: Likewise.
44923         * math/w_exp10l.c: Likewise.
44924         * math/w_exp2.c: Likewise.
44925         * math/w_exp2f.c: Likewise.
44926         * math/w_fmod.c: Likewise.
44927         * math/w_fmodf.c: Likewise.
44928         * math/w_fmodl.c: Likewise.
44929         * math/w_hypot.c: Likewise.
44930         * math/w_hypotf.c: Likewise.
44931         * math/w_hypotl.c: Likewise.
44932         * math/w_j0.c: Likewise.
44933         * math/w_j0f.c: Likewise.
44934         * math/w_j0l.c: Likewise.
44935         * math/w_j1.c: Likewise.
44936         * math/w_j1f.c: Likewise.
44937         * math/w_j1l.c: Likewise.
44938         * math/w_jn.c: Likewise.
44939         * math/w_jnf.c: Likewise.
44940         * math/w_jnl.c: Likewise.
44941         * math/w_lgamma.c: Likewise.
44942         * math/w_lgamma_r.c: Likewise.
44943         * math/w_lgammaf.c: Likewise.
44944         * math/w_lgammaf_r.c: Likewise.
44945         * math/w_lgammal.c: Likewise.
44946         * math/w_lgammal_r.c: Likewise.
44947         * math/w_log.c: Likewise.
44948         * math/w_log10.c: Likewise.
44949         * math/w_log10f.c: Likewise.
44950         * math/w_log10l.c: Likewise.
44951         * math/w_log2.c: Likewise.
44952         * math/w_log2f.c: Likewise.
44953         * math/w_log2l.c: Likewise.
44954         * math/w_logf.c: Likewise.
44955         * math/w_logl.c: Likewise.
44956         * math/w_pow.c: Likewise.
44957         * math/w_powf.c: Likewise.
44958         * math/w_powl.c: Likewise.
44959         * math/w_remainder.c: Likewise.
44960         * math/w_remainderf.c: Likewise.
44961         * math/w_remainderl.c: Likewise.
44962         * math/w_scalb.c: Likewise.
44963         * math/w_scalbf.c: Likewise.
44964         * math/w_scalbl.c: Likewise.
44965         * math/w_sinh.c: Likewise.
44966         * math/w_sinhf.c: Likewise.
44967         * math/w_sinhl.c: Likewise.
44968         * math/w_sqrt.c: Likewise.
44969         * math/w_sqrtf.c: Likewise.
44970         * math/w_sqrtl.c: Likewise.
44971         * math/w_tgamma.c: Likewise.
44972         * math/w_tgammaf.c: Likewise.
44973         * math/w_tgammal.c: Likewise.
44975         * po/ja.po: Update from translation team.
44977 2011-09-29  Andreas Jaeger  <aj@suse.de>
44979         [BZ #13179]
44980         * sunrpc/netname.c (netname2host): Fix logic.
44982         [BZ #6779]
44983         [BZ #6783]
44984         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
44985         correctly.
44986         * math/w_remainder.c (__remainder): Likewise.
44987         * math/w_remainderf.c (__remainderf): Likewise.
44988         * math/libm-test.inc (remainder_test): Add test cases.
44990 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44992         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
44993         sdiv_qrnnd.
44995 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
44997         * string/test-memcmp.c: Avoid unncessary #defines.
44998         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45000 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45002         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45003         Use new sse2 version for core i3 - i7 as it's faster
45004         than sse42 version.
45005         (bit_Prefer_PMINUB_for_stringop): New.
45006         * sysdeps/x86_64/rawmemchr.S: Update.
45007         Replace with faster SSE2 version.
45008         * sysdeps/x86_64/memrchr.S: New file.
45009         * sysdeps/x86_64/memchr.S: Update.
45010         Replace with faster SSE2 version.
45012 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
45014         * elf/dl-load.c (lose): Add cast to avoid warning.
45016 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
45018         * po/ca.po: Update from translation team.
45020         * inet/getnetgrent_r.c: Hook up nscd.
45021         * nscd/Makefile (routines): Add nscd_netgroup.
45022         (nscd-modules): Add netgroupcache.
45023         (CFLAGS-netgroupcache.c): Define.
45024         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
45025         (cache_search): Add const to second parameter.
45026         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45027         INNETGR.
45028         (dbs): Add netgrdb entry.
45029         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
45030         (verify_persistent_db): Handle netgrdb.
45031         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
45032         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
45033         GETFDNETGR.
45034         (netgroup_response_header): Define.
45035         (innetgroup_response_header): Define.
45036         (datahead): Add netgroup_response_header and innetgroup_response_header
45037         elements.
45038         * nscd/nscd.conf: Add entries for netgroup cache.
45039         * nscd/nscd.h (dbtype): Add netgrdb.
45040         (_PATH_NSCD_NETGROUP_DB): Define.
45041         (netgroup_iov_disabled): Declare.
45042         (xmalloc, xcalloc, xrealloc): Move declarations here.
45043         (cache_search): Adjust prototype.
45044         Add netgroup-related prototypes.
45045         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45046         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45047         (__nscd_innetgr): Declare.
45048         * nscd/selinux.c (perms): Use access_vector_t as element type and
45049         add netgroup-related initializers.
45050         * nscd/netgroupcache.c: New file.
45051         * nscd/nscd_netgroup.c: New file.
45052         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45053         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45054         For four parameters use innetgr.
45055         * nss/nss_files/files-init.c: Add definition and callback for netgr.
45056         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45057         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45058         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45060         * nscd/connections.c (register_traced_file): Don't register file
45061         for disabled databases.
45063 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
45065         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45067         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45068         from tree and freeing node.
45070 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
45072         * nss/nsswitch.c (__nss_database_lookup): Handle
45073         nss_parse_service_list out of memory case.
45075 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
45077         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45078         out of memory case.
45080 2011-10-04  Andreas Schwab  <schwab@redhat.com>
45082         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45083         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45084         pass it down.
45085         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45086         elf_machine_rela, elf_machine_lazy_rel.
45087         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45088         (ELF_DYNAMIC_DO_REL): Likewise.
45089         (ELF_DYNAMIC_DO_RELA): Likewise.
45090         (ELF_DYNAMIC_RELOCATE): Likewise.
45091         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45092         to ELF_DYNAMIC_DO_REL.
45093         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45094         (dl_main): In trace mode always set __RTLD_NOIFUNC.
45095         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45096         elf_machine_rela.
45097         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45098         skip_ifunc, don't call ifunc function if non-zero.
45099         (elf_machine_rela): Likewise.
45100         (elf_machine_lazy_rel): Likewise.
45101         (elf_machine_lazy_rela): Likewise.
45102         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45103         (elf_machine_lazy_rel): Likewise.
45104         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45105         Likewise.
45106         (elf_machine_lazy_rel): Likewise.
45107         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45108         Likewise.
45109         (elf_machine_lazy_rel): Likewise.
45110         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45111         (elf_machine_lazy_rel): Likewise.
45112         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45113         (elf_machine_lazy_rel): Likewise.
45114         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45115         (elf_machine_lazy_rel): Likewise.
45116         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45117         (elf_machine_lazy_rel): Likewise.
45118         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45119         (elf_machine_lazy_rel): Likewise.
45120         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45121         (elf_machine_lazy_rel): Likewise.
45123 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
45125         * nss/nss_files/files-init.c (_nss_files_init): Use static
45126         initialization for all the *_traced_file variables.
45128 2011-09-28  Andreas Schwab  <schwab@redhat.com>
45130         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45132 2011-09-27  Roland McGrath  <roland@hack.frob.com>
45134         [BZ #13226]
45135         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45137 2011-09-27  Andreas Schwab  <schwab@redhat.com>
45139         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45140         Reread the line before reparsing it.
45142 2011-09-26  Andreas Schwab  <schwab@redhat.com>
45144         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45146 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
45147             Maxim Kuvyrkov  <maxim@codesourcery.com>
45148             Joseph Myers  <joseph@codesourcery.com>
45150         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45151         if needed for __stack_chk_guard.
45153 2011-09-19  Roland McGrath  <roland@hack.frob.com>
45155         * sysdeps/posix/spawni.c (script_execute): Always define it.
45156         It will be optimized away if unused.
45157         (maybe_script_execute): New function.
45158         (__spawni): Call it.
45160         * Makerules: Don't include tls.make.
45161         (config-tls): Always set to thread.
45162         * tls.make.c: File removed.
45164 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
45166         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45167         * config.make.in (CPPFLAGS-config): New substituted variable.
45169 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
45171         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45173         [BZ #13192]
45174         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45175         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45177 2011-09-15  Roland McGrath  <roland@hack.frob.com>
45179         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45180         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45181         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45182         (CALL_FAIL): Likewise.
45183         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45184         (CALL_FAIL): Macro removed.
45185         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45187 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
45189         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
45190         for __FINITE_MATH_ONLY__ == 1.
45192 2011-09-15  Andreas Schwab  <schwab@redhat.com>
45194         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
45195         __ieee754_sqrt instead of sqrt.
45196         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
45197         __ieee754_sqrtf instead of sqrtf.
45198         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
45199         __floorf instead of floorf.
45200         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45201         __floorf, __truncf instead of floorf, truncf.
45203 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
45205         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45207         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45208         __extern_always_inline.
45209         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45210         32-bit.
45212 2011-09-14  Andreas Schwab  <schwab@redhat.com>
45214         * elf/rtld.c (dl_main): Also relocate in dependency order when
45215         doing symbol dependency testing.
45217 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
45219         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45220         Always define `refsym'.
45222 2011-09-13  Andreas Schwab  <schwab@redhat.com>
45224         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45225         (__FD_ELT): Renamed from __FDELT.
45226         * misc/bits/select2.h (__FD_ELT): Likewise.
45227         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45228         __FD_MASK instead of __FDELT, __FDMASK.
45229         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45230         Likewise.
45231         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45232         Likewise.
45234         * elf/Makefile (gen-ldd): Fix pattern.
45236         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45237         (init_tls): Likewise.
45239 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
45241         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45243 2011-09-12  Andreas Schwab  <schwab@redhat.com>
45245         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45246         `struct cmsghdr *' instead of `void *'.
45247         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45248         Likewise.
45250 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
45252         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45253         if non-absolute.
45254         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45255         ldd_rewrite_script.
45257 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
45259         * configure.in: Remove --with-tls option.
45260         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45261         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45262         out in case it is missing.
45263         * sysdeps/ia64/elf/configure.in: Likewise.
45264         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45265         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45266         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45267         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45268         * sysdeps/sh/elf/configure.in: Likewise.
45269         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45270         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45271         * sysdeps/x86_64/elf/configure.in: Likewise.
45272         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45273         * sysdeps/mach/hurd/tls.h: Likewise.
45275         [BZ #13067]
45276         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45278         [BZ #13090]
45279         * configure.in: Fix use of AC_INIT.
45281         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45283 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
45285         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45286         __set_errno.
45287         * malloc/hooks.c: Likewise.
45289         [BZ #11929]
45290         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
45291         variables statically.
45292         (narenas): Initialize.
45293         (list_lock): Initialize.
45294         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
45295         initializtion of main_arena and list_lock.  Small cleanups.
45296         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45297         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
45298         Add initializers to main_arena and mp_.
45299         (malloc_state): Remove pagesize member.  Change all users to use
45300         GLRO(dl_pagesize).
45302         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45303         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
45304         is always initialized.
45306         * malloc/malloc.c: Removed unused configurations and dead code.
45307         * malloc/arena.c: Likewise.
45308         * malloc/hooks.c: Likewise.
45309         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
45311         * include/tls.h: Removed.  USE___THREAD must always be defined.
45312         * bits/libc-tsd.h: Don't handle !USE___THREAD.
45313         * elf/dl-libc.c: Likewise.
45314         * elf/dl-tsd.c: Likewise.
45315         * include/errno.h: Likewise.
45316         * include/netdb.h: Likewise.
45317         * include/resolv.h: Likewise.
45318         * inet/herrno-loc.c: Likewise.
45319         * inet/herrno.c: Likewise.
45320         * malloc/arena.c: Likewise.
45321         * malloc/hooks.c: Likewise.
45322         * malloc/malloc.c: Likewise.
45323         * resolv/res-state.c: Likewise.
45324         * resolv/res_libc.c: Likewise.
45325         * sysdeps/i386/dl-machine.h: Likewise.
45326         * sysdeps/ia64/dl-machine.h: Likewise.
45327         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45328         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45329         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45330         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45331         * sysdeps/sh/dl-machine.h: Likewise.
45332         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45333         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45334         * sysdeps/unix/i386/sysdep.S: Likewise.
45335         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45336         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
45337         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
45338         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45339         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
45340         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45341         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45342         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45343         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45344         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45345         * sysdeps/unix/x86_64/sysdep.S: Likewise.
45346         * sysdeps/x86_64/dl-machine.h: Likewise.
45347         * tls.make.c: Likewise.
45349         * configure.in: Remove --with-__thread option.  Make tests for
45350         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
45351         tls_model attribute fail if no support is available.  Remove
45352         USE_IN_LIBIO.
45353         * Makeconfig: Adjust for dropped configure option.  All features are
45354         now mandatory.
45355         * Makerules: Likewise.
45356         * Versions.def: Likewise.
45357         * argp/argp-fmtstream.c: Likewise.
45358         * argp/argp-fmtstream.h: Likewise.
45359         * argp/argp-help.c: Likewise.
45360         * assert/assert.c: Likewise.
45361         * config.h.in: Likewise.
45362         * config.make.in: Likewise.
45363         * configure: Likewise.
45364         * configure.in: Likewise.
45365         * csu/Versions: Likewise.
45366         * csu/init.c: Likewise.
45367         * elf/tst-audit2.c: Likewise.
45368         * elf/tst-tls10.c: Likewise.
45369         * elf/tst-tls10.h: Likewise.
45370         * elf/tst-tls11.c: Likewise.
45371         * elf/tst-tls12.c: Likewise.
45372         * elf/tst-tls14.c: Likewise.
45373         * elf/tst-tlsmod11.c: Likewise.
45374         * elf/tst-tlsmod12.c: Likewise.
45375         * elf/tst-tlsmod13.c: Likewise.
45376         * elf/tst-tlsmod13a.c: Likewise.
45377         * elf/tst-tlsmod14a.c: Likewise.
45378         * elf/tst-tlsmod15b.c: Likewise.
45379         * elf/tst-tlsmod16a.c: Likewise.
45380         * elf/tst-tlsmod16b.c: Likewise.
45381         * elf/tst-tlsmod7.c: Likewise.
45382         * elf/tst-tlsmod8.c: Likewise.
45383         * elf/tst-tlsmod9.c: Likewise.
45384         * gmon/gmon.c: Likewise.
45385         * grp/fgetgrent_r.c: Likewise.
45386         * grp/putgrent.c: Likewise.
45387         * hurd/fopenport.c: Likewise.
45388         * include/libc-symbols.h: Likewise.
45389         * include/tls.h: Likewise.
45390         * intl/gettextP.h: Likewise.
45391         * intl/loadinfo.h: Likewise.
45392         * locale/global-locale.c: Likewise.
45393         * locale/localeinfo.h: Likewise.
45394         * mach/devstream.c: Likewise.
45395         * malloc/arena.c: Likewise.
45396         * malloc/set-freeres.c: Likewise.
45397         * misc/err.c: Likewise.
45398         * misc/getttyent.c: Likewise.
45399         * misc/mntent_r.c: Likewise.
45400         * posix/getopt.c: Likewise.
45401         * posix/wordexp.c: Likewise.
45402         * pwd/fgetpwent_r.c: Likewise.
45403         * resolv/Versions: Likewise.
45404         * resolv/res_hconf.c: Likewise.
45405         * shadow/fgetspent_r.c: Likewise.
45406         * shadow/putspent.c: Likewise.
45407         * stdio-common/printf_fphex.c: Likewise.
45408         * stdio-common/tmpfile.c: Likewise.
45409         * stdlib/abort.c: Likewise.
45410         * stdlib/fmtmsg.c: Likewise.
45411         * sunrpc/auth_unix.c: Likewise.
45412         * sunrpc/clnt_perr.c: Likewise.
45413         * sunrpc/clnt_tcp.c: Likewise.
45414         * sunrpc/clnt_udp.c: Likewise.
45415         * sunrpc/clnt_unix.c: Likewise.
45416         * sunrpc/openchild.c: Likewise.
45417         * sunrpc/svc_simple.c: Likewise.
45418         * sunrpc/svc_tcp.c: Likewise.
45419         * sunrpc/svc_udp.c: Likewise.
45420         * sunrpc/svc_unix.c: Likewise.
45421         * sunrpc/xdr.c: Likewise.
45422         * sunrpc/xdr_array.c: Likewise.
45423         * sunrpc/xdr_rec.c: Likewise.
45424         * sunrpc/xdr_ref.c: Likewise.
45425         * sunrpc/xdr_stdio.c: Likewise.
45427 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45429         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45431 2011-07-03  Andreas Jaeger  <aj@suse.de>
45433         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45434         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45435         regenerate with gen-libm-tests.pl.
45437 2010-05-12  Petr Baudis  <pasky@suse.cz>
45439         [BZ #11589]
45440         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45441         around j0() zero points by switching to j1().
45442         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45443         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45444         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45445         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45447 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45449         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45450         instead of 0.
45451         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
45452         instead of 0.
45453         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45454         Patch in part by Pavel Roskin <proski@gnu.org>.
45456         [BZ #13138]
45457         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45458         realloc.
45459         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
45460         Free memory block if necessary.
45462         [BZ #12847]
45463         * libio/genops.c (INTDEF): For string streams the _lock pointer can
45464         be NULL.  Don't lock in this case.
45466 2011-09-09  Roland McGrath  <roland@hack.frob.com>
45468         * elf/elf.h (ELFOSABI_GNU): New macro.
45469         (ELFOSABI_LINUX): Define to that.
45471 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
45473         * string/strncat.c (strncat): Undef the symbol in case it has been
45474         defined in bits/string.h.
45476 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45478         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45480         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
45481         link map.
45483 2011-08-17  Andreas Jaeger  <aj@suse.de>
45485         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45487 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
45488             Ian Lance Taylor  <iant@google.com>
45490         * math/libm-test.inc (lround_test): New testcase.
45491         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45493 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
45495         * Makefile: Remove support for automatic cvs check-ins.
45496         * Makerules: Likewise.
45497         * config.make.in: Likewise.
45498         * configure.in: Likewise.
45499         * intl/Makefile: Likewise.
45500         * locale/Makefile: Likewise.
45501         * po/Makefile: Likewise.
45502         * posix/Makefile: Likewise.
45503         * sysdeps/gnu/Makefile: Likewise.
45504         * sysdeps/mach/hurd/Makefile: Likewise.
45505         * sysdeps/sparc/sparc32/Makefile: Likewise.
45507         [BZ #13118]
45508         * posix/Makefile (bug-regex32-ENV): Define.
45509         Patch by John Stanley <jpsinthemix@verizon.net>.
45511         * misc/Makefile (headers): Add bits/select2.h.
45512         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45513         * misc/bits/select2.h: New file.
45514         * include/bits/select2.h: New file.
45515         * debug/Makefile (routines): Add fdelt_chk.
45516         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45517         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45518         FD_ISSET.
45519         * debug/fdelt_chk.c: New file.
45521         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
45522         * wcsmbs/test-wmemcmp.c: Likewise.
45523         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
45524         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
45526 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45528         * string/Makefile (strop-tests): Add memcmp.
45529         * string/test-wmemcmp.c: New file.
45530         * string/test-memcmp.c: Add wmemcmp support.
45532 2011-09-08  Roland McGrath  <roland@hack.frob.com>
45534         [BZ #13153]
45535         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
45536         2011-07-19 change.
45538         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
45539         garbage value in a __mach_port_mod_refs call in the cases of the
45540         task-self and thread-self ports.
45542 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45544         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
45546 2011-09-08  Andreas Schwab  <schwab@redhat.com>
45548         * elf/dl-load.c (lose): Check for non-null L.
45550 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
45552         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
45554         * elf/dl-libc.c (dlerror_run): Pass back error code from
45555         dl_catch_error.
45557         [BZ #13123]
45558         * elf/dl-load.c (lose): Free l_origin if it is valid.
45560         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
45561         names.
45562         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
45563         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45564         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45565         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45566         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
45567         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
45569 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45571         * sysdeps/powerpc/fpu/e_hypot.c: New file.
45572         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
45573         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
45574         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
45575         * sysdeps/powerpc/fpu/k_cosf.c: New file.
45576         * sysdeps/powerpc/fpu/k_sinf.c: New file.
45577         * sysdeps/powerpc/fpu/s_cosf.c: New file.
45578         * sysdeps/powerpc/fpu/s_sinf.c: New file.
45579         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
45580         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
45582 2011-08-15  Alan Modra  <amodra@gmail.com>
45584         [BZ #13092]
45585         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
45586         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
45587         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
45588         ppc_mcount to static-only-routines.
45589         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
45590         __mcount_internal.
45591         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
45592         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
45594 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
45596         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
45597         for finite and infinity parameters.
45599 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
45601         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
45602         and add nop instructions for throughput optimization.
45603         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45605 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
45607         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
45608         aligned copy for power7 with vector-scalar instructions.
45609         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45611 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
45613         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
45614         AVX check.
45616 2011-09-07  Andreas Schwab  <schwab@redhat.com>
45618         [BZ #13144]
45619         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
45620         last change.
45622 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
45624         * sysdeps/unix/sysv/linux/x86_64/init-first.c
45625         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
45626         syscall wrapper around clock_gettime in __vdso_clock_gettime.
45627         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
45628         clock_gettime.
45630 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
45632         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
45633         Forgot to demangle the pointer.
45635         * sysdeps/i386/sysdep.h: Define atom_text_section.
45636         * sysdeps/x86_64/sysdep.h: Likewise.
45637         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
45638         section with atom_text_section.
45639         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45640         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45641         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
45642         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45643         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
45645         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
45646         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
45647         already be defined.  Change to take two parameters and don't assign
45648         result to variable.  Adjust all users.
45649         Define INTERNAL_GETTIME if not already defined.
45650         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
45651         call.
45652         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
45653         HAVE_CLOCK_GETTIME_VSYSCALL.
45654         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
45656         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
45657         gettimeofday vsyscall, just use time.
45659 2011-09-06  Andreas Schwab  <schwab@redhat.com>
45661         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
45662         <errno.h>.
45664 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
45666         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
45667         syscall on x86-64.
45668         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
45669         syscall.
45670         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
45671         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
45672         syscall if possible.
45674 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
45676         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
45677         e_ident.  Don't pass to find_mapsXX.
45678         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
45680 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45682         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45683         strchr-sse2-no-bsf strrchr-sse2-no-bsf
45684         * sysdeps/x86_64/multiarch/strchr.S: Update.
45685         Check bit_slow_BSF bit.
45686         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45687         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
45688         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
45690 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
45692         [BZ #13134]
45693         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
45694         before glibc 2.15.
45695         (tryshell): Define.
45696         (__spawni): Change last parameter to be flag.  Test
45697         SPAWN_XFLAGS_USE_PATH flag to use path or not.
45698         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
45699         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
45700         * posix/spawni.c: Likewise.
45701         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
45702         * posix/spawnp.c: Likewise.  Change normal version to use
45703         SPAWN_XFLAGS_USE_PATH.
45704         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
45705         SPAWN_XFLAGS_TRY_SHELL.
45707         [BZ #13150]
45708         * posix/glob.h: Remove gcc 1.x support.
45710         [BZ #13068]
45711         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
45713 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45715         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45716         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
45717         strrchr-sse2-bsf
45718         * sysdeps/i386/i686/multiarch/strchr.S: New file.
45719         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
45720         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
45721         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
45722         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
45723         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
45725 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45727         * sysdeps/x86_64/wcscmp.S: New file.
45729         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
45730         wcscmp-c wcscmp-sse2
45731         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
45732         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
45733         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
45734         * wcsmbs/wcscmp.c: Allow renaming.
45736 2011-09-05  David S. Miller  <davem@davemloft.net>
45738         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
45739         stack slot, rather than the struct return pointer slot.
45740         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
45741         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
45742         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
45743         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
45745 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
45747         * po/ja.po: Update from translation team.
45749         [BZ #13144]
45750         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
45751         kernel in 64-bit binaries.
45753 2011-09-01  David S. Miller  <davem@davemloft.net>
45755         * elf/elf.h (HWCAP_SPARC_*): Move to..
45756         * sysdeps/sparc/sysdep.h: this new file and add new values.
45757         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
45758         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
45759         _DL_HWCAP_COUNT to 24.
45760         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45761         entries.
45762         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
45763         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
45764         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
45765         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
45766         instead of magic constants.
45767         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45769 2011-08-31  David S. Miller  <davem@davemloft.net>
45771         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
45772         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
45773         Reimplement to do errno handling inline.
45774         (SYSCALL_ERROR_HANDLER): New macro.
45775         (__SYSCALL_STRING): Do not do errno handling in asm.
45776         (__CLONE_SYSCALL_STRING): Delete.
45777         (__INTERNAL_SYSCALL_STRING): Delete.
45778         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
45779         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
45780         (PSEUDO): Reimplement to do errno handling inline.
45781         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
45782         (SYSCALL_ERROR_HANDLER): New macro.
45783         (__SYSCALL_STRING): Do not do errno handling in asm.
45784         (__CLONE_SYSCALL_STRING): Delete.
45785         (__INTERNAL_SYSCALL_STRING): Delete.
45786         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45787         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45788         i386.
45789         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45790         (inline_syscall*): Add 'err' argument.
45791         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45792         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45793         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45794         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45796         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45797         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45799 2011-08-30  Andreas Schwab  <schwab@redhat.com>
45801         * elf/rtld.c (dl_main): Relocate objects in dependency order.
45803 2011-08-29  Jiri Olsa <jolsa@redhat.com>
45805         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45806         directive.
45808 2011-08-24  David S. Miller  <davem@davemloft.net>
45810         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45812 2011-08-24  Andreas Schwab  <schwab@redhat.com>
45814         * elf/Makefile: Add rules to build and run unload8 test.
45815         * elf/unload8.c: New file.
45816         * elf/unload8mod1.c: New file.
45817         * elf/unload8mod1x.c: New file.
45818         * elf/unload8mod2.c: New file.
45819         * elf/unload8mod3.c: New file.
45821         * elf/dl-close.c (_dl_close_worker): Reset private search list if
45822         it wasn't used.
45824 2011-08-23  David S. Miller  <davem@davemloft.net>
45826         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45827         subtract stack bias.
45828         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45829         %sp not %fp in calculations.
45830         (_JMPBUF_UNWINDS_ADJ): Likewise.
45832         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45833         (aio_suspend): Call it to force an exception region around the
45834         AIO_MISC_WAIT() invocation.
45836 2011-08-23  Andreas Schwab  <schwab@redhat.com>
45838         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45839         backslash.
45841 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
45843         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45844         protection macro.
45845         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45846         and <dl-machine.h>.
45847         (Elf64_FuncDesc): Remove.
45849 2011-08-22  David S. Miller  <davem@davemloft.net>
45851         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45852         sigaltstack check, add missing cfi directives.
45853         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45854         missing cfi directives, and sigaltstack handling.
45856 2011-08-16  Andreas Schwab  <schwab@redhat.com>
45858         [BZ #11724]
45859         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45860         object is seen twice.
45861         * elf/dl-fini.c (_dl_sort_fini): Likewise.
45863         * elf/Makefile (distribute): Add tst-initorder2.c.
45864         (tests): Add tst-initorder2.
45865         (modules-names): Add tst-initorder2a tst-initorder2b
45866         tst-initorder2c tst-initorder2d.  Add rules to build them.
45867         ($(objpfx)tst-initorder2.out): New rule.
45868         * elf/tst-initorder2.c: New file.
45869         * elf/tst-initorder2.exp: New file.
45871 2011-08-22  Andreas Schwab  <schwab@redhat.com>
45873         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45875         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45876         dependencies back to end of function.
45878         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45879         $(elfobjdir)/ld.so.
45881 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
45883         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45884         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45885         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45886         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45887         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45888         of __vdso_gettimeofday.
45889         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45890         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
45891         attribute_hidden.
45892         (_libc_vdso_platform_setup): Remove initialization of
45893         __vdso_gettimeofday and __vdso_time.
45895 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
45897         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
45898         and fgetc_unlocked.
45899         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
45900         getc_unlocked.
45902         * elf/dl-open.c (add_to_global): Report additions to the global scope
45903         for LD_DEBUG=scopes.
45904         (dl_open_worker): Also print scope of newly loaded dependencies.
45905         (_dl_show_scope): Indicate if there is no scope.
45907         [BZ #13114]
45908         * stdio-common/Makefile (tests): Add bug24.
45909         * stdio-common/bug24.c: New file.
45911 2011-08-19  Andreas Jaeger  <aj@suse.de>
45913         [BZ #13114]
45914         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
45915         non-existant file when using close-on-exec mode.
45917 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
45919         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
45920         the very first instruction.
45922         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
45923         the CFI state in the end.
45924         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
45925         inclusion of dl-trampoline.h.
45926         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
45928 2011-08-19  Andreas Schwab  <schwab@redhat.com>
45930         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
45931         expectations for long double.
45933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
45934         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
45936 2011-08-14  David S. Miller  <davem@davemloft.net>
45938         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
45939         artificual limit depends upon the system page size.
45941 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
45943         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
45944         * resolv/Makefile: Define CFLAGS-libresolv.
45946 2011-08-17  Andreas Schwab  <schwab@redhat.com>
45948         * nss/makedb.c (compute_tables): Make variables used in nested
45949         function static.
45951 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
45953         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
45954         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
45955         if buffer was too small.
45957         * elf/pldd.c (main): Attach to all threads in the process.
45958         Rewrite /proc handling to use *at functions.
45960 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
45962         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
45963         specifies first scope to show.
45964         (dl_open_worker): Update callers.  Move printing scope of new
45965         object to before the relocation.
45966         * elf/rtld.c (dl_main): Update _dl_show_scope call.
45967         * sysdeps/generic/ldsodefs.h: Update declaration.
45969         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
45970         string for the scope number.
45972 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
45974         * nscd/servicescache.c (cache_addserv): Make sure written is always
45975         initialized.
45977 2011-08-14  Roland McGrath  <roland@hack.frob.com>
45979         * sysdeps/i386/i486/bits/atomic.h
45980         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
45981         statement expression, so as to suppress "set but not used" warning.
45982         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
45984         * string/strncat.c (STRNCAT): Use prototype definition.
45986         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
45987         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
45988         -Iprograms here.
45989         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
45990         (localedef-modules): Add localedef.
45991         (locale-modules): Add locale.
45993         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
45994         * elf/rtld.c (dl_main): Invert order of assignment in last change,
45995         to avoid a warning.
45997 2011-08-14  David S. Miller  <davem@davemloft.net>
45999         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46000         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46002 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
46004         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
46005         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
46006         * elf/rtld.c (dl_main): Set l_name of vDSO.
46007         Call _dl_show_scope when DL_DEBUG_SCOPES.
46008         (process_dl_debug): Recognize scopes flag and also set it for all.
46009         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
46010         Declare _dl_show_scope.
46012         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
46013         (do_dlopen): Pass caller_dlopen to dl_open.
46014         (__libc_dlopen_mode): Initialize caller_dlopen.
46016         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
46017         of libc.  Make tolower call locale-independent.  Optimize a bit by
46018         using isdigit instead of isalnum.
46019         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
46021 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
46023         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
46024         was a dependency or dynamically loaded.
46026 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
46028         * intl/l10nflist.c: Allow architecture-specific pop function.
46029         * sysdeps/x86_64/l10nflist.c: New file.
46031         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
46032         classification.
46034 2011-08-10  Andreas Schwab  <schwab@redhat.com>
46036         * include/dirent.h: Add libc_hidden_proto for scandirat and
46037         scandirat64.  Don't declare __scandirat64.
46038         * dirent/scandirat.c: Add libc_hidden_def.
46039         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
46040         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
46042 2011-08-10  David S. Miller  <davem@davemloft.net>
46044         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46045         enum.
46046         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46047         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46048         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46050 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
46052         * Versions.def [libc]: Add GLIBC_2.15.
46053         * dirent/Makefile (routines): Add scandirat and scandirat64.
46054         * dirent/Versions [libc]: Export scandirat and scandirat64 for
46055         GLIBC_2.15.
46056         * dirent/dirent.h: Declare scandirat and scandirat64.
46057         * dirent/scandirat.c: New file.
46058         * dirent/scandirat64.c: New file.
46059         * sysdeps/wordsize-64/scandirat.c: New file.
46060         * sysdeps/wordsize-64/scandirat64.c: New file.
46061         * dirent/opendir.c: Define opendirat.
46062         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
46063         using scandirat.
46064         * dirent/scandir64.c: Adjust for scandir.c change.
46065         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
46066         __scandirat64, and __scandir_cancel_handler.
46067         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
46068         additional parameter and use openat instead of open (outside of ld.so).
46069         Add new __opendir as wrapper around __opendirat.
46070         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
46071         here without requiring old scandirat implementation.
46073 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
46075         * dirent/scandir.c (cancel_handler): Renamed to
46076         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
46077         defined.  Adjust users.
46078         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46079         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46081 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
46083         * string/test-string.h (IMPL): Use __STRING to expand name and then
46084         stringify it.
46086         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
46087         of cleanups.
46089 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46091         * string/Makefile: Update.
46092         (strop-tests): Append strncat.
46093         * string/test-wcscmp.c: New file.
46094         New comprehensive test for wcscmp.
46095         * string/test-strcmp.c: Update.
46096         (WIDE): New define.
46098 2011-07-22  Andreas Schwab  <schwab@redhat.com>
46100         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46101         line.
46103 2011-07-26  Andreas Schwab  <schwab@redhat.com>
46105         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46106         encoding to ACE if AI_IDN.
46108 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
46110         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46111         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46113 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46115         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46116         Fix overflow bug in strncat.
46117         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46119         * string/test-strncat.c: Update.
46120         Add new tests for checking overflow bugs.
46122 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46124         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46125         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46126         * sysdeps/i386/i686/multiarch/strcat.S: New file.
46127         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46128         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46129         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46130         * sysdeps/i386/i686/multiarch/strncat.S: New file.
46131         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46132         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46134         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46135         (USE_AS_STRCAT): Define.
46136         Add strcat and strncat support.
46137         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46139 2011-07-25  Andreas Schwab  <schwab@redhat.com>
46141         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46142         __n bigger than INT_MAX+1.
46143         (__strncmp_g): Likewise.
46145 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
46147         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46148         * libio/stido.h: Likewise.
46150         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46151         (AF_NFC): Define.
46152         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46153         (AF_NFC): Define.
46155         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46156         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46157         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46158         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46159         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46161         [BZ #13021]
46162         * scripts/test-installation.pl: Don't expect libnss_test1 to be
46163         installed.
46165         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46166         typo.
46167         (_dl_x86_64_save_sse): Likewise.
46169 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
46171         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46172         OSXSAVE.
46173         (_dl_x86_64_save_sse): Likewise.
46175         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46177         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46179 2011-07-21  Andreas Schwab  <schwab@redhat.com>
46181         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46182         change.
46183         (_dl_x86_64_save_sse): Use correct AVX check.
46185 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46187         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
46188         bug in strncpy/strncat.
46189         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
46191 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
46193         * string/tester.c (test_strcat): Add tests for different alignments
46194         of source and destination.
46195         (test_strncat): Likewise.
46197 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
46199         [BZ #12852]
46200         * posix/glob.c (glob): Check passed in values before using them in
46201         expressions to avoid some overflows.
46202         (glob_in_dir): Likewise.
46204         [BZ #13007]
46205         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46206         check for AVX enablement so that we don't crash with old kernels and
46207         new hardware.
46208         * elf/tst-audit4.c: Add same checks here.
46209         * elf/tst-audit6.c: Likewise.
46211         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
46213 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
46215         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46217 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
46219         * po/cs.po: Update from translation team.
46220         * po/bg.po: Likewise.
46222 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
46224         * misc/sys/cdefs.h: Add support for const attribute.
46225         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46226         to gnu_dev_{major,minor,makedev} functions.
46228 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
46230         * intl/dcigettext.c (get_output_charset): Add missing bracket.
46232 2011-07-20  Andreas Schwab  <schwab@redhat.com>
46234         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46235         strlen results.
46237 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46239         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46240         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46241         register in order to avoid conflicts with the soft frame pointer
46242         being held in r11 when necessary.
46243         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46244         (INTERNAL_VSYSCALL_NCS): Likewise.
46246 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
46248         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46249         * elf/dl-fini.c (_dl_fini): Adjust caller.
46250         * elf/dl-close.c (_dl_close_worker): Likewise.
46251         * sysdeps/generic/ldsodefs.h: Adjust declaration.
46253 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
46255         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46256         "aux_cache->nlibs < 0".
46258         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46259         in the reload-count case.
46261 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46263         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46264         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46265         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46266         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46267         * sysdeps/x86_64/multiarch/strcat.S: New file.
46268         * sysdeps/x86_64/multiarch/strncat.S: New file.
46269         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46270         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46271         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46272         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46273         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46274         (USE_AS_STRCAT): Define.
46275         Add strcat and strncat support.
46276         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46277         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46278         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46279         * string/strncat.c: Update.
46280         (USE_AS_STRNCAT): Define.
46281         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46282         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46283         and i7.
46284         * sysdeps/x86_64/multiarch/init-arch.h
46285         (bit_Prefer_PMINUB_for_stringop): New.
46286         (index_Prefer_PMINUB_for_stringop): Likewise.
46287         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46288         bit_Prefer_PMINUB_for_stringop.
46290 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
46292         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46293         buffer64.
46294         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46295         of casting of buffer.
46296         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46297         buffer32 and buffer64.
46298         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46299         writes instead of casting of buffer.
46300         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46301         buffer32.
46302         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46303         casting of buffer.
46305 2011-07-19  Andreas Schwab  <schwab@redhat.com>
46307         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46309 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
46311         * nscd/nscd.c (termination_handler): Don't do anything for a database
46312         if it has not yet been initialized.
46314 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
46316         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46318 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
46320         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46322 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
46324         * po/nl.po: Update from translation team.
46325         * po/sv.po: Likewise.
46327 2011-07-16  Roland McGrath  <roland@hack.frob.com>
46329         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
46330         now disallowed by GCC.
46332         * configure.in (use-default-link): Default to yes if a test -shared
46333         link meets our qualifications.
46334         * configure: Regenerated.
46336         * config.make.in (output-format): New variable.
46337         * configure.in: Check for ld --print-output-format support.
46338         * configure: Regenerated.
46339         * Makerules ($(common-objpfx)format.lds)
46340         [$(output-format) != unknown]: Just use $(output-format),
46341         instead of the linker-script munging.
46343 2011-07-14  Roland McGrath  <roland@hack.frob.com>
46345         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
46346         of $(common-objpfx)shlib.lds.
46347         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
46349         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
46350         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
46352         * configure.in (-z relro check): Adjust test code to add a large
46353         writable data section after it.
46354         * configure: Regenerated.
46356 2011-07-11  Roland McGrath  <roland@hack.frob.com>
46358         * configure.in (-z relro check): Fix test code to make the variable
46359         truly const.
46360         * configure: Regenerated.
46362 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
46364         * nscd/nscd.h (struct traced_file): Define.
46365         (struct database_dyn): Remove inotify_descr, reset_res, and filename
46366         elements.  Add traced_files.
46367         (inotify_fd): Declare.
46368         (register_traced_file): Declare.
46369         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
46370         (inotify_fd): Export.
46371         (resolv_conf_descr): Remove.
46372         (nscd_init): Move inotify descriptor creation to main.
46373         Don't register files for notification here.
46374         (register_traced_file): New function.
46375         (invalidate_cache): Don't use reset_res to determine whether to call
46376         res_init, go through the list of registered files.
46377         (main_loop_poll): The inotify descriptors are now stored in the
46378         structures for the traced files.
46379         (main_loop_epoll): Likewise
46380         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
46381         to __nss_disable_nscd.
46382         * nscd/cache.c (prune_cache): There is no single inotify descriptor
46383         for a database anymore.  Check the records for all the registered
46384         files instead.
46385         * nss/Makefile (libnss_files-routines): Add files-init.
46386         (libnss_db-routines): Add db-init.
46387         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
46388         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
46389         * nss/nss_db/db-init.c: New file.
46390         * nss/nss_files/files-init.c: New file.
46391         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
46392         __nss_lookup_function.
46393         (__nss_lookup_function): Call nss_load_library.
46394         (nss_load_all_libraries): New function.
46395         (__nss_disable_nscd): Take parameter with callback function for files
46396         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
46397         used for the cached services.
46398         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46399         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46400         options for features to all the files in nscd.
46402         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46404 2011-07-10  Roland McGrath  <roland@hack.frob.com>
46406         * csu/elf-init.c (__libc_csu_init): Comment typo.
46408 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
46410         * po/pl.po: Update from translation team.
46411         * po/ja.po: Likewise.
46412         * po/ru.po: Likewise.
46413         * po/ko.po: Likewise.
46414         * po/fr.po: Likewise.
46416 2011-07-09  Roland McGrath  <roland@hack.frob.com>
46418         * configure.in (.ctors/.dtors header and trailer check):
46419         Use an empirical test on a built program.
46420         * configure: Regenerated.
46422         * configure.in (-z relro check): Use an empirical test on a built DSO.
46423         Detect, but do not require, on ia64.
46424         * configure: Regenerated.
46426         * configure.in (READELF): Find it with AC_CHECK_TOOL.
46427         Update tests that use readelf to use $READELF instead.
46428         * configure: Regenerated.
46430 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
46432         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46433         if the result is not used.
46435 2011-07-05  Andreas Jaeger  <aj@suse.de>
46437         [BZ#9696]
46438         * stdlib/tst-strtod.c: Add testcase.
46440 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
46442         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46443         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
46444         The latter has a higher limit.  Take additional parameter to pass to
46445         the new function.
46446         (__pathconf): Pass file to __statfs_link_max.
46447         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46448         __statfs_link_max.
46449         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46450         __statfs_link_max.
46452         [BZ #12868]
46453         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46454         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46455         Handle Lustre.
46456         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46457         (__statfs_filesize_max): Likewise.
46458         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46460 2011-07-05  Andreas Jaeger  <aj@suse.de>
46462         * resolv/res_comp.c (dn_skipname): Remove unused variable.
46464 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
46466         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46467         `status' variable.
46468         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46469         Likewise.
46471 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
46473         * Makefile (strop-tests): Add strncat.
46474         * string/test-strncat.c: New file.
46476 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
46478         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46480 2011-06-21  Andreas Jaeger  <aj@suse.de>
46482         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46483         Copy rule from iconvdata/Makefile.
46485 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
46487         [BZ #12922]
46488         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46489         but no long options are defined, just return 'W'.
46491 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
46493         [BZ #9696]
46494         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46496 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
46498         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46499         netgroups to read.
46500         (innetgr): Likewise.
46502 2011-07-05  Roland McGrath  <roland@hack.frob.com>
46504         * config.make.in (install_root): Default to $(DESTDIR).
46506 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
46508         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46510 2011-07-02  Roland McGrath  <roland@hack.frob.com>
46512         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46514         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46515         containing directory rather than embedding absolute directory names.
46517         * scripts/check-local-headers.sh: Rewritten using awk.
46518         Match by word, not by line.  Print error messages for matches.
46519         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46521         * Makerules [shlib-lds-flags empty]:
46522         ($(common-objpfx)libc_pic.opts): New target.
46523         ($(common-objpfx)libc_pic.os.clean): New target.
46524         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
46526         * config.make.in (OBJCOPY): New variable.
46527         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
46528         * configure: Regenerated.
46530         * config.make.in (use-default-link): New variable.
46531         * configure.in (use_default_link): Grok --with-default-link to set it.
46532         * configure: Regenerated.
46533         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
46534         (shlib-lds, shlib-lds-flags): Define to empty.
46536         * Makerules (shlib-lds): New variable.
46537         (shlib-lds-flags): New variable.
46538         (build-shlib, build-moduile, build-module-asneeded): Use it.
46539         ($(common-objpfx)libc.so): Use $(shlib-lds).
46540         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
46541         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
46543         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
46544         DT_FLAGS/DT_FLAGS_1 with zero flags.
46546         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
46547         linker script munging.
46549 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
46551         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
46552         as 128-bit value.
46553         * crypt/sha512.c (sha512_process_block): Perform total addition using
46554         128-bit if possible.
46555         (__sha512_finish_ctx): Likewise.
46556         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
46557         as 64-bit value.
46558         * crypt/sha256.c (SWAP64): Define.
46559         (sha256_process_block): Perform total addition using 64-bit if
46560         possible.
46561         (__sha256_finish_ctx): Likewise.
46563 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
46565         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
46566         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46567         * nscd/hstcache.c (cache_addhst): Likewise.
46568         * nscd/grpcache.c (cache_addgr): Likewise.
46569         * nscd/aicache.c (addhstaiX): Likewise
46570         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
46572 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
46574         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
46575         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46576         * nscd/hstcache.c (cache_addhst): Likewise.
46577         * nscd/grpcache.c (cache_addgr): Likewise.
46578         * nscd/aicache.c (addhstaiX): Likewise
46580 2011-07-01  Andreas Schwab  <schwab@redhat.com>
46582         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
46583         domain only when needed.
46585 2011-06-30  Andreas Schwab  <schwab@redhat.com>
46587         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
46588         is always restored.
46590 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
46592         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
46593         are re-adding the entry.
46594         * nscd/servicescache.c (cache_addserv): Likewise.
46596 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
46598         * sysdeps/generic/dl-irel.h: fix protection against multiple
46599         inclusions.
46600         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
46602 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
46604         [BZ #12935]
46605         * malloc/memusage.sh: Fix quoting in message.
46606         * debug/xtrace.sh: Likewise.
46608         * configure.in: Remove support for --experimental-malloc option, make
46609         it the default.
46610         * config.make.in: Likewise.
46611         * malloc/Makefile: Likewise.
46613 2011-06-27  Andreas Schwab  <schwab@redhat.com>
46615         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
46616         two-byte characters.
46618 2011-06-27  Roland McGrath  <roland@hack.frob.com>
46620         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
46621         AC_CACHE_CHECK invocation.
46622         * configure: Regenerated.
46624         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
46626 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
46628         [BZ #12350]
46629         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
46630         bit from old_res_options.
46632         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
46634         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
46635         value type for setfct.
46637 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
46639         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46640         __gettimeofday instead of gettimeofday.
46642 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
46644         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
46646 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
46648         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
46650         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
46651         info.
46653 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
46655         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46656         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46657         strcpy-sse2-unaligned strncpy-sse2-unaligned
46658         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
46659         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
46660         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
46661         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
46662         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
46663         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
46664         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
46665         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
46666         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
46667         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
46668         (STRCPY): Support SSE2 and SSSE3 versions.
46670 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
46672         [BZ #12874]
46673         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
46674         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
46675         kernels which artificially limit size of requests.
46677 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
46679         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46680         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46681         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
46682         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
46683         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
46684         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
46685         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
46686         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
46687         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
46688         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
46689         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
46690         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
46691         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
46692         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
46693         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
46694         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46695         Enable unaligned load optimization for Intel Core i3, i5 and i7
46696         processors.
46697         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
46698         Define.
46699         (index_Fast_Unaligned_Load): Define.
46700         (HAS_FAST_UNALIGNED_LOAD): Define.
46702 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
46704         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
46706 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
46708         [BZ #12907]
46709         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
46710         until it is clear that the information is realy needed.
46711         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
46713 2011-06-22  Andreas Schwab  <schwab@redhat.com>
46715         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
46717 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
46719         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46720         /sys/devices/system/cpu/online if it is usable.
46722         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
46723         reading the information from the /proc filesystem to once a second.
46725 2011-06-21  Andreas Jaeger  <aj@suse.de>
46727         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
46728         NULL after inclusion of kernel headers.
46730 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
46732         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
46733         calls to internal_setent.
46735         [BZ #12885]
46736         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
46737         addresses using gethostbyname4_r ignore IPv4 addresses.
46739         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
46740         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
46742         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
46744 2011-06-20  David S. Miller  <davem@davemloft.net>
46746         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
46747         inclusions.
46748         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
46750         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
46751         (elf_irel): Use it.
46752         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
46753         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
46754         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
46755         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
46756         * sysdeps/x86_64/dl-irel.h: Likewise.
46758         * elf/dl-runtime.c: Use elf_ifunc_invoke.
46759         * elf/dl-sym.c: Likewise.
46761 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
46763         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
46764         need to dereference resplen2.
46766 2011-06-14  Andreas Schwab  <schwab@redhat.com>
46768         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
46770 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
46772         * Makeconfig: Define vardbdir and inst_vardbdir.
46773         * nss/Makefile: Add rules to install db-Makefile.
46775         * nss/nss_db/db-XXX.c: Cleanup.
46777         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
46778         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
46779         GLIBC_PRIVATE.
46780         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
46781         * nss/makedb.c: Implement -g option to specify that value strings
46782         are generated and should not be added to table iterated over for
46783         get*ent calls.
46784         * nss/nss_db/db-initgroups.c: New file.
46786         * nss/getent.c: Add support for initgroups lookups through getgrouplist
46787         interface.
46789         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46790         (internal_getgrouplist): Adjust to name change.
46791         Update use_initgroups_entry if this is not the first call.
46792         * nss/databases.def: Add initgroups entry.
46794         * nss/makedb.c (compute_tables): Check result of multiple hash table
46795         sizes to minimize maximum chain length.
46797 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
46799         * Versions.def: Add entry for libnss_db.
46800         * shlib-versions: Likewise.
46801         * nss/Makefile: Add rules to build libnss_db.
46802         * nss/Versions: Add libnss_db information.  Organize libnss_files
46803         entries better.
46804         * nss/db-Makefile: Add gshadow support.  Change rules for the new
46805         makedb progra.  Some minor improvements to generate smaller files.
46806         * nss/nss_db/nss_db.h: Move NSS database header data structures to
46807         here from...
46808         * nss/makedb.c: ...here.
46809         Improve database format to be smaller and require less memory at
46810         runtime.
46811         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
46812         db anymore.
46813         * nss/nss_db/db-netgrp.c: Likewise.
46814         * nss/nss_db/db-open.c: Likewise.
46815         * nss/nss_files/flies-XXX.x: Adjust comments.
46816         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46817         * nss/nss_files/files-grp.c: Likewise.
46818         * nss/nss_files/files-hosts.c: Likewise.
46819         * nss/nss_files/files-network.c: Likewise.
46820         * nss/nss_files/files-proto.c: Likewise.
46821         * nss/nss_files/files-pwd.c: Likewise.
46822         * nss/nss_files/files-rpc.c: Likewise.
46823         * nss/nss_files/files-service.c: Likewise.
46824         * nss/nss_files/files-sgrp.c: Likewise.
46825         * nss/nss_files/files-spwd.c: Likewise.
46826         * nss/nss_db/db-alias.c: Removed.
46827         * nss/nss_db/dummy-db.h: Removed.
46829 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
46831         * nss/makedb.c: Rewritten to not use database library.
46832         * nss/Makefile: Update to build new makedb program.
46834 2011-06-14  Andreas Jaeger  <aj@suse.de>
46836         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46837         memset declaration.
46839 2011-06-10  Andreas Schwab  <schwab@redhat.com>
46841         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46842         tmpbuf.
46844 2011-06-10  Roland McGrath  <roland@hack.frob.com>
46846         * Makerules (shlib.lds): Fail if the linker script comes out empty.
46847         * elf/Makefile ($(objpfx)ld.so): Likewise.
46849         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46850         Don't list ld.so twice in dependencies.
46852         * posix/bug-regex31.c: Include <stdlib.h>.
46854         * nscd/hstcache.c (cache_addhst): Remove unused variable.
46856         * nis/nss_compat/compat-spwd.c
46857         (getspent_next_nss_netgr): Remove unused variable.
46858         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46860         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46861         nonmembers" output to use the right array.
46863         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46865         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46867         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46868         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46869         * catgets/gencat.c (read_input_file): Likewise.
46870         * locale/programs/locarchive.c (enlarge_archive): Likewise.
46872         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46873         variable definition inside #if's controlling its use.
46875         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46877         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46879         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46881         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46882         unreachable code.
46884         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46886         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46887         * configure: Regenerated.
46889         * Makerules: Revert last change.
46890         * elf/Makefile: Likewise.
46892 2011-06-09  Roland McGrath  <roland@hack.frob.com>
46894         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46895         * elf/Makefile ($(objpfx)librtld.os): Likewise.
46896         (reloc-link): Likewise.
46898 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
46900         * elf/Makefile: Add rules to build pldd.
46901         * elf/pldd.c: New file.
46902         * elf/pldd-xx.c: New file.
46904 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
46906         * version.h: Update for 2.15 development version.
46908 2011-06-07  David S. Miller  <davem@davemloft.net>
46910         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
46911         ifuncs.
46912         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
46913         elf_machine_lazy_rel): Likewise.
46914         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46915         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
46916         elf_machine_lazy_rel): Likewise.
46917         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
46918         dl_hwcap via passed in argument.
46919         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
46920         Likewise.
46922 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46924         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
46926 2011-06-06  Roland McGrath  <roland@hack.frob.com>
46928         [BZ #12849]
46929         * manual/fdl-1.1.texi: New file, verbatim from:
46930         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
46931         * manual/lgpl-2.1.texi: New file, verbatim from:
46932         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
46933         * manual/Makefile (licenses): New variable, list those new file names.
46934         (texis): Use it.
46935         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
46937         * manual/fdl.texi: File removed.
46938         * manual/lesser.texi: File removed.
46939         * manual/libc.texinfo (Copying, Documentation License):
46940         Use new @include file names, put @appendix directive before @include.
46942 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
46944         [BZ #12841]
46945         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
46946         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
46947         (mq_open): Add __NTH.
46949 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
46951         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46952         Assume Intel Core i3/i5/i7 processor if AVX is available.
46954 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
46956         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46957         typo.
46959 2011-05-31  Andreas Schwab  <schwab@redhat.com>
46961         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
46962         memory.  Use alloca_account.  Fix memory leak when retrying.
46964 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
46966         * version.h (RELEASE): Bump for 2.14 release.
46967         * include/features.h (__GLIBC_MINOR__): Bump to 14.
46969         * config.make.in (RANLIB): Remove entry.
46971 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
46973         * po/Makefile (po-sed-cmd): Add ksh to extensions.
46974         (libc.pot): Work around missing support for .ksh extension in xgettext.
46976         [BZ #12684]
46977         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
46978         if both request failed.
46979         (send_dg): In case of server errors clear resplen or *resplen2.
46981         [BZ #12454]
46982         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
46983         when there are multiple maps.
46984         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
46985         (_dl_fini): Remove test here.
46987         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
46989 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
46991         [BZ #12350]
46992         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
46993         bit from old_res_options.
46994         (gaih_inet): Likewise.
46996         [BZ #11099]
46997         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
46998         as signed.
47000         * resolv/res_init.c (res_setoptions): Make the code more compact.
47002         [BZ #11558]
47003         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47004         set RES_USEVC.
47006         [BZ #11634]
47007         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
47009         * malloc/malloc.h: Mark malloc hook variables as deprecated.
47011         [BZ #11781]
47012         * malloc/malloc.h: Declare malloc hook variables as volatile.
47014         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
47015         in last patch.
47017         [BZ #11799]
47018         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
47019         raise in the comment.
47020         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47021         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47022         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
47024 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
47026         [BZ #12811]
47027         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47028         grow the buffers more if it already has to be sufficient.
47029         (build_wcs_upper_buffer): Likewise.
47030         * posix/regexec.c (check_matching): Likewise.
47031         (clean_state_log_if_needed): Likewise.
47032         (extend_buffers): Don't enlarge buffers beyond size of the input
47033         buffer.
47034         Patches mostly by Emil Wojak <emil@wojak.eu>.
47035         * posix/bug-regex32.c: New file.
47036         * posix/Makefile (tests): Add bug-regex32.
47038         * locale/findlocale.c (_nl_find_locale): Return right away if
47039         _nl_explode_name failed.
47040         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
47042         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
47044         * debug/xtrace.sh: Unify messages.
47045         * malloc/memusage.sh: Likewise.
47047         [BZ #12813]
47048         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47049         time symbol from vDSO.  Substitute with vsyscall if not available.
47050         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47051         __vdso_time.
47053         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47054         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47055         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47056         Add sendmmsg and internal_sendmmsg.
47057         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47058         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47059         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47061         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47062         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47063         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47065 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
47067         [BZ #12813]
47068         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47069         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
47070         available.
47071         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
47072         __vdso_getcpu.
47074         [BZ #12814]
47075         * iconvdata/Makefile (tests): Add bug-iconv9.
47076         * iconvdata/bug-iconv9.c: New file.
47078 2011-05-27  Andreas Schwab  <schwab@redhat.com>
47080         [BZ #12814]
47081         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47083 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
47085         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47086         (struct user_regs_struct): Change intcs field back to cs.
47088 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
47090         * po/ja.po: Update from translation team.
47092 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
47094         [BZ #12795]
47095         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47096         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47098 2011-05-20  Andreas Schwab  <schwab@redhat.com>
47100         * stdlib/longlong.h: Update from GCC.
47102 2011-05-23  Andreas Schwab  <schwab@redhat.com>
47104         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47105         parameter name.
47106         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47107         Add parameter name.
47108         (__sysconf): Pass it down.
47110 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
47112         [BZ #12671]
47113         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47114         some situations.
47115         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47116         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47117         add in in __libc_use_alloca calls.  Adjust callers.
47118         (glob): Use malloc in some situations.
47120         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47121         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47122         pltexit.
47124 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
47126         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47127         and CLOCK_BOOTTIME_ALARM.
47129         [BZ #12782]
47130         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47131         is returned.
47133         * string/_strerror.c (__strerror_r): Print negative errors as signed
47134         numbers.
47136         [BZ #12777]
47137         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47138         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47139         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47141         * configure.in: Fix typo in redirection and correct removal of test
47142         files in two cases.
47144         [BZ #12788]
47145         * locale/setlocale.c (new_composite_name): Fix test to check for
47146         identical name of all categories.
47148         [BZ #12792]
47149         * libio/filedoalloc.c (local_isatty): New function.
47150         (_IO_file_doallocate): Use local_isatty.
47151         * stdio-common/perror.c (perror): In case a new stream is used
47152         forward the stream error.
47153         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47154         error flag.
47156 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
47158         [BZ #11869]
47159         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47160         alloca.
47161         * include/alloca.h (extend_alloca_account): Define.
47163         [BZ #11857]
47164         * posix/regex.h: Fix comments with documentation of user-accessible
47165         fields after compilation and describe correct free'ing of pattern
47166         after re_compile_pattern.
47167         Patch by Reuben Thomas <rrt@sc3d.org>.
47169 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
47171         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47172         and -mno-altivec to prevent the compiler from using Altivec and/or
47173         VSX instructions when the corresponding registers are not available.
47175 2011-05-19  Andreas Schwab  <schwab@redhat.com>
47177         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47179 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
47181         * libio/freopen.c (freopen): Use __dup2, not dup2.
47182         * libio/freopen64.c (freopen64): Likewise.
47184 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47186         [BZ #12775]
47187         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
47188         * math/Makefile (tests): Add test-powl.
47189         (CFLAGS-test-powl.c): Define.
47190         * math/test-powl.c: New file.
47192 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47194         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
47196 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
47198         [BZ #11837]
47199         * iconvdata/gb18030.c: Update to GB18020-2005.
47201 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
47203         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47204         RE_SYNTAX_POSIX_AWK): Update to match recent development.
47205         Patch by Aharon Robbins <arnold@skeeve.com>.
47207         [BZ #11892]
47208         * stdlib/putenv.c (putenv): Don't always create copy of the variable
47209         on the stack.
47211         [BZ #11895]
47212         * misc/pselect.c (__pselect): Handle timeout value errors hidden
47213         through underflows.
47215         [BZ #12766]
47216         * misc/error.c (error_at_line): Ensure file_name and old_file_name
47217         point to strings before performing equality test for error_one_per_line
47218         mode.
47220         [BZ #11697]
47221         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47223         [BZ #11820]
47224         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47225         (struct user_fpregs_struct): Avoid __uint*_t types.
47227         [BZ #6420]
47228         * malloc/mtrace.c (tr_where): Add additional parameter to point to
47229         symbol info.  Use it instead of calling _dl_addr locally.
47230         (lock_and_info): New function.
47231         (tr_freehook): Call lock_and_info and pass symbol info as additional
47232         parameter to tr_where.
47233         (tr_mallochook): Likewise.
47234         (tr_reallochook): Likewise.
47235         (tr_memalignhook): Likewise.
47237         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
47238         used and couldn't be at all thread-safe.
47240 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
47242         * libio/freopen.c (freopen): Don't close old file descriptor
47243         before the new one is opened.  Instead dup the new file descriptor
47244         to the old one after the new stream is created.
47245         * libio/freopen64.c (freopen64): Likewise.
47246         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47247         * libio/fileops.c (_IO_new_file_close_it): Handle new
47248         _IO_FLAGS2_NOCLOSE flag.
47249         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47250         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47251         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47252         _IO_FLAGS2_NOCLOSE flag.
47253         * include/unistd.h: Add hidden_proto for dup3.
47254         Define __have_dup3.
47255         * io/dup3.c: Define hidden symbol.
47256         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47258         [BZ #7101]
47259         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47260         when an incomplete long option is used.
47261         * posix/tst-getopt_long1.c: New file.
47262         * posix/Makefile (tests): Add tst-getopt_long1.
47264         [BZ #10138]
47265         * scripts/config.guess: Update from autoconf-2.68.
47266         * scripts/config.sub: Likewise.
47268         [BZ #10157]
47269         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47270         tests into ...
47271         (has_cpuclock): ...this.  New function.
47272         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47273         macro here based on has_cpuclock code.
47275         [BZ #10149]
47276         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47277         First byte (not low byte) is now always NUL.
47278         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47280         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47281         Use non-cancelable interfaces.
47283         [BZ #9809]
47284         * locale/iso-639.def: Add entry for Sorani.
47286         [BZ #11901]
47287         * include/stdlib.h: Move include protection to the right place.
47288         Define abort_msg_s.  Declare __abort_msg with it.
47289         * stdlib/abort.c (__abort_msg): Adjust type.
47290         * assert/assert.c (__assert_fail_base): New function.  Majority
47291         of code from __assert_fail.  Allocate memory for __abort_msg with
47292         mmap.
47293         (__assert_fail): Now call __assert_fail_base.
47294         * assert/assert-perr.c: Remove bulk of implementation.  Use
47295         __assert_fail_base.
47296         * include/assert.hL Declare __assert_fail_base.
47297         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47298         mmap.
47299         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47301 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
47303         [BZ #11952]
47304         [BZ #12453]
47305         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47306         until all modules are registered in the DTV.
47307         * elf/Makefile: Add rules to build and run tst-tls19.
47308         * elf/tst-tls19.c: New file.
47309         * elf/tst-tls19mod1.c: New file.
47310         * elf/tst-tls19mod2.c: New file.
47311         * elf/tst-tls19mod3.c: New file.
47312         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
47314         [BZ #12083]
47315         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
47316         correctly.
47318         [BZ #12601]
47319         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
47320         two-byte sequence errors.
47321         * iconvdata/Makefile (tests): Add bug-iconv8.
47322         * iconvdata/bug-iconv8.c: New file.
47324         [BZ #12626]
47325         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
47326         buf2 definition.
47328         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
47330         [BZ #12432]
47331         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
47332         (dummy_getcfa): New function.
47333         (init): Get _Unwind_GetCFA address, use dummy if not found.
47334         (backtrace_helper): In recursion check, also check whether CFA changes.
47335         (__backtrace): Completely initialize arg.
47337         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
47338         storing incomplete byte sequence in state object.  Avoid testing for
47339         guaranteed too small input if we know there is enough data available.
47341 2011-05-11  Andreas Schwab  <schwab@redhat.com>
47343         * Makeconfig (+link-pie): Indent.
47344         * Rules (binaries-pie): Define if $(have-fpie) and
47345         $(build-shared).
47346         (binaries-shared): Also filter out $(binaries-pie).
47347         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
47348         * nscd/Makefile (others-pie): Add nscd.
47349         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
47350         ($(objpfx)nscd): Remove command override.
47351         * login/Makefile (others-pie): Add pt_chown.
47352         ($(objpfx)pt_chown): Remove command override.
47353         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
47354         remove command overrides.
47356 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
47358         * libio/tst_putwc.c: Fix error messages.
47360         [BZ #12724]
47361         * libio/fileops.c (_IO_new_file_close_it): Always flush when
47362         currently writing and seek to current position when not.
47363         * libio/Makefile (tests): Add bug-fclose1.
47364         * libio/bug-fclose1.c: New file.
47366 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
47368         [BZ #12511]
47369         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
47370         don't set DF_1_NODELETE here.
47371         (do_lookup_x): When entering new entry test for copy relocation
47372         and if necessary set DF_1_NODELETE flag.
47373         * elf/tst-unique4.cc: New file.
47374         * elf/tst-unique4.h: New file.
47375         * elf/tst-unique4lib.cc: New file.
47376         * elf/Makefile: Add rules to build and run tst-unique4.
47377         Patch by Piotr Bury <pbury@goahead.com>.
47379 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
47381         [BZ #12052]
47382         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
47384         [BZ #12625]
47385         * misc/mntent_r.c (addmntent): Flush the stream after the output
47387         [BZ #12393]
47388         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
47389         (is_trusted_path_normalize): Skip initial colon.  Append slash
47390         to empty buffer.  Duplicate is_trusted_path code but allow
47391         constructed patch to be prefix.
47392         (is_dst): Allow $ORIGIN followed by /.
47393         (_dl_dst_substitute): Correct clearing of check_for_trusted.
47394         Correct testing of result of is_trusted_path_normalize
47395         (decompose_rpath): Fix warning.
47397 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
47399         [BZ #11257]
47400         * grp/initgroups.c (internal_getgrouplist): When we found the service
47401         list through the initgroups entry in nsswitch.conf do not always
47402         continue on a successful lookup.  Don't always use the
47403         __nss_group_database value if it is set.
47404         * nss/nsswitch.conf (initgroups): Change action for successful db
47405         lookup to continue for compatibility.
47407 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
47409         [BZ #11532]
47410         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47411         and CP774 modules.
47412         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47413         and CP774 modules.
47414         * iconvdata/tst-tables.sh: Likewise.
47415         * iconvdata/cp770.c: New file.
47416         * iconvdata/cp771.c: New file.
47417         * iconvdata/cp772.c: New file.
47418         * iconvdata/cp773.c: New file.
47419         * iconvdata/cp774.c: New file.
47420         * iconvdata/testdata/CP770: New file.
47421         * iconvdata/testdata/CP770..UTF8: New file.
47422         * iconvdata/testdata/CP771: New file.
47423         * iconvdata/testdata/CP771..UTF8: New file.
47424         * iconvdata/testdata/CP772: New file.
47425         * iconvdata/testdata/CP772..UTF8: New file.
47426         * iconvdata/testdata/CP773: New file.
47427         * iconvdata/testdata/CP773..UTF8: New file.
47428         * iconvdata/testdata/CP774: New file.
47429         * iconvdata/testdata/CP774..UTF8: New file.
47431         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47432         END CHARMAP line.
47433         * iconvdata/gen-8bit-gap.sh: Likewise.
47434         * iconvdata/gen-8bit.sh: Likewise.
47436         * locale/iso-639.def: Add ary entry.
47438         [BZ #11258]
47439         * locale/C-translit.h.in: Add U20A1 transliteration.
47441         [BZ #12178]
47442         * locale/iso-639.def: Add wae entry.
47443         Patch by Kevin Bortis <bortis@translate-wae.ch>.
47445         [BZ #12545]
47446         * locale/programs/localedef.c (construct_output_path): Use ssize_t
47447         for n.
47449         [BZ #12711]
47450         * locale/C-translit.h.in: Add entry for U20B9.
47451         Patch by pravin.d.s@gmail.com.
47453 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
47455         [BZ #12713]
47456         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47457         ENAMETOOLONG use generic getcwd.
47458         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
47459         in rtld.  Use *stat64.
47460         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
47461         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
47462         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
47463         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47464         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47465         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47466         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47467         __fstatat64 macros.
47468         * include/dirent.h: Add libc_hidden_proto for rewinddir.
47469         * dirent/rewinddir.c: Add libc_hidden_def.
47470         * sysdeps/mach/hurd/rewinddir.c: Likewise.
47471         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
47473         * include/dirent.h (__alloc_dir): Add flags parameter.
47474         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47475         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47476         __alloc_dir.
47477         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
47478         from fdopendir if O_CLOEXEC is already set.
47480 2011-03-15  Alan Modra  <amodra@gmail.com>
47482         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47483         l_tls_firstbyte_offset non-zero.  Save padding offset in
47484         l_tls_firstbyte_offset for later use.
47485         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47486         freeing static tls block.
47488 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
47490         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47491         where #ifdef was intended.  The intent is to prevent ARG_MAX from
47492         being defined by the kernel headers.
47494 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
47496         [BZ #12734]
47497         * resolv/resolv.h: Define RES_NOTLDQUERY.
47498         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47499         no-tld-query and set RES_NOTLDQUERY.
47500         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47501         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47502         modern BIND to search name as TLD unless forbidden.
47504 2011-05-07  Petr Baudis  <pasky@suse.cz>
47505             Ulrich Drepper  <drepper@gmail.com>
47507         [BZ #12393]
47508         * elf/dl-load.c (fillin_rpath): Move trusted path check...
47509         (is_trusted_path): ...to here.
47510         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47511         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
47512         using is_trusted_path_normalize() in setuid scripts.
47514 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
47516         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47517         __BEGIN/__END_DECLS.
47519 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
47521         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
47522         NSS_STATUS_NOTFOUND if no record was found.
47524 2011-05-05  Andreas Schwab  <schwab@redhat.com>
47526         * sunrpc/Makefile (headers): Add rpc/netdb.h.
47527         (headers-not-in-tirpc): Remove rpc/netdb.h
47528         * resolv/netdb.h: Revert last change.
47530 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
47532         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
47533         circular dependency between libgcc.a and libc.a.
47535 2011-05-05  Andreas Schwab  <schwab@redhat.com>
47537         * resolv/netdb.h: Don't include <rpc/netdb.h>.
47538         * nis/Makefile: Don't install rpcsvc/*.
47539         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
47540         instead of <rpc/types.h>.
47541         (MAXHOSTNAMELEN): Define.
47543 2011-05-03  Andreas Schwab  <schwab@redhat.com>
47545         * elf/ldconfig.c (add_dir): Don't crash on empty path.
47547 2011-04-28  Maciej Babinski  <mbabinski@google.com>
47549         [BZ #12714]
47550         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
47551         gethostbyname4_r when IPv6 results are possible.
47553 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
47555         [BZ #12723]
47556         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
47557         _PC_PIPE_BUF handling.
47559 2011-04-30  Bruno Haible  <bruno@clisp.org>
47561         [BZ #12717]
47562         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
47563         * resolv/netdb.h (getnameinfo): Change type of flags parameter
47564         to 'int'.
47565         * inet/getnameinfo.c (getnameinfo): Likewise.
47567 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
47569         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
47570         to groups setting in database lookup.
47571         * nss/nsswitch.conf: Add initgroups entry.
47573 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
47575         [BZ #12685]
47576         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
47577         mode string.
47578         Patch by Eric Blake <eblake@redhat.com>.
47580 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
47582         * sunrpc/Makefile (need-export-routines): Add svc_run.
47583         (routines): Remove svc_run.
47584         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
47585         * sunrpc/clnt_perr.c (clnt_perrno): Export.
47586         * sunrpc/svc_run.c (svc_run): Likewise.
47587         * sunrpc/svc_udp.c (svcudp_create): Likewise.
47589 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
47591         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
47592         problem in reallocation in last patch.
47594 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
47596         * sunrpc/Makefile: Move inclusion of Rules.
47598 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
47600         * nss/nss_files/files-initgroups.c: New file.
47601         * nss/Makefile (libnss_files-routines): Add files-initgroups.
47602         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
47603         _nss_files_initgroups_dyn.
47605 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
47607         * elf/elf.h (R_ARM_IRELATIVE): Define.
47609 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
47611         * po/ru.po: Update from translation team.
47613 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
47615         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
47616         dependencies.
47618 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
47620         [BZ #12653]
47621         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
47622         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
47623         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47624         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47625         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47627 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
47629         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
47630         differing bytes.
47631         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47632         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47633         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47635 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
47637         [BZ #12420]
47638         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
47639         storing it.
47640         * stdlib/bug-getcontext.c: New file.
47641         * stdlib/Makefile: Add rules to build and run bug-getcontext.
47643 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47645         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
47646         instructions into .machine "z9-109".
47647         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
47648         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
47650 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47652         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
47653         between environment variables and auxiliary vector.
47655 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
47657         * Makefile: Add rules to build linkobj/libc.so.
47658         * include/libc-symbols.h: Define libc_hidden_nolink.
47659         * include/rpc/auth.h: Mark functions which are to be hidden.
47660         * include/rpc/auth_des.h: Likewise.
47661         * include/rpc/auth_unix.h: Likewise.
47662         * include/rpc/clnt.h: Likewise.
47663         * include/rpc/des_crypt.h: Likewise.
47664         * include/rpc/key_prot.h: Likewise.
47665         * include/rpc/pmap_clnt.h: Likewise.
47666         * include/rpc/pmap_prot.h: Likewise.
47667         * include/rpc/pmap_rmt.h: Likewise.
47668         * include/rpc/rpc_msg.h: Likewise.
47669         * include/rpc/svc.h: Likewise.
47670         * include/rpc/svc_auth.h: Likewise.
47671         * include/rpc/xdr.h: Likewise.
47672         * nis/Makefile: Link all DSOs against linkobj/libc.so.
47673         * nss/Makefile: Likewise.
47674         * sunrpc/Makefile: Don't install headers.  Build library with normal
47675         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
47676         * sunrpc/auth_des.c: Hide exported symbols by default, export some
47677         for the compat linking library.  Remove use of INTDEF/INTUSE.
47678         * sunrpc/auth_none.c: Likewise.
47679         * sunrpc/auth_unix.c: Likewise.
47680         * sunrpc/authdes_prot.c: Likewise.
47681         * sunrpc/authuxprot.c: Likewise.
47682         * sunrpc/clnt_gen.c: Likewise.
47683         * sunrpc/clnt_perr.c: Likewise.
47684         * sunrpc/clnt_raw.c: Likewise.
47685         * sunrpc/clnt_simp.c: Likewise.
47686         * sunrpc/clnt_tcp.c: Likewise.
47687         * sunrpc/clnt_udp.c: Likewise.
47688         * sunrpc/clnt_unix.c: Likewise.
47689         * sunrpc/des_crypt.c: Likewise.
47690         * sunrpc/des_soft.c: Likewise.
47691         * sunrpc/get_myaddr.c: Likewise.
47692         * sunrpc/key_call.c: Likewise.
47693         * sunrpc/key_prot.c: Likewise.
47694         * sunrpc/netname.c: Likewise.
47695         * sunrpc/pm_getmaps.c: Likewise.
47696         * sunrpc/pm_getport.c: Likewise.
47697         * sunrpc/pmap_clnt.c: Likewise.
47698         * sunrpc/pmap_prot.c: Likewise.
47699         * sunrpc/pmap_prot2.c: Likewise.
47700         * sunrpc/pmap_rmt.c: Likewise.
47701         * sunrpc/publickey.c: Likewise.
47702         * sunrpc/rpc_cmsg.c: Likewise.
47703         * sunrpc/rpc_common.c: Likewise.
47704         * sunrpc/rpc_dtable.c: Likewise.
47705         * sunrpc/rpc_prot.c: Likewise.
47706         * sunrpc/rpc_thread.c: Likewise.
47707         * sunrpc/rtime.c: Likewise.
47708         * sunrpc/svc.c: Likewise.
47709         * sunrpc/svc_auth.c: Likewise.
47710         * sunrpc/svc_authux.c: Likewise.
47711         * sunrpc/svc_raw.c: Likewise.
47712         * sunrpc/svc_run.c: Likewise.
47713         * sunrpc/svc_simple.c: Likewise.
47714         * sunrpc/svc_tcp.c: Likewise.
47715         * sunrpc/svc_udp.c: Likewise.
47716         * sunrpc/svc_unix.c: Likewise.
47717         * sunrpc/svcauth_des.c: Likewise.
47718         * sunrpc/xcrypt.c: Likewise.
47719         * sunrpc/xdr.c: Likewise.
47720         * sunrpc/xdr_array.c: Likewise.
47721         * sunrpc/xdr_float.c: Likewise.
47722         * sunrpc/xdr_intXX_t.c: Likewise.
47723         * sunrpc/xdr_mem.c: Likewise.
47724         * sunrpc/xdr_rec.c: Likewise.
47725         * sunrpc/xdr_ref.c: Likewise.
47726         * sunrpc/xdr_sizeof.c: Likewise.
47727         * sunrpc/xdr_stdio.c: Likewise.
47729 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
47731         [BZ #12650]
47732         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
47733         * sysdeps/ia64/dl-tls.h: Likewise.
47734         * sysdeps/powerpc/dl-tls.h: Likewise.
47735         * sysdeps/s390/dl-tls.h: Likewise.
47736         * sysdeps/sh/dl-tls.h: Likewise.
47737         * sysdeps/sparc/dl-tls.h: Likewise.
47738         * sysdeps/x86_64/dl-tls.h: Likewise.
47739         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
47741 2011-03-14  Andreas Schwab  <schwab@redhat.com>
47743         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
47744         rpath element also skip the following colon.
47745         (expand_dynamic_string_token): Add is_path parameter and pass
47746         down to DL_DST_REQUIRED and _dl_dst_substitute.
47747         (decompose_rpath): Call expand_dynamic_string_token with
47748         non-zero is_path.  Ignore empty rpaths.
47749         (_dl_map_object_from_fd): Call expand_dynamic_string_token
47750         with zero is_path.
47752 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
47754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47755         Make cancelable.
47757 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
47759         [BZ #12655]
47760         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
47761         Patch by Filipe David Manana <fdmanana@apache.org>.
47763 2011-04-07  Andreas Schwab  <schwab@redhat.com>
47765         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
47766         Maintain aligned stack.
47767         (CHECK_RSP): Remove unused macro.
47769 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
47771         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
47772         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
47774 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
47776         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
47778         * include/features.h: Mention __USE_XOPEN2K8 in comment.
47780 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
47782         [BZ #12518]
47783         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47784         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47785         * sysdeps/x86_64/memmove.c: New file.
47786         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47787         (memcpy): Renamed to ...
47788         (__new_memcpy): This.
47789         (memcpy): Provide GLIBC_2_14 memcpy.
47790         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47791         (memcpy): Provide GLIBC_2_2_5 memcpy.
47793 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
47795         [BZ #12631]
47796         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47798 2011-03-30  Andreas Schwab  <schwab@redhat.com>
47800         * misc/syncfs.c: New file.
47801         * misc/Makefile (routines): Add syncfs.
47802         * posix/unistd.h: Declare syncfs.
47803         * sysdeps/unix/syscalls.list: Add syncfs.
47805 2011-04-01  Andreas Schwab  <schwab@redhat.com>
47807         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47808         open_by_handle_at.
47809         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47810         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47811         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47812         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47813         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47814         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47815         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47817 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
47819         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47820         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47821         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47822         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47823         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47824         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47825         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47827         * io/Makefile: Compile fallocate.c, fallocate64.c, and
47828         sync_file_range.c with -fexceptions.
47829         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47830         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47831         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47832         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47833         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47834         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47835         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
47836         sync_file_range as cancellation point
47837         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
47838         now a wrapper around __call_sync_file_range with cancellation handling.
47839         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47840         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
47841         function name to __call_sync_file_range.
47842         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47843         Add call_sync_file_range.
47845 2011-04-01  Andreas Schwab  <schwab@redhat.com>
47847         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47848         bits/timex.h.
47850 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
47852         * iconv/iconv.h: Fix typo in comment.
47853         * io/fcntl.h: Likewise.
47854         * libio/stdio.h: Likewise.
47855         * posix/spawn.h: Likewise.
47856         * posix/unistd.h: Likewise.
47857         * stdlib/stdlib.h: Likewise.
47858         * time/time.h: Likewise.
47859         * wcsmbs/wchar.h: Likewise.
47861         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47862         open_by_handle): Add.
47863         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47864         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
47865         Augment a few comments.
47866         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47867         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47868         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47869         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47870         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47871         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47872         open_by_handle.
47874         * io/fcntl.h (AT_EMPTY_PATH): Define.
47876 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
47878         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47879         * sysdeps/unix/sysv/linux/bits/time.h: New file.
47880         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47881         to...
47882         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
47883         * Versions.def: Add GLIBC_2.14.
47884         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47885         Export.
47887 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
47889         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47890         round counter.
47891         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47893 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
47895         [BZ #12597]
47896         * string/test-strncmp.c (do_page_test): New function.
47897         (check2): Likewise.
47898         (test_main): Call check2.
47899         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
47901 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
47903         [BZ #12587]
47904         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
47905         Handle cache information in CPU leaf 4.
47906         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47908 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
47910         [BZ #12583]
47911         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
47912         character representation.
47913         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
47915 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
47917         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
47918         END(__isnan) to END(__isnanf) to match function entry point/label
47919         EALIGN(__isnanf,...).
47921 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
47923         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
47925 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
47927         [BZ #12510]
47928         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
47929         copy from the symbol referenced in the relocation to initialize the
47930         used variable.
47931         Patch by Piotr Bury <pbury@goahead.com>.
47932         * elf/Makefile: Add rules to build and tst-unique3.
47933         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
47934         * elf/tst-unique3.cc: New file.
47935         * elf/tst-unique3.h: New file.
47936         * elf/tst-unique3lib.cc: New file.
47937         * elf/tst-unique3lib2.cc: New file.
47939         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
47941 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
47943         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
47944         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
47945         to _start.
47947 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
47949         * elf/dl-load.c (_dl_map_object): If we are looking for the first
47950         to-be-loaded object along a path to loader is ld.so.
47952 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
47953             Ulrich Drepper  <drepper@gmail.com>
47955         * sysdeps/x86_64/memset.S: After aligning destination, code
47956         branches to different locations depending on the value of
47957         misalignment, when multiarch is enabled. Fix this.
47959 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
47961         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
47962         Set _x86_64_preferred_memory_instruction for AMD processsors.
47963         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47964         Set bit_Prefer_SSE_for_memop for AMD processors.
47966 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
47968         * libio/fmemopen.c (fmemopen): Optimize a bit.
47970 2011-03-03  Andreas Schwab  <schwab@redhat.com>
47972         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
47974 2011-03-03  Roland McGrath  <roland@redhat.com>
47976         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
47978 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
47980         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
47981         __bzero_ultra1 instead of __memset_ultra1.
47983 2011-02-23  Andreas Schwab  <schwab@redhat.com>
47984             Ulrich Drepper  <drepper@gmail.com>
47986         [BZ #12509]
47987         * include/link.h (struct link_map): Add l_orig_initfini.
47988         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
47989         returning unsuccessfully.
47990         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
47991         close of a file loaded at startup, restore the original l_initfini
47992         list.
47993         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
47994         list, store the pointer.
47995         * elf/Makefile ($(objpfx)noload-mem): New rule.
47996         (noload-ENV): Define.
47997         (tests): Add $(objpfx)noload-mem.
47998         * elf/noload.c: Include <memcheck.h>.
47999         (main): Call mtrace.  Close all opened handles.
48001 2011-02-17  Andreas Schwab  <schwab@redhat.com>
48003         [BZ #12454]
48004         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48005         dependencies are missing.
48007 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48009         Fix __if_freereq crash: Unlike the generic version which uses free,
48010         Hurd needs munmap.
48011         * sysdeps/mach/hurd/ifreq.h: New file.
48013 2011-01-27  Petr Baudis  <pasky@suse.cz>
48014             Ulrich Drepper  <drepper@gmail.com>
48016         [BZ 12445]#
48017         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
48018         to extend_alloca().
48019         * stdio-common/bug23.c: New file.
48020         * stdio-common/Makefile (tests): Add bug23.
48022 2010-09-28  Andreas Schwab  <schwab@redhat.com>
48023             Ulrich Drepper  <drepper@gmail.com>
48025         [BZ #12489]
48026         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48027         before performing relro protection.  At old place add assertion
48028         to make sure nothing changed.
48030 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
48031             Glauber de Oliveira Costa  <glommer@gmail.com>
48033         * elf/elf.h: Add new ARM TLS relocs.
48035 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
48037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48038         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
48039         cast from r3.
48040         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
48041         'tests' variable.
48042         * sysdeps/wordsize-64/tst-writev.c: New file.
48044 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
48046         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48047         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48048         insns in _dl_start to prevent a TOC reference before relocs are
48049         resolved.
48051 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
48053         [BZ #12469]
48054         * Makeconfig: Remove RANLIB definition.
48055         * Makerules: Don't use RANLIB.
48056         * aclocal.m4: Remove ranlib test.
48057         * configure.in: No need to check for ranlib.
48058         * elf/rtld-Rules: Don't use RANLIB.
48060 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48062         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48063         protection macro.
48064         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48065         inclusion protection macro.
48067         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48068         SIGRTMIN and SIGRTMAX and print information in that case only when
48069         SIGRTMIN is defined.
48071 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
48073         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
48074         arginfo fn returning -1.
48076         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
48077         and thousands string is zero terminated.
48079 2011-02-03  Andreas Schwab  <schwab@redhat.com>
48081         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48082         sysdeps/unix/sysv/linux/bits/socket.h.
48084 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48086         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48087         (__CPU_COUNT): Remove old macros.
48088         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48089         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48090         (__CPU_ALLOC, __CPU_FREE): Add macros.
48091         (__sched_cpualloc, __sched_cpufree): Add declarations.
48093 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
48095         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48096         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48097         * nscd/aicache.c (addhstaiX): Return timeout of added value.
48098         (readdhstai): Return value of addhstaiX call.
48099         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48100         (addgrbyX): Return value returned by cache_addgr.
48101         (readdgrbyname): Return value returned by addgrbyX.
48102         (readdgrbygid): Likewise.
48103         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48104         (addpwbyX): Return value returned by cache_addpw.
48105         (readdpwbyname): Return value returned by addhstbyX.
48106         (readdpwbyuid): Likewise.
48107         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48108         (addservbyX): Return value returned by cache_addserv.
48109         (readdservbyname): Return value returned by addservbyX:
48110         (readdservbyport): Likewise.
48111         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48112         (addhstbyX): Return value returned by cache_addhst.
48113         (readdhstbyname): Return value returned by addhstbyX.
48114         (readdhstbyaddr): Likewise.
48115         (readdhstbynamev6): Likewise.
48116         (readdhstbyaddrv6): Likewise.
48117         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48118         (readdinitgroups): Return value returned by addinitgroupsX.
48119         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48120         (prune_cache): Keep track of timeout value of re-added entries.
48121         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48122         * nscd/nscd.h: Adjust prototypes of readd* functions.
48124 2011-02-04  Roland McGrath  <roland@redhat.com>
48126         * nis/nis_server.c (nis_servstate): Use the right name for 0.
48127         (nis_stats): Likewise.
48128         * nis/nis_modify.c (nis_modify): Likewise.
48129         * nis/nis_remove.c (nis_remove): Likewise.
48130         * nis/nis_add.c (nis_add): Likewise.
48132         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48134         * posix/fnmatch_loop.c: Add some consts.
48136         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48138 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
48140         [BZ #12460]
48141         * config.make.in (config-cflags-novzeroupper): Define.
48142         * configure.in: Substitute libc_cv_cc_novzeroupper.
48143         * elf/Makefile (AVX-CFLAGS): Define.
48144         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48145         (CFLAGS-tst-auditmod4a.c): Likewise.
48146         (CFLAGS-tst-auditmod4b.c): Likewise.
48147         (CFLAGS-tst-auditmod6b.c): Likewise.
48148         (CFLAGS-tst-auditmod6c.c): Likewise.
48149         (CFLAGS-tst-auditmod7b.c): Likewise.
48150         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48152 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
48154         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48155         function to the callback.
48156         Patch partly by Jiri Olsa <jolsa@redhat.com>.
48158 2011-02-02  Andreas Schwab  <schwab@redhat.com>
48160         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48161         of errno.
48163 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
48165         [BZ #11724]
48166         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48167         of constructors.
48168         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48169         of destructors.
48170         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48172         [BZ #11724]
48173         * elf/Makefile: Add rules to build and run new test.
48174         * elf/tst-initorder.c: New file.
48175         * elf/tst-initorder.exp: New file.
48176         * elf/tst-initordera1.c: New file.
48177         * elf/tst-initordera2.c: New file.
48178         * elf/tst-initordera3.c: New file.
48179         * elf/tst-initordera4.c: New file.
48180         * elf/tst-initorderb1.c: New file.
48181         * elf/tst-initorderb2.c: New file.
48182         * elf/tst-order-a1.c: New file.
48183         * elf/tst-order-a2.c: New file.
48184         * elf/tst-order-a3.c: New file.
48185         * elf/tst-order-a4.c: New file.
48186         * elf/tst-order-b1.c: New file.
48187         * elf/tst-order-b2.c: New file.
48188         * elf/tst-order-main.c: New file.
48189         New test case by George Gensure <werkt0@gmail.com>.
48191 2010-10-01  Andreas Schwab  <schwab@redhat.com>
48193         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48194         decoding ACE if AI_CANONIDN.
48196 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
48198         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
48200 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
48202         * version.h (RELEASE): Bump for 2.13 release.
48203         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48205         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48207         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48208         MADV_NOHUGEPAGE.
48209         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48210         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48211         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48212         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48213         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48214         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48216         * posix/getconf.c: Update copyright year.
48217         * catgets/gencat.c: Likewise.
48218         * csu/version.c: Likewise.
48219         * debug/catchsegv.sh: Likewise.
48220         * debug/xtrace.sh: Likewise.
48221         * elf/ldconfig.c: Likewise.
48222         * elf/ldd.bash.in: Likewise.
48223         * elf/sprof.c (print_version): Likewise.
48224         * iconv/iconv_prog.c: Likewise.
48225         * iconv/iconvconfig.c: Likewise.
48226         * locale/programs/locale.c: Likewise.
48227         * locale/programs/localedef.c: Likewise.
48228         * malloc/memusage.sh: Likewise.
48229         * malloc/mtrace.pl: Likewise.
48230         * nscd/nscd.c (print_version): Likewise.
48231         * nss/getent.c: Likewise.
48233         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48234         PF_CAIF, and PF_ALG.
48235         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48237 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
48239         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48240         (modules-names): Use them.
48241         (ifunc-test-modules, ifunc-pie-tests): Define.
48242         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48243         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48244         (test-extras): Likewise.
48245         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48246         $(compile-command.c).
48247         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48248         (all-built-dso): Define.
48249         (check-textrel.out, check-execstack.out): Depend on it.
48251         * configure.in: Don't override --enable-multi-arch.
48253 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
48255         [BZ #6812]
48256         * nscd/hstcache.c (tryagain): Define.
48257         (cache_addhst): Return tryagain not notfound for temporary errors.
48258         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48259         failed.
48261 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
48263         [BZ #10563]
48264         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48265         to make the syscall.
48266         * sysdeps/unix/sysv/linux/setgroups.c: New file.
48268         [BZ #12378]
48269         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48270         and fall back to matching as normal character if the string ends before
48271         the matching ']' is found.  This is what POSIX requires.
48272         * posix/testfnm.c: Adjust test result.
48273         * posix/globtest.sh: Adjust test result.  Add new test.
48274         * posix/tst-fnmatch.input: Likewise.
48275         * posix/tst-fnmatch2.c: Add new test.
48277 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
48279         * elf/Makefile (check-execstack): Revert last change.  Depend on
48280         check-execstack.h.
48281         (check-execstack.h): New target.
48282         (generated): Add check-execstack.h.
48283         * elf/check-execstack.c: Include "check-execstack.h".
48284         (main): Revert last change.
48285         (handle_file): Return zero if GNU_STACK is absent and
48286         DEFAULT_STACK_PERMS doesn't include PF_X.
48288 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
48290         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48291         in child fails because the descriptor is already closed.
48292         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48293         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48294         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
48296         [BZ #12397]
48297         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48298         syscall.
48300         [BZ #10484]
48301         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48302         temporary buffer used to handle multi lookups locally.
48303         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
48305 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
48307         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48308         loader is ld.so.
48310 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
48312         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
48313         alignment for SSE2.
48315 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
48317         [BZ #12394]
48318         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
48319         characters.  When rounding increased number of integer digits recompute
48320         number of groups.
48321         * stdio-common/tst-grouping.c: New file.
48322         * stdio-common/Makefile: Add rules to build and run tst-grouping.
48324 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
48326         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
48327         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
48329         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
48330         void.
48331         * bits/select.h: Likewise.
48333 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
48335         * po/ja.po: Update from translation team.
48337 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
48339         [BZ #11155]
48340         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
48341         implementation just like for lxstat, fxstatat, et al.
48343 2010-12-27  Jim Meyering  <meyering@redhat.com>
48345         [BZ #12348]
48346         * posix/regexec.c (build_trtable): Return failure indication upon
48347         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
48349 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
48351         [BZ #12201]
48352         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
48353         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
48354         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
48355         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
48357         [BZ #12207]
48358         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
48360         [BZ #12204]
48361         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
48362         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
48364 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
48366         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
48367         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
48368         script has SORT_BY_INIT_PRIORITY.
48369         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
48370         NO_CTORS_DTORS_SECTIONS is defined.
48371         * elf/soinit.c: Likewise.
48372         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
48373         NO_CTORS_DTORS_SECTIONS is defined.
48374         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
48375         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
48376         * sysdeps/sh/init-first.c: Likewise.
48377         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
48379 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
48381         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
48382         always use the slow path.
48384 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
48386         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
48387         similar rule which adds the sysdep directories to the header search in
48388         order to pick up the correct platform stackinfo.h.
48389         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48390         perform test if it is, otherwise return successfully without testing.
48391         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48392         DEFAULT_STACK_PERMS define in stackinfo.h.
48393         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48394         defined in stackinfo.h.
48395         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48396         DEFAULT_STACK_PERMS defined in stackinfo.h.
48397         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48398         * sysdeps/ia64/stackinfo.h: Likewise.
48399         * sysdeps/s390/stackinfo.h: Likewise.
48400         * sysdeps/sh/stackinfo.h: Likewise.
48401         * sysdeps/sparc/stackinfo.h: Likewise.
48402         * sysdeps/x86_64/stackinfo.h: Likewise.
48403         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48404         PF_X for powerpc64.  Retain PF_X for powerpc32.
48406 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
48408         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48409         accurately.
48410         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48411         GETDENTS_64BIT_ALIGNED.
48413 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
48415         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
48417 2010-12-10  Andreas Schwab  <schwab@redhat.com>
48419         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48420         _GNU_SOURCE.
48422         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48423         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48424         Remove __restrict.
48425         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48426         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48428 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
48430         [BZ #11655]
48431         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48432         are initialized.
48434 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
48436         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48438 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
48440         * po/it.po: Update from translation team.
48442 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
48444         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48445         unused codes.
48447 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
48449         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48451 2010-11-24  Andreas Schwab  <schwab@redhat.com>
48453         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48454         specially.
48455         (gaih_getanswer_slice): Likewise.
48457 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
48459         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48461 2010-05-31  Petr Baudis  <pasky@suse.cz>
48463         [BZ #11149]
48464         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48465         silently even in the chroot mode.
48467 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
48469         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48470         last patch a bit.  Pretty printing
48472 2010-05-31  Petr Baudis <pasky@suse.cz>
48474         [BZ #10085]
48475         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48476         initialization of skip_initgroups_dyn.
48478 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
48480         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48481         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48483 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
48485         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48487 2010-11-11  Andreas Schwab  <schwab@redhat.com>
48489         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48490         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48491         (tst-fnmatch-ENV): Set MALLOC_TRACE.
48492         ($(objpfx)tst-fnmatch-mem): New rule.
48493         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48494         * posix/tst-fnmatch.c (main): Call mtrace.
48496 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
48498         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48499         Support Intel processor model 6 and model 0x2c.
48501 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
48503         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48504           signed comparison.
48506 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
48508         [BZ #12205]
48509         * string/test-strncasecmp.c (check_result): New function.
48510         (do_one_test): Use it.
48511         (check1): New function.
48512         (test_main): Use it.
48513         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48514         Support strcasecmp and strncasecmp.
48516 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
48518         [BZ #12194]
48519         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48520         * sysdeps/x86_64/bits/byteswap.h: Likewise.
48522 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
48524         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
48525         IFUNC support.
48526         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48527         memset-x86-64.
48528         * sysdeps/x86_64/multiarch/bzero.S: New file.
48529         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
48530         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
48531         * sysdeps/x86_64/multiarch/memset.S: New file.
48532         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
48533         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48534         Set bit_Prefer_SSE_for_memop for Intel processors.
48535         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
48536         Define.
48537         (index_Prefer_SSE_for_memop): Define.
48538         (HAS_PREFER_SSE_FOR_MEMOP): Define.
48540 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
48542         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
48543         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
48545 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
48547         [BZ #12191]
48548         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48549         (__x86_64_raw_data_cache_size_half): Likewise.
48550         (__x86_64_raw_shared_cache_size): Likewise.
48551         (__x86_64_raw_shared_cache_size_half): Likewise.
48553         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48554         (__x86_64_raw_data_cache_size_half): Likewise.
48555         (__x86_64_raw_shared_cache_size): Likewise.
48556         (__x86_64_raw_shared_cache_size_half): Likewise.
48557         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
48558         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
48559         and __x86_64_raw_shared_cache_size_half.  Round
48560         __x86_64_data_cache_size_half, __x86_64_data_cache_size
48561         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
48562         to multiple of 256 bytes.
48564 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
48566         [BZ #12167]
48567         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
48568         of inacessible symlinks.  Verify result of symlink before returning it.
48569         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48570         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
48572 2010-10-28  Erich Ritz  <erichritz@gmail.com>
48574         * math/math.h (isinf): Fix typo in comment.
48576 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
48578         * po/da.po: Update from translation team.
48580 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
48582         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
48583         is added to the list.
48585 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48586             Ulrich Drepper  <drepper@gmail.com>
48588         * elf/dl-object.c (_dl_new_object): Don't append the new object to
48589         the global list here.  Move code to...
48590         (_dl_add_to_namespace_list): ...here.  New function.
48591         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
48592         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
48593         * elf/dl-load.c (lose): Don't remove the element from the list.
48594         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
48595         (_dl_map_object): Likewise.
48597 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
48599         [BZ #12159]
48600         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
48601         into all bytes of SSE register.
48602         Patch by Richard Li <richardpku@gmail.com>.
48604 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
48606         [BZ #12140]
48607         * malloc/malloc.c (_int_free): Fill correct number of bytes when
48608         perturbing.
48610 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
48612         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
48613         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
48614         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
48615         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
48617         submachine.
48618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
48620 2010-10-22  Andreas Schwab  <schwab@redhat.com>
48622         * include/dlfcn.h (__RTLD_SECURE): Define.
48623         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
48624         mode & __RTLD_SECURE instead.
48625         (open_path): Rename preloaded parameter to secure.
48626         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
48627         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
48628         * elf/dl-deps.c (openaux): Likewise.
48629         * elf/rtld.c (struct map_args): Remove is_preloaded.
48630         (map_doit): Don't use it.
48631         (dl_main): Likewise.
48632         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
48633         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
48635 2010-09-09  Andreas Schwab  <schwab@redhat.com>
48637         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
48638         (sysd-rules-targets): Remove duplicates.
48639         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
48640         rtld-%.$o dependency.
48642 2010-10-18  Andreas Schwab  <schwab@redhat.com>
48644         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
48645         _dl_map_object do it.
48647 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
48649         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
48650         fast fma builtins, define the macros in the C99 standard.
48651         (FP_FAST_FMAF): Likewise.
48652         (FP_FAST_FMAL): Likewise.
48653         * sysdeps/x86_64/bits/mathdef.h: Likewise.
48655         * bits/mathdef.h: Update copyright year.
48656         * sysdeps/powerpc/bits/mathdef.h: Likewise.
48658 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
48660         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
48661         builtins, define the macros in the C99 standard.
48662         (FP_FAST_FMAF): Likewise.
48663         (FP_FAST_FMAL): Likewise.
48664         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
48665         multiply/add.
48666         (FP_FAST_FMAF): Likewise.
48668 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
48670         [BZ #3268]
48671         * math/libm-test.inc (fma_test): Some new testcases.
48672         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
48673         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
48674         y and infinite z.  Do multiplication by C already in long double.
48675         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
48676         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
48677         y and infinite z.  Do bitwise or of inexact bit into u.d.
48678         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
48679         * sysdeps/i386/fpu/s_fmaf.S: Removed.
48680         * sysdeps/i386/fpu/s_fma.S: Removed.
48681         * sysdeps/i386/fpu/s_fmal.S: Removed.
48683 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
48685         [BZ #3268]
48686         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
48687         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
48688         computation is not scheduled after fetestexcept.  Fix value
48689         of minimum denormal long double.
48691 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
48693         [BZ #3268]
48694         * math/libm-test.inc (fma_test): Add some more tests.
48695         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
48696         correctly.
48698 2010-10-15  Andreas Schwab  <schwab@redhat.com>
48700         * scripts/data/localplt-s390-linux-gnu.data: New file.
48701         * scripts/data/localplt-s390x-linux-gnu.data: New file.
48703 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
48705         [BZ #3268]
48706         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
48707         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
48708         instead of dbl-64.
48709         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
48710         inlines.
48711         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
48712         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
48713         if one of x and y is very large and the other is subnormal.
48714         * sysdeps/s390/fpu/s_fmaf.c: New file.
48715         * sysdeps/s390/fpu/s_fma.c: New file.
48716         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
48717         * sysdeps/powerpc/fpu/s_fma.S: New file.
48718         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
48719         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
48720         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
48722 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
48724         [BZ #3268]
48725         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
48726         fma tests.
48727         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
48728         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
48729         * sysdeps/i386/i686/multiarch/s_fma.c: Include
48730         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
48731         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
48732         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
48733         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
48735 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
48737         [BZ #12078]
48738         * posix/regcomp.c (parse_branch): One more memory leak plugged.
48739         * posix/bug-regex31.input: Add test case.
48741 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
48743         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
48744         * posix/bug-regex31.input: New file.
48746         [BZ #12078]
48747         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
48748         (parse_sub_exp): Fix last change, use postorder.
48750         * posix/bug-regex31.c: New file.
48751         * posix/Makefile: Add rules to build and run bug-regex31.
48753         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
48755         [BZ #12078]
48756         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
48758         [BZ #12108]
48759         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
48760         to have entries in sys_siglist.
48762         [BZ #12093]
48763         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
48764         be NULL.
48766 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
48768         [BZ #3268]
48769         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
48770         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
48771         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
48772         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
48773         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48774         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
48775         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
48776         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
48777         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
48778         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
48779         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
48780         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
48781         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48782         * math/ftestexcept.c (fetestexcept): Likewise.
48783         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48784         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48785         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48786         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48787         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48788         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48789         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48791 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
48793         [BZ #12107]
48794         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48795         newline.
48797 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
48799         * string/bug-strstr1.c: New file.
48800         * string/Makefile: Add rules to build and run bug-strstr1.
48802 2010-10-05  Eric Blake  <eblake@redhat.com>
48804         [BZ #12092]
48805         * string/str-two-way.h (two_way_long_needle): Always clear memory
48806         when skipping input due to the shift table.
48808 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
48810         [BZ #12005]
48811         * malloc/mcheck.c: Handle large requests.
48813         [BZ #12077]
48814         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48815         for strncmp and strncasecmp.
48816         * string/stratcliff.c: Add tests for strcmp and strncmp.
48817         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48819 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
48821         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48822         __set_fpscr.
48824 2010-09-30  Andreas Jaeger  <aj@suse.de>
48826         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48827         (CGROUP_SUPER_MAGIC): Define.
48828         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48829         Handle btrfs and cgroup file systems.
48830         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48831         Likewise.
48833 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
48835         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48836         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48838 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48840         [BZ #12067]
48841         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48842         trying to locate the ELF header.
48844 2010-09-27  Andreas Schwab  <schwab@redhat.com>
48846         [BZ #11611]
48847         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48848         Mask out sign-bit copies when constructing f_fsid.
48850 2010-09-24  Petr Baudis <pasky@suse.cz>
48852         * debug/stack_chk_fail_local.c: Add missing licence exception.
48853         * debug/warning-nop.c: Likewise.
48855 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
48857         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48858         implementing getdents64 using getdents syscall, set d_type if
48859         __ASSUME_GETDENTS32_D_TYPE.
48861 2010-09-16  Andreas Schwab  <schwab@redhat.com>
48863         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48864         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48866 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
48868         [BZ #12037]
48869         * posix/unistd.h: Undo change of feature selection for ftruncate from
48870         2010-01-11.
48872 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
48874         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
48875         detection.
48877 2010-09-20  Andreas Schwab  <schwab@redhat.com>
48879         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48880         fanotify_mark.
48881         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48883 2010-09-14  Andreas Schwab  <schwab@redhat.com>
48885         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48886         variables after CHECK_SP call.
48887         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48889 2010-09-13  Andreas Schwab  <schwab@redhat.com>
48890             Ulrich Drepper  <drepper@redhat.com>
48892         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48893         re-relocationg ld.so.
48894         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48895         _dl_init_paths call.
48896         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
48897         here anymore.
48899 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
48901         * resolv/res_init.c (__res_vinit): Count the default server we added.
48903 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
48904             Ulrich Drepper  <drepper@redhat.com>
48906         [BZ #11968]
48907         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48908         (____longjmp_chk): Use %ebx for saving value across system call.
48909         Add unwind info.
48911 2010-09-06  Andreas Schwab  <schwab@redhat.com>
48913         * manual/Makefile: Don't mix pattern rules with normal rules.
48915 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
48917         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
48918         operation.
48919         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
48920         * libio/iofopncook.c (_IO_cookie_init): Likewise.
48921         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
48922         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
48923         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48924         Likewise.
48926 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
48928         [BZ #11979]
48929         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
48930         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
48932 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
48934         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
48935         * sysdeps/x86_64/addmul_1.S: Likewise.
48936         * sysdeps/x86_64/lshift.S: Likewise.
48937         * sysdeps/x86_64/mul_1.S: Likewise.
48938         * sysdeps/x86_64/rshift.S: Likewise.
48939         * sysdeps/x86_64/sub_n.S: Likewise.
48940         * sysdeps/x86_64/submul_1.S: Likewise.
48942 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48944         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
48945         Define __sched_param instead of SCHED_* and sched_param when
48946         <bits/sched.h> is included with __need_schedparam defined.
48947         * bits/sched.h [__need_schedparam]
48948         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
48949         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
48950         (__defined_schedparam): Define to 1.
48951         (__sched_param): New structure, identical to sched_param.
48952         (__need_schedparam): Undefine.
48954 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
48956         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
48957         (epoll_create1): Declare.
48959         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
48961 2010-08-31  Andreas Schwab  <schwab@redhat.com>
48963         [BZ #7066]
48964         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
48965         shifting retval into place.
48967 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
48969         * nis/rpcsvc/nis.h: Update copyright notice.
48970         * nis/rpcsvc/nis.x: Likewise.
48971         * nis/rpcsvc/nis_callback.h: Likewise.
48972         * nis/rpcsvc/nis_callback.x: Likewise.
48973         * nis/rpcsvc/nis_object.x: Likewise.
48974         * nis/rpcsvc/nis_tags.h: Likewise.
48975         * nis/rpcsvc/yp.h: Likewise.
48976         * nis/rpcsvc/yp.x: Likewise.
48977         * nis/rpcsvc/ypupd.h: Likewise.
48978         * nis/yp_xdr.c: Likewise.
48979         * nis/ypupdate_xdr.c: Likewise.
48981         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
48982         mainly the body of pmap_getport.  Add parameters to specify timeouts.
48983         (pmap_getport): Use __libc_rpc_getport.
48984         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
48985         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
48986         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
48988 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
48990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
48991         fanotify_mark.
48993 2010-08-27  Roland McGrath  <roland@redhat.com>
48995         * sysdeps/i386/i686/multiarch/Makefile
48996         (CFLAGS-varshift.c): New variable.
48998 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
49000         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49001         * sysdeps/i386/i686/multiarch/varshift.c: New file.
49003         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49005         * sysdeps/x86_64/strlen.S: Minimal code improvement.
49007 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
49009         * sysdeps/x86_64/strlen.S: Unroll the loop.
49010         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49011         strlen-sse2 strlen-sse2-bsf.
49012         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
49013         __strlen_no_bsf if bit_Slow_BSF is set.
49014         (__strlen_sse42): Removed.
49015         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
49016         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
49018 2010-08-25  Roland McGrath  <roland@redhat.com>
49020         * sysdeps/x86_64/multiarch/varshift.S: File removed.
49021         * sysdeps/x86_64/multiarch/varshift.c: New file.
49022         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
49023         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
49024         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
49025         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49027 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
49029         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49030         strlen-sse2 strlen-sse2-bsf.
49031         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
49032         __strlen_sse2_bsf if bit_Slow_BSF is unset.
49033         (__strlen_sse2): Removed.
49034         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
49035         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
49036         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49037         bit_Slow_BSF for Atom.
49038         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
49039         (index_Slow_BSF): Define.
49040         (HAS_SLOW_BSF): Define.
49042 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
49044         [BZ #10851]
49045         * resolv/res_init.c (__res_vinit): When no server address at all
49046         is given default to loopback.
49048 2010-08-24  Roland McGrath  <roland@redhat.com>
49050         * configure.in: Remove config-name.h generation.
49051         * configure: Regenerated.
49052         * config-name.in: File removed.
49053         * scripts/config-uname.sh: New file.
49054         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49055         ($(objdir)config-name.h): New target.
49057         * sunrpc/rpc_parse.h: Avoid nested comment.
49059 2010-08-24  Richard Henderson  <rth@redhat.com>
49060             Ulrich Drepper  <drepper@redhat.com>
49061             H.J. Lu  <hongjiu.lu@intel.com>
49063         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49064         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49065         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49066         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
49067         _mm_alignr_epi8 with _mm_loadu_si128.
49068         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49069         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49070         (__m128i_shift_right): Removed.
49071         * sysdeps/i386/i686/multiarch/varshift.h: New file.
49072         * sysdeps/i386/i686/multiarch/varshift.S: New file.
49073         * sysdeps/x86_64/multiarch/varshift.h: New file.
49074         * sysdeps/x86_64/multiarch/varshift.S: New file.
49076 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
49078         * configure.in: Move assembler checks to before sysdep dir checking.
49080 2010-08-20  Petr Baudis  <pasky@suse.cz>
49082         * LICENSES: Sync the sunrpc license.
49084 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
49086         * sunrpc/auth_des.c: Update copyright notice once again.
49087         * sunrpc/auth_none.c: Likewise.
49088         * sunrpc/auth_unix.c: Likewise.
49089         * sunrpc/authdes_prot.c: Likewise.
49090         * sunrpc/authuxprot.c: Likewise.
49091         * sunrpc/bindrsvprt.c: Likewise.
49092         * sunrpc/clnt_gen.c: Likewise.
49093         * sunrpc/clnt_perr.c: Likewise.
49094         * sunrpc/clnt_raw.c: Likewise.
49095         * sunrpc/clnt_simp.c: Likewise.
49096         * sunrpc/clnt_tcp.c: Likewise.
49097         * sunrpc/clnt_udp.c: Likewise.
49098         * sunrpc/clnt_unix.c: Likewise.
49099         * sunrpc/des_crypt.c: Likewise.
49100         * sunrpc/des_soft.c: Likewise.
49101         * sunrpc/get_myaddr.c: Likewise.
49102         * sunrpc/getrpcport.c: Likewise.
49103         * sunrpc/key_call.c: Likewise.
49104         * sunrpc/key_prot.c: Likewise.
49105         * sunrpc/openchild.c: Likewise.
49106         * sunrpc/pm_getmaps.c: Likewise.
49107         * sunrpc/pm_getport.c: Likewise.
49108         * sunrpc/pmap_clnt.c: Likewise.
49109         * sunrpc/pmap_prot.c: Likewise.
49110         * sunrpc/pmap_prot2.c: Likewise.
49111         * sunrpc/pmap_rmt.c: Likewise.
49112         * sunrpc/rpc/auth.h: Likewise.
49113         * sunrpc/rpc/auth_unix.h: Likewise.
49114         * sunrpc/rpc/clnt.h: Likewise.
49115         * sunrpc/rpc/des_crypt.h: Likewise.
49116         * sunrpc/rpc/key_prot.h: Likewise.
49117         * sunrpc/rpc/netdb.h: Likewise.
49118         * sunrpc/rpc/pmap_clnt.h: Likewise.
49119         * sunrpc/rpc/pmap_prot.h: Likewise.
49120         * sunrpc/rpc/pmap_rmt.h: Likewise.
49121         * sunrpc/rpc/rpc.h: Likewise.
49122         * sunrpc/rpc/rpc_des.h: Likewise.
49123         * sunrpc/rpc/rpc_msg.h: Likewise.
49124         * sunrpc/rpc/svc.h: Likewise.
49125         * sunrpc/rpc/svc_auth.h: Likewise.
49126         * sunrpc/rpc/types.h: Likewise.
49127         * sunrpc/rpc/xdr.h: Likewise.
49128         * sunrpc/rpc_clntout.c: Likewise.
49129         * sunrpc/rpc_cmsg.c: Likewise.
49130         * sunrpc/rpc_common.c: Likewise.
49131         * sunrpc/rpc_cout.c: Likewise.
49132         * sunrpc/rpc_dtable.c: Likewise.
49133         * sunrpc/rpc_hout.c: Likewise.
49134         * sunrpc/rpc_main.c: Likewise.
49135         * sunrpc/rpc_parse.c: Likewise.
49136         * sunrpc/rpc_parse.h: Likewise.
49137         * sunrpc/rpc_prot.c: Likewise.
49138         * sunrpc/rpc_sample.c: Likewise.
49139         * sunrpc/rpc_scan.c: Likewise.
49140         * sunrpc/rpc_scan.h: Likewise.
49141         * sunrpc/rpc_svcout.c: Likewise.
49142         * sunrpc/rpc_tblout.c: Likewise.
49143         * sunrpc/rpc_util.c: Likewise.
49144         * sunrpc/rpc_util.h: Likewise.
49145         * sunrpc/rpcinfo.c: Likewise.
49146         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49147         * sunrpc/rpcsvc/key_prot.x: Likewise.
49148         * sunrpc/rpcsvc/klm_prot.x: Likewise.
49149         * sunrpc/rpcsvc/mount.x: Likewise.
49150         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49151         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49152         * sunrpc/rpcsvc/rex.x: Likewise.
49153         * sunrpc/rpcsvc/rstat.x: Likewise.
49154         * sunrpc/rpcsvc/rusers.x: Likewise.
49155         * sunrpc/rpcsvc/sm_inter.x: Likewise.
49156         * sunrpc/rpcsvc/spray.x: Likewise.
49157         * sunrpc/rpcsvc/yppasswd.x: Likewise.
49158         * sunrpc/rtime.c: Likewise.
49159         * sunrpc/svc.c: Likewise.
49160         * sunrpc/svc_auth.c: Likewise.
49161         * sunrpc/svc_authux.c: Likewise.
49162         * sunrpc/svc_raw.c: Likewise.
49163         * sunrpc/svc_run.c: Likewise.
49164         * sunrpc/svc_simple.c: Likewise.
49165         * sunrpc/svc_tcp.c: Likewise.
49166         * sunrpc/svc_udp.c: Likewise.
49167         * sunrpc/svc_unix.c: Likewise.
49168         * sunrpc/svcauth_des.c: Likewise.
49169         * sunrpc/xcrypt.c: Likewise.
49170         * sunrpc/xdr.c: Likewise.
49171         * sunrpc/xdr_array.c: Likewise.
49172         * sunrpc/xdr_float.c: Likewise.
49173         * sunrpc/xdr_mem.c: Likewise.
49174         * sunrpc/xdr_rec.c: Likewise.
49175         * sunrpc/xdr_ref.c: Likewise.
49176         * sunrpc/xdr_sizeof.c: Likewise.
49177         * sunrpc/xdr_stdio.c: Likewise.
49179         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49180         handling.
49182 2010-08-19  Andreas Schwab  <schwab@redhat.com>
49184         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49186 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
49188         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
49189         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
49190         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
49191         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
49192         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
49193         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
49194         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
49195         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
49196         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
49197         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
49198         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
49199         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49200         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49201         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49203 2010-07-26  Anton Blanchard  <anton@samba.org>
49205         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49206         * malloc/arena.c (heap_trim): Likewise.
49208 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
49210         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49211         here.  Not...
49212         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49213         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49215 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
49217         * sysdeps/i386/elf/Makefile: New file.
49219 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
49221         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49222         from fanotify_init.
49223         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49224         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49226 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
49228         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49229         of strncasecmp_l.
49230         * sysdeps/multiarch/strcmp.S: Likewise.
49232 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
49234         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49235         strncase_l-nonascii.
49236         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49237         Add strncase_l-ssse3.
49238         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49239         * sysdeps/x86_64/strcmp.S: Likewise.
49240         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49241         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49242         * sysdeps/x86_64/strncase.S: New file.
49243         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49244         * sysdeps/x86_64/strncase_l.S: New file.
49245         * string/Makefile (strop-tests): Add strncasecmp.
49246         * string/test-strncasecmp.c: New file.
49248         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49249         warning.
49251         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49252         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49254 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
49256         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49258 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
49260         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49261         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49262         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49264 2010-05-01  Alan Modra  <amodra@gmail.com>
49266         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49267         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49268         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49269         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49270         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49271         tidying.  Don't tail-call __sigjmp_save for static lib.
49272         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49273         save location.
49274         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49275         (CALL_MCOUNT): Add eh info, and nop after bl.
49276         (TAIL_CALL_SYSCALL_ERROR): New macro.
49277         (PSEUDO_RET): Use it.
49278         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49279         Correct save location of integer regs and cr.
49280         (_dl_profile_resolve): Correct cr save location.  Delete nops
49281         after bl when SHARED.  Reduce cfi size a little by better
49282         placement of cfi directives.
49283         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49284         make a stack frame.  Instead use parm save area as a temp.
49285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49286         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
49287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49288         Don't make a stack frame for parent, use parm save area.
49289         Increase child stack frame to 112 bytes.  Don't save unused reg,
49290         and adjust reg usage.  Set up cfi on error recovery and
49291         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49293         (__makecontext): Add dummy nop after jump to exit.
49294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49295         Use correct parm save area and cr save, reduce stack frame.
49296         Correct cfi for possible PSEUDO_RET frame setup.
49297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49298         Branch to local label emitted by PSEUDO_RET rather than
49299         __syscall_error.
49301 2010-08-12  Andreas Schwab  <schwab@redhat.com>
49303         [BZ #11904]
49304         * locale/programs/locale.c (print_assignment): New function.
49305         (show_locale_vars): Use it.
49307 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
49309         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
49310         field.
49311         (struct statfs64): Likewise.
49312         (_STATFS_F_FLAGS): Define.
49313         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
49314         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49315         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
49316         (ST_VALID): Define locally.
49317         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
49318         __statvfs_getflags, use the provided value.
49319         * sysdeps/unix/sysv/linux/kernel-features.h: Define
49320         __ASSUME_STATFS_F_FLAGS.
49322         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
49324         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
49325         Add sys/fanotify.h.
49326         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
49327         fanotify_mask for GLIBC_2.13.
49328         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
49329         fanotify_init and fanotify_mark.
49330         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49331         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
49333         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
49334         Add prlimit.
49335         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
49336         prlimit64 for GLIBC_2.13.
49337         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
49338         prlimit64.
49339         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
49340         syscall.
49341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
49342         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49343         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
49344         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
49345         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
49346         add prlimit alias.
49347         * sysdeps/unix/sysv/linux/prlimit.c: New file.
49349         [BZ #11903]
49350         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
49351         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
49353         * nss/Makefile: Add rules to build and run tst-nss-test1.
49354         * shlib-versions: Add entry for libnss_test1.
49355         * nss/nss_test1.c: New file.
49356         * nss/tst-nss-test1.c: New file.
49358         * nss/nsswitch.c (__nss_database_custom): Define new variable.
49359         (__nss_configure_lookup): Set appropriate entry in
49360         __nss_configure_lookup to true.
49361         * nss/nsswitch.h: Define enum with indeces of databases in
49362         databases and __nss_database_custom arrays.  Declare
49363         __nss_database_custom.
49364         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
49365         to avoid using nscd when custom rules are installed.
49366         * nss/getXXbyYY_r.c: Likewise.
49367         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49369         * nss/nss_files/files-parse.c: Whitespace fixes.
49371 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
49373         [BZ #11883]
49374         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
49375         * posix/fnmatch_loop.c: Likewise.
49377 2010-07-17  Andi Kleen  <ak@linux.intel.com>
49379         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
49380         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
49381         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
49382         * Versions.def [GLIBC_2.13]: Add.
49384 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
49386         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49387         Also fail if tpwd after pwuid call is NULL.
49389 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49391         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49392         when converting to ms.
49394 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49396         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49397         EOPNOTSUPP errors with ENOTTY.
49398         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49399         EOPNOTSUPP errors with ENOTTY.
49401 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
49403         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49404         Add strcasecmp_l-ssse3.
49405         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49406         strcasecmp.
49407         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49408         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49409         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49411 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
49413         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49415         * string/Makefile (strop-tests): Add strcasecmp.
49416         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49417         strcasecmp_l-nonascii.
49418         (gen-as-const-headers): Add locale-defines.sym.
49419         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49420         * sysdeps/x86_64/strcasecmp.S: New file.
49421         * sysdeps/x86_64/strcasecmp_l.S: New file.
49422         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49423         * sysdeps/x86_64/locale-defines.sym: New file.
49424         * string/test-strcasecmp.c: New file.
49426         * string/test-strcasestr.c: Test both ends of the range of characters.
49427         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49429 2010-07-29  Roland McGrath  <roland@redhat.com>
49431         [BZ #11856]
49432         * manual/locale.texi (Yes-or-No Questions): Fix example code.
49434 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
49436         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49437         for ld.so.
49439 2010-07-27  Andreas Schwab  <schwab@redhat.com>
49441         * manual/memory.texi (Malloc Tunable Parameters): Document
49442         M_PERTURB.
49444 2010-07-26  Roland McGrath  <roland@redhat.com>
49446         [BZ #11840]
49447         * configure.in (-fgnu89-inline check): Set and substitute
49448         gnu89_inline, not libc_cv_gnu89_inline.
49449         * configure: Regenerated.
49450         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49452 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
49454         * string/test-strnlen.c: New file.
49455         * string/Makefile (strop-tests): Add strnlen.
49456         * string/tester.c (test_strnlen): Add a few more test cases.
49457         * string/tst-strlen.c: Better error reporting.
49459         * sysdeps/x86_64/strnlen.S: New file.
49461 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
49463         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49464         lower-latency instructions.
49466 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
49468         * string/test-strcasestr.c: New file.
49469         * string/test-strstr.c: New file.
49470         * string/Makefile (strop-tests): Add strstr and strcasestr.
49471         * string/str-two-way.h: Don't undefine MAX.
49472         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49474 2010-07-21  Andreas Schwab  <schwab@redhat.com>
49476         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49477         strcasestr-nonascii.
49478         (CFLAGS-strcasestr-nonascii.c): Define.
49479         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49480         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49481         Remove unused attribute.
49483 2010-07-20  Roland McGrath  <roland@redhat.com>
49485         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49486         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
49487         ld.so.cache was broken.  With it, there is no way to disable dsocaps
49488         like LD_HWCAP_MASK can disable hwcaps.
49490 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
49492         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49494 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
49496         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49497         call in strcasestr.
49498         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49499         __strcasestr_sse42_nonascii.
49500         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49501         strcasestr-nonascii.c.
49502         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49504 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
49506         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49507         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49508         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49509         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49511 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
49513         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49514         fcntl.
49516 2010-07-06  Andreas Schwab  <schwab@redhat.com>
49518         [BZ #11577]
49519         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49520         dl_signal_cerror.
49522 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
49524         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
49525         _PC_PIPE_BUF using F_GETPIPE_SZ.
49527 2010-07-05  Roland McGrath  <roland@redhat.com>
49529         * manual/arith.texi (Rounding Functions): Fix rint description
49530         implicit in round description.
49532 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
49534         * elf/Makefile: Fix linking for a few tests to make recent linker
49535         happy.
49537 2010-06-30  Andreas Schwab  <schwab@redhat.com>
49539         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49540         $(common-objpfx)libc_nonshared.a.
49542 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
49544         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
49545         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
49546         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49547         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49548         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
49549         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
49550         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49551         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
49553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
49554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
49555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
49557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
49559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
49560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
49561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
49562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
49564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
49566         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
49567         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
49568         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
49569         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
49570         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
49571         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
49572         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
49573         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
49574         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
49575         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
49576         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
49577         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
49578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
49579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
49580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
49581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
49582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
49583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
49584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
49585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
49586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
49587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
49588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
49589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
49590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
49591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
49593 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
49595         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
49596         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
49597         * string/memmove.c (memmove): Renamed to ...
49598         (MEMMOVE): ...this.  Default to memmove.
49599         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
49600         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
49601         (END_CHK): Define.
49602         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49603         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
49604         mempcpy-ssse3-back memmove-ssse3-back.
49605         * sysdeps/x86_64/multiarch/bcopy.S: New file .
49606         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
49607         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
49608         * sysdeps/x86_64/multiarch/memcpy.S: New file.
49609         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
49610         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
49611         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
49612         * sysdeps/x86_64/multiarch/memmove.c: New file.
49613         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
49614         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
49615         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
49616         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
49617         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
49618         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
49619         Define.
49620         (index_Fast_Copy_Backward): Define.
49621         (HAS_ARCH_FEATURE): Define.
49622         (HAS_FAST_REP_STRING): Define.
49623         (HAS_FAST_COPY_BACKWARD): Define.
49625 2010-06-21  Andreas Schwab  <schwab@redhat.com>
49627         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49628         Restore proper fallback handling.
49630 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
49632         [BZ #11701]
49633         * posix/group_member.c (__group_member): Correct checking loop.
49635         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
49636         OOM in getpwuid_r correctly.  Return error number when the caller
49637         should return, otherwise -1.
49638         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
49639         call returning > 0 value.
49640         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
49642 2010-06-07  Andreas Schwab  <schwab@redhat.com>
49644         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
49645         libc_nonshared.a from targets in modules-names.
49647 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
49649         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
49650         requires it.
49652 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
49654         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
49655         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
49656         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
49657         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
49659 2010-06-02  Andreas Schwab  <schwab@redhat.com>
49661         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
49663 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
49665         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
49666         and F_GETPIPE_SZ.
49667         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49668         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49669         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49670         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49671         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49672         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
49674 2010-06-14  Roland McGrath  <roland@redhat.com>
49676         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
49678 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
49680         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
49681         __REDIRECT followed by __THROW.
49682         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
49683         * posix/getopt.h (getopt): Likewise.
49685 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
49687         * hurd/lookup-at.c (__file_name_lookup_at): Accept
49688         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
49689         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
49690         in AT_FLAGS.
49691         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
49692         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
49694 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
49696         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
49698 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
49700         [BZ #11640]
49701         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49702         Properly check family and model.
49704 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
49706         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
49708 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
49710         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
49712 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
49714         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
49715         symbol reference.
49717 2010-05-19  Andreas Schwab  <schwab@redhat.com>
49719         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
49720         symbol reference.
49722 2010-05-21  Andreas Schwab  <schwab@redhat.com>
49724         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
49725         and internal_recvmmsg.
49726         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
49727         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
49728         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
49729         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
49731         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
49732         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49733         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49735 2010-05-20  Andreas Schwab  <schwab@redhat.com>
49737         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
49739 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
49741         POWER7 optimizations.
49742         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
49743         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
49745 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
49747         * version.h: Update for 2.13 development version.
49749 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
49751         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
49752         exceptions.  Return 0.
49754 2010-05-07  Roland McGrath  <roland@redhat.com>
49756         * elf/ldconfig.c (main): Add a const.
49758 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
49760         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
49761         (args_options): Add no-idn option.
49762         (ahosts_keys_int): Add idn_flags to ai_flags.
49763         (parse_option): Handle 'i' option to clear idn_flags.
49765         * malloc/malloc.c (_int_free): Possible race in the most recently
49766         added check.  Only act on the data if no current modification
49767         happened.
49769 See ChangeLog.17 for earlier changes.