Mention fixes for BZs 16194 and 16275 in NEWS
[platform/upstream/glibc.git] / ChangeLog
1 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
2
3         [BZ #17263]
4         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
5         <stdint.h>.
6         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
7         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
8
9 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
10
11         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
12
13         [BZ #17262]
14         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
15         and __x86_64__ when disabling x87 inline functions.
16
17 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
18
19         [BZ #17259]
20         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
21         asm statement with __cpuid_count.
22
23 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
24
25         * configure.ac: Change __ehdr_start code to dereference the struct.
26         Run readelf on the output to look for relocations.
27         * configure: Regenerated.
28
29 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
30
31         [BZ #17261]
32         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
33         value to 0.
34         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
35
36 2014-08-12  Roland McGrath  <roland@hack.frob.com>
37
38         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
39
40 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
41
42         [BZ #16892]
43         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
44         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
45
46 2014-08-12  Sean Anderson  <seanga2@gmail.com>
47
48         * malloc/malloc.c: Fix typo in comment.
49
50 2014-08-09  Allan McRae  <allan@archlinux.org>
51
52         * Regenerate libc.po.
53
54 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
55
56         * intl/tst-gettext2.sh: Check every lang file for creation.
57
58 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
59
60         * sysdeps/aarch64/fpu/math_private.h
61         (libc_feholdsetround_noex_aarch64_ctx): New function.
62
63 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
64
65         * sysdeps/arm/armv6/strcpy.S (strcpy):
66         Fix performance issue in misaligned cases.
67
68 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69
70         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
71         Move definition from termios.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.
78         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
79         Move definition to ioctl-types.h
80         (struct termio): Likewise.
81         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
82         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
83         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
84         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
85         Likewise.
86
87 2014-08-05  Richard Henderson  <rth@redhat.com>
88
89         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
90         exceptions.
91         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
92         Add fraiseexcpt.
93         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
94         Use __feraiseexcept.
95         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
96         Protect libm symbols with IS_IN_libm.
97
98         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
99
100 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
101
102         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
103
104 2014-08-04  Will Newton  <will.newton@linaro.org>
105
106         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
107         file.
108
109 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
110
111         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
112         variants for each function.
113
114 2014-08-04  Roland McGrath  <roland@hack.frob.com>
115
116         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
117         appended ...
118         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
119         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
120         appended ...
121         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
122         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
123         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
124         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
125         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
126         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
127         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
128         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
129         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
130         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
131         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
132         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
133         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
134         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
135         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
136         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
137         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
138         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
139         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
140         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
141         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
142         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
143         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
144         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
145         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
146         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
147         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
148         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
149         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
150         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
151         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
152         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
153         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
154         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
155         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
156         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
157         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
158         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
159         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
160         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
161         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
162         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
163         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
164         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
165         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
166         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
167         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
168         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
169         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
170         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
171         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
172         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
173         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
174         Update #include.
175         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
176         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
177
178 2014-08-04  Roland McGrath  <roland@hack.frob.com>
179
180         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
181         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
182         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
183         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
184         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
185         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
186
187 2014-08-04  Roland McGrath  <roland@hack.frob.com>
188
189         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
190         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
191         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
192         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
193
194 2014-08-04  Roland McGrath  <roland@hack.frob.com>
195
196         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
197         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
198         (__libc_vfork): Define function under this name.
199         (__vfork): Define as an alias.
200         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
201         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
202
203 2014-08-04  Roland McGrath  <roland@hack.frob.com>
204
205         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
206         that was previously under [RESET_PID].
207         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
208
209 2014-08-04  Andreas Schwab  <schwab@suse.de>
210
211         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
212
213 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
214
215         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
216         (main): Likewise.
217
218 2014-08-01  Roland McGrath  <roland@hack.frob.com>
219
220         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
221
222 2014-08-01  Richard Henderon  <rth@redhat.com>
223
224         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
225         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
226         typo in exact zero test.
227         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
228         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
229         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
230
231 2014-08-01  Roland McGrath  <roland@hack.frob.com>
232
233         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
234         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
235         * sysdeps/arm/sysdep.h: ... here.
236         [!__ASSEMBLER__]: Include <stdint.h>.
237
238 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
239
240         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
241         (HAVE_WCTYPE_H): Likewise.
242         (HAVE_ISWCTYPE): Likewise.
243         (ENABLE_NLS): Likewise.
244         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
245         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
246
247         * posix/regex_internal.c: Check if DEBUG is defined and is
248         set.
249
250         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
251         (HAVE_MBSRTOWCS): Likewise.
252         * posix/fnmatch.c: Include string.h unconditionally.
253
254 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
255
256         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
257         reversal.
258
259 2014-07-31  Roland McGrath  <roland@hack.frob.com>
260
261         * sysdeps/generic/safe-fatal.h: New file.
262         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
263         * nptl/forward.c: Include it.
264         (__pthread_unwind): Use __safe_fatal as default action, rather
265         than a bogus use of INTERNAL_SYSCALL that could never work.
266
267         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
268         * configure.ac (libc_cv_builtin_trap): New test.
269         * configure: Regenerated.
270         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
271         (ABORT_INSTRUCTION): Define using __builtin_trap.
272
273         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
274         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
275         * sysdeps/nptl/nptl-signals.h: New file.
276         * nptl/pthreadP.h: Include <nptl-signals.h>.
277
278 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
279
280         * sysdeps/s390/s390-64/utf16-utf32-z9.c
281         (ONE_DIRECTION): Define.
282         * sysdeps/s390/s390-64/utf8-utf16-z9.c
283         (ONE_DIRECTION): Define.
284         * sysdeps/s390/s390-64/utf8-utf32-z9.c
285         (ONE_DIRECTION): Define.
286
287 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
288
289         * sysdeps/s390/Makefile: Delete file.
290         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
291         * sysdeps/s390/__longjmp.c: Delete file.
292         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
293         Remove fields __flags and __reserved.
294         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
295         and add versioning.
296         * sysdeps/s390/rtld-__longjmp.c: Delete file.
297         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
298         * sysdeps/s390/rtld-setjmp.S: Likewise.
299         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
300         * sysdeps/s390/s390-32/__longjmp.c: ... here.
301         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
302         * sysdeps/s390/s390-32/setjmp.S: ... here.
303         Add versioning.
304         (__sigsetjmp): Remove setting __flags field.
305         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
306         * sysdeps/s390/s390-64/__longjmp.c: ... here.
307         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
308         * sysdeps/s390/s390-64/setjmp.S: ... here.
309         Add versioning.
310         (__sigsetjmp): Remove setting __flags field.
311         * sysdeps/s390/setjmp.S: Delete file.
312         * sysdeps/s390/sigjmp.c: Likewise.
313         * sysdeps/s390/v1-longjmp.c: Likewise.
314         * sysdeps/s390/v1-setjmp.h: Likewise.
315         * sysdeps/s390/v1-sigjmp.c: Likewise.
316         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
317         Remove v1-longjmp_chk.
318         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
319         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
320         Include debug/longjmp_chk.c and add versioning.
321         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
322         Include nptl/pt-longjmp.c and add versioning.
323         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
324         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
325         Include __longjmp.c.
326         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
327         Move to ...
328         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
329         (__getcontext): Remove setting __flags field.
330         Add versioning.
331         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
332         Don't restore upper high grps.
333         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
334         Likewise.
335         (__swapcontext): Remove setting uc_flags field.
336         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
337         Delete file.
338         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
339         Include __longjmp.c.
340         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
341         Move to ...
342         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
343         (__getcontext): Remove setting __flags field.
344         Add versioning.
345         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
346         (__swapcontext): Remove setting uc_flags field.
347         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
348         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
349         Remove fields uc_high_gprs and __reserved.
350         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
351         New file with reverted content.
352         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
353         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
354         Regenerated.
355         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
356         Regenerated.
357
358 2014-07-31  Andreas Schwab  <schwab@suse.de>
359
360         * config.h.in (HAVE_IFUNC): Define to 0.
361         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
362         definedness.
363
364 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
365
366         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
367         memmove-avx-unaligned, memcpy-avx-unaligned and
368         mempcpy-avx-unaligned.
369         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
370         Add tests for AVX memcpy functions.
371         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
372         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
373         memcpy_chk.
374         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
375         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
376         memmove_chk.
377         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
378         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
379         mempcpy_chk.
380         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
381         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
382         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
383
384 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
385
386         [BZ #17213]
387         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
388         powerpc64le.
389
390 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
391
392         [BZ #16839]
393         * manual/llio.texi: Add section about open file description locks.
394         * manual/examples/ofdlocks.c: Example of open file description
395         lock usage.
396         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
397         F_OFD_SETLK, and F_OFD_SETLKW.
398
399 2014-07-23  Allan McRae  <allan@archlinux.org>
400
401         * po/es.po: Update Spanish translation from translation project.
402
403 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
404
405         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
406
407 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
408
409         [BZ #17078]
410         * sysdeps/arm/dl-machine.h (elf_machine_rela)
411         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
412         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
413
414 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
415
416         [BZ #17088]
417         * math/fesetenv.c (__fesetenv)
418         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
419         * math/feupdateenv.c (__feupdateenv)
420         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
421
422         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
423         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
424         (__ASSUME_SOCKETCALL): Do not define.
425
426         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
427         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
428         (__ASSUME_SOCKETCALL): Do not define.
429         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
430         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
431         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
432         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
433         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
434         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
435         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
436         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
437
438         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
439         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
440         (__ASSUME_SOCKETCALL): Do not define.
441         (__ASSUME_IPC64): Define unconditionally.
442         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
443         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
444         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
445         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
446         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
447         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
448         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
449         Likewise.
450
451         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
452         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
453         (__ASSUME_SOCKETCALL): Do not define.
454         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
455         (__ASSUME_FUTEX_LOCK_PI): Likewise.
456         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
457         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
458         (__ASSUME_REQUEUE_PI): Define unconditionally.
459         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
460         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
461         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
462         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
463         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
464         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
465
466         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
467         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
468         (__ASSUME_SOCKETCALL): Do not define.
469         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
470         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
471         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
472         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
473         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
474         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
475
476         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
477         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
478         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
479         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
480         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
481         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
482         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
483         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
484         (__ASSUME_GETCPU_SYSCALL): Likewise.
485
486         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
487         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
488         cases for individual architectures.
489         * sysdeps/gnu/configure: Regenerated.
490         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
491         LIBC_SLIBDIR_RTLDDIR.
492         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
493         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
494         LIBC_SLIBDIR_RTLDDIR.
495         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
497         LIBC_SLIBDIR_RTLDDIR.
498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
499         Regenerated.
500         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
501         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
502         file.
503         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
504         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
505         file.
506         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
507         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
508         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
509         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
510
511         * sysdeps/aarch64/shlib-versions: Move to ...
512         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
513         * sysdeps/alpha/shlib-versions: Move to ...
514         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
515         * sysdeps/arm/shlib-versions: Move to ...
516         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
517         * sysdeps/hppa/shlib-versions: Move all contents except for
518         libgcc_s entry to ...
519         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
520         entry from ...
521         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
522         * sysdeps/ia64/shlib-versions: Move to ...
523         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
524         entry from ...
525         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
526         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
527         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
528         * sysdeps/microblaze/shlib-versions: Move to ...
529         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
530         * sysdeps/mips/shlib-versions: Move to ...
531         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
532         entry from ...
533         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
534         * sysdeps/tile/shlib-versions: Move to ...
535         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
536         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
537         from ...
538         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
539         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
540         entry from ...
541         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
542
543 2014-07-17  Will Newton  <will.newton@linaro.org>
544
545         * sysdeps/arm/bits/atomic.h
546         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
547         (__arch_compare_and_exchange_bool_16_int): Likewise.
548         (__arch_compare_and_exchange_bool_64_int): Likewise.
549
550         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
551         into an #else block.
552
553 2014-07-16  Roland McGrath  <roland@hack.frob.com>
554
555         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
556         just Linux configurations.  Test empirically that the compiler sets
557         __ARM_EABI__, rather than using the tuple to decide.
558         * sysdeps/arm/preconfigure: Regenerated.
559         * sysdeps/unix/sysv/linux/arm/configure: File removed.
560         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
561         contents appended ...
562         * sysdeps/arm/configure.ac: ... here.
563         * sysdeps/arm/configure: Regenerated.
564
565 2014-07-15  Roland McGrath  <roland@hack.frob.com>
566
567         * nptl/pthread_kill.c: New file.
568         * nptl/pthread_sigmask.c: New file.
569         * nptl/pthread_sigqueue.c: New file.
570
571         * sysdeps/nptl/lowlevellock.h: New file.
572         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
573         * sysdeps/nptl/lowlevellock-futex.h: New file.
574
575         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
576         Remove dead declarations.
577
578 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
579
580         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
581         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
582         config-cflags-avx2.
583         * sysdeps/x86_64/configure.ac: Likewise.
584         * sysdeps/i386/configure: Regenerated.
585         * sysdeps/x86_64/configure: Likewise.
586         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
587         memset-avx2 only if config-cflags-avx2 is yes.
588         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
589         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
590         defined.
591         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
592         only if HAVE_AVX2_SUPPORT is defined.
593         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
594
595 2014-07-14  Alan Modra  <amodra@gmail.com>
596
597         [BZ #17153]
598         * elf/elf.h (DT_PPC64_NUM): Correct value.
599         * NEWS: Add to fixed bug list.
600
601 2014-07-13  Jim Meyering  <meyering@fb.com>
602
603         [BZ 17150]
604         regex: don't deref NULL upon heap allocation failure
605         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
606         failure in one more place.
607         To trigger the segfault, configure grep -with-included-regex,
608         build it, and run these commands:
609         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
610
611 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
612
613         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
614
615 2014-07-11  Richard Henderson  <rth@redhat.com>
616
617         * sysdeps/aarch64/libm-test-ulps: Update.
618
619 2014-07-10  Florian Weimer  <fweimer@redhat.com>
620
621         [BZ #17135]
622         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
623         * nptl/allocatestack.c (__nptl_setxid_error): New function.
624         (__nptl_setxid): Initialize error member.  Call
625         __nptl_setxid_error.
626         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
627         * nptl/descr.h (struct xid_command): Add error member.
628         * nptl/tst-setuid3.c: New file.
629         * nptl/Makefile (tests): Add it.
630
631 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
632
633         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
634         New define.
635         (__lll_trylock): Use __lll_base_trylock.
636         (__lll_cond_trylock): Likewise.
637
638 2014-07-10  Roland McGrath  <roland@hack.frob.com>
639
640         * nptl/pthread_create.c (start_thread): Use atomic_or and
641         lll_futex_wake directly rather than lll_robust_dead.
642         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
643         (lll_robust_dead): Macro removed.
644         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
645         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
646         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
647         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
648         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
649         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
650         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
651         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
652         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
653         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
654         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
655         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
656         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
657         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
658         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
659
660         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
661         Use atomic_compare_and_exchange_val_acq directly rather than
662         lll_robust_trylock.
663         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
664         (__lll_robust_trylock, lll_robust_trylock): Removed.
665         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
666         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
667         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
668         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
669         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
670         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
671         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
672         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
673         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
674         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
675         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
676         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
677         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
678         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
679
680 2014-07-02  Florian Weimer  <fweimer@redhat.com>
681
682         * manual/locale.texi (Locale Names): New section documenting
683         locale name syntax.  Adjust menu and node chaining accordingly.
684         (Choosing Locale): Reference Locale Names, Locale Categories.
685         Mention setting LC_ALL=C.  Reflect that name syntax is now
686         documented.
687         (Locale Categories): New section title.  Reference Locale Names.
688         LC_ALL is an environment variable, but not a category.
689         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
690         description, now in Locale Name.  Reference that section.  Locale
691         name syntax is now documented.
692
693 2014-07-02  Florian Weimer  <fweimer@redhat.com>
694
695         [BZ #17137]
696         * locale/findlocale.c (name_present, valid_locale_name): New
697         functions.
698         (_nl_find_locale): Use the loc_name variable to store name
699         candidates.  Call name_present and valid_locale_name to check and
700         validate locale names.  Return an error if the locale is invalid.
701
702 2014-07-02  Florian Weimer  <fweimer@redhat.com>
703
704         * locale/setlocale.c (setlocale): Use strdup for allocating
705         composite name copy.
706
707 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
708
709         Sync up with gnulib.
710         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
711         [!_LIBC && ENABLE_NLS]: Include gettext.h.
712         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
713         and _GL_ARG_NONNULL.
714         [USE_UNLOCKED_IO]: Include unlocked-io.h.
715         [!_LIBC]: Include code for Windows and Cygwin.
716         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
717         Include prototype for int strerror_r.
718         [!_LIBC] (is_open): New function.
719         (flush_stdout): New function.
720         (print_errno_message): Use it.
721         (error): Likewise.
722         (error_at_line): Likewise.
723         (error_tail) Add function attribute macros.  Use
724         __builtin_expect.
725
726         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
727
728         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
729
730         * io/ftw.c: Include sys/param.h unconditionally.
731
732         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
733
734         [BZ #17125]
735         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
736         libc_freeres_ptr.
737         (freecache): New function to free CACHE on exit.
738
739         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
740         initialization.
741
742 2014-07-09  David S. Miller  <davem@davemloft.net>
743
744         * sysdeps/sparc/fpu/libm-test-ulps: Update.
745
746         * sysdeps/sparc/nptl/internaltypes.h: Delete.
747         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
748         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
749         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
750         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
751         * sysdeps/sparc/nptl/sem_init.c: Likewise.
752         * sysdeps/sparc/nptl/sem_post.c: Likewise.
753         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
754         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
755         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
756         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
757         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
758         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
759
760 2014-07-09  Andreas Schwab  <schwab@suse.de>
761
762         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
763         output.
764         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
765         (do_test): Likewise.
766
767         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
768
769 2014-07-09  Will Newton  <will.newton@linaro.org>
770
771         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
772         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
773         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
774         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
775         * sysdeps/hppa/start.S (_start): Likewise.
776
777 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
778
779         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
780
781         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
782         defined.
783
784 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
785
786         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
787         after checking that it is non-NULL.
788
789         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
790
791 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
792
793         * sysdeps/powerpc/memmove.c: Remove file.
794         * sysdeps/powerpc/powerpc32/power4/memcopy.h
795         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
796         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
797         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
798         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
799         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
800         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
801         string memmove instead of removed powerpc one.
802
803         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
804         [weak_alias]: Fix compiler warning due trailing data.
805         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
806         [weak_alias]: Likewise.
807         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
808         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
809
810         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
811         (__libc_ifunc_impl_list): Add memmove functions.
812
813 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
814
815         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
816         Remove code.
817         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
818         Likewise
819         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
820         Likewise
821         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
822         Likewise
823         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
824         Likewise
825         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
826         Likewise
827         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
828         Likewise
829         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
830         Likewise
831         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
832         Likewise
833         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
834         Likewise
835         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
836         Likewise
837         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
838         Likewise
839         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
840         Likewise
841         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
842         Likewise
843         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
844         Likewise
845         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
846         Likewise
847         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
848         Likewise
849
850 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
851
852         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
853         to avoid alignment traps in non-cacheable memory.
854         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
855
856         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
857         multiarch objects.
858         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
859         file: multiarch power7 memmove.
860         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
861         multiarch default memmove.
862         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
863         multiarch memove for powerpc32/power4.
864
865         * string/bcopy.c: Use full path to include memmove.c.
866         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
867         multiarch objects.
868         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
869         bcopy for powerpc64.
870         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
871         bcopy for powerpc64.
872         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
873         and memmove implementations.
874         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
875         optimized multiarch memmove for POWER7/powerpc64.
876         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
877         default multiarch memmove for powerpc64.
878         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
879         multiarch for powerpc64.
880         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
881         for POWER7/powerpc64.
882         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
883         memmove for POWER7/powerpc64.
884
885         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
886         glibc default one.
887
888         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
889         __ELF_NATIVE_CLASS equal to 64.
890
891 2014-07-07  Roland McGrath  <roland@hack.frob.com>
892
893         * sysdeps/nptl/lowlevellock.h: File removed.
894
895         * NEWS: NPTL is no longer an add-on!
896         * nptl/internaltypes.h: Moved ...
897         * sysdeps/nptl/internaltypes.h: ... here.
898         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
899         * sysdeps/nptl/fork.c: Likewise.
900         * sysdeps/nptl/gai_misc.h: Likewise.
901         * sysdeps/nptl/librt-cancellation.c: Likewise.
902         * sysdeps/nptl/jmp-unwind.c: Likewise.
903         * sysdeps/nptl/setxid.h: Likewise.
904         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
905         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
906         * sysdeps/unix/sysv/linux/arm/Implies: New file.
907         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
908         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
909         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
910         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
911         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
912         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
913         * sysdeps/unix/sysv/linux/mips/Implies: New file.
914         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
915         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
916         * sysdeps/unix/sysv/linux/sh/Implies: New file.
917         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
918         * sysdeps/unix/sysv/linux/tile/Implies: New file.
919         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
920         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
921         * nptl/Makeconfig: Moved ...
922         * sysdeps/nptl/Makeconfig: ... here.
923         * nptl/configure: File removed.
924         * nptl/ANNOUNCE: File removed.
925         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
926         * sysdeps/unix/sysv/linux/configure: Regenerated.
927
928         * nptl/Makefile (routines): Add libc_pthread_init,
929         libc_multiple_threads, register-atfork and unregister-atfork.
930         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
931         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
932         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
933         pthread-pi-defines.sym, structsem.sym.
934         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
935         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
936         [$(subdir) = nptl] (tests): Add tst-setgetname.
937         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
938         * sysdeps/unix/sysv/linux/sigaction.c: Just include
939         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
940         [!LIBC_SIGACTION]: Remove aliases.
941         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
942         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
943         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
944         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
945         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
946         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
947         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
948         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
949         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
950         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
951         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
952         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
953         __libc_allocate_rtsig_private.
954         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
955         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
956         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
957         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
958         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
959         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
960         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
961         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
962         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
963         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
964         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
965         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
966         * nptl/internaltypes.h: ... here.
967         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
968         * sysdeps/nptl/jmp-unwind.c: ... here.
969         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
970         * nptl/libc-lowlevellock.c: ... here.
971         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
972         * nptl/libc_multiple_threads.c: ... here.
973         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
974         * nptl/libc_pthread_init.c: ... here.
975         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
976         * nptl/lowlevelbarrier.sym: ... here.
977         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
978         * nptl/lowlevelcond.sym: ... here.
979         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
980         * nptl/lowlevellock.c: ... here.
981         * nptl/lowlevellock.h: Moved ...
982         * sysdeps/nptl/lowlevellock.h: ... here.
983         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
984         * nptl/lowlevelrobustlock.c: ... here.
985         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
986         * nptl/lowlevelrobustlock.sym: ... here.
987         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
988         * nptl/lowlevelrwlock.sym: ... here.
989         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
990         * nptl/pt-fork.c: ... here.
991         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
992         * nptl/pthread-pi-defines.sym: ... here.
993         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
994         * nptl/pthread_attr_getaffinity.c: ... here.
995         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
996         * nptl/pthread_attr_setaffinity.c: ... here.
997         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
998         * nptl/pthread_mutex_cond_lock.c: ... here.
999         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1000         Update #include.
1001         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
1002         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
1003         * nptl/pthread_once.c: ... here, replacing old file.
1004         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
1005         * nptl/pthread_yield.c: ... here.
1006         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
1007         * nptl/register-atfork.c: ... here.
1008         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1009         * nptl/sem_post.c: ... here.
1010         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1011         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1012         * nptl/sem_timedwait.c: ... here.
1013         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1014         * nptl/sem_trywait.c: ... here.
1015         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1016         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
1017         * nptl/sem_wait.c: ... here.
1018         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
1019         * nptl/structsem.sym: ... here.
1020         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
1021         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
1022         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
1023         * nptl/unregister-atfork.c: ... here.
1024         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
1025         * nptl/unwindbuf.sym: ... here.
1026         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
1027         * sysdeps/nptl/fork.c: ... here.
1028         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
1029         * sysdeps/nptl/fork.h: ... here.
1030         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
1031         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
1032         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
1033         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
1034         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1035         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1036         * sysdeps/unix/sysv/linux/getpid.c: ... here.
1037         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1038         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1039         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
1040         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
1041         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
1042         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
1043         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
1044         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
1045         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
1046         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
1047         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
1048         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
1049         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
1050         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
1051         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
1052         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1053         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1054         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1055         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1056         * sysdeps/unix/sysv/linux/raise.c: ... here.
1057         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1058         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1059         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1060         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1061         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1062         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1063         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1064         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1065         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1066         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1067         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1068         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1069         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1070         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1071         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1072
1073 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1074
1075         * sysdeps/generic/memcopy.h: Add comment for
1076         MEMCPY_OK_FOR_FWD_MEMMOVE.
1077
1078 2014-07-04  Will Newton  <will.newton@linaro.org>
1079
1080         * string/memchr.c: Merge from gnulib.
1081         [_LIBC]: Remove conditionals.
1082         (__ptr_t): Remove define.
1083         (LONG_MAX_32_BITS): Likewise.
1084         (LONG_MAX): Likewise.
1085         (MEMCHR): Use ANSI prototype and optimize algorithm.
1086
1087         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1088
1089 2014-07-03  Roland McGrath  <roland@hack.frob.com>
1090
1091         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1092         (lll_futex_timed_wait_bitset): Fix syscall argument count.
1093
1094         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1095         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1096         in a bare environment with no <stdlib.h> installed.
1097         * sysdeps/nptl/configure: Regenerated.
1098
1099         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1100
1101         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1102         AC_EGREP_CPP for kernel header checks, so they only succeed if
1103         including <linux/version.h> actually works right.
1104         * sysdeps/unix/sysv/linux/configure: Regenerated.
1105
1106         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1107         value so it's not diagnosed as unused.
1108
1109         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1110         thing) with "ifeq ($(subdir),rt)".
1111
1112 2014-07-03  Richard Henderson  <rth@redhat.com>
1113
1114         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1115         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1116         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1117
1118         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1119         (math_force_eval): New.
1120
1121         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1122         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1123
1124         * sysdeps/alpha/fpu/s_round.c: Remove file.
1125         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1126
1127         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1128         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1129         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1130         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1131         (_dl_start, print_statistics): Likewise.
1132         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1133         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1134
1135         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1136         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1137         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1138         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1139         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1140         (HP_SMALL_TIMING_AVAIL): Define.
1141         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1142         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1143         (HP_SMALL_TIMING_AVAIL): Define.
1144         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1145         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1146
1147         * sysdeps/aarch64/hp-timing.h: New file.
1148
1149         * sysdeps/generic/hp-timing.h: Remove dead comment.
1150         * sysdeps/generic/hp-timing-common.h: New file.
1151         * sysdeps/alpha/hp-timing.h: Include it.
1152         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1153         * sysdeps/i386/i686/hp-timing.h: Likewise.
1154         * sysdeps/ia64/hp-timing.h: Likewise.
1155         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1156         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1157         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1158         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1159         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1160         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1161         (hp_timing_t): New.
1162
1163         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1164         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1165         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1166         * elf/rtld.c (_dl_start_final): Likewise.
1167         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1168         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1169         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1170         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1171         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1172         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1173         (HP_TIMING_DIFF_INIT): Remove.
1174         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1175         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1176         (HP_TIMING_DIFF_INIT): Remove.
1177         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1178         * sysdeps/i386/i686/hp-timing.c: Remove file.
1179         * sysdeps/x86_64/hp-timing.c: Remove file.
1180         * sysdeps/ia64/hp-timing.c: Remove file.
1181         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1182         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1183         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1184         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1185
1186         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1187         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1188         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1189         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1190         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1191         (HP_TIMING_ACCUM): Remove.
1192         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1193         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1194         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1195
1196         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1197         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1198         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
1199         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
1200         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
1201         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1202         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
1203         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1204
1205         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
1206
1207 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
1208
1209         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1210
1211 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1212
1213         Sync up with gettext.
1214         * intl/loadmsgcat.c: Define O_BINARY if not defined.
1215         [_MSC_VER]: Include malloc.h
1216         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1217         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1218         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
1219         TEMP_FAILURE_RETRY.  Cast return of alloca.
1220         [!_LIBC] Call gl_rwlock_init.
1221         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1222
1223 2014-07-02  Roland McGrath  <roland@hack.frob.com>
1224
1225         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1226         before checking its value.
1227
1228 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1229
1230         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1231
1232         * debug/memcpy_chk.c: Don't include pagecopy.h.
1233         * debug/mempcpy_chk.c: Likewise.
1234         * string/memcpy.c: Likewise.
1235         * string/memmove.c: Likewise.
1236         * sysdeps/powerpc/memmove.c: Likewise.
1237         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
1238         definition of PAGE_COPY_FWD_MAYBE here...
1239         * sysdeps/generic/pagecopy.h: ... from here.
1240         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1241
1242 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1243             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1244
1245         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1246         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1247         optimizations.
1248         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1249         (__libc_ifunc_impl_list): Likewise.
1250         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1251         multiarch strcat for PPC64.
1252         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1253         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1254
1255 2014-07-02  Roland McGrath  <roland@hack.frob.com>
1256
1257         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1258
1259 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1260
1261         * intl/loadmsgcat.c: Remove declaration of
1262         get_sysdep_segment_value.
1263         (get_sysdep_segment_value): Use ISO C style.
1264         (_nl_load_domain): Use ISO C style.  Get rid of redundant
1265         semicolon.  Fix typo and formatting in comment.
1266         (_nl_unload_domain): Use ISO C style.
1267
1268         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1269
1270 2014-07-02  Will Newton  <will.newton@linaro.org>
1271
1272         * malloc/obstack.c: Merge from gnulib master.
1273         [HAVE_CONFIG_H]: Remove conditional code.
1274         [!_LIBC]: Include config.h.
1275         [!ELIDE_CODE]: Don't include inttypes.h, include
1276         stdint.h unconditionally.
1277         (print_and_abort): Mark as _Noreturn.
1278         (_obstack_allocated_p): Mark as __attribute_pure__.
1279         (obstack_free): Rename to __obstack_free.
1280         [!__attribute__]: Remove conditional code.
1281         * malloc/obstack.h: Merge from gnulib master.
1282         [__cplusplus]: Move conditional down.
1283         [!__attribute_pure__]: Define __attribute_pure__ here
1284         if it is not already defined.
1285         (_obstack_memory_used): Mark as __attribute_pure__.
1286         [!__obstack_free]: Define as obstack_free.
1287         [__GNUC__]: Remove check for ancient NeXT gcc.
1288
1289 2014-07-02  Will Newton  <will.newton@linaro.org>
1290             Paul Eggert  <eggert@cs.ucla.edu>
1291
1292         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1293
1294 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1295
1296         * resolv/gethnamaddr.c: Add comment warning that the file is
1297         not maintained.
1298
1299 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
1300
1301         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1302         entries.
1303
1304         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1305         entry for aio_cancel and aio_cancel64.
1306         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1307         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1308         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1309         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1310         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1311         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1312         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1313         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1314         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1315         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1316         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1317         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1318         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1319
1320 2014-07-01  Roland McGrath  <roland@hack.frob.com>
1321
1322         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
1323         * nptl/pthread_mutex_lock.c: Likewise.
1324         * nptl/pthread_mutex_timedlock.c: Likewise.
1325         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
1326
1327 2014-07-01  Richard henderson  <rth@redhat.com>
1328
1329         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
1330         (__isnan, __isnanl): Remove.
1331         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
1332
1333         * sysdeps/alpha/fpu/libm-test-ulps: Update.
1334
1335 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
1336
1337         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1338
1339 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1340
1341         * resolv/nss_dns/dns-host.c (getanswer_r)
1342         [MULTI_PTRS_ARE_ALIASES]: Remove code.
1343
1344 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
1345
1346         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1347         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
1348         undefine.
1349         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
1350         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
1351
1352 2014-07-01  Roland McGrath <roland@hack.frob.com>
1353
1354         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
1355         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
1356
1357         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
1358         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
1359
1360         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
1361         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
1362         ... here.
1363         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
1364         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
1365
1366         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
1367         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
1368         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
1369         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
1370
1371         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
1372         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
1373         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
1374         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
1375         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
1376         Moved ...
1377         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
1378         ... here.
1379         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
1380         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
1381         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
1382         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
1383         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
1384         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
1385         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
1386         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
1387         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
1388         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
1389         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
1390         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
1391         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
1392         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
1393         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
1394         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
1395         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
1396         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
1397         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1398         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1399         ... here.
1400         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1401         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1402         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1403         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1404         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1405         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1406         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1407         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1408
1409 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
1410
1411         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1412         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1413         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1414         Add sysdep.
1415
1416 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1417
1418         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1419
1420 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
1421
1422         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1423         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1424
1425         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1426
1427         * sysdeps/arm/libm-test-ulps: Regenerated.
1428
1429 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
1430             Roland McGrath <roland@hack.frob.com>
1431
1432         * test-skeleton.c (signal_handler): Kill the whole process group
1433         before killing the child individually.
1434         (main): Report any failure on `setpgid'.
1435
1436 2014-06-30  Roland McGrath  <roland@hack.frob.com>
1437
1438         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1439         from _TLS_H to _ARM_NPTL_TLS_H.
1440         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1441         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1442
1443 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
1444
1445         [BZ #16539]
1446         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1447         (__expm1l): Return argument unchanged when small but not
1448         subnormal.
1449
1450         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1451         include macro name.
1452         (_FP_UNPACK_RAW_1_P): Likewise.
1453         (_FP_PACK_RAW_1): Likewise.
1454         (_FP_PACK_RAW_1_P): Likewise.
1455         (_FP_MUL_MEAT_1_wide): Likewise.
1456         (_FP_MUL_MEAT_DW_1_hard): Likewise.
1457         (_FP_MUL_MEAT_1_hard): Likewise.
1458         (_FP_DIV_MEAT_1_imm): Likewise.
1459         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1460         (_FP_DIV_MEAT_1_udiv): Likewise.
1461         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1462         (_FP_UNPACK_RAW_2): Likewise.
1463         (_FP_UNPACK_RAW_2_P): Likewise.
1464         (_FP_PACK_RAW_2): Likewise.
1465         (_FP_PACK_RAW_2_P): Likewise.
1466         (_FP_MUL_MEAT_DW_2_wide): Likewise.
1467         (_FP_MUL_MEAT_2_wide): Likewise.
1468         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1469         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1470         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1471         (_FP_MUL_MEAT_2_gmp): Likewise.
1472         (_FP_DIV_MEAT_2_udiv): Likewise.
1473         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1474         (_FP_FRAC_SRL_4): Likewise.
1475         (_FP_FRAC_SRST_4): Likewise.
1476         (_FP_FRAC_SRS_4): Likewise.
1477         (_FP_UNPACK_RAW_4): Likewise.
1478         (_FP_UNPACK_RAW_4_P): Likewise.
1479         (_FP_PACK_RAW_4): Likewise.
1480         (_FP_PACK_RAW_4_P): Likewise.
1481         (_FP_MUL_MEAT_DW_4_wide): Likewise.
1482         (_FP_MUL_MEAT_4_wide): Likewise.
1483         (_FP_MUL_MEAT_4_gmp): Likewise.
1484         (umul_ppppmnnn): Likewise.
1485         (_FP_DIV_MEAT_4_udiv): Likewise.
1486         (__FP_FRAC_ADD_4): Likewise.
1487         (__FP_FRAC_SUB_3): Likewise.
1488         (__FP_FRAC_SUB_4): Likewise.
1489         (__FP_FRAC_DEC_3): Likewise.
1490         (__FP_FRAC_DEC_4): Likewise.
1491         (__FP_FRAC_ADDI_4): Likewise.
1492         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1493         (_FP_FRAC_SRL_8): Likewise.
1494         (_FP_FRAC_SRS_8): Likewise.
1495
1496         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1497         include macro name.
1498         (FP_UNPACK_RAW_EP): Likewise.
1499         (FP_PACK_RAW_E): Likewise.
1500         (FP_PACK_RAW_EP): Likewise.
1501         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1502         (_FP_ISSIGNAN): Likewise.
1503         (_FP_ADD_INTERNAL): Likewise.
1504         (_FP_FMA): Likewise.
1505         (_FP_CMP): Likewise.
1506         (_FP_SQRT): Likewise.
1507         (_FP_TO_INT): Likewise.
1508         (_FP_FROM_INT): Likewise.
1509         (FP_EXTEND): Likewise.
1510         (_FP_DIV_MEAT_N_loop): Likewise.
1511
1512 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
1513
1514         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1515         throughout.
1516
1517 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
1518
1519         [BZ #17097]
1520         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1521         result with correct sign in case of exponents that produce
1522         overflow except for X very close to 1.
1523
1524 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
1525
1526         mktime: merge #if/#ifdef usage from glibc
1527         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1528         as that works with both Glibc's and Gnulib's style.
1529         See thread starting at Siddhesh Poyarekar's bug report at:
1530         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1531
1532 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1533
1534         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
1535         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
1536         * sysdeps/tile/tilegx/memmove.c: Remove file.
1537
1538 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
1539
1540         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
1541         abi-name definition.
1542         * scripts/soversions.awk: Do not handle or generate ABI lines.
1543         * shlib-versions: Remove ABI entries.
1544         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
1545         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
1546
1547 2014-06-27  Roland McGrath  <roland@hack.frob.com>
1548
1549         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
1550         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
1551         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
1552         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
1553         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
1554         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
1555         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1556         Moved ...
1557         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
1558         ... here.
1559         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
1560         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
1561         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
1562         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
1563         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
1564         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
1565         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
1566         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
1567         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
1568         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
1569         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
1570         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
1571         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1572         Moved ...
1573         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
1574         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
1575         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
1576         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1577         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
1578         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1579         Moved ...
1580         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
1581         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1582         Moved ...
1583         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
1584         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
1585         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
1586         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1587         Moved ...
1588         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
1589         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
1590         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
1591         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
1592         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
1593         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
1594         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
1595         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1596         Moved ...
1597         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
1598         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
1599         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
1600         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
1601         Moved ...
1602         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
1603         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
1604         Moved ...
1605         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
1606         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
1607         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
1608         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1609         Moved ...
1610         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
1611         ... here.
1612         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1613         Identical file removed.
1614         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1615         Moved ...
1616         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
1617         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1618         Identical file removed.
1619         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
1620         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
1621         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1622         Moved ...
1623         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
1624         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1625         Identical file removed.
1626         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
1627         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
1628         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
1629         Identical file removed.
1630         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
1631         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
1632         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
1633         Identical file removed.
1634         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
1635         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
1636         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1637         Identical file removed.
1638         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1639         Moved ...
1640         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
1641         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1642         Identical file removed.
1643         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1644         Moved ...
1645         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
1646         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
1647         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
1648         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
1649         Identical file removed.
1650         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1651         Moved ...
1652         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
1653         ... here.
1654         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1655         Identical file removed.
1656         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1657         Moved ...
1658         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
1659         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1660         Identical file removed.
1661         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
1662         Moved ...
1663         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
1664         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
1665         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
1666         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
1667         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
1668         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1669         Moved ...
1670         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
1671         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
1672         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
1673
1674         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
1675         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
1676         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
1677         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
1678         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
1679
1680 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
1681
1682         [BZ #17092]
1683         * nscd/nscd.c (monitor_child): Return exit status of child
1684         instead of return value from wait syscall.
1685
1686 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
1687
1688         * configure.ac (libc_commonpagesize): Remove variable.
1689         (libc_relro_required): Likewise.
1690         (libc_cv_z_relro): Remove configure test.
1691         * configure: Regenerated.
1692         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
1693         variable.
1694         (libc_relro_required): Likewise.
1695         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
1696         (libc_relro_required): Likewise.
1697         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
1698         (libc_relro_required): Likewise.
1699         * sysdeps/arm/preconfigure: Regenerated.
1700         * sysdeps/ia64/preconfigure: Remove file.
1701         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
1702         variable.
1703         (libc_relro_required): Likewise.
1704
1705         [BZ #16561]
1706         [BZ #16562]
1707         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
1708         (__ieee754_yn): Set FE_TONEAREST mode internally and then
1709         recompute overflowing results in original rounding mode.
1710         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
1711         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
1712         recompute overflowing results in original rounding mode.
1713         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
1714         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1715         recompute overflowing results in original rounding mode.
1716         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
1717         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1718         recompute overflowing results in original rounding mode.
1719         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
1720         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1721         recompute overflowing results in original rounding mode.
1722         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
1723         (libc_feholdsetround_ctx): New macro.
1724         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
1725         * sysdeps/i386/fpu/libm-test-ulps: Update.
1726         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
1727
1728 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1729
1730         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1731         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
1732         corresponding .cpsetup call.
1733
1734 2014-06-26  Roland McGrath  <roland@hack.frob.com>
1735
1736         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
1737         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
1738         * sysdeps/arm/Makefile [$(subdir) = csu]
1739         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
1740         (static-only-routines): Add aeabi_read_tp here.
1741         (shared-only-routines): Add libc-aeabi_read_tp here.
1742         (CFLAGS-libc-start.c): Add -fexceptions here.
1743         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
1744         (sysdep_routines, static-only-routines, shared-only-routines):
1745         Don't add to these here.
1746         (CFLAGS-libc-start.c): Likewise.
1747
1748         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
1749         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1750         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
1751         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1752         * sysdeps/arm/Makefile [$(subdir) = rt]
1753         (librt-sysdep_routines, librt-shared-only-routines):
1754         Append rt-aeabi_unwind_cpp_pr1 here.
1755         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
1756         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
1757         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
1758         (libpthread-sysdep_routines, libpthread-shared-only-routines):
1759         Append nptl-aeabi_unwind_cpp_pr1 here.
1760         (tests): Filter out tst-cleanupx4 here.
1761         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
1762         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
1763         Don't do those here.
1764
1765 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1766
1767         * scripts/list-sources.sh: Do not handle ports specially.
1768
1769 2014-06-26  Roland McGrath  <roland@hack.frob.com>
1770
1771         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1772         * sysdeps/arm/feupdateenv.c: Likewise.
1773
1774         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1775
1776 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1777
1778         * manual/texinfo.tex: Update to version 2014-05-05.10 with
1779         trailing whitespace removed.
1780         * scripts/config.guess: Update to version 2014-03-23.
1781         * scripts/config.sub: Update to version 2014-05-01
1782         * scripts/install-sh: Update to version 2013-12-25.23.
1783         * scripts/move-if-change: Update from gnulib.
1784
1785 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1786
1787         * debug/memmove_chk.c: Remove pagecopy.h include.
1788
1789 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
1790
1791         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
1792         identical to gnulib mktime.
1793
1794 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
1795
1796         * configure.ac: Do not test for machine being rs6000.  Do not test
1797         for powerpc*-*soft.
1798         * configure: Regenerated.
1799
1800         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1801         test.
1802         * configure: Regenerated.
1803         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1804         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1805         Remove configure test.
1806         * sysdeps/arm/configure: Regenerated.
1807         * sysdeps/nptl/configure.ac: Do not check
1808         libc_cv_asm_cfi_directives.
1809         * sysdeps/nptl/configure: Regenerated.
1810         * sysdeps/x86_64/nptl/configure.ac: Remove file.
1811         * sysdeps/x86_64/nptl/configure: Remove generated file.
1812         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1813         unconditional.
1814         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1815
1816 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1817
1818         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1819         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1820         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1821         it is defined.
1822
1823         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1824         instead of whether it is defined.
1825         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1826         * sysdeps/hppa/dl-machine.h: Likewise.
1827         * sysdeps/ia64/dl-machine.h: Likewise.
1828         * sysdeps/m68k/dl-machine.h: Likewise.
1829         * sysdeps/microblaze/dl-machine.h: Likewise.
1830         * sysdeps/mips/dl-machine.: Likewise.
1831         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1832         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1833         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1834         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1835         * sysdeps/sh/dl-machine.h: Likewise.
1836         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1837         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1838         * sysdeps/tile/dl-machine.h: Likewise.
1839         * sysdeps/x86_64/dl-machine.h: Likewise.
1840
1841         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1842         code.
1843         (verify_persistent_db): Likewise.
1844
1845 2014-06-26  Roland McGrath  <roland@hack.frob.com>
1846
1847         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1848         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1849         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1850         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1851         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1852         Moved ...
1853         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1854         ... here.
1855         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1856         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
1857         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
1858         Identical file removed.
1859         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
1860         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
1861         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
1862         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
1863         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
1864         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
1865         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
1866         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
1867         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
1868         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
1869         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1870         Moved ...
1871         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
1872         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
1873         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
1874         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
1875         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
1876         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1877         Moved ...
1878         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
1879         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
1880         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
1881         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
1882         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
1883         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1884         Identical file removed.
1885         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
1886         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
1887         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
1888         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
1889         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
1890         Moved ...
1891         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
1892         ... here.
1893         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
1894         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
1895         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
1896         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
1897         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
1898         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
1899         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
1900         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
1901         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
1902         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
1903         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1904         Moved ...
1905         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
1906         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
1907         Moved ...
1908         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
1909         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
1910         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
1911         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
1912         Moved ...
1913         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
1914         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
1915         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
1916
1917         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
1918         folded into ...
1919         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
1920         * sysdeps/unix/sysv/linux/s390/Versions
1921         (libpthread: GLIBC_2.19): New version set.
1922         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
1923         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
1924         (librt: GLIBC_2.3.3): New version set.
1925         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
1926         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
1927         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
1928         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
1929         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
1930         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
1931         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
1932         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
1933         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
1934         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
1935         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
1936         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
1937         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
1938         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
1939         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
1940         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
1941         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
1942         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
1943         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
1944         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
1945         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
1946         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
1947         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
1948         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
1949         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
1950         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
1951         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
1952         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
1953         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
1954         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
1955         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
1956         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
1957         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
1958         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
1959         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
1960         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
1961         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
1962         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
1963         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
1964         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
1965         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
1966         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
1967         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
1968         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
1969         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
1970
1971         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
1972         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
1973         (__libc_vfork): Define the function under this name.
1974         [!NOT_IN_libc] (__vfork): Make this an alias.
1975         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1976         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
1977         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
1978         (__libc_vfork): Define the function under this name.
1979         [!NOT_IN_libc] (__vfork): Make this an alias.
1980         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
1981         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
1982         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
1983         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
1984         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
1985         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1986
1987         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
1988         code that was previously under [RESET_PID].
1989         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
1990         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
1991         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
1992
1993         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
1994         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
1995         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
1996         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
1997         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
1998         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
1999         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
2000         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
2001         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
2002         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
2003         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
2004         Moved ...
2005         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
2006         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
2007         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2008         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2009         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2010         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2011         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2012         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2013         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2014         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2015         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2016         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
2017         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
2018         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
2019         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
2020         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
2021         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
2022         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
2023         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
2024         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
2025         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
2026         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
2027         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
2028         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
2029         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
2030         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
2031         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
2032         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
2033         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
2034
2035 2014-06-25  Roland McGrath  <roland@hack.frob.com>
2036
2037         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2038         that was previously under [RESET_PID].
2039         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
2040
2041 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2042
2043         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
2044         not undefine and redefine.
2045         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
2046         [O_CLOEXEC]: Make code unconditional.
2047         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
2048         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
2049         <kernel-features.h>.
2050         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
2051         conditional variable definition.
2052         (shm_open) [O_CLOEXEC]: Make code unconditional.
2053         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2054         code.
2055
2056         * configure.ac (USE_REGPARMS): Don't define here.
2057         * configure: Regenerated.
2058         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2059         * sysdeps/i386/configure: Regenerated.
2060
2061         * nptl/createthread.c: Don't include kernel-features.h.
2062         * nptl/pthread_cancel.c: Likewise.
2063         * nptl/pthread_condattr_setclock.c: Likewise.
2064         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2065         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2066         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2067         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2068         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2069         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2070         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2071         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2072         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2073         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2074         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2075         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2076         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2077         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2078         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2079         * nscd/gai.c: Likewise.
2080         * nss/nss_db/db-open.c: Likewise.
2081         * sysdeps/generic/ldsodefs.h: Likewise.
2082         * sysdeps/sh/nptl/tls.h: Likewise.
2083         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2084         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
2085         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2086         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2087         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2088         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2089         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2090         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2091         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2092         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2093         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2094         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2095         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2096         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2097         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2098         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2099         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2100         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2101         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2102         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2103         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2104         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2105         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2106         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2107         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2108         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2109         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2110         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2111         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2112         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2113         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2114         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2115         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2116         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2117         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2118         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2119         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2120         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2121         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2122         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2123         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2124         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2125         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2126         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2127         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2128         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2129         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2130         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2131         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2132         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2133         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2134         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2135         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2136         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2137         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2138         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2139         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2140         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2163         * sysdeps/unix/sysv/linux/pread.c: Likewise.
2164         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2165         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2166         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2167         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2168         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2169         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2170         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2171         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2172         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2173         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2174         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2175         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2176         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2177         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2178         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2179         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2180         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2181         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2182         * sysdeps/unix/sysv/linux/system.c: Likewise.
2183         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2184         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2185         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2186         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2187         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2188         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2189         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2190
2191         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2192         * configure: Regenerated.
2193         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2194
2195         * configure.ac (base_machine): Do not set specially for particular
2196         machines here.
2197         * configure: Regenerated.
2198         * sysdeps/powerpc/preconfigure: Move machine and base_machine
2199         settings from configure.ac.
2200         * sysdeps/i386/preconfigure: New file.
2201         * sysdeps/s390/preconfigure: Likewise.
2202         * sysdeps/sh/preconfigure: Likewise.
2203         * sysdeps/sparc/preconfigure: Likewise.
2204
2205 2014-06-25  Roland McGrath  <roland@hack.frob.com>
2206
2207         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2208         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2209         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2210         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2211         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2212         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2213         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2214         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2215         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2216         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2217         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2218         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2219         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2220         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2221         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2222         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2223         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2224         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2225         * sysdeps/sparc/sparc64/Makefile: ... appended here.
2226
2227         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2228         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2229         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2230         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2231         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2232         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2233         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2234         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2235         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2236         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2237         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2238         * sysdeps/sparc/sparc32/sem_post.c: ... here.
2239         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2240         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2241         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2242         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2243         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2244         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2245         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2246         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2247         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2248         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2249         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2250         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2251         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2252         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2253         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2254         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2255         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2256         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2257         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2258         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2259         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2260         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2261         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2262         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2263         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2264         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2265
2266         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2267         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2268         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2269         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2270         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2271         Moved ...
2272         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2273         ... here.
2274         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2275         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2276         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2277         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2278         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2279         Moved ...
2280         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2281         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2282         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2283         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2284         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2285         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2286         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2287         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2288         Moved ...
2289         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2290         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2291         Moved ...
2292         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2293         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2294         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2295         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2296         Moved ...
2297         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2298         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2299         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2300         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2301         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2302         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2303         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2304         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2305         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2306         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2307         Moved ...
2308         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2309         ... here.
2310         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2311         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2312         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2313         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2314         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2315         Moved ...
2316         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2317         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2318         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2319         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2320         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2321         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
2322         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
2323         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2324         Moved ...
2325         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
2326         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2327         Moved ...
2328         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
2329         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
2330         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
2331         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2332         Moved ...
2333         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
2334         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
2335         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
2336         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
2337         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
2338
2339 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2340
2341         * timezone/checktab.awk: Update from tzcode 2014e.
2342         * timezone/private.h: Likewise.
2343         * timezone/tzfile.h: Likewise.
2344         * timezone/zdump.c: Likewise.
2345         * timezone/zic.c: Likewise.
2346
2347         * sysdeps/unix/sysv/linux/kernel-features.h
2348         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
2349         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
2350         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
2351         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2352         Remove conditional code.
2353
2354 2014-06-25  Will Newton  <will.newton@linaro.org>
2355
2356         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2357         (_dl_arm_cap_flags): Add HWCAP2 values.
2358         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
2359         (_DL_HWCAP_COUNT): Increase to 37.
2360         (_DL_HWCAP_LAST): New define.
2361         (_DL_HWCAP2_LAST): New define.
2362         (_dl_procinfo): Add support for printing
2363         AT_HWCAP2 entries.
2364         (_dl_string_hwcap): Use _dl_hwcap_string.
2365
2366 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2367
2368         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2369
2370 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
2371
2372         * README: Do not mention ports directory.
2373
2374         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
2375         Remove macro.
2376         * sysdeps/unix/sysv/linux/futimes.c: Do not include
2377         <kernel-features.h>.
2378         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
2379         conditional variable definition.
2380         (__futimes): Update comment.
2381         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
2382         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
2383
2384         [BZ #16560]
2385         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
2386         arguments close to 0.
2387         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
2388         Likewise.
2389         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
2390         Likewise.
2391         * math/auto-libm-test-in: Add more tests of exp10.
2392         * math/auto-libm-test-out: Regenerated.
2393         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2394
2395         * sysdeps/unix/sysv/linux/kernel-features.h
2396         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
2397         * sysdeps/unix/sysv/linux/readv.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_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2402         unconditional.
2403         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2404         conditional code.
2405         * sysdeps/unix/sysv/linux/writev.c: Do not include
2406         <kernel-features.h>.
2407         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2408         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2409         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2410         unconditional.
2411         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2412         conditional code.
2413
2414 2014-06-25  Will Newton  <will.newton@linaro.org>
2415
2416         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2417         comment changes throughout the file.  Remove checks
2418         for HAVE_*_H definitions that are not required.
2419         (__gen_tempname): Call abort if an unknown kind value is
2420         passed.
2421
2422 2014-06-25  Andreas Schwab  <schwab@suse.de>
2423
2424         [BZ #17086]
2425         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2426         scalbln, scalblnf, scalblnl in libc.
2427
2428 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
2429
2430         [BZ #17086]
2431         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2432         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2433         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2434
2435 2014-06-24  Roland McGrath  <roland@hack.frob.com>
2436
2437         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2438         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2439         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2440         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2441         Update #include.
2442         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2443         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2444         Update #include.
2445         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2446         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2447         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2448         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2449         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2450         * sysdeps/x86/bits/pthreadtypes.h: ... here.
2451         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2452         * sysdeps/x86/bits/semaphore.h: ... here.
2453         * sysdeps/x86/nptl/elide.h: Moved ...
2454         * sysdeps/x86/elide.h: ... here.
2455         * sysdeps/x86_64/nptl/Implies: File removed.
2456         * sysdeps/i386/nptl/Implies: File removed.
2457
2458 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
2459
2460         [BZ #16539]
2461         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2462         return the argument for normal arguments with exponent below -64.
2463         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2464         Likewise.
2465         * math/auto-libm-test-in: Add another test of expm1.
2466         * math/auto-libm-test-out: Regenerated.
2467
2468         [BZ #16287]
2469         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2470         calling __erfcl for arguments at least 16.
2471         * math/auto-libm-test-in: Add more tests of erf.
2472         * math/auto-libm-test-out: Regenerated.
2473
2474         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2475         individual architectures.
2476         * sysdeps/unix/sysv/linux/configure: Regenerated.
2477         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2478         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2479         * sysdeps/unix/sysv/linux/powerpc/configure.ac
2480         (ldd_rewrite_script): Define variable.
2481         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2483         file.
2484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2485         generated file.
2486         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2487         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2488         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2489         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2490         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2491         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2492         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2493         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2494
2495 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2496
2497         [BZ #17084]
2498         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2499         Rename member __data.d to __data.__elision_data.
2500
2501 2014-06-24  Wilco  <wdijkstr@arm.com>
2502
2503         * NEWS: Add 16918 to fixed bug list.
2504
2505 2014-06-24  Wilco  <wdijkstr@arm.com>
2506
2507         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2508
2509 2014-06-24  Wilco  <wdijkstr@arm.com>
2510
2511         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2512         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2513         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2514         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2515         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2516         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2517         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2518         Use _FPU_MASK_RM.
2519
2520 2014-06-24  Wilco  <wdijkstr@arm.com>
2521
2522         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2523
2524 2014-06-24  Wilco  <wdijkstr@arm.com>
2525
2526         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2527         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2528         * sysdeps/arm/fesetround.c (fesetround): Remove space.
2529         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2530
2531 2014-06-24  Wilco  <wdijkstr@arm.com>
2532
2533         [BZ #16918]
2534         * sysdeps/arm/feupdateenv.c (feupdateenv):
2535         Rewrite to reduce FPSCR accesses and fix return value.
2536
2537 2014-06-24  Wilco  <wdijkstr@arm.com>
2538
2539         * sysdeps/arm/fclrexcpt.c (feclearexcept):
2540         Optimize to avoid unnecessary FPSCR writes.
2541         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
2542         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
2543         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
2544         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
2545
2546 2014-06-24  Wilco  <wdijkstr@arm.com>
2547
2548         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
2549         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
2550         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
2551         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
2552         Call libc_fetestexcept_vfp.
2553         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
2554         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
2555         __SOFTFP__ ifdef so that they can be built for softfp.
2556
2557 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2558
2559         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
2560         argument type signed char.
2561
2562         * Makerules (check-abi): Dump diff of symlist if the test
2563         fails.
2564
2565 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2566
2567         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
2568         using abort.
2569
2570         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2571         Remove unused variable ST.
2572
2573 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
2574
2575         [BZ #16354]
2576         [BZ #17061]
2577         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
2578         small arguments before calling __expm1.
2579         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
2580         small arguments before calling __expm1f.
2581         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
2582         small arguments before calling __expm1l.
2583         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2584         Likewise.
2585         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2586         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
2587         spurious underflow for some cosh tests.
2588         * math/auto-libm-test-out: Regenerated.
2589         * sysdeps/i386/fpu/libm-test-ulps: Update.
2590
2591         [BZ #17050]
2592         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
2593         (__ieee754_y1): Set errno if return value overflows.
2594         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
2595         (__ieee754_y1f): Set errno if return value overflows.
2596         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
2597         (__ieee754_y1l): Set errno if return value overflows.
2598         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
2599         (__ieee754_y1l): Set errno if return value overflows.
2600         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
2601         * math/auto-libm-test-out: Regenerated.
2602
2603         * math/gen-auto-libm-tests.c: Document use of
2604         ignore-zero-inf-sign.
2605         (input_flag_type): Add value flag_ignore_zero_inf_sign.
2606         (input_flags): Add ignore-zero-inf-sign.
2607         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
2608         * math/gen-libm-test.pl (generate_testfile): Handle
2609         ignore-zero-inf-sign.
2610         * math/auto-libm-test-in: Mark some cpow tests with
2611         ignore-zero-inf-sign and some with xfail-rounding.
2612         * math/auto-libm-test-out: Regenerated.
2613         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
2614         * sysdeps/i386/fpu/libm-test-ulps: Update.
2615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2616
2617         [BZ #16315]
2618         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
2619         overflowing or underflowing operations take place with sign of
2620         result.
2621         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2622         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2623         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
2624         (__ieee754_pow): Recompute overflowing and underflowing results in
2625         original rounding mode.
2626         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
2627         (__powl_helper): Allow negative argument X and scale negated value
2628         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
2629         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
2630         overflowing or underflowing operations take place with sign of
2631         result.
2632         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
2633         Include <math.h>.
2634         * math/auto-libm-test-in: Add more tests of pow.
2635         * math/auto-libm-test-out: Regenerated.
2636         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
2637         (pow_tonearest_test_data): Remove.
2638         (pow_test_tonearest): Likewise.
2639         (pow_towardzero_test_data): Likewise.
2640         (pow_test_towardzero): Likewise.
2641         (pow_downward_test_data): Likewise.
2642         (pow_test_downward): Likewise.
2643         (pow_upward_test_data): Likewise.
2644         (pow_test_upward): Likewise.
2645         (main): Don't call removed functions.
2646         * sysdeps/i386/fpu/libm-test-ulps: Update.
2647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2648
2649 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2650
2651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
2652         Moved ...
2653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
2654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2655         Moved ...
2656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
2657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2658         Moved ...
2659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
2660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2661         Moved ...
2662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
2663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2664         File removed.
2665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2666         File removed.
2667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
2668         File removed.
2669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
2670         File removed.
2671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
2672         File removed.
2673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
2674         File removed.
2675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
2676         File removed.
2677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2678         File removed.
2679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
2680         File removed.
2681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2682         File removed.
2683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
2684         File removed.
2685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
2686         File removed.
2687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
2688         Moved ...
2689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
2690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
2691         Moved ...
2692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
2693         ... here.
2694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
2695         Moved ...
2696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
2697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
2698         Moved ...
2699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
2700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
2701         Moved ...
2702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
2703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
2704         Moved ...
2705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
2706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
2707         Moved ...
2708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
2709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
2710         Moved ...
2711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
2712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
2713         Moved ...
2714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
2715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
2716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
2717         ... here.
2718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
2719         Moved ...
2720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
2721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2722         Moved ...
2723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2724         ... here.
2725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
2726         Moved ...
2727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2728         ... here.
2729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2730         Moved ...
2731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2732         ... here.
2733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2734         Moved ...
2735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
2736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
2737         Moved ...
2738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
2739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
2740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
2741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2742         Moved ...
2743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2744         ... here.
2745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2746         Moved ...
2747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2748         ... here.
2749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
2750         Moved ...
2751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
2752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2753         Moved ...
2754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
2755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
2756         Moved ...
2757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
2758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2759         Moved ...
2760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
2761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2762         Moved ...
2763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2764         ... here.
2765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2766         Moved ...
2767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2769         Moved ...
2770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2772         Moved ...
2773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2775         Moved ...
2776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
2777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
2778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
2779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2780         Moved ...
2781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
2782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2783         Moved ...
2784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
2785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2786         Moved ...
2787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2788         ... here.
2789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2790         Moved ...
2791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2792         ... here.
2793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2794         Moved ...
2795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2796         ... here.
2797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2798         Moved ...
2799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2801         Moved ...
2802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2804         Moved ...
2805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2807         Moved ...
2808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2809         ... here.
2810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2811         Moved ...
2812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2813         ... here.
2814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2815         Moved ...
2816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2817         ... here.
2818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2819         Moved ...
2820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2822         Moved ...
2823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2824
2825 2014-06-23  Will Newton  <will.newton@linaro.org>
2826             Wilco  <wdijkstr@arm.com>
2827
2828         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2829         implementation.  Include get-rounding-mode.h.
2830         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2831         [!libc_feholdsetround_noex_ctx]: Define
2832         libc_feholdsetround_noex_ctx.
2833         [!libc_feholdsetround_noexf_ctx]: Define
2834         libc_feholdsetround_noexf_ctx.
2835         [!libc_feholdsetround_noexl_ctx]: Define
2836         libc_feholdsetround_noexl_ctx.
2837         (libc_feholdsetround_ctx): New function.
2838         (libc_feresetround_ctx): New function.
2839         (libc_feholdsetround_noex_ctx): New function.
2840         (libc_feresetround_noex_ctx): New function.
2841
2842 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2843
2844         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2845         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2846         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2847         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2848         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2849         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2850
2851         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2852         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2853         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2854         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2855         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2856         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
2857         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
2858         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
2859         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
2860         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
2861         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
2862         Moved ...
2863         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
2864         ... here.
2865         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
2866         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
2867         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
2868         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
2869         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
2870         Moved ...
2871         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
2872         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
2873         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
2874         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
2875         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
2876         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
2877         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
2878         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
2879         Moved ...
2880         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
2881         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
2882         Moved ...
2883         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
2884         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
2885         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
2886         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
2887         Moved ...
2888         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
2889         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
2890         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
2891         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
2892         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
2893         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
2894         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
2895         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
2896         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
2897         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
2898         Moved ...
2899         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
2900         ... here.
2901         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
2902         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
2903         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
2904         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
2905         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
2906         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
2907         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
2908         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
2909         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
2910         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
2911         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
2912         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
2913         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
2914         Moved ...
2915         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
2916         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
2917         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
2918         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
2919         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
2920         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
2921         Moved ...
2922         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
2923         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
2924         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
2925         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
2926         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
2927
2928         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
2929         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
2930         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
2931         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
2932         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
2933         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
2934         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
2935         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
2936         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
2937         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
2938         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
2939         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
2940         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
2941         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
2942         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
2943         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
2944         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
2945         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
2946         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
2947         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
2948         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
2949         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
2950         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
2951         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
2952         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
2953         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
2954         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
2955         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
2956
2957 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
2958
2959         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
2960         (FALLOC_FL_COLLAPSE_RANGE): New macro.
2961         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
2962         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
2963         (IPV6_PMTUDISC_INTERFACE): Likewise.
2964         (IPV6_PMTUDISC_OMIT): Likewise.
2965
2966 2014-06-23  Andreas Schwab  <schwab@suse.de>
2967
2968         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
2969         Remove unused errout label.
2970
2971 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2972
2973         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
2974         macro: hardware supports Vector Crypto instructions.
2975
2976 2014-06-23  Will Newton  <will.newton@linaro.org>
2977
2978         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
2979         rather than __builtin_expect.
2980
2981         * elf/dl-lookup.c (undefined_msg): Remove variable.
2982         (_dl_lookup_symbol_x): Replace undefined_msg with string
2983         literal.
2984
2985         * elf/dl-lookup.c (do_lookup_unique): New function.
2986         (do_lookup_x): Move STB_GNU_UNIQUE handling code
2987         to a separate function.
2988
2989 2014-06-23  Andreas Schwab  <schwab@suse.de>
2990
2991         [BZ #17079]
2992         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
2993         before reading the next line.
2994
2995 2014-06-23  Will Newton  <will.newton@linaro.org>
2996
2997         * test-skeleton.c (signal_handler): Use printf and %m
2998         rather than perror.  Use printf rather than fprintf to
2999         stderr.  Use puts rather than fputs to stderr.
3000         (main): Likewise.
3001
3002 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
3003
3004         * nscd/nscd.c (thread_info_t): Remove typedef.
3005         (thread_info): Remove variable.
3006
3007 2014-06-21  Allan McRae  <allan@archlinux.org>
3008
3009         * NEWS: Mention CVE-2014-4043.
3010
3011 2014-06-20  Roland McGrath  <roland@hack.frob.com>
3012
3013         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3014         * nptl/smp.h: ... here.
3015
3016         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
3017
3018         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
3019         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
3020         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
3021         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
3022
3023         * nptl/allocatestack.c: Include <stack-aliasing.h>.
3024         * nptl/stack-aliasing.h: New file.
3025         * sysdeps/i386/i686/stack-aliasing.h: New file.
3026         * sysdeps/i386/i686/nptl/Makefile: File removed.
3027         * sysdeps/x86_64/stack-aliasing.h: New file.
3028         * sysdeps/x86_64/nptl/Makefile
3029         (CFLAGS-pthread_create.c): Variable removed.
3030
3031         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
3032         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
3033         old file.
3034         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3035         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3036         old file.
3037
3038 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
3039
3040         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3041         (__ASSUME_SIGFRAME_V2): Remove macro.
3042         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
3043         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
3044         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
3045         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
3046         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
3047         Declare as function.  Remove conditional macro definitions.
3048         (__default_rt_sa_restorer): Likewise.
3049         (__default_sa_restorer_v1): Remove declaration.
3050         (__default_sa_restorer_v2): Likewise.
3051         (__default_rt_sa_restorer_v1): Likewise.
3052         (__default_rt_sa_restorer_v2): Likewise.
3053         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3054         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3055         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3056
3057 2014-06-20  Roland McGrath  <roland@hack.frob.com>
3058
3059         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3060         (libpthread-routines): Add sysdep.
3061         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3062         * sysdeps/unix/sysv/linux/sparc/Versions
3063         (libpthread: GLIBC_2.3.3): New version set.
3064         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3065         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3066         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3067         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3068         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
3069         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3070         Moved ...
3071         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3072         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3073         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3074         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3075         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3076         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3077         * sysdeps/sparc/nptl/sem_init.c: ... here.
3078         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3079         * sysdeps/sparc/nptl/sem_post.c: ... here.
3080         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3081         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
3082         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
3083         * sysdeps/sparc/nptl/sem_wait.c: ... here.
3084         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
3085         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3086         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3087         (libpthread-routines): Add cpu_relax.
3088         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3089         File removed.
3090         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3091         (librt: GLIBC_2.3.3): New version set.
3092         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3093         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3094         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3095         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3096         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3097         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3098         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3099         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3100         Moved ...
3101         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3102         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3103         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3104         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3105         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3106         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3107         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3108         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3109         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3110         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3111         Moved ...
3112         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3113         Update #include.
3114         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3115         Moved ...
3116         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3117         Update #include.
3118         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3119         Moved ...
3120         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3121         Update #include.
3122         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3123         Moved ...
3124         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3125         Update #include.
3126         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3127         Moved ...
3128         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3129         Update #include.
3130         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3131         Moved ...
3132         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3133         Update #include.
3134         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3135         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3136         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3137         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3138         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3139         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3140         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3141         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3142         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3143         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3144         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3145         Moved ...
3146         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3147         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3148         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3149         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3150         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3151
3152 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3153
3154         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3155         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3156         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3157         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3158         * nscd/nscd.c: Likewise.
3159         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3160         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3161         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3162         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3163
3164         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3165         <kernel-features.h>.
3166         (init_mq_netlink): Remove conditional have_sock_cloexec
3167         definitions.  Remove code conditional on have_sock_cloexec < 0.
3168         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3169         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3170         * sysdeps/unix/sysv/linux/opensock.c: Do not include
3171         <kernel-features.h>.
3172         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3173         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3174
3175 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
3176
3177         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3178         Add tests for memset_chk and memset.
3179
3180         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3181         with AVX2_Usable.
3182
3183 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
3184
3185         [BZ #16046]
3186         * elf/tst-dl-iter-static.c: New file.
3187         * elf/Makefile (tests-static): Add tst-dl-iter-static.
3188
3189         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3190         error.
3191
3192 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3193
3194         * sysdeps/unix/sysv/linux/kernel-features.h
3195         (__ASSUME_F_GETOWN_EX): Remove macro.
3196         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3197         <kernel-features.h>.
3198         (miss_F_GETOWN_EX): Remove variable or macro.
3199         (do_fcntl): Do not check miss_F_GETOWN_EX.
3200         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
3201
3202         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
3203         Remove macro.
3204         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
3205         [!__ASSUME_AT_RANDOM]: Remove conditional code.
3206         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
3207
3208         * sysdeps/unix/sysv/linux/kernel-features.h
3209         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3210         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3211         [ADJ_OFFSET_SS_READ]: Make code unconditional.
3212         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3213
3214 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
3215
3216         [BZ #17075]
3217         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3218         Fix calculation of the symbol's value.
3219         * sysdeps/arm/tst-armtlsdescloc.c: New file.
3220         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3221         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3222         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3223         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3224         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3225         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3226         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3227         (modules-names): Add `tst-armtlsdescmod',
3228         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3229         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3230         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3231         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3232         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3233         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3234         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3235         ($(objpfx)tst-armtlsdescloc): New dependency.
3236         ($(objpfx)tst-armtlsdescextnow): Likewise.
3237         ($(objpfx)tst-armtlsdescextlazy): Likewise.
3238         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3239         TLS scheme support.
3240         * sysdeps/arm/configure: Regenerate.
3241
3242 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
3243
3244         * include/fcntl.h (__atfct_seterrno): Remove prototype.
3245         (__atfct_seterrno_2): Likewise.
3246         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3247         <kernel-features.h>.
3248         (__ASSUME_ATFCTS): Do not undefine and redefine.
3249         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3250         (__have_atfcts): Remove conditional definition.
3251         (__fxstatat([__NR_fstatat64]: Make code unconditional.
3252         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3253         unreachable if [__ASSUME_ATFCTS].
3254         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3255         not undefine and redefine.
3256         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3257         <kernel-features.h>.
3258         (faccessat) [__NR_faccessat]: Make code unconditional.
3259         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3260         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3261         <kernel-features.h>.
3262         (fchmodat) [__NR_fchmodat]: Make code unconditional.
3263         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3264         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3265         <kernel-features.h>.
3266         (fchownat) [__NR_fchownat]: Make code unconditional.
3267         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3268         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3269         <kernel-features.h>.
3270         (futimesat) [__NR_futimesat]: Make code unconditional.
3271         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3272         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3273         <kernel-features.h>.
3274         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3275         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3276         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3277         <kernel-features.h>.
3278         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3279         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3280         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3281         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3282         <kernel-features.h>.
3283         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3284         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3285         * sysdeps/unix/sysv/linux/linkat.c: Do not include
3286         <kernel-features.h>.
3287         (linkat) [__NR_linkat]: Make code unconditional.
3288         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3289         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3290         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3291         <kernel-features.h>.
3292         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3293         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3294         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3295         <kernel-features.h>.
3296         (mkdirat) [__NR_mkdirat]: Make code unconditional.
3297         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3298         * sysdeps/unix/sysv/linux/openat.c: Do not include
3299         <kernel-features.h>.
3300         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3301         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3302         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3303         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3304         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3305         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3306         <kernel-features.h>.
3307         (readlinkat) [__NR_readlinkat]: Make code unconditional.
3308         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
3309         result of INLINE_SYSCALL directly, not via int variable.
3310         * sysdeps/unix/sysv/linux/renameat.c: Do not include
3311         <kernel-features.h>.
3312         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3313         (renameat) [__NR_renameat]: Make code unconditional.
3314         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3315         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3316         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3317         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3318         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3319         (__ASSUME_ATFCTS): Do not undefine and redefine.
3320         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3321         <kernel-features.h>.
3322         (symlinkat) [__NR_symlinkat]: Make code unconditional.
3323         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3324         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
3325         <kernel-features.h>.
3326         (unlinkat) [__NR_unlinkat]: Make code unconditional.
3327         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3328         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
3329         (__ASSUME_ATFCTS): Do not undefine and redefine.
3330         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3331         <kernel-features.h>.
3332         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3333         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3334         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3335         <kernel-features.h>.
3336         (__xmknodat) [__NR_mknodat]: Make code unconditional.
3337         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3338
3339 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
3340
3341         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
3342
3343 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
3344
3345         [BZ #17069]
3346         * posix/regcomp.c (parse_reg_exp): Deallocate partially
3347         constructed tree before returning error.
3348         * posix/bug-regexp36.c: Expand test case.
3349
3350 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3351
3352         [BZ #6803]
3353         * math/libm-test.inc (scalbln_test_date):
3354         Add errno expectations.
3355         * math/w_scalblnf.c: New File.
3356         Add wrapper which checks for setting errno to ERANGE.
3357         Add weak_alias for corresponding scalbln function.
3358         * math/w_scalbln.c: Likewise.
3359         * math/w_scalblnl.c: Likewise.
3360         * math/Makefile (libm-calls): Add w_scalbln.
3361         * sysdeps/ieee754/flt-32/s_scalblnf.c:
3362         Remove weak_alias for corresponding scalbln function.
3363         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3364         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3365         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3366         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3367         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3368         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3369         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
3370         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3371         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
3372         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
3373         Remove long_double_symbol for scalblnl function in libm, libc.
3374         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
3375         Add wrapper which checks for setting errno to ERANGE.
3376         Add long_double_symbol for scalblnl function in libm, libc.
3377         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
3378         Remove long_double_symbol for scalblnl in libm.
3379         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
3380         Add wrapper which checks for setting errno to ERANGE.
3381         Add long_double_symbol for scalblnl function in libm.
3382         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
3383         Do not use wrapper because of own implementation.
3384
3385 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
3386
3387         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
3388         3 bytes for __pad1 for x32.
3389         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
3390
3391 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
3392             H.J. Lu  <hongjiu.lu@intel.com>
3393
3394         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
3395         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
3396         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3397         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3398         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3399
3400 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
3401
3402         [BZ #17069]
3403         * posix/regcomp.c (parse_expression): Deallocate partially
3404         constructed tree before returning error.
3405         * posix/Makefile.c (tests): Add bug-regex36.
3406         (generated): Add bug-regex36.mtrace.
3407         (tests-special): Add $(objpfx)bug-regex36-mem.out
3408         (bug-regex36-ENV): New variable.
3409         ($(objpfx)bug-regex36-mem.out): New rule.
3410         * posix/bug-regex36.c: New file.
3411
3412 2014-06-19  Will Newton  <will.newton@linaro.org>
3413
3414         * malloc/malloc.c (systrim): If extra is zero then return
3415         early.
3416
3417 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3418
3419         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3420
3421 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
3422
3423         * sysdeps/aarch64/strchr.S: New file.
3424
3425 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
3426
3427         [BZ #17022]
3428         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3429         from arguments -2 or below.
3430         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3431         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3432
3433 2014-06-18  Andreas Schwab  <schwab@suse.de>
3434
3435         [BZ #17062]
3436         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3437         of a bracket expr not to run off the end of the string.
3438         * posix/Makefile (tests): Add tst-fnmatch3.
3439         * posix/tst-fnmatch3.c: New file.
3440
3441 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
3442
3443         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3444         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3445         [$(cross-compiling) = no]: Likewise.
3446         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3447         [$(cross-compiling) = no]: Likewise.
3448
3449 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3450
3451         [BZ #17031]
3452         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3453         double, adjusted for any remainder from the high double.
3454         * math/libm-test.inc (nearbyint): Add tests.
3455         (rint): Likewise.
3456
3457 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3458
3459         * nptl/sysdeps/powerpc/Makefile: Moved ...
3460         * sysdeps/powerpc/nptl/Makefile: ... here.
3461         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3462         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3463         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3464         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3465         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3466         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3467         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3468         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3469         * nptl/sysdeps/powerpc/tls.h: Moved ...
3470         * sysdeps/powerpc/nptl/tls.h: ... here.
3471
3472 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
3473
3474         [BZ #16681]
3475         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3476         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3477         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3478         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3479         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3480         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3481         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3482         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3483         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3484
3485 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
3486
3487         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3488
3489 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
3490
3491         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3492         defined operator.
3493
3494         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3495         $TIMEOUTFACTOR.
3496
3497 2014-06-16  Florian Weimer  <fweimer@redhat.com>
3498
3499         [BZ #17058]
3500         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3501         non-executed part of the test.
3502
3503 2014-06-16  Andreas Schwab  <schwab@suse.de>
3504
3505         * string/bits/string2.h (strdup, strndup): Update feature guard.
3506
3507 2014-06-14  David S. Miller  <davem@davemloft.net>
3508
3509         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3510
3511 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
3512
3513         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3514         that was previously under [RESET_PID].
3515         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3516
3517         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3518         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3519         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3520         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3521         (__libc_vfork): New strong alias.
3522         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3523
3524 2014-06-14 Andi Kleen  <ak@linux.intel.com>
3525
3526         * sysdeps/generic/elide.h: New file.
3527
3528 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3529
3530         * Makefile (installed-headers): Adjust path of pthread.h header.
3531
3532 2014-06-13  Roland McGrath  <roland@hack.frob.com>
3533
3534         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
3535         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
3536         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
3537         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
3538
3539         * nptl/sysdeps/s390/Makefile: Moved ...
3540         * sysdeps/s390/nptl/Makefile: ... here.
3541         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
3542         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
3543         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
3544         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
3545         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
3546         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
3547         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
3548         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
3549         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
3550         * sysdeps/s390/nptl/pthreaddef.h: ... here.
3551         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
3552         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
3553         * nptl/sysdeps/s390/tls.h: Moved ...
3554         * sysdeps/s390/nptl/tls.h: ... here.
3555
3556         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
3557         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
3558
3559 2014-06-13  David S. Miller  <davem@davemloft.net>
3560
3561         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
3562         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
3563         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
3564         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
3565         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
3566         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
3567         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
3568         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
3569         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
3570         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
3571         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
3572         Remove RESET_PID cpp guards.
3573         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
3574         Remove RESET_PID cpp guards.
3575         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3576
3577 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
3578
3579         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
3580         __sp to uintptr_t.
3581
3582 2014-06-13  Andi Kleen  <ak@linux.intel.com>
3583
3584         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
3585         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
3586         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
3587         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
3588         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
3589         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
3590         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
3591         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
3592         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
3593         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
3594         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
3595         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
3596         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
3597         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
3598         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
3599         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
3600         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
3601         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
3602         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
3603         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
3604
3605         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
3606         (pthread_rwlock_rdlock): Add elision.
3607         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
3608         (pthread_rwlock_wrlock): Add elision.
3609         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
3610         (pthread_rwlock_trywrlock): Add elision.
3611         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
3612         (pthread_rwlock_tryrdlock): Add elision.
3613         * nptl/pthread_rwlock_unlock.c: Include elide.h.
3614         (pthread_rwlock_tryrdlock): Add elision unlock.
3615         * nptl/sysdeps/pthread/pthread.h:
3616         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
3617         (PTHREAD_RWLOCK_INITIALIZER,
3618         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
3619         Handle new elision field.
3620         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
3621         * sysdeps/arm/nptl/bits/pthreadtypes.h
3622         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3623         * sysdeps/sh/nptl/bits/pthreadtypes.h
3624         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3625         * sysdeps/tile/nptl/bits/pthreadtypes.h
3626         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3627         * sysdeps/a/nptl/bits/pthreadtypes.h
3628         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3629         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3630         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3631         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3632         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3633         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
3634         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3635         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3636         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3637         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3638         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3639         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3640         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3641         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3642         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3643         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
3644         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3645         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
3646         (elision_init): Set try_xbegin to zero when no RTM.
3647         * sysdeps/x86/nptl/bits/pthreadtypes.h
3648         (pthread_rwlock_t): Change __pad1 to __rwelision.
3649         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3650
3651 2014-06-13  Andi Kleen  <ak@linux.intel.com>
3652
3653         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
3654         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
3655         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
3656         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
3657
3658 2014-06-13  Meador Inge  <meadori@codesourcery.com>
3659
3660         [BZ #16996]
3661         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
3662         that the cached result has been set before returning it.
3663
3664 2014-06-12  Roland McGrath  <roland@hack.frob.com>
3665
3666         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
3667         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
3668         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
3669         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
3670         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
3671         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
3672
3673         * nptl/sysdeps/sparc/Makefile: Moved ...
3674         * sysdeps/sparc/nptl/Makefile: ... here.
3675         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
3676         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
3677         * nptl/sysdeps/sparc/tls.h: Moved ...
3678         * sysdeps/sparc/nptl/tls.h: ... here.
3679         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
3680         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
3681         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
3682         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
3683         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
3684         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
3685         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
3686         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
3687         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
3688         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
3689         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
3690         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
3691         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
3692         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
3693         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
3694         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
3695         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
3696         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
3697         Update #include.
3698         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
3699         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
3700         Update #include.
3701         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
3702         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
3703         Update #include.
3704         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
3705         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
3706         Update #include.
3707
3708         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3709
3710         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
3711         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
3712
3713         * sysdeps/pthread/posix-timer.h: Include <list.h>.
3714         (struct list_links): Type removed.
3715         (struct thread_node, struct timer_node): Replace struct list_links
3716         with struct list_head.
3717         (list_unlink_ip): Likewise.
3718         * sysdeps/pthread/timer_routines.c
3719         (timer_free_list, thread_free_list, thread_active_list): Likewise.
3720         (list_append, list_insbefore): Likewise.
3721         (list_init): Function removed.
3722         (thread_init, init_module): Use INIT_LIST_HEAD instead.
3723         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
3724         * sysdeps/pthread/Makefile: ... here, new file.
3725
3726         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
3727         * sysdeps/nptl/Implies: ... here.
3728         * sysdeps/unix/sysv/linux/Implies: Add nptl.
3729         * nptl/sysdeps/pthread/list.h: Moved ...
3730         * include/list.h: ... here.
3731         * nptl/sysdeps/pthread/createthread.c: Moved ...
3732         * nptl/createthread.c: ... here.
3733         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
3734         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
3735         * nptl/pt-longjmp.c: ... here.
3736         * nptl/sysdeps/pthread/Makefile: Moved ...
3737         * sysdeps/nptl/Makefile: ... here.
3738         * nptl/sysdeps/pthread/Subdirs: Moved ...
3739         * sysdeps/nptl/Subdirs: ... here.
3740         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
3741         * sysdeps/nptl/aio_misc.h: ... here.
3742         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
3743         * sysdeps/nptl/bits/libc-lock.h: ... here.
3744         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
3745         * sysdeps/nptl/bits/libc-lockP.h: ... here.
3746         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
3747         * sysdeps/nptl/bits/stdio-lock.h: ... here.
3748         * nptl/sysdeps/pthread/configure: Moved ...
3749         * sysdeps/nptl/configure: ... here.
3750         * nptl/sysdeps/pthread/configure.ac: Moved ...
3751         * sysdeps/nptl/configure.ac: ... here.
3752         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
3753         * sysdeps/nptl/gai_misc.h: ... here.
3754         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
3755         * sysdeps/nptl/librt-cancellation.c: ... here.
3756         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
3757         * sysdeps/nptl/malloc-machine.h: ... here.
3758         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
3759         * sysdeps/nptl/pthread-functions.h: ... here.
3760         * nptl/sysdeps/pthread/pthread.h: Moved ...
3761         * sysdeps/nptl/pthread.h: ... here.
3762         * nptl/sysdeps/pthread/setxid.h: Moved ...
3763         * sysdeps/nptl/setxid.h: ... here.
3764         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
3765         * sysdeps/nptl/sigfillset.c: ... here.
3766         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
3767         * sysdeps/nptl/tcb-offsets.h: ... here.
3768         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3769         * sysdeps/nptl/tst-mqueue8x.c: ... here.
3770         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3771         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3772         * nptl/sysdeps/pthread/allocalim.h: Moved ...
3773         * sysdeps/pthread/allocalim.h: ... here.
3774         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3775         * sysdeps/pthread/bits/sigthread.h: ... here.
3776         * nptl/sysdeps/pthread/flockfile.c: Moved ...
3777         * sysdeps/pthread/flockfile.c: ... here.
3778         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
3779         * sysdeps/pthread/ftrylockfile.c: ... here.
3780         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
3781         * sysdeps/pthread/funlockfile.c: ... here.
3782         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
3783         * sysdeps/pthread/posix-timer.h: ... here.
3784         * nptl/sysdeps/pthread/timer_create.c: Moved ...
3785         * sysdeps/pthread/timer_create.c: ... here.
3786         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3787         * sysdeps/pthread/timer_delete.c: ... here.
3788         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3789         * sysdeps/pthread/timer_getoverr.c: ... here.
3790         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3791         * sysdeps/pthread/timer_gettime.c: ... here.
3792         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3793         * sysdeps/pthread/timer_routines.c: ... here.
3794         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3795         * sysdeps/pthread/timer_settime.c: ... here.
3796         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3797         * sysdeps/pthread/tst-timer.c: ... here.
3798         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3799         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3800
3801         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3802         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3803
3804         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3805         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3806         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3807         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3808         Update #include target.
3809         * nptl/sysdeps/i386/i686/Makefile: Moved ...
3810         * sysdeps/i386/i686/nptl/Makefile: ... here.
3811         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3812         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3813         Update #include target.
3814         * nptl/sysdeps/i386/i686/tls.h: Moved ...
3815         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
3816         * nptl/sysdeps/i386/Makefile: Moved ...
3817         * sysdeps/i386/nptl/Makefile: ... here.
3818         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3819         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3820         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3821         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3822         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3823         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3824         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3825         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3826         * sysdeps/i386/nptl/pthreaddef.h: ... here.
3827         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3828         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3829         * nptl/sysdeps/i386/tls.h: Moved ...
3830         * sysdeps/i386/nptl/tls.h: ... here.
3831
3832         * sysdeps/sh/Makefile [$(subdir) = csu]
3833         (gen-as-const-headers): Add tcb-offsets.sym.
3834         * nptl/sysdeps/sh/Makefile: File removed.
3835         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3836         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3837         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3838         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3839         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3840         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3841         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3842         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3843         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3844         * sysdeps/sh/nptl/pthreaddef.h: ... here.
3845         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3846         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3847         * nptl/sysdeps/sh/tls.h: Moved ...
3848         * sysdeps/sh/nptl/tls.h: ... here.
3849         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3850         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3851         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3852         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3853         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3854         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3855         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3856         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
3857         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
3858         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
3859         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
3860         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
3861         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
3862         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
3863         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
3864         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
3865         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
3866         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
3867         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
3868         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
3869         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
3870         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
3871         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
3872         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
3873         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
3874         Moved ...
3875         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
3876         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
3877         Moved ...
3878         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
3879         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
3880         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
3881         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
3882         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
3883         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
3884         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
3885         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
3886         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
3887         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
3888         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
3889         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
3890         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
3891         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
3892         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
3893         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
3894         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
3895         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
3896         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
3897
3898 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
3899
3900         * posix/spawn_faction_addopen.c: Include string.h.
3901
3902 2014-06-11  Roland McGrath  <roland@hack.frob.com>
3903
3904         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
3905         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
3906         * nptl/sysdeps/x86_64/Makefile: Moved ...
3907         * sysdeps/x86_64/nptl/Makefile: ... here.
3908         * nptl/sysdeps/x86_64/configure: Moved ...
3909         * sysdeps/x86_64/nptl/configure: ... here.
3910         * nptl/sysdeps/x86_64/configure.ac: Moved ...
3911         * sysdeps/x86_64/nptl/configure.ac: ... here.
3912         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
3913         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
3914         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
3915         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
3916         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
3917         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
3918         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
3919         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
3920         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
3921         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
3922         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
3923         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
3924         * nptl/sysdeps/x86_64/tls.h: Moved ...
3925         * sysdeps/x86_64/nptl/tls.h: ... here.
3926         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
3927         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
3928         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
3929         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
3930
3931         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
3932
3933 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3934
3935         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3936
3937 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
3938
3939         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
3940         type.
3941         [POSIX] (off_t): Likewise.
3942         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
3943         [POSIX] (S_ISBLK): Require macro.
3944         [POSIX] (S_ISCHR): Likewise.
3945         [POSIX] (S_ISDIR): Likewise.
3946         [POSIX] (S_ISFIFO): Likewise.
3947         [POSIX] (S_ISREG): Likewise.
3948         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
3949         optional-macro.
3950         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
3951         type.
3952         [POSIX] (time_t): Likewise.
3953         [POSIX] (timer_t): Likewise.
3954
3955 2014-06-11  Florian Weimer  <fweimer@redhat.com>
3956
3957         [BZ #17048]
3958         * posix/spawn_int.h (struct __spawn_action): Make the path string
3959         non-const to support deallocation.
3960         * posix/spawn_faction_addopen.c
3961         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
3962         * posix/spawn_faction_destroy.c
3963         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
3964         path in all spawn_do_open actions.
3965         * posix/tst-spawn.c (do_test): Exercise the copy operation in
3966         posix_spawn_file_actions_addopen.
3967
3968 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
3969
3970         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
3971         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
3972         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
3973         conditional code always true.
3974         (__libc_vfork): New alias.
3975
3976 2014-06-11  Roland McGrath  <roland@hack.frob.com>
3977
3978         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3979         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
3980
3981         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
3982
3983         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3984         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
3985
3986         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3987         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
3988
3989         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3990         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
3991
3992 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3993
3994         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
3995         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
3996         multiarch strcmp for PPC64.
3997         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
3998         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
3999         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
4000         multiarch optimizations.
4001         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4002         (__libc_ifunc_impl_list): Likewise.
4003
4004 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
4005
4006         * benchtests/scripts/validate_benchout.py: New script.
4007         * benchtests/Makefile (bench-func): Call it.
4008         * benchtests/scripts/benchout.schema.json: New file.
4009
4010 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
4011
4012         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4013         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4014         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4015         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4016         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
4017         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4018         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
4019         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
4020         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
4021         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
4022         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
4023         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
4024         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
4025         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
4026         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
4027         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
4028         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
4029         Moved ...
4030         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
4031         ... here.
4032         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
4033         Moved ...
4034         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4035         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
4036         Moved ...
4037         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
4038         ... here.
4039         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
4040         Moved ...
4041         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
4042         ... here.
4043         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
4044         Moved ...
4045         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
4046         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
4047         Moved ...
4048         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
4049         ... here.
4050         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
4051         Moved ...
4052         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
4053         ... here.
4054         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
4055         Moved ...
4056         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4057         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
4058         Moved ...
4059         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
4060         ... here.
4061         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
4062         Moved ...
4063         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
4064         ... here.
4065         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
4066         Moved ...
4067         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
4068         ... here.
4069         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
4070         Moved ...
4071         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4072         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
4073         Moved ...
4074         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
4075         ... here.
4076         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
4077         Moved ...
4078         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
4079         ... here.
4080         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
4081         Moved ...
4082         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
4083         ... here.
4084         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
4085         Moved ...
4086         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4087         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
4088         Moved ...
4089         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
4090         ... here.
4091         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
4092         Moved ...
4093         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
4094         ... here.
4095         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
4096         Moved ...
4097         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4098         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
4099         Moved ...
4100         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
4101         ... here.
4102         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
4103         Moved ...
4104         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4105         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
4106         Moved ...
4107         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4108         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
4109         Moved ...
4110         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
4111         ... here.
4112         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
4113         Moved ...
4114         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
4115         ... here.
4116         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
4117         Moved ...
4118         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
4119         ... here.
4120         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
4121         Moved ...
4122         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4123         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
4124         Moved ...
4125         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
4126         ... here.
4127         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
4128         Moved ...
4129         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
4130         ... here.
4131         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4132         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4133         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4134         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4135         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
4136         Moved ...
4137         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
4138         ... here.
4139         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4140         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4141         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4142         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4143         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4144         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4145         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4146         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4147         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4148         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4149         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4150         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4151         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
4152         Moved ...
4153         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4154         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
4155         Moved ...
4156         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4157         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4158         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4159         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
4160         Moved ...
4161         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4162         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4163         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4164         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4165         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4166         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4167         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
4168
4169 2014-06-10  Wilco  <wdijkstr@arm.com>
4170
4171         * math/test-fenv-return.c: New file.
4172         * math/Makefile: Add new test test-fenv-return.
4173
4174 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
4175
4176         [BZ #17042]
4177         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4178         when x - 1 is zero.
4179         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4180         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4181         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4182         0.0L for an argument of 1.0L.
4183         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4184         Likewise.
4185         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4186         value when x - 1 is zero.
4187         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4188         * sysdeps/i386/fpu/libm-test-ulps: Update.
4189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4190
4191 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
4192
4193         [BZ #15119]
4194         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4195
4196 2014-06-09  Roland McGrath  <roland@hack.frob.com>
4197
4198         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
4199         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
4200
4201 2014-06-09  Roland McGrath  <roland@hack.frob.com>
4202
4203         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4204         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
4205
4206         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4207         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4208
4209         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4210         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4211
4212         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4213         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4214
4215         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4216         if not already defined.
4217         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4218         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4219         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4220         (TLS_INIT_TP): Use it.
4221         (TLS_DEFINE_INIT_TP): New macro.
4222         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4223
4224 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
4225
4226         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4227         constant.
4228         [POSIX] (IXANY): Likewise.
4229         [POSIX] (OLCUC): Likewise.
4230         [POSIX || POSIX2008] (CBAUD): Do not allow.
4231         [POSIX || POSIX2008] (DEFECHO): Likewise.
4232         [POSIX || POSIX2008] (ECHOCTL): Likewise.
4233         [POSIX || POSIX2008] (ECHOKE): Likewise.
4234         [POSIX || POSIX2008] (ECHOPRT): Likewise.
4235         [POSIX || POSIX2008] (EXTA): Likewise.
4236         [POSIX || POSIX2008] (EXTB): Likewise.
4237         [POSIX || POSIX2008] (FLUSHO): Likewise.
4238         [POSIX || POSIX2008] (LOBLK): Likewise.
4239         [POSIX || POSIX2008] (PENDIN): Likewise.
4240         [POSIX || POSIX2008] (SWTCH): Likewise.
4241         [POSIX || POSIX2008] (VDISCARD): Likewise.
4242         [POSIX || POSIX2008] (VDSUSP): Likewise.
4243         [POSIX || POSIX2008] (VLNEXT): Likewise.
4244         [POSIX || POSIX2008] (VREPRINT): Likewise.
4245         [POSIX || POSIX2008] (VSTATUS): Likewise.
4246         [POSIX || POSIX2008] (VWERASE): Likewise.
4247         (B*): Change to B[0123456789]*.
4248         * conform/data/time.h-data [POSIX || UNIX98]
4249         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4250         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4251         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4252         [POSIX] (tm_*): Do not allow.
4253
4254 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
4255
4256         * Makefile (install): Don't set LANGUAGE.
4257         * Makefile.in (install): Likewise.
4258         * assert/Makefile (test-assert-ENV): Remove variable.
4259         (test-assert-perr-ENV): Likewise.
4260         * elf/Makefile (neededtest4-ENV): Likewise.
4261         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4262         [$(cross-compiling) = no]: Don't set LANGUAGE.
4263         * io/ftwtest-sh (LANG): Remove variable.
4264         * libio/Makefile (tst-widetext-ENV): Likewise.
4265         * manual/install.texi (Running make install): Don't refer to
4266         environment settings for make install.
4267         * INSTALL: Regenerated.
4268         * nptl/tst-tls6.sh: Don't set LANG.
4269         * posix/globtest.sh (LANG): Remove variable.
4270         * string/Makefile (tester-ENV): Likewise.
4271         (inl-tester-ENV): Likewise.
4272         (noinl-tester-ENV): Likewise.
4273         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4274         [$(cross-compiling) = no]: Don't set LANGUAGE.
4275         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4276         without explicit environment settings.
4277
4278 2014-06-06  Roland McGrath  <roland@hack.frob.com>
4279
4280         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4281         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4282         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4283         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4284
4285 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
4286
4287         * crypt/crypt-private.h [DOS]: Add some includes taken from the
4288         other files in the crypt directory.
4289         * crypt/crypt.c: Remove duplicate includes.
4290         * crypt/crypt-entry.c: Likewise.
4291         * crypt/crypt_util.c: Likewise.
4292
4293 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
4294
4295         * Makeconfig (run-program-env): New variable.
4296         (run-program-prefix-before-env): Likewise.
4297         (run-program-prefix-after-env): Likewise.
4298         (run-program-prefix): Define in terms of new variables.
4299         (built-program-cmd-before-env): New variable.
4300         (built-program-cmd-after-env): Likewise.
4301         (built-program-cmd): Define in terms of new variables.
4302         (test-program-prefix-before-env): New variable.
4303         (test-program-prefix-after-env): Likewise.
4304         (test-program-prefix): Define in terms of new variables.
4305         (test-program-cmd-before-env): New variable.
4306         (test-program-cmd-after-env): Likewise.
4307         (test-program-cmd): Define in terms of new variables.
4308         * Rules (make-test-out): Use $(run-program-env).
4309         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4310         (help): Do not mention environment variables.  Mention
4311         --timeoutfactor option.
4312         (timeoutfactor): New variable.
4313         (blacklist_exports): Remove function.
4314         (exports): Remove variable.
4315         (command): Do not include ${exports}.
4316         * manual/install.texi (Configuring and compiling): Do not mention
4317         test wrappers preserving environment variables.  Mention that last
4318         assignment to a variable must take precedence.
4319         * INSTALL: Regenerated.
4320         * benchtests/Makefile (run-bench): Use $(run-program-env).
4321         * catgets/Makefile ($(objpfx)test1.cat): Use
4322         $(built-program-cmd-before-env), $(run-program-env) and
4323         $(built-program-cmd-after-env).
4324         ($(objpfx)test2.cat): Do not specify environment variables
4325         explicitly.
4326         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
4327         $(run-program-env) and $(built-program-cmd-after-env).
4328         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
4329         $(run-program-env) and $(test-program-cmd-after-env).
4330         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
4331         explicitly.
4332         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
4333         run_program_env and test_program_cmd_after_env arguments.
4334         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
4335         * elf/tst-pathopt.sh: Use run_program_env argument.
4336         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
4337         $(test-wrapper-env) and $(run-program-env).
4338         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
4339         run_program_env arguments.
4340         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
4341         * intl/Makefile ($(objpfx)tst-gettext.out): Use
4342         $(test-program-prefix-before-env), $(run-program-env) and
4343         $(test-program-prefix-after-env).
4344         ($(objpfx)tst-gettext2.out): Likewise.
4345         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
4346         run_program_env and test_program_prefix_after_env arguments.
4347         * intl/tst-gettext2.sh: Likewise.
4348         * intl/tst-gettext4.sh: Do not set environment variables
4349         explicitly.
4350         * intl/tst-gettext6.sh: Likewise.
4351         * intl/tst-translit.sh: Likewise.
4352         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
4353         $(test-program-prefix-before-env), $(run-program-env) and
4354         $(test-program-prefix-after-env).
4355         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
4356         run_program_env and test_program_prefix_after_env arguments.
4357         * math/Makefile (run-regen-ulps): Use $(run-program-env).
4358         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
4359         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
4360         explicitly with each use of ${test_wrapper_env}.
4361         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
4362         $(test-program-prefix-before-env), $(run-program-env) and
4363         $(test-program-prefix-after-env).
4364         * posix/tst-getconf.sh: Do not set environment variables
4365         explicitly.
4366         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
4367         run_program_env and test_program_prefix_after_env arguments.
4368         * stdio-common/tst-printf.sh: Do not set environment variables
4369         explicitly.
4370         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
4371         $(test-program-prefix-before-env), $(run-program-env) and
4372         $(test-program-prefix-after-env).
4373         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
4374         run_program_env and test_program_prefix_after_env arguments.
4375         Split $test calls into $test_pre and $test.
4376         * timezone/Makefile (build-testdata): Use
4377         $(built-program-cmd-before-env), $(run-program-env) and
4378         $(built-program-cmd-after-env).
4379
4380 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4381
4382         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
4383         strlen for non SHARED builds.
4384
4385 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
4386
4387         * nptl/allocatestack.c (check_list): Inlined function...
4388         (__reclaim_stacks): ... here.
4389
4390 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
4391
4392         [BZ #15698]
4393         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4394         memory overrun.
4395
4396 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
4397
4398         * Rules (make-test-out): Include
4399         LOCPATH=$(common-objpfx)localedata in default environment.
4400         * debug/Makefile (tst-chk1-ENV): Remove variable.
4401         (tst-chk2-ENV): Likewise.
4402         (tst-chk3-ENV): Likewise.
4403         (tst-chk4-ENV): Likewise.
4404         (tst-chk5-ENV): Likewise.
4405         (tst-chk6-ENV): Likewise.
4406         (tst-lfschk1-ENV): Likewise.
4407         (tst-lfschk2-ENV): Likewise.
4408         (tst-lfschk3-ENV): Likewise.
4409         (tst-lfschk4-ENV): Likewise.
4410         (tst-lfschk5-ENV): Likewise.
4411         (tst-lfschk6-ENV): Likewise.
4412         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4413         (tst-iconv7-ENV): Likewise.
4414         * intl/Makefile (LOCPATH-ENV): Likewise.
4415         (tst-codeset-ENV): Likewise.
4416         (tst-gettext3-ENV): Likewise.
4417         (tst-gettext5-ENV): Likewise.
4418         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4419         (tst-fopenloc-ENV): Likewise.
4420         (tst-fgetws-ENV): Remove variable.
4421         (tst-ungetwc1-ENV): Likewise.
4422         (tst-ungetwc2-ENV): Likewise.
4423         (bug-ungetwc2-ENV): Likewise.
4424         (tst-swscanf-ENV): Likewise.
4425         (bug-ftell-ENV): Likewise.
4426         (tst-fgetwc-ENV): Likewise.
4427         (tst-fseek-ENV): Likewise.
4428         (tst-ftell-partial-wide-ENV): Likewise.
4429         (tst-ftell-active-handler-ENV): Likewise.
4430         (tst-ftell-append-ENV): Likewise.
4431         * posix/Makefile (tst-fnmatch-ENV): Likewise.
4432         (tst-regexloc-ENV): Likewise.
4433         (bug-regex1-ENV): Likewise.
4434         (tst-regex-ENV): Likewise.
4435         (tst-regex2-ENV): Likewise.
4436         (bug-regex5-ENV): Likewise.
4437         (bug-regex6-ENV): Likewise.
4438         (bug-regex17-ENV): Likewise.
4439         (bug-regex18-ENV): Likewise.
4440         (bug-regex19-ENV): Likewise.
4441         (bug-regex20-ENV): Likewise.
4442         (bug-regex22-ENV): Likewise.
4443         (bug-regex23-ENV): Likewise.
4444         (bug-regex25-ENV): Likewise.
4445         (bug-regex26-ENV): Likewise.
4446         (bug-regex30-ENV): Likewise.
4447         (bug-regex32-ENV): Likewise.
4448         (bug-regex33-ENV): Likewise.
4449         (bug-regex34-ENV): Likewise.
4450         (bug-regex35-ENV): Likewise.
4451         (tst-rxspencer-ENV): Likewise.
4452         (tst-rxspencer-no-utf8-ENV): Likewise.
4453         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4454         (tst-sscanf-ENV): Likewise.
4455         (tst-swprintf-ENV): Likewise.
4456         (tst-swscanf-ENV): Likewise.
4457         (test-vfprintf-ENV): Likewise.
4458         (scanf13-ENV): Likewise.
4459         (bug14-ENV): Likewise.
4460         (tst-grouping-ENV): Likewise.
4461         * stdlib/Makefile (tst-strtod-ENV): Likewise.
4462         (tst-strtod3-ENV): Likewise.
4463         (tst-strtod4-ENV): Likewise.
4464         (tst-strtod5-ENV): Likewise.
4465         (testmb2-ENV): Likewise./
4466         * string/Makefile (tst-strxfrm-ENV): Likewise.
4467         (tst-strxfrm2-ENV): Likewise.
4468         (bug-strcoll1-ENV): Likewise.
4469         (test-strcasecmp-ENV): Likewise.
4470         (test-strncasecmp-ENV): Likewise.
4471         * time/Makefile (tst-strptime-ENV): Likewise.
4472         (tst-ftime_l-ENV): Likewise.
4473         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4474         (tst-mbrtowc-ENV): Likewise.
4475         (tst-wcrtomb-ENV): Likewise.
4476         (tst-mbrtowc2-ENV): Likewise.
4477         (tst-c16c32-1-ENV): Likewise.
4478         (tst-mbsnrtowcs-ENV): Likewise.
4479
4480 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
4481
4482         * manual/resource.texi (How to get information about the memory
4483         subsystem?): Fix typo.
4484         Reported by Peon de la Parra Ivan <peon@keba.com>
4485
4486 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
4487
4488         [BZ #16882]
4489         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4490         (pthread_spin_lock): Branch out of spin loop to proper location.
4491         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4492         (pthread_spin_lock): Likewise.
4493
4494         * nptl/tst-spin4.c: New test.
4495         * nptl/Makefile (tests): Add tst-spin4.
4496
4497 2014-06-03  Andreas Schwab  <schwab@suse.de>
4498
4499         [BZ #15946]
4500         * resolv/res_send.c (send_dg): Reload file descriptor after
4501         calling reopen.
4502
4503 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
4504
4505         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4506
4507 2014-06-03  Richard Henderson  <rth@redhat.com>
4508
4509         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4510         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4511         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4512         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
4513         in the SAVE_PID block.
4514         (__libc_vfork): New alias.
4515         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
4516
4517         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4518         child in registers, not on the stack.  Remove RESET_PID conditionals.
4519         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4520
4521 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
4522
4523         * sysdeps/aarch64/libm-test-ulps: Regenerate.
4524
4525 2014-06-03  Wilco  <wdijkstr@arm.com>
4526
4527         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4528         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4529         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4530         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4531         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
4532         Likewise.
4533
4534 2014-06-03  Wilco  <wdijkstr@arm.com>
4535
4536         * sysdeps/aarch64/fpu/math_private.h
4537         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
4538         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
4539         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
4540         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4541         Fix declarations.
4542
4543 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4544
4545         * crypt/crypt-private.h: Include ufc-crypt.h.
4546         (__b64_from_24bit): Declare extern.
4547         * crypt/crypt_util.c(__b64_from_24bit): New function.
4548         (b64t): New static const variable.
4549         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
4550         (b64t): Remove variable.
4551         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
4552         * crypt/sha256-crypt.c: Include crypt-private.h.
4553         (b64t): Remove variable.
4554         (__sha256_crypt_r): Remove b64_from_24bit and replace
4555         with __b64_from_24bit.
4556         * crypt/sha512-crypt.c: Likewise.
4557
4558 2014-06-02  Roland McGrath  <roland@hack.frob.com>
4559
4560         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
4561         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
4562         Label the code __libc_vfork rather than __vfork.
4563         [!NOT_IN_libc] (vfork): Define as weak alias.
4564         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
4565         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
4566         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
4567
4568 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4569
4570         * malloc/malloc.c (malloc_info): Fix format specifier for
4571         n_mmaps.
4572
4573 2014-06-02  Wilco  <wdijkstr@arm.com>
4574
4575         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
4576         FPCR write.
4577
4578 2014-06-02  Wilco  <wdijkstr@arm.com>
4579
4580         [BZ #17009]
4581         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
4582         Rewrite to reduce FPCR/FPSR accesses.
4583
4584 2014-06-01  David S. Miller  <davem@davemloft.net>
4585
4586         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4587
4588 2014-05-31  David S. Miller  <davem@davemloft.net>
4589
4590         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
4591         to occur in round to nearest mode when |x| >= 2.0
4592
4593 2014-05-30  Richard Henderson  <rth@twiddle.net>
4594
4595         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
4596         (PSEUDO_RET_NOERRNO): Remove.
4597         (ret): Don't redefine.
4598         (ret_NOERRNO): Define in terms of ret.
4599         (ret_ERRVAL): Likewise.
4600
4601         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
4602         use of PSEUDO_RET; perform the error check directly.
4603
4604 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
4605
4606         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
4607         with __int128_t.
4608
4609 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4610
4611         * malloc/malloc (malloc_info): Fix formatting.
4612
4613 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4614             Roland McGrath  <roland@hack.frob.com>
4615
4616         * malloc/malloc (malloc_info): Also print mmapped statistics.
4617
4618 2014-05-30  Roland McGrath  <roland@hack.frob.com>
4619
4620         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
4621         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
4622
4623 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
4624
4625         * malloc/malloc.c (malloc_info): Inline mi_arena.
4626
4627 2014-05-29  Richard Henderson  <rth@twiddle.net>
4628
4629         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
4630         Remove comma before expanding ASM_ARGS_##nr.
4631         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
4632         Make _x0 a strict output; make _x8 a strict input; adjust expansion
4633         of ASM_ARGS_##nr.
4634         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
4635         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
4636         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
4637         (ASM_ARGS_1): Add leading comma.
4638
4639         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
4640         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
4641         to __errno_location.
4642         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
4643         Remove the expected plt for __errno_location.
4644
4645         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4646         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
4647         call to __read_tp.
4648
4649         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4650         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
4651         it and break it down.
4652         (DOCARGS_0, DOCARGS_1): Do nothing.
4653         (DOCARGS_2): Update to store into the new stack frame.
4654         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
4655         (UNDOCARGS_1): Update to restore from the new stack frame.
4656         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
4657         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
4658
4659         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4660         (SINGLE_THREAD_P): New parameter for result regno.
4661         (PSEUDO): Update to match; use cbz instead of beq.
4662
4663         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4664         Use ENTRY to define the _nocancel entry point.  Share the syscall
4665         and syscall error check paths with the cancel path.
4666         (PSEUDO_END): New.
4667
4668         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
4669         whitespace; tabs before and after asm mnemonics.
4670
4671 2014-05-29  Eric Wong  <normalperson@yhbt.net>
4672
4673         [BZ #15132]
4674         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4675         Call fstat64 or stat64 internally, depending on arguments passed.
4676         Replace stat buffer argument with file descriptor argument.
4677         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
4678         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4679         Pass fd to __internal_statvfs instead of calling fstat64.
4680         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
4681         Pass fd to __internal_statvfs64 instead of calling fstat64.
4682         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
4683         Pass -1 to __internal_statvfs instead of calling stat64.
4684         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
4685         Pass -1 to __internal_statvfs64 instead of calling stat64.
4686
4687 2014-05-28  Roland McGrath  <roland@hack.frob.com>
4688
4689         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
4690         that was previously under [RESET_PID].
4691         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
4692
4693         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
4694         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
4695
4696 2014-05-27  Roland McGrath  <roland@hack.frob.com>
4697
4698         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
4699
4700         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
4701         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
4702
4703 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
4704
4705         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
4706
4707 2014-05-27  Andreas Schwab  <schwab@suse.de>
4708
4709         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
4710         TLS_INIT_TP macro.
4711         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4712         * elf/rtld.c (init_tls, dl_main): Likewise.
4713         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
4714         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
4715         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
4716         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
4717         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
4718         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
4719         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
4720         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
4721         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
4722         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
4723         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
4724         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
4725         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
4726         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
4727         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
4728         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
4729         * sysdeps/generic/tls.h: Update description.
4730
4731 2014-05-27  Will Newton  <will.newton@linaro.org>
4732
4733         [BZ #16990]
4734         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
4735         and restore r2 rather than just restoring.
4736
4737 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4738
4739         [BZ #16724]
4740         * libio/tst-ftell-append.c: New test case.
4741         * libio/Makefile (tests): Add test case.
4742         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
4743         append mode.
4744         * libio/wfileops.c (do_ftell_wide): Likewise.
4745
4746 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4747
4748         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4749
4750         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4751         ...
4752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
4753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4754         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
4755         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
4756         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
4757         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
4758         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
4759         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
4760         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4761         Moved ...
4762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
4763         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4764         Moved ...
4765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
4766         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
4767         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4768         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4769         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4770         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4771         ...
4772         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4773         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4774         Moved ...
4775         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
4776         here.
4777         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
4778         ...
4779         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
4780         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
4781         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
4782
4783         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4784         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
4785         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4786         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4787
4788         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4789         merge into ...
4790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4791         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4792         ...
4793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4794         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4795         ...
4796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4797         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4798         Moved ...
4799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4800         here.
4801         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4802         Moved ...
4803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4804         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4805         Moved ...
4806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4807
4808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4809         conditional [RESET_PID].
4810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4811         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4812         removed.
4813         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4814         removed.
4815
4816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4817         <tcb-offsets.h>.
4818         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4819         (__libc_vfork): New strong alias.
4820         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4821         removed.
4822         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4823         Removed.
4824
4825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4826         <tcb-offsets.h>.
4827         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4828         (__libc_vfork): New strong alias.
4829         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4830         removed.
4831         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4832         removed.
4833
4834 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
4835
4836         * malloc/malloc.c (mi_arena): New function.
4837         (malloc_info): Remove nested function mi_arena. Call non-nosted
4838         function mi_arena.
4839
4840 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4841
4842         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4843         by insrwi.
4844         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4845         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4846         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4847         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4848         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4849         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4850         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4851
4852 2014-05-26  Andreas Schwab  <schwab@suse.de>
4853
4854         [BZ #16984]
4855         * locale/programs/repertoire.c (repertoire_read): Add slash
4856         between I18NPATH element and file name.
4857         * locale/programs/locfile.c (locfile_read): Likewise.
4858
4859 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
4860
4861         * nptl/pthread_mutexattr_settype.c
4862         (__pthread_mutexattr_settype):
4863         Disable lock elision for PTHREAD_MUTEX_NORMAL.
4864
4865 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
4866
4867         * nptl/tst-mutex5 (do_test):
4868         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
4869
4870 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4871
4872         * benchtests/README: Document 'init' directive.
4873         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
4874         BENCH_INIT.
4875         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
4876         (parse_file): Recognize 'init' directive.
4877
4878 2014-05-26  Kyle McMartin  <kyle@redhat.com>
4879
4880         [BZ #16796]
4881         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
4882         alignment of struct pthread.
4883
4884 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4885
4886         [BZ #16878]
4887         * nscd/netgroupcache.c (addgetnetgrentX): Look for
4888         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4889         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
4890         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
4891
4892 2014-05-25  Richard Henderson  <rth@twiddle.net>
4893
4894         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4895         (SINGLE_THREAD_P_PIC): Remove.
4896         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
4897         (SINGLE_THREAD_P_PIC): Remove.
4898
4899         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
4900         branch to syscall error ...
4901         (PSEUDO): ... here.
4902         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
4903         from __local_syscall_error to .Lsyscall_error.
4904         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
4905         (SYSCALL_ERROR): Update label name.
4906
4907         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4908         Do not use DOARGS/UNDOARGS.
4909         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
4910         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
4911         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
4912         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
4913         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
4914
4915         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
4916         block comment.
4917
4918         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
4919         define if !NOT_IN_libc.
4920         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
4921         define with non-default symbol versions.
4922
4923 2014-05-23  Richard Henderson  <rth@twiddle.net>
4924
4925         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
4926         (vfork, __vfork): Define via compat_symbol.
4927
4928         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
4929         [!HAVE_IFUNC] (vfork_compat): Remove.
4930         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
4931
4932 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
4933
4934         [BZ #16978]
4935         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
4936         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
4937         variable.
4938
4939 2014-05-23  Richard Henderson  <rth@twiddle.net>
4940
4941         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
4942         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
4943         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
4944         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
4945
4946         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
4947         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
4948         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
4949         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
4950         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
4951         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
4952         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
4953         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
4954         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
4955         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
4956         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
4957         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
4958         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
4959         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
4960         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
4961         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
4962         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
4963         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
4964         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
4965         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
4966         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
4967         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
4968         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
4969         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
4970         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
4971         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
4972         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
4973         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
4974         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
4975         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
4976         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
4977         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
4978         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
4979         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
4980         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
4981         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
4982         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
4983         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
4984         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
4985         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
4986         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
4987         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
4988         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
4989         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
4990         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
4991         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
4992         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
4993         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
4994         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
4995         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
4996         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
4997         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
4998         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
4999         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
5000         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
5001         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
5002
5003         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
5004         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
5005         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
5006         before exiting on error.
5007         (__libc_vfork): New strong alias.
5008         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5009         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5010
5011         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5012         that was previously under [RESET_PID].
5013         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5014
5015         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5016
5017 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
5018
5019         [BZ #16977]
5020         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
5021         value when x - 1 is zero.
5022         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
5023         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5024         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
5025         0.0L for an argument of 1.0L.
5026         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
5027         Likewise.
5028         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
5029         value when x - 1 is zero.
5030         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
5031         * sysdeps/i386/fpu/libm-test-ulps: Update.
5032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5033
5034 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
5035
5036         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5037         alphasort and versionsort.
5038
5039 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5040
5041         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
5042         macro.
5043         [copysignf]: Likewise.
5044
5045 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5046
5047         * crypt/md5-crypt.c: Fix formatting.
5048
5049 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5050
5051         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
5052         (b64_from_24bit): New function.
5053
5054 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5055
5056         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5057         libc_hidden_builtin_def to ifunc.
5058         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5059         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5060
5061 2014-05-21  Roland McGrath  <roland@hack.frob.com>
5062
5063         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5064         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5065
5066 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
5067
5068         * nscd/Depend (linuxthreads): Remove.
5069         (nptl): Add.
5070         * resolv/Depend (linuxthreads): Remove.
5071         * rt/Depend (linuxthreads): Remove.
5072
5073         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5074         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5075         $(common-objpfx)elf/.
5076         (link-libc-before-gnulib): Likewise.
5077         (elfobjdir): Remove variable.
5078         * Makefile (install): Use $(elf-objpfx) instead of
5079         $(common-objpfx)elf/.
5080         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5081         $(elfobjdir)/.
5082         (link-libc-deps): Likewise.
5083         ($(common-objpfx)libc.so): Likewise.
5084         ($(common-objpfx)linkobj/libc.so): Likewise.
5085         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5086         instead of $(common-objpfx)elf/.
5087         (symbolic-link-list): Likewise.
5088         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5089         [$(cross-compiling) = no]: Likewise.
5090         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5091         $(elfobjdir)/.
5092         (static-gnulib-arch): Likewise.
5093         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5094         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5095         $(common-objpfx)elf/.
5096
5097 2014-05-21  Richard Henderson  <rth@redhat.com>
5098
5099         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5100         (SINGLE_THREAD_P): Use the correct width load.  Fold
5101         into the ldr offset.
5102
5103         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5104         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5105
5106 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
5107
5108         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5109         (libgcc_s_resume): Use __attribute_used__.
5110         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5111         Likewise.
5112
5113 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5114
5115         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5116         optimization when used with float constants.
5117
5118         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5119
5120 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
5121
5122         [BZ #16915]
5123         * locale/nl_langinfo_l.c: Make direct reference to every
5124         _nl_current_CATEGORY symbol.
5125         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5126         (tests-static): Add tst-langinfo-static.
5127         (tests-special): Add tst-langinfo-static.out.
5128         ($(objpfx)tst-langinfo.out): Redirect output.
5129         ($(objpfx)tst-langinfo-static.out): New.
5130         * localedata/tst-langinfo.sh: Send output to stdout.
5131         * localedata/tst-langinfo-static.c: New file.
5132
5133         [BZ #16965]
5134         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5135         when the shift amount is modulo the limb size.
5136
5137 2014-05-20  Richard Henderson  <rth@redhat.com>
5138
5139         [BZ #16967]
5140         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5141         Change type of sa_flags from unsigned int to int.
5142
5143         [BZ #16966]
5144         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
5145
5146         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5147
5148 2014-05-20  Will Newton  <will.newton@linaro.org>
5149
5150         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5151         Test the return value of the system call in the nocancel case.
5152
5153 2014-05-20  Will Newton  <will.newton@linaro.org>
5154             Yvan Roux  <yvan.roux@linaro.org>
5155
5156         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5157         #include of asm/ptrace.h.
5158         (PTRACE_GET_THREAD_AREA): Remove #undef.
5159         (PTRACE_GETHBPREGS): Likewise.
5160         (PTRACE_SETHBPREGS): Likewise.
5161         (struct user_regs_struct): New structure.
5162         (struct user_fpsimd_struct): New structure.
5163         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5164         #include of asm/ptrace.h and second #include of sys/user.h.
5165         (PTRACE_GET_THREAD_AREA): Remove #undef.
5166         (PTRACE_GETHBPREGS): Likewise.
5167         (PTRACE_SETHBPREGS): Likewise.
5168         (ELF_NGREG): Use new struct user_regs_struct.
5169         (elf_fpregset_t): Use new struct user_fpsimd_struct.
5170
5171 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5172
5173         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5174         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5175
5176 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
5177
5178         [BZ #16958]
5179         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5180         membar to avoid block loads/stores to overlap previous stores.
5181
5182 2014-05-17  Richard Henderson  <rth@redhat.com>
5183
5184         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5185         Create the __##syscall_name##_nocancel entry point.
5186         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5187         Remove; let the sysdep-cancel.h code create it.
5188
5189 2014-05-17  David S. Miller  <davem@davemloft.net>
5190
5191         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5192         Protect with __USE_GNU.
5193         (TIOCSET_TEMPT): Likewise.
5194         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5195         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5196         these are already provided in bits/ioctl-types.h
5197
5198 2014-05-16  Roland McGrath  <roland@hack.frob.com>
5199
5200         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
5201         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
5202
5203         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
5204         Use wait4 regardless of [__NR_waitpid].
5205
5206 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
5207
5208         PR libgcc/60166
5209         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5210         (_FP_NANSIGN_Q): Set the quiet bit.
5211
5212 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
5213
5214         * benchtests/Makefile
5215         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5216         not $(common-objpfx)math/libm.so.
5217         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5218         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5219         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5220         $(common-objpfx)dlfcn/libdl.so.
5221         ($(objpfx)tst-audit8): Depend on $(libm), not
5222         $(common-objpfx)math/libm.so.
5223         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5224         not $(common-objpfx)dlfcn/libdl.so.
5225         * math/Makefile
5226         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5227         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
5228         [$(build-shared) = yes].
5229         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5230         $(common-objpfx)nptl/libpthread.so.
5231         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5232         $(common-objpfx)math/libm.so$(libm.so-version) or
5233         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5234         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5235         $(common-objpfx)dlfcn/libdl.so.
5236         * setjmp/Makefile (link-libm): Remove variable.
5237         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5238         * stdio-common/Makefile (link-libm): Remove variable.
5239         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5240         * stdlib/Makefile (link-libm): Remove variable.
5241         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5242         ($(objpfx)tst-strtod-round): Likewise.
5243         ($(objpfx)tst-tininess): Likewise.
5244         ($(objpfx)tst-strtod-underflow): Likewise.
5245         ($(objpfx)tst-strtod6): Likewise.
5246         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5247         $(libdl), not $(common-objpfx)nptl/libpthread.so and
5248         $(common-objpfx)dlfcn/libdl.so.
5249
5250 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5251
5252         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5253         BSD terminal modes definitions.
5254
5255 2014-05-16  Roland McGrath  <roland@hack.frob.com>
5256
5257         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5258         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5259
5260         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
5261         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5262         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5263         Don't do #include_next.
5264         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5265         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5266         Don't do #include_next.
5267         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5268         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5269         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5270         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5271
5272 2014-05-16  Allan McRae  <allan@archlinux.org>
5273
5274         * po/sv.po: Update Swedish translation from translation project.
5275
5276         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5277         in sed expression.
5278
5279 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
5280
5281         [BZ #16917]
5282         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5283         errno if the TIOCGPTN ioctl fails with an error different than
5284         EINVAL.
5285         * login/tst-ptsname.c: New file.
5286         * login/Makefile (tests): Add tst-ptsname.
5287
5288         [BZ #16943]
5289         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5290         and prlimit64.
5291
5292 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5293
5294         [BZ #16849]
5295         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5296         herrno to return EAI_AGAIN.
5297
5298 2014-05-14  Roland McGrath  <roland@hack.frob.com>
5299
5300         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5301         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5302         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5303         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5304         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5305         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5306         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5307         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5308         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5309         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5310         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5311         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5312         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5313         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5314         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5315         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5316         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5317         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5318         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5319         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5320         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5321         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
5322         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
5323         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
5324         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
5325         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
5326         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
5327         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
5328         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
5329         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
5330         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
5331         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
5332         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
5333         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
5334         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5335         Moved ...
5336         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
5337         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
5338         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
5339         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
5340         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
5341         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
5342         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
5343         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
5344         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
5345         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
5346         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
5347         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
5348         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
5349         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
5350         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
5351         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
5352         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
5353         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
5354         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
5355         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
5356         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
5357         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
5358         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
5359         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
5360         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
5361         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
5362         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
5363         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5364         Moved ...
5365         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
5366         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
5367         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
5368         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
5369         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
5370         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
5371         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
5372         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
5373         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
5374         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
5375         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
5376         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
5377         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
5378         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
5379         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
5380         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
5381         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
5382         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
5383         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
5384         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5385         Moved ...
5386         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
5387         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
5388         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
5389
5390         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
5391         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
5392         (libpthread-sysdep_routines): Add elision-related stuff here instead.
5393         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
5394         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
5395         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
5396         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
5397         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5398         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5399         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5400         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5401         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5402         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5403         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5404         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5405         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5406         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5407         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5408         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5409         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5410         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5411         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5412         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5413         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5414         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5415         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5416         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5417         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5418         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5419         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5420         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5421
5422         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5423         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5424
5425         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5426         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5427         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5428         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5429         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5430         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5431         Moved ...
5432         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5433         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5434         Moved ...
5435         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5436         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5437         Moved ...
5438         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5439         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5440         Moved ...
5441         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5442         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5443         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5444         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5445         Moved ...
5446         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5447         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5448         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5449         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5450         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5451         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5452         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5453         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5454         Moved ...
5455         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5456         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5457         Moved ...
5458         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5459         ... here.
5460         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5461         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5462         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5463         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5464         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5465         Moved ...
5466         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5467         ... here.
5468         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5469         Moved ...
5470         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5471         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5472         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5473         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5474         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5475         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5476         Moved ...
5477         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5478         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5479         Moved ...
5480         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5481         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5482         Moved ...
5483         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5484         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5485         Moved ...
5486         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5487         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5488         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5489         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5490         Moved ...
5491         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5492         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5493         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5494         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5495         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5496         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5497         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5498         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5499         Moved ...
5500         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5501         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5502         Moved ...
5503         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5504         ... here.
5505         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5506         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5507         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5508         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5509         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5510         Moved ...
5511         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5512         ... here.
5513         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5514         Moved ...
5515         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5516         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5517         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5518         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5519         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5520         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5521         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5522         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5523         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5524         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5525         Moved ...
5526         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5527         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5528         Moved ...
5529         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5530         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5531         Moved ...
5532         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
5533         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
5534         Moved ...
5535         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
5536         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
5537         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
5538         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
5539         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
5540         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5541         Moved ...
5542         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
5543         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
5544         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
5545         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
5546         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
5547         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
5548         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
5549         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5550         Moved ...
5551         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
5552         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5553         Moved ...
5554         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5555         ... here.
5556         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
5557         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
5558         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
5559         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
5560         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5561         Moved ...
5562         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5563         ... here.
5564         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
5565         Moved ...
5566         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
5567         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
5568         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
5569         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
5570         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
5571         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
5572         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
5573         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
5574         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
5575         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
5576         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5577
5578         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
5579         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
5580
5581         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
5582         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5583
5584         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
5585         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
5586         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
5587         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
5588         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
5589         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
5590         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
5591         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
5592         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
5593         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
5594         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
5595         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
5596         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
5597         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
5598         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
5599         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
5600         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
5601         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
5602         Moved ...
5603         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
5604         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
5605         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
5606         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
5607         Moved ...
5608         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
5609         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
5610         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
5611         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
5612         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
5613         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
5614         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
5615         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
5616         Moved ...
5617         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
5618         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
5619         Moved ...
5620         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
5621         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
5622         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
5623         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
5624         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
5625         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
5626         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
5627         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
5628         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
5629         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
5630         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
5631         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
5632         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
5633         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
5634         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
5635         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
5636         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
5637
5638         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
5639         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
5640         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
5641         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
5642         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
5643
5644         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
5645         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
5646         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
5647         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
5648         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
5649         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
5650         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
5651         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
5652         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
5653         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
5654
5655         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
5656         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
5657
5658         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
5659         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
5660         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
5661         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
5662         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
5663         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
5664         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
5665         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
5666         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
5667         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
5668         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
5669         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
5670         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
5671         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
5672         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
5673         Update #include.
5674         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
5675         Likewise.
5676         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5677         Likewise.
5678         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5679         Likewise.
5680         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5681         Likewise.
5682         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
5683         Likewise.
5684         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
5685         Likewise.
5686         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5687         Likewise.
5688         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
5689         Likewise.
5690         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
5691         Likewise.
5692         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
5693         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
5694         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
5695         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
5696         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5697         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
5698         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
5699         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
5700         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
5701         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
5702         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
5703         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
5704         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
5705         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
5706         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
5707
5708         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
5709         that was previously under [RESET_PID].
5710         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5711         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
5712         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
5713
5714         * sysdeps/i386/nptl/Implies: New file.
5715         * sysdeps/x86_64/nptl/Implies: New file.
5716         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
5717         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5718         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
5719         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
5720
5721         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
5722         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5723         (__libc_vfork): New strong alias.
5724         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
5725         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
5726
5727         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
5728         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5729         (__libc_vfork): New strong alias.
5730         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
5731         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
5732
5733         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
5734         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5735         (__libc_vfork): New strong alias.
5736         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
5737         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
5738         * nptl/pt-vfork.c: New file.
5739         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
5740         (libpthread: GLIBC_2.20): New version set (empty).
5741
5742 2014-05-14  Will Newton  <will.newton@linaro.org>
5743
5744         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
5745         rather than #if.
5746
5747 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
5748
5749         [BZ #16564]
5750         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5751         arguments with exponent 65 or above.
5752         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
5753         arguments 0x1p113L or above.
5754         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
5755         to arguments 0x1p107L or above.
5756         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
5757         positive arguments with exponent 65 or above.
5758         * math/auto-libm-test-in: Add more tests of log1p.
5759         * math/auto-libm-test-out: Regenerated.
5760
5761         [BZ #16928]
5762         * math/s_cacos.c (__cacos): Ensure zero real part of result from
5763         non-finite arguments is +0.
5764         * math/s_cacosf.c (__cacosf): Likewise.
5765         * math/s_cacosl.c (__cacosl): Likewise.
5766         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
5767         * sysdeps/i386/fpu/libm-test-ulps: Update.
5768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5769
5770         [BZ #16927]
5771         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5772         value.
5773         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5774         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5775         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
5776         for explicit high bit of mantissa when testing for argument equal
5777         to 1.
5778         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
5779         * sysdeps/i386/fpu/libm-test-ulps: Update.
5780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5781
5782         [BZ #16516]
5783         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5784         (__erf): Scale by 16 instead of 8 in potentially underflowing
5785         case.  Ensure exception if result actually underflows.
5786         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5787         (__erff): Scale by 16 instead of 8 in potentially underflowing
5788         case.  Ensure exception if result actually underflows.
5789         * sysdeps/ieee754/ldbl-128/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         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
5794         (efx8): Remove variable.
5795         (__erfl): Scale by 16 instead of 8 in potentially underflowing
5796         case.  Ensure exception if result actually underflows.
5797         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5798         (efx8): Remove variable.
5799         (__erfl): Scale by 16 instead of 8 in potentially underflowing
5800         case.  Ensure exception if result actually underflows.
5801         * math/auto-libm-test-in: Add more tests of erf.
5802         * math/auto-libm-test-out: Regenerated.
5803
5804 2014-05-14  Andreas Schwab  <schwab@suse.de>
5805
5806         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5807         Remove code conditionalized on USE___THREAD.
5808
5809         * config.h.in (HAVE_PT_CHOWN): Define as 0.
5810         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5811         not definedness.
5812
5813 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
5814
5815         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5816         Define unconditionally.
5817         (__ASSUME_O_CLOEXEC): Likewise.
5818         (__ASSUME_SOCK_CLOEXEC): Likewise.
5819         (__ASSUME_IN_NONBLOCK): Likewise.
5820         (__ASSUME_PIPE2): Likewise.
5821         (__ASSUME_EVENTFD2): Likewise.
5822         (__ASSUME_SIGNALFD4): Likewise.
5823         (__ASSUME_DUP3): Likewise.
5824         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5825         (__ASSUME_DUP3): Do not define.
5826         (__ASSUME_EVENTFD2): Likewise.
5827         (__ASSUME_IN_NONBLOCK): Likewise.
5828         (__ASSUME_O_CLOEXEC): Likewise.
5829         (__ASSUME_PIPE2): Likewise.
5830         (__ASSUME_SIGNALFD4): Likewise.
5831         (__ASSUME_SOCK_CLOEXEC): Likewise.
5832         (__ASSUME_UTIMES): Undefine.
5833         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5834         (__ASSUME_UTIMES): Do not define.
5835         (__ASSUME_O_CLOEXEC): Likewise.
5836         (__ASSUME_SOCK_CLOEXEC): Likewise.
5837         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5838         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5839         0x020621].
5840         (__ASSUME_PIPE2): Likewise.
5841         (__ASSUME_EVENTFD2): Likewise.
5842         (__ASSUME_SIGNALFD4): Likewise.
5843         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5844         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5845         Do not define.
5846         (__ASSUME_EVENTFD2): Likewise.
5847         (__ASSUME_SIGNALFD4): Likewise.
5848         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5849         (__ASSUME_32BITUIDS): Likewise.
5850         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5851         (__ASSUME_IPC64): Likewise.
5852         (__ASSUME_ST_INO_64_BIT): Likewise.
5853         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5854         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5855         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5856         (__ASSUME_UTIMES): Do not define.
5857         (__ASSUME_PSELECT): Likewise.
5858         (__ASSUME_PPOLL): Likewise.
5859         (__ASSUME_O_CLOEXEC): Likewise.
5860         (__ASSUME_SOCK_CLOEXEC): Likewise.
5861         (__ASSUME_IN_NONBLOCK): Likewise.
5862         (__ASSUME_PIPE2): Likewise.
5863         (__ASSUME_EVENTFD2): Likewise.
5864         (__ASSUME_SIGNALFD4): Likewise.
5865         (__ASSUME_DUP3): Likewise.
5866         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5867         (__ASSUME_UTIMES): Likewise.
5868         (__ASSUME_O_CLOEXEC): Likewise.
5869         (__ASSUME_SOCK_CLOEXEC): Likewise.
5870         (__ASSUME_IN_NONBLOCK): Likewise.
5871         (__ASSUME_PIPE2): Likewise.
5872         (__ASSUME_EVENTFD2): Likewise.
5873         (__ASSUME_SIGNALFD4): Likewise.
5874         (__ASSUME_DUP3): Likewise.
5875         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5876         (__ASSUME_UTIMES): Likewise.
5877         (__ASSUME_O_CLOEXEC): Likewise.
5878         (__ASSUME_SOCK_CLOEXEC): Likewise.
5879         (__ASSUME_IN_NONBLOCK): Likewise.
5880         (__ASSUME_PIPE2): Likewise.
5881         (__ASSUME_EVENTFD2): Likewise.
5882         (__ASSUME_SIGNALFD4): Likewise.
5883         (__ASSUME_DUP3): Likewise.
5884         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
5885         Likewise.
5886         (__ASSUME_UTIMES): Likewise.
5887         (__ASSUME_EVENTFD2): Likewise.
5888         (__ASSUME_SIGNALFD4): Likewise.
5889         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5890         (__ASSUME_O_CLOEXEC): Likewise.
5891         (__ASSUME_SOCK_CLOEXEC): Likewise.
5892         (__ASSUME_IN_NONBLOCK): Likewise.
5893         (__ASSUME_PIPE2): Likewise.
5894         (__ASSUME_EVENTFD2): Likewise.
5895         (__ASSUME_SIGNALFD4): Likewise.
5896         (__ASSUME_DUP3): Likewise.
5897         (__ASSUME_UTIMES): Undefine.
5898
5899         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
5900         feclearexcept.  Remove symbol versioning code.
5901         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
5902         symbol versioning code.
5903         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
5904         symbol versioning code.
5905         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
5906         feupdateenv.  Remove symbol versioning code.
5907         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
5908         fegetexceptflag.  Remove symbol versioning code.
5909         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
5910         fesetexceptflag.  Remove symbol versioning code.
5911         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
5912         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
5913         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
5914         (__posix_fadvise64_l32): Remove prototype.
5915         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
5916         code.
5917
5918 2014-05-13  Roland McGrath  <roland@hack.frob.com>
5919
5920         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
5921         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
5922         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
5923         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
5924
5925 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
5926
5927         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
5928         current working directory
5929
5930 2014-05-13  Roland McGrath  <roland@hack.frob.com>
5931
5932         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
5933         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
5934         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
5935         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
5936         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
5937         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
5938         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
5939         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
5940         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
5941         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
5942         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
5943         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
5944         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
5945         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
5946         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
5947         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
5948         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
5949         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
5950         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
5951         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
5952         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
5953         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
5954         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
5955         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
5956         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
5957         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
5958         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
5959         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
5960         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
5961         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
5962         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
5963         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
5964         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
5965         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
5966         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
5967         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
5968         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
5969         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
5970         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
5971         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
5972         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
5973         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
5974
5975         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
5976         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
5977
5978         * sysdeps/unix/sysv/linux/arm/Makefile
5979         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5980         Add rt-aeabi_unwind_cpp_pr1.
5981         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
5982         Add nptl-aeabi_unwind_cpp_pr1.
5983         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
5984         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
5985         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
5986         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5987         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
5988         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5989
5990         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
5991         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
5992         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
5993         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
5994
5995         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
5996         Deconditionalize the code that was previously under [RESET_PID].
5997         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
5998
5999         * sysdeps/generic/exit-thread.h: New file.
6000         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
6001         * include/unistd.h (__exit_thread): Remove declaration.
6002         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
6003         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
6004         * csu/libc-start.c: Include <exit-thread.h>.
6005         (LIBC_START_MAIN): Pass no argument to __exit_thread.
6006         * nptl/pthread_create.c: Include <exit-thread.h>.
6007         (start_thread): Call __exit_thread in place of __exit_thread_inline.
6008         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6009         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6010         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6011         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6012         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6013         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6014         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6015         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6016         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
6017         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
6018         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
6019         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
6020         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
6021         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
6022         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
6023         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
6024
6025 2014-05-13  Andreas Schwab  <schwab@suse.de>
6026
6027         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
6028
6029 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
6030
6031         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6032         (__ASSUME_UTIMES): Do not condition on kernel version.
6033         (__ASSUME_PSELECT): Define unconditionally.
6034         (__ASSUME_PPOLL): Likewise.
6035         (__ASSUME_ATFCTS): Likewise.
6036         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6037         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6038         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6039         (__ASSUME_UTIMENSAT): Define unconditionally.
6040         (__ASSUME_PRIVATE_FUTEX): Likewise.
6041         (__ASSUME_FALLOCATE): Likewise.
6042         (__ASSUME_O_CLOEXEC): Likewise.
6043         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
6044         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
6045         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
6046         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
6047         (__ASSUME_IN_NONBLOCK): Likewise.
6048         (__ASSUME_PIPE2): Likewise.
6049         (__ASSUME_EVENTFD2): Likewise.
6050         (__ASSUME_SIGNALFD4): Likewise.
6051         (__ASSUME_DUP3): Likewise.
6052         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6053         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6054         (__ASSUME_AT_RANDOM): Likewise.
6055         (__ASSUME_PREADV): Likewise.
6056         (__ASSUME_PWRITEV): Likewise.
6057         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6058         (__ASSUME_F_GETOWN_EX): Define unconditionally.
6059         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6060         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6061         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6062         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6063         (__ASSUME_O_CLOEXEC): Define unconditionally.
6064         (__ASSUME_PSELECT): Do not undefine conditionally.
6065         (__ASSUME_PPOLL): Likewise.
6066         (__ASSUME_ATFCTS): Likewise.
6067         (__ASSUME_SET_ROBUST_LIST): Likewise.
6068         (__ASSUME_UTIMENSAT): Likewise.
6069         (__ASSUME_FDATASYNC): Define unconditionally.
6070         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6071         (__ASSUME_SIGFRAME_V2): Likewise.
6072         )__ASSUME_EVENTFD2): Likewise.
6073         (__ASSUME_SIGNALFD4): Likewise.
6074         (__ASSUME_PSELECT): Do not undefine conditionally.
6075         (__ASSUME_PPOLL): Likewise.
6076         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6077         (__ASSUME_PSELECT): Define unconditionally.
6078         (__ASSUME_PPOLL): Likewise.
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/m68k/kernel-features.h
6087         (__ASSUME_O_CLOEXEC): Likewise.
6088         (__ASSUME_SOCK_CLOEXEC): Likewise.
6089         (__ASSUME_IN_NONBLOCK): Likewise.
6090         (__ASSUME_PIPE2): Likewise.
6091         (__ASSUME_EVENTFD2): Likewise.
6092         (__ASSUME_SIGNALFD4): Likewise.
6093         (__ASSUME_DUP3): Likewise.
6094         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6095         (__ASSUME_EVENTFD2): Likewise.
6096         (__ASSUME_SIGNALFD4): Likewise.
6097         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6098
6099 2014-05-12  Andreas Schwab  <schwab@suse.de>
6100
6101         [BZ #16932]
6102         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6103         (_nss_nis_gethostbyname4_r): Return error if item length is larger
6104         than maximum RPC packet size.
6105         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6106         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6107         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6108         (_nss_nis_getservbyport_r): Likewise.
6109
6110 2014-05-12  Will Newton  <will.newton@linaro.org>
6111
6112         * malloc/Makefile (tests): Add tst-mallopt.
6113         * malloc/tst-mallopt.c: New file.
6114
6115 2014-05-09  Roland McGrath  <roland@hack.frob.com>
6116
6117         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6118         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6119
6120 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6121
6122         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6123         (tst-tlsmod6.so): Likewise.
6124
6125 2014-05-09  Roland McGrath  <roland@hack.frob.com>
6126
6127         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6128
6129 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
6130
6131         [BZ #16064]
6132         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6133         and <dl-procinfo.h>.
6134         (__fegetenv): Save SSE state in envp->__eip if supported.
6135         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6136         envp->__eip if supported.
6137         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6138         and <dl-procinfo.h>.
6139         (__fesetenv): Always set __eip, __cs_selector, __opcode,
6140         __data_offset and __data_selector in environment to 0.  Set SSE
6141         state if supported.
6142         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6143         test-fenv-sse.
6144         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6145         -mfpmath=sse.
6146         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6147
6148 2014-05-09  Will Newton  <will.newton@linaro.org>
6149
6150         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6151         and libc_relro_required for ARM.
6152         * sysdeps/arm/preconfigure: Regenerate.
6153
6154 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
6155             Stefan Liebler  <stli@linux.vnet.ibm.com>
6156
6157         * config.make.in (enable-lock-elision): New Makefile variable.
6158         * configure.ac: Likewise.
6159         * configure: Regenerate.
6160         * sysdeps/s390/configure.ac:
6161         Add check for gcc transactions support.
6162         * sysdeps/s390/configure: Regenerate.
6163         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6164         Build elision files if enabled.
6165         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6166         Add lock elision support for s390.
6167         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6168         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6169         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6170         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6171         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6172         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6173         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6174         Likewise.
6175         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6176         Likewise.
6177         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6178         Likewise.
6179         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6180         Likewise.
6181         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6182         (__lll_timedlock_elision, __lll_lock_elision)
6183         (__lll_unlock_elision, __lll_trylock_elision)
6184         (lll_timedlock_elision, lll_lock_elision)
6185         (lll_unlock_elision, lll_trylock_elision): Add.
6186         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6187         (pthread_mutex_t): Add lock elision support for s390.
6188
6189 2014-05-14  Wilco  <wdijkstr@arm.com>
6190
6191         * sysdeps/arm/fclrexcpt.c: Cleanup.
6192         * sysdeps/arm/fedisblxcpt.c: Cleanup.
6193         * sysdeps/arm/feenablxcpt.c: Cleanup.
6194         * sysdeps/arm/fegetenv.c: Cleanup.
6195         * sysdeps/arm/fegetexcept.c: Cleanup.
6196         * sysdeps/arm/fegetround.c: Cleanup.
6197         * sysdeps/arm/feholdexcpt.c: Cleanup.
6198         * sysdeps/arm/fesetenv.c: Cleanup.
6199         * sysdeps/arm/fesetround.c: Cleanup.
6200         * sysdeps/arm/feupdateenv.c: Cleanup.
6201         * sysdeps/arm/fgetexcptflg.c: Cleanup.
6202         * sysdeps/arm/fraiseexcpt.c: Cleanup.
6203         * sysdeps/arm/fsetexcptflg.c: Cleanup.
6204         * sysdeps/arm/ftestexcept.c: Cleanup.
6205         * sysdeps/arm/get-rounding-mode.h: Cleanup.
6206         * sysdeps/arm/setfpucw.c: Cleanup.
6207
6208 2014-05-09  Will Newton  <will.newton@linaro.org>
6209
6210         * sysdeps/arm/armv7/strcmp.S: New file.
6211         * NEWS: Mention addition of ARMv7 optimized strcmp.
6212
6213 2014-05-08  Roland McGrath  <roland@hack.frob.com>
6214
6215         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6216         look for %.ac rather than %.in.
6217
6218         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6219         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6220         * sysdeps/mach/hurd/configure: Regenerated.
6221         * sysdeps/unix/sysv/linux/configure: Regenerated.
6222
6223         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6224
6225 2014-05-07  Steve Ellcey  <sellcey@mips.com>
6226
6227         [BZ# 16922]
6228         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6229         (LONG_SUB): Ditto.
6230         (PTR_SUB): Ditto.
6231
6232 2014-05-07  Andreas Schwab  <schwab@suse.de>
6233
6234         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6235         when skipping over non-matching result from nscd.
6236
6237 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
6238
6239         [BZ #16876]
6240         * nptl/sockperf.c (client): Check socket return value.
6241
6242         [BZ #16877]
6243         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6244         nscd security class.
6245
6246 2014-05-06  Roland McGrath  <roland@hack.frob.com>
6247
6248         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6249         * sysdeps/arm/unwind.h: ... here.
6250
6251 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
6252
6253         [BZ# 16916]
6254         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6255         Define.
6256
6257 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6258
6259         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6260         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6261         multiarch strncpy for PPC64.
6262         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6263         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6264         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6265         multiarch optimizations.
6266         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6267         (__libc_ifunc_impl_list): Likewise.
6268         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6269         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6270         multiarch stpncpy for PPC64.
6271         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6272         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6273
6274 2014-05-06  Andreas Schwab  <schwab@suse.de>
6275
6276         [BZ #16912]
6277         * gmon/mcount.c (_MCOUNT_DECL): Use
6278         atomic_compare_and_exchange_bool_acq instead of
6279         catomic_compare_and_exchange_bool_acq.
6280
6281 2014-05-05  Roland McGrath  <roland@hack.frob.com>
6282
6283         * elf/Makefile (others, install-bin): Remove pldd.
6284         (pldd-modules): Variable removed.
6285         ($(objpfx)pldd): Target removed.
6286         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6287         (others, install-bin): Append pldd here.
6288         ($(objpfx)pldd): New target.
6289
6290         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6291         to 0, so the first #if test emitted later doesn't see it undefined.
6292         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6293         * sysdeps/gnu/errlist.c: Regenerated.
6294
6295 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6296
6297         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6298         [libc_hidden_builtin_def]: Define to empty value.
6299         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6300         [libc_hidden_builtin_def]: Likewise.
6301         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6302         [libc_hidden_builtin_def]: Likewise.
6303         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6304         [libc_hidden_builtin_def]: Likewise.
6305         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6306         __redirect_memcpy and define ifunc as default hidden symbol.
6307         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6308         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6309
6310 2014-05-04  Adam Conrad  <adconrad@0c3.net>
6311
6312         * locale/iso-4217.def: Reintroduce XDR currency.
6313
6314 2014-05-04  Allan McRae  <allan@archlinux.org>
6315
6316         * po/eo.po: Update Esperanto translation from translation project.
6317
6318 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
6319
6320         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6321         and FEATURE_INDEX_MAX to 1.
6322         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
6323
6324 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6325
6326         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
6327         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
6328         * iconvdata/big5.c (ONE_DIRECTION): Define.
6329         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
6330         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
6331         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
6332         * iconvdata/cp932.c (ONE_DIRECTION): Define.
6333         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
6334         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
6335         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
6336         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
6337         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
6338         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
6339         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
6340         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
6341         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
6342         * iconvdata/gbk.c (ONE_DIRECTION): Define.
6343         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
6344         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
6345         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
6346         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
6347         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
6348         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
6349         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
6350         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
6351         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
6352         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
6353         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
6354         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
6355         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
6356         * iconvdata/iso646.c (ONE_DIRECTION): Define.
6357         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
6358         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
6359         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
6360         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
6361         * iconvdata/johab.c (ONE_DIRECTION): Define.
6362         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
6363         * iconvdata/sjis.c (ONE_DIRECTION): Define.
6364         * iconvdata/t.61.c (ONE_DIRECTION): Define.
6365         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
6366         * iconvdata/tscii.c (ONE_DIRECTION): Define.
6367         * iconvdata/uhc.c (ONE_DIRECTION): Define.
6368         * iconvdata/unicode.c (ONE_DIRECTION): Define.
6369         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
6370         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
6371         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
6372
6373 2014-05-01  Roland McGrath  <roland@hack.frob.com>
6374
6375         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
6376         (_IO_JUMPS_OFFSET): Define to 0.
6377
6378         * nptl/sysdeps/pthread/bits/libc-lock.h
6379         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6380         (__libc_lock_define_initialized_recursive): Always define using
6381         initializer.  Modern compilers treat uninitialized (implicit zero) and
6382         explicit zero initializers the same (i.e. put the datum in bss).
6383
6384 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
6385
6386         * nscd/nscd-client.h: Include <string.h>.
6387
6388 2014-05-01  David S. Miller  <davem@davemloft.net>
6389
6390         [BZ #16885]
6391         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
6392         multiple zero bytes exist at the end of a string.
6393         Reported by Aurelien Jarno <aurelien@aurel32.net>
6394
6395         * string/test-strcmp.c (check): Add explicit test for situations where
6396         there are multiple zero bytes after the first.
6397
6398 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
6399
6400         [BZ #16890]
6401         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6402         when compiling wprintf.
6403         * stdio-common/tstdiomisc.c (t3): New function.
6404         (main): Call it.
6405
6406 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6407
6408         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6409         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6410         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6411         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6412
6413 2014-05-01  Steve Ellcey  <sellcey@mips.com>
6414
6415         * stdlib/longlong.h: Updated from GCC.
6416
6417 2014-05-01  Will Newton  <will.newton@linaro.org>
6418             Bernard Ogden  <bernie.ogden@linaro.org>
6419
6420         * NEWS: Update fixed bug list.
6421
6422         [BZ #15119]
6423         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6424
6425 2014-04-30  David S. Miller  <davem@davemloft.net>
6426
6427         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6428         (libc_feholdexcept_setround_sparc_ctx): New function.
6429         (libc_fesetenv_sparc_ctx): Likewise.
6430         (libc_feupdateenv_sparc_ctx): Likewise.
6431         (libc_feholdsetround_sparc_ctx): Likewise.
6432         (libc_feholdexcept_setround_ctx): Define.
6433         (libc_feholdexcept_setroundf_ctx): Likewise.
6434         (libc_feholdexcept_setroundl_ctx): Likewise.
6435         (libc_fesetenv_ctx): Likewise.
6436         (libc_fesetenvf_ctx): Likewise.
6437         (libc_fesetenvl_ctx): Likewise.
6438         (libc_feupdateenv_ctx): Likewise.
6439         (libc_feupdateenvf_ctx): Likewise.
6440         (libc_feupdateenvl_ctx): Likewise.
6441         (libc_feresetround_ctx): Likewise.
6442         (libc_feresetroundf_ctx): Likewise.
6443         (libc_feresetroundl_ctx): Likewise.
6444         (libc_feholdsetround_ctx): Likewise.
6445         (libc_feholdsetroundf_ctx): Likewise.
6446         (libc_feholdsetroundl_ctx): Likewise.
6447
6448         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6449         with __USE_GNU instead of XOPEN cpp guards.
6450
6451         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6452         0.
6453
6454         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6455         with XOPEN cpp guards.
6456
6457 2014-04-30  Julian Brown  <julian@codesourcery.com>
6458
6459         [BZ #16888]
6460         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6461         handling.
6462
6463 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
6464
6465         [BZ #9894]
6466         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6467         Change to 2.6.32.
6468         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6469         * sysdeps/unix/sysv/linux/configure: Regenerated.
6470         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6471         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6472         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6473         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6474         * README: Update reference to required Linux kernel version.
6475         * manual/install.texi (Linux): Update reference to required Linux
6476         kernel headers version.
6477         * INSTALL: Regenerated.
6478
6479         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6480         header inclusion.
6481         [POSIX] (limits.h): Likewise.
6482         [POSIX] (math.h): Likewise.
6483         [POSIX] (sys/wait.h): Likewise.
6484         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6485         function.
6486         [POSIX] (stddef.h): Do not allow header inclusion.
6487
6488 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6489
6490         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
6491
6492 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
6493
6494         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6495         Return immediately after lll_futex_wake.
6496
6497 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6498
6499         [BZ #16791]
6500         * nscd/nscd-client.h (datahead_init_common): Initialize entire
6501         structure.
6502         (datahead_init_pos): Call datahead_init_common early.
6503         (datahead_init_neg): Likewise.
6504
6505         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6506         datahead_init_neg): New functions.
6507         * nscd/aicache.c (addhstaiX): Use them.
6508         * nscd/grpcache.c (cache_addgr): Likewise.
6509         * nscd/hstcache.c (cache_addhst): Likewise.
6510         * nscd/initgrcache.c (addinitgroupsX): Likewise.
6511         * nscd/netgroupcache.c (do_notfound): Likewise.
6512         (addgetnetgrentX): Likewise.
6513         (addinnetgrX): Likewise.
6514         * nscd/pwdcache.c (cache_addpw): Likewise.
6515         * nscd/servicescache.c (cache_addserv): Likewise.
6516
6517 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
6518             Atsushi Onoe  <atsushi@onoe.org>
6519
6520         [BZ #14308]
6521         [BZ #12994]
6522         [BZ #13651]
6523         * resolv/res_query.c (__libc_res_nsearch): Return if at least
6524         one response is valid.
6525         * resolv/res_send.c (send_dg): Check for validity of other
6526         response if the current response is a referral.
6527
6528 2014-04-29  Steve Ellcey  <sellcey@mips.com>
6529
6530         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6531
6532 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
6533
6534         [BZ #16823]
6535         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
6536         Always divide by positive zero when computing -Inf result.
6537         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6538         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6539
6540 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6541
6542         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
6543         FPSCR if value do not change.
6544         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6545         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
6546         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6547         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6548         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6549         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
6550         function.
6551
6552 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
6553
6554         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
6555         * sysdeps/unix/sysv/linux/hppa: Move directory from
6556         ports/systeps/unix/sysv/linux/hppa.
6557         * README: Update listing for hppa-*-linux-gnu.
6558
6559 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
6560
6561         [BZ #16754]
6562         * manual/stdio.texi (Hook functions): Fix types of stream hook
6563         functions.
6564         [BZ #16854]
6565         * socket/sys/socket.h: Fix typo in comment.
6566
6567 2014-04-28  Wilco  <wdijkstr@arm.com>
6568
6569         * sysdeps/arm/fenv_private.h: New file.
6570         * sysdeps/arm/math_private.h: New file.
6571         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
6572
6573 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
6574
6575         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
6576         with __int128_t.
6577         (La_x86_64_retval): Likewise.
6578
6579 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
6580
6581         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
6582         fpsr if value didn't change.
6583         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
6584         to fpcr if value didn't change.
6585         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
6586         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
6587         fpsr or fpcr if value didn't change.
6588         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6589         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
6590         fpcr if value didn't change.
6591         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
6592         to fpsr if value didn't change.
6593
6594 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
6595
6596         * nptl/tst-sem3.c: Use test-skeleton.c
6597         (main): Rename to do_test.  Use return instead of
6598         exit.
6599         * nptl/tst-sem4.c: Use test-skeleton.c
6600         (main): Rename to do_test.
6601
6602 2014-04-22  David S. Miller  <davem@davemloft.net>
6603
6604         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6605         (struct sigaction): New struct member __glibc_reserved0, change
6606         type of sa_flags to int.
6607
6608 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
6609
6610         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
6611         (COUNT_LEADING_ZEROS_0): Define for AArch64.
6612
6613 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
6614
6615         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
6616         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
6617
6618 2014-04-22  Will Newton  <will.newton@linaro.org>
6619             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
6620
6621         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
6622         (__longjmp): Add longjmp and longjmp_target SystemTap
6623         probes.
6624         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
6625         (__sigsetjmp): Add setjmp SystemTap probe.
6626
6627 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
6628
6629         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
6630         match manual order.
6631
6632 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6633
6634         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
6635
6636         * sysdeps/powerpc/fpu/fenv_private.h
6637         (libc_feholdexcept_setroundl_ctx): Define to
6638         libc_feholdexcept_setround_ppc_ctx.
6639         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
6640         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
6641         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
6642         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
6643
6644 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
6645
6646         * sysdeps/aarch64/math-tests.h: New file.
6647
6648 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
6649
6650         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
6651         New.
6652         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6653         Check and set bit_AVX2_Usable.
6654         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
6655         macro.
6656         (bit_AVX2): Likewise.
6657         (index_AVX2_Usable): Likewise.
6658         (CPUID_AVX2): Likewise.
6659         (HAS_AVX2): Likewise.
6660
6661 2014-04-17  Will Newton  <will.newton@linaro.org>
6662
6663         * manual/setjmp.texi (System V contexts): Add note that
6664         calling setcontext on a context created by a call to a
6665         signal handler is undefined.  Update text to note that
6666         setcontext from a signal handler is possible but not
6667         recommended.
6668
6669         [BZ #16629]
6670         * stdlib/tst-setcontext.c: Include signal.h.
6671         (main): Check that the signal stack before and
6672         after swapcontext is the same.
6673
6674         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
6675         Re-implement to restore registers in user code and avoid
6676         rt_sigreturn system call.
6677
6678 2014-04-17  Wilco  <wdijkstr@arm.com>
6679
6680         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
6681         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
6682         * math/test-fenv.c: Skip exception trap tests on targets which only
6683         support non-stop mode.
6684
6685 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
6686             Wilco Dijkstra  <wilco.dijkstra@arm.com>
6687
6688         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
6689         (libc_feholdsetround_aarch64_ctx)
6690         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
6691         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
6692         (libc_feresetround_ctx, libc_feresetroundf_ctx)
6693         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
6694         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
6695         (libc_feresetround_noexl_ctx): Define.
6696
6697 2014-04-16  Richard Henderson  <rth@redhat.com>
6698
6699         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
6700
6701         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
6702         unwind tables.
6703
6704         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
6705         const from the non-libc, non-ldso copy.
6706
6707         * sysdeps/alpha/libm-test-ulps: Regenerate.
6708
6709 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
6710             Wilco Dijkstra  <wilco.dijkstra@arm.com>
6711
6712         * sysdeps/aarch64/fpu/math_private.h: New file.
6713
6714 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6715
6716         * sysdeps/aarch64/libm-test-ulps: Regenerate.
6717
6718 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
6719
6720         [BZ #16275]
6721         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
6722         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
6723         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
6724         Intel MPX bound registers before _dl_profile_fixup.
6725         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
6726         registers after _dl_profile_fixup.  Save and restore bound
6727         registers bnd0/bnd1 when calling _dl_call_pltexit.
6728         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
6729         (LR_BND_OFFSET): Likewise.
6730         (LRV_BND0_OFFSET): Likewise.
6731         (LRV_BND1_OFFSET): Likewise.
6732
6733 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6734
6735         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
6736         to...
6737         * sysdeps/mach/hurd/i386/tls.h: ... here.
6738         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
6739         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
6740         fields.
6741
6742 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6743
6744         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
6745
6746 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6747
6748         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6749
6750 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6751
6752         [BZ #14770]
6753         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
6754         * sysdeps/s390/configure: Regenerate.
6755
6756         [BZ #16824]
6757         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
6758         Set round-to-nearest internally to reduce error accumulation.
6759
6760 2014-04-16  Alan Modra  <amodra@gmail.com>
6761
6762         [BZ #16740]
6763         [BZ #16619]
6764         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6765         * math/libm-test.inc (frexp_test_data): Add tests.
6766         * NEWS: Update fixed bug list.
6767
6768 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6769
6770         * benchtests/Makefile: Depend on libraries in build directory.
6771         (bench-math): Separate out math tests.
6772         (bench-pthread): Separate out pthread tests.
6773         (bench): Include math and pthread tests.
6774
6775 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
6776
6777         [BZ #16831]
6778         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
6779         _dl_debug_initialize.
6780
6781         * configure.ac: Remove SELinux header check.
6782         * configure: Regenerate.
6783         * nscd/selinux.c (perms): Array of const char* to permission names.
6784         (nscd_request_avc_has_perm): Call security_deny_unknown to find
6785         default policy. Call string_to_security_class and string_to_av_perm to
6786         translate strings. Enforce default policy and call avs_has_perm with
6787         results of translated strings.
6788
6789 2014-04-13  David S. Miller  <davem@davemloft.net>
6790
6791         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6792
6793 2014-04-12  Allan McRae  <allan@archlinux.org>
6794
6795         [BZ #16838]
6796         * manual/string.texi (Collation Functions): Fix qsort argument
6797         order in example.
6798         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6799
6800 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
6801
6802         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6803         Make the test a no-op if there are no exceptions defined.
6804
6805 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6806
6807         * elf/Makefile (tests): make tst-dlopen-aout conditional on
6808         enable-hardcoded-path-in-tests
6809
6810 2014-04-11  Will Newton  <will.newton@linaro.org>
6811
6812         * benchtests/Makefile (extra-objs): Add json-lib.o.
6813         (bench-func): Tidy up JSON output.
6814         * benchtests/bench-skeleton.c: Include json-lib.h.
6815         (main): Use JSON library functions to do output of
6816         benchmark results.
6817         * benchtests/bench-timing-type.c (main): Output the
6818         timing type simply, leaving formatting to the user.
6819         * benchtests/json-lib.c: New file.
6820         * benchtests/json-lib.h: Likewise.
6821
6822 2014-04-11  Torvald Riegel  <triegel@redhat.com>
6823
6824         [BZ #15215]
6825         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6826         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
6827         memory barriers.  Add comments.
6828         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6829         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6830         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6831         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6832         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6833         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6834
6835 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
6836
6837         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6838         * sysdeps/s390/s390-64/configure.ac: ... this ...
6839         * sysdeps/s390/configure.ac: ... to here.
6840         * sysdeps/s390/s390-32/configure: Delete file.
6841         * sysdeps/s390/s390-64/configure: Delete file.
6842         * sysdeps/s390/configure: Regenerate.
6843
6844 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
6845
6846         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6847
6848 2014-04-11  Will Newton  <will.newton@linaro.org>
6849
6850         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6851         to zero if it is not defined elsewhere.  (mtrim): Test
6852         the value of MALLOC_DEBUG with #if rather than #ifdef.
6853
6854 2014-04-10 Torvald Riegel  <triegel@redhat.com>
6855
6856         * benchtests/pthread_once-inputs: New file.
6857         * benchtests/pthread_once-source.c: New file.
6858         * benchtests/README: Update documentation.
6859
6860 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
6861             H.J. Lu  <hongjiu.lu@intel.com>
6862
6863         [BZ #16275]
6864         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
6865         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
6866         * sysdeps/x86_64/configure: Regenerated.
6867         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
6868         macro.
6869         (REGISTER_SAVE_RAX): Likewise.
6870         (REGISTER_SAVE_RCX): Likewise.
6871         (REGISTER_SAVE_RDX): Likewise.
6872         (REGISTER_SAVE_RSI): Likewise.
6873         (REGISTER_SAVE_RDI): Likewise.
6874         (REGISTER_SAVE_R8): Likewise.
6875         (REGISTER_SAVE_R9): Likewise.
6876         (REGISTER_SAVE_BND0): Likewise.
6877         (REGISTER_SAVE_BND1): Likewise.
6878         (REGISTER_SAVE_BND2): Likewise.
6879         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
6880         bound registers when calling _dl_fixup.
6881
6882 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6883
6884         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
6885         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
6886         of its definition.
6887         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
6888         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
6889         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
6890         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
6891         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
6892         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
6893         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
6894
6895 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
6896
6897         [BZ #15514]
6898         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
6899         pathconf(_PC_NAME_MAX).
6900
6901 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6902
6903         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
6904         Remove macro usage.
6905         (__PTHREAD_SPINS): Move definition to ...
6906         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6907         (__PTHREAD_SPINS): ... here.
6908         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6909         (__PTHREAD_SPIN): Likewise.
6910         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
6911         (__PTHREAD_SPIN): Likewise.
6912         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
6913         (__PTHREAD_SPIN): Likewise.
6914         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
6915         (__PTHREAD_SPIN): Likewise.
6916         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6917         (__PTHREAD_SPIN): Likewise.
6918         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6919         (__PTHREAD_SPIN): Likewise.
6920         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
6921         (__PTHREAD_SPIN): Likewise.
6922         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6923         (__PTHREAD_SPIN): Likewise.
6924         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6925         (__PTHREAD_SPIN): Likewise.
6926         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6927         (__PTHREAD_SPIN): Likewise.
6928         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6929         (__PTHREAD_SPIN): Likewise.
6930         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
6931         (__PTHREAD_SPIN): Likewise.
6932
6933         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
6934         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
6935         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
6936         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
6937         imply folder.
6938         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
6939         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
6940         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
6941         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
6942         correct imply path.
6943         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
6944         strlen symbol for non multi-arch builds.
6945         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
6946         missing hidden_def and weak_alias.
6947
6948 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
6949
6950         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
6951
6952 2014-04-07  Will Newton  <will.newton@linaro.org>
6953
6954         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
6955         and contents.  [!_LIBC] Remove #ifndef and contents.
6956         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
6957         * string/memccpy.c (__memccpy): Use ANSI prototype.
6958         * string/memfrob.c (memfrob): Likewise.
6959         * string/strcoll.c (STRCOLL): Likewise.
6960         * string/strlen.c (strlen): Likewise.
6961         * string/strtok.c (STRTOK): Likewise.
6962         * string/strcat.c: Remove unused #include of memcopy.h.
6963         (strcat): Use ANSI prototype.
6964         * string/strchr.c: Remove unused #include of memcopy.h.
6965         (strchr): Use ANSI prototype.
6966         * string/strcmp.c: Remove unused #include of memcopy.h.
6967         (strcmp): Use ANSI prototype.
6968         * string/strcpy.c: Remove unused #include of memcopy.h.
6969         (strcpy): Use ANSI prototype.
6970
6971 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6972
6973         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
6974         * config.make.in (config-extra-cppflags): Set it from
6975         libc_extra_cppflags.
6976         * configure.ac (libc_extra_cflags): Make it accumulate over
6977         configure fragments.
6978         (libc_extra_cppflags): New flag.
6979         * configure. Regenerate.
6980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6981         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
6982         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
6983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6984
6985         [BZ #16815]
6986         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
6987         result for FE_DOWNWARD rounding mode.
6988         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6989         Likewise.
6990         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6991
6992 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
6993
6994         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
6995         in function argument name.
6996
6997 2014-04-03  David Svoboda  <svoboda@cert.org>
6998
6999         [BZ #5666]
7000         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
7001         explicitly.
7002
7003 2014-04-03  Roland McGrath  <roland@hack.frob.com>
7004
7005         * elf/dl-unmap-segments.h: New file.
7006         * sysdeps/generic/ldsodefs.h
7007         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
7008         * elf/dl-close.c: Include <dl-unmap-segments.h>.
7009         * elf/dl-fptr.c: Likewise.
7010         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7011         * sysdeps/aarch64/tlsdesc.c: Likewise.
7012         * sysdeps/arm/tlsdesc.c: Likewise.
7013         * sysdeps/i386/tlsdesc.c: Likewise.
7014         * sysdeps/tile/dl-runtime.c: Likewise.
7015         * sysdeps/x86_64/tlsdesc.c: Likewise.
7016         * elf/dl-load.h: New file.
7017         * elf/dl-load.c: Include it.
7018         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
7019         Macros moved to dl-load.h.
7020         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
7021         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
7022         Use _dl_unmap_segments in place of __munmap.
7023         Break out segment-mapping loop into ...
7024         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
7025
7026 2014-04-03  Will Newton  <will.newton@linaro.org>
7027
7028         * elf/dl-lookup.c (do_lookup_x): Remove comment
7029         referring to nested function and move variable
7030         declarations down to before first use.
7031
7032 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
7033
7034         [BZ #16799]
7035         [BZ #16800]
7036         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7037         with 0 numerator.
7038         * math/s_catanf.c (__catanf): Likewise.
7039         * math/s_catanh.c (__catanh): Likewise.
7040         * math/s_catanhf.c (__catanhf): Likewise.
7041         * math/s_catanhl.c (__catanhl): Likewise.
7042         * math/s_catanl.c (__catanl): Likewise.
7043         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
7044         by positive zero when computing -Inf result.
7045         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
7046         (catanh_test): Likewise.
7047         * sysdeps/i386/fpu/libm-test-ulps: Update.
7048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7049
7050         [BZ #16789]
7051         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
7052         instead of using underflowing value in computing result.
7053         * math/s_clog10.c (__clog10): Likewise.
7054         * math/s_clog10f.c (__clog10f): Likewise.
7055         * math/s_clog10l.c (__clog10l): Likewise.
7056         * math/s_clogf.c (__clogf): Likewise.
7057         * math/s_clogl.c (__clogl): Likewise.
7058         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7059         (clog10_test): Likewise.
7060         * sysdeps/i386/fpu/libm-test-ulps: Update.
7061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7062
7063 2014-04-02  Alan Modra  <amodra@gmail.com>
7064
7065         [BZ #16739]
7066         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7067         output when value is near a power of two.  Use int64_t for lx and
7068         remove casts.  Use decimal rather than hex exponent constants.
7069         Don't use long double multiplication when double will suffice.
7070         * math/libm-test.inc (nextafter_test_data): Add tests.
7071         * NEWS: Add 16739 and 16786 to bug list.
7072
7073         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7074
7075         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7076
7077 2014-04-01  Will Newton  <will.newton@linaro.org>
7078
7079         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7080         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
7081
7082 2014-04-01  Florian Weimer  <fweimer@redhat.com>
7083
7084         [BZ #13347]
7085         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
7086         * nptl/tst-setuid2.c: New file.
7087         * nptl/Makefile (xtests): Add tst-setuid2.
7088
7089 2014-04-01  Alan Modra  <amodra@gmail.com>
7090
7091         [BZ #16786]
7092         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7093
7094 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
7095
7096         [BZ #6803]
7097         [BZ #6804]
7098         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7099         set errno as appropriate.
7100         * math/w_scalbf.c (__scalbf): Likewise.
7101         * math/w_scalbl.c (__scalbl): Likewise.
7102         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7103         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7104         * math/libm-test.inc (scalb_test_data): Add errno expectations.
7105         Add more NaN tests.
7106
7107         [BZ #16349]
7108         * math/w_atan2.c: Include <errno.h>.
7109         (__atan2): Set errno for result underflowing to zero.
7110         * math/w_atan2f.c: Include <errno.h>.
7111         (__atan2f): Set errno for result underflowing to zero.
7112         * math/w_atan2l.c: Include <errno.h>.
7113         (__atan2l): Set errno for result underflowing to zero.
7114         * math/auto-libm-test-in: Don't allow missing errno for some atan2
7115         tests.
7116         * math/auto-libm-test-out: Regenerated.
7117
7118 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7119
7120         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7121         Encode instruction correctly in little endian.
7122         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7123         Likewise.
7124         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7125         Likewise.
7126         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7127         Likewise.
7128         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7129         Likewise.
7130
7131 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
7132
7133         [BZ #9894]
7134         * sysdeps/unix/sysv/linux/kernel-features.h
7135         [__sparc__ && !__arch64__ && !__sparc_v9__]
7136         (__ASSUME_SET_ROBUST_LIST): Do not define.
7137         [__sparc__ && !__arch64__ && !__sparc_v9__]
7138         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7139         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7140         Likewise.
7141         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7142         (__ASSUME_FUTEX_LOCK_PI): Undefine.
7143         (__ASSUME_REQUEUE_PI): Likewise.
7144         (__ASSUME_SET_ROBUST_LIST): Likewise.
7145         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7146         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7147         Undefine.
7148         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7149         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7150         Likewise.
7151         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7152         Likewise.
7153         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7154         Likewise.
7155         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7156         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7157         Undefine.
7158         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7159         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7160         Likewise.
7161
7162         [BZ #16648]
7163         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7164         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7165         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7166
7167 2014-03-31  Will Newton  <will.newton@linaro.org>
7168
7169         * benchtests/Makefile (bench): Add ffs and ffsll to list
7170         of tests.
7171         * benchtests/ffs-inputs: New file.
7172         * benchtests/ffsll-inputs: Likewise.
7173
7174 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
7175
7176         [BZ #16770]
7177         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7178         too large before casting to int.
7179         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7180         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7181         * math/libm-test.inc (scalb_test_data): Add more tests.
7182
7183 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7184
7185         * benchtests/Makefile (DETAILED_OPT): New make option.
7186         (bench-func): Run benchmark program with -d if DETAILED_OPT is
7187         set.
7188         * benchtests/bench-skeleton.c: Include stdbool.h.
7189         (main): Store and print timings per input.
7190         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7191         member to each argument value.
7192         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7193         (_print_arg_data): Initialize per-input timing to 0.
7194
7195         * benchtests/Makefile (timing-type): New binary.
7196         (bench-clean): Also remove bench-timing-type.
7197         (bench): New target for timing-type.
7198         (bench-func): Print output in JSON format.
7199         * benchtests/bench-skeleton.c (main): Print output in JSON
7200         format.
7201         * benchtests/bench-timing-type.c: New file.
7202         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
7203         (TIMING_PRINT_STATS): Remove.
7204         * benchtests/scripts/bench.py (_print_arg_data): Store variant
7205         name separately.
7206
7207         * benchtests/bench-modf.c: Remove.
7208         * benchtests/modf-inputs: New inputs file.
7209
7210 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
7211
7212         [BZ #16362]
7213         * math/s_clog10.c (M_PI_LOG10E): New macro.
7214         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7215         imaginary parts are 0.
7216         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7217         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7218         imaginary parts are 0.
7219         * math/s_clog10l.c (M_PI_LOG10El): New macro.
7220         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7221         imaginary parts are 0.
7222         * math/libm-test.inc (clog10_test_data): Update expected results
7223         for when real and imaginary parts are 0.
7224
7225 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
7226
7227         * elf/dl-load.c: Finish conversion of __builtin_expect into
7228         __glibc_{un}likely.
7229
7230 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
7231
7232         [BZ #16348]
7233         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7234         1+x for argument with exponent below -67.
7235         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7236         Likewise.
7237         * math/auto-libm-test-in: Add more tests of exp.
7238         * math/auto-libm-test-out: Regenerated.
7239
7240 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7241
7242         [BZ #16759]
7243         * inet/getnetgrent_r.c (get_nonempty_val): New function.
7244         (nscd_getnetgrent): Use it.
7245
7246         [BZ #16760]
7247         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7248         of stpcpy.
7249
7250 2014-03-27  Andi Kleen  <ak@linux.intel.com>
7251
7252         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7253         (lll_robust_lock, lll_cond_lock, lll_timedlock)
7254         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7255         (lll_robust_unlock): Remove out of line section. Use cfi
7256         intrinsics.
7257         (LLL_STUB_UNWIND_INFO*): Remove.
7258         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7259         (lll_robust_lock, lll_cond_lock, lll_timedlock)
7260         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7261         (lll_robust_unlock): Remove out of line section. Use cfi
7262         intrinsics.
7263         (LLL_STUB_UNWIND_INFO*): Remove.
7264
7265 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7266
7267         [BZ #16758]
7268         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7269         blank values.
7270
7271 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
7272
7273         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7274
7275 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
7276
7277         [BZ #16198]
7278         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7279         fnstenv.
7280         * math/test-fenv-preserve.c: New file.
7281         * math/Makefile (tests): Add test-fenv-preserve.
7282
7283 2014-03-26  Will Newton <will.newton@linaro.org>
7284
7285         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7286
7287 2014-03-25  Roland McGrath  <roland@hack.frob.com>
7288
7289         * scripts/versionlist.awk: Partition the version sets and emit all
7290         GLIBC_* (sorted) before all others (sorted).
7291
7292 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
7293
7294         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7295         GLIBC_2.2.5 version.
7296
7297 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7298
7299         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7300         calls.
7301
7302         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7303         previous change.
7304
7305         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7306
7307 2014-03-25  Andreas Schwab  <schwab@suse.de>
7308
7309         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7310         label to be used after in6ailist is initialized.
7311
7312 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7313
7314         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7315         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7316
7317 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
7318
7319         [BZ #16357]
7320         [BZ #16599]
7321         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
7322         min_plus_half.
7323         (fp_formats): Update initializers.
7324         (init_fp_formats): Initialize new field.
7325         (output_for_one_input_case): Allow underflow for results up to
7326         min_plus_half.
7327         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
7328         * math/auto-libm-test-in: Don't mark some underflows from asin and
7329         atanh as spurious.
7330         * math/auto-libm-test-out: Regenerated.
7331         * sysdeps/i386/fpu/libm-test-ulps: Update.
7332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7333
7334 2014-03-25  Andreas Schwab  <schwab@suse.de>
7335
7336         * libio/Makefile (tst-ftell-partial-wide-ENV)
7337         (tst-ftell-active-handler-ENV): Define.
7338
7339 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
7340
7341         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
7342
7343 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7344
7345         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
7346
7347 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
7348
7349         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
7350         * sysdeps/x86_64/fpu/multiarch/e_exp.c
7351         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7352
7353 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
7354
7355         [BZ #16634]
7356         * elf/dl-load.c (open_verify): Add mode parameter.
7357         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
7358         (open_path): Change from boolean 'secure' to complete flag 'mode'
7359         (_dl_map_object): Adjust.
7360         * elf/Makefile (tests): Add tst-dlopen-aout.
7361         * elf/tst-dlopen-aout.c: New test.
7362
7363 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
7364
7365         [BZ #16714]
7366         * sysdeps/unix/sysv/linux/s390/bits/stat.h
7367         (struct stat): Rename member pad0 to __glibc_reserved0.
7368
7369         [BZ #16712]
7370         * sysdeps/s390/s390-32/bits/wordsize.h
7371         (__WORDSIZE32_SIZE_ULONG): New define.
7372         * sysdeps/s390/s390-64/bits/wordsize.h
7373         (__WORDSIZE32_SIZE_ULONG): Likewise.
7374         * sysdeps/generic/stdint.h (SIZE_MAX):
7375         Define as UL if __WORDSIZE32_SIZE_ULONG.
7376
7377         [BZ #16713]
7378         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7379         (__glibc_reserved0): New variable.
7380         (sa_flags): Change type to int.
7381
7382         * posix/Makefile (before-compile): Use += before-compile instead
7383         of a :=.
7384
7385         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7386         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7387
7388 2014-03-20  Andreas Schwab  <schwab@suse.de>
7389
7390         [BZ #16743]
7391         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
7392         non-matching result from nscd.
7393
7394 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7395
7396         * scripts/bench.py: Moved to ...
7397         * benchtests/scripts/bench.py: ... here.
7398         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7399
7400 2014-03-24  Andreas Schwab  <schwab@suse.de>
7401
7402         [BZ #16002]
7403         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7404         alloca_account and account alloca use for struct in6ailist.
7405
7406 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
7407
7408         [BZ #16284]
7409         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7410         rounding mode to recompute results that overflow to infinity or
7411         underflow to zero.
7412         * math/auto-libm-test-in: Don't mark tests as expected to fail for
7413         bug 16284.
7414         * math/auto-libm-test-out: Regenerated.
7415         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7416         (ccosh_test): Likewise.
7417         (csin_test_data): Use plus_oflow.
7418         (csin_test): Use ALL_RM_TEST.
7419         (csinh_test_data): Use plus_oflow.
7420         (csinh_test): Use ALL_RM_TEST.
7421         * sysdeps/i386/fpu/libm-test-ulps: Update.
7422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7423
7424 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
7425
7426         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7427         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7428         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7429
7430         [BZ #16731]
7431         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7432         when x - 1 is zero.
7433         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7434         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7435         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7436         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7437         argument is 1.
7438         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7439         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7440         zero.
7441         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7442         * sysdeps/i386/fpu/libm-test-ulps: Update.
7443         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7444
7445 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7446
7447         * scripts/bench.pl: Remove file.
7448         * scripts/bench.py: New benchmark script.
7449         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7450         * benchtests/README: Mention python dependency.
7451         * scripts/pylintrc: New file.
7452         * scripts/pylint: New file.
7453
7454         * bits/mathdef.h: Use #ifdef instead of #if.
7455         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7456         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7457         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7458         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7459         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7460         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7461
7462 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7463             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7464
7465         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7466         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7467         and strpbrk-ppc64 objects.
7468         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7469         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7470         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7471         multiarch strpbrk for POWER7.
7472         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7473         multiarch strpbrk for PPC64.
7474         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7475         ifunc selector.
7476         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7477         strpbrk for POWER7.
7478
7479 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
7480
7481         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7482         (atan_test): Likewise.
7483         (atanh_test_data): Use NO_TEST_INLINE for two tests.
7484         (atanh_test): Use ALL_RM_TEST.
7485         (atan2_test_data): Likewise.
7486         (cabs_test): Likewise.
7487         (cacosh_test): Likewise.
7488         (carg_test): Likewise.
7489         (casin_test): Likewise.
7490         (casinh_test): Likewise.
7491         (cbrt_test): Likewise.
7492         (csqrt_test): Likewise.
7493         (erf_test): Likewise.
7494         (erfc_test): Likewise.
7495         (pow10_test): Likewise.
7496         (exp2_test): Likewise.
7497         (hypot_test): Likewise.
7498         (j0_test): Likewise.
7499         (j1_test): Likewise.
7500         (lgamma_test): Likewise.
7501         (gamma_test): Likewise.
7502         (sincos_test): Likewise.
7503         (tanh_test): Likewise.
7504         (y0_test): Likewise.
7505         (y1_test): Likewise.
7506         * sysdeps/i386/fpu/libm-test-ulps: Update.
7507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7508
7509 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7510
7511         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7512         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
7513         and strcspn-ppc64 objects.
7514         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7515         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7516         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7517         multiarch strcspn for POWER7.
7518         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7519         multiarch strcspn for PPC64.
7520         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7521         ifunc selector.
7522         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7523         strcspn for POWER7.
7524
7525 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
7526
7527         * math/gen-libm-test.pl (generate_testfile): Expect only function
7528         name as argument to AUTO_TESTS_* and pass results for all rounding
7529         modes to parse_args.
7530         (parse_auto_input): Separate inputs of automatic tests from
7531         outputs before storing in %auto_tests.
7532         * math/libm-test.inc (acos_test_data): Update call to
7533         AUTO_TESTS_f_f.
7534         (acos_test): Use ALL_RM_TEST.
7535         (acos_tonearest_test_data): Remove.
7536         (acos_test_tonearest): Likewise.
7537         (acos_towardzero_test_data): Likewise.
7538         (acos_test_towardzero): Likewise.
7539         (acos_downward_test_data): Likewise.
7540         (acos_test_downward): Likewise.
7541         (acos_upward_test_data): Likewise.
7542         (acos_test_upward): Likewise.
7543         (acosh_test_data): Update call to AUTO_TESTS_f_f.
7544         (asin_test_data): Likewise.
7545         (asin_test): Use ALL_RM_TEST.
7546         (asin_tonearest_test_data): Remove.
7547         (asin_test_tonearest): Likewise.
7548         (asin_towardzero_test_data): Likewise.
7549         (asin_test_towardzero): Likewise.
7550         (asin_downward_test_data): Likewise.
7551         (asin_test_downward): Likewise.
7552         (asin_upward_test_data): Likewise.
7553         (asin_test_upward): Likewise.
7554         (asinh_test_data): Update call to AUTO_TESTS_f_f.
7555         (atan_test_data): Likewise.
7556         (atanh_test_data): Likewise.
7557         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
7558         (cabs_test_data): Update call to AUTO_TESTS_c_f.
7559         (carg_test_data): Likewise.
7560         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
7561         (ccos_test_data): Update call to AUTO_TESTS_c_c.
7562         (ccosh_test_data): Likewise.
7563         (cexp_test_data): Likewise.
7564         (clog_test_data): Likewise.
7565         (clog10_test_data): Likewise.
7566         (cos_test_data): Update call to AUTO_TESTS_f_f.
7567         (cos_test): Use ALL_RM_TEST.
7568         (cos_tonearest_test_data): Remove.
7569         (cos_test_tonearest): Likewise.
7570         (cos_towardzero_test_data): Likewise.
7571         (cos_test_towardzero): Likewise.
7572         (cos_downward_test_data): Likewise.
7573         (cos_test_downward): Likewise.
7574         (cos_upward_test_data): Likewise.
7575         (cos_test_upward): Likewise.
7576         (cosh_test_data): Update call to AUTO_TESTS_f_f.
7577         (cosh_test): Use ALL_RM_TEST.
7578         (cosh_tonearest_test_data): Remove.
7579         (cosh_test_tonearest): Likewise.
7580         (cosh_towardzero_test_data): Likewise.
7581         (cosh_test_towardzero): Likewise.
7582         (cosh_downward_test_data): Likewise.
7583         (cosh_test_downward): Likewise.
7584         (cosh_upward_test_data): Likewise.
7585         (cosh_test_upward): Likewise.
7586         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
7587         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
7588         (ctan_test_data): Likewise.
7589         (ctan_test): Use ALL_RM_TEST.
7590         (ctan_tonearest_test_data): Remove.
7591         (ctan_test_tonearest): Likewise.
7592         (ctan_towardzero_test_data): Likewise.
7593         (ctan_test_towardzero): Likewise.
7594         (ctan_downward_test_data): Likewise.
7595         (ctan_test_downward): Likewise.
7596         (ctan_upward_test_data): Likewise.
7597         (ctan_test_upward): Likewise.
7598         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
7599         (ctanh_test): Use ALL_RM_TEST.
7600         (ctanh_tonearest_test_data): Remove.
7601         (ctanh_test_tonearest): Likewise.
7602         (ctanh_towardzero_test_data): Likewise.
7603         (ctanh_test_towardzero): Likewise.
7604         (ctanh_downward_test_data): Likewise.
7605         (ctanh_test_downward): Likewise.
7606         (ctanh_upward_test_data): Likewise.
7607         (ctanh_test_upward): Likewise.
7608         (erf_test_data): Update call to AUTO_TESTS_f_f.
7609         (erfc_test_data): Likewise.
7610         (exp_test_data): Likewise.
7611         (exp_test): Use ALL_RM_TEST.
7612         (exp_tonearest_test_data): Remove.
7613         (exp_test_tonearest): Likewise.
7614         (exp_towardzero_test_data): Likewise.
7615         (exp_test_towardzero): Likewise.
7616         (exp_downward_test_data): Likewise.
7617         (exp_test_downward): Likewise.
7618         (exp_upward_test_data): Likewise.
7619         (exp_test_upward): Likewise.
7620         (exp10_test_data): Update call to AUTO_TESTS_f_f.
7621         (exp10_test): Use ALL_RM_TEST.
7622         (exp10_tonearest_test_data): Remove.
7623         (exp10_test_tonearest): Likewise.
7624         (exp10_towardzero_test_data): Likewise.
7625         (exp10_test_towardzero): Likewise.
7626         (exp10_downward_test_data): Likewise.
7627         (exp10_test_downward): Likewise.
7628         (exp10_upward_test_data): Likewise.
7629         (exp10_test_upward): Likewise.
7630         (exp2_test_data): Update call to AUTO_TESTS_f_f.
7631         (expm1_test_data): Likewise.
7632         (expm1_test): Use ALL_RM_TEST.
7633         (expm1_tonearest_test_data): Remove.
7634         (expm1_test_tonearest): Likewise.
7635         (expm1_towardzero_test_data): Likewise.
7636         (expm1_test_towardzero): Likewise.
7637         (expm1_downward_test_data): Likewise.
7638         (expm1_test_downward): Likewise.
7639         (expm1_upward_test_data): Likewise.
7640         (expm1_test_upward): Likewise.
7641         (fma_test_data): Update call to AUTO_TESTS_fff_f.
7642         (fma_test): Use ALL_RM_TEST.
7643         (fma_towardzero_test_data): Remove.
7644         (fma_test_towardzero): Likewise.
7645         (fma_downward_test_data): Likewise.
7646         (fma_test_downward): Likewise.
7647         (fma_upward_test_data): Likewise.
7648         (fma_test_upward): Likewise.
7649         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
7650         (j0_test_data): Update call to AUTO_TESTS_f_f.
7651         (j1_test_data): Likewise.
7652         (jn_test_data): Update call to AUTO_TESTS_if_f.
7653         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
7654         (log_test_data): Update call to AUTO_TESTS_f_f.
7655         (log10_test_data): Likewise.
7656         (log1p_test_data): Likewise.
7657         (log2_test_data): Likewise.
7658         (pow_test_data): Update call to AUTO_TESTS_ff_f.
7659         (pow_tonearest_test_data): Likewise.
7660         (sin_test_data): Update call to AUTO_TESTS_f_f.
7661         (sin_test): Use ALL_RM_TEST.
7662         (sin_tonearest_test_data): Remove.
7663         (sin_test_tonearest): Likewise.
7664         (sin_towardzero_test_data): Likewise.
7665         (sin_test_towardzero): Likewise.
7666         (sin_downward_test_data): Likewise.
7667         (sin_test_downward): Likewise.
7668         (sin_upward_test_data): Likewise.
7669         (sin_test_upward): Likewise.
7670         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
7671         (sinh_test_data): Update call to AUTO_TESTS_f_f.
7672         (sinh_test): Use ALL_RM_TEST.
7673         (sinh_tonearest_test_data): Remove.
7674         (sinh_test_tonearest): Likewise.
7675         (sinh_towardzero_test_data): Likewise.
7676         (sinh_test_towardzero): Likewise.
7677         (sinh_downward_test_data): Likewise.
7678         (sinh_test_downward): Likewise.
7679         (sinh_upward_test_data): Likewise.
7680         (sinh_test_upward): Likewise.
7681         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
7682         (sqrt_test): Use ALL_RM_TEST.
7683         (sqrt_tonearest_test_data): Remove.
7684         (sqrt_test_tonearest): Likewise.
7685         (sqrt_towardzero_test_data): Likewise.
7686         (sqrt_test_towardzero): Likewise.
7687         (sqrt_downward_test_data): Likewise.
7688         (sqrt_test_downward): Likewise.
7689         (sqrt_upward_test_data): Likewise.
7690         (sqrt_test_upward): Likewise.
7691         (tan_test_data): Update call to AUTO_TESTS_f_f.
7692         (tan_test): Use ALL_RM_TEST.
7693         (tan_tonearest_test_data): Remove.
7694         (tan_test_tonearest): Likewise.
7695         (tan_towardzero_test_data): Likewise.
7696         (tan_test_towardzero): Likewise.
7697         (tan_downward_test_data): Likewise.
7698         (tan_test_downward): Likewise.
7699         (tan_upward_test_data): Likewise.
7700         (tan_test_upward): Likewise.
7701         (tanh_test_data): Update call to AUTO_TESTS_f_f.
7702         (tgamma_test_data): Likewise.
7703         (y0_test_data): Likewise.
7704         (y1_test_data): Likewise.
7705         (yn_test_data): Update call to AUTO_TESTS_if_f.
7706         (main): Do not call removed functions.
7707
7708 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
7709
7710         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
7711         (ldexp_test_data): Remove.
7712         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
7713         scalbn_test_data.
7714         (scalb_test): Use ALL_RM_TEST.
7715
7716 2014-03-19  Andreas Schwab  <schwab@suse.de>
7717
7718         * nscd/nscd.service: Also invalidate netgroup cache on reload.
7719
7720 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
7721
7722         [BZ #16649]
7723         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7724         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
7725         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7726         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7727         (__ASSUME_PREADV): Undefine.
7728         (__ASSUME_PWRITEV): Likewise.
7729
7730 2014-03-18  Roland McGrath  <roland@hack.frob.com>
7731
7732         * bits/mman-linux.h: Add comment about non-Linux use.
7733         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
7734         bits/mman-linux.h resting place.
7735
7736         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
7737         * bits/mman-linux.h: ... here.
7738
7739 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7740
7741         * conform/conformtest.pl: Add standard definition when calling C
7742         preprocessor on data files.
7743         (checknamespace): Remove unused variable.
7744
7745 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
7746
7747         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
7748         minus_oflow, plus_uflow and minus_uflow in expected results.
7749         * math/libm-test.inc (scalbn_test_data): Add more tests of
7750         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
7751         minus_uflow.
7752         (scalbn_test): Use ALL_RM_TEST.
7753         (scalbln_test_data): Add more tests of negative arguments.  Use
7754         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
7755         (scalbln_test): Use ALL_RM_TEST.
7756
7757 2014-03-18  Roland McGrath  <roland@hack.frob.com>
7758
7759         * scripts/abilist.awk: Ignore symbols marked with .hidden.
7760
7761 2014-03-18  Will Newton  <will.newton@linaro.org>
7762
7763         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
7764         inaccurate comment.
7765
7766 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
7767
7768         * Makerules [!subdir] (check-abi): Exit with error status if a
7769         test failed.
7770
7771 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
7772
7773         * math/libm-test.inc (nearbyint_test_data): Include all tests used
7774         for rint.  Include results for all rounding modes.
7775         (nearbyint_test): Use ALL_RM_TEST.
7776         (rint_test_data): Include all tests used for nearbyint.
7777
7778 2014-03-17  Will Newton  <will.newton@linaro.org>
7779
7780         * nptl/sysdeps/pthread/pthread.h: Revert previous
7781         change.
7782
7783         * sysdeps/generic/ldsodefs.h: Revert previous
7784         change.
7785
7786         * libio/genops.c: Revert previous change.
7787         * libio/libioP.h: Likewise.
7788         * stdio-common/vfprintf.c: Likewise.
7789
7790         * sysdeps/generic/math_private.h: Revert previous
7791         change.
7792
7793         * sysdeps/generic/math_private.h: Check whether
7794         HAVE_RM_CTX is defined with #ifdef rather
7795         than #if.
7796
7797         * argp/argp-fmtstream.h: Check whether
7798         __STRICT_ANSI__ is defined with #ifdef rather
7799         than #if.
7800         * argp/argp.h: Likewise.
7801
7802         * libio/genops.c: Check whether
7803         _IO_JUMPS_OFFSET is defined with #ifdef rather
7804         than #if.
7805         * libio/libioP.h: Likewise.
7806         * stdio-common/vfprintf.c: Likewise.
7807
7808         * sysdeps/generic/ldsodefs.h: Check whether
7809         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7810         than #if.
7811
7812         * nptl/sysdeps/pthread/pthread.h: Check
7813         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7814         its value.
7815
7816 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7817
7818         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7819         setting O_APPEND.
7820         * libio/tst-ftell-active-handler.c (do_append_test): Add a
7821         test case.
7822
7823         [BZ #16680]
7824         * libio/fileops.c (_IO_file_open): Seek to end of file but
7825         don't cache the offset.
7826         (get_file_offset): Remove function.
7827         (do_ftell): Use cached offset when available.
7828         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7829         don't cache the offset.
7830         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7831         case.
7832         (do_one_test): Call it.
7833         (do_ftell_test): Fix up expected old offset for a+ mode.
7834         * libio/wfileops.c (do_ftell_wide): Used cached offset when
7835         available.
7836
7837         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7838         up test status with function return status.
7839         (do_write_test): Likewise.
7840         (do_append_test): Likewise.
7841
7842         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7843         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7844         Remove.
7845
7846 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
7847
7848         * math/gen-libm-test.pl (parse_args): Handle results specified for
7849         each rounding mode separately.
7850         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7851         tests and results from lrint_tonearest_test_data,
7852         lrint_towardzero_test_data, lrint_downward_test_data and
7853         lrint_upward_test_data.
7854         (lrint_test): Use ALL_RM_TEST.
7855         (lrint_tonearest_test_data): Remove.
7856         (lrint_test_tonearest): Likewise.
7857         (lrint_towardzero_test_data): Likewise.
7858         (lrint_test_towardzero): Likewise.
7859         (lrint_downward_test_data): Likewise.
7860         (lrint_test_downward): Likewise.
7861         (lrint_upward_test_data): Likewise.
7862         (lrint_test_upward): Likewise.
7863         (llrint_test_data): Merge in per-rounding-mode tests and results
7864         from llrint_tonearest_test_data, llrint_towardzero_test_data,
7865         llrint_downward_test_data and llrint_upward_test_data.
7866         (llrint_test): Use ALL_RM_TEST.
7867         (llrint_tonearest_test_data): Remove.
7868         (llrint_test_tonearest): Likewise.
7869         (llrint_towardzero_test_data): Likewise.
7870         (llrint_test_towardzero): Likewise.
7871         (llrint_downward_test_data): Likewise.
7872         (llrint_test_downward): Likewise.
7873         (llrint_upward_test_data): Likewise.
7874         (llrint_test_upward): Likewise.
7875         (rint_test_data): Merge in per-rounding-mode tests and results
7876         from rint_tonearest_test_data, rint_towardzero_test_data,
7877         rint_downward_test_data and rint_upward_test_data.  Add
7878         per-rounding-mode results for tests not in those arrays.
7879         (rint_test): Use ALL_RM_TEST.
7880         (rint_tonearest_test_data): Remove.
7881         (rint_test_tonearest): Likewise.
7882         (rint_towardzero_test_data): Likewise.
7883         (rint_test_towardzero): Likewise.
7884         (rint_downward_test_data): Likewise.
7885         (rint_test_downward): Likewise.
7886         (rint_upward_test_data): Likewise.
7887         (rint_test_upward): Likewise.
7888         (main): Don't call removed functions.
7889
7890 2014-03-14  Roland McGrath  <roland@hack.frob.com>
7891
7892         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
7893         "Compiled on ..." crapola.  It is anti-useful.
7894
7895 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
7896
7897         * scripts/evaluate-test.sh: Handle fourth argument to determine
7898         whether test run should stop on failure.
7899         * Makeconfig (stop-on-test-failure): New variable.
7900         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
7901         $(stop-on-test-failure).
7902         * Makefile (tests): Give a summary of results from testing and
7903         exit with failure status if they include an ERROR or FAIL.
7904         (xtests): Likewise.
7905         * manual/install.texi (Configuring and compiling): Mention
7906         stop-on-test-failure=y.
7907         * INSTALL: Regenerated.
7908
7909 2014-03-14  Roland McGrath  <roland@hack.frob.com>
7910
7911         * scripts/versionlist.awk: New file.
7912         * Makerules [$(build-shared) = yes]
7913         (postclean-generated): Add Versions.def, not Versions.def.v and
7914         Versions.def.v.i.
7915         ($(common-objpfx)Versions.def.v.i): Target removed.
7916         ($(common-objpfx)Versions.def): New target.
7917         ($(common-objpfx)Versions.all): Depend on that rather that
7918         $(common-objpfx)Versions.def.v.
7919         * Versions.def: File removed.
7920
7921         * Makeconfig (+gccwarn): Add -Wundef.
7922         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
7923         a dl-sysdep.h breaking its contract.
7924         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
7925         * include/stackinfo.h: New file.
7926         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
7927         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
7928         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
7929         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
7930         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
7931         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
7932         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7933         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7934         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7935         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7936         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7937         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
7938         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7939         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7940         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
7941
7942 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7943
7944         [BZ #16707]
7945         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
7946         implementation.
7947         * math/libm-test.inc (round_test_data): Add more tests.
7948
7949         [BZ #16706]
7950         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
7951         implementation.
7952         * math/libm-test.inc (nearbyint_test_data): Add more tests.
7953
7954         [BZ #16701]
7955         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
7956         implementation.
7957         * math/libm-test.inc (ceil_test_data): Add more tests.
7958
7959         * math/libm-test.inc (trunc_test_data): Add more tests related to
7960         BZ#16414.
7961
7962 2014-03-14  Roland McGrath  <roland@hack.frob.com>
7963
7964         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
7965         with #if rather than #ifdef.
7966         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
7967
7968 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
7969
7970         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
7971         first.  Disable AVX-512 GCC support if assembler doesn't support
7972         it.
7973         * sysdeps/x86_64/configure: Regenerated.
7974
7975 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
7976
7977         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
7978         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
7979         (__old_pthread_attr_setstack): Likewise.
7980         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
7981         [!_STACK_GROWS_DOWN]: Likewise.
7982
7983 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
7984
7985         * config.make.in (have-bash2): Delete.
7986         * configure.ac (libc_cv_have_bash2): Delete.
7987         * configure: Regenerate.
7988         * elf/Makefile (common-ldd-rewrite): Rename to ...
7989         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
7990         (sh-ldd-rewrite): Delete.
7991         (bash-ldd-rewrite): Delete.
7992         (have-bash2): Delete checks.
7993         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
7994         ldd-rewrite.
7995
7996         * config.make.in (have-ksh): Delete.
7997         (KSH): Delete.
7998         * configure.ac (libc_cv_have_ksh): Delete.
7999         * configure: Regenerate.
8000
8001         * elf/Makefile: Delete $(have-ksh) check.
8002         ($(objpfx)sotruss): Change KSH to BASH.
8003         * elf/sotruss.ksh: Rename to ...
8004         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
8005         function style to match POSIX.  Drop ksh vim mode setting.
8006
8007         * manual/time.texi (Specifying the Time Zone with TZ): Change
8008         Tuesday to Thursday.
8009
8010         * debug/tst-longjmp_chk2.c: Update header comment.
8011         (stackoverflow_handler): Add comment.  Call assert on pass value.
8012
8013 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
8014
8015         [BZ #16194]
8016         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
8017         (HAVE_AVX512_ASM_SUPPORT): Likewise.
8018         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
8019         (La_x86_64_vector): Add zmm.
8020         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
8021         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
8022         ($(objpfx)tst-audit10): New target.
8023         ($(objpfx)tst-audit10.out): Likewise.
8024         (tst-audit10-ENV): New.
8025         (AVX512-CFLAGS): Likewise.
8026         (CFLAGS-tst-audit10.c): Likewise.
8027         (CFLAGS-tst-auditmod10a.c): Likewise.
8028         (CFLAGS-tst-auditmod10b.c): Likewise.
8029         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
8030         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
8031         * sysdeps/x86_64/configure: Regenerated.
8032         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
8033         AVX-512 zmm register support.
8034         (_dl_x86_64_save_sse): Likewise.
8035         (_dl_x86_64_restore_sse): Likewise.
8036         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
8037         size vector registers.
8038         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8039         (ZMM_SIZE): Likewise.
8040         * sysdeps/x86_64/tst-audit10.c: New file.
8041         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
8042         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
8043
8044 2014-03-13  Roland McGrath  <roland@hack.frob.com>
8045
8046         * configure.ac (HAVE_EHDR_START): New check.
8047         * configure: Regenerated.
8048         * config.h.in (HAVE_EHDR_START): New #undef.
8049         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
8050         assuming the lowest-addressed segment maps the start of the file.
8051
8052 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
8053
8054         * INSTALL: Regenerated.
8055
8056 2014-03-13  Will Newton  <will.newton@linaro.org>
8057
8058         * manual/setjmp.texi (System V contexts): Improve
8059         clarity and grammar of documentation.
8060
8061 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
8062
8063         [BZ #16381]
8064         * elf/Makefile (tests): Add tst-pie2.
8065         (tests-pie): Add tst-pie2.
8066         * elf/tst-pie2.c: New file.
8067         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8068         for ET_EXEC.
8069         * elf/rtld.c (map_doit): Load executable as lt_executable.
8070         (dl_main): Likewise.
8071
8072 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
8073
8074         [BZ #16642]
8075         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8076         (__ASSUME_PSELECT): Undefine.
8077
8078 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8079
8080         [BZ #16689]
8081         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
8082         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
8083         static build.
8084         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8085         selector for static builds.
8086
8087 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8088
8089         [BZ #16695]
8090         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8091         key in the buffer.
8092
8093 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8094
8095         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8096         IFUNC selector for static builds.
8097
8098 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
8099
8100         * sysdeps/mips/math_private.h [__mips_hard_float]
8101         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8102         libc_feresetround_mips_ctx.
8103         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8104         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8105         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8106
8107         [BZ #16677]
8108         * math/s_nextafter.c (__nextafter): Do not return value from
8109         overflowing computation.
8110         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8111         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8112         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8113         Likewise.
8114         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8115         Likewise.
8116         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8117         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8118
8119 2014-03-11  Roland McGrath  <roland@hack.frob.com>
8120
8121         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8122         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8123         Move sfi_sp use from the load-multiple (that no longer sets sp) to
8124         the new mov targetting sp.
8125
8126 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8127
8128         [BZ #16683]
8129         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8130         Define it for static builds as well.
8131         (NO_BZERO_IMPL): Likewise.
8132
8133 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8134
8135         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8136         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8137         multiarch strspn for PPC64.
8138         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8139         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8140         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8141         (__libc_ifunc_impl_list): Likewise.
8142         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8143         multiarch optimizations
8144         * string/strspn.c (strspn): Using macro to redefine symbol name.
8145
8146 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8147             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8148
8149         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8150         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8151         multiarch strncat for PPC64.
8152         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8153         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8154         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8155         (__libc_ifunc_impl_list): Likewise.
8156         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8157         multiarch optimizations
8158
8159 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8160
8161         [BZ #16639]
8162         * nscd/nscd.service: Make service type forking.
8163
8164 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8165
8166         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8167         sign in non default rounding modes.
8168         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8169
8170 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
8171
8172         * math/libm-test.inc (ALL_RM_TEST): New macro.
8173         (ceil_test): Use ALL_RM_TEST.
8174         (cimag_test): Likewise.
8175         (conj_test): Likewise.
8176         (copysign_test): Likewise.
8177         (cproj_test): Likewise.
8178         (creal_test): Likewise.
8179         (fabs_test): Likewise.
8180         (floor_test): Likewise.
8181         (fmax_test): Likewise.
8182         (fmin_test): Likewise.
8183         (fmod_test): Likewise.
8184         (fpclassify_test): Likewise.
8185         (frexp_test): Likewise.
8186         (ilogb_test): Likewise.
8187         (isfinite_test): Likewise.
8188         (finite_test): Likewise.
8189         (isgreater_test): Likewise.
8190         (isgreaterequal_test): Likewise.
8191         (isinf_test): Likewise.
8192         (isless_test): Likewise.
8193         (islessequal_test): Likewise.
8194         (islessgreater_test): Likewise.
8195         (isnan_test): Likewise.
8196         (isnormal_test): Likewise.
8197         (issignaling_test): Likewise.
8198         (isunordered_test): Likewise.
8199         (logb_test): Likewise.
8200         (logb_downward_test_data): Remove.
8201         (logb_test_downward): Likewise.
8202         (lround_test): Use ALL_RM_TEST.
8203         (llround_test): Likewise.
8204         (modf_test): Likewise.
8205         (nexttoward_test): Likewise.
8206         (remainder_test): Likewise.
8207         (drem_test): Likewise.
8208         (remainder_tonearest_test_data): Likewise.
8209         (remainder_test_tonearest): Likewise.
8210         (drem_test_tonearest): Likewise.
8211         (remainder_towardzero_test_data): Likewise.
8212         (remainder_test_towardzero): Likewise.
8213         (drem_test_towardzero): Likewise.
8214         (remainder_downward_test_data): Likewise.
8215         (remainder_test_downward): Likewise.
8216         (drem_test_downward): Likewise.
8217         (remainder_upward_test_data): Likewise.
8218         (remainder_test_upward): Likewise.
8219         (drem_test_upward): Likewise.
8220         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
8221         (round_test): Use ALL_RM_TEST.
8222         (signbit_test): Likewise.
8223         (trunc_test): Likewise.
8224         (significand_test): Likewise.
8225         (main): Don't call removed functions.
8226
8227 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
8228
8229         [BZ #16674]
8230         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
8231         || __USE_XOPEN2K8].
8232         (ILL_ILLOPN): Likewise.
8233         (ILL_ILLADR): Likewise.
8234         (ILL_ILLTRP): Likewise.
8235         (ILL_PRVOPC): Likewise.
8236         (ILL_PRVREG): Likewise.
8237         (ILL_COPROC): Likewise.
8238         (ILL_BADSTK): Likewise.
8239         (FPE_INTDIV): Likewise.
8240         (FPE_INTOVF): Likewise.
8241         (FPE_FLTDIV): Likewise.
8242         (FPE_FLTOVF): Likewise.
8243         (FPE_FLTUND): Likewise.
8244         (FPE_FLTRES): Likewise.
8245         (FPE_FLTINV): Likewise.
8246         (FPE_FLTSUB): Likewise.
8247         (SEGV_MAPERR): Likewise.
8248         (SEGV_ACCERR): Likewise.
8249         (BUS_ADRALN): Likewise.
8250         (BUS_ADRERR): Likewise.
8251         (BUS_OBJERR): Likewise.
8252         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8253         (TRAP_TRACE): Likewise.
8254         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8255         __USE_XOPEN2K8].
8256         (CLD_KILLED): Likewise.
8257         (CLD_DUMPED): Likewise.
8258         (CLD_TRAPPED): Likewise.
8259         (CLD_STOPPED): Likewise.
8260         (CLD_CONTINUED): Likewise.
8261         (POLL_IN): Likewise.
8262         (POLL_OUT): Likewise.
8263         (POLL_MSG): Likewise.
8264         (POLL_ERR): Likewise.
8265         (POLL_PRI): Likewise.
8266         (POLL_HUP): Likewise.
8267         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8268         Likewise.
8269         (ILL_ILLOPN): Likewise.
8270         (ILL_ILLADR): Likewise.
8271         (ILL_ILLTRP): Likewise.
8272         (ILL_PRVOPC): Likewise.
8273         (ILL_PRVREG): Likewise.
8274         (ILL_COPROC): Likewise.
8275         (ILL_BADSTK): Likewise.
8276         (FPE_INTDIV): Likewise.
8277         (FPE_INTOVF): Likewise.
8278         (FPE_FLTDIV): Likewise.
8279         (FPE_FLTOVF): Likewise.
8280         (FPE_FLTUND): Likewise.
8281         (FPE_FLTRES): Likewise.
8282         (FPE_FLTINV): Likewise.
8283         (FPE_FLTSUB): Likewise.
8284         (SEGV_MAPERR): Likewise.
8285         (SEGV_ACCERR): Likewise.
8286         (BUS_ADRALN): Likewise.
8287         (BUS_ADRERR): Likewise.
8288         (BUS_OBJERR): Likewise.
8289         (BUS_MCEERR_AR): Likewise.
8290         (BUS_MCEERR_AO): Likewise.
8291         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8292         (TRAP_TRACE): Likewise.
8293         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8294         __USE_XOPEN2K8].
8295         (CLD_KILLED): Likewise.
8296         (CLD_DUMPED): Likewise.
8297         (CLD_TRAPPED): Likewise.
8298         (CLD_STOPPED): Likewise.
8299         (CLD_CONTINUED): Likewise.
8300         (POLL_IN): Likewise.
8301         (POLL_OUT): Likewise.
8302         (POLL_MSG): Likewise.
8303         (POLL_ERR): Likewise.
8304         (POLL_PRI): Likewise.
8305         (POLL_HUP): Likewise.
8306         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8307         (ILL_ILLOPN): Likewise.
8308         (ILL_ILLADR): Likewise.
8309         (ILL_ILLTRP): Likewise.
8310         (ILL_PRVOPC): Likewise.
8311         (ILL_PRVREG): Likewise.
8312         (ILL_COPROC): Likewise.
8313         (ILL_BADSTK): Likewise.
8314         (FPE_INTDIV): Likewise.
8315         (FPE_INTOVF): Likewise.
8316         (FPE_FLTDIV): Likewise.
8317         (FPE_FLTOVF): Likewise.
8318         (FPE_FLTUND): Likewise.
8319         (FPE_FLTRES): Likewise.
8320         (FPE_FLTINV): Likewise.
8321         (FPE_FLTSUB): Likewise.
8322         (SEGV_MAPERR): Likewise.
8323         (SEGV_ACCERR): Likewise.
8324         (BUS_ADRALN): Likewise.
8325         (BUS_ADRERR): Likewise.
8326         (BUS_OBJERR): Likewise.
8327         (BUS_MCEERR_AR): Likewise.
8328         (BUS_MCEERR_AO): Likewise.
8329         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8330         (TRAP_TRACE): Likewise.
8331         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8332         __USE_XOPEN2K8].
8333         (CLD_KILLED): Likewise.
8334         (CLD_DUMPED): Likewise.
8335         (CLD_TRAPPED): Likewise.
8336         (CLD_STOPPED): Likewise.
8337         (CLD_CONTINUED): Likewise.
8338         (POLL_IN): Likewise.
8339         (POLL_OUT): Likewise.
8340         (POLL_MSG): Likewise.
8341         (POLL_ERR): Likewise.
8342         (POLL_PRI): Likewise.
8343         (POLL_HUP): Likewise.
8344         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
8345         Likewise.
8346         (ILL_ILLOPN): Likewise.
8347         (ILL_ILLADR): Likewise.
8348         (ILL_ILLTRP): Likewise.
8349         (ILL_PRVOPC): Likewise.
8350         (ILL_PRVREG): Likewise.
8351         (ILL_COPROC): Likewise.
8352         (ILL_BADSTK): Likewise.
8353         (ILL_BADIADDR): Likewise.
8354         (ILL_BREAK): Likewise.
8355         (FPE_INTDIV): Likewise.
8356         (FPE_INTOVF): Likewise.
8357         (FPE_FLTDIV): Likewise.
8358         (FPE_FLTOVF): Likewise.
8359         (FPE_FLTUND): Likewise.
8360         (FPE_FLTRES): Likewise.
8361         (FPE_FLTINV): Likewise.
8362         (FPE_FLTSUB): Likewise.
8363         (FPE_DECOVF): Likewise.
8364         (FPE_DECDIV): Likewise.
8365         (FPE_DECERR): Likewise.
8366         (FPE_INVASC): Likewise.
8367         (FPE_INVDEC): Likewise.
8368         (SEGV_MAPERR): Likewise.
8369         (SEGV_ACCERR): Likewise.
8370         (SEGV_PSTKOVF): Likewise.
8371         (BUS_ADRALN): Likewise.
8372         (BUS_ADRERR): Likewise.
8373         (BUS_OBJERR): Likewise.
8374         (BUS_MCEERR_AR): Likewise.
8375         (BUS_MCEERR_AO): Likewise.
8376         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8377         (TRAP_TRACE): Likewise.
8378         (TRAP_BRANCH): Likewise.
8379         (TRAP_HWBKPT): Likewise.
8380         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8381         __USE_XOPEN2K8].
8382         (CLD_KILLED): Likewise.
8383         (CLD_DUMPED): Likewise.
8384         (CLD_TRAPPED): Likewise.
8385         (CLD_STOPPED): Likewise.
8386         (CLD_CONTINUED): Likewise.
8387         (POLL_IN): Likewise.
8388         (POLL_OUT): Likewise.
8389         (POLL_MSG): Likewise.
8390         (POLL_ERR): Likewise.
8391         (POLL_PRI): Likewise.
8392         (POLL_HUP): Likewise.
8393         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
8394         (ILL_ILLOPN): Likewise.
8395         (ILL_ILLADR): Likewise.
8396         (ILL_ILLTRP): Likewise.
8397         (ILL_PRVOPC): Likewise.
8398         (ILL_PRVREG): Likewise.
8399         (ILL_COPROC): Likewise.
8400         (ILL_BADSTK): Likewise.
8401         (FPE_INTDIV): Likewise.
8402         (FPE_INTOVF): Likewise.
8403         (FPE_FLTDIV): Likewise.
8404         (FPE_FLTOVF): Likewise.
8405         (FPE_FLTUND): Likewise.
8406         (FPE_FLTRES): Likewise.
8407         (FPE_FLTINV): Likewise.
8408         (FPE_FLTSUB): Likewise.
8409         (SEGV_MAPERR): Likewise.
8410         (SEGV_ACCERR): Likewise.
8411         (BUS_ADRALN): Likewise.
8412         (BUS_ADRERR): Likewise.
8413         (BUS_OBJERR): Likewise.
8414         (BUS_MCEERR_AR): Likewise.
8415         (BUS_MCEERR_AO): Likewise.
8416         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8417         (TRAP_TRACE): Likewise.
8418         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8419         __USE_XOPEN2K8].
8420         (CLD_KILLED): Likewise.
8421         (CLD_DUMPED): Likewise.
8422         (CLD_TRAPPED): Likewise.
8423         (CLD_STOPPED): Likewise.
8424         (CLD_CONTINUED): Likewise.
8425         (POLL_IN): Likewise.
8426         (POLL_OUT): Likewise.
8427         (POLL_MSG): Likewise.
8428         (POLL_ERR): Likewise.
8429         (POLL_PRI): Likewise.
8430         (POLL_HUP): Likewise.
8431         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8432         (ILL_ILLOPN): Likewise.
8433         (ILL_ILLADR): Likewise.
8434         (ILL_ILLTRP): Likewise.
8435         (ILL_PRVOPC): Likewise.
8436         (ILL_PRVREG): Likewise.
8437         (ILL_COPROC): Likewise.
8438         (ILL_BADSTK): Likewise.
8439         (FPE_INTDIV): Likewise.
8440         (FPE_INTOVF): Likewise.
8441         (FPE_FLTDIV): Likewise.
8442         (FPE_FLTOVF): Likewise.
8443         (FPE_FLTUND): Likewise.
8444         (FPE_FLTRES): Likewise.
8445         (FPE_FLTINV): Likewise.
8446         (FPE_FLTSUB): Likewise.
8447         (SEGV_MAPERR): Likewise.
8448         (SEGV_ACCERR): Likewise.
8449         (BUS_ADRALN): Likewise.
8450         (BUS_ADRERR): Likewise.
8451         (BUS_OBJERR): Likewise.
8452         (BUS_MCEERR_AR): Likewise.
8453         (BUS_MCEERR_AO): Likewise.
8454         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8455         (TRAP_TRACE): Likewise.
8456         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8457         __USE_XOPEN2K8].
8458         (CLD_KILLED): Likewise.
8459         (CLD_DUMPED): Likewise.
8460         (CLD_TRAPPED): Likewise.
8461         (CLD_STOPPED): Likewise.
8462         (CLD_CONTINUED): Likewise.
8463         (POLL_IN): Likewise.
8464         (POLL_OUT): Likewise.
8465         (POLL_MSG): Likewise.
8466         (POLL_ERR): Likewise.
8467         (POLL_PRI): Likewise.
8468         (POLL_HUP): Likewise.
8469         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8470         (ILL_ILLOPN): Likewise.
8471         (ILL_ILLADR): Likewise.
8472         (ILL_ILLTRP): Likewise.
8473         (ILL_PRVOPC): Likewise.
8474         (ILL_PRVREG): Likewise.
8475         (ILL_COPROC): Likewise.
8476         (ILL_BADSTK): Likewise.
8477         (FPE_INTDIV): Likewise.
8478         (FPE_INTOVF): Likewise.
8479         (FPE_FLTDIV): Likewise.
8480         (FPE_FLTOVF): Likewise.
8481         (FPE_FLTUND): Likewise.
8482         (FPE_FLTRES): Likewise.
8483         (FPE_FLTINV): Likewise.
8484         (FPE_FLTSUB): Likewise.
8485         (SEGV_MAPERR): Likewise.
8486         (SEGV_ACCERR): Likewise.
8487         (BUS_ADRALN): Likewise.
8488         (BUS_ADRERR): Likewise.
8489         (BUS_OBJERR): Likewise.
8490         (BUS_MCEERR_AR): Likewise.
8491         (BUS_MCEERR_AO): Likewise.
8492         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8493         (TRAP_TRACE): Likewise.
8494         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8495         __USE_XOPEN2K8].
8496         (CLD_KILLED): Likewise.
8497         (CLD_DUMPED): Likewise.
8498         (CLD_TRAPPED): Likewise.
8499         (CLD_STOPPED): Likewise.
8500         (CLD_CONTINUED): Likewise.
8501         (POLL_IN): Likewise.
8502         (POLL_OUT): Likewise.
8503         (POLL_MSG): Likewise.
8504         (POLL_ERR): Likewise.
8505         (POLL_PRI): Likewise.
8506         (POLL_HUP): Likewise.
8507         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8508         (ILL_ILLOPN): Likewise.
8509         (ILL_ILLADR): Likewise.
8510         (ILL_ILLTRP): Likewise.
8511         (ILL_PRVOPC): Likewise.
8512         (ILL_PRVREG): Likewise.
8513         (ILL_COPROC): Likewise.
8514         (ILL_BADSTK): Likewise.
8515         (ILL_DBLFLT): Likewise.
8516         (ILL_HARDWALL): Likewise.
8517         (FPE_INTDIV): Likewise.
8518         (FPE_INTOVF): Likewise.
8519         (FPE_FLTDIV): Likewise.
8520         (FPE_FLTOVF): Likewise.
8521         (FPE_FLTUND): Likewise.
8522         (FPE_FLTRES): Likewise.
8523         (FPE_FLTINV): Likewise.
8524         (FPE_FLTSUB): Likewise.
8525         (SEGV_MAPERR): Likewise.
8526         (SEGV_ACCERR): Likewise.
8527         (BUS_ADRALN): Likewise.
8528         (BUS_ADRERR): Likewise.
8529         (BUS_OBJERR): Likewise.
8530         (BUS_MCEERR_AR): Likewise.
8531         (BUS_MCEERR_AO): Likewise.
8532         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8533         (TRAP_TRACE): Likewise.
8534         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8535         __USE_XOPEN2K8].
8536         (CLD_KILLED): Likewise.
8537         (CLD_DUMPED): Likewise.
8538         (CLD_TRAPPED): Likewise.
8539         (CLD_STOPPED): Likewise.
8540         (CLD_CONTINUED): Likewise.
8541         (POLL_IN): Likewise.
8542         (POLL_OUT): Likewise.
8543         (POLL_MSG): Likewise.
8544         (POLL_ERR): Likewise.
8545         (POLL_PRI): Likewise.
8546         (POLL_HUP): Likewise.
8547         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
8548         (ILL_ILLOPN): Likewise.
8549         (ILL_ILLADR): Likewise.
8550         (ILL_ILLTRP): Likewise.
8551         (ILL_PRVOPC): Likewise.
8552         (ILL_PRVREG): Likewise.
8553         (ILL_COPROC): Likewise.
8554         (ILL_BADSTK): Likewise.
8555         (FPE_INTDIV): Likewise.
8556         (FPE_INTOVF): Likewise.
8557         (FPE_FLTDIV): Likewise.
8558         (FPE_FLTOVF): Likewise.
8559         (FPE_FLTUND): Likewise.
8560         (FPE_FLTRES): Likewise.
8561         (FPE_FLTINV): Likewise.
8562         (FPE_FLTSUB): Likewise.
8563         (SEGV_MAPERR): Likewise.
8564         (SEGV_ACCERR): Likewise.
8565         (BUS_ADRALN): Likewise.
8566         (BUS_ADRERR): Likewise.
8567         (BUS_OBJERR): Likewise.
8568         (BUS_MCEERR_AR): Likewise.
8569         (BUS_MCEERR_AO): Likewise.
8570         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8571         (TRAP_TRACE): Likewise.
8572         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8573         __USE_XOPEN2K8].
8574         (CLD_KILLED): Likewise.
8575         (CLD_DUMPED): Likewise.
8576         (CLD_TRAPPED): Likewise.
8577         (CLD_STOPPED): Likewise.
8578         (CLD_CONTINUED): Likewise.
8579         (POLL_IN): Likewise.
8580         (POLL_OUT): Likewise.
8581         (POLL_MSG): Likewise.
8582         (POLL_ERR): Likewise.
8583         (POLL_PRI): Likewise.
8584         (POLL_HUP): Likewise.
8585         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
8586         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8587
8588         [BZ #16670]
8589         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
8590         before #include of <time.h>.
8591         [!__USE_XOPEN2K] (__need_timespec): Likewise.
8592         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
8593         (test-xfail-UNIX98/sched.h/conform): Likewise.
8594
8595 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8596
8597         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
8598         error absence of trapping exception support.
8599         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8600
8601 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
8602
8603         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
8604         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
8605         * timezone/Makefile (testdata): Move definition above include of
8606         Rules.
8607         (test-zones): New variable.
8608         (tests-special): Add zone files.
8609         (build-testdata): Use $(evaluate-test).
8610
8611         * elf/Makefile (tests-special): Rename tests to end with .out.
8612         ($(objpfx)noload-mem): Likewise.
8613         ($(objpfx)tst-leaks1-mem): Likewise.
8614         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
8615         * iconv/Makefile (xtests-special): Change test-iconvconfig to
8616         $(objpfx)test-iconvconfig.out.
8617         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
8618         set -e inside subshell and redirect output to file.
8619         * iconvdata/Makefile (generated): Rename tests to end with .out.
8620         Correct type.
8621         (tests-special): Rename tests to end with .out.
8622         ($(objpfx)mtrace-tst-loading): Likewise.
8623         * intl/Makefile (generated): Likewise.
8624         (tests-special): Likewise.
8625         ($(objpfx)mtrace-tst-gettext): Likewise.
8626         * misc/Makefile (generated): Likewise.
8627         (tests-special): Likewise.
8628         ($(objpfx)tst-error1-mem): Likewise.
8629         * nptl/Makefile (tests-special): Likewise.
8630         ($(objpfx)tst-stack3-mem): Likewise.
8631         (generated): Likewise.
8632         * posix/Makefile (generated): Likewise.
8633         (tests-special): Likewise.
8634         (xtests-special): Likewise.
8635         ($(objpfx)tst-fnmatch-mem): Likewise.
8636         ($(objpfx)bug-regex2-mem): Likewise.
8637         ($(objpfx)bug-regex14-mem): Likewise.
8638         ($(objpfx)bug-regex21-mem): Likewise.
8639         ($(objpfx)bug-regex31-mem): Likewise.
8640         ($(objpfx)tst-vfork3-mem): Likewise.
8641         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8642         ($(objpfx)tst-pcre-mem): Likewise.
8643         ($(objpfx)tst-boost-mem): Likewise.
8644         ($(objpfx)bug-ga2-mem): Likewise.
8645         ($(objpfx)bug-glob2-mem): Likewise.
8646         * resolv/Makefile (generate): Likewise.
8647         (tests-special): Likewise.
8648         (xtests-special): Likewise.
8649         (generated): Likewise.
8650         ($(objpfx)mtrace-tst-leaks): Likewise.
8651         ($(objpfx)mtrace-tst-leaks2): Likewise.
8652
8653         * scripts/merge-test-results.sh: New file.
8654         * Makefile (tests-special-notdir): New variable.
8655         (tests): Run merge-test-results.sh.
8656         (xtests): Likewise.
8657         * Rules (tests-special-notdir): New variable.
8658         (xtests-special-notdir): Likewise.
8659         (tests): Run merge-test-results.sh
8660         (xtests): Likewise.
8661
8662         * Makeconfig (test-xfail-name): New variable.
8663         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
8664         compute variable name for expected failures.
8665         * conform/Makefile (conformtest-headers-data): New variable.
8666         (conformtest-standards): Likewise.
8667         (conformtest-headers-ISO): Likewise.
8668         (conformtest-headers-ISO99): Likewise.
8669         (conformtest-headers-ISO11): Likewise.
8670         (conformtest-headers-POSIX): Likewise.
8671         (conformtest-headers-XPG3): Likewise.
8672         (conformtest-headers-XPG4): Likewise.
8673         (conformtest-headers-UNIX98): Likewise.
8674         (conformtest-headers-XOPEN2K): Likewise.
8675         (conformtest-headers-POSIX2008): Likewise.
8676         (conformtest-headers-XOPEN2K8): Likewise.
8677         (conformtest-header-list-base): Likewise.
8678         (conformtest-header-list-tests): Likewise.
8679         (conformtest-header-base): Likewise.
8680         (conformtest-header-tests): Likewise.
8681         (tests-special): Add $(conformtest-header-list-tests).  If
8682         [$(fast-check) && !$(cross-compiling)], add
8683         $(conformtest-header-tests) instead of
8684         $(objpfx)run-conformtest.out.
8685         (generated): Add $(conformtest-header-list-base).  If
8686         [$(fast-check) && !$(cross-compiling)], add
8687         $(conformtest-header-base).  Remove previous setting.
8688         ($(conformtest-header-list-tests)): New target.
8689         (test-xfail-run-conformtest): Remove variable.
8690         ($(objpfx)run-conformtest.out): Remove target.
8691         (test-xfail-ISO11/complex.h/conform): New variable.
8692         (test-xfail-ISO11/stdalign.h/conform): Likewise.
8693         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8694         (test-xfail-XPG3/varargs.h/conform): Likewise.
8695         (test-xfail-XPG4/varargs.h/conform): Likewise.
8696         (test-xfail-UNIX98/varargs.h/conform): Likewise.
8697         (test-xfail-XPG4/ndbm.h/conform): Likewise.
8698         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
8699         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
8700         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
8701         (test-xfail-XPG3/fcntl.h/conform): Likewise.
8702         (test-xfail-XPG3/ftw.h/conform): Likewise.
8703         (test-xfail-XPG3/grp.h/conform): Likewise.
8704         (test-xfail-XPG3/langinfo.h/conform): Likewise.
8705         (test-xfail-XPG3/limits.h/conform): Likewise.
8706         (test-xfail-XPG3/pwd.h/conform): Likewise.
8707         (test-xfail-XPG3/search.h/conform): Likewise.
8708         (test-xfail-XPG3/signal.h/conform): Likewise.
8709         (test-xfail-XPG3/stdio.h/conform): Likewise.
8710         (test-xfail-XPG3/stdlib.h/conform): Likewise.
8711         (test-xfail-XPG3/string.h/conform): Likewise.
8712         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
8713         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
8714         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8715         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8716         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
8717         (test-xfail-XPG3/sys/types.h/conform): Likewise.
8718         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
8719         (test-xfail-XPG3/termios.h/conform): Likewise.
8720         (test-xfail-XPG3/time.h/conform): Likewise.
8721         (test-xfail-XPG3/unistd.h/conform): Likewise.
8722         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
8723         (test-xfail-XPG4/fcntl.h/conform): Likewise.
8724         (test-xfail-XPG4/langinfo.h/conform): Likewise.
8725         (test-xfail-XPG4/netdb.h/conform): Likewise.
8726         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
8727         (test-xfail-XPG4/signal.h/conform): Likewise.
8728         (test-xfail-XPG4/stdio.h/conform): Likewise.
8729         (test-xfail-XPG4/stdlib.h/conform): Likewise.
8730         (test-xfail-XPG4/stropts.h/conform): Likewise.
8731         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8732         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8733         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8734         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8735         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8736         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
8737         (test-xfail-XPG4/sys/time.h/conform): Likewise.
8738         (test-xfail-XPG4/sys/types.h/conform): Likewise.
8739         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
8740         (test-xfail-XPG4/termios.h/conform): Likewise.
8741         (test-xfail-XPG4/ucontext.h/conform): Likewise.
8742         (test-xfail-XPG4/unistd.h/conform): Likewise.
8743         (test-xfail-XPG4/utmpx.h/conform): Likewise.
8744         (test-xfail-POSIX/sched.h/conform): Likewise.
8745         (test-xfail-POSIX/signal.h/conform): Likewise.
8746         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8747         (test-xfail-POSIX/tar.h/conform): Likewise.
8748         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
8749         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
8750         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8751         (test-xfail-UNIX98/netdb.h/conform): Likewise.
8752         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
8753         (test-xfail-UNIX98/sched.h/conform): Likewise.
8754         (test-xfail-UNIX98/signal.h/conform): Likewise.
8755         (test-xfail-UNIX98/stdio.h/conform): Likewise.
8756         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8757         (test-xfail-UNIX98/stropts.h/conform): Likewise.
8758         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8759         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8760         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8761         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8762         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8763         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8764         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8765         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8766         (test-xfail-UNIX98/unistd.h/conform): Likewise.
8767         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8768         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
8769         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
8770         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8771         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8772         (test-xfail-XOPEN2K/math.h/conform): Likewise.
8773         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8774         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8775         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8776         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
8777         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8778         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
8779         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
8780         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8781         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8782         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8783         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8784         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8785         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8786         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8787         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
8788         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8789         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8790         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8791         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8792         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8793         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8794         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8795         (test-xfail-POSIX2008/signal.h/conform): Likewise.
8796         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8797         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8798         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8799         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8800         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8801         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8802         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8803         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8804         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8805         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8806         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8807         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8808         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8809         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8810         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8811         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8812         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8813         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8814         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8815         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8816         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8817         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8818         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8819         (conformtest-cc-flags): Likewise.
8820         ($(conformtest-header-tests): New target.
8821         * conform/check-header-lists.sh: New file.
8822         * conform/run-conformtest.sh: Remove.
8823
8824         * conform/conformtest.pl: Allow ' and \ in values given for
8825         constants.
8826         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8827         inclusion.
8828         [POSIX] (sys/types.h): Likewise.
8829         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8830         inclusion.
8831         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8832         inclusion.
8833         * conform/data/signal.h-data (SIGIO): Remove expectation.
8834         [XPG3] (SIGBUS): Do not expect.
8835         [POSIX || XPG3] (SIGPOLL): Likewise.
8836         [POSIX || XPG3] (SIGPROF): Likewise.
8837         [POSIX || XPG3] (SIGSYS): Likewise.
8838         [XPG3] (SIGTRAP): Likewise.
8839         [POSIX || XPG3] (SIGURG): Likewise.
8840         [POSIX || XPG3] (SIGVTALRM): Likewise.
8841         [POSIX || XPG3] (SIGXCPU): Likewise.
8842         [POSIX || XPG3] (SIGXFSZ): Likewise.
8843         [POSIX] (SA_SIGINFO): Expect.
8844         [XPG3] (siginfo_t): Do not expect type or contents.
8845         [POSIX] (si_pid): Do not expect element.
8846         [POSIX] (si_uid): Likewise.
8847         [POSIX] (si_addr): Likewise.
8848         [POSIX] (si_status): Likewise.
8849         [POSIX] (si_band): Likewise.
8850         [XPG4] (si_value): Likewise.
8851         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8852         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8853         [POSIX || XPG3] (ILL_ILLADR): Likewise.
8854         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8855         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8856         [POSIX || XPG3] (ILL_PRVREG): Likewise.
8857         [POSIX || XPG3] (ILL_COPROC): Likewise.
8858         [POSIX || XPG3] (ILL_BADSTK): Likewise.
8859         [POSIX || XPG3] (FPE_INTDIV): Likewise.
8860         [POSIX || XPG3] (FPE_INTOVF): Likewise.
8861         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
8862         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
8863         [POSIX || XPG3] (FPE_FLTUND): Likewise.
8864         [POSIX || XPG3] (FPE_FLTRES): Likewise.
8865         [POSIX || XPG3] (FPE_FLTINV): Likewise.
8866         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
8867         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
8868         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
8869         [POSIX || XPG3] (BUS_ADRALN): Likewise.
8870         [POSIX || XPG3] (BUS_ADRERR): Likewise.
8871         [POSIX || XPG3] (BUS_OBJERR): Likewise.
8872         [POSIX || XPG3] (CLD_EXITED): Likewise.
8873         [POSIX || XPG3] (CLD_KILLED): Likewise.
8874         [POSIX || XPG3] (CLD_DUMPED): Likewise.
8875         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
8876         [POSIX || XPG3] (CLD_STOPPED): Likewise.
8877         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
8878         [POSIX || XPG3] (POLL_IN): Likewise.
8879         [POSIX || XPG3] (POLL_OUT): Likewise.
8880         [POSIX || XPG3] (POLL_MSG): Likewise.
8881         [POSIX || XPG3] (POLL_ERR): Likewise.
8882         [POSIX || XPG3] (POLL_PRI): Likewise.
8883         [POSIX || XPG3] (POLL_HUP): Likewise.
8884         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
8885         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
8886         (SIG*): Do not allow.
8887         [XPG3] (si_*): Likewise.
8888         [XPG3] (SI_*): Likewise.
8889         [XPG3 || XPG4] (sigev_*): Likewise.
8890         [XPG3 || XPG4] (SIGEV_*): Likewise.
8891         [XPG3 || XPG4] (sival_*): Likewise.
8892         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
8893         [POSIX || XPG3] (BUS_*): Likewise.
8894         [POSIX || XPG3] (CLD_*): Likewise.
8895         [POSIX || XPG3] (FPE_*): Likewise.
8896         [POSIX || XPG3] (ILL_*): Likewise.
8897         [POSIX || XPG3] (POLL_*): Likewise.
8898         [POSIX || XPG3] (SEGV_*): Likewise.
8899         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
8900         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
8901         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
8902         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
8903         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
8904         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
8905         Specify type and value.
8906         (TVERSLEN): Likewise.
8907         (REGTYPE): Likewise.
8908         (AREGTYPE): Likewise.
8909         (LNKTYPE): Likewise.
8910         (SYMTYPE): Likewise.
8911         (CHRTYPE): Likewise.
8912         (BLKTYPE): Likewise.
8913         (DIRTYPE): Likewise.
8914         (FIFOTYPE): Likewise.
8915         (CONTTYPE): Likewise.
8916         (TSUID): Likewise.
8917         (TSGID): Likewise.
8918         (TSVTX): Likewise.
8919         (TUREAD): Likewise.
8920         (TUWRITE): Likewise.
8921         (TUEXEC): Likewise.
8922         (TGREAD): Likewise.
8923         (TGWRITE): Likewise.
8924         (TGEXEC): Likewise.
8925         (TOREAD): Likewise.
8926         (TOWRITE): Likewise.
8927         (TOEXEC): Likewise.
8928         [POSIX] (TSVTX): Expect constant.
8929
8930 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
8931
8932         * Makefile (tests): Change dependencies to ....
8933         (tests-special): ... additions to this variable.
8934         (tests): Depend on $(tests-special).
8935         * Makerules (check-abi-list): New variable.
8936         (check-abi): Depend on $(check-abi-list).
8937         [$(subdir) = elf] (tests-special): Add
8938         $(objpfx)check-abi-libc.out.
8939         [$(build-shared) = yes && subdir] (tests-special): Add
8940         $(check-abi-list).
8941         [$(build-shared) = yes && subdir] (tests): Do not depend on
8942         check-abi.
8943         * Rules (tests): Depend on $(tests-special).
8944         (xtests): Depend on $(xtests-special).
8945         * catgets/Makefile (tests): Change dependencies to ....
8946         (tests-special): ... additions to this variable.
8947         * conform/Makefile (tests): Change dependencies to ....
8948         (tests-special): ... additions to this variable.
8949         * elf/Makefile (tests): Change dependencies to ....
8950         (tests-special): ... additions to this variable.
8951         * grp/Makefile (tests): Change dependencies to ....
8952         (tests-special): ... additions to this variable.
8953         * iconv/Makefile (xtests): Change dependencies to ....
8954         (xtests-special): ... additions to this variable.
8955         * iconvdata/Makefile (tests): Change dependencies to ....
8956         (tests-special): ... additions to this variable.
8957         * intl/Makefile (tests): Change dependencies to ....
8958         (tests-special): ... additions to this variable.  Also add
8959         $(objpfx)tst-gettext.out.
8960         * io/Makefile (tests): Change dependencies to ....
8961         (tests-special): ... additions to this variable.
8962         * libio/Makefile (tests): Change dependencies to ....
8963         (tests-special): ... additions to this variable.
8964         * malloc/Makefile (tests): Change dependencies to ....
8965         (tests-special): ... additions to this variable.
8966         * misc/Makefile (tests): Change dependencies to ....
8967         (tests-special): ... additions to this variable.
8968         * nptl/Makefile (tests): Change dependencies to ....
8969         (tests-special): ... additions to this variable.
8970         * nptl_db/Makefile (tests): Change dependencies to ....
8971         (tests-special): ... additions to this variable.
8972         * posix/Makefile (tests): Change dependencies to ....
8973         (tests-special): ... additions to this variable.
8974         (xtests): Change dependencies to ....
8975         (xtests-special): ... additions to this variable.
8976         * resolv/Makefile (tests): Change dependencies to ....
8977         (tests-special): ... additions to this variable.
8978         (xtests): Change dependencies to ....
8979         (xtests-special): ... additions to this variable.
8980         * stdio-common/Makefile (tests): Change dependencies to ....
8981         (tests-special): ... additions to this variable.
8982         (do-tst-unbputc): Remove target.
8983         (do-tst-printf): Likewise.
8984         * stdlib/Makefile (tests): Change dependencies to ....
8985         (tests-special): ... additions to this variable.
8986         * string/Makefile (tests): Change dependencies to ....
8987         (tests-special): ... additions to this variable.
8988         * sysdeps/x86/Makefile (tests): Change dependencies to ....
8989         (tests-special): ... additions to this variable.
8990
8991         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
8992         whole file.
8993         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
8994         whole file.
8995         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
8996         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
8997
8998         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
8999         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
9000         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
9001         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
9002         * conform/data/libgen.h-data [XPG3]: Likewise.
9003         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9004         * conform/data/ndbm.h-data [XPG3]: Likewise.
9005         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9006         * conform/data/netdb.h-data [XPG3]: Likewise.
9007         * conform/data/netinet/in.h-data [XPG3]: Likewise.
9008         * conform/data/poll.h-data [XPG3]: Likewise.
9009         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9010         * conform/data/strings.h-data [XPG3]: Likewise.
9011         * conform/data/stropts.h-data [XPG3]: Likewise.
9012         * conform/data/sys/mman.h-data [XPG3]: Likewise.
9013         * conform/data/sys/resource.h-data [XPG3]: Likewise.
9014         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9015         Likewise.
9016         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
9017         * conform/data/sys/time.h-data [XPG3]: Likewise.
9018         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
9019         * conform/data/sys/uio.h-data [XPG3]: Likewise.
9020         * conform/data/sys/un.h-data [XPG3]: Likewise.
9021         * conform/data/syslog.h-data [XPG3]: Likewise.
9022         * conform/data/ucontext.h-data [XPG3]: Likewise.
9023         * conform/data/utmpx.h-data [XPG3]: Likewise.
9024         * conform/data/varargs.h-data [UNIX98]: Enable file.
9025
9026         * manual/Makefile (INSTALL_INFO): Remove variable setting.
9027
9028         * math/libm-test.inc (struct test_f_f_data): Move expected results
9029         into structure for each rounding mode.
9030         (struct test_ff_f_data): Likewise.
9031         (struct test_ff_f_data_nexttoward): Likewise.
9032         (struct test_fi_f_data): Likewise.
9033         (struct test_fl_f_data): Likewise.
9034         (struct test_if_f_data): Likewise.
9035         (struct test_fff_f_data): Likewise.
9036         (struct test_c_f_data): Likewise.
9037         (struct test_f_f1_data): Likewise.
9038         (struct test_fF_f1_data): Likewise.
9039         (struct test_ffI_f1_data): Likewise.
9040         (struct test_c_c_data): Likewise.
9041         (struct test_cc_c_data): Likewise.
9042         (struct test_f_i_data): Likewise.
9043         (struct test_ff_i_data): Likewise.
9044         (struct test_f_l_data): Likewise.
9045         (struct test_f_L_data): Likewise.
9046         (struct test_fFF_11_data): Likewise.
9047         (RM_): New macro.
9048         (RM_FE_DOWNWARD): Likewise.
9049         (RM_FE_TONEAREST): Likewise.
9050         (RM_FE_TOWARDZERO): Likewise.
9051         (RM_FE_UPWARD): Likewise.
9052         (RUN_TEST_LOOP_f_f): Update references to expected results.
9053         (RUN_TEST_LOOP_2_f): Likewise.
9054         (RUN_TEST_LOOP_fff_f): Likewise.
9055         (RUN_TEST_LOOP_c_f): Likewise.
9056         (RUN_TEST_LOOP_f_f1): Likewise.
9057         (RUN_TEST_LOOP_fF_f1): Likewise.
9058         (RUN_TEST_LOOP_fI_f1): Likewise.
9059         (RUN_TEST_LOOP_ffI_f1): Likewise.
9060         (RUN_TEST_LOOP_c_c): Likewise.
9061         (RUN_TEST_LOOP_cc_c): Likewise.
9062         (RUN_TEST_LOOP_f_i): Likewise.
9063         (RUN_TEST_LOOP_f_i_tg): Likewise.
9064         (RUN_TEST_LOOP_ff_i_tg): Likewise.
9065         (RUN_TEST_LOOP_f_b): Likewise.
9066         (RUN_TEST_LOOP_f_b_tg): Likewise.
9067         (RUN_TEST_LOOP_f_l): Likewise.
9068         (RUN_TEST_LOOP_f_L): Likewise.
9069         (RUN_TEST_LOOP_fFF_11): Likewise.
9070         * math/gen-libm-test.pl (parse_args): Output four copies of
9071         expected results for each test.
9072
9073         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9074         (__ASSUME_UTIMES): Remove.
9075         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9076         (__ASSUME_UTIMES): Likewise.
9077
9078         * math/gen-auto-libm-tests.c: Update comment on output format.
9079         (output_for_one_input_case): Generate before-rounding and
9080         after-rounding information as conditions on output flags not
9081         floating-point format.
9082         * math/auto-libm-test-out: Regenerated.
9083         * math/gen-libm-test.pl (cond_value): New function.
9084         (or_cond_value): Use cond_value.
9085         (generate_testfile): Handle conditional exceptions.
9086
9087 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
9088
9089         * math/libm-test.inc (max_valid_error): New variable.
9090         (init_max_error): Take new argument specifying whether function
9091         results are exactly determined.  Set max_valid_error and bound
9092         other variables for errors based on this argument.
9093         (set_max_error): Do not record results above max_valid_error.
9094         (check_float_internal): Only accept errors of up to 0.5ulps if
9095         also at most max_valid_error.
9096         (START): Take new argument EXACT and pass it to init_max_error.
9097         (acos_test): Update call to START.
9098         (acos_test_tonearest): Likewise.
9099         (acos_test_towardzero): Likewise.
9100         (acos_test_downward): Likewise.
9101         (acos_test_upward): Likewise.
9102         (acosh_test): Likewise.
9103         (asin_test): Likewise.
9104         (asin_test_tonearest): Likewise.
9105         (asin_test_towardzero): Likewise.
9106         (asin_test_downward): Likewise.
9107         (asin_test_upward): Likewise.
9108         (asinh_test): Likewise.
9109         (atan_test): Likewise.
9110         (atanh_test): Likewise.
9111         (atan2_test): Likewise.
9112         (cabs_test): Likewise.
9113         (cacos_test): Likewise.
9114         (cacosh_test): Likewise.
9115         (carg_test): Likewise.
9116         (casin_test): Likewise.
9117         (casinh_test): Likewise.
9118         (catan_test): Likewise.
9119         (catanh_test): Likewise.
9120         (cbrt_test): Likewise.
9121         (ccos_test): Likewise.
9122         (ccosh_test): Likewise.
9123         (ceil_test): Likewise.
9124         (cexp_test): Likewise.
9125         (cimag_test): Likewise.
9126         (clog_test): Likewise.
9127         (clog10_test): Likewise.
9128         (conj_test): Likewise.
9129         (copysign_test): Likewise.
9130         (cos_test): Likewise.
9131         (cos_test_tonearest): Likewise.
9132         (cos_test_towardzero): Likewise.
9133         (cos_test_downward): Likewise.
9134         (cos_test_upward): Likewise.
9135         (cosh_test): Likewise.
9136         (cosh_test_tonearest): Likewise.
9137         (cosh_test_towardzero): Likewise.
9138         (cosh_test_downward): Likewise.
9139         (cosh_test_upward): Likewise.
9140         (cpow_test): Likewise.
9141         (cproj_test): Likewise.
9142         (creal_test): Likewise.
9143         (csin_test): Likewise.
9144         (csinh_test): Likewise.
9145         (csqrt_test): Likewise.
9146         (ctan_test): Likewise.
9147         (ctan_test_tonearest): Likewise.
9148         (ctan_test_towardzero): Likewise.
9149         (ctan_test_downward): Likewise.
9150         (ctan_test_upward): Likewise.
9151         (ctanh_test): Likewise.
9152         (ctanh_test_tonearest): Likewise.
9153         (ctanh_test_towardzero): Likewise.
9154         (ctanh_test_downward): Likewise.
9155         (ctanh_test_upward): Likewise.
9156         (erf_test): Likewise.
9157         (erfc_test): Likewise.
9158         (exp_test): Likewise.
9159         (exp_test_tonearest): Likewise.
9160         (exp_test_towardzero): Likewise.
9161         (exp_test_downward): Likewise.
9162         (exp_test_upward): Likewise.
9163         (exp10_test): Likewise.
9164         (exp10_test_tonearest): Likewise.
9165         (exp10_test_towardzero): Likewise.
9166         (exp10_test_downward): Likewise.
9167         (exp10_test_upward): Likewise.
9168         (pow10_test): Likewise.
9169         (exp2_test): Likewise.
9170         (expm1_test): Likewise.
9171         (expm1_test_tonearest): Likewise.
9172         (expm1_test_towardzero): Likewise.
9173         (expm1_test_downward): Likewise.
9174         (expm1_test_upward): Likewise.
9175         (fabs_test): Likewise.
9176         (fdim_test): Likewise.
9177         (floor_test): Likewise.
9178         (fma_test): Likewise.
9179         (fma_test_towardzero): Likewise.
9180         (fma_test_downward): Likewise.
9181         (fma_test_upward): Likewise.
9182         (fmax_test): Likewise.
9183         (fmin_test): Likewise.
9184         (fmod_test): Likewise.
9185         (fpclassify_test): Likewise.
9186         (frexp_test): Likewise.
9187         (hypot_test): Likewise.
9188         (ilogb_test): Likewise.
9189         (isfinite_test): Likewise.
9190         (finite_test): Likewise.
9191         (isgreater_test): Likewise.
9192         (isgreaterequal_test): Likewise.
9193         (isinf_test): Likewise.
9194         (isless_test): Likewise.
9195         (islessequal_test): Likewise.
9196         (islessgreater_test): Likewise.
9197         (isnan_test): Likewise.
9198         (isnormal_test): Likewise.
9199         (issignaling_test): Likewise.
9200         (isunordered_test): Likewise.
9201         (j0_test): Likewise.
9202         (j1_test): Likewise.
9203         (jn_test): Likewise.
9204         (ldexp_test): Likewise.
9205         (lgamma_test): Likewise.
9206         (gamma_test): Likewise.
9207         (lrint_test): Likewise.
9208         (lrint_test_tonearest): Likewise.
9209         (lrint_test_towardzero): Likewise.
9210         (lrint_test_downward): Likewise.
9211         (lrint_test_upward): Likewise.
9212         (llrint_test): Likewise.
9213         (llrint_test_tonearest): Likewise.
9214         (llrint_test_towardzero): Likewise.
9215         (llrint_test_downward): Likewise.
9216         (llrint_test_upward): Likewise.
9217         (log_test): Likewise.
9218         (log10_test): Likewise.
9219         (log1p_test): Likewise.
9220         (log2_test): Likewise.
9221         (logb_test): Likewise.
9222         (logb_test_downward): Likewise.
9223         (lround_test): Likewise.
9224         (llround_test): Likewise.
9225         (modf_test): Likewise.
9226         (nearbyint_test): Likewise.
9227         (nextafter_test): Likewise.
9228         (nexttoward_test): Likewise.
9229         (pow_test): Likewise.
9230         (pow_test_tonearest): Likewise.
9231         (pow_test_towardzero): Likewise.
9232         (pow_test_downward): Likewise.
9233         (pow_test_upward): Likewise.
9234         (remainder_test): Likewise.
9235         (drem_test): Likewise.
9236         (remainder_test_tonearest): Likewise.
9237         (drem_test_tonearest): Likewise.
9238         (remainder_test_towardzero): Likewise.
9239         (drem_test_towardzero): Likewise.
9240         (remainder_test_downward): Likewise.
9241         (drem_test_downward): Likewise.
9242         (remainder_test_upward): Likewise.
9243         (drem_test_upward): Likewise.
9244         (remquo_test): Likewise.
9245         (rint_test): Likewise.
9246         (rint_test_tonearest): Likewise.
9247         (rint_test_towardzero): Likewise.
9248         (rint_test_downward): Likewise.
9249         (rint_test_upward): Likewise.
9250         (round_test): Likewise.
9251         (scalb_test): Likewise.
9252         (scalbn_test): Likewise.
9253         (scalbln_test): Likewise.
9254         (signbit_test): Likewise.
9255         (sin_test): Likewise.
9256         (sin_test_tonearest): Likewise.
9257         (sin_test_towardzero): Likewise.
9258         (sin_test_downward): Likewise.
9259         (sin_test_upward): Likewise.
9260         (sincos_test): Likewise.
9261         (sinh_test): Likewise.
9262         (sinh_test_tonearest): Likewise.
9263         (sinh_test_towardzero): Likewise.
9264         (sinh_test_downward): Likewise.
9265         (sinh_test_upward): Likewise.
9266         (sqrt_test): Likewise.
9267         (sqrt_test_tonearest): Likewise.
9268         (sqrt_test_towardzero): Likewise.
9269         (sqrt_test_downward): Likewise.
9270         (sqrt_test_upward): Likewise.
9271         (tan_test): Likewise.
9272         (tan_test_tonearest): Likewise.
9273         (tan_test_towardzero): Likewise.
9274         (tan_test_downward): Likewise.
9275         (tan_test_upward): Likewise.
9276         (tanh_test): Likewise.
9277         (tgamma_test): Likewise.
9278         (trunc_test): Likewise.
9279         (y0_test): Likewise.
9280         (y1_test): Likewise.
9281         (yn_test): Likewise.
9282         (significand_test): Likewise.
9283
9284         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9285         individual tests in comment.
9286         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9287         (prev_max_error): New variable.
9288         (prev_real_max_error): Likewise.
9289         (prev_imag_max_error): Likewise.
9290         (compare_ulp_data): Don't refer to test names in comment.
9291         (find_test_ulps): Remove function.
9292         (find_function_ulps): Likewise.
9293         (find_complex_function_ulps): Likewise.
9294         (init_max_error): Take function name as argument.  Look up ulps
9295         for that function.
9296         (print_ulps): Remove function.
9297         (print_max_error): Use prev_max_error instead of calling
9298         find_function_ulps.
9299         (print_complex_max_error): Use prev_real_max_error and
9300         prev_imag_max_error instead of calling find_complex_function_ulps.
9301         (check_float_internal): Take max_ulp parameter instead of calling
9302         find_test_ulps.  Don't call print_ulps.
9303         (check_float): Update call to check_float_internal.
9304         (check_complex): Update calls to check_float_internal.
9305         (START): Pass argument to init_max_error.
9306         * math/gen-libm-test.pl (%results): Don't include "kind"
9307         information.
9308         (parse_ulps): Don't handle ulps of individual tests.
9309         (print_ulps_file): Likewise.
9310         (output_ulps): Likewise.
9311         * math/README.libm-test: Update.
9312         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9313         individual tests.
9314         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9315         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9316         * sysdeps/arm/libm-test-ulps: Likewise.
9317         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9318         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9319         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9320         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9321         * sysdeps/microblaze/libm-test-ulps: Likewise.
9322         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9323         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9324         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9325         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9326         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9327         * sysdeps/sh/libm-test-ulps: Likewise.
9328         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9329         * sysdeps/tile/libm-test-ulps: Likewise.
9330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9331
9332 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
9333
9334         * math/libm-test.inc (print_complex_max_error): Check separately
9335         whether real and imaginary errors are within allowed range and
9336         pass 0 to print_complex_function_ulps instead of value within
9337         allowed range.
9338
9339 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9340
9341         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
9342         formatting.
9343         (get_handles_fopen): Likewise.
9344         (do_write_test): Likewise.
9345
9346         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
9347
9348         * libio/fileops.c (do_ftell): Use cached offset when
9349         available.
9350         * libio/iofwide.c (do_ftell_wide): Likewise.
9351         * libio/iofdopen.c (_IO_new_fdopen): Don't use
9352         _IO_file_attach.
9353         * libio/wfileops.c (_IO_fwide): Don't cache offset.
9354
9355         [BZ #16532]
9356         * libio/libioP.h (get_file_offset): New function.
9357         * libio/fileops.c (get_file_offset): Likewise.
9358         (do_ftell): Likewise.
9359         (_IO_new_file_seekoff): Split out ftell logic.
9360         * libio/wfileops.c (do_ftell_wide): Likewise.
9361         (_IO_wfile_seekoff): Split out ftell logic.
9362         * libio/tst-ftell-active-handler.c: New test case.
9363         * libio/Makefile (tests): Add it.
9364
9365 2014-03-03  Roland McGrath  <roland@hack.frob.com>
9366
9367         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
9368         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
9369
9370 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
9371
9372         [BZ #16639]
9373         * nscd/connections.c (nscd_init): Call do_exit.
9374         (start_threads): Call do_exit and notify_parent.
9375         (begin_drop_privileges): Call do_exit.
9376         (finish_drop_privileges): Likewise.
9377         * nscd/selinux.c (preserve_capabilities): Likewise.
9378         (install_real_capabilities): Likewise.
9379         (nscd_selinux_enabled): Likewise.
9380         (avc_create_thread): Likewise.
9381         (avc_alloc_lock): Likewise.
9382         (nscd_avc_init): Likewise.
9383         * nscd/nscd.c (parent_fd): New static variable.
9384         (main): Create a pipe between parent and child processes.
9385         Skip closing parent_fd.
9386         (monitor_child): New function.
9387         (do_exit): Likewise.
9388         (notify_parent): Likewise.
9389         * nscd/nscd.h (notify_parent): Likewise.
9390         (do_exit): Likewise.
9391
9392 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
9393
9394         * malloc/malloc.c (__libc_calloc): Revert last change.
9395
9396 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9397
9398         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9399
9400 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9401
9402         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9403         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9404         implementation.
9405         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9406         (__libc_ifunc_impl_list): Likewise.
9407         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9408         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9409         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9410         * string/strrchr.c: Define STRRCHR.
9411
9412 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
9413
9414         * benchtest/bench-strtok.c (simple_strtok): Delete.
9415         (strtok_string): Use as benchmark.
9416         * string/strtok (STRTOK): New macro.
9417
9418 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
9419
9420         * manual/threads.texi: Add header and standard comments to all
9421         functions.
9422
9423         * elf/dl-lookup.c (check_match): New function.
9424         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9425         (do_lookup_x): Remove nested function check_match. Use non-nested
9426         function check_match.
9427
9428 2014-02-28  Roland McGrath  <roland@hack.frob.com>
9429
9430         * csu/Makefile (generated, before-compile): Use += rather than =.
9431         * catgets/Makefile (generated, generated-dirs): Likewise.
9432         * debug/Makefile (generated): Likewise.
9433         * dlfcn/Makefile (generated): Likewise.
9434         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9435         * iconvdata/Makefile (before-compile, generated): Likewise.
9436         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9437         * libio/Makefile (generated): Likewise.
9438         * malloc/Makefile (generated): Likewise.
9439         * manual/Makefile (generated, generated-dirs): Likewise.
9440         * misc/Makefile (generated): Likewise.
9441         * posix/Makefile (generated): Likewise.
9442         * resolv/Makefile (generated): Likewise.
9443         * sunrpc/Makefile (generated, generated-dirs): Likewise.
9444         * timezone/Makefile (generated, generated-dirs): Likewise.
9445
9446         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9447
9448 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9449
9450         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9451         power8 implementation.
9452         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9453         file: POWER8 llround ifunc implementation.
9454         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9455         (__lllround): Add POWER8 implementation.
9456         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9457         POWER8 llround implementation.
9458
9459         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9460         power8 implementation.
9461         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9462         file: POWER8 llrint ifunc implementation.
9463         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9464         Add POWER8 implementation.
9465         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9466         POWER8 llrint implementation.
9467
9468         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9469         power8 implementation.
9470         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9471         file: POWER8 finite ifunc implementation.
9472         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9473         Add POWER8 implementation.
9474         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9475         Likewise.
9476         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9477         POWER8 finite implementation.
9478         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9479
9480         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9481         power8 implementation.
9482         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9483         file: POWER8 isinf ifunc implementation.
9484         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9485         POWER8 implementation.
9486         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9487         Likewise.
9488         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9489         isinf implementation.
9490         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9491
9492         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9493         (INIT_ARCH): Add hwcap2 initialization.
9494         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9495         power8 implementation.
9496         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9497         file: POWER8 isnan ifunc implementation.
9498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9499         POWER8 implementation.
9500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9501         Likewise.
9502         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9503         isnan implementation.
9504         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9505
9506 2014-02-27  Joey Ye  <joey.ye@arm.com>
9507
9508         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9509         (_FP_NANFRAC_Q): Set to zero.
9510
9511 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9512
9513         [BZ #16623]
9514         * math/auto-libm-test-in: New test inputs.
9515         * math/auto-libm-test-out: Regenerate.
9516         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9517         and DA.
9518         (__cos): Likewise.
9519         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9520
9521 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
9522
9523         * scripts/evaluate-test.sh: Take new argument indicating whether
9524         failure is expected.
9525         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9526         indicating whether failure is expected.
9527         * conform/Makefile (test-xfail-run-conformtest): New variable.
9528         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9529         level.
9530         * posix/Makefile (test-xfail-annexc): New variable.
9531         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
9532
9533 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
9534
9535         * argp/Makefile: Include Makeconfig immediately after defining
9536         subdir.
9537         * assert/Makefile: Likewise.
9538         * benchtests/Makefile: Likewise.
9539         * catgets/Makefile: Likewise.
9540         * conform/Makefile: Likewise.
9541         * crypt/Makefile: Likewise.
9542         * csu/Makefile: Likewise.
9543         (all): Remove target.
9544         * ctype/Makefile: Include Makeconfig immediately after defining
9545         subdir.
9546         * debug/Makefile: Likewise.
9547         * dirent/Makefile: Likewise.
9548         * dlfcn/Makefile: Likewise.
9549         * gmon/Makefile: Likewise.
9550         * gnulib/Makefile: Likewise.
9551         * grp/Makefile: Likewise.
9552         * gshadow/Makefile: Likewise.
9553         * hesiod/Makefile: Likewise.
9554         * hurd/Makefile: Likewise.
9555         (all): Remove target.
9556         * iconvdata/Makefile: Include Makeconfig immediately after
9557         defining subdir.
9558         * inet/Makefile: Likewise.
9559         * intl/Makefile: Likewise.
9560         * io/Makefile: Likewise.
9561         * libio/Makefile: Likewise.
9562         (all): Remove target.
9563         * locale/Makefile: Include Makeconfig immediately after defining
9564         subdir.
9565         * login/Makefile: Likewise.
9566         * mach/Makefile: Likewise.
9567         (all): Remove target.
9568         * malloc/Makefile: Include Makeconfig immediately after defining
9569         subdir.
9570         (all): Remove target.
9571         * manual/Makefile: Include Makeconfig immediately after defining
9572         subdir.
9573         * math/Makefile: Likewise.
9574         * misc/Makefile: Likewise.
9575         * nis/Makefile: Likewise.
9576         * nss/Makefile: Likewise.
9577         * po/Makefile: Likewise.
9578         (all): Remove target.
9579         * posix/Makefile: Include Makeconfig immediately after defining
9580         subdir.
9581         * pwd/Makefile: Likewise.
9582         * resolv/Makefile: Likewise.
9583         * resource/Makefile: Likewise.
9584         * rt/Makefile: Likewise.
9585         * setjmp/Makefile: Likewise.
9586         * shadow/Makefile: Likewise.
9587         * signal/Makefile: Likewise.
9588         * socket/Makefile: Likewise.
9589         * soft-fp/Makefile: Likewise.
9590         * stdio-common/Makefile: Likewise.
9591         * stdlib/Makefile: Likewise.
9592         * streams/Makefile: Likewise.
9593         * string/Makefile: Likewise.
9594         * sunrpc/Makefile: Likewise.
9595         (all): Remove target.
9596         * sysvipc/Makefile: Include Makeconfig immediately after defining
9597         subdir.
9598         * termios/Makefile: Likewise.
9599         * time/Makefile: Likewise.
9600         * timezone/Makefile: Likewise.
9601         (all): Remove target.
9602         * wcsmbs/Makefile: Include Makeconfig immediately after defining
9603         subdir.
9604         * wctype/Makefile: Likewise.
9605
9606 2014-02-26  Steve Ellcey  <sellcey@mips.com>
9607
9608         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
9609         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
9610         (libc_feholdexcept_setround_mips): Ditto.
9611         (libc_feholdsetround): New.
9612         (libc_feholdsetroundf): New.
9613         (libc_feholdsetroundl): New.
9614         (libc_feupdateenv_test_mips): New.
9615         (libc_feupdateenv_test): New.
9616         (libc_feupdateenv_testf): New.
9617         (libc_feupdateenv_testl): New.
9618         (libc_feresetround): New.
9619         (libc_feresetroundf): New.
9620         (libc_feresetroundl): New.
9621         (libc_fetestexcept_mips): New.
9622         (libc_fetestexcept): New.
9623         (libc_fetestexceptf): New.
9624         (libc_fetestexceptl): New.
9625         (HAVE_RM_CTX): New.
9626         (libc_feholdexcept_setround_mips_ctx): New.
9627         (libc_feholdexcept_setround_ctx): New.
9628         (libc_feholdexcept_setroundf_ctx): New.
9629         (libc_feholdexcept_setroundl_ctx): New.
9630         (libc_fesetenv_mips_ctx): New.
9631         (libc_fesetenv_ctx): New.
9632         (libc_fesetenv_ctxf): New.
9633         (libc_fesetenv_ctxl): New.
9634         (libc_feupdateenv_mips_ctx): New.
9635         (libc_feupdateenv_ctx): New.
9636         (libc_feupdateenvf_ctx): New.
9637         (libc_feupdateenvl_ctx): New.
9638         (libc_feholdsetround_mips_ctx): New.
9639         (libc_feholdsetround_ctx): New.
9640         (libc_feholdsetroundf_ctx): New.
9641         (libc_feholdsetroundl_ctx): New.
9642         (libc_feresetround_mips_ctx): New.
9643         (libc_feresetround_ctx): New.
9644         (libc_feresetroundf_ctx): New.
9645         (libc_feresetroundl_ctx): New.
9646
9647 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
9648
9649         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
9650
9651         * manual/ipc.texi: New file.
9652         * manual/Makefile (chapters): Add ipc.
9653         * manual/job.texi: Add "Inter-Process Communication" to next.
9654         * manual/process.texi: Add "Inter-Process Communication" to prev.
9655
9656 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9657
9658         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9659
9660 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
9661
9662         * malloc/malloc.c (__libc_calloc): Simplify implementation.
9663
9664         * manual/arith.texi: Fix spaces after sentences.
9665         * manual/charset.texi: Likewise.
9666         * manual/errno.texi: Likewise.
9667         * manual/install.texi: Likewise.
9668         * manual/llio.texi: Likewise.
9669         * manual/locale.texi: Likewise.
9670         * manual/maint.texi: Likewise.
9671         * manual/math.texi: Likewise.
9672         * manual/memory.texi: Likewise.
9673         * manual/message.texi: Likewise.
9674         * manual/probes.texi: Likewise.
9675         * manual/resource.texi: Likewise.
9676         * manual/signal.texi: Likewise.
9677         * manual/socket.texi: Likewise.
9678         * manual/stdio.texi: Likewise.
9679         * manual/string.texi: Likewise.
9680         * manual/time.texi: Likewise.
9681         * manual/users.texi: Likewise.
9682
9683 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
9684
9685         [BZ #16632]
9686         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
9687         _DEFAULT_SOURCE is defined.
9688
9689 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
9690             Carlos O'Donell  <carlos@redhat.com>
9691
9692         [BZ #16613]
9693         * elf/dl-tls.c (_dl_count_modids): New function.
9694         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
9695         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
9696         audit library and increment generation counter.
9697         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
9698         * elf/tst-audit9.c: New file.
9699         * elf/tst-auditmod9a.c: New file.
9700         * elf/tst-auditmod9b.c: New file.
9701         * elf/Makefile: Add rules to build and run tst-audit9.
9702
9703 2014-02-25  Florian Weimer  <fweimer@redhat.com>
9704
9705         [BZ #15347]
9706         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
9707
9708 2014-02-25  Will Newton  <will.newton@linaro.org>
9709
9710         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
9711         (__longjmp): Restore sp and lr before restoring callee
9712         saved registers.  Add longjmp and longjmp_target
9713         SystemTap probe point.
9714         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
9715         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
9716         Define to zero to match jmpbuf layout.
9717         * sysdeps/arm/setjmp.S: Include stap-probe.h.
9718         (__sigsetjmp): Save sp and lr before saving callee
9719         saved registers.  Add setjmp SystemTap probe point.
9720
9721 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
9722
9723         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9724
9725 2014-02-24  Andreas Schwab  <schwab@suse.de>
9726
9727         [BZ #15804]
9728         * elf/pldd.c (wait_for_ptrace_stop): New function.
9729         (main): Call it after attaching.
9730
9731 2014-02-22  Roland McGrath  <roland@hack.frob.com>
9732
9733         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
9734         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
9735         Versions files is now verboten.
9736         * hurd/Versions (libc: GLIBC_2.0):
9737         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
9738         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9739         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
9740         * mach/Versions: Likewise.
9741
9742         * csu/Versions: Remove unused %include.
9743         * resolv/Versions: Likewise.
9744
9745 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
9746
9747         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9748         ($(objpfx)check-local-headers.out): Likewise.
9749         ($(objpfx)begin-end-check.out): Likewise.
9750         * Makerules (check-abi-%.out): Likewise.
9751         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
9752         ($(objpfx)test2.cat): Likewise.
9753         ($(objpfx)de/libc.cat): Likewise.
9754         ($(objpfx)test-gencat.out): Likewise.
9755         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
9756         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
9757         ($(objpfx)noload-mem): Likewise.
9758         ($(objpfx)tst-pathopt.out): Likewise.
9759         ($(objpfx)tst-rtld-load-self.out): Likewise.
9760         ($(objpfx)tst-array1-cmp.out): Likewise.
9761         ($(objpfx)tst-array1-static-cmp.out): Likewise.
9762         ($(objpfx)tst-array2-cmp.out): Likewise.
9763         ($(objpfx)tst-array3-cmp.out): Likewise.
9764         ($(objpfx)tst-array4-cmp.out): Likewise.
9765         ($(objpfx)tst-array5-cmp.out): Likewise.
9766         ($(objpfx)tst-array5-static-cmp.out): Likewise.
9767         ($(objpfx)check-textrel.out): Likewise.
9768         ($(objpfx)check-execstack.out): Likewise.
9769         ($(objpfx)check-localplt.out): Likewise.
9770         ($(objpfx)order2-cmp.out): Likewise.
9771         ($(objpfx)tst-leaks1-mem): Likewise.
9772         ($(objpfx)tst-leaks1-static-mem): Likewise.
9773         ($(objpfx)tst-initorder-cmp.out): Likewise.
9774         ($(objpfx)tst-initorder2-cmp.out): Likewise.
9775         ($(objpfx)tst-unused-dep.out): Likewise.
9776         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
9777         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9778         * iconv/Makefile (test-iconvconfig): Likewise.
9779         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
9780         ($(objpfx)iconv-test.out): Likewise.
9781         ($(objpfx)tst-tables.out): Likewise.
9782         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
9783         ($(objpfx)tst-gettext.out): Likewise.
9784         ($(objpfx)tst-translit.out): Likewise.
9785         ($(objpfx)tst-gettext2.out): Likewise.
9786         ($(objpfx)tst-gettext4.out): Likewise.
9787         ($(objpfx)tst-gettext6.out): Likewise.
9788         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9789         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9790         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9791         ($(objpfx)tst-fopenloc-mem.out): Likewise.
9792         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9793         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9794         * posix/Makefile ($(objpfx)globtest.out): Likewise.
9795         ($(objpfx)wordexp-tst.out): Likewise.
9796         ($(objpfx)annexc.out): Likewise.
9797         ($(objpfx)tst-fnmatch-mem): Likewise.
9798         ($(objpfx)bug-regex2-mem): Likewise.
9799         ($(objpfx)bug-regex14-mem): Likewise.
9800         ($(objpfx)bug-regex21-mem): Likewise.
9801         ($(objpfx)bug-regex31-mem): Likewise.
9802         ($(objpfx)tst-vfork3-mem): Likewise.
9803         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9804         ($(objpfx)tst-pcre-mem): Likewise.
9805         ($(objpfx)tst-boost-mem): Likewise.
9806         ($(objpfx)tst-getconf.out): Likewise.
9807         ($(objpfx)bug-ga2-mem): Likewise.
9808         ($(objpfx)bug-glob2-mem): Likewise.
9809         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9810         ($(objpfx)mtrace-tst-leaks2): Likewise.
9811         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9812         ($(objpfx)tst-printf.out): Likewise.
9813         ($(objpfx)tst-setvbuf1.out): Likewise.
9814         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9815         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9816         ($(objpfx)tst-fmtmsg.out): Likewise.
9817         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9818         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9819
9820         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9821         * bits/sigaction.h [__USE_MISC]: Likewise.
9822         * bits/waitstatus.h: Update #endif comments.
9823         * ctype/ctype.h: Likewise.
9824         * dirent/dirent.h: Likewise.
9825         [__USE_MISC]: Remove redundant conditionals.
9826         * grp/grp.h: Update #endif comments.
9827         [__USE_GNU]: Remove redundant conditionals.
9828         [__USE_MISC]: Likewise.
9829         * inet/netinet/in.h [__USE_GNU]: Likewise.
9830         * io/sys/stat.h [__USE_MISC]: Likewise.
9831         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9832         * libio/bits/stdio.h: Update #endif comments.
9833         [__USE_MISC]: Remove redundant conditionals.
9834         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9835         * libio/stdio.h: Update #endif comments.
9836         [__USE_MISC]: Remove redundant conditionals.
9837         * math/bits/math-finite.h [__USE_MISC]: Likewise.
9838         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9839         * math/math.h: Update #else and #endif comments.
9840         [__USE_MISC]: Remove redundant conditionals.
9841         * misc/sys/uio.h: Update #endif comments.
9842         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9843         * posix/glob.h [__USE_MISC]: Likewise.
9844         * posix/sys/types.h: Update #endif comments.
9845         [__USE_MISC]: Remove redundant conditionals.
9846         * posix/sys/wait.h: Update #endif comments.
9847         [__USE_MISC]: Remove redundant conditionals.
9848         * posix/unistd.h: Update #endif comments.
9849         [__USE_MISC]: Remove redundant conditionals.
9850         * pwd/pwd.h [__USE_GNU]: Likewise.
9851         [__USE_MISC]: Likewise.
9852         * resolv/netdb.h [__USE_GNU]: Likewise.
9853         * signal/signal.h: Update #endif comments.
9854         [__USE_MISC]: Remove redundant conditionals.
9855         * stdlib/stdlib.h: Update #else and #endif comments.
9856         [__USE_MISC]: Remove redundant conditionals.
9857         [__USE_GNU]: Likewise.
9858         * string/bits/string2.h [__USE_MISC]: Likewise.
9859         * string/string.h: Update #endif comments.
9860         [__USE_MISC]: Remove redundant conditionals.
9861         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
9862         Likewise.
9863         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
9864         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
9865         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
9866         Likewise.
9867         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
9868         Likewise.
9869         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
9870         comments.
9871         [__USE_MISC]: Remove redundant conditionals.
9872         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
9873         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
9874         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
9875         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
9876         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
9877         Likewise.
9878         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
9879         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
9880         Likewise.
9881         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
9882         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
9883         Likewise.
9884         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
9885         Likewise.
9886         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
9887         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
9888         Likewise.
9889         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
9890         Likewise.
9891         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
9892         * sysdeps/x86/bits/string.h: Update #endif comments.
9893         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
9894         conditionals.
9895         * time/sys/time.h: Update #endif comments.
9896         * time/time.h: Likewise.
9897         [__USE_MISC]: Remove redundant conditionals.
9898
9899 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
9900
9901         [BZ #16600]
9902         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
9903
9904 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
9905
9906         * Versions.def (librt): Add GLIBC_2.17.
9907
9908 2014-02-21  Adam Conrad  <adconrad@0c3.net>
9909
9910         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
9911         synonym for _SYS_AUXV_H to allow direct inclusion.
9912         * sysdeps/sparc/bits/hwcap.h: Likewise.
9913         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
9914         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
9915         * sysdeps/sparc/sysdep.h: Likewise.
9916
9917 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9918
9919         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
9920
9921 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9922
9923         * benchtests/bench-strrchr.c: Print length instead of position.
9924
9925 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
9926
9927         [BZ #16611]
9928         * sysdeps/unix/sysv/linux/kernel-features.h
9929         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
9930         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
9931         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
9932         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
9933         Likewise.
9934         [__i386__ || __powerpc__ || __sh__ || __sparc__]
9935         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9936         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
9937         (__ASSUME_SENDMMSG): Define instead of using previous
9938         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
9939         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9940         (__ASSUME_SENDMMSG_SYSCALL): Define.
9941         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9942         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
9943         Likewise.
9944         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9945         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9946         Likewise.
9947         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9948         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9949         Likewise.
9950         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
9951         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9952         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9953         [__ASSUME_SENDMMSG]: Change conditionals to
9954         [__ASSUME_SENDMMSG_SOCKETCALL].
9955         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9956         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
9957         Define.
9958         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9959         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
9960         Likewise.
9961         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
9962         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
9963         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
9964         [!__ASSUME_SENDMMSG]: Change conditional to
9965         [!__ASSUME_SENDMMSG_SOCKETCALL].
9966         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9967         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
9968         Define.
9969
9970         [BZ #16610]
9971         * sysdeps/unix/sysv/linux/kernel-features.h
9972         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
9973         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
9974         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
9975         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
9976         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9977         [__i386__ || __sparc__]
9978         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9979         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
9980         (__ASSUME_RECVMMSG): Define instead of using previous
9981         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
9982         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9983         (__ASSUME_RECVMMSG_SYSCALL): Define.
9984         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9985         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9986         Likewise.
9987         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9988         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9989         Likewise.
9990         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9991         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
9992         Likewise.
9993         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
9994         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
9995         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
9996         [__ASSUME_RECVMMSG]: Change condition to
9997         [__ASSUME_RECVMMSG_SOCKETCALL].
9998         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9999         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10000         Define.
10001         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10002         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10003         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10004         Likewise.
10005         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
10006         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10007         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10008         [!__ASSUME_RECVMMSG]: Change condition to
10009         [!__ASSUME_RECVMMSG_SOCKETCALL].
10010         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10011         (__ASSUME_RECVMMSG_SYSCALL): Define.
10012
10013         [BZ #16609]
10014         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10015         __powerpc__ || __s390__ || __sh__ || __sparc__]
10016         (__ASSUME_SOCKETCALL): Define.
10017         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
10018         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
10019         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
10020         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
10021         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10022         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10023         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
10024         (__ASSUME_ACCEPT4): Define instead of using previous
10025         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
10026         __powerpc__ || __sparc__ || __s390__)] condition.
10027         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10028         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10029         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
10030         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10031         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10032         [!__ASSUME_ACCEPT4]: Change condition to
10033         [!__ASSUME_ACCEPT4_SOCKETCALL].
10034         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10035         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
10036         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
10037         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10038         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10039         __ASSUME_ACCEPT4_SYSCALL.
10040         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
10041         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
10042         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10043         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
10044         __ASSUME_ACCEPT4_SYSCALL.
10045         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
10046         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10047         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10048         [__ASSUME_ACCEPT4]: Change condition to
10049         [__ASSUME_ACCEPT4_SOCKETCALL].
10050         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10051         (__ASSUME_SOCKETCALL): Define.
10052         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
10053         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10054         (__ASSUME_SOCKETCALL): Define.
10055         (__ASSUME_ACCEPT4): Remove.
10056         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10057         Define.
10058         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10059         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10060         Likewise.
10061         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10062         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10063
10064         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10065         macro.
10066         (HWCAP_ARM_LPAE): Likewise.
10067         (HWCAP_ARM_EVTSTRM): Likewise.
10068         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10069         Add vpfd32, lpae and evtstrm.
10070         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10071         Increase to 22.
10072
10073 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
10074
10075         * math/auto-libm-test-in: Add tests of clog10.
10076         * math/auto-libm-test-out: Regenerated.
10077         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10078         * sysdeps/i386/fpu/libm-test-ulps: Update.
10079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10080
10081 2014-02-18  Andreas Schwab  <schwab@suse.de>
10082
10083         [BZ #16574]
10084         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
10085         Store non-zero if the second buffer was newly allocated.
10086         (send_dg): Likewise.
10087         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
10088         to send_vc and send_dg.
10089         (res_nsend): Pass NULL for ansp2_malloced.
10090         * resolv/res_query.c (__libc_res_nquery): Add parameter
10091         answerp2_malloced and pass it down to __libc_res_nsend.
10092         (res_nquery): Pass additional NULL to __libc_res_nquery.
10093         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10094         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
10095         second answer buffer if answerp2_malloced was set.
10096         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10097         (__libc_res_nquerydomain): Add parameter
10098         answerp2_malloced and pass it down to __libc_res_nquery.
10099         (res_nquerydomain): Pass additional NULL to
10100         __libc_res_nquerydomain.
10101         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10102         additional NULL to __libc_res_nsend and __libc_res_nquery.
10103         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10104         additional NULL to __libc_res_nsearch.
10105         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
10106         parameter of __libc_res_nsearch to check for separately allocated
10107         second buffer.
10108         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10109         __libc_res_nquery.
10110         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10111         additional NULL to __libc_res_nquery.
10112         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10113         __libc_res_nsearch.
10114         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10115         * include/resolv.h: Update prototypes of __libc_res_nquery,
10116         __libc_res_nsearch, __libc_res_nsend.
10117
10118 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
10119
10120         * math/auto-libm-test-in: Add tests of fma.
10121         * math/auto-libm-test-out: Regenerated.
10122         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10123         (fma_towardzero_test_data): Likewise.
10124         (fma_downward_test_data): Likewise.
10125         (fma_upward_test_data): Likewise.
10126         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10127         mpc_mode.
10128         (rounding_modes): Add values for new field.
10129         (func_calc_method): Add value mpfr_fff_f.
10130         (func_calc_desc): Add mpfr_fff_f union field.
10131         (test_function): Add field exact_args.
10132         (FUNC): Add macro argument EXACT_ARGS.
10133         (FUNC_mpfr_f_f): Update call to FUNC.
10134         (FUNC_mpfr_f_f): Likewise.
10135         (FUNC_mpfr_ff_f): Likewise.
10136         (FUNC_mpfr_if_f): Likewise.
10137         (FUNC_mpc_c_f): Likewise.
10138         (FUNC_mpc_c_c): Likewise.
10139         (test_functions): Add fma.  Update calls to FUNC.
10140         (handle_input_arg): Add argument exact_args.
10141         (add_test): Update call to handle_input_arg.
10142         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
10143         (output_for_one_input_case): Update call to calc_generic_results.
10144         Recalculate exact zero results in each rounding mode.
10145
10146         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10147         non-negative before setting low bit.
10148         * math/auto-libm-test-in: Mark one asin test possibly having
10149         spurious underflow.
10150         * math/auto-libm-test-out: Regenerated.
10151         * sysdeps/i386/fpu/libm-test-ulps: Update.
10152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10153
10154 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
10155
10156         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10157         * sysdeps/unix/sysv/linux/microblaze: Move directory from
10158         ports/sysdeps/unix/sysv/linux/microblaze.
10159         * README: Add missing listing for microblaze*-*-linux-gnu.
10160
10161 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
10162
10163         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10164         duplicate code
10165
10166 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
10167
10168         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10169         * sysdeps/unix/sysv/linux/ia64: Move directory from
10170         ports/sysdeps/unix/sysv/linux/ia64.
10171         * README: Update listing for ia64-*-linux-gnu.
10172
10173 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
10174             Joseph Myers  <joseph@codesourcery.com>
10175
10176         * Makeconfig (test-name): New variable.
10177         (evaluate-test): Likewise.
10178         * Makerules (do-test-clean): Remove .test-result files.
10179         (common-mostlyclean): Likewise.
10180         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10181         * scripts/evaluate-test.sh: New file.
10182
10183 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
10184
10185         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10186         separate $(objpfx)tst-fopenloc-cmp.out and
10187         $(objpfx)tst-fopenloc-mem.out targets.
10188         (tests): Update dependencies.
10189         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10190         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10191         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10192         (tst-rxspencer-no-utf8-ARGS): New variable.
10193         (tst-rxspencer-no-utf8-ENV): Likewise.
10194         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10195         instead of $(objpfx)tst-rxspencer-mem.
10196         ($(objpfx)tst-rxspencer-mem): Change target to
10197         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
10198         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
10199         * posix/tst-rxspencer-no-utf8.c: New file.
10200
10201         * elf/Makefile ($(objpfx)order.out): Remove rule.
10202         [$(run-built-tests) = yes] (tests): Depend on
10203         $(objpfx)order-cmp.out.
10204         ($(objpfx)order-cmp.out): New rule.
10205         [$(run-built-tests) = yes] (tests): Depend on
10206         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
10207         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
10208         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
10209         $(objpfx)tst-array5-static-cmp.out.
10210         ($(objpfx)tst-array1.out): Remove rule.
10211         ($(objpfx)tst-array1-cmp.out): New rule.
10212         ($(objpfx)tst-array1-static.out): Remove rule.
10213         ($(objpfx)tst-array1-static-cmp.out): New rule.
10214         ($(objpfx)tst-array2.out): Remove rule.
10215         ($(objpfx)tst-array2-cmp.out): New rule.
10216         ($(objpfx)tst-array3.out): Remove rule.
10217         ($(objpfx)tst-array3-cmp.out): New rule.
10218         ($(objpfx)tst-array4.out): Remove rule.
10219         ($(objpfx)tst-array4-cmp.out): New rule.
10220         ($(objpfx)tst-array5.out): Remove rule.
10221         ($(objpfx)tst-array5-cmp.out): New rule.
10222         ($(objpfx)tst-array5-static.out): Remove rule.
10223         ($(objpfx)tst-array5-static-cmp.out): New rule.
10224         [$(run-built-tests) = yes] (tests): Depend on
10225         $(objpfx)order2-cmp.out.
10226         ($(objpfx)order2.out): Remove rule.
10227         ($(objpfx)order2-cmp.out): New rule.
10228         ($(objpfx)tst-initorder.out): Remove rule.
10229         [$(run-built-tests) = yes] (tests): Depend on
10230         $(objpfx)tst-initorder-cmp.out.
10231         ($(objpfx)tst-initorder-cmp.out): New rule.
10232         ($(objpfx)tst-initorder2.out): Remove rule.
10233         [$(run-built-tests) = yes] (tests): Depend on
10234         $(objpfx)tst-initorder2-cmp.out.
10235         ($(objpfx)tst-initorder2-cmp.out): New rule.
10236         [$(run-built-tests) = yes] (tests): Depend on
10237         $(objpfx)tst-unused-dep-cmp.out.
10238         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10239         ($(objpfx)tst-unused-dep-cmp.out): New rule.
10240         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10241         on $(objpfx)tst-setvbuf1-cmp.out.
10242         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10243         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10244         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10245         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10246         ($(objpfx)tst-svc.out): Remove rule.
10247         ($(objpfx)tst-svc-cmp.out): New rule.
10248
10249 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
10250
10251         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10252         * ctype/ctype.h [__USE_MISC]: Likewise.
10253         * dirent/dirent.h [__USE_MISC]: Likewise.
10254         * grp/grp.h [__USE_MISC]: Likewise.
10255         * io/fcntl.h [__USE_MISC]: Likewise.
10256         * io/sys/stat.h [__USE_MISC]: Likewise.
10257         * libio/stdio.h [__USE_MISC]: Likewise.
10258         * posix/unistd.h [__USE_MISC]: Likewise.
10259         * pwd/pwd.h [__USE_MISC]: Likewise.
10260         * stdlib.h [__USE_MISC]: Likewise.
10261         * string/bits/string2.h [__USE_MISC]: Likewise.
10262         * string/string.h [__USE_MISC]: Likewise.
10263         * time/time.h [__USE_MISC]: Likewise.
10264
10265 2014-02-13  Andreas Schwab  <schwab@suse.de>
10266
10267         [BZ #16574]
10268         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10269         second answer buffer if it was separately allocated.
10270
10271 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
10272
10273         * sysdeps/mips/math-tests.h: Include <features.h>.
10274         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10275         (ROUNDING_TESTS_long_double): Do not define.
10276         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10277         (EXCEPTION_TESTS_long_double): Likewise.
10278         * sysdeps/mips/mips64/libm-test-ulps: Update.
10279
10280         * include/features.h (__USE_BSD): Remove macro definitions.
10281         (__USE_SVID): Likewise.
10282         (_BSD_SOURCE): Likewise.
10283         (_SVID_SOURCE): Likewise.
10284         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10285         from definition of _DEFAULT_SOURCE.
10286         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10287         [_DEFAULT_SOURCE].
10288         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10289         * bits/mman.h [__USE_BSD]: Likewise.
10290         * bits/termios.h [__USE_BSD]: Likewise.
10291         * bits/waitstatus.h [__USE_BSD]: Likewise.
10292         * ctype/ctype.h [__USE_SVID]: Likewise.
10293         * dirent/dirent.h [__USE_BSD]: Likewise.
10294         * grp/grp.h [__USE_SVID]: Likewise.
10295         [__USE_BSD]: Likewise.
10296         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10297         * io/fcntl.h [__USE_BSD]: Likewise.
10298         * io/ftw.h [__USE_BSD]: Likewise.
10299         * io/sys/stat.h [__USE_BSD]: Likewise.
10300         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10301         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10302         * libio/stdio.h [__USE_SVID]: Likewise.
10303         [__USE_BSD]: Likewise.
10304         * math/math.h [__USE_SVID]: Likewise.
10305         [__USE_BSD]: Likewise.
10306         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10307         * misc/bits/syslog.h [__USE_BSD]: Likewise.
10308         * misc/search.h [__USE_SVID]: Likewise.
10309         * misc/sys/mman.h [__USE_BSD]: Likewise.
10310         * misc/sys/syslog.h [__USE_BSD]: Likewise.
10311         * misc/sys/uio.h [__USE_BSD]: Likewise.
10312         * posix/bits/unistd.h [__USE_BSD]: Likewise.
10313         * posix/glob.h [__USE_BSD]: Likewise.
10314         * posix/regex.h [__USE_BSD]: Likewise.
10315         * posix/sys/types.h [__USE_BSD]: Likewise.
10316         [__USE_SVID]: Likewise.
10317         * posix/sys/utsname.h [__USE_SVID]: Likewise.
10318         * posix/sys/wait.h [__USE_BSD]: Likewise.
10319         [__USE_SVID]: Likewise.
10320         * posix/unistd.h [__USE_BSD]: Likewise.
10321         [__USE_SVID]: Likewise.
10322         * pwd/pwd.h [__USE_SVID]: Likewise.
10323         * resolv/netdb.h [__USE_BSD]: Likewise.
10324         * setjmp/setjmp.h [__USE_BSD]: Likewise.
10325         * signal/signal.h [__USE_BSD]: Likewise.
10326         [__USE_SVID]: Likewise.
10327         * socket/sys/socket.h [__USE_BSD]: Likewise.
10328         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
10329         * stdlib/stdlib.h [__USE_BSD]: Likewise.
10330         [__USE_SVID]: Likewise.
10331         * string/bits/string2.h [__USE_BSD]: Likewise.
10332         [__USE_SVID]: Likewise.
10333         * string/bits/string3.h [__USE_BSD]: Likewise.
10334         * string/endian.h [__USE_BSD]: Likewise.
10335         * string/string.h [__USE_SVID]: Likewise.
10336         [__USE_BSD]: Likewise.
10337         * string/strings.h [__USE_BSD]: Likewise.
10338         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
10339         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
10340         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
10341         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
10342         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
10343         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
10344         Likewise.
10345         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
10346         Likewise.
10347         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
10348         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
10349         Likewise.
10350         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
10351         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
10352         Likewise.
10353         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
10354         Likewise.
10355         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
10356         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
10357         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
10358         Likewise.
10359         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
10360         Likewise.
10361         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
10362         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
10363         * termios/termios.h [__USE_BSD]: Likewise.
10364         * time/sys/time.h [__USE_BSD]: Likewise.
10365         * time/time.h [__USE_BSD]: Likewise.
10366         [__USE_SVID]: Likewise.
10367
10368         * Makefile (subdir_targets): Remove subdir_lint.out.
10369
10370         * stdio-common/Makefile (do-tst-unbputc): Remove target.
10371         (do-tst-printf): Likewise.
10372         (tests): Depend directly on $(objpfx)tst-unbputc.out and
10373         $(objpfx)tst-printf.out.
10374
10375         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
10376
10377         * Makerules (check-abi-%): Change target to
10378         $(objpfx)check-abi-%.out.
10379         (check-abi target): Update dependencies.
10380         (check-abi-pattern variable): Redirect output of diff to $@.
10381         (check-abi variable): Likewise.
10382         * elf/Makefile (check-abi): Update dependencies.
10383
10384         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
10385         unused.
10386         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
10387         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
10388         subnormal range.
10389         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
10390         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
10391         value has largest subnormal exponent.
10392         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
10393         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
10394         * sysdeps/aarch64/soft-fp/sfp-machine.h
10395         (_FP_TININESS_AFTER_ROUNDING): New macro.
10396         * sysdeps/alpha/soft-fp/sfp-machine.h
10397         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10398         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10399         Likewise.
10400         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10401         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10402         * sysdeps/mips/soft-fp/sfp-machine.h
10403         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10404         * sysdeps/powerpc/soft-fp/sfp-machine.h
10405         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10406         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10407         Likewise.
10408         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10409         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10410         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10411         (_FP_TININESS_AFTER_ROUNDING): Likewise.
10412         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10413         Likewise.
10414
10415 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
10416
10417         [BZ #16545]
10418         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10419         model 1.
10420
10421 2014-02-12  Richard Henderson  <rth@redhat.com>
10422
10423         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
10424         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10425         * sysdeps/unix/sysv/linux/alpha: Move directory from
10426         ports/sysdeps/unix/sysv/linux/alpha.
10427         * README: Update listing for alpha-*-linux-gnu.
10428
10429 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
10430
10431         * include/features.h: Update comment documenting feature test
10432         macros.
10433         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
10434         _DEFAULT_SOURCE.
10435         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10436         (_SVID_SOURCE): Likewise.
10437         (_DEFAULT_SOURCE): Update description of default features.
10438         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10439         with _GNU_SOURCE.
10440         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10441         (S_ISVTX): Likewise.
10442         * manual/math.texi (Mathematical Constants): Likewise.
10443         * manual/signal.texi (Interrupted Primitives): Likewise.
10444         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10445         * math/test-matherr.c (_SVID_SOURCE): Do not define.
10446         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10447         Don't refer to _SVID_SOURCE in warning text.
10448
10449         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10450
10451         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10452         already defined.
10453         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10454         * sysdeps/mips/dl-lookup.c: Remove.
10455         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10456
10457 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10458
10459         [BZ #16447]
10460         * math/auto-libm-test-in: Add testcase for expl.
10461         * math/auto-libm-test-out: Regenerate.
10462         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10463         calculation of unsafe.
10464         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10465
10466 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
10467
10468         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10469         * sysdeps/unix/sysv/linux/aarch64: Move directory from
10470         ports/sysdeps/unix/sysv/linux/aarch64.
10471         * README: Update listing for aarch64*-*-linux-gnu.
10472
10473 2014-02-11  Will Newton  <will.newton@linaro.org>
10474
10475         * manual/probes.texi (Mathematical Function Probes): Use
10476         "triggered" instead of "hit".
10477
10478         * manual/probes.texi (Internal Probes): Add documentation
10479         of setjmp, longjmp and longjmp_target probes.
10480
10481         * include/stap-probe.h: Add comment about probe argument
10482         format.
10483
10484         * malloc/mtrace.c (attribute_hidden): Remove unused macro
10485         definition.  (tr_where, tr_freehook, tr_mallochook,
10486         tr_reallochook, tr_memalignhook): Use ANSI protoype.
10487
10488 2014-02-11  David S. Miller  <davem@davemloft.net>
10489
10490         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10491         processing int_tests.
10492
10493 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
10494
10495         * sysdeps/mips: Move directory from ports/sysdeps/mips.
10496         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10497         * sysdeps/unix/sysv/linux/mips: Move directory from
10498         ports/sysdeps/unix/sysv/linux/mips.
10499         * README: Update listing for mips-*-linux-gnu and
10500         mips64-*-linux-gnu.
10501
10502 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
10503
10504         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10505         * sysdeps/unix/sysv/linux/m68k: Move directory from
10506         ports/sysdeps/unix/sysv/linux/m68k.
10507         * README: Update listing for m68k-*-linux-gnu.
10508
10509 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
10510
10511         * sysdeps/tile: Move directory from ports/sysdeps/tile.
10512         * sysdeps/unix/sysv/linux/generic: Move directory from
10513         ports/sysdeps/unix/sysv/linux/generic.
10514         * sysdeps/unix/sysv/linux/tile: Move directory from
10515         ports/sysdeps/unix/sysv/linux/tile.
10516         * README: Update listing for tile*-*-linux-gnu.
10517
10518 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
10519
10520         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10521         __builtin_expect.
10522         * benchtests/bench-memmem.c (simple_memmem): Likewise.
10523         * catgets/open_catalog.c (__open_catalog): Likewise.
10524         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10525         * debug/confstr_chk.c: Likewise.
10526         * debug/fread_chk.c (__fread_chk): Likewise.
10527         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10528         * debug/getgroups_chk.c: Likewise.
10529         * debug/mbsnrtowcs_chk.c: Likewise.
10530         * debug/mbsrtowcs_chk.c: Likewise.
10531         * debug/mbstowcs_chk.c: Likewise.
10532         * debug/memcpy_chk.c: Likewise.
10533         * debug/memmove_chk.c: Likewise.
10534         * debug/mempcpy_chk.c: Likewise.
10535         * debug/memset_chk.c: Likewise.
10536         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10537         * debug/strcat_chk.c (__strcat_chk): Likewise.
10538         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
10539         * debug/strncat_chk.c (__strncat_chk): Likewise.
10540         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
10541         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
10542         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
10543         * debug/wcpncpy_chk.c: Likewise.
10544         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10545         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
10546         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
10547         * debug/wcsncpy_chk.c: Likewise.
10548         * debug/wcsnrtombs_chk.c: Likewise.
10549         * debug/wcsrtombs_chk.c: Likewise.
10550         * debug/wcstombs_chk.c: Likewise.
10551         * debug/wmemcpy_chk.c: Likewise.
10552         * debug/wmemmove_chk.c: Likewise.
10553         * debug/wmempcpy_chk.c: Likewise.
10554         * debug/wmemset_chk.c: Likewise.
10555         * dirent/scandirat.c (SCANDIRAT): Likewise.
10556         * dlfcn/dladdr1.c (dladdr1): Likewise.
10557         * dlfcn/dladdr.c (dladdr): Likewise.
10558         * dlfcn/dlclose.c (dlclose_doit): Likewise.
10559         * dlfcn/dlerror.c (__dlerror): Likewise.
10560         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
10561         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10562         * dlfcn/dlopen.c (dlopen_doit): Likewise.
10563         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
10564         * dlfcn/dlsym.c (dlsym_doit): Likewise.
10565         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
10566         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
10567         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
10568         Likewise.
10569         * elf/dl-conflict.c: Likewise.
10570         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10571         * elf/dl-dst.h: Likewise.
10572         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
10573         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
10574         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10575         * elf/dl-init.c (call_init, _dl_init): Likewise.
10576         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
10577         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
10578         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
10579         Likewise.
10580         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
10581         Likewise.
10582         * elf/dl-minimal.c (__libc_memalign): Likewise.
10583         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
10584         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10585         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
10586         * elf/dl-sym.c (do_sym): Likewise.
10587         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
10588         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
10589         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
10590         * elf/dl-writev.h (_dl_writev): Likewise.
10591         * elf/ldconfig.c (search_dir): Likewise.
10592         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
10593         (dl_main): Likewise.
10594         * elf/setup-vdso.h (setup_vdso): Likewise.
10595         * grp/compat-initgroups.c (compat_call): Likewise.
10596         * grp/fgetgrent.c (fgetgrent): Likewise.
10597         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
10598         * grp/putgrent.c (putgrent): Likewise.
10599         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10600         Likewise.
10601         * hurd/hurdinit.c: Likewise.
10602         * iconvdata/8bit-gap.c (struct): Likewise.
10603         * iconvdata/ansi_x3.110.c : Likewise.
10604         * iconvdata/big5.c : Likewise.
10605         * iconvdata/big5hkscs.c : Likewise.
10606         * iconvdata/cp1255.c: Likewise.
10607         * iconvdata/cp1258.c : Likewise.
10608         * iconvdata/cp932.c : Likewise.
10609         * iconvdata/euc-cn.c: Likewise.
10610         * iconvdata/euc-jisx0213.c : Likewise.
10611         * iconvdata/euc-jp.c: Likewise.
10612         * iconvdata/euc-jp-ms.c : Likewise.
10613         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
10614         * iconvdata/gb18030.c : Likewise.
10615         * iconvdata/gbbig5.c (const): Likewise.
10616         * iconvdata/gbgbk.c: Likewise.
10617         * iconvdata/gbk.c : Likewise.
10618         * iconvdata/ibm1364.c : Likewise.
10619         * iconvdata/ibm930.c : Likewise.
10620         * iconvdata/ibm932.c: Likewise.
10621         * iconvdata/ibm933.c : Likewise.
10622         * iconvdata/ibm935.c : Likewise.
10623         * iconvdata/ibm937.c : Likewise.
10624         * iconvdata/ibm939.c : Likewise.
10625         * iconvdata/ibm943.c: Likewise.
10626         * iconvdata/iso_11548-1.c: Likewise.
10627         * iconvdata/iso-2022-cn.c : Likewise.
10628         * iconvdata/iso-2022-cn-ext.c : Likewise.
10629         * iconvdata/iso-2022-jp-3.c: Likewise.
10630         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
10631         * iconvdata/iso-2022-kr.c : Likewise.
10632         * iconvdata/iso646.c (gconv_end): Likewise.
10633         * iconvdata/iso_6937-2.c : Likewise.
10634         * iconvdata/iso_6937.c : Likewise.
10635         * iconvdata/iso8859-1.c: Likewise.
10636         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
10637         * iconvdata/shift_jisx0213.c : Likewise.
10638         * iconvdata/sjis.c : Likewise.
10639         * iconvdata/t.61.c : Likewise.
10640         * iconvdata/tcvn5712-1.c : Likewise.
10641         * iconvdata/tscii.c: Likewise.
10642         * iconvdata/uhc.c : Likewise.
10643         * iconvdata/unicode.c (gconv_end): Likewise.
10644         * iconvdata/utf-16.c (gconv_end): Likewise.
10645         * iconvdata/utf-32.c (gconv_end): Likewise.
10646         * iconvdata/utf-7.c (base64): Likewise.
10647         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
10648         * iconv/gconv_close.c (__gconv_close): Likewise.
10649         * iconv/gconv_open.c (__gconv_open): Likewise.
10650         * iconv/gconv_simple.c (internal_ucs4_loop_single)
10651         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
10652         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
10653         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
10654         (ucs4le_internal_loop_single): Likewise.
10655         * iconv/iconv.c (iconv): Likewise.
10656         * iconv/iconv_close.c: Likewise.
10657         * iconv/loop.c (SINGLE): Likewise.
10658         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
10659         * include/atomic.h: Likewise.
10660         * inet/inet6_option.c (option_alloc): Likewise.
10661         * intl/bindtextdom.c (set_binding_values): Likewise.
10662         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
10663         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
10664         * intl/localealias.c (read_alias_file): Likewise.
10665         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10666         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
10667         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
10668         * libio/fmemopen.c (fmemopen): Likewise.
10669         * libio/iofgets.c (_IO_fgets): Likewise.
10670         * libio/iofgets_u.c (fgets_unlocked): Likewise.
10671         * libio/iofgetws.c (fgetws): Likewise.
10672         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10673         * libio/iogetdelim.c (_IO_getdelim): Likewise.
10674         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
10675         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
10676         * locale/findlocale.c (_nl_find_locale): Likewise.
10677         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
10678         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
10679         Likewise.
10680         * locale/setlocale.c (setlocale): Likewise.
10681         * login/programs/pt_chown.c (main): Likewise.
10682         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
10683         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
10684         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
10685         (mmap, mmap64, mremap, munmap): Likewise.
10686         * math/e_exp2l.c: Likewise.
10687         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
10688         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
10689         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
10690         * math/s_catan.c (__catan): Likewise.
10691         * math/s_catanf.c (__catanf): Likewise.
10692         * math/s_catanh.c (__catanh): Likewise.
10693         * math/s_catanhf.c (__catanhf): Likewise.
10694         * math/s_catanhl.c (__catanhl): Likewise.
10695         * math/s_catanl.c (__catanl): Likewise.
10696         * math/s_ccosh.c (__ccosh): Likewise.
10697         * math/s_ccoshf.c (__ccoshf): Likewise.
10698         * math/s_ccoshl.c (__ccoshl): Likewise.
10699         * math/s_cexp.c (__cexp): Likewise.
10700         * math/s_cexpf.c (__cexpf): Likewise.
10701         * math/s_cexpl.c (__cexpl): Likewise.
10702         * math/s_clog10.c (__clog10): Likewise.
10703         * math/s_clog10f.c (__clog10f): Likewise.
10704         * math/s_clog10l.c (__clog10l): Likewise.
10705         * math/s_clog.c (__clog): Likewise.
10706         * math/s_clogf.c (__clogf): Likewise.
10707         * math/s_clogl.c (__clogl): Likewise.
10708         * math/s_csin.c (__csin): Likewise.
10709         * math/s_csinf.c (__csinf): Likewise.
10710         * math/s_csinh.c (__csinh): Likewise.
10711         * math/s_csinhf.c (__csinhf): Likewise.
10712         * math/s_csinhl.c (__csinhl): Likewise.
10713         * math/s_csinl.c (__csinl): Likewise.
10714         * math/s_csqrt.c (__csqrt): Likewise.
10715         * math/s_csqrtf.c (__csqrtf): Likewise.
10716         * math/s_csqrtl.c (__csqrtl): Likewise.
10717         * math/s_ctan.c (__ctan): Likewise.
10718         * math/s_ctanf.c (__ctanf): Likewise.
10719         * math/s_ctanh.c (__ctanh): Likewise.
10720         * math/s_ctanhf.c (__ctanhf): Likewise.
10721         * math/s_ctanhl.c (__ctanhl): Likewise.
10722         * math/s_ctanl.c (__ctanl): Likewise.
10723         * math/w_pow.c: Likewise.
10724         * math/w_powf.c: Likewise.
10725         * math/w_powl.c: Likewise.
10726         * math/w_scalb.c (sysv_scalb): Likewise.
10727         * math/w_scalbf.c (sysv_scalbf): Likewise.
10728         * math/w_scalbl.c (sysv_scalbl): Likewise.
10729         * misc/error.c (error_tail): Likewise.
10730         * misc/pselect.c (__pselect): Likewise.
10731         * nis/nis_callback.c (__nis_create_callback): Likewise.
10732         * nis/nis_call.c (__nisfind_server): Likewise.
10733         * nis/nis_creategroup.c (nis_creategroup): Likewise.
10734         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
10735         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
10736         * nis/nis_getservlist.c (nis_getservlist): Likewise.
10737         * nis/nis_lookup.c (nis_lookup): Likewise.
10738         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
10739         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
10740         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
10741         * nis/nis_xdr.c (xdr_endpoint): Likewise.
10742         * nis/nss_compat/compat-grp.c (getgrent_next_file)
10743         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
10744         * nis/nss_compat/compat-initgroups.c (add_group)
10745         (internal_getgrent_r): Likewise.
10746         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
10747         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
10748         * nis/nss_compat/compat-spwd.c (getspent_next_file)
10749         (internal_getspnam_r): Likewise.
10750         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
10751         (_nss_nis_getaliasbyname_r): Likewise.
10752         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
10753         (_nss_nis_getntohost_r): Likewise.
10754         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
10755         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
10756         (_nss_nis_getgrgid_r): Likewise.
10757         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
10758         (internal_nis_gethostent_r, internal_gethostbyname2_r)
10759         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
10760         (_nss_nis_gethostbyname4_r): Likewise.
10761         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
10762         (initgroups_netid): Likewise.
10763         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
10764         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
10765         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
10766         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
10767         (_nss_nis_getprotobynumber_r): Likewise.
10768         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
10769         (_nss_nis_getsecretkey): Likewise.
10770         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
10771         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
10772         (_nss_nis_getpwuid_r): Likewise.
10773         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
10774         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
10775         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
10776         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
10777         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
10778         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
10779         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10780         Likewise.
10781         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
10782         (_nss_nisplus_getntohost_r): Likewise.
10783         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
10784         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
10785         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
10786         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
10787         Likewise.
10788         * nis/nss_nisplus/nisplus-initgroups.c
10789         (_nss_nisplus_initgroups_dyn): Likewise.
10790         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
10791         (_nss_nisplus_getnetbyaddr_r): Likewise.
10792         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
10793         (_nss_nisplus_getprotobynumber_r): Likewise.
10794         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10795         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
10796         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10797         Likewise.
10798         * nis/nss_nisplus/nisplus-service.c
10799         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10800         (_nss_nisplus_getservbyport_r): Likewise.
10801         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10802         (_nss_nisplus_getspnam_r): Likewise.
10803         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10804         Likewise.
10805         * nscd/aicache.c (addhstaiX): Likewise.
10806         * nscd/cache.c (cache_search, prune_cache): Likewise.
10807         * nscd/connections.c (register_traced_file, send_ro_fd)
10808         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10809         (main_loop_epoll): Likewise.
10810         * nscd/grpcache.c (addgrbyX): Likewise.
10811         * nscd/hstcache.c (addhstbyX): Likewise.
10812         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10813         * nscd/mem.c (gc, mempool_alloc): Likewise.
10814         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10815         (addinnetgrX): Likewise.
10816         * nscd/nscd-client.h (__nscd_acquire_maplock)
10817         (__nscd_drop_map_ref): Likewise.
10818         * nscd/nscd_getai.c (__nscd_getai): Likewise.
10819         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10820         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10821         Likewise.
10822         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10823         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10824         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10825         (__nscd_get_map_ref): Likewise.
10826         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
10827         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10828         Likewise.
10829         * nscd/pwdcache.c (addpwbyX): Likewise.
10830         * nscd/selinux.c (preserve_capabilities): Likewise.
10831         * nscd/servicescache.c (addservbyX): Likewise.
10832         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10833         * posix/fnmatch.c (fnmatch): Likewise.
10834         * posix/getopt.c (_getopt_internal_r): Likewise.
10835         * posix/glob.c (glob, glob_in_dir): Likewise.
10836         * posix/wordexp.c (exec_comm_child): Likewise.
10837         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10838         (getanswer_r, gaih_getanswer_slice): Likewise.
10839         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10840         * resolv/res_init.c: Likewise.
10841         * resolv/res_mkquery.c (res_nmkquery): Likewise.
10842         * resolv/res_query.c (__libc_res_nquery): Likewise.
10843         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10844         Likewise.
10845         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10846         * stdio-common/perror.c (perror): Likewise.
10847         * stdio-common/printf_fp.c (___printf_fp): Likewise.
10848         * stdio-common/tmpnam.c (tmpnam): Likewise.
10849         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10850         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
10851         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10852         Likewise.
10853         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10854         * stdlib/putenv.c (putenv): Likewise.
10855         * stdlib/setenv.c (__add_to_environ): Likewise.
10856         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10857         * stdlib/strtol_l.c (INTERNAL): Likewise.
10858         * string/memmem.c (memmem): Likewise.
10859         * string/strerror.c (strerror): Likewise.
10860         * string/strnlen.c (__strnlen): Likewise.
10861         * string/test-memmem.c (simple_memmem): Likewise.
10862         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
10863         * sunrpc/pm_getport.c (__get_socket): Likewise.
10864         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
10865         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10866         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
10867         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
10868         Likewise.
10869         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
10870         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10871         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
10872         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
10873         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
10874         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
10875         Likewise.
10876         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
10877         Likewise.
10878         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
10879         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
10880         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
10881         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10882         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
10883         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
10884         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10885         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
10886         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
10887         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
10888         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10889         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
10890         Likewise.
10891         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
10892         Likewise.
10893         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
10894         Likewise.
10895         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
10896         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10897         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
10898         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
10899         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
10900         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
10901         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
10902         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
10903         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
10904         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
10905         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
10906         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10907         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
10908         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
10909         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10910         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10911         Likewise.
10912         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
10913         Likewise.
10914         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
10915         Likewise.
10916         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
10917         Likewise.
10918         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10919         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10920         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
10921         Likewise.
10922         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
10923         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
10924         * sysdeps/posix/opendir.c (__opendirat): Likewise.
10925         * sysdeps/posix/sleep.c: Likewise.
10926         * sysdeps/posix/tempname.c: Likewise.
10927         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
10928         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10929         Likewise.
10930         * sysdeps/powerpc/powerpc32/dl-machine.h
10931         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
10932         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10933         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10934         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
10935         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
10936         Likewise.
10937         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
10938         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
10939         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10940         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
10941         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
10942         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
10943         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
10944         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
10945         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10946         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
10947         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
10948         (elf_machine_lazy_rel): Likewise.
10949         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10950         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
10951         (elf_machine_lazy_rel): Likewise.
10952         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
10953         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
10954         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
10955         * sysdeps/unix/grantpt.c (grantpt): Likewise.
10956         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
10957         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
10958         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
10959         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10960         Likewise.
10961         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10962         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10963         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
10964         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
10965         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10966         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10967         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
10968         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
10969         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
10970         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10971         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10972         Likewise.
10973         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
10974         (__posix_fallocate64_l64): Likewise.
10975         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
10976         (posix_fallocate): Likewise.
10977         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10978         Likewise.
10979         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10980         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
10981         (getifaddrs_internal): Likewise.
10982         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
10983         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
10984         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
10985         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10986         * sysdeps/unix/sysv/linux/posix_fallocate64.c
10987         (__posix_fallocate64_l64): Likewise.
10988         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10989         Likewise.
10990         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
10991         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
10992         (__get_clockfreq): Likewise.
10993         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
10994         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
10995         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
10996         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10997         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10998         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
10999         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11000         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
11001         Likewise.
11002         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
11003         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
11004         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11005         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
11006         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11007         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
11008         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
11009         Likewise.
11010         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11011         (posix_fallocate): Likewise.
11012         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11013         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11014         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
11015         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11016         (elf_machine_rela, elf_machine_rela_relative)
11017         (elf_machine_lazy_rel): Likewise.
11018         * time/asctime.c (asctime_internal): Likewise.
11019         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
11020         * time/tzset.c (__tzset_parse_tz): Likewise.
11021         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11022         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11023         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
11024         * wcsmbs/wcsmbsload.h: Likewise.
11025
11026         [BZ #15894]
11027         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
11028
11029         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
11030         (arena_get2): Remove THREAD_STATS conditionals.
11031         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
11032         (__malloc_stats, int): Likewise.
11033
11034 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
11035
11036         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
11037         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
11038
11039         * manual/setjmp.texi: Fix typos/grammar errors.
11040
11041         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
11042         Only return early when n is <= 0.  Delete unused return statement.
11043
11044         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
11045         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
11046         * debug/tst-longjmp_chk3.c: New file.
11047
11048         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
11049         (test_main): Replace code with set_fortify_handler call.
11050         * debug/test-strcpy_chk.c: Likewise.
11051         * debug/tst-chk1.c: Likewise.
11052         * debug/tst-longjmp_chk.c: Likewise.
11053         * test-skeleton.c: Include fcntl.h & paths.h
11054         (set_fortify_handler): Define.
11055
11056         * debug/tst-longjmp_chk.c: Add header comment and include
11057         ../test-skeleton.c.
11058         (do_test): Mark static.
11059         (TEST_FUNCTION): Define.
11060
11061         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11062         (IP_PMTUDISC_INTERFACE): Likewise.
11063         (IP_MULTICAST_IF): Likewise.
11064         (IP_MULTICAST_TTL): Likewise.
11065         (IP_MULTICAST_LOOP): Likewise.
11066         (IP_ADD_MEMBERSHIP): Likewise.
11067         (IP_DROP_MEMBERSHIP): Likewise.
11068         (IP_UNBLOCK_SOURCE): Likewise.
11069         (IP_BLOCK_SOURCE): Likewise.
11070         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11071         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11072         (IP_MSFILTER): Likewise.
11073         (MCAST_JOIN_GROUP): Likewise.
11074         (MCAST_BLOCK_SOURCE): Likewise.
11075         (MCAST_UNBLOCK_SOURCE): Likewise.
11076         (MCAST_LEAVE_GROUP): Likewise.
11077         (MCAST_JOIN_SOURCE_GROUP): Likewise.
11078         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11079         (MCAST_MSFILTER): Likewise.
11080         (IP_MULTICAST_ALL): Likewise.
11081         (IP_UNICAST_IF): Likewise.
11082
11083         * timezone/Makefile: Delete $(have-ksh) check.
11084         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
11085         * timezone/tzselect.ksh: Add +x mode bits.
11086
11087         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
11088         (ANON_INODE_FS_MAGIC): Likewise.
11089         (BDEVFS_MAGIC): Likewise.
11090         (BINFMTFS_MAGIC): Likewise.
11091         (BTRFS_TEST_MAGIC): Likewise.
11092         (CRAMFS_MAGIC_WEND): Likewise.
11093         (DEBUGFS_MAGIC): Likewise.
11094         (ECRYPTFS_SUPER_MAGIC): Likewise.
11095         (EXT3_SUPER_MAGIC): Likewise.
11096         (EXT4_SUPER_MAGIC): Likewise.
11097         (FUTEXFS_SUPER_MAGIC): Likewise.
11098         (HOSTFS_SUPER_MAGIC): Likewise.
11099         (HUGETLBFS_MAGIC): Likewise.
11100         (MINIX3_SUPER_MAGIC): Likewise.
11101         (MTD_INODE_FS_MAGIC): Likewise.
11102         (NILFS_SUPER_MAGIC): Likewise.
11103         (OPENPROM_SUPER_MAGIC): Likewise.
11104         (PIPEFS_MAGIC): Likewise.
11105         (PSTOREFS_MAGIC): Likewise.
11106         (QNX6_SUPER_MAGIC): Likewise.
11107         (RAMFS_MAGIC): Likewise.
11108         (REISERFS_SUPER_MAGIC_STRING): Likewise.
11109         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11110         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11111         (SECURITYFS_MAGIC): Likewise.
11112         (SELINUX_MAGIC): Likewise.
11113         (SMACK_MAGIC): Likewise.
11114         (SOCKFS_MAGIC): Likewise.
11115         (SQUASHFS_MAGIC): Likewise.
11116         (STACK_END_MAGIC): Likewise.
11117         (TMPFS_MAGIC): Likewise.
11118         (USBDEVICE_SUPER_MAGIC): Likewise.
11119         (V9FS_MAGIC): Likewise.
11120         (XENFS_SUPER_MAGIC): Likewise.
11121         (CRAMFS_MAGIC): Fix typo in comment.
11122         (EXT2_SUPER_MAGIC): Update comment.
11123         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11124
11125 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
11126
11127         * sysdeps/arm: Move directory from ports/sysdeps/arm.
11128         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11129         * sysdeps/unix/sysv/linux/arm: Move directory from
11130         ports/sysdeps/unix/sysv/linux/arm.
11131         * README: Update listing for arm-*-linux-gnueabi.
11132
11133         * README: Remove mention of am33.
11134
11135 2014-02-07  Roland McGrath  <roland@hack.frob.com>
11136
11137         * bits/sigset.h (__sigemptyset): Use a statement expression rather
11138         than the comma operator, to avoid "rhs of comma has no effect"
11139         compiler warnings.
11140         (__sigfillset, __sigandset, __sigorset): Likewise.
11141         * include/signal.h (__sigemptyset): Likewise.
11142         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11143
11144 2014-02-07  Allan McRae  <allan@archlinux.org>
11145
11146         * version.h (RELEASE): Set to "development".
11147         (VERSION): Set to "2.19.90"
11148         * NEWS: Add 2.20 section.
11149
11150 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
11151
11152         [BZ #16529]
11153         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11154
11155 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11156
11157         * manual/contrib.texi: Update entry for Carlos O'Donell,
11158         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11159
11160 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
11161
11162         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11163
11164         * sysdeps/unix/sysv/linux/kernel-features.h
11165         [__LINUX_KERNEL_VERSION >= 0x020621]
11166         (__ASSUME_PROC_PID_TASK_COMM): Define.
11167
11168 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11169
11170         [BZ #16398]
11171         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11172         conversion when destination buffer does not have enough space.
11173         * libio/tst-ftell-partial-wide.c: New test case.
11174         * libio/Makefile (tests): Add tst-ftell-partial-wide.
11175
11176         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11177         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
11178         Leonard and Allan McRae.
11179
11180 2014-02-04  David S. Miller  <davem@davemloft.net>
11181
11182         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11183         32-bit.
11184
11185 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11186
11187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11188         New file
11189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11190         New file
11191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11192         New file.
11193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11194         New file.
11195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11196         New file.
11197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11198         New file.
11199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11200         New file.
11201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11202         New file.
11203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11204         New file.
11205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11206         New file.
11207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11208         New file.
11209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11210         New file.
11211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11212         New file.
11213
11214 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11215
11216         * nptl/shlib-versions: Change powerpc*le start to 2.17.
11217         * shlib-versions: Likewise.
11218
11219 2014-02-04  Roland McGrath  <roland@hack.frob.com>
11220             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11221
11222         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11223         (abilist-pattern): New variable, set to %-le.abilist.
11224
11225         * Makerules (abilist-pattern): New variable.
11226         (vpath): Use $(abilist-pattern) in place of %.abilist.
11227         (check-abi-% pattern rule): Likewise.
11228         (check-abi, update-abi): Likewise.
11229
11230 2014-02-04  Eric Wong  <normalperson@yhbt.net>
11231
11232         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11233
11234 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
11235
11236         * manual/startup.texi: Add next, previous, and top entries for
11237         the `Program Arguments' and `Environment Variables' nodes.
11238
11239 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
11240
11241         * manual/macros.texi: Add comments before MTASC-safety macros.
11242
11243         * manual/users.texi: Document MTASC-safety properties.
11244
11245         * manual/threads.texi (pthread_key_create, pthread_key_delete)
11246         (pthread_getspecific, pthread_setspecific): Format with
11247         @deftypefun, and add @safety note.
11248         * manual/signal.texi: Move comments that analyze the above
11249         functions to their home place.
11250
11251 2014-02-03  Allan McRae  <allan@archlinux.org>
11252
11253         * po/sl.po: Update Slovenian translation from translation project.
11254
11255 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
11256
11257         * manual/time.texi (timegm): Add missing blank after @c.
11258         Reported by Joseph Myers <joseph@codesourcery.com>.
11259
11260 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
11261
11262         * manual/check-safety.sh: New.
11263         * manual/Makefile ($(objpfx)stamp-summary): Run it.
11264
11265         * manual/terminal.texi: Document MTASC-safety properties.
11266
11267         * manual/filesys.texi: Document MTASC-safety properties.
11268
11269         * manual/errno.texi: Document MTASC-safety properties.
11270
11271         * manual/intro.texi: Document safety identifiers and
11272         conditionals.
11273
11274         * manual/string.texi (wcstok): Fix prototype.
11275         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11276
11277         * manual/time.texi: Document MTASC-safety properties.
11278
11279         * manual/string.texi: Document MTASC-safety properties.
11280
11281         * manual/threads.texi: Document MTASC-safety properties.
11282
11283         * manual/stdio.texi: Document MTASC-safety properties.
11284
11285         * manual/syslog.texi: Document MTASC-safety properties.
11286
11287         * manual/sysinfo.texi: Document MTASC-safety properties.
11288
11289         * manual/startup.texi: Document MTASC-safety properties.
11290
11291         * manual/socket.texi: Document MTASC-safety properties.
11292
11293         * manual/signal.texi: Document MTASC-safety properties.
11294
11295 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
11296
11297         * manual/setjmp.texi: Document MTASC-safety properties.
11298
11299         * manual/search.texi: Document MTASC-safety properties.
11300
11301         * manual/resource.texi: Document MTASC-safety properties.
11302
11303         * manual/process.texi: Document MTASC-safety properties.
11304
11305         * manual/platform.texi: Document MTASC-safety properties.
11306
11307         * manual/pipe.texi: Document MTASC-safety properties.
11308
11309         * manual/pattern.texi: Document MTASC-safety properties.
11310
11311         * manual/message.texi: Document MTASC-safety properties.
11312
11313         [BZ #12751]
11314         * manual/memory.texi: Document MTASC-safety properties.
11315
11316         * manual/math.texi: Document MTASC-safety properties.
11317
11318         * manual/locale.texi: Document MTASC-safety properties.
11319
11320         * manual/llio.texi: Document MTASC-safety properties.
11321
11322         * manual/libdl.texi: New.
11323
11324         * manual/lang.texi: Document MTASC-safety properties.
11325
11326         * manual/job.texi: Document MTASC-safety properties.
11327
11328         * manual/getopt.texi: Document MTASC-safety properties.
11329
11330         * manual/ctype.texi: Document MTASC-safety properties.
11331
11332 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
11333
11334         [BZ #16046]
11335         * csu/libc-tls.c (static_map): Remove variable.
11336         (__libc_setup_tls): Use main executable's link map for TLS data.
11337         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
11338         casing for LM_ID_BASE and GL(dl_nns).
11339         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
11340         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
11341         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
11342         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
11343         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
11344         member.
11345         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
11346         l_phnum members.
11347
11348 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
11349
11350         * manual/debug.texi: Document MTASC-safety properties.
11351
11352 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
11353
11354         [BZ #16510]
11355         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
11356         of __x86_64__ when disabling x87 inline functions.
11357
11358 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
11359
11360         * manual/charset.texi: Document MTASC-safety properties.
11361
11362         * manual/crypt.texi: Document MTASC-safety properties.
11363
11364         * manual/conf.texi: Document MTASC-safety properties.
11365
11366         * manual/arith.texi: Document MTASC-safety properties.
11367
11368         * manual/argp.texi: Document MTASC-safety properties.
11369
11370         * manual/macros.texi: Introduce macros to document multi
11371         thread, asynchronous signal and asynchronous cancellation
11372         safety properties.
11373         * manual/intro.texi: Introduce the properties themselves.
11374
11375 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11376
11377         * sysdeps/sh/sh4/Makefile: New file.
11378
11379 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
11380
11381         * math/gen-libm-test.pl ($srcdir): New variable.
11382         ($auto_input): Use it.
11383
11384 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11385
11386         [BZ #16506]
11387         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
11388         access beyond array bounds when parsing netgroups file.
11389
11390         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
11391         the old buffer before realloc.
11392
11393 2014-01-27  Allan McRae  <allan@archlinux.org>
11394
11395         * po/fr.po: Update French translation from translation project.
11396
11397 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11398
11399         * sysdeps/sh/libm-test-ulps: Regenerate.
11400
11401 2014-01-24  David S. Miller  <davem@davemloft.net>
11402
11403         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11404
11405 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11406
11407         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11408         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11409
11410 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11411
11412         [BZ #16474]
11413         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11414         string pointers after reallocation.
11415
11416 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11417
11418         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11419         __SH4A__ instead of __SH_FPU_ANY__.
11420
11421 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11422
11423         * sysdeps/sh/fpu_control.h: New file.
11424         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11425         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11426         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11427         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11428         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11429         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11430         * sysdeps/sh/sys/ucontext.h: Remove.
11431         * sysdeps/sh/sys: Remove directory.
11432
11433 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11434
11435         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11436         s390/sys/ucontext.h.
11437         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11438         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11439
11440 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
11441
11442         [BZ #15605]
11443         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11444
11445 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11446
11447         [BZ#16431]
11448         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11449         Adjust the vDSO correctly for internal calls.
11450         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11451
11452 2014-01-20  Allan McRae  <allan@archlinux.org>
11453
11454         * po/ca.po: Update Catalan translation from translation project.
11455
11456 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
11457
11458         * sysdeps/s390/sotruss-lib.c: New file.
11459
11460 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11461
11462         [BZ#16430]
11463         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
11464         (__GI___gettimeofday): Alias for a different internal symbol to avoid
11465         local calls issues by not having a PLT stub required for IFUNC calls.
11466         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11467
11468 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
11469
11470         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11471         * math/test-fpucw-static.c: Likewise.
11472
11473 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11474
11475         [BZ #16453]
11476         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11477
11478 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11479
11480         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11481         implementation for powerpc.
11482
11483 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
11484
11485         [BZ #14782]
11486         * sysdeps/posix/system.c (__libc_system): Do not enable
11487         asynchronous cancellation.
11488
11489 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11490
11491         [BZ #16427]
11492         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11493         handling only for numbers special also in the IEEE case.
11494
11495 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11496
11497         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11498
11499 2014-01-11  Allan McRae  <allan@archlinux.org>
11500
11501         * po/bg.po: Update Bulgarian translation from translation project.
11502
11503         * po/de.po: Update German translation from translation project.
11504
11505 2014-01-10  Roland McGrath  <roland@hack.frob.com>
11506
11507         * sysdeps/generic/gcc-compat.h: New file.
11508
11509 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11510
11511         * benchtests/asin-inputs: Correct slow inputs.
11512         * benchtests/acos-inputs: Likewise.
11513
11514 2014-01-10  Allan McRae  <allan@archlinux.org>
11515
11516         * po:sv.po: Update Swedish translation from translation project.
11517
11518         * po/vi.po: Update Vietnamese translation from translation project.
11519
11520         * po/eo.po: Update Esperanto translation from translation project.
11521
11522         * po/cs.po: Update Czech translation from translation project.
11523
11524         * po/nl.po: Update Dutch translation from translation project.
11525
11526         * po/pl.po: Update Polish translation from translation project.
11527
11528         * po/ru.po: Update Russian translation from translation project.
11529
11530         * po/uk.po: Update Ukrainian translation from translation project.
11531
11532 2014-01-08  Brooks Moses  <bmoses@google.com>
11533
11534         * elf/dl-load.c: Fix comment typo.
11535
11536 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
11537
11538         * po/header.pot: Rename to...
11539         * po/pot.header: ... this.
11540         * po/Makefile: Use pot.header.
11541
11542 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
11543             Maxim Kuvyrkov  <maxim@kugelworks.com>
11544
11545         [BZ #16394]
11546         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
11547         SRC and DEST against LEN.
11548
11549 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11550
11551         [BZ #16414]
11552         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
11553         implementation.
11554         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
11555
11556 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11557
11558         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11559
11560 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
11561
11562         [BZ #16408]
11563         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
11564         for large positive arguments.
11565
11566 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
11567
11568         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11569
11570         * math/auto-libm-test-in: Mark various tests with
11571         xfail-rounding:ldbl-128ibm.
11572         * math/auto-libm-test-out: Regenerated.
11573
11574         [BZ #16407]
11575         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11576         Increase overflow threshold.
11577
11578 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
11579
11580         [BZ #14286]
11581         * stdio-common/vfprintf.c: Check for integer overflow.
11582
11583 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11584
11585         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
11586         the first argument and return value of __tls_get_addr_internal.
11587
11588 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11589
11590         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
11591         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
11592
11593 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11594
11595         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
11596         * sysdeps/s390/rtld-global-offsets.sym: New file.
11597         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
11598         GLIBC_2.19 symbol.
11599         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
11600         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
11601         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11602         ... this.
11603         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
11604         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11605         ... this.
11606         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11607         Regenerate.
11608         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11609         Regenerate.
11610         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
11611         halfs of GPRs for high_gprs contexts.
11612         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
11613         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
11614         field.
11615         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
11616         uc_flags field.
11617         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
11618         64 bit versions:
11619         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
11620         for high GPRs (uc_high_gprs) and for future extensions
11621         (__reserved).
11622         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
11623         for future extensions (__reserved).
11624         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
11625         64 bit versions:
11626         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
11627         SC_HIGHGPRS offset definition.
11628         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
11629         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
11630
11631         * Versions.def: Add GLIBC_2.19 for libpthread.
11632         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
11633         siglongjmp for libpthread with GLIBC_2.19 symver.
11634         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
11635         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
11636         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
11637         * sysdeps/s390/__longjmp.c: New file.
11638         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
11639         * sysdeps/s390/longjmp.c: New file.
11640         * sysdeps/s390/setjmp.S: New file.
11641         * sysdeps/s390/sigjmp.S: New file.
11642         * sysdeps/s390/v1-longjmp.c: New file.
11643         * sysdeps/s390/v1-setjmp.h: New file.
11644         * sysdeps/s390/v1-sigjmp.c: New file.
11645         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
11646         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
11647         GLIBC_2.19 version.
11648         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
11649         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
11650         versioned symbols for ____longjmp_chk.
11651         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11652         Likewise.
11653         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11654         Regenerate.
11655         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11656         Regenerate.
11657         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11658         Regenerate.
11659         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11660         Regenerate.
11661         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
11662         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
11663         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
11664         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
11665         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
11666         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
11667         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
11668         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
11669         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
11670         * sysdeps/s390/rtld-__longjmp.c: New file.
11671         * sysdeps/s390/rtld-setjmp.S: New file.
11672
11673 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
11674
11675         [BZ #16400]
11676         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11677         Return -__logl (x) for small positive arguments without evaluating
11678         a polynomial.
11679
11680 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
11681
11682         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
11683         Rename to ...
11684         (__ptrace_peeksiginfo_args): ... this.
11685         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11686         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11687         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11688
11689 2014-01-06  Allan McRae  <allan@archlinux.org>
11690
11691         * inet/netinet/in.h: Fix typo in comment.
11692
11693 2014-01-05  Andreas Jaeger  <aj@suse.de>
11694
11695         * sysdeps/i386/fpu/libm-test-ulps: Update.
11696
11697 2014-01-05  Allan McRae  <allan@archlinux.org>
11698
11699         * po/libc.pot: Regenerated.
11700
11701         * malloc/memusagestat.c: Fix gettext call formatting.
11702
11703 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
11704
11705         * nscd/nscd.c: Improve usage() output.
11706
11707 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
11708
11709         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
11710         * sysdeps/unix/sysv/linux/configure: Regenerated.
11711         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
11712         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
11713
11714 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
11715
11716         [BZ #16390]
11717         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11718         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
11719
11720 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11721
11722         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
11723         extra tokens at end of #undef directive.
11724         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
11725         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
11726         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11727
11728 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
11729
11730         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11731
11732         * math/auto-libm-test-in: Mark various tests with
11733         xfail-rounding:ldbl-128ibm.
11734         * math/auto-libm-test-out: Regenerated.
11735
11736 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
11737
11738         [BZ #16386]
11739         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
11740         numbers with subnormal high part when calculating exponent.
11741
11742         [BZ #16385]
11743         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
11744         fabs.
11745
11746         [BZ #16384]
11747         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
11748         M_LN2l.
11749         (__ieee754_acoshl): Use __log1pl not __log1p.
11750
11751 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
11752
11753         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
11754         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
11755         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
11756         (grow_heap, heap_trim, _int_new_arena, get_free_list)
11757         (reused_arena, arena_get2): Convert to GNU style.
11758         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
11759         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
11760         (memalign_check, __malloc_set_state): Likewise.
11761         * malloc/mallocbug.c (main): Likewise.
11762         * malloc/malloc.c (__malloc_assert, malloc_init_state)
11763         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
11764         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
11765         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
11766         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
11767         (__posix_memalign, malloc_info): Likewise.
11768         * malloc/malloc.h: Likewise.
11769         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
11770         (mallochook, memalignhook, reallochook, mabort): Likewise.
11771         * malloc/mcheck.h: Likewise.
11772         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
11773         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
11774         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
11775         * malloc/morecore.c (__default_morecore): Likewise.
11776         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
11777         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
11778         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
11779         (print_and_abort): Likewise.
11780         * malloc/obstack.h: Likewise.
11781         * malloc/set-freeres.c (__libc_freeres): Likewise.
11782         * malloc/tst-mallocstate.c (main): Likewise.
11783         * malloc/tst-mtrace.c (main): Likewise.
11784         * malloc/tst-realloc.c (do_test): Likewise.
11785
11786 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11787
11788         [BZ #16366]
11789         * nscd/netgroupcache.c (do_notfound): New function.
11790         (addgetnetgrentX): Use it.
11791
11792         [BZ # 16365]
11793         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11794         NSS_STATUS_NOTFOUND.
11795
11796 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
11797
11798         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11800
11801 2014-01-01  Allan McRae  <allan@archlinux.org>
11802
11803         * scripts/update-copyrights: Update configure input file suffix.
11804
11805         * NEWS: Update copyright year.
11806         * catgets/gencat.c: Likewise.
11807         * csu/version.c: Likewise.
11808         * debug/catchsegv.sh: Likewise.
11809         * debug/pcprofiledump.c: Likewise.
11810         * debug/xtrace.sh: Likewise.
11811         * elf/ldconfig.c: Likewise.
11812         * elf/ldd.bash.in: Likewise.
11813         * elf/pldd.c: Likewise.
11814         * elf/sotruss.ksh: Likewise.
11815         * elf/sprof.c: Likewise.
11816         * iconv/iconv_prog.c: Likewise.
11817         * iconv/iconvconfig.c: Likewise.
11818         * locale/programs/locale.c: Likewise.
11819         * locale/programs/localedef.c: Likewise.
11820         * login/programs/pt_chown.c: Likewise.
11821         * malloc/memusage.sh: Likewise.
11822         * malloc/memusagestat.c: Likewise.
11823         * malloc/mtrace.pl: Likewise.
11824         * manual/libc.texinfo: Likewise.
11825         * nscd/nscd.c: Likewise.
11826         * nss/getent.c: Likewise.
11827         * nss/makedb.c: Likewise.
11828         * posix/getconf.c: Likewise.
11829         * scripts/test-installation.pl: Likewise.
11830
11831         * All files with FSF copyright notices: Update copyright dates
11832         using scripts/update-copyrights.
11833         * intl/plural.c: Regenerated.
11834         * locale/programs/charmap-kw.h: Likewise.
11835         * locale/programs/locfile-kw.h: Likewise.
11836
11837 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
11838
11839         * sysdeps/unix/sysv/linux/configure: Regenerated.
11840         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11841         the linux/fanotify.h header.
11842         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11843         HAVE_LINUX_FANOTIFY_H is defined.
11844
11845 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
11846
11847         * benchtests/cos-inputs: New inputs.
11848         * benchtests/sin-inputs: Likewise.
11849
11850         * benchtests/atan-inputs: New inputs. Fix name of multiple
11851         precision fallback inputs.
11852
11853         * benchtests/atanh-inputs: New inputs.
11854         * benchtests/tanh-inputs: Likewise.
11855
11856         * benchtests/acosh-inputs: New inputs.
11857         * benchtests/asinh-inputs: Likewise.
11858
11859         * benchtests/cosh-inputs: New inputs.
11860         * benchtests/sinh-inputs: Likewise.
11861
11862         * benchtests/acos-inputs: Add more inputs.
11863         * benchtests/asin-inputs: Likewise.
11864
11865 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
11866
11867         [BZ #16375]
11868         * manual/arith.texi: Fix spelling.
11869         * manual/charset.texi: Likewise.
11870         * manual/errno.texi: Likewise.
11871         * manual/filesys.texi: Likewise.
11872         * manual/lang.texi: Likewise.
11873         * manual/llio.texi: Likewise.
11874         * manual/locale.texi: Likewise.
11875         * manual/message.texi: Likewise.
11876         * manual/resource.texi: Likewise.
11877         * manual/search.texi: Likewise.
11878         * manual/setjmp.texi: Likewise.
11879         * manual/stdio.texi: Likewise.
11880         * manual/string.texi: Likewise.
11881         * manual/sysinfo.texi: Likewise.
11882         * manual/time.texi: Likewise.
11883
11884 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
11885
11886         * po/sl.po: New file.
11887
11888 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
11889
11890         * .gitignore: Add core/.gdbinit/.gdb_history.
11891
11892 2013-12-27  Allan McRae  <allan@archlinux.org>
11893
11894         [BZ #16369]
11895         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
11896         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
11897
11898 2013-12-24  Brooks Moses  <bmoses@google.com>
11899
11900         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
11901         all compilers that claim C++98 compliance, not just GCC.
11902         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
11903         Likewise.
11904
11905 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
11906
11907         * NEWS: Restore accidentally deleted bug-fix entries.
11908
11909 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
11910             Ondřej Bílka  <neleai@seznam.cz>
11911
11912         [BZ #15073]
11913         * malloc/malloc.c (_int_free): Perform sanity check only if we
11914         have_lock.
11915
11916 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
11917
11918         [BZ #12986]
11919         * manual/stdio.texi (String Input Conversions): Clarify that character
11920         classes are not supported.
11921
11922 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11923
11924         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11925
11926 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
11927
11928         [BZ #16337]
11929         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11930         Calculate results for small negative arguments directly rather
11931         than using reflection formula with special underflow handling.
11932
11933         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
11934         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
11935         sysdeps/unix/bsd/bsd4.4/syscalls.list.
11936         (fchflags): Likewise.
11937         (revoke): Likewise.
11938         (setlogin): Likewise.
11939         (sigaltstack): Likewise.
11940         (wait4): Likewise.
11941         (sigblock): Remove.
11942         (sigsetmask): Likewise.
11943         (wait3): Likewise.
11944         (waitpid): Likewise.
11945         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
11946         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
11947         file.
11948         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
11949         * sysdeps/unix/bsd/Makefile: ... here.
11950         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
11951         * sysdeps/unix/bsd/Versions: ... here.
11952         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
11953         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
11954         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
11955         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
11956         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
11957         * sysdeps/unix/bsd/sigblock.c: ... here.
11958         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
11959         * sysdeps/unix/bsd/sigsetmask.c: ... here.
11960         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
11961         * sysdeps/unix/bsd/sigvec.c: ... here.
11962         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
11963         * sysdeps/unix/bsd/tcdrain.c: ... here.
11964         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
11965         * sysdeps/unix/bsd/tcgetattr.c: ... here.
11966         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
11967         * sysdeps/unix/bsd/tcsetattr.c: ... here.
11968         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
11969         * sysdeps/unix/bsd/wait.c: ... here.
11970         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
11971         * sysdeps/unix/bsd/wait3.c: ... here.
11972         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
11973         * sysdeps/unix/bsd/waitpid.c: ... here.
11974
11975 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
11976
11977         [BZ #16356]
11978         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
11979         round-to-nearest for [!USE_AS_EXPM1L].
11980         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
11981         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
11982         more tests of exp and exp10.  Expect some exp10 tests to miss
11983         exceptions or fail in directed rounding modes.
11984         * math/auto-libm-test-out: Regenerated.
11985         * math/libm-test.inc (exp10_tonearest_test_data): New array.
11986         (exp10_test_tonearest): New function.
11987         (exp10_towardzero_test_data): New array.
11988         (exp10_test_towardzero): New function.
11989         (exp10_downward_test_data): New array.
11990         (exp10_test_downward): New function.
11991         (exp10_upward_test_data): New array.
11992         (exp10_test_upward): New function.
11993         (main): Call the new functions.
11994         * sysdeps/i386/fpu/libm-test-ulps: Update.
11995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11996
11997 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
11998
11999         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12000         asinh, atan, atan2, atanh, cbrt, cos and cosh.
12001         * math/auto-libm-test-out: Regenerated.
12002         * math/libm-test.inc (acosh_test_data): Add more tests.
12003         (atanh_test_data): Likewise.
12004         (ceil_test_data): Likewise.
12005         (copysign_test_data): Likewise.
12006         * sysdeps/i386/fpu/libm-test-ulps: Update.
12007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12008
12009         * timezone/checktab.awk: Update from tzcode 2013i.
12010         * timezone/private.h: Likewise.
12011         * timezone/scheck.c: Likewise.
12012         * timezone/tzfile.h: Likewise.
12013         * timezone/tzselect.ksh: Likewise.
12014         * timezone/zdump.c: Likewise.
12015         * timezone/zic.c: Likewise.
12016
12017         * math/auto-libm-test-in: Add tests of cpow.
12018         * math/auto-libm-test-out: Regenerated.
12019         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
12020         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12021         mpc_cc_c.
12022         (func_calc_desc): Add mpc_cc_c union field.
12023         (test_functions): Add cpow.
12024         (special_fill_2pi): New function.
12025         (special_real_inputs): Add 2pi.
12026         (calc_generic_results): Handle mpc_cc_c.
12027         * sysdeps/i386/fpu/libm-test-ulps: Update.
12028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12029
12030         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
12031         csqrt, ctan and ctanh.
12032         * math/auto-libm-test-out: Regenerated.
12033         * math/libm-test.inc (TEST_COND_x86_64): New macro.
12034         (TEST_COND_x86): Likewise.
12035         (ccos_test_data): Use AUTO_TESTS_c_c.
12036         (ccosh_test_data): Likewise.
12037         (cexp_test_data): Likewise.
12038         (clog_test_data): Likewise.
12039         (csqrt_test_data): Likewise.
12040         (ctan_test_data): Likewise.
12041         (ctan_tonearest_test_data): Likewise.
12042         (ctan_towardzero_test_data): Likewise.
12043         (ctan_downward_test_data): Likewise.
12044         (ctan_upward_test_data): Likewise.
12045         (ctanh_test_data): Likewise.
12046         (ctanh_tonearest_test_data): Likewise.
12047         (ctanh_towardzero_test_data): Likewise.
12048         (ctanh_downward_test_data): Likewise.
12049         (ctanh_upward_test_data): Likewise.
12050         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12051         mpc_c_c.
12052         (func_calc_desc): Add mpc_c_c union field.
12053         (FUNC_mpc_c_c): New macro.
12054         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
12055         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12056         ctanh.
12057         (special_fill_min_subnorm_p120): New function.
12058         (special_real_inputs): Add min_subnorm_p120.
12059         (calc_generic_results): Handle mpc_c_c.
12060         * sysdeps/i386/fpu/libm-test-ulps: Update.
12061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12062
12063 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12064
12065         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12066         (do_sin_slow): New functions.
12067         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12068         (cslow2, csloww1, csloww2): Use the new functions.
12069
12070         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12071         Use M to change sign of result instead of X.  Assume X is
12072         positive.
12073         (csloww1): Likewise.
12074         (__sin): Adjust.
12075         (__cos): Adjust.
12076
12077         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12078         arguments A and DA.
12079         (__sin): Adjust.
12080         (__cos): Likewise.
12081
12082         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
12083         (__cos): Likewise.
12084         (sloww1): Don't adjust sign of DX.
12085         (csloww1): Likewise.
12086         (sloww2): Use X directly and don't adjust sign of DX.
12087         (csloww2): Likewise.
12088
12089 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12090
12091         * math/auto-libm-test-in: Add tests of cabs and carg.
12092         * math/auto-libm-test-out: Regenerated.
12093         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12094         (carg_test_data): Likewise.
12095         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12096         mpc_c_f.
12097         (func_calc_desc): Add mpc_c_f union field.
12098         (test_functions): Add cabs and carg.
12099         (calc_generic_results): Handle mpc_c_f.
12100
12101         * sysdeps/powerpc/powerpc32/libgcc-compat.S
12102         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12103         as a macro and a compat symbol.
12104         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12105         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12106         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12107         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12108         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12109         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12110         not use .hidden.
12111         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12112         Likewise.
12113         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12114         Likewise.
12115         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12116         Likewise.
12117         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12118         Likewise.
12119         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12120         Likewise.
12121         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12122         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12123         from GLIBC_2.3.2.
12124
12125 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12126
12127         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12128
12129 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12130
12131         * manual/texinfo.tex: Update to version 2013-11-26.10 with
12132         trailing whitespace removed.
12133         * scripts/config.guess: Update to version 2013-11-29.
12134         * scripts/config.sub: Update to version 2013-10-01.
12135
12136         * math/auto-libm-test-in: Add tests of sincos.
12137         * math/auto-libm-test-out: Regenerated.
12138         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12139         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12140         mpfr_f_11.
12141         (func_calc_desc): Add mpfr_f_11 union field.
12142         (test_functions): Add sincos.
12143         (calc_generic_results): Handle mpfr_f_11.
12144         * sysdeps/i386/fpu/libm-test-ulps: Update.
12145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12146
12147 2013-12-19  Andreas Schwab  <schwab@suse.de>
12148
12149         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12150         CALL_MCOUNT.
12151         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12152         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12153         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12154
12155 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
12156
12157         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12158         * sysdeps/i386/fpu/libm-test-ulps: Update.
12159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12160
12161         [BZ #16293]
12162         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12163         round-to-nearest mode when using frndint.
12164         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12165         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12166         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12167         Likewise.
12168         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
12169         sinh test to fail.
12170         * math/auto-libm-test-out: Regenerated.
12171         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12172         (TEST_COND_x86): Likewise.
12173         (expm1_tonearest_test_data): New array.
12174         (expm1_test_tonearest): New function.
12175         (expm1_towardzero_test_data): New array.
12176         (expm1_test_towardzero): New function.
12177         (expm1_downward_test_data): New array.
12178         (expm1_test_downward): New function.
12179         (expm1_upward_test_data): New array.
12180         (expm1_test_upward): New function.
12181         (main): Run the new test functions.
12182         * sysdeps/i386/fpu/libm-test-ulps: Update.
12183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12184
12185         * include/features.h: Update comment documenting feature test
12186         macros.  Mention _DEFAULT_SOURCE in comment.
12187         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12188         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12189         _BSD_SOURCE and _SVID_SOURCE.
12190         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12191         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12192         !_SVID_SOURCE]: Likewise.
12193         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12194         (__USE_POSIX_IMPLICITLY): Define.
12195         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12196         (_POSIX_SOURCE): Undefine and redefine.
12197         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12198         (_POSIX_C_SOURCE): Likewise.
12199         * manual/creature.texi (_DEFAULT_SOURCE): Document.
12200         (Feature Test Macros): Update documentation of default features.
12201
12202 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12203
12204         * benchtests/Makefile: Add bench-strtok.
12205         * benchtests/bench-strtok.c: New file: strtok benchtest.
12206
12207 2013-12-19  Allan McRae  <allan@archlinux.org>
12208
12209         * manual/install.texi: Suppress menu for plain text output.
12210         * INSTALL: Regenerated.
12211
12212 2013-12-18  Brooks Moses  <bmoses@google.com>
12213
12214         [BZ #15846]
12215         * misc/getauxval.c: Include errno.h.
12216         (__getauxval): Set errno to ENOENT if the requested type is not
12217         found.
12218         * misc/sys/auxv.h (getauxval): Document that it may set errno;
12219         don't declare with __attribute_const__.
12220         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12221         * manual/startup.texi: Document that getauxval sets errno.
12222
12223 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
12224
12225         * math/auto-libm-test-in: Add tests of jn and yn.
12226         * math/auto-libm-test-out: Regenerated.
12227         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12228         (yn_test_data): Likewise.
12229         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12230         mpfr_if_f.
12231         (func_calc_desc): Add mpfr_if_f union field.
12232         (FUNC_mpfr_if_f): New macro.
12233         (test_functions): Add jn and yn.
12234         (calc_generic_results): Assert type of second input for
12235         mpfr_ff_f.  Handle mpfr_if_f.
12236         (output_for_one_input_case): Disable all checking for arguments
12237         fitting floating-point types in case of an integer argument.
12238         * sysdeps/i386/fpu/libm-test-ulps: Update.
12239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12240
12241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12242         Don't expect fegetround reference in libm.so.
12243
12244 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
12245
12246         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12247         $(config-cflags-nofma).
12248
12249 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
12250
12251         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12252         * math/auto-libm-test-out: Regenerated.
12253
12254         [BZ #16338]
12255         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12256         to determine exponent and adjust argument to have exponent of -1.
12257         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12258         log2.
12259         * math/auto-libm-test-out: Regenerated.
12260         * sysdeps/i386/fpu/libm-test-ulps: Update.
12261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12262
12263 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
12264
12265         * manual/probes.texi: Remove cases when per-thread arenas are
12266         disabled.
12267
12268 2013-12-18  Andreas Schwab  <schwab@suse.de>
12269
12270         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12271         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12272         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12273         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12274         * sysdeps/i386/i686/multiarch/Makefile: Update.
12275         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12276
12277 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12278
12279         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12280         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12281
12282 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
12283
12284         [BZ #15968]
12285         Support TZ transition times < 00:00:00.
12286         This is needed for version-3 tz-format files; it supports time
12287         stamps past 2037 for America/Godthab (the only entry in the tz
12288         database for which this change is relevant).
12289         * manual/time.texi (TZ Variable): Document transition times
12290         from -167:59:59 through -00:00:01.
12291         * time/tzset.c (tz_rule): Time of day is now signed.
12292         (__tzset_parse_tz): Parse negative time of day.
12293
12294         Document TZ transition times >= 25:00:00.
12295         * manual/time.texi (TZ Variable): Document transition times from
12296         25:00:00 through 167:59:59.  These are already supported, and this
12297         support will help with version-3 tz-format files.
12298
12299         * manual/time.texi (TZ Variable): Modernize North America example
12300         to reflect current (i.e., 2007-and-later) daylight saving rules.
12301
12302         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12303
12304 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12305
12306         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12307         * sysdeps/unix/bsd/bits/stat.h: Likewise.
12308         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12309         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12310         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12311         * sysdeps/unix/bsd/bsdstat.h: Likewise.
12312         * sysdeps/unix/bsd/clock.c: Likewise.
12313         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12314         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12315         * sysdeps/unix/bsd/init-posix.c: Likewise.
12316         * sysdeps/unix/bsd/poll.c: Likewise.
12317         * sysdeps/unix/bsd/ptsname.c: Likewise.
12318         * sysdeps/unix/bsd/seekdir.c: Likewise.
12319         * sysdeps/unix/bsd/setegid.c: Likewise.
12320         * sysdeps/unix/bsd/seteuid.c: Likewise.
12321         * sysdeps/unix/bsd/setgid.c: Likewise.
12322         * sysdeps/unix/bsd/setrgid.c: Likewise.
12323         * sysdeps/unix/bsd/setruid.c: Likewise.
12324         * sysdeps/unix/bsd/setsid.c: Likewise.
12325         * sysdeps/unix/bsd/setuid.c: Likewise.
12326         * sysdeps/unix/bsd/sigaction.c: Likewise.
12327         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
12328         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
12329         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
12330         * sysdeps/unix/bsd/telldir.c: Likewise.
12331         * sysdeps/unix/bsd/times.c: Likewise.
12332         * sysdeps/unix/bsd/usleep.c: Likewise.
12333
12334         * misc/Makefile (install-lib): Remove libbsd-compat.a.
12335         ($(objpfx)libbsd-compat.a): Remove rule.
12336
12337         * include/features.h (__FAVOR_BSD): Do not define.
12338         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
12339         features conflicting with POSIX.
12340         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
12341         (_BSD_SOURCE): Remove description of not being a subset of other
12342         feature test macros.
12343         * manual/job.texi (getpgrp): Do not document BSD version.
12344         (getpgid): Do not document by reference to BSD getpgrp.
12345         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
12346         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
12347         * signal/signal.h [__FAVOR_BSD]: Likewise.
12348         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
12349         instead of making contents conditional on [__FAVOR_BSD].
12350         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
12351
12352 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12353
12354         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12355
12356 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
12357
12358         [BZ #16314]
12359         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
12360         values below 2**-450, not 2**-500.
12361         * math/auto-libm-test-in: Don't allow spurious underflow from
12362         hypot.
12363         * math/auto-libm-test-out: Regenerated.
12364
12365         [BZ #16316]
12366         [BZ #16330]
12367         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
12368         values of ha and hb and sort them after adjusting subnormal
12369         arguments.
12370         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12371         Likewise.
12372         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
12373         values of ea and eb and sort them after adjusting subnormal
12374         arguments.
12375         * math/auto-libm-test-in: Do not expect some hypot tests of
12376         subnormals to fail.  Add more hypot tests.
12377         * math/auto-libm-test-out: Regenerated.
12378
12379 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12380
12381         [BZ #13304]
12382         * sysdeps/sh/s_fma.c: New file.
12383         * sysdeps/sh/s_fmaf.c: New file.
12384         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
12385         version.
12386         * sysdeps/sh/Implies: Add sh/soft-fp.
12387
12388 2013-12-16  Roland McGrath  <roland@hack.frob.com>
12389
12390         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
12391         level of indirection to members `objname', `errstring', `malloced'.
12392         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
12393         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
12394         it as the __longjmp argument (just pass 1 instead).
12395         (_dl_catch_error): Initialize C with argument pointers and address of
12396         volatile local ERRCODE rather than copying values out of C at return.
12397
12398 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
12399
12400         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12401         * math/auto-libm-test-out: Regenerated.
12402         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12403         (hypot_test_data): Likewise.
12404         (pow_test_data): Likewise.
12405         (pow_tonearest_test_data): Likewise.
12406         * math/gen-auto-libm-tests.c (func_calc_method): Add value
12407         mpfr_ff_f.
12408         (func_calc_desc): Add mpfr_ff_f union field.
12409         (FUNC_mpfr_ff_f): New macro.
12410         (test_functions): Add atan2, hypot and pow.
12411         (special_fill_min): New function.
12412         (special_fill_minus_min): Likewise.
12413         (special_fill_min_subnorm): Likewise.
12414         (special_fill_minus_min_subnorm): Likewise.
12415         (special_real_inputs): Add min, -min, min_subnorm and
12416         -min_subnorm.
12417         (calc_generic_results): Handle mpfr_ff_f.
12418         * sysdeps/i386/fpu/libm-test-ulps: Update.
12419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12420
12421 2013-12-16  Will Newton  <will.newton@linaro.org>
12422
12423         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12424         (Aligned Memory Blocks): Add documentation for aligned_alloc
12425         and suggest it as an alternative to posix_memalign.
12426         (Hooks for Malloc): Document __memalign_hook is also called
12427         for aligned_alloc.  (Summary of Malloc): Add summary for
12428         aligned alloc.  Document __memalign_hook is also called
12429         for aligned_alloc.
12430
12431 2013-12-16  Will Newton  <will.newton@linaro.org>
12432
12433         * manual/memory.texi (Malloc Examples): Clarify default
12434         alignment documentation.  Suggest posix_memalign rather
12435         than memalign or valloc.
12436         (Aligned Memory Blocks): Remove suggestion to use memalign
12437         or valloc.  Remove obsolete comment about BSD.
12438         Document memalign errno values and mark the function obsolete.
12439         Document posix_memalign returned error codes.  Mark valloc
12440         as obsolete.  (Hooks for Malloc): __memalign_hook is also
12441         called for posix_memalign and valloc.
12442         (Summary of Malloc): Add posix_memalign to function summary.
12443         __memalign_hook is also called for posix_memalign and valloc.
12444
12445 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12446
12447         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12448         TAYLOR_SIN.
12449         (__sin): Adjust.
12450         (__cos): Likewise.
12451         (sloww): Use mynumber union.  Expand ternary operator into
12452         if-else statements.
12453         (cslow): use mynumber union.
12454
12455 2013-12-16  Allan McRae  <allan@archlinux.org>
12456
12457         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12458         * configure: Regenerated.
12459
12460         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12461
12462         [BZ #14120]
12463         * configure.ac: Added --enable-maintainer-mode. Check for
12464         autoconf when enabled.
12465         * configure: Regenerated.
12466
12467         * nscd/nscd.service: New file.
12468         * nscd/nscd.tmpfiles: New file.
12469
12470 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
12471
12472         [BZ #12100]
12473         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12474         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12475         * sysdeps/x86_64/multiarch/strstr.c: ... here.
12476         (strstr): Add __strstr_sse2_unaligned ifunc.
12477         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12478         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12479         (strcasestr): Remove __strcasestr_sse42 ifunc.
12480         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12481         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12482         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12483
12484 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12485
12486         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12487         * sysdeps/sh/bits/fenv.h: ... here.
12488         * sysdeps/sh/sh4/fpu/bits: Remove directory.
12489
12490 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12491
12492         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12493
12494         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12495         hypotf multiarch implementations.
12496         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12497         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12498         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12499         multiarch hypot for PPC64.
12500         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12501         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12502         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12503         multiarch hypotf for PPC64.
12504
12505         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12506         modff multiarch implementations.
12507         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12508         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12510         multiarch modf for PPC64.
12511         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12512         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12513         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12514         multiarch modff for PPC64.
12515
12516         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12517         and logl multiarch implementations.
12518         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12519         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12520         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12521         multiarch logb for PPC64.
12522         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12523         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12524         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12525         multiarch logb for PPC64.
12526         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12527         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12528         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12529         multiarch logb for PPC64.
12530
12531         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
12532         isinff multiarch implementation.
12533         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
12534         file.
12535         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
12536         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
12537         multiarch isinf for PPC64.
12538         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
12539         file.
12540         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
12541         multiarch isinff for PPC64.
12542
12543         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
12544         finitef multiarch implementation.
12545         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
12546         file.
12547         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
12548         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
12549         multiarch finite for PPC64.
12550         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
12551         file.
12552         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
12553         multiarch finitef for PPC64.
12554
12555         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
12556         lrint multiarch implementation.
12557         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
12558         file.
12559         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
12560         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
12561         multiarch llrint for PPC64.
12562         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
12563         multiarch lrint for PPC64.
12564
12565         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
12566         copysignf multiarch implementation.
12567         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
12568         file.
12569         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
12570         file.
12571         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
12572         multiarch copysign for PPC64.
12573         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
12574         multiarch copysignf for PPC64.
12575
12576         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
12577         multiarch implementation.
12578         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
12579         file.
12580         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
12581         file.
12582         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
12583         file.
12584         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
12585         file.
12586         multiarch llround for PPC64.
12587         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
12588         multiarch trunc for PPC64.
12589         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
12590         multiarch truncf for PPC64.
12591
12592         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
12593         multiarch implementation.
12594         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
12595         file.
12596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
12597         file.
12598         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
12599         file.
12600         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
12601         file.
12602         multiarch llround for PPC64.
12603         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
12604         multiarch round for PPC64.
12605         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
12606         multiarch roundf for PPC64.
12607
12608         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
12609         multiarch implementation.
12610         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
12611         file.
12612         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
12613         file.
12614         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
12615         file.
12616         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
12617         file.
12618         multiarch llround for PPC64.
12619         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
12620         multiarch floor for PPC64.
12621         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
12622         multiarch floorf for PPC64.
12623
12624         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
12625         multiarch implementation.
12626         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
12627         file.
12628         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
12629         file.
12630         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
12631         file.
12632         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
12633         file.
12634         multiarch llround for PPC64.
12635         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
12636         multiarch ceil for PPC64.
12637         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
12638         multiarch ceilf for PPC64.
12639
12640         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12641         multiarch implementation.
12642         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
12643         file.
12644         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
12645         file.
12646         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
12647         file.
12648         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
12649         multiarch llround for PPC64.
12650         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
12651         multiarch lround for PPC64.
12652
12653         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12654         multiarch implementation.
12655         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
12656         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
12657         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
12658         file.
12659         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
12660         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
12661         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
12662         multiarch isnan for PPC64.
12663         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
12664         multiarch isnanf for PPC64.
12665
12666         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
12667         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
12668         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
12669         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
12670         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
12671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
12672
12673         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
12674         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12675         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12676         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12677
12678         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
12679         multiarch implementations.
12680         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12681         (__libc_ifunc_impl_list): Likewise.
12682         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12683         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
12684         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
12685         multiarch stpcpy for PPC64.
12686
12687         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
12688         multiarch implementations.
12689         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12690         (__libc_ifunc_impl_list): Likewise.
12691         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
12692         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
12693         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
12694         multiarch strcpy for PPC64.
12695
12696         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
12697         redefine function name.
12698         (_wordcopy_fwd_dest_aligned): Likewise.
12699         (_wordcopy_bwd_aligned): Likewise.
12700         (_wordcopy_bwd_dest_aligned): Likewise.
12701         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
12702         multiarch implementations.
12703         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12704         (__libc_ifunc_impl_list): Likewise.
12705         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
12706         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
12707         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
12708         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
12709         multiarch wcscpy for PPC64.
12710
12711         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
12712         multiarch implementations.
12713         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12714         (__libc_ifunc_impl_list): Likewise.
12715         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
12716         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
12717         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
12718         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
12719         multiarch wcscpy for PPC64.
12720
12721         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
12722         multiarch implementations.
12723         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12724         (__libc_ifunc_impl_list): Likewise.
12725         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
12726         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
12727         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
12728         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
12729         multiarch wcsrchr for PPC64.
12730
12731         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
12732         multiarch implementations.
12733         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12734         (__libc_ifunc_impl_list): Likewise.
12735         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
12736         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
12737         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
12738         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
12739         multiarch wcschr for PPC64.
12740
12741         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
12742         multiarch implementations.
12743         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12744         (__libc_ifunc_impl_list): Likewise.
12745         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
12746         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
12747         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
12748         multiarch strchrnul for PPC64.
12749
12750         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
12751         implementations.
12752         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12753         (__libc_ifunc_impl_list): Likewise.
12754         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
12755         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
12756         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
12757         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
12758         strchr for PPC64.
12759
12760         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
12761         implementations.
12762         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12763         (__libc_ifunc_impl_list): Likewise.
12764         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
12765         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
12766         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
12767         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
12768         strncmp for PPC64.
12769
12770         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
12771         multiarch implementations.
12772         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12773         (__libc_ifunc_impl_list): Likewise.
12774         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
12775         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
12776         strncasecmp for PPC64.
12777         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
12778         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12779         multiarch strncasecmp_l for PPC64.
12780
12781         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
12782         multiarch implementations.
12783         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12784         (__libc_ifunc_impl_list): Likewise.
12785         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
12786         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
12787         multiarch strcasecmp for PPC64.
12788         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
12789         file.
12790         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
12791         multiarch strcasecmp_l for PPC64.
12792
12793         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12794         implementations.
12795         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12796         (__libc_ifunc_impl_list): Likewise.
12797         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12798         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12799         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12800         strnlen for PPC64.
12801
12802         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12803         implementations.
12804         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12805         (__libc_ifunc_impl_list): Likewise.
12806         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12807         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12808         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12809         strlen for PPC64.
12810
12811         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12812         implementations.
12813         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12814         (__libc_ifunc_impl_list): Likewise.
12815         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12816         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12817         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12818         rawmemrchr for PPC64.
12819
12820         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12821         implementation.
12822         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12823         (__libc_ifunc_impl_list): Likewise.
12824         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12825         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12826         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12827         memrchr for PPC64.
12828
12829         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12830         implementation.
12831         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12832         (__libc_ifunc_impl_list): Likewise.
12833         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12834         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12835         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12836         memchr for PPC64.
12837
12838         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12839         implementation.
12840         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12841         (__libc_ifunc_impl_list): Likewise.
12842         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12843         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12844         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12845         mempcpy for PPC64.
12846
12847         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12848         avoid cretion of __bzero symbol.
12849         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12850         Likewise.
12851         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12852         Likewise.
12853         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12854         Likewise.
12855         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12856         multiarch implementations.
12857         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12858         (__libc_ifunc_impl_list): Likewise.
12859         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
12860         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
12861         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
12862         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
12863         bzero for PPC32.
12864         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
12865         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
12866         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
12867         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
12868         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
12869         memset for PPC64.
12870         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
12871
12872         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
12873         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
12874         implementations.
12875         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12876         (__libc_ifunc_impl_list): Likewise.
12877         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
12878         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
12879         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
12880         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
12881         memcmp for PPC64.
12882
12883         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
12884         multiarch for POWER/PPC64.
12885         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
12886         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
12887         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
12888         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
12889         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
12890         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
12891         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
12892         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
12893         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
12894         memcpy for PPC64.
12895
12896         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
12897         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
12898         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
12899         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
12900         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
12901         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
12902         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
12903         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
12904         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12905         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
12906         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
12907         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
12908         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
12909         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
12910         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
12911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
12912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
12913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
12914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
12915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
12916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
12917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
12918
12919 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12920
12921         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
12922
12923 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12924
12925         * benchtests/Makefile (bench): Add exp2 and log2.
12926         (LDLIBS-bench-exp2): Add -lm.
12927         (LDLIBS-bench-log2): Likewise.
12928         * benchtests/exp2-inputs: New inputs file.
12929         * benchtests/log2-inputs: New inputs file.
12930         * benchtests/log-inputs: Add new inputs.
12931         * benchtests/tan-inputs: Likewise.
12932
12933 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12934
12935         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
12936         definition...
12937         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
12938         (csloww2): ... from here.
12939
12940         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
12941         instead of structures.
12942         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
12943         (POLYNOMIAL): Likewise.
12944         (TAYLOR_SLOW): Likewise.
12945         (__sin): Likewise.
12946         (__cos): Likewise.
12947         (slow1): Likewise.
12948         (slow2): Likewise.
12949         (sloww): Likewise.
12950         (sloww1); Likewise.
12951         (sloww2): Likewise.
12952         (bsloww1): Likewise.
12953         (bsloww2): Likewise.
12954         (cslow2): Likewise.
12955         (csloww): Likewise.
12956         (csloww1): Likewise.
12957         (csloww2): Likewise.
12958
12959 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
12960
12961         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
12962         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
12963         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
12964         * malloc/hooks.c (realloc_check): Likewise.
12965
12966         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
12967         * malloc/arena.c: Remove PER_THREAD conditional.
12968         [!PER_THREAD]: Remove code.
12969         (ptmalloc_unlock_all2): Likewise.
12970         (ptmalloc_init): Likewise.
12971         (_int_new_arena): Likewise.
12972         (arena_get2): Likewise.
12973         * malloc/hooks.c (__malloc_get_state): Likewise.
12974         (__malloc_set_state): Likewise.
12975         * malloc/malloc.c: Likewise.
12976         (struct malloc_state): Likewise.
12977         (struct malloc_par): Likewise.
12978         (__libc_realloc): Likewise.
12979         (__libc_mallopt): Likewise.
12980
12981 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12982
12983         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
12984
12985 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
12986
12987         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
12988         macro to a function.  Check for zero perturb_byte.
12989         (_int_malloc, _int_free): Remove zero perturb_byte checks.
12990
12991         * malloc/malloc.c: (force_reg): Remove.
12992         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
12993         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
12994         force_reg by atomic_forced_read.
12995         * malloc/arena.c (ptmalloc_init): Likewise.
12996         * malloc/hooks.c (top_check): Likewise.
12997
12998 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12999
13000         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13001
13002 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
13003
13004         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13005
13006 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
13007
13008         * math/auto-libm-test-in: Add tests of lgamma.
13009         * math/auto-libm-test-out: Regenerated.
13010         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13011         (M_LOG_2_SQRT_PIl): Likewise.
13012         (lgamma_test_data): Use AUTO_TESTS_f_f1.
13013         * math/gen-auto-libm-tests.c (func_calc_method): Add value
13014         mpfr_f_f1.
13015         (func_calc_desc): Add mpfr_f_f1 union field.
13016         (ARGS1): New macro.
13017         (ARGS2): Likewise.
13018         (ARGS3): Likewise.
13019         (ARGS4): Likewise.
13020         (RET1): Likewise.
13021         (RET2): Likewise.
13022         (CALC): Likewise.
13023         (FUNC): Likewise.
13024         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
13025         (test_functions): Add lgamma.
13026         (calc_generic_results): Handle mpfr_f_f1.
13027         * sysdeps/i386/fpu/libm-test-ulps: Update.
13028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13029
13030 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13031
13032         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
13033         __mpn_add_n for PowerPC64/POWER7.
13034         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
13035         __mpn_sub_n for PowerPC64/POWER7.
13036
13037         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13038         __mpn_addmul_1 for PowerPC64.
13039         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
13040         __mpn_submul_1 for PowerPC64.
13041         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
13042         for PowerPC64.
13043         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
13044         for PowerPC64.
13045
13046 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
13047
13048         [BZ #15089]
13049         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
13050
13051 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13052
13053         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
13054
13055         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13056         add multiarch folders.
13057         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13058         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13059         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13060         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13061         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13062         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13063         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13064         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13065         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13066         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13067         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13074
13075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13076         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13078         New file.
13079         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13080         New file.
13081         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
13082         multiarch __ieee754_hypot for PowerPC32.
13083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
13084         New file.
13085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
13086         New file.
13087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
13088         multiarch __ieee754_hypotf for PowerPC32.
13089
13090         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13091         long_double_symbol only if __logbl is defined.
13092         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13093         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13094         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13095         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13096         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13097         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13098         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13099         path for implementation.
13100         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13101         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13103         logb, and logbl multiarch implementations for PowerPC32.
13104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13105         file.
13106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13107         file.
13108         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13109         multiarch logb for PowerPC32.
13110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13111         file.
13112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13113         file.
13114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13115         multiarch logbf for PowerPC32.
13116         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13118         file.
13119         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13120         multiarch logbl implementation for PowerPC32.
13121
13122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13123         and modff multiarch implementations.
13124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13125         New file.
13126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13127         New file.
13128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13129         multiarch modf for PowerPC32.
13130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13131         New file.
13132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13133         New file.
13134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13135         multiarch modff for PowerPC32.
13136
13137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13138         and lrintf multiarch implementations.
13139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13140         New file.
13141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13142         New file.
13143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13144         multiarch lrint for PowerPC32.
13145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13146         file: multiarch lrintf for PowerPC32.
13147
13148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13149         and lroundf multiarch implementations.
13150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13151         New file.
13152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13153         New file.
13154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13155         New file.
13156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13157         multiarch lround for PowerPC32.
13158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13159         file: multiarch lroundf for PowerPC32.
13160
13161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13162         copysign and copysignf multiarch implementations.
13163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13164         New file.
13165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13166         New file.
13167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13168         file: multiarch copysign for PowerPC32.
13169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13170         file: multiarch copysignf for PowerPC32.
13171
13172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13173         and truncf multiarch implementations.
13174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13175         New file.
13176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13177         file.
13178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13179         multiarch trunc for PowerPC32.
13180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13181         New file.
13182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13183         New file.
13184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13185         multiarch truncf for PowerPC32.
13186
13187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13188         and roundf multiarch implementations.
13189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13190         New file.
13191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13192         file.
13193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13194         multiarch round for PowerPC32.
13195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13196         New file.
13197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
13198         New file.
13199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
13200         multiarch roundf for PowerPC32.
13201
13202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
13203         and floorf multiarch implementations.
13204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
13205         New file.
13206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
13207         file.
13208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
13209         multiarch floor for PowerPC32.
13210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13211         New file.
13212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13213         New file.
13214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13215         multiarch floorf for PowerPC32.
13216
13217         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13218         and ceilf multiarch implementations.
13219         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13220         New file.
13221         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13222         file.
13223         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13224         multiarch ceil for PowerPC32.
13225         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13226         New file.
13227         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13228         file.
13229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13230         multiarch ceilf for PowerPC32.
13231
13232         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13233         is defined.
13234         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13235         FINITEF is defined.
13236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13237         and finitef multiarch implementations.
13238         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13239         New file.
13240         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13241         file.
13242         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13243         multiarch finite for PowerPC32.
13244         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13245         New file.
13246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13247         file: multiarch finitef for PowerPC32.
13248
13249         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13250         and isinff multiarch implementations.
13251         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13252         file.
13253         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13254         file.
13255         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13256         multiarch isinf for PowerPC32.
13257         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13258         New file.
13259         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13260         multiarch isinff for PowerPC32.
13261
13262         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13263         alias when __isnan is defined.
13264         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13265         and isnanf multiarch implementations.
13266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13267         file.
13268         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13269         file.
13270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13271         file.
13272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13273         file.
13274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13275         multiarch isnan for PowerPC32.
13276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13277         New file.
13278         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13279         New file.
13280         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13281         multiarch isnanf for PowerPC32.
13282
13283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13284         and sqrtf multiarch implementations.
13285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13286         file.
13287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13288         file.
13289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13290         multiarch sqrt for PowerPC32.
13291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13292         file.
13293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13294         file.
13295         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13296         multiarch sqrtf for PowerPC32.
13297
13298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13299         and llroundf multiarch implementations.
13300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13301         New file.
13302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13303         New file.
13304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13305         New file.
13306         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13307         file: multiarch llround for PowerPC32.
13308         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13309         file: multiarch llroundf for PowerPC32.
13310
13311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13312         multiarch PowerPC32 fpu implementations.
13313         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13314         New file.
13315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13316         New file.
13317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13318         multiarch llrint for PowerPC32.
13319         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13320         New file.
13321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
13322         New file.
13323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
13324         file.
13325
13326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
13327
13328         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
13329         file.
13330         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
13331         file.
13332         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
13333         file.
13334         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
13335         multiarch wordcopy for PPC32.
13336         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13337         wordcopy objects.
13338         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13339         (__libc_ifunc_impl_list): Likewise.
13340         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
13341         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
13342         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
13343         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
13344         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
13345         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
13346
13347         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
13348         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
13349         file.
13350         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
13351         file.
13352         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
13353         file.
13354         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
13355         multiarch wcscpy for PPC32.
13356         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13357         multiarch objects.
13358         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13359         (__libc_ifunc_impl_list): Likewise.
13360         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13361         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13362         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
13363         sysdeps/powerpc/power6/wcscpy.c.
13364
13365         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
13366         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
13367         file.
13368         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
13369         file.
13370         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
13371         file.
13372         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
13373         multiarch wcsrchr for PPC32.
13374         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13375         multiarch objects.
13376         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13377         (__libc_ifunc_impl_list): Likewise.
13378         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13379         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13380         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
13381         sysdeps/powerpc/power6/wcsrchr.c.
13382
13383         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
13384         file.
13385         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
13386         file.
13387         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
13388         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
13389         multiarch wcschr for PPc32.
13390         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13391         multiarch objects.
13392         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13393         (__libc_ifunc_impl_list): Likewise.
13394         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
13395         * sysdeps/powerpc/power6/wcschr.c: ... to here.
13396         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
13397         sysdeps/powerpc/power6/wcschr.c.
13398
13399         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
13400         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13401         file.
13402         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13403         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13404         file: multiarch strchr for PPC32.
13405         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13406         multiarch objects.
13407         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13408         (__libc_ifunc_impl_list): Likewise.
13409
13410         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13411         name.
13412         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13413         file.
13414         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13415         file.
13416         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13417         multiarch strchrnul for PPC32.
13418         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13419         multiarch objects.
13420         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13421         (__libc_ifunc_impl_list): Likewise.
13422
13423         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13424         file.
13425         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13426         multiarch strncasecmp for PPC32.
13427         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13428         file.
13429         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13430         multiarch strncasecmp_l for PPC32.
13431         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13432         strncasecmp multiarch objects.
13433         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13434         (__libc_ifunc_impl_list): Likewise.
13435
13436         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13437         file.
13438         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13439         multiarch strncasecmp for PPC32.
13440         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13441         New file.
13442         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13443         multiarch strcasecmp_l for PPC32.
13444         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13445         multiarch objects.
13446         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13447         (__libc_ifunc_impl_list): Likewise.
13448
13449         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13450         file.
13451         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13452         file.
13453         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13454         multiarch strncmp for PPC32.
13455         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13456         multiarch objects.
13457         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13458         (__libc_ifunc_impl_list): Likewise.
13459
13460         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13461         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13462         file.
13463         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13464         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13465         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13466         multiarch objects.
13467         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13468         (__libc_ifunc_impl_list): Likewise.
13469
13470         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13471         file.
13472         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13473         file.
13474         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13475         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13476         multiarch objects.
13477         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13478         (__libc_ifunc_impl_list): Likewise.
13479
13480         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13481         file.
13482         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13483         file.
13484         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13485         multiarch rawmemchr for PPC32.
13486         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13487         multiarch objects.
13488         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13489         (__libc_ifunc_impl_list): Likewise.
13490
13491         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13492         file.
13493         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13494         file.
13495         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13496         file: memrchr multiarch for PPC32.
13497         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13498         multiarch objects.
13499         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13500         (__libc_ifunc_impl_list): Likewise.
13501
13502         * string/memchr.c (__memchr): Using macro to redefine symbol name.
13503         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13504         file.
13505         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13506         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13507         multiarch memchr for PPC32.
13508         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13509         multiarch objects.
13510         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13511         (__libc_ifunc_impl_list): Likewise.
13512
13513         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13514         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13515         file.
13516         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13517         file.
13518         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13519         file: multiarch mempcpy for PPC32.
13520         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13521         multiarch objects.
13522         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13523         (__libc_ifunc_impl_list): Likewise.
13524
13525         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13526         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13527         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13528         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13529         multiarch bzero for PPC32.
13530         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13531         file.
13532         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
13533         file.
13534         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
13535         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
13536         file: multiarch memset for PPC32.
13537         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
13538         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
13539         memset multiarch objects.
13540         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13541         (__libc_ifunc_impl_list): Likewise.
13542
13543         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
13544         file.
13545         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
13546         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
13547         memcmp for PPC32.
13548         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
13549         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
13550         multiarch objects.
13551         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13552         (__libc_ifunc_impl_list): Likewise.
13553
13554         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
13555         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
13556         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
13557         file.
13558         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
13559         file.
13560         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
13561         file.
13562         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
13563         multiarch memcpy for PPC32.
13564         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
13565         multiarch objects.
13566         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13567         (__libc_ifunc_impl_list): Likewise.
13568
13569         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
13570         support multiarch for POWER/PPC32.
13571         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
13572         Likewise.
13573         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
13575         Implies file to make multiarch folder appers before the fpu and
13576         default folder for power4 configuration.
13577
13578 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
13579
13580         * scripts/bench.pl: Append volatile keyword to type.
13581
13582 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13583
13584         * sysdeps/sh/sotruss-lib.c: New file.
13585         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
13586
13587 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13588
13589         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13590
13591 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
13592
13593         [BZ #6810]
13594         * math/w_tgamma.c: Include <errno.h>.
13595         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
13596         * math/w_tgammaf.c: Include <errno.h>.
13597         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
13598         * math/w_tgammal.c: Include <errno.h>.
13599         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
13600         * math/auto-libm-test-in: Do not allow missing errno on tgamma
13601         underflow.  Add more tgamma tests.
13602         * math/auto-libm-test-out: Regenerated.
13603         * sysdeps/i386/fpu/libm-test-ulps: Update.
13604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13605
13606         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
13607         sin, sinh, tan, tanh, tgamma, y0 and y1.
13608         * math/auto-libm-test-out: Regenerated.
13609         * math/libm-test.inc (TEST_COND_x86_64): New macro.
13610         (TEST_COND_x86): Likewise.
13611         (M_E2l): Remove macro.
13612         (M_E3l): Likewise.
13613         (M_2_SQRT_PIl): Likewise.
13614         (M_SQRT_PIl): Likewise.
13615         (M_1_DIV_El): Likewise.
13616         (log_test_data): Use AUTO_TESTS_f_f.
13617         (log10_test_data): Likewise.
13618         (log1p_test_data): Likewise.
13619         (log2_test_data): Likewise.
13620         (sin_test_data): Likewise.
13621         (sin_tonearest_test_data): Likewise.
13622         (sin_towardzero_test_data): Likewise.
13623         (sin_downward_test_data): Likewise.
13624         (sin_upward_test_data): Likewise.
13625         (sinh_test_data): Likewise.
13626         (sinh_tonearest_test_data): Likewise.
13627         (sinh_towardzero_test_data): Likewise.
13628         (sinh_downward_test_data): Likewise.
13629         (sinh_upward_test_data): Likewise.
13630         (tan_test_data): Likewise.
13631         (tan_tonearest_test_data): Likewise.
13632         (tan_towardzero_test_data): Likewise.
13633         (tan_downward_test_data): Likewise.
13634         (tan_upward_test_data): Likewise.
13635         (tanh_test_data): Likewise.
13636         (tgamma_test_data): Likewise.
13637         (y0_test_data): Likewise.
13638         (y1_test_data): Likewise.
13639         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
13640         (special_real_inputs): Add pi/4.
13641         * sysdeps/i386/fpu/libm-test-ulps: Update.
13642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13643
13644 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13645
13646         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
13647         "longjmp_target" static probes.
13648         (__longjmp): Rename to __longjmp_symbol.
13649         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13650         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
13651         on which longjmp to generate.
13652         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13653         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
13654         probe.
13655         (__sigsetjmp): Rename to __sigsetjmp_symbol.
13656         (__sigjmp_save): Rename to __sigjmp_save_symbol.
13657         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13658         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
13659         and __sigjmp_save_symbol based on which sigsetjmp to generated.
13660         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
13661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
13662         __longjmp_symbol based on which __longjmp to generate.
13663         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
13664         probe.
13665         (setjmp): Rename to setjmp_symbol.
13666         (__sigsetjmp): Rename to __sigsetjmp_symbol.
13667         (_setjmp): Rename to _setjmp_symbol.
13668         (__sigsetjmp): Rename to __sigsetjmp_symbol.
13669         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
13670         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
13671         which setjmp to generate.
13672         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
13673         "longjmp_target" static probes.
13674
13675 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
13676
13677         * benchtests/README: Add note about output arguments.
13678         * benchtests/bench-sincos.c: Remove file.
13679         * benchtests/sincos-inputs: New file.
13680         * scripts/bench.pl: Identify output arguments and define
13681         static variables for them.
13682
13683         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
13684
13685         [BZ #15941]
13686         * Makefile (INSTALL): Add install-plain.texi as the primary
13687         dependency.
13688         * manual/install-plain.texi: New file.
13689         * manual/install.texi: Include node directive only for
13690         non-plaintext output.
13691
13692 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
13693
13694         * stdlib/longlong.h: Update from GCC.
13695
13696         [BZ #6807]
13697         [BZ #15901]
13698         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
13699         * math/w_j0f.c (y0f): Likewise.
13700         * math/w_j0l.c (__y0l): Likewise.
13701         * math/w_j1.c (y1): Likewise.
13702         * math/w_j1f.c (y1f): Likewise.
13703         * math/w_j1l.c (__y1l): Likewise
13704         * math/w_jn.c (yn): Likewise.
13705         * math/w_jnf.c (ynf): Likewise.
13706         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
13707         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
13708         value for Bessel function domain errors outside _SVID_ mode.
13709         Adjust sign of return value for yn (negative integer, 0).
13710         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
13711         by zero in return for negative x and set sign appropriately for
13712         negative n.
13713         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
13714         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13715         * math/libm-test.inc (y0_test_data): Add more tests and adjust
13716         expectations in error cases.
13717         (y1_test_data): Likewise.
13718         (yn_test_data): Likewise.
13719         * sysdeps/i386/fpu/libm-test-ulps: Update.
13720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13721
13722 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13723
13724         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
13725         "64" to "64-v1".  Add "64-v2".
13726         (abi-64-options): Rename to ...
13727         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
13728         (abi-64-condition): Rename to ...
13729         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
13730         (abi-64-ld-soname): Rename to ...
13731         (abi-64-v1-ld-soname): ... this.
13732         (abi-64-v2-options): Define.
13733         (abi-64-v2-condition): Likewise.
13734         (abi-64-v2-ld-soname): Likewise.
13735         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
13736         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
13737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
13738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
13739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
13740
13741 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13742             Alan Modra  <amodra@gmail.com>
13743
13744         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
13745         New versions for use with the ELFv2 ABI.
13746         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
13747         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
13748         declaration.
13749         (struct La_ppc64v2_retval): Likewise.
13750         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
13751         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
13752         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
13753         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
13754         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
13755         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13756         Do not save or restore CR.
13757         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
13758         (_dl_profile_resolve): Do no save or restore CR.  Support extended
13759         return values for ELFv2 ABI.  Fix location of FPR return registers.
13760         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
13761         updated values for _CALL_ELF == 2.
13762         (La_regs, La_retval, int_retval): Likewise.
13763
13764 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13765
13766         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
13767         (FRAME_MIN_SIZE_PARM): Likewise.
13768         (FRAME_BACKCHAIN): Likewise.
13769         (FRAME_CR_SAVE): Likewise.
13770         (FRAME_LR_SAVE): Likewise.
13771         (FRAME_TOC_SAVE): Likewise.
13772         (FRAME_PARM_SAVE): Likewise.
13773         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
13774         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
13775         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13776         (call_mcount_parm_offset): New macro.
13777         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
13778         (PROF): Use symbolic stack frame offsets.
13779         (TAIL_CALL_SYSCALL_ERROR): Likewise.
13780         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
13781         Redefine in terms of FRAME_MIN_SIZE.
13782         (_dl_runtime_resolve): Use symbolic stack frame offsets.
13783         (_dl_profile_resolve): Likewise.  Update comment.
13784         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
13785         symbols stack frame offsets.
13786         (__sigsetjmp): Likewise.
13787         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
13788         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
13789         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
13790         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
13791
13792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
13793         (FRAME_BACKCHAIN): Remove.
13794         (FRAME_CR_SAVE): Likewise.
13795         (FRAME_LR_SAVE): Likewise.
13796         (FRAME_COMPILER_DW): Likewise.
13797         (FRAME_LINKER_DW): Likewise.
13798         (FRAME_TOC_SAVE): Likewise.
13799         (FRAME_PARM_SAVE): Likewise.
13800         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
13801         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
13802         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13804         (CHECK_SP): Use symbolic stack frame offsets.
13805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13806         zone" instead of caller's parameter save area for temp storage.
13807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13808         Likewise.  Also, use symbolic stack frame offsets.
13809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13810         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13811         our own stack frame instead of the caller's.
13812         (__socket): Use symbolic stack frame offsets.
13813
13814 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13815             Alan Modra  <amodra@gmail.com>
13816
13817         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13818         Define.
13819         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13820         (PPC64_LOCAL_ENTRY_OFFSET): Define.
13821         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13822         New function.
13823         (elf_machine_fixup_plt): Call it.
13824         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
13825         reloc arguments.
13826         (elf_machine_rela): Update call to elf_machine_plt_conflict.
13827         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13828         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
13829         r2 before calling target.
13830
13831 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13832             Alan Modra  <amodra@gmail.com>
13833
13834         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13835         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13836         versions of macros to support ELFv2 ABI.
13837         (LOCALENTRY): New macro.
13838         (ENTRY, EALIGN): Use it.
13839         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13840         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13841         fall through into ENTRY entry point.
13842         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13843         Only define if _CALL_ELF != 2.
13844
13845         (elf_machine_matches_host): Verify ABI version matches.
13846         (RTLD_START): Use LOCALENTRY.
13847         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13848         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13849         (PLT_ENTRY_WORDS): New macro.
13850         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13851         (elf_machine_runtime_setup): Support ELFv2 ABI.
13852         (elf_machine_fixup_plt): Likewise.
13853         (elf_machine_plt_conflict): Likewise.
13854         (resolve_ifunc): Likewise.
13855         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13856         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13857         Likewise.
13858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
13859         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
13860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13861         (makecontext): Support ELFv2 ABI.
13862         * elf/elf.h (EF_PPC64_ABI): Define.
13863
13864 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13865
13866         * sysdeps/powerpc/powerpc64/sysdep.h
13867         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
13868         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
13869         (ENTRY) [ASSEMBLER]: ... but instead here ...
13870         (EALIGN) [ASSEMBLER]: ... and here.
13871         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
13872         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
13873         (ENTRY_2) [!ASSEMBLER]: Use it.
13874         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
13875         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
13876         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13877         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
13878         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
13879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
13880         Use PPC64_LOAD_FUNCPTR.
13881
13882         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
13883
13884 2013-12-04  Alan Modra  <amodra@gmail.com>
13885
13886         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
13887         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
13888         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
13889         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
13890
13891         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
13892         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
13893         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
13894         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
13895         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
13896         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
13897
13898 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
13899
13900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13901         (__makecontext): Fix incorrect CFI when backtracing out of
13902         context created via makecontext.
13903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
13904         (__setcontext): Fix incorrect CFI during switch to new context.
13905         (__novec_setcontext): Likewise.
13906
13907 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
13908
13909         [BZ #4772]
13910         * time/strptime_l.c (__strptime_internal): Allow modifiers
13911         in strptime.
13912         * time/tst-strptime.c (day_tests): Add testcase.
13913
13914 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13915
13916         * scripts/bench.pl: Skip over blank lines.
13917
13918 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
13919
13920         [BZ #926]
13921         * manual/time.texi (Calendar Time): Clarify what timezone functions
13922         use.
13923
13924 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13925
13926         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13927
13928 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
13929
13930         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
13931         implementation.
13932         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13933         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13934         * debug/memset_chk.c (__memset_chk): Likewise.
13935         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
13936         * debug/strncpy_chk.c: Likewise.
13937
13938 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
13939
13940         [BZ #15268]
13941         [BZ #15425]
13942         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
13943         (__ieee754_exp): For possibly underflowing results, check size of
13944         result and force underflow exception if required.
13945         * math/auto-libm-test-in: Add more tests of exp.
13946         * math/auto-libm-test-out: Regenerated.
13947         * sysdeps/i386/fpu/libm-test-ulps: Update.
13948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13949
13950         [BZ #16283]
13951         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
13952         * math/w_exp2f.c (__exp2f): Likewise.
13953         * math/w_exp2l.c (__exp2l): Likewise.
13954         * math/auto-libm-test-in: Do not allow missing errno on exp2
13955         underflow.
13956         * math/auto-libm-test-out: Regenerated.
13957
13958 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
13959
13960         [BZ #16274]
13961         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
13962         handle filename validation.
13963         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
13964         (do_open): Delete.
13965
13966 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
13967
13968         [BZ #6786]
13969         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
13970         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
13971         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
13972         <float.h>.
13973         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
13974         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
13975         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13976         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
13977         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13978         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
13979         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
13980         * math/auto-libm-test-in: Don't allow missing errno from erfc.
13981         Add more erfc tests.
13982         * math/auto-libm-test-out: Regenerated.
13983         * sysdeps/i386/fpu/libm-test-ulps: Update.
13984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13985
13986         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
13987         exp2, expm1, j0 and j1.
13988         * math/auto-libm-test-out: Regenerated.
13989         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
13990         (erfc_test_data): Likewise.
13991         (exp_test_data): Likewise.
13992         (exp_tonearest_test_data): Likewise.
13993         (exp_towardzero_test_data): Likewise.
13994         (exp_downward_test_data): Likewise.
13995         (exp_upward_test_data): Likewise.
13996         (exp10_test_data): Likewise.
13997         (exp2_test_data): Likewise.
13998         (expm1_test_data): Likewise.
13999         (j0_test_data): Likewise.
14000         (j1_test_data): Likewise.
14001         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
14002         (input_flag_type): Add flag_xfail_rounding.
14003         (input_flags): Add xfail-rounding.
14004         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
14005         (output_for_one_input_case): Handle flag_xfail_rounding.
14006         * sysdeps/i386/fpu/libm-test-ulps: Update.
14007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14008
14009 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
14010
14011         [BZ #16289]
14012         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14013         division by 0.
14014
14015 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14016
14017         [BZ #16195]
14018         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
14019         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
14020         (STAP_PROBE0): New macro.
14021         (STAP_PROBE1): Likewise.
14022         (STAP_PROBE2): Likewise.
14023         (STAP_PROBE3): Likewise.
14024         (STAP_PROBE4): Likewise.
14025
14026 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
14027
14028         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
14029
14030 2013-12-02  Steve Ellcey  <sellcey@mips.com>
14031
14032         * benchtests/Makefile (bench): Add sqrt.
14033         (LDLIBS-bench-sqrt): New.
14034         * benchtests/sqrt-input: New.
14035
14036 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
14037
14038         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14039         (GAIH_EAI): Likewise.
14040         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
14041         (gaih_inet): Likewise.
14042         (getaddrinfo): Don't use GAIH_EAI.
14043
14044         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
14045         (struct gaih): Remove definition.
14046
14047 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14048
14049         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
14050         Use HERRNOP directly.
14051
14052 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14053
14054         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14055
14056 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
14057
14058         * math/gen-auto-libm-tests.c (test_functions): Add more
14059         single-argument functions.
14060         (special_fill_pi_2): New function.
14061         (special_fill_minus_pi_2): Likewise.
14062         (special_fill_pi_6): Likewise.
14063         (special_fill_minus_pi_6): Likewise.
14064         (special_fill_pi_3): Likewise.
14065         (special_fill_2pi_3): Likewise.
14066         (special_fill_e): Likewise.
14067         (special_fill_1_e): Likewise.
14068         (special_fill_e_minus_1): Likewise.
14069         (special_real_inputs): Add more special inputs.
14070         (output_for_one_input_case): Do not require ERANGE on underflow to
14071         zero if round-to-nearest result does not underflow to zero, unless
14072         exact results required.
14073         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14074         atan, atanh, cbrt, cos and cosh.
14075         * math/auto-libm-test-out: Regenerated.
14076         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14077         (acos_tonearest_test_data): Likewise.
14078         (acos_towardzero_test_data): Likewise.
14079         (acos_downward_test_data): Likewise.
14080         (acos_upward_test_data): Likewise.
14081         (acosh_test_data): Likewise.
14082         (asin_test_data): Likewise.
14083         (asin_tonearest_test_data): Likewise.
14084         (asin_towardzero_test_data): Likewise.
14085         (asin_upward_test_data): Likewise.
14086         (asinh_test_data): Likewise.
14087         (atan_test_data): Likewise.
14088         (atanh_test_data): Likewise.
14089         (cbrt_test_data): Likewise.
14090         (cos_test_data): Likewise.
14091         (cos_tonearest_test_data): Likewise.
14092         (cos_towardzero_test_data): Likewise.
14093         (cos_downward_test_data): Likewise.
14094         (cos_upward_test_data): Likewise.
14095         (cosh_test_data): Likewise.
14096         (cosh_tonearest_test_data): Likewise.
14097         (cosh_towardzero_test_data): Likewise.
14098         (cosh_downward_test_data): Likewise.
14099         (cosh_upward_test_data): Likewise.
14100         * sysdeps/i386/fpu/libm-test-ulps: Update.
14101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14102
14103 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
14104
14105         [BZ #6787]
14106         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14107         * math/w_exp10f.c (__exp10f): Likewise.
14108         * math/w_exp10l.c (__exp10l): Likewise.
14109         * math/libm-test.inc (exp10_test_data): Add more tests and expect
14110         errno settings in existing tests.
14111
14112         [BZ #14032]
14113         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14114         precision control set to double precision.
14115         * sysdeps/i386/fpu/w_sqrt.c: New file.
14116         * math/auto-libm-test-in: Add more tests.
14117         * math/auto-libm-test-out: Update.
14118
14119         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14120         (sqrt_test_tonearest): New function.
14121         (sqrt_towardzero_test_data): New variable.
14122         (sqrt_test_towardzero): New function.
14123         (sqrt_downward_test_data): New variable.
14124         (sqrt_test_downward): New function.
14125         (sqrt_upward_test_data): New variable.
14126         (sqrt_test_upward): New function.
14127         (main): Call the new functions.
14128
14129         * math/gen-auto-libm-tests.c: New file.
14130         * math/auto-libm-test-in: Likewise.
14131         * math/auto-libm-test-out: New generated file.
14132         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14133         variables.
14134         (%beautify): Add generated representations of zero.
14135         (top level): Set $auto_input and call parse_auto_input.
14136         (beautify): Remove trailing "f" from hex float constants.
14137         (parse_args): Handle XFAIL_TEST.
14138         (convert_condition): New function.
14139         (or_value): Likewise.
14140         (or_cond_value): Likewise.
14141         (generate_testfile): Handle AUTO_TESTS_* lines.
14142         (parse_auto_input): New function.
14143         * math/libm-test.inc (XFAIL_TEST): New macro.
14144         (ERRNO_UNCHANGED): Update value.
14145         (ERRNO_EDOM): Likewise.
14146         (ERRNO_ERANGE): Likewise.
14147         (IGNORE_RESULT): Likewise.
14148         (TEST_COND_flt_32): New macro.
14149         (TEST_COND_dbl_64): Likewise.
14150         (TEST_COND_ldbl_96_intel): Likewise.
14151         (TEST_COND_ldbl_96_m68k): Likewise.
14152         (TEST_COND_ldbl_128): Likewise.
14153         (TEST_COND_ldbl_128ibm): Likewise.
14154         (TEST_COND_long32): Likewise.
14155         (TEST_COND_long64): Likewise.
14156         (TEST_COND_before_rounding): Likewise.
14157         (TEST_COND_after_rounding): Likewise.
14158         (enable_test): Handle XFAIL_TEST flag.
14159         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14160         with finite results.
14161         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14162         auto-libm-test-out.
14163
14164 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14165             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14166
14167         [BZ #16214]
14168         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14169         __tls_get_addr_internal instead of __tls_get_offset in order to
14170         avoid GOT pointer dependency.  Make rtld export
14171         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14172         __tls_get_addr since we are a __tls_get_offset platform.
14173         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14174         GOT pointer being set up before.
14175         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14176
14177 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
14178
14179         * manual/math.texi (Errors in Math Functions): Document accuracy
14180         goals.
14181
14182         [BZ #15004]
14183         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14184         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14185         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14186         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14187         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14188         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14189         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14190         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14191         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14192         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14193         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14194         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14195         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14196         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14197         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14198         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14199
14200         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
14201         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
14202         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
14203         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
14204         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
14205         Likewise.
14206         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
14207         Likewise.
14208         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
14209         Likewise.
14210         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14211         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14212         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14213         atomic-feupdateenv and flt-rounds.
14214         * sysdeps/powerpc/nofpu/Versions (libc): Add
14215         __atomic_feholdexcept, __atomic_feclearexcept,
14216         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14217         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14218         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14219         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14220         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14221         here.
14222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14223         Update.
14224
14225         * manual/arith.texi (FP Exceptions): Document that exceptions may
14226         not be raised when matherr is used.
14227         (Math Error Reporting): Document overflow in directed rounding
14228         modes.  Document that errno may not be set when finite values are
14229         returned on overflow.  Document intent to set errno on underflow
14230         only for underflow to zero.
14231
14232         [BZ #16271]
14233         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14234         round-to-nearest then adjust result for other rounding modes.
14235         * include/fenv.h (fegetround): Use libm_hidden_proto.
14236         * math/fegetround.c (fegetround): Use libm_hidden_def.
14237         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14238         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14239         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14240         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14241         Likewise.
14242         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14243         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14244         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14245         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14246
14247 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14248
14249         [BZ #16077]
14250         * nss/Versions (libnss_files): Add
14251         _nss_files_gethostbyname3_r.
14252         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14253         New function.
14254         (HOST_DB_LOOKUP): Remove macro.
14255         (_nss_files_gethostbyname_r): Implement function without the
14256         HOST_DB_LOOKUP macro.
14257         (_nss_files_gethostbyname2_r): Likewise.
14258
14259 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
14260
14261         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14262
14263 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
14264
14265         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14266         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14267         warning.
14268
14269 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14270
14271         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14272         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14273         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14274         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14275         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14276         __fe_nomask_env_priv and attribute_hidden.
14277         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14278         (libc_feupdateenv_test_ppc): Likewise.
14279         (libc_feresetround_ppc): Likewise.
14280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14281         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14282         compat_symbol macro.
14283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14284         (__fe_nomask_env): Likewise.
14285         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14286
14287 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14288
14289         * string/Makefile: Remove ifunc tests.
14290         * string/test-string.h: Define TEST_IFUNC.
14291         * string/test-bcopy-ifunc.c: Remove.
14292         * string/test-bzero-ifunc.c: Likewise.
14293         * string/test-memccpy-ifunc.c: Likewise.
14294         * string/test-memchr-ifunc.c: Likewise.
14295         * string/test-memcmp-ifunc.c: Likewise.
14296         * string/test-memcpy-ifunc.c: Likewise.
14297         * string/test-memmem-ifunc.c: Likewise.
14298         * string/test-memmove-ifunc.c: Likewise.
14299         * string/test-mempcpy-ifunc.c: Likewise.
14300         * string/test-memrchr-ifunc.c: Likewise.
14301         * string/test-memset-ifunc.c: Likewise.
14302         * string/test-rawmemchr-ifunc.c: Likewise.
14303         * string/test-stpcpy-ifunc.c: Likewise.
14304         * string/test-stpncpy-ifunc.c: Likewise.
14305         * string/test-strcasecmp-ifunc.c: Likewise.
14306         * string/test-strcasestr-ifunc.c: Likewise.
14307         * string/test-strcat-ifunc.c: Likewise.
14308         * string/test-strchr-ifunc.c: Likewise.
14309         * string/test-strchrnul-ifunc.c: Likewise.
14310         * string/test-strcmp-ifunc.c: Likewise.
14311         * string/test-strcpy-ifunc.c: Likewise.
14312         * string/test-strcspn-ifunc.c: Likewise.
14313         * string/test-strlen-ifunc.c: Likewise.
14314         * string/test-strncasecmp-ifunc.c: Likewise.
14315         * string/test-strncat-ifunc.c: Likewise.
14316         * string/test-strncmp-ifunc.c: Likewise.
14317         * string/test-strncpy-ifunc.c: Likewise.
14318         * string/test-strnlen-ifunc.c: Likewise.
14319         * string/test-strpbrk-ifunc.c: Likewise.
14320         * string/test-strrchr-ifunc.c: Likewise.
14321         * string/test-strspn-ifunc.c: Likewise.
14322         * string/test-strstr-ifunc.c: Likewise.
14323
14324 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14325
14326         * benchtests/Makefile: Remove ifunc tests.
14327         * benchtests/bench-string.h: Define TEST_IFUNC.
14328         * benchtests/bench-bcopy-ifunc.c: Remove.
14329         * benchtests/bench-bzero-ifunc.c: Likewise.
14330         * benchtests/bench-memccpy-ifunc.c: Likewise.
14331         * benchtests/bench-memchr-ifunc.c: Likewise.
14332         * benchtests/bench-memcmp-ifunc.c: Likewise.
14333         * benchtests/bench-memcpy-ifunc.c: Likewise.
14334         * benchtests/bench-memmem-ifunc.c: Likewise.
14335         * benchtests/bench-memmove-ifunc.c: Likewise.
14336         * benchtests/bench-mempcpy-ifunc.c: Likewise.
14337         * benchtests/bench-memrchr-ifunc.c: Likewise.
14338         * benchtests/bench-memset-ifunc.c: Likewise.
14339         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
14340         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
14341         * benchtests/bench-stpcpy-ifunc.c: Likewise.
14342         * benchtests/bench-stpncpy-ifunc.c: Likewise.
14343         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
14344         * benchtests/bench-strcasestr-ifunc.c: Likewise.
14345         * benchtests/bench-strcat-ifunc.c: Likewise.
14346         * benchtests/bench-strchr-ifunc.c: Likewise.
14347         * benchtests/bench-strchrnul-ifunc.c: Likewise.
14348         * benchtests/bench-strcmp-ifunc.c: Likewise.
14349         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
14350         * benchtests/bench-strcpy-ifunc.c: Likewise.
14351         * benchtests/bench-strcspn-ifunc.c: Likewise.
14352         * benchtests/bench-strlen-ifunc.c: Likewise.
14353         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
14354         * benchtests/bench-strncat-ifunc.c: Likewise.
14355         * benchtests/bench-strncmp-ifunc.c: Likewise.
14356         * benchtests/bench-strncpy-ifunc.c: Likewise.
14357         * benchtests/bench-strnlen-ifunc.c: Likewise.
14358         * benchtests/bench-strpbrk-ifunc.c: Likewise.
14359         * benchtests/bench-strrchr-ifunc.c: Likewise.
14360         * benchtests/bench-strsep-ifunc.c: Likewise.
14361         * benchtests/bench-strspn-ifunc.c: Likewise.
14362         * benchtests/bench-strstr-ifunc.c: Likewise.
14363
14364 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14365
14366         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
14367
14368 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
14369
14370         * resolv/netdb.h: Use __glibc_reserved instead __unused.
14371         * rt/aio.h: Likewise.
14372         * sysdeps/gnu/bits/utmp.h: Likewise.
14373         * sysdeps/gnu/bits/utmpx.h: Likewise.
14374         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14375         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
14376         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
14377         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
14378         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
14379         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
14380         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
14381         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
14382         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
14383         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
14384         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
14385         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
14386         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
14387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
14388         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14389         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
14390         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
14391         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
14392         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
14393         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
14394         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
14395         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
14396         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
14397         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14398         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
14399         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14400         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14401         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14402         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14403         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14404         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14405         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14406         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14407         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14408         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14409         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14410         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14411         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14412         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14413         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14414         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14415         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14416
14417 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
14418
14419         [BZ #16245]
14420         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14421         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14422
14423 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
14424
14425         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14426         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14427         Likewise.
14428
14429 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14430
14431         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14432         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14433         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14434         (__fesetround): Remove define.
14435         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14436         rounding and exceptions handling.
14437         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14438         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14439         (__fe_nomask_env): Likewise.
14440         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14441         __fegetround instead of fegetround.
14442         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14443         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14444
14445 2013-11-21  Roland McGrath  <roland@hack.frob.com>
14446
14447         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14448         it's there.
14449
14450         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14451
14452 2013-11-21  Meador Inge  <meadori@codesourcery.com>
14453
14454         [BZ #11157]
14455         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14456         (encrypt_r): Likewise.
14457         * malloc/obstack.h (obstack_free): Likewise.
14458         * posix/unistd.h (encrypt): Likewise.
14459
14460 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
14461
14462         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14463         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14464         DL_CALL_DT_FINI() that call the functions directly.
14465         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14466         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14467         * elf/dl-fini.c: Likewise.
14468
14469 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
14470
14471         * malloc/hooks.c (memalign_check): Add alignment rounding.
14472         * malloc/malloc.c (_mid_memalign): New function.
14473         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14474         Implement by calling _mid_memalign.
14475         * manual/probes.texi (Memory Allocation Probes): Remove
14476         memory_valloc_retry and memory_pvalloc_retry.
14477
14478 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14479
14480         * locale/programs/locarchive.c (open_archive): Add const
14481         qualifier to ARCHIVEFNAME and copy default fname to
14482         DEFAULT_FNAME.
14483
14484         [BZ #15601]
14485         * libio/tst-widetext.input: Rename Oriya to Odia.
14486         * locale/iso-639.def: Likewise.
14487
14488         * manual/probes.texi (Mathematical Function Probes): Add
14489         documentation for sin, cos, asin and acos probes.
14490         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14491         (__sin32): Add slowasin probe.
14492         (__cos32): Add slowacos probe.
14493         (__mpsin): Add slowsin probe.
14494         (__mpcos): Add slowcos probe.
14495
14496 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
14497
14498         [BZ #15483]
14499         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14500         thread-local __sim_exceptions_thread and global
14501         __sim_exceptions_global.
14502         (__sim_disabled_exceptions): Change to thread-local
14503         __sim_disabled_exceptions_thread and global
14504         __sim_disabled_exceptions_global.
14505         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14506         and global __sim_round_mode_global.
14507         (__simulate_exceptions): Use thread-local floating-point state and
14508         set global state from it as needed.
14509         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14510         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14511         __sim_round_mode_thread.
14512         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14513         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14514         and global __sim_exceptions_global.
14515         (__sim_disabled_exceptions): Change to thread-local
14516         __sim_disabled_exceptions_thread and global
14517         __sim_disabled_exceptions_global.
14518         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14519         and global __sim_round_mode_global.
14520         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14521         (SIM_SET_GLOBAL): Likewise.
14522         * sysdeps/powerpc/soft-fp/sfp-machine.h
14523         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14524         __sim_round_mode_thread.
14525         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14526         __sim_disabled_exceptions_thread.
14527         (__sim_exceptions): Change to __sim_exceptions_thread.
14528         (__sim_disabled_exceptions): Change to
14529         __sim_disabled_exceptions_thread.
14530         (__sim_round_mode): Change to __sim_round_mode_thread.
14531         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
14532         thread-local floating-point state and set global state from it as
14533         needed.
14534         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
14535         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
14536         (__sim_disabled_exceptions): Remove extern declaration.
14537         (feenableexcept): Use thread-local floating-point state and set
14538         global state from it as needed.
14539         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
14540         extern declaration.
14541         (__sim_disabled_exceptions): Likewise.
14542         (__sim_round_mode): Likewise.
14543         (__fegetenv): Use thread-local floating-point state.
14544         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
14545         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14546         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
14547         floating-point state and set global state from it as needed.
14548         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
14549         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14550         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
14551         Likewise.
14552         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14553         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
14554         Likewise.
14555         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
14556         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
14557         Use __sim_round_mode_thread.
14558         * math/test-fenv-tls.c: New file.
14559         * math/Makefile (tests): Add test-fenv-tls.
14560         ($(objpfx)test-fenv-tls): Depend on
14561         $(common-objpfx)nptl/libpthread.so.
14562
14563 2013-11-19  Andreas Schwab  <schwab@suse.de>
14564
14565         * locale/programs/locale.c (show_info): Decode wordarray elements.
14566         * locale/categories.def (LC_MONETARY): Add element for
14567         _NL_MONETARY_CRNCYSTR.
14568         * locale/C-monetary.c (conversion_rate): New variable.
14569         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
14570         element.
14571
14572 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
14573
14574         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
14575         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
14576
14577 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
14578
14579         * elf/Makefile (tst-auxv): New test.
14580         * elf/tst-auxv.c: New
14581         * elf/rtld.c (dl_main): Adjust AT_EXECFN
14582
14583 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
14584
14585         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
14586         (hidden_proto): Caller changed.
14587         (hidden_tls_proto): New macro.
14588         (libc_hidden_tls_proto): Likewise.
14589         (rtld_hidden_tls_proto): Likewise.
14590         (libm_hidden_tls_proto): Likewise.
14591         (libresolv_hidden_tls_proto): Likewise.
14592         (librt_hidden_tls_proto): Likewise.
14593         (libdl_hidden_tls_proto): Likewise.
14594         (libnss_files_hidden_tls_proto): Likewise.
14595         (libnsl_hidden_tls_proto): Likewise.
14596         (libnss_nisplus_hidden_tls_proto): Likewise.
14597         (libutil_hidden_tls_proto): Likewise.
14598
14599 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
14600
14601         [BZ #10253]
14602         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
14603         (decompose_rpath): Defer expansion to fillin_rpath.
14604         (_dl_init_paths): Pass linkmap to fillin_rpath.
14605
14606 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14607
14608         * benchtests/Makefile: Add strsep.
14609         * benchtests/bench-strsep.c: New file: strsep benchtest.
14610         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
14611
14612 2013-11-18  Andreas Schwab  <schwab@suse.de>
14613
14614         * locale/programs/locale.c (show_info) [case byte]: Check for
14615         '\377' instead of '\177'.
14616         * locale/C-monetary.c (not_available): Always use "\377".
14617         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
14618         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
14619         detect unavailable sign_posn locale elements.
14620         * locale/localeconv.c (__localeconv): For grouping and
14621         mon_grouping handle "\177" and "\377" like no grouping.
14622         (INT_ELEM): New macro.  Use it to set all numeric members.
14623         * locale/programs/ld-monetary.c (monetary_read)
14624         <tok_mon_grouping>: Normalize single -1 to the empty string.
14625         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
14626         Likewise.
14627
14628 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
14629
14630         [BZ #16055]
14631         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
14632         when we match (nil).
14633         * stdio-common/tst-sscanf.c (struct test): Add testcase.
14634
14635 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
14636
14637         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
14638         (NO_TEST_INLINE): Update value.
14639         (ERRNO_UNCHANGED): Likewise.
14640         (ERRNO_EDOM): Likewise.
14641         (ERRNO_ERANGE): Likewise.
14642         (IGNORE_RESULT): Likewise.
14643         (check_float_internal): Check signs of NaN results if
14644         TEST_NAN_SIGN used.
14645         (check_complex): Pass TEST_NAN_SIGN flag through to second
14646         check_float_internal call.
14647         (copysign_test_data): Add tests with quiet NaNs as second
14648         argument.  Use TEST_NAN_SIGN.
14649         (fabs_test_data): Add test of negative quiet NaN argument.  Use
14650         TEST_NAN_SIGN.
14651         (signbit_test_data): Add tests of quiet NaN argument.
14652         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
14653
14654         * math/gen-libm-test.pl (show_exceptions): Take extra argument
14655         $ignore_result.
14656         (parse_args): Handle function results specified as IGNORE.
14657         * math/libm-test.inc (IGNORE_RESULT): New macro.
14658         (check_float_internal): Do not check numerical result if flag
14659         IGNORE_RESULT set.
14660         (check_complex): Pass through IGNORE_RESULT to second
14661         check_float_internal call.
14662         (check_int): Do not check numerical result if flag IGNORE_RESULT
14663         set.
14664         (check_long): Likewise.
14665         (check_bool): Likewise.
14666         (check_longlong): Likewise.
14667         (lrint_test_data): Add tests of infinite and NaN arguments.
14668         (lrint_tonearest_test_data): Likewise.
14669         (lrint_towardzero_test_data): Likewise.
14670         (lrint_downward_test_data): Likewise.
14671         (lrint_upward_test_data): Likewise.
14672         (llrint_test_data): Likewise.
14673         (llrint_tonearest_test_data): Likewise.
14674         (llrint_towardzero_test_data): Likewise.
14675         (llrint_downward_test_data): Likewise.
14676         (llrint_upward_test_data): Likewise.
14677         (lround_test_data): Likewise.
14678         (llround_test_data): Likewise.
14679
14680         * math/libm-test.inc (NO_TEST_INLINE): New macro.
14681         (ERRNO_UNCHANGED): Update value.
14682         (ERRNO_EDOM): Likewise.
14683         (ERRNO_ERANGE): Likewise.
14684         (NO_TEST_INLINE_FLOAT): New macro.
14685         (NO_TEST_INLINE_DOUBLE): Likewise.
14686         (enable_test): New function.
14687         (RUN_TEST_f_f): Check enable_test before running test.
14688         (RUN_TEST_2_f): Likewise.
14689         (RUN_TEST_fff_f): Likewise.
14690         (RUN_TEST_c_f): Likewise.
14691         (RUN_TEST_f_f1): Likewise.
14692         (RUN_TEST_fF_f1): Likewise.
14693         (RUN_TEST_fI_f1): Likewise.
14694         (RUN_TEST_ffI_f1): Likewise.
14695         (RUN_TEST_c_c): Likewise.
14696         (RUN_TEST_cc_c): Likewise.
14697         (RUN_TEST_f_i): Likewise.
14698         (RUN_TEST_f_i_tg): Likewise.
14699         (RUN_TEST_ff_i_tg): Likewise.
14700         (RUN_TEST_f_b): Likewise.
14701         (RUN_TEST_f_b_tg): Likewise.
14702         (RUN_TEST_f_l): Likewise.
14703         (RUN_TEST_f_L): Likewise.
14704         (RUN_TEST_fFF_11): Likewise.
14705         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
14706         conditionals.
14707         (cosh_test_data): Likewise.
14708         (exp_test_data): Likewise.
14709         (expm1_test_data): Likewise.
14710         (hypot_test_data): Likewise.
14711         (pow_test_data): Likewise.
14712         (sinh_test_data): Likewise.
14713         (tanh_test_data): Likewise.
14714         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
14715         flags argument.
14716
14717         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
14718         tests with quiet NaN input and output.
14719         (acosh_test_data): Likewise.
14720         (asin_test_data): Likewise.
14721         (asinh_test_data): Likewise.
14722         (atan_test_data): Likewise.
14723         (atanh_test_data): Likewise.
14724         (atan2_test_data): Likewise.
14725         (cbrt_test_data): Likewise.
14726         (cos_test_data): Likewise.
14727         (cosh_test_data): Likewise.
14728         (erf_test_data): Likewise.
14729         (erfc_test_data): Likewise.
14730         (exp_test_data): Likewise.
14731         (exp10_test_data): Likewise.
14732         (exp2_test_data): Likewise.
14733         (expm1_test_data): Likewise.
14734         (hypot_test_data): Likewise.
14735         (j0_test_data): Likewise.
14736         (j1_test_data): Likewise.
14737         (jn_test_data): Likewise.
14738         (lgamma_test_data): Likewise.
14739         (log_test_data): Likewise.
14740         (log10_test_data): Likewise.
14741         (log1p_test_data): Likewise.
14742         (log2_test_data): Likewise.
14743         (pow_test_data): Likewise.
14744         (scalb_test_data): Likewise.
14745         (sin_test_data): Likewise.
14746         (sincos_test_data): Likewise.
14747         (sinh_test_data): Likewise.
14748         (tan_test_data): Likewise.
14749         (tanh_test_data): Likewise.
14750         (tgamma_test_data): Likewise.
14751         (y0_test_data): Likewise.
14752         (y1_test_data): Likewise.
14753         (yn_test_data): Likewise.
14754
14755         [BZ #16167]
14756         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
14757         argument being NaN and avoid computations with second argument in
14758         that case.
14759         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14760         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14761         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14762
14763 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
14764
14765         * locale/iso-639.def: Add Chitwani Tharu (the).
14766
14767 2013-11-14  Andreas Schwab  <schwab@suse.de>
14768
14769         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
14770         word instead of empty string.
14771
14772 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14773
14774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14775         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
14776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14777         (__fe_nomask_env): Likewise.
14778
14779 2013-11-13  Steve Ellcey  <sellcey@mips.com>
14780
14781         * benchtests/bench-timing.h: Include time.h.
14782
14783 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
14784
14785         [BZ #15997]
14786         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
14787         to 3.4.0 for x32.
14788         * sysdeps/unix/sysv/linux/configure: Regenerated.
14789
14790 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
14791
14792         [BZ #16151]
14793         * stdlib/strtod_l.c (round_and_return): Do not consider
14794         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14795         exponent one less than half the least subnormal exponent.
14796         * stdlib/test-strtod-round-data: Add more tests.
14797         * stdlib/tst-strtod-round.c (tests): Regenerated.
14798
14799 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14800
14801         [BZ #14143]
14802         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14803         (__fe_mask_env): Likewise.
14804         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14805         libm_hidden_proto and add function prototype.
14806         (__fe_mask_env): Add function prototype.
14807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14808         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14810         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14812         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14813
14814 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14815
14816         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
14817         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14818
14819 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14820
14821         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14822         of htab_find_slot().
14823
14824 2013-11-11  David S. Miller  <davem@davemloft.net>
14825
14826         [BZ #16150]
14827         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14828         symbol in the non-vis3 case in static builds.
14829         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14830         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14831         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14832         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14833
14834 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
14835
14836         [BZ #387]
14837         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14838         it is empty.
14839
14840 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14841
14842         * benchtests/Makefile: Add bench-strtod.
14843         * benchtests/bench-strtod.c: New file: strtod benchtest
14844
14845 2013-11-11  Andreas Schwab  <schwab@suse.de>
14846
14847         [BZ #16153]
14848         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14849         terminating NUL in key length.
14850
14851 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14852
14853         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14854         Add artificial ODP entry for vDSO symbol for PPC64.
14855         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14856         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
14857
14858 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
14859
14860         [BZ #15374]
14861         * nss/getent.c (services_keys): Recognize services starting with digit.
14862
14863 2013-11-06  David S. Miller  <davem@davemloft.net>
14864
14865         [BZ #15985]
14866         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
14867         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
14868
14869 2013-11-06  Will Newton  <will.newton@linaro.org>
14870
14871         * manual/memory.texi (Malloc Examples): Remove register
14872         keyword from examples.
14873
14874 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
14875
14876         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
14877
14878 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
14879
14880         [BZ #6981]
14881         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
14882         depending on [__GCC_IEC_559 > 0].
14883         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
14884         depending on [__GCC_IEC_559_COMPLEX > 0].
14885
14886 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
14887
14888         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
14889         to iso-639.def.
14890
14891 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
14892
14893         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
14894
14895 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
14896
14897         [BZ #16112]
14898         * malloc/malloc (malloc_info): Do not handle first bin as
14899         special case.
14900
14901 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
14902
14903         * locale/iso-639.def: Add Central Nahuatl (nhn).
14904
14905 2013-11-01  Bruno Haible  <bruno@clisp.org>
14906
14907         [BZ #7003]
14908         * manual/math.texi (BSD Random): Specify range upper bound as
14909         in POSIX.
14910
14911 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
14912
14913         * locale/iso-639.def: Add Meadow Mari (mhr).
14914
14915 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
14916
14917         [BZ #14752], [BZ #15763]
14918         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
14919         Validate name.
14920         * rt/tst_shm.c: Add test for escaping directory.
14921
14922 2013-10-31  Andreas Schwab  <schwab@suse.de>
14923
14924         [BZ #15917]
14925         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
14926         followed by 'x' as part of digit sequence.
14927         * stdio-common/tst-sscanf.c (double_tests2): New tests.
14928
14929 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
14930
14931         [BZ #16037]
14932         * configure.ac: allow GNU Make 4.0 and greater.
14933         * configure: Regenerated.
14934
14935 2013-10-30  Will Newton  <will.newton@linaro.org>
14936
14937         [BZ #16038]
14938         * malloc/hooks.c (memalign_check): Limit alignment to the
14939         maximum representable power of two.
14940         * malloc/malloc.c (__libc_memalign): Likewise.
14941         * malloc/tst-memalign.c (do_test): Add test for very
14942         large alignment values.
14943         * malloc/tst-posix_memalign.c (do_test): Likewise.
14944
14945 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
14946
14947         [BZ #11087]
14948         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
14949         (munmap_chunk): Likewise.
14950         (mremap_chunk): Likewise.
14951
14952 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
14953
14954         [BZ #15799]
14955         * stdlib/div.c (div): Remove obsolete code.
14956         * stdlib/ldiv.c (ldiv): Likewise.
14957         * stdlib/lldiv.c (lldiv): Likewise.
14958
14959 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14960
14961         [BZ #16071]
14962         * nss/nss_files/files-XXX.c (get_contents_ret): New
14963         enumerator.
14964         (get_contents): New function.
14965         (internal_getent): Use it.  Expand size of LINEBUFLEN.
14966
14967 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
14968
14969         * configure.in: Moved to ...
14970         * configure.ac: ... here. Change reference to configure.in
14971         to configure.ac.
14972         * sysdeps/arm/preconfigure.ac: ... here.
14973         configure.in to configure.ac.
14974         * sysdeps/gnu/configure.in: Moved to ...
14975         * sysdeps/gnu/configure.ac: ... here.
14976         * sysdeps/i386/configure.in: Moved to ...
14977         * sysdeps/i386/configure.ac: ... here.
14978         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
14979         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
14980         * sysdeps/mach/configure.in: Moved to ...
14981         * sysdeps/mach/configure.ac: ... here.
14982         * sysdeps/mach/hurd/configure.in: Moved to ...
14983         * sysdeps/mach/hurd/configure.ac: ... here.
14984         * sysdeps/powerpc/configure.in: Moved to ...
14985         * sysdeps/powerpc/configure.ac: ... here.
14986         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
14987         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
14988         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
14989         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
14990         * sysdeps/s390/s390-32/configure.in: Moved to ...
14991         * sysdeps/s390/s390-32/configure.ac: ... here.
14992         * sysdeps/s390/s390-64/configure.in: Moved to ...
14993         * sysdeps/s390/s390-64/configure.ac: ... here.
14994         * sysdeps/sh/configure.in: Moved to ...
14995         * sysdeps/sh/configure.ac: ... here.
14996         * sysdeps/sparc/configure.in: Moved to ...
14997         * sysdeps/sparc/configure.ac: ... here.
14998         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
14999         * sysdeps/unix/sysv/linux/configure.ac: ... here.
15000         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
15001         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
15002         * sysdeps/x86_64/configure.in: Moved to ...
15003         * sysdeps/x86_64/configure.ac: ... here.
15004         * sysdeps/x86_64/preconfigure.in: Moved to ...
15005         * sysdeps/x86_64/preconfigure.ac: ... here.
15006         * aclocal.m4: Change reference to configure.in to configure.ac.
15007         * config.h.in: Likewise.
15008         * manual/install.texi: Likewise.
15009         * manual/maint.texi: Likewise.
15010         * Makefile: Likewise.
15011         * malloc/Makefile: Likewise.
15012         * nscd/Makefile: Likewise.
15013         * Makeconfig: Change reference to configure.in and
15014         preconfigure.in to configure.ac and preconfigure.ac
15015         respectively.
15016         * INSTALL: Regenerated.
15017         * configure: Likewise.
15018         * sysdeps/gnu/configure: Likewise.
15019         * sysdeps/i386/configure: Likewise.
15020         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
15021         * sysdeps/mach/configure: Likewise.
15022         * sysdeps/mach/hurd/configure: Likewise.
15023         * sysdeps/powerpc/configure: Likewise.
15024         * sysdeps/powerpc/powerpc32/configure: Likewise.
15025         * sysdeps/powerpc/powerpc64/configure: Likewise.
15026         * sysdeps/s390/s390-32/configure: Likewise.
15027         * sysdeps/s390/s390-64/configure: Likewise.
15028         * sysdeps/sh/configure: Likewise.
15029         * sysdeps/sparc/configure: Likewise.
15030         * sysdeps/unix/sysv/linux/configure: Likewise.
15031         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
15032         * sysdeps/x86_64/configure: Likewise.
15033         * sysdeps/x86_64/preconfigure: Likewise.
15034
15035 2013-10-29  Andreas Schwab  <schwab@suse.de>
15036
15037         * stdio-common/Makefile (tst-swscanf-ENV): Define.
15038
15039 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15040
15041         * benchtests/pow-inputs: Add new inputs.
15042
15043         * benchtests/exp-inputs: Add new inputs.
15044
15045         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
15046         conditional check for return value.
15047         (__cos32): Likewise.
15048
15049 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15050
15051         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
15052         to provide a boost for large inputs with word alignment.
15053         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
15054         implementation based on optimized PPC64 strcpy.
15055         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15056         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15057         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15058         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15059
15060 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15061
15062         [BZ #2801]
15063         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15064
15065 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15066
15067         [BZ #14876]
15068         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15069         * time/tst-strptime.c (day_tests): Add testcase.
15070
15071 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
15072
15073         [BZ #14029]
15074         * manual/pattern.texi: Acknowledge that fnmatch can fail.
15075
15076 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
15077
15078         [BZ #16074]
15079         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15080         MAP_FAILED on error.
15081
15082 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15083
15084         [BZ #16072]
15085         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
15086         heap for large requests.
15087
15088 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
15089
15090         [BZ #9954]
15091         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15092         result if the result has no associated interface.
15093         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15094         interface for all 127.X.Y.Z addresses.
15095
15096 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
15097
15098         * locale/iso-639.def: Add Ligurian (lij)
15099
15100 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
15101
15102         [BZ #15825]
15103         * sunrpc/rpc_main.c: Document rpcgen -5.
15104
15105 2013-10-19  Michael Stahl  <mstahl@redhat.com>
15106
15107         * elf/rtld.c (do_preload): Print the reason why preloading failed.
15108
15109 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
15110
15111         [BZ #10278]
15112         * posix/glob.c: Match only directories when trailing slash is present.
15113         * posix/tst-gnuglob.c (my_opendir): Do not open files.
15114         (main): Add testcase.
15115
15116 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
15117
15118         [BZ #15670]
15119         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15120
15121 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
15122
15123         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15124         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15125         AUTH_DES and cindex for FIPS 140-2.
15126         (DES Encryption): Add cindex FIPS 46-3.
15127
15128         * locale/locarchive.h (struct locarhandle): Add fname.
15129         * locale/programs/localedef.c (main): Pass ARGV[remaining]
15130         if an optional argument was specified to --list-archive,
15131         otherwise NULL.
15132         * locale/programs/locarchive.c (show_archive_content): Take new
15133         argument fname and pass it via ah.fname to open_archive.
15134         * locale/programs/localedef.h: Update decl.
15135         (open_archive): If AH->fname is non-null, open that file
15136         rather than the default file name, and don't ignore ENOENT.
15137         (create_archive): Set AH.fname to NULL.
15138         (delete_locales_from_archive): Likewise.
15139         (add_locales_to_archive): Likewise.
15140         * locale/programs/locfile.c (write_all_categories): Likewise.
15141
15142 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
15143             Aldy Hernandez  <aldyh@redhat.com>
15144
15145         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15146         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15147         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15148         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15149         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15150         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15151         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15152         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15153         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15154         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15155         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15156         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15157         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15158         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15159         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15160         Likewise.
15161         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15162         Likewise.
15163         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15164         Likewise.
15165         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15166         Likewise.
15167         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15168         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15169         Likewise.
15170         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15171         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15172         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15173         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15174         Likewise.
15175         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15176         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15177         * sysdeps/powerpc/preconfigure: Likewise.
15178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15179         Likewise.
15180         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15181         Replace contents of file by #include of <fenv_libc.h>.
15182         * sysdeps/powerpc/soft-fp/sfp-machine.h
15183         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15184         and <sys/prctl.h>.
15185         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15186         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15187         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15188         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15189         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15190         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15191         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15192         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15193         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15194         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15195         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15196         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15198         Allow copysignl PLT reference to be missing.
15199
15200 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
15201             Joseph Myers  <joseph@codesourcery.com
15202
15203         [BZ #15948]
15204         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
15205         single character.
15206         (add_to_tablewc): Assert sequence of wide characters is nonempty.
15207
15208 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15209
15210         * elf/tst-tls-dlinfo.c: Don't include tls.h.
15211         * elf/tst-tls1.c: Likewise.
15212         * elf/tst-tls10.h: Likewise.
15213         * elf/tst-tls14.c: Likewise.
15214         * elf/tst-tls2.c: Likewise.
15215         * elf/tst-tls3.c: Likewise.
15216         * elf/tst-tls4.c: Likewise.
15217         * elf/tst-tls5.c: Likewise.
15218         * elf/tst-tls6.c: Likewise.
15219         * elf/tst-tls7.c: Likewise.
15220         * elf/tst-tls8.c: Likewise.
15221         * elf/tst-tls9.c: Likewise.
15222         * elf/tst-tlsmod1.c: Likewise.
15223         * elf/tst-tlsmod13.c: Likewise.
15224         * elf/tst-tlsmod13a.c: Likewise.
15225         * elf/tst-tlsmod14a.c: Likewise.
15226         * elf/tst-tlsmod16a.c: Likewise.
15227         * elf/tst-tlsmod16b.c: Likewise.
15228         * elf/tst-tlsmod2.c: Likewise.
15229         * elf/tst-tlsmod3.c: Likewise.
15230         * elf/tst-tlsmod4.c: Likewise.
15231         * elf/tst-tlsmod5.c: Likewise.
15232         * elf/tst-tlsmod6.c: Likewise.
15233
15234 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
15235
15236         [BZ #12486]
15237         * malloc/malloc.c: remove checks for statistics.
15238
15239 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
15240
15241         [BZ #15277]
15242         * inet/inet_net.c (inet_network): Detect additional invalid strings.
15243         * inet/tst-network.c: Add testcase.
15244
15245 2013-10-17  Andreas Schwab  <schwab@suse.de>
15246
15247         [BZ #15218]
15248         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15249         to determine canonical name.
15250
15251 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
15252
15253         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15254         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15255         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15256         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15257         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15258         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15259         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15260         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15261         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15262         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15263         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15264         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15265         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15266         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15267         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15268         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15269         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15270         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15271         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15272         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15273         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15274         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15275         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15276         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15277         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15278         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15279         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15280         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15281         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15282         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15283         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15284         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15285         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15286         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15287         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15288         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15289         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15290         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15291         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15292         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15293         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15294         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15295         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15296         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15297         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15298         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15299         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15300         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15301         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15302         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15303         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15304         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15305         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15306         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15307         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15308         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15309         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15310         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15311
15312 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
15313
15314         [BZ #16041]
15315         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15316         make result into a quiet NaN.
15317
15318 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
15319
15320         * soft-fp/adddf3.c: Fix horizontal whitespace.
15321         * soft-fp/addsf3.c: Likewise.
15322         * soft-fp/addtf3.c: Likewise.
15323         * soft-fp/divdf3.c: Likewise.
15324         * soft-fp/divsf3.c: Likewise.
15325         * soft-fp/divtf3.c: Likewise.
15326         * soft-fp/double.h: Likewise.
15327         * soft-fp/eqdf2.c: Likewise.
15328         * soft-fp/eqsf2.c: Likewise.
15329         * soft-fp/eqtf2.c: Likewise.
15330         * soft-fp/extenddftf2.c: Likewise.
15331         * soft-fp/extended.h: Likewise.
15332         * soft-fp/extendsfdf2.c: Likewise.
15333         * soft-fp/extendsftf2.c: Likewise.
15334         * soft-fp/extendxftf2.c: Likewise.
15335         * soft-fp/fixdfdi.c: Likewise.
15336         * soft-fp/fixdfsi.c: Likewise.
15337         * soft-fp/fixdfti.c: Likewise.
15338         * soft-fp/fixsfdi.c: Likewise.
15339         * soft-fp/fixsfsi.c: Likewise.
15340         * soft-fp/fixsfti.c: Likewise.
15341         * soft-fp/fixtfdi.c: Likewise.
15342         * soft-fp/fixtfsi.c: Likewise.
15343         * soft-fp/fixtfti.c: Likewise.
15344         * soft-fp/fixunsdfdi.c: Likewise.
15345         * soft-fp/fixunsdfsi.c: Likewise.
15346         * soft-fp/fixunsdfti.c: Likewise.
15347         * soft-fp/fixunssfdi.c: Likewise.
15348         * soft-fp/fixunssfsi.c: Likewise.
15349         * soft-fp/fixunssfti.c: Likewise.
15350         * soft-fp/fixunstfdi.c: Likewise.
15351         * soft-fp/fixunstfsi.c: Likewise.
15352         * soft-fp/fixunstfti.c: Likewise.
15353         * soft-fp/floatdidf.c: Likewise.
15354         * soft-fp/floatdisf.c: Likewise.
15355         * soft-fp/floatditf.c: Likewise.
15356         * soft-fp/floatsidf.c: Likewise.
15357         * soft-fp/floatsisf.c: Likewise.
15358         * soft-fp/floatsitf.c: Likewise.
15359         * soft-fp/floattidf.c: Likewise.
15360         * soft-fp/floattisf.c: Likewise.
15361         * soft-fp/floattitf.c: Likewise.
15362         * soft-fp/floatundidf.c: Likewise.
15363         * soft-fp/floatundisf.c: Likewise.
15364         * soft-fp/floatunditf.c: Likewise.
15365         * soft-fp/floatunsidf.c: Likewise.
15366         * soft-fp/floatunsisf.c: Likewise.
15367         * soft-fp/floatunsitf.c: Likewise.
15368         * soft-fp/floatuntidf.c: Likewise.
15369         * soft-fp/floatuntisf.c: Likewise.
15370         * soft-fp/floatuntitf.c: Likewise.
15371         * soft-fp/fmadf4.c: Likewise.
15372         * soft-fp/fmasf4.c: Likewise.
15373         * soft-fp/fmatf4.c: Likewise.
15374         * soft-fp/gedf2.c: Likewise.
15375         * soft-fp/gesf2.c: Likewise.
15376         * soft-fp/getf2.c: Likewise.
15377         * soft-fp/ledf2.c: Likewise.
15378         * soft-fp/lesf2.c: Likewise.
15379         * soft-fp/letf2.c: Likewise.
15380         * soft-fp/muldf3.c: Likewise.
15381         * soft-fp/mulsf3.c: Likewise.
15382         * soft-fp/multf3.c: Likewise.
15383         * soft-fp/negdf2.c: Likewise.
15384         * soft-fp/negsf2.c: Likewise.
15385         * soft-fp/negtf2.c: Likewise.
15386         * soft-fp/op-1.h: Likewise.
15387         * soft-fp/op-2.h: Likewise.
15388         * soft-fp/op-4.h: Likewise.
15389         * soft-fp/op-8.h: Likewise.
15390         * soft-fp/op-common.h: Likewise.
15391         * soft-fp/quad.h: Likewise.
15392         * soft-fp/single.h: Likewise.
15393         * soft-fp/soft-fp.h: Likewise.
15394         * soft-fp/sqrtdf2.c: Likewise.
15395         * soft-fp/sqrtsf2.c: Likewise.
15396         * soft-fp/sqrttf2.c: Likewise.
15397         * soft-fp/subdf3.c: Likewise.
15398         * soft-fp/subsf3.c: Likewise.
15399         * soft-fp/subtf3.c: Likewise.
15400         * soft-fp/truncdfsf2.c: Likewise.
15401         * soft-fp/trunctfdf2.c: Likewise.
15402         * soft-fp/trunctfsf2.c: Likewise.
15403         * soft-fp/trunctfxf2.c: Likewise.
15404         * soft-fp/unorddf2.c: Likewise.
15405         * soft-fp/unordsf2.c: Likewise.
15406         * soft-fp/unordtf2.c: Likewise.
15407
15408 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
15409
15410         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15411         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15412
15413 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
15414
15415         * elf/dl-libc.c: Clear initfini list after freeing.
15416
15417 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
15418
15419         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15420         * soft-fp/addsf3.c: Likewise.
15421         * soft-fp/addtf3.c: Likewise.
15422         * soft-fp/divdf3.c: Likewise.
15423         * soft-fp/divsf3.c: Likewise.
15424         * soft-fp/divtf3.c: Likewise.
15425         * soft-fp/double.h: Likewise.
15426         * soft-fp/eqdf2.c: Likewise.
15427         * soft-fp/eqsf2.c: Likewise.
15428         * soft-fp/eqtf2.c: Likewise.
15429         * soft-fp/extenddftf2.c: Likewise.
15430         * soft-fp/extended.h: Likewise.
15431         * soft-fp/extendsfdf2.c: Likewise.
15432         * soft-fp/extendsftf2.c: Likewise.
15433         * soft-fp/extendxftf2.c: Likewise.
15434         * soft-fp/fixdfdi.c: Likewise.
15435         * soft-fp/fixdfsi.c: Likewise.
15436         * soft-fp/fixdfti.c: Likewise.
15437         * soft-fp/fixsfdi.c: Likewise.
15438         * soft-fp/fixsfsi.c: Likewise.
15439         * soft-fp/fixsfti.c: Likewise.
15440         * soft-fp/fixtfdi.c: Likewise.
15441         * soft-fp/fixtfsi.c: Likewise.
15442         * soft-fp/fixtfti.c: Likewise.
15443         * soft-fp/fixunsdfdi.c: Likewise.
15444         * soft-fp/fixunsdfsi.c: Likewise.
15445         * soft-fp/fixunsdfti.c: Likewise.
15446         * soft-fp/fixunssfdi.c: Likewise.
15447         * soft-fp/fixunssfsi.c: Likewise.
15448         * soft-fp/fixunssfti.c: Likewise.
15449         * soft-fp/fixunstfdi.c: Likewise.
15450         * soft-fp/fixunstfsi.c: Likewise.
15451         * soft-fp/fixunstfti.c: Likewise.
15452         * soft-fp/floatdidf.c: Likewise.
15453         * soft-fp/floatdisf.c: Likewise.
15454         * soft-fp/floatditf.c: Likewise.
15455         * soft-fp/floatsidf.c: Likewise.
15456         * soft-fp/floatsisf.c: Likewise.
15457         * soft-fp/floatsitf.c: Likewise.
15458         * soft-fp/floattidf.c: Likewise.
15459         * soft-fp/floattisf.c: Likewise.
15460         * soft-fp/floattitf.c: Likewise.
15461         * soft-fp/floatundidf.c: Likewise.
15462         * soft-fp/floatundisf.c: Likewise.
15463         * soft-fp/floatunsidf.c: Likewise.
15464         * soft-fp/floatunsisf.c: Likewise.
15465         * soft-fp/floatuntidf.c: Likewise.
15466         * soft-fp/floatuntisf.c: Likewise.
15467         * soft-fp/floatuntitf.c: Likewise.
15468         * soft-fp/fmadf4.c: Likewise.
15469         * soft-fp/fmasf4.c: Likewise.
15470         * soft-fp/fmatf4.c: Likewise.
15471         * soft-fp/gedf2.c: Likewise.
15472         * soft-fp/gesf2.c: Likewise.
15473         * soft-fp/getf2.c: Likewise.
15474         * soft-fp/ledf2.c: Likewise.
15475         * soft-fp/lesf2.c: Likewise.
15476         * soft-fp/letf2.c: Likewise.
15477         * soft-fp/muldf3.c: Likewise.
15478         * soft-fp/mulsf3.c: Likewise.
15479         * soft-fp/multf3.c: Likewise.
15480         * soft-fp/negdf2.c: Likewise.
15481         * soft-fp/negsf2.c: Likewise.
15482         * soft-fp/negtf2.c: Likewise.
15483         * soft-fp/op-1.h: Likewise.
15484         * soft-fp/op-2.h: Likewise.
15485         * soft-fp/op-4.h: Likewise.
15486         * soft-fp/op-8.h: Likewise.
15487         * soft-fp/op-common.h: Likewise.
15488         * soft-fp/quad.h: Likewise.
15489         * soft-fp/single.h: Likewise.
15490         * soft-fp/soft-fp.h: Likewise.
15491         * soft-fp/sqrtdf2.c: Likewise.
15492         * soft-fp/sqrtsf2.c: Likewise.
15493         * soft-fp/sqrttf2.c: Likewise.
15494         * soft-fp/subdf3.c: Likewise.
15495         * soft-fp/subsf3.c: Likewise.
15496         * soft-fp/subtf3.c: Likewise.
15497         * soft-fp/truncdfsf2.c: Likewise.
15498         * soft-fp/trunctfdf2.c: Likewise.
15499         * soft-fp/trunctfsf2.c: Likewise.
15500         * soft-fp/trunctfxf2.c: Likewise.
15501         * soft-fp/unorddf2.c: Likewise.
15502         * soft-fp/unordsf2.c: Likewise.
15503         * soft-fp/unordtf2.c: Likewise.
15504
15505 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
15506
15507         [BZ #15672]
15508         * misc/error.c (error_tail): Fix possible buffer overflow.
15509
15510 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
15511
15512         [BZ #13028]
15513         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15514         address.
15515
15516 2013-10-14  P. J. McDermott  <pj@pehjota.net>
15517
15518         [BZ #832]
15519         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
15520         testing pipefail option.
15521
15522 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
15523
15524         * soft-fp/double.h: Indent preprocessor directives inside #if.
15525         * soft-fp/extended.h: Likewise.
15526         * soft-fp/op-2.h: Likewise.
15527         * soft-fp/op-4.h: Likewise.
15528         * soft-fp/op-common.h: Likewise.
15529         * soft-fp/quad.h: Likewise.
15530         * soft-fp/single.h: Likewise.
15531         * soft-fp/soft-fp.h: Likewise.
15532
15533 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
15534
15535         * iconv/iconv_prog.c: Fix typos.
15536         * stdio-common/psiginfo-data.h: Likewise.
15537
15538 2013-10-12   Reuben Thomas <rrt@sc3d.org>
15539
15540         [BZ #15764]
15541         * locale/setlocale.c: Fix typo.
15542
15543 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
15544
15545         [BZ #16036]
15546         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
15547         signaling NaN arguments.
15548         * soft-fp/unordsf2.c (__unordsf2): Likewise.
15549         * soft-fp/unordtf2.c (__unordtf2): Likewise.
15550
15551         [BZ #14910]
15552         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
15553         unordered operands.
15554         * soft-fp/gesf2.c (__gesf2): Likewise.
15555         * soft-fp/getf2.c (__getf2): Likewise.
15556         * soft-fp/ledf2.c (__ledf2): Likewise.
15557         * soft-fp/lesf2.c (__lesf2): Likewise.
15558         * soft-fp/letf2.c (__letf2): Likewise.
15559
15560         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
15561         * soft-fp/eqsf2.c (__eqsf2): Likewise.
15562         * soft-fp/eqtf2.c (__eqtf2): Likewise.
15563         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
15564         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
15565         * soft-fp/fixdfti.c (__fixdfti): Likewise.
15566         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
15567         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
15568         * soft-fp/fixsfti.c (__fixsfti): Likewise.
15569         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
15570         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
15571         * soft-fp/fixtfti.c (__fixtfti): Likewise.
15572         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
15573         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
15574         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
15575         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
15576         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
15577         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
15578         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
15579         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
15580         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
15581         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
15582         * soft-fp/floatdisf.c (__floatdisf): Likewise.
15583         * soft-fp/floatsisf.c (__floatsisf): Likewise.
15584         * soft-fp/floattidf.c (__floattidf): Likewise.
15585         * soft-fp/floattisf.c (__floattisf): Likewise.
15586         * soft-fp/floattitf.c (__floattitf): Likewise.
15587         * soft-fp/floatundidf.c (__floatundidf): Likewise.
15588         * soft-fp/floatundisf.c (__floatundisf): Likewise.
15589         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
15590         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
15591         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
15592         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
15593         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
15594         * soft-fp/gesf2.c (__gesf2): Likewise.
15595         * soft-fp/getf2.c (__getf2): Likewise.
15596         * soft-fp/ledf2.c (__ledf2): Likewise.
15597         * soft-fp/lesf2.c (__lesf2): Likewise.
15598         * soft-fp/letf2.c (__letf2): Likewise.
15599
15600         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
15601         Undefine and redefine.
15602         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
15603         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
15604         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
15605         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
15606         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15607         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
15608         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15609         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
15610         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15611         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
15612         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15613         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
15614         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15615         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
15616         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15617
15618         [BZ #16032]
15619         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
15620         without decrementing exponent if mantissa >= that for the
15621         denominator, not >.
15622         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
15623         denominator, not >.  Decrement exponent in < case instead of
15624         incrementing in >= case.
15625         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
15626         without decrementing exponent if mantissa >= that for the
15627         denominator, not >.
15628
15629         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
15630         computing saturated result for unsigned overflow.
15631
15632 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15633             Jeff Law  <law@redhat.com>
15634
15635         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
15636         (atan2Mp): Add systemtap probe marker.
15637         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
15638         (__ieee754_log): Add systemtap probe marker.
15639         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
15640         (atanMp): Add systemtap probe marker.
15641         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
15642         (tanMp): Add systemtap probe marker.
15643         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
15644         (__slowexp): Add systemtap probe marker.
15645         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
15646         (__slowpow): Add systemtap probe marker.
15647         * manual/probes.texi: Document probes.
15648
15649 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
15650
15651         [BZ #15362]
15652         * libio/fileops.c (_IO_new_file_write): Return count of bytes
15653         written.
15654         (_IO_new_file_xsputn): Don't return EOF if nothing has been
15655         written.
15656         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
15657         written to buffer but not flushed.
15658         * libio/iofwrite_u.c:  Likewise.
15659         * libio/iopadn.c:  Return bytes returned even if EOF was
15660         encountered.
15661         * libio/iowpadn.c:  Likewise.
15662         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
15663         if _IO_padn does not write the whole buffer.
15664         [!COMPILE_WPRINTF] (PAD): Likewise.
15665
15666 2013-10-10  David S. Miller  <davem@davemloft.net>
15667
15668         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
15669         directory block.
15670
15671 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
15672
15673         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
15674         instead of FSF address.
15675         * soft-fp/fixdfti.c: Likewise.
15676         * soft-fp/fixsfti.c: Likewise.
15677         * soft-fp/fixtfti.c: Likewise.
15678         * soft-fp/fixunsdfti.c: Likewise.
15679         * soft-fp/fixunssfti.c: Likewise.
15680         * soft-fp/fixunstfti.c: Likewise.
15681         * soft-fp/floattidf.c: Likewise.
15682         * soft-fp/floattisf.c: Likewise.
15683         * soft-fp/floattitf.c: Likewise.
15684         * soft-fp/floatuntidf.c: Likewise.
15685         * soft-fp/floatuntisf.c: Likewise.
15686         * soft-fp/floatuntitf.c: Likewise.
15687         * soft-fp/trunctfxf2.c: Likewise.
15688
15689         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
15690         * soft-fp/fixdfti.c: Likewise.
15691         * soft-fp/fixsfti.c: Likewise.
15692         * soft-fp/fixtfti.c: Likewise.
15693         * soft-fp/fixunsdfti.c: Likewise.
15694         * soft-fp/fixunssfti.c: Likewise.
15695         * soft-fp/fixunstfti.c: Likewise.
15696         * soft-fp/floattidf.c: Likewise.
15697         * soft-fp/floattisf.c: Likewise.
15698         * soft-fp/floattitf.c: Likewise.
15699         * soft-fp/floatuntidf.c: Likewise.
15700         * soft-fp/floatuntisf.c: Likewise.
15701         * soft-fp/floatuntitf.c: Likewise.
15702         * soft-fp/trunctfxf2.c: Likewise.
15703
15704 2013-10-10  David S. Miller  <davem@davemloft.net>
15705
15706         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15707
15708 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
15709
15710         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15711         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
15712         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
15713         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
15714         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
15715         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
15716         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
15717
15718         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
15719         for NaNs before doing comparisons on argument.
15720         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15721         Likewise.
15722
15723 2013-10-10  Will Newton  <will.newton@linaro.org>
15724
15725         * malloc/hooks.c (memalign_check): Ensure the value of bytes
15726         passed to _int_memalign does not overflow.
15727
15728 2013-10-10  Torvald Riegel  <triegel@redhat.com>
15729
15730         * scripts/bench.pl: Add include-sources directive.
15731         * benchtests/README: Update documentation.
15732
15733 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
15734
15735         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
15736         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
15737         instead of FP_INIT_ROUNDMODE.
15738         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
15739         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
15740
15741         [BZ #16034]
15742         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
15743         copy class of input value.
15744         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
15745         not handle exceptions.
15746         * soft-fp/negsf2.c (__negsf2): Likewise.
15747         * soft-fp/negtf2.c (__negtf2): Likewise.
15748         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
15749
15750 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
15751
15752         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
15753         semicolon.  From Linux kernel.
15754
15755 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
15756
15757         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
15758
15759 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
15760
15761         [BZ #156]
15762         * manual/socket.texi: Added statement about buffer
15763         for gethostbyname2_r.
15764
15765 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
15766
15767         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
15768         Use .p2align directive instead, throughout.
15769         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15770         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15771         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15772         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15773         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15774         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15775         * sysdeps/x86_64/strchr.S: Likewise.
15776         * sysdeps/x86_64/strrchr.S: Likewise.
15777
15778 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15779
15780         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
15781
15782         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
15783
15784         * sysdeps/generic/math_private.h (__mpsin1): Remove
15785         declaration.
15786         (__mpcos1): Likewise.
15787         (__mpsin): New argument __range_reduce.
15788         (__mpcos): Likewise.
15789         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15790         (slow): Use __mpsin and __mpcos.
15791         (slow1): Likewise.
15792         (slow2): Likewise.
15793         (sloww): Likewise.
15794         (sloww1): Likewise.
15795         (sloww2): Likewise.
15796         (bsloww): Likewise.
15797         (bsloww1): Likewise.
15798         (bsloww2): Likewise.
15799         (cslow2): Likewise.
15800         (csloww): Likewise.
15801         (csloww1): Likewise.
15802         (csloww2): Likewise.
15803         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15804         range_reduce.  Merge in __mpsin1.
15805         (__mpcos): Likewise.
15806         (__mpsin1): Remove.
15807         (__mpcos1): Likewise.
15808
15809 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
15810
15811         * locale/loadlocale.c (_nl_intern_locale_data): Use
15812         LOCFILE_ALIGNED_P.
15813         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15814         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15815         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15816         obstack data is appropriately aligned.
15817         (obstack_int32_grow_fast): Likewise.
15818         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15819         * locale/programs/locfile.c (add_locale_uint32): Likewise.
15820         (add_locale_uint32_array): Likewise.
15821
15822 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
15823
15824         * benchtests/Makefile: Remove ARGLIST and RET variables.
15825         ($(objpfx)bench-%.c): Pass only function name to the script.
15826         * benchtests/README: Update documentation.
15827         * benchtests/acos-inputs: Add new directives.
15828         * benchtests/acosh-inputs: Likewise.
15829         * benchtests/asin-inputs: Likewise.
15830         * benchtests/asinh-inputs: Likewise.
15831         * benchtests/atan-inputs: Likewise.
15832         * benchtests/atanh-inputs: Likewise.
15833         * benchtests/cos-inputs: Likewise.
15834         * benchtests/cosh-inputs: Likewise.
15835         * benchtests/exp-inputs: Likewise.
15836         * benchtests/log-inputs: Likewise.
15837         * benchtests/pow-inputs: Likewise.
15838         * benchtests/rint-inputs: Likewise.
15839         * benchtests/sin-inputs: Likewise.
15840         * benchtests/sinh-inputs: Likewise.
15841         * benchtests/tan-inputs: Likewise.
15842         * benchtests/tanh-inputs: Likewise.
15843         * scripts/bench.pl: Add support for new directives.
15844
15845 2013-10-07  Alan Modra  <amodra@gmail.com>
15846
15847         * README: Fix careless merge.
15848
15849 2013-10-05  Alan Modra  <amodra@gmail.com>
15850
15851         * NEWS: Mention powerpc64le support and bugs fixed.
15852         * README: Both big-endian and little-endian powerpc64 supported.
15853
15854 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15855
15856         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
15857         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
15858         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
15859         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
15860
15861 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
15862
15863         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
15864         match prototype.
15865
15866 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
15867
15868         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
15869         Move -mhard-float appending from
15870         ports/sysdeps/powerpc/powerpc32/Makefile.
15871         [$(with-fp) = yes] (ASFLAGS): Likewise.
15872         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
15873         * sysdeps/powerpc/nofpu: Move directory from
15874         ports/sysdeps/powerpc/nofpu.
15875         * sysdeps/powerpc/soft-fp: Move directory from
15876         ports/sysdeps/powerpc/soft-fp.
15877         * sysdeps/powerpc/powerpc32/405: Move directory from
15878         ports/sysdeps/powerpc/powerpc32/405.
15879         * sysdeps/powerpc/powerpc32/440: Move directory from
15880         ports/sysdeps/powerpc/powerpc32/440.
15881         * sysdeps/powerpc/powerpc32/464: Move directory from
15882         ports/sysdeps/powerpc/powerpc32/464.
15883         * sysdeps/powerpc/powerpc32/476: Move directory from
15884         ports/sysdeps/powerpc/powerpc32/476.
15885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
15886         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
15887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
15888         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
15889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
15890         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
15891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
15892         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
15893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
15894         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
15895         * README: Update for powerpc-*-linux-gnu software floating point
15896         support in libc.
15897
15898         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
15899         case to powerpc/powerpc32*.
15900         * sysdeps/unix/sysv/linux/configure: Regenerated.
15901
15902         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
15903         (_FPU_MASK_OM): Define as 0x04.
15904         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
15905         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
15906         0x00c10080.
15907         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
15908         0x0000003c.
15909         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
15910
15911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
15912         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15913         getcontext_e500.
15914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
15915         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
15916         setcontext_e500.
15917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
15918         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
15919         and setcontext_e500.
15920
15921 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
15922
15923         * locale/iso-3166.def: Update iso-1366.def and related occurrences
15924
15925 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
15926
15927         * manual/threads.texi (Default Thread Attributes): Fix typo.
15928
15929 2013-10-04  Will Newton  <will.newton@linaro.org>
15930
15931         * malloc/Makefile: Add tst-memalign.
15932         * malloc/tst-memalign.c: New file.
15933
15934         * malloc/tst-posix_memalign.c: Add comments.
15935         (do_test): Add comments and call free on all potentially
15936         allocated pointers. Add space after cast.
15937
15938         * malloc/tst-pvalloc.c: Add comments.
15939         (do_test): Add comments and call free on all potentially
15940         allocated pointers. Remove duplicate check for NULL pointer.
15941         Add space after cast.
15942
15943         * malloc/tst-valloc.c: Add comments.
15944         (do_test): Add comments and call free on all potentially
15945         allocated pointers. Remove duplicate check for NULL pointer.
15946         Add space after cast.
15947
15948 2013-10-04  Alan Modra  <amodra@gmail.com>
15949
15950         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15951         Use stdint types in rather than __attribute__((mode())).
15952         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15953
15954 2013-10-04  Alan Modra  <amodra@gmail.com>
15955
15956         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15957         Correct handling of unaligned relocs for little-endian.
15958         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15959
15960 2013-10-04  Alan Modra  <amodra@gmail.com>
15961
15962         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
15963         * configure: Regenerate.
15964         * nptl/shlib-versions: Powerpc*le starts at 2.18.
15965         * shlib-versions: Likewise.
15966
15967 2013-10-04  Alan Modra  <amodra@gmail.com>
15968
15969         * string/tester.c (test_memrchr): Increment reported test cycle.
15970
15971 2013-10-04  Alan Modra  <amodra@gmail.com>
15972
15973         * string/test-memcpy.c (do_one_test): When reporting errors, print
15974         string address and don't overrun end of string.
15975
15976 2013-10-04  Alan Modra  <amodra@gmail.com>
15977
15978         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
15979         insrdi.  Make better use of reg selection to speed exit slightly.
15980         Schedule entry path a little better.  Remove useless "are we done"
15981         checks on entry to main loop.  Handle wrapping around zero address.
15982         Correct main loop count.  Handle single left-over word from main
15983         loop inline rather than by using loop_small.  Remove extra word
15984         case in loop_small caused by wrong loop count.  Add little-endian
15985         support.
15986         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
15987         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
15988         cache hint.
15989         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
15990         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
15991         support.  Avoid rlwimi.
15992         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
15993
15994 2013-10-04  Alan Modra  <amodra@gmail.com>
15995
15996         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
15997         insrdi.  Formatting.
15998         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
15999         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16000         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16001         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16002         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16003         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
16004
16005 2013-10-04  Alan Modra  <amodra@gmail.com>
16006
16007         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
16008         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16009         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16010         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16011         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16012         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16013         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16014         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16015         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
16016         use of regs.  Use power7 mtocrf.  Tidy function tails.
16017
16018 2013-10-04  Alan Modra  <amodra@gmail.com>
16019
16020         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
16021         Formatting.  Consistently use rXXX register defines or rN defines.
16022         Use early exit labels that avoid restoring unused non-volatile regs.
16023         Make cr field use more consistent with rWORDn compares.  Rename
16024         regs used as shift registers for unaligned loop, using rN defines
16025         for short lifetime/multiple use regs.
16026         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16027         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
16028         addi 1,1,64 to pop stack frame.  Simplify return value code.
16029         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16030
16031 2013-10-04  Alan Modra  <amodra@gmail.com>
16032
16033         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
16034         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
16035         rather than rlwimi.
16036         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
16037         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16038         little-endian support.  Correct typos.
16039         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
16040         rather than rlwimi.
16041         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
16042         in loop and entry code to keep "and." results.
16043         (strchr): Add little-endian support.  Comment.  Move cntlzd
16044         earlier in tail.
16045         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
16046
16047 2013-10-04  Alan Modra  <amodra@gmail.com>
16048
16049         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
16050         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
16051         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16052         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
16053
16054 2013-10-04  Alan Modra  <amodra@gmail.com>
16055
16056         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16057         (rTMP): Define as r11.
16058         (strcmp): Add little-endian support.  Optimise tail.
16059         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16060         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16061         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16062         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16063         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16064         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16065         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16066
16067 2013-10-04  Alan Modra  <amodra@gmail.com>
16068
16069         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16070         little-endian support.  Remove unnecessary "are we done" tests.
16071         Handle "s" wrapping around zero and extremely large "size".
16072         Correct main loop count.  Handle single left-over word from main
16073         loop inline rather than by using small_loop.  Correct comments.
16074         Delete "zero" tail, use "end_max" instead.
16075         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16076
16077 2013-10-04  Alan Modra  <amodra@gmail.com>
16078
16079         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16080         support.  Don't branch over align.
16081         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
16082         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
16083         support.  Rearrange tmp reg use to suit.  Comment.
16084         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
16085
16086 2013-10-04  Alan Modra  <amodra@gmail.com>
16087
16088         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16089
16090 2013-10-04  Alan Modra  <amodra@gmail.com>
16091
16092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16093         conditional form of branch and link when obtaining pc.
16094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16095
16096 2013-10-04  Alan Modra  <amodra@gmail.com>
16097
16098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16099         HIWORD/LOWORD.
16100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16102
16103 2013-10-04  Alan Modra  <amodra@gmail.com>
16104
16105         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16106         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16107         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16108         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16109         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16110         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16111         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16112         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16113         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16114         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16115
16116 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16117             Alistair Popple <alistair@ozlabs.au.ibm.com>
16118             Alan Modra <amodra@gmail.com>
16119
16120         [BZ #15723]
16121         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16122         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16123         _dl_hwcap access for little-endian.
16124         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
16125         destroy vmx regs when saving unaligned.
16126         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16127         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
16128         destroy vmx regs when saving unaligned.
16129
16130 2013-10-04  Alan Modra  <amodra@gmail.com>
16131
16132         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16133         Don't use a union to pack hi/low value.
16134
16135 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16136
16137         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16138         for little-endian.
16139         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16140         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16141         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16142         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16143         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16144
16145 2013-10-04  Alan Modra  <amodra@gmail.com>
16146
16147         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16148         constants to usual value for .cst8 section, and remove redundant
16149         high address load.
16150         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16151         constant for 0x1p52.  Load little-endian words of double from
16152         correct stack offsets.
16153
16154 2013-10-04  Alan Modra  <amodra@gmail.com>
16155
16156         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16157         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16158         words of double from correct stack offsets.
16159         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16160         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16161         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16162         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16163         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16164         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16165         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16166         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16167         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16168         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16169         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16170         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16171         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16172         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16173         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16174         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16175         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16176
16177 2013-10-04  Alan Modra  <amodra@gmail.com>
16178
16179         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16180         64-bit int/double union.
16181         (_FPU_SETCW): Likewise.
16182         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16183         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16184
16185 2013-10-04  Alan Modra  <amodra@gmail.com>
16186
16187         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16188         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16189
16190 2013-10-04  Alan Modra  <amodra@gmail.com>
16191
16192         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16193         use vector int constants.
16194         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16195
16196 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16197
16198         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
16199         array with long long.
16200         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
16201         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
16202         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
16203         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
16204         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
16205         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
16206         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
16207         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
16208         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
16209         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
16210         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16211         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16212         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16213
16214 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
16215
16216         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16217         (__signbit): Likewise.  Correct for little-endian.
16218         (__signbitl): Call __signbit.
16219         (lrint): Correct for little-endian.
16220         (lrintf): Call lrint.
16221
16222 2013-10-04  Alan Modra  <amodra@gmail.com>
16223
16224         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16225         union 32-bit int array member with 64-bit int array.
16226         (t515, tm256): Double rather than long double.
16227         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16228
16229 2013-10-04  Alan Modra  <amodra@gmail.com>
16230
16231         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16232         Delete.
16233         (IEEE854_LONG_DOUBLE_BIAS): Delete.
16234         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16235         version of math_ldbl.h.
16236
16237 2013-10-04  Alan Modra  <amodra@gmail.com>
16238
16239         [BZ #15734], [BZ #15735]
16240         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16241         all uses of ieee875 long double macros and unions.  Simplify test
16242         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
16243         ldbl_extract_mantissa value for ix,iy exponents.  Properly
16244         normalize after ldbl_extract_mantissa, and don't add hidden bit
16245         already handled.  Don't treat low word of ieee854 mantissa like
16246         low word of IBM long double and mask off bit when testing for
16247         zero.
16248         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16249         all uses of ieee875 long double macros and unions.  Simplify tests
16250         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
16251         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
16252         two1022, instead use their values.  Recognise that tests for large
16253         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
16254         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16255         Rewrite all uses of ieee875 long double macros and unions.  Simplify
16256         test for 0.0L and nan.  Correct negation.
16257         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16258         ieee875 long double macros and unions.  Correct output for large
16259         magnitude x.  Correct absolute value calculation.
16260         (__erfcl): Likewise.
16261         * math/libm-test.inc: Add tests for errors discovered in IBM long
16262         double versions of fmodl, remainderl, erfl and erfcl.
16263
16264 2013-10-04  Alan Modra  <amodra@gmail.com>
16265
16266         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16267         all uses of ieee854 long double macros and unions.  Simplify tests
16268         for long doubles that are fully specified by the high double.
16269         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16270         Likewise.
16271         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16272         Remove dead code too.
16273         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16274         (__ieee754_ynl): Likewise.
16275         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16276         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16277         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16278         Remove dead code too.
16279         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16280         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16281         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16282         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16283         Simplify.
16284         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16285         Simplify.
16286         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16287         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16288         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16289         Comment on variable precision.
16290         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16291         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16292         Likewise.
16293         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16294         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16295         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16296         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16297         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16298
16299 2013-10-04  Alan Modra  <amodra@gmail.com>
16300
16301         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16302         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16303         all uses of ieee854 long double macros and unions.
16304         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16305         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16306         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16307         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16308         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16309         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16310         Likewise.
16311         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16312         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16313         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16314         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16315         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16316         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16317         Simplify sign and nan test too.
16318         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16319         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16320         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16321         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16322         Likewise.
16323         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16324         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
16325         Likewise.
16326         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16327         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16328         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
16329         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
16330         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
16331         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
16332
16333 2013-10-04  Alan Modra  <amodra@gmail.com>
16334
16335         * stdio-common/printf_size.c (__printf_size): Don't use
16336         union ieee854_long_double in fpnum union.
16337         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
16338         signbit macro to retrieve sign from long double.
16339         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
16340         retrieve sign from long double.
16341         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
16342         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
16343         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
16344         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16345         * math/test-misc.c (main): Don't use union ieee854_long_double.
16346
16347 2013-10-04  Alan Modra  <amodra@gmail.com>
16348
16349         [BZ #15680]
16350         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
16351         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
16352         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
16353         calculation.  Remove unnecessary test for denormal exponent.
16354         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
16355         Correct handling of denormals.  Avoid undefined shift behaviour.
16356         Correct normalisation of low mantissa when low double is denormal.
16357         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
16358         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
16359         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
16360         Correct normalisation of low mantissa.  Test for overflow of high
16361         mantissa and normalise.
16362         (ldbl_nearbyint): Use more readable constant for two52.
16363         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
16364         (__mpn_construct_long_double): Fix test for overflow of high
16365         mantissa and correct normalisation.  Avoid undefined shift.
16366
16367 2013-10-04  Alan Modra  <amodra@gmail.com>
16368
16369         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16370         (union ibm_extended_long_double): Define as an array of ieee754_double.
16371         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
16372         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
16373         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
16374         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16375         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16376         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
16377         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16378         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16379         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16380         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
16381         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16382
16383 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
16384
16385         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
16386         page size instead of calling getpagesize.
16387
16388         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
16389         (LOCFILE_ALIGN_MASK): Likewise.
16390         (LOCFILE_ALIGN_UP): Likewise.
16391         (LOCFILE_ALIGNED_P): Likewise.
16392         * locale/programs/ld-collate.c (collate_output): Use the new
16393         macros instead of __alignof__ (int32_t).
16394         * locale/weight.h (findidx): Likewise.
16395
16396 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
16397
16398         [BZ #431]
16399         * manual/string.texi: Fix strncat and wcsncat.
16400
16401 2013-10-03  Brooks Moses  <bmoses@google.com>
16402
16403         [BZ #15915]
16404         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16405         * Makerules: ...here, and adjust associated comments.
16406
16407 2013-10-02  Will Newton  <will.newton@linaro.org>
16408
16409         * malloc/Makefile: Add tst-pvalloc.
16410         * malloc/tst-pvalloc.c: New file.
16411
16412 2013-10-02  Will Newton  <will.newton@linaro.org>
16413
16414         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16415         improve test coverage.
16416
16417 2013-10-02  Will Newton  <will.newton@linaro.org>
16418
16419         * malloc/Makefile: Add tst-posix_memalign.
16420         * malloc/tst-posix_memalign.c: New file.
16421
16422 2013-10-01  Eric Blake  <eblake@redhat.com>
16423
16424         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16425         Use __THROWNL rather than __THROW on static functions.
16426
16427 2013-09-30  Petr Machata  <pmachata@redhat.com>
16428
16429         * elf/elf.h (R_AARCH64_ABS16): New macro.
16430         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16431         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16432         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16433         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16434         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16435         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16436         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16437         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16438         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16439         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16440         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16441         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16442         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16443         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16444         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16445         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16446         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16447         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16448         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16449         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16450         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16451         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16452         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16453         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16454         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16455         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16456         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16457         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16458         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16459         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16460         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16461         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16462         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16463         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16464         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16465         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16466         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16467         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16468         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16469         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16470         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16471         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16472         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16473         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16474         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16475         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16476         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16477         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16478         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16479         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16480         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16481         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16482         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16483         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16484         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16485         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16486         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16487         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16488         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16489         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16490         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16491         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16492         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16493         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16494         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16495         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16496         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16497         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16498         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16499         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16500         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16501         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16502         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16503         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16504         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16505         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16506         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16507         (R_AARCH64_TLSDESC_LDR): Likewise.
16508         (R_AARCH64_TLSDESC_ADD): Likewise.
16509         (R_AARCH64_TLSDESC_CALL): Likewise.
16510
16511 2013-09-30  Andreas Schwab  <schwab@suse.de>
16512
16513         [BZ #15048]
16514         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16515         the nss database lookup.
16516         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16517         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16518
16519 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
16520
16521         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16522
16523 2013-09-28  P. J. McDermott  <pj@pehjota.net>
16524
16525         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16526         ${Bash-specific parameter/pattern/string} parameter expansion.
16527         * sysdeps/unix/make-syscalls.sh: Likewise.
16528
16529 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16530
16531         * sysdeps/sh/stackguard-macros.h: New file.
16532
16533 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
16534
16535         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16536         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
16537         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
16538         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
16539         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16540         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
16541
16542 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16543
16544         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
16545         Fix thread ID register.
16546
16547 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
16548
16549         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
16550         [POSIX || UNIX98]: Require rather than permitting all symbols from
16551         <time.h>.
16552         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
16553         element of struct sched_param.
16554         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
16555         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
16556         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
16557         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
16558         constant.
16559
16560 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
16561
16562         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
16563         argument calculation.
16564
16565 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
16566
16567         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
16568         Expect macro.
16569         [POSIX] (pthread_attr_t): Do not require type.
16570         [POSIX] (pthread_cond_t): Likewise.
16571         [POSIX] (pthread_condattr_t): Likewise.
16572         [POSIX] (pthread_key_t): Likewise.
16573         [POSIX] (pthread_mutex_t): Likewise.
16574         [POSIX] (pthread_mutexattr_t): Likewise.
16575         [POSIX] (pthread_once_t): Likewise.
16576         [POSIX] (pthread_t): Likewise.
16577         [POSIX-based standards] (pthread_atfork): Expect function.
16578
16579 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
16580             Richard Sandiford  <richard@codesourcery.com>
16581
16582         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
16583         (swap_endianness_p): New extern variable.
16584         (set_big_endian): New inline function.
16585         (maybe_swap_uint32): Likewise.
16586         (maybe_swap_uint32_array): Likewise.
16587         (maybe_swap_uint32_obstack): Likewise.
16588         * locale/programs/locfile.c: Include <stdbool.h>.
16589         (swap_endianness_p): New variable.
16590         (add_locale_uint32): Call maybe_swap_uint32.
16591         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
16592         (write_locale_data): Call maybe_swap_uint32_array.
16593         * locale/programs/ld-collate.c (obstack_int32_grow): Call
16594         maybe_swap_uint32.
16595         (obstack_int32_grow_fast): Likewise.
16596         (output_weightwc): Call maybe_swap_uint32_obstack.
16597         (collate_output): Likewise.
16598         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
16599         (OPT_LITTLE_ENDIAN): Likewise.
16600         (options): Add --little-endian and --big-endian options.
16601         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
16602         * locale/programs/locarchive.c: Include "locfile.h".
16603         (GET): New macro.
16604         (SET): Likewise.
16605         (INC): Likewise.
16606         (create_archive): Use the new macros to access fields of
16607         structures directly mapped from or written to locale archives.
16608         (oldlocrecentcmp): Likewise.
16609         (enlarge_archive): Likewise.
16610         (insert_name): Likewise.
16611         (add_alias): Likewise.
16612         (add_locale): Likewise.
16613         (delete_locales_from_archive): Likewise.
16614         (show_archive_content): Likewise.
16615         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
16616         locale data.
16617
16618 2013-09-24  Roland McGrath  <roland@hack.frob.com>
16619
16620         * manual/freemanuals.texi: Updated from (newly) canonical copy at
16621         http://www.gnu.org/doc/freemanuals.texi.
16622         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
16623
16624 2013-09-24  Will Newton  <will.newton@linaro.org>
16625
16626         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
16627         macro.
16628
16629 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
16630
16631         * locale/hashval.h (compute_hashval): Interpret bytes of key as
16632         unsigned char.
16633
16634 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
16635
16636         * manual/threads.texi (POSIX Threads): Fix a typo.
16637
16638 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
16639
16640         [BZ #14547]
16641         * string/tst-strcoll-overflow.c: New test case.
16642         * string/Makefile (xtests): Add tst-strcoll-overflow.
16643         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
16644         cache if string sizes may cause integer overflow.
16645
16646         [BZ #14547]
16647         * string/strcoll_l.c (coll_seq): New members rule, idx,
16648         save_idx and back_us.
16649         (get_next_seq_nocache): New function.
16650         (do_compare_nocache): New function.
16651         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
16652         when malloc fails.
16653
16654 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
16655
16656         [BZ #15754]
16657         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
16658         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
16659         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
16660
16661         [BZ #15754]
16662         * elf/Makefile (tests): Add tst-ptrguard1.
16663         (tests-static): Add tst-ptrguard1-static.
16664         (tst-ptrguard1-ARGS): Define.
16665         (tst-ptrguard1-static-ARGS): Define.
16666         * elf/tst-ptrguard1.c: New file.
16667         * elf/tst-ptrguard1-static.c: New file.
16668         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
16669         * sysdeps/i386/stackguard-macros.h: Likewise.
16670         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16671         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16672         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16673         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16674         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16675         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16676
16677 2013-09-23  Hector Marco  <hecmargi@upv.es>
16678             Ismael Ripoll  <iripoll@disca.upv.es>
16679             Carlos O'Donell  <carlos@redhat.com>
16680
16681         [BZ #15754]
16682         * sysdeps/generic/stackguard-macros.h: Define
16683         __pointer_chk_guard_local and POINTER_CHK_GUARD.
16684         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
16685         Define __pointer_chk_guard_local.
16686         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
16687         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
16688
16689 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
16690
16691         [BZ #15859]
16692         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
16693
16694 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
16695
16696         * include/string.h (__ffs): Declare as hidden.
16697         * string/ffs.c (__ffs): Define as hidden.
16698         * sysdeps/i386/ffs.c (__ffs): Likewise.
16699         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16700         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
16701         * sysdeps/s390/ffs.c (__ffs): Likewise.
16702         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
16703
16704 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
16705
16706         * NEWS: Mention malloc probes.
16707
16708         * malloc/arena.c (new_heap): New memory_heap_new probe.
16709         (grow_heap): New memory_heap_more probe.
16710         (shrink_heap): New memory_heap_less probe.
16711         (heap_trim): New memory_heap_free probe.
16712         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
16713         (systrim): New memory_sbrk_less probe.
16714         * manual/probes.texi: Document them.
16715
16716         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
16717         * manual/probes.texi: Document it.
16718
16719         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
16720         (__libc_realloc): Add memory_realloc_retry probe.
16721         (__libc_memalign): Add memory_memalign_retry probe.
16722         (__libc_valloc): Add memory_valloc_retry probe.
16723         (__libc_pvalloc): Add memory_pvalloc_retry probe.
16724         (__libc_calloc): Add memory_calloc_retry probe.
16725         * manual/probes.texi: Document them.
16726
16727         * malloc/arena.c (get_free_list): Add probe
16728         memory_arena_reuse_free_list.
16729         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
16730         and memory_arena_reuse.
16731         (arena_get2) [!PER_THREAD]: Likewise.
16732         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
16733         memory_arena_reuse_realloc.
16734         * manual/probes.texi: Document them.
16735
16736         * malloc/malloc.c (__libc_free): Add
16737         memory_mallopt_free_dyn_thresholds probe.
16738         (__libc_mallopt): Add multiple memory_mallopt probes.
16739         * manual/probes.texi: Document them.
16740
16741         * malloc/malloc.c: Include stap-probe.h.
16742         (__libc_mallopt): Add memory_mallopt probe.
16743         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
16744         * manual/probes.texi: New.
16745         * manual/Makefile (chapters): Add probes.
16746         * manual/threads.texi: Set next node.
16747
16748 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
16749
16750         [BZ #15963, #13985]
16751         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
16752         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
16753         Add `Chinese' to `nan' entry name.
16754
16755 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16756
16757         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
16758         (POLYNOMIAL): Likewise.
16759         (TAYLOR_SINCOS): Likewise.
16760         (TAYLOR_SLOW): Likewise.
16761         (__sin): Use TAYLOR_SINCOS.
16762         (__cos): Likewise.
16763         (slow): Use TAYLOR_SLOW.
16764         (sloww): Likewise.
16765         (bsloww): Likewise.
16766         (csloww): Likewise.
16767
16768 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16769
16770         * stdlib/strtod_l.c: Fix buffer overrun.
16771
16772 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16773
16774         * benchtests/Makefile (bench): Add sincos.
16775         * benchtests/bench-sincos.c: New file.
16776
16777         * math/libm-test.inc (cos_test_data): New test inputs.
16778         (sin_test_data): Likewise.
16779
16780         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
16781         macro.
16782         (__sin): Use it.
16783         (__cos): Likewise.
16784         (slow1): Likewise.
16785         (slow2): Likewise.
16786         (sloww1): Likewise.
16787         (sloww2): Likewise.
16788         (bsloww1): Likewise.
16789         (bsloww2): Likewise.
16790         (cslow2): Likewise.
16791         (csloww1): Likewise.
16792         (csloww2): Likewise.
16793
16794         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16795         function.
16796         (__sin): Use it.
16797         (__cos): Likewise.
16798
16799         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16800         gotos.
16801         (__cos): Likewise.
16802
16803 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
16804
16805         * config.h.in (HAVE_MIPS_NAN2008): New macro.
16806         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16807         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16808         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16809         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16810         * elf/cache.c (print_entry): Handle the new cache flags.
16811
16812 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
16813             Aldy Hernandez  <aldyh@redhat.com>
16814
16815         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16816         Change condition to [_SOFT_FLOAT].
16817         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16818         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16819         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16820         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16821         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16822         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16823         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16824         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16825         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16826         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16827         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16828         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16829         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16830         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16831         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16832         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16833         declaration.
16834
16835 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
16836
16837         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16838         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16839         (__longjmp): Use LOAD_GP to load saved GPRs.
16840         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16841         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16842         (__sigsetjmp): Use SAVE_GP to save GPRs.
16843
16844         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16845         Do not append -msoft-float.
16846         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16847
16848 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16849
16850         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16851
16852 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
16853
16854         [BZ #15966]
16855         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16856         (_FPU_GETCW): Use initial "__" on variable and field names but not
16857         on macro parameter name.
16858         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
16859         parentheses around reference to macro parameter.
16860
16861 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
16862
16863         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
16864         prototype.
16865         (ctype_startup): Use uint32_t in cast and sizeof for
16866         ctype->charnames.
16867
16868 2013-09-11  Jia Liu  <proljc@gmail.com>
16869
16870         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
16871         __daddr_t_defined.
16872         [__FreeBSD__]: Likewise.
16873
16874 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
16875
16876         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16877         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
16878         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
16879         (strchr): Remove __strchr_sse42 ifunc selection.
16880         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
16881         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
16882
16883 2013-09-11  Will Newton  <will.newton@linaro.org>
16884
16885         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
16886         parameter to RES. Remove hardcoded 1000 value.
16887         * benchtests/bench-skeleton.c (main): Pass RES parameter
16888         to TIMING_INIT and multiply result by 1000.
16889
16890 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16891
16892         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16893
16894 2013-09-11  Andreas Schwab  <schwab@suse.de>
16895
16896         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16897         if not defined.
16898         (O_TMPFILE) [__USE_GNU]: Define.
16899         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
16900         Define.
16901
16902 2013-09-11  Will Newton  <will.newton@linaro.org>
16903
16904         [BZ #15857]
16905         * malloc/malloc.c (__libc_memalign): Check the value of bytes
16906         does not overflow.
16907
16908 2013-09-11  Will Newton  <will.newton@linaro.org>
16909
16910         [BZ #15856]
16911         * malloc/malloc.c (__libc_valloc): Check the value of bytes
16912         does not overflow.
16913
16914 2013-09-11  Will Newton  <will.newton@linaro.org>
16915
16916         [BZ #15855]
16917         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
16918         does not overflow.
16919
16920 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
16921
16922         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
16923         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
16924         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16925         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
16926         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
16927
16928 2013-09-10  Allan McRae  <allan@archlinux.org>
16929
16930         [BZ #15748]
16931         * manual/arith.texi (Parsing of Floats): Clarify
16932         cross-reference.
16933
16934         [BZ #15849]
16935         * manual/install.texi (Running make install): Mention
16936         --enable-pt-chown.
16937         * INSTALL: Regenerated.
16938
16939 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
16940
16941         * csu/init-first.c (_init): Remove the !SHARED condition around
16942         FPU control word initialization.
16943         * elf/dl-support.c (_dl_fpu_control): New variable.
16944         (_dl_aux_init) <AT_FPUCW>: Initialize it.
16945         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
16946         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
16947         * math/test-fpucw-static.c: New file.
16948         * math/test-fpucw-ieee.c: New file.
16949         * math/test-fpucw-ieee-static.c: New file.
16950         * math/Makefile (tests): Add `test-fpucw-ieee' and
16951         `$(tests-static)'.
16952         (tests-static): New variable.
16953         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
16954         dependency to...
16955         [($(build-shared),yes)]
16956         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16957         ... this.
16958         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
16959         New dependency.
16960
16961 2013-09-09  Allan McRae  <allan@archlinux.org>
16962
16963         [BZ #15939]
16964         * manual/string.texi (Collation Functions): Fix typo in
16965         strcoll example.
16966         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
16967
16968         [BZ #15893]
16969         * stdlib/isomac.c (get_null_defines): Fix memory leak.
16970
16971         [BZ #15892]
16972         * libio/memstream.c (open_memstream): Fix memory leak.
16973         * libio/wmemstream.c (open_wmemstream): Likewise.
16974
16975         [BZ #15895]
16976         * nscd/netgroupcache.c: Fix nesting of ifdefs.
16977
16978 2013-09-09  Will Newton  <will.newton@linaro.org>
16979
16980         * malloc/Makefile: Add tst-realloc to tests.
16981         * malloc/tst-realloc.c: New file.
16982
16983 2013-09-09  Allan McRae  <allan@archlinux.org>
16984
16985         [BZ #15844]
16986         * COPYING: Update from GNU website to fix FSF address.
16987         * COPYING.LIB: Likewise.
16988
16989 2013-09-06  David S. Miller  <davem@davemloft.net>
16990
16991         * po/zh_TW.po: Update Chinese (traditional) translation from
16992         translation project.
16993
16994 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
16995             Joseph Myers  <joseph@codesourcery.com>
16996
16997         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
16998         "localeinfo.h".
16999         (obstack_chunk_alloc): New macro.
17000         (obstack_chunk_free): Likewise.
17001         (record_offset): New function.
17002         (init_locale_data): Likewise.
17003         (align_locale_data): Likewise.
17004         (add_locale_empty): Likewise.
17005         (add_locale_raw_data): Likewise.
17006         (add_locale_raw_obstack): Likewise.
17007         (add_locale_string): Likewise.
17008         (add_locale_wstring): Likewise.
17009         (add_locale_uint32): Likewise.
17010         (add_locale_uint32_array): Likewise.
17011         (add_locale_char): Likewise.
17012         (start_locale_structure): Likewise.
17013         (end_locale_structure): Likewise.
17014         (start_locale_prelude): Likewise.
17015         (end_locale_prelude): Likewise.
17016         (write_locale_data): Take locale_file structure rather than an
17017         iovec.
17018         * locale/programs/locfile.h: Include "obstack.h".
17019         (struct locale_file): Change to store locale file contents instead
17020         of header.
17021         (init_locale_data): New prototype.
17022         (align_locale_data): Likewise.
17023         (add_locale_empty): Likewise.
17024         (add_locale_raw_data): Likewise.
17025         (add_locale_raw_obstack): Likewise.
17026         (add_locale_string): Likewise.
17027         (add_locale_wstring): Likewise.
17028         (add_locale_uint32): Likewise.
17029         (add_locale_uint32_array): Likewise.
17030         (add_locale_char): Likewise.
17031         (start_locale_structure): Likewise.
17032         (end_locale_structure): Likewise.
17033         (start_locale_prelude): Likewise.
17034         (end_locale_prelude): Likewise.
17035         (write_locale_data): Update prototype.
17036         * locale/programs/3level.h (struct TABLE): Remove result field.
17037         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17038         Use new locale_file interface.
17039         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
17040         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
17041         * locale/programs/ld-address.c (address_output): Use new
17042         locale_file interface.
17043         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
17044         NO_ADD_LOCALE.
17045         (collate_finish): Don't call collseq_table_finalize.
17046         (collate_output): Use new locale_file interface.
17047         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
17048         in file.
17049         (NO_FINALIZE): Change to NO_ADD_LOCALE.
17050         (TABLE): Move defines earlier in file.
17051         (ELEMENT): Likewise.
17052         (DEFAULT): Likewise.
17053         (wctrans_table_add): Move macro and inline function earlier in
17054         file.
17055         (struct wctype_table): Move type earlier in file.
17056         (add_locale_wctype_table): New static prototype.
17057         (struct locale_ctype_t): Use logical types instead of struct iovec
17058         pointers for members.
17059         (ctype_output): Use new locale_file interface.
17060         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
17061         new locale_file interface.
17062         (allocate_arrays): Update for use of new locale_file interface.
17063         * locale/programs/ld-identification.c (identification_output): Use
17064         new locale_file interface.
17065         * locale/programs/ld-measurement.c (measurement_output): Likewise.
17066         * locale/programs/ld-messages.c (messages_output): Likewise.
17067         * locale/programs/ld-monetary.c (monetary_output): Likewise.
17068         * locale/programs/ld-name.c (name_output): Likewise.
17069         * locale/programs/ld-numeric.c (numeric_output): Likewise.
17070         * locale/programs/ld-paper.c (paper_output): Likewise.
17071         * locale/programs/ld-telephone.c (telephone_output): Likewise.
17072         * locale/programs/ld-time.c (time_output): Likewise.
17073
17074 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17075
17076         * benchtests/Makefile: Add memrchr benchmark.
17077         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17078         benchmark as memrchr.
17079         * benchtests/bench-memrchr-ifunc.c: New file.
17080         * benchtests/bench-memrchr.c: New file.
17081
17082 2013-09-06   Will Newton  <will.newton@linaro.org>
17083
17084         * benchtests/Makefile (string-bench): Add memcpy.
17085
17086 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
17087             Cong Wang  <amwang@redhat.com>
17088
17089         [BZ #15850]
17090         * sysdeps/unix/sysv/linux/bits/in.h
17091         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17092         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17093         before __USE_KERNEL_IPV6_DEFS uses.
17094         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17095         IPPROTO_BEETPH.
17096         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17097         sockaddr_in6, or ipv6_mreq.
17098
17099 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17100
17101         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17102         memory access for final bytes in some large inputs.
17103         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17104
17105 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17106
17107         * string/test-memrchr.c: New file.
17108         * string/test-memrchr-ifunc.c: New file.
17109         * string/Makefile: Add new memrchr testcase.
17110
17111 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
17112
17113         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17114         fanotify_init returns EPERM.
17115
17116 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
17117
17118         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17119         errors.
17120         (top level): Treat second token from macro or constant entries for
17121         allowed headers as allowed.
17122         * include/complex.h: Condition internal declarations on
17123         [!_ISOMAC].
17124         * include/fenv.h: Condition include of <stdbool.h> and internal
17125         declarations on [!_ISOMAC].
17126
17127 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
17128
17129         [BZ #15923]
17130         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17131
17132 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
17133
17134         * configure.in (--enable-versioning): Remove configure option.
17135         (libc_cv_asm_symver_directive): Remove configure test.
17136         (libc_cv_ld_version_script_option): Likewise.
17137         (VERSIONING): Remove variable and AC_SUBST.
17138         (DO_VERSIONING): Remove AC_DEFINE.
17139         * configure: Regenerated.
17140         * config.h.in (DO_VERSIONING): Remove macro.
17141         * Makerules [$(versioning) = yes]: Change conditionals to
17142         [$(build-shared) = yes].
17143         * config.make.in (versioning): Remove variable.
17144         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17145         [$(build-shared) = yes].
17146         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17147         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17148         * elf/Makefile [$(versioning) = yes]: Change conditionals to
17149         [$(build-shared) = yes].
17150         * extra-lib.mk [$(versioning) = yes]: Likewise.
17151         * hurd/Makefile [$(versioning) = yes]: Likewise.
17152         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17153         [SHARED].
17154         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17155         [SHARED].
17156         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17157         [SHARED && !NO_HIDDEN].
17158         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17159         [SHARED].
17160         [SHARED && DO_VERSIONING]: Likewise..
17161         * libio/Makefile [$(versioning) = yes]: Change conditionals to
17162         [$(build-shared) = yes].
17163         * manual/install.texi (--disable-versioning): Remove
17164         documentation.
17165         * INSTALL: Regenerated.
17166         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17167         to [SHARED].
17168         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17169         [$(build-shared) = yes].
17170         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17171         * sysdeps/i386/i686/multiarch/strstr-c.c
17172         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17173         [SHARED && !NO_HIDDEN].
17174         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17175         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17176         * sysdeps/powerpc/powerpc32/dl-machine.c
17177         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17178         * sysdeps/powerpc/powerpc32/sysdep.h
17179         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17180         to [SHARED && PIC && !NO_HIDDEN].
17181         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17182         conditional to [SHARED].
17183
17184 2013-09-04   Will Newton  <will.newton@linaro.org>
17185
17186         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17187         * benchtests/bench-string.h: Include bench-timing.h instead
17188         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17189         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17190         call to HP_TIMING_DIFF_INIT.
17191         * benchtests/bench-memccpy.c: Use bench-timing.h macros
17192         instead of hp-timing.h macros.
17193         * benchtests/bench-memchr.c: Likewise.
17194         * benchtests/bench-memcmp.c: Likewise.
17195         * benchtests/bench-memcpy.c: Likewise.
17196         * benchtests/bench-memmem.c: Likewise.
17197         * benchtests/bench-memmove.c: Likewise.
17198         * benchtests/bench-memset.c: Likewise.
17199         * benchtests/bench-rawmemchr.c: Likewise.
17200         * benchtests/bench-strcasecmp.c: Likewise.
17201         * benchtests/bench-strcasestr.c: Likewise.
17202         * benchtests/bench-strcat.c: Likewise.
17203         * benchtests/bench-strchr.c: Likewise.
17204         * benchtests/bench-strcmp.c: Likewise.
17205         * benchtests/bench-strcpy.c: Likewise.
17206         * benchtests/bench-strcpy_chk.c: Likewise.
17207         * benchtests/bench-strlen.c: Likewise.
17208         * benchtests/bench-strncasecmp.c: Likewise.
17209         * benchtests/bench-strncat.c: Likewise.
17210         * benchtests/bench-strncmp.c: Likewise.
17211         * benchtests/bench-strncpy.c: Likewise.
17212         * benchtests/bench-strnlen.c: Likewise.
17213         * benchtests/bench-strpbrk.c: Likewise.
17214         * benchtests/bench-strrchr.c: Likewise.
17215         * benchtests/bench-strspn.c: Likewise.
17216         * benchtests/bench-strstr.c: Likewise.
17217
17218 2013-09-04  Will Newton  <will.newton@linaro.org>
17219
17220         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17221
17222 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
17223
17224         [BZ #15427]
17225         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17226         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17227         * math/libm-test.inc (lgamma_test_data): Add more tests.
17228         * sysdeps/i386/fpu/libm-test-ulps: Update.
17229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17230
17231 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
17232
17233         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17234         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17235         Add ifunc.
17236         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17237         Add strcmp-sse2-unaligned
17238         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17239
17240 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
17241
17242         * Versions.def (libc): Add GLIBC_2.19.
17243
17244 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
17245
17246         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17247         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17248
17249 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
17250
17251         [BZ #14155]
17252         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17253         intermediate calculations in recurrence.
17254         (__ieee754_ynf): Likewise.
17255         * math/libm-test.inc (jn_test_data): Do not allow spurious
17256         underflow exception.  Add more tests.
17257         (yn_test_data): Add more tests.
17258         * sysdeps/i386/fpu/libm-test-ulps: Update.
17259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17260
17261 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
17262
17263         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17264
17265 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
17266
17267         * csu/init-first.c: Fix then/than typos.
17268         * locale/programs/ld-collate.c: Likewise.
17269         * locale/programs/linereader.h: Likewise.
17270         * manual/charset.texi: Likewise.
17271         * manual/filesys.texi: Likewise.
17272         * manual/stdio.texi: Likewise.
17273         * manual/string.texi: Likewise.
17274         * stdlib/fmtmsg.c: Likewise.
17275         * sysdeps/i386/stpncpy.S: Likewise.
17276         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17277         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17278         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17279         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17280
17281 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
17282
17283         * elf/dl-open.c: Fix typos.
17284         * iconvdata/gbbig5.c: Likewise.
17285         * iconvdata/iso-2022-jp.c: Likewise.
17286         * iconv/gconv_int.h: Likewise.
17287         * iconv/loop.c: Likewise.
17288         * nis/rpcsvc/nis.h: Likewise.
17289         * resolv/ns_name.c: Likewise.
17290         * stdio-common/vfscanf.c: Likewise.
17291         * streams/stropts.h: Likewise.
17292         * sunrpc/rpc_thread.c: Likewise.
17293         * sysdeps/i386/strpbrk.S: Likewise.
17294         * sysdeps/ieee754/k_standard.c: Likewise.
17295         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17296         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17297         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17298         * sysdeps/mach/hurd/profil.c: Likewise.
17299         * sysdeps/s390/dl-procinfo.h: Likewise.
17300         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17301         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17302         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17303         * sysdeps/x86_64/dl-trampoline.S: Likewise.
17304         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17305
17306 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
17307
17308         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17309         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17310
17311 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
17312
17313         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17314         aix specific files.
17315         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17316         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17317         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17318         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17319         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17320         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17321         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
17322         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
17323
17324 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
17325             Roland McGrath  <roland@hack.frob.com>
17326
17327         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
17328         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17329
17330 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17331
17332         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
17333         __executable_start symbol instead of _start.
17334
17335 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
17336
17337         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
17338         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
17339         Move macros to...
17340         * sysdeps/gnu/ldsodefs.h: ... this new file.
17341
17342         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
17343         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
17344         instead of ELFOSABI_LINUX.
17345
17346         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
17347         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
17348         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
17349         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
17350         Likewise.
17351         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
17352         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
17353         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
17354         Likewise.
17355         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17356         (ibm_extended_long_double): Add ieee_nan member.
17357         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
17358         (do_test): New function.
17359
17360         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
17361         TEST_TRUNC.
17362         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
17363         functions, renamed from truncdfsf_test, trunctfsf_test,
17364         trunctfdf_test.
17365         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
17366         functions.
17367         (do_test): Run all these.
17368
17369 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
17370
17371         * argp/argp-help.c: Fix typos.
17372         * argp/argp-parse.c: Likewise.
17373         * debug/backtracesyms.c: Likewise.
17374         * elf/elf.h: Likewise.
17375         * malloc/malloc.c: Likewise.
17376         * nis/nis_print.c: Likewise.
17377         * resolv/res_comp.c: Likewise.
17378         * stdlib/stdlib.h: Likewise.
17379         * sunrpc/clnt_tcp.c: Likewise.
17380         * sunrpc/clnt_udp.c: Likewise.
17381         * sunrpc/clnt_unix.c: Likewise.
17382         * sysdeps/unix/bsd/ptsname.c: Likewise.
17383         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17384         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
17385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
17386         Likewise.
17387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
17388         Likewise.
17389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17390         Likewise.
17391         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17392
17393 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17394
17395         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
17396         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17397
17398 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
17399
17400         [BZ #15897]
17401         * dlfcn/Makefile (tests): Add bug-dl-leaf.
17402         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17403         ($(objpfx)bug-dl-leaf): New rule.
17404         ($(objpfx)bug-dl-leaf.so): Likewise.
17405         ($(objpfx)bug-dl-leaf.out): Likewise.
17406         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17407         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17408         * dlfcn/bug-dl-leaf.c: New test.
17409         * dlfcn/bug-dl-leaf-lib.c: Likewise.
17410         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17411         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17412         (dlclose): Likewise.
17413         (dlmopen): Likewise.
17414
17415 2013-08-27  Roland McGrath  <roland@hack.frob.com>
17416
17417         * include/netdb.h [!_ISOMAC]:
17418         Don't include <tls.h>.
17419         (h_errno, __libc_h_errno): Move declaration and macros out of
17420         [_LIBC_REENTRANT].
17421
17422         * include/resolv.h [_RESOLV_H_]:
17423         Don't include <tls.h>.
17424         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17425         * resolv/res_libc.c: Don't include <tls.h>.
17426         (_res): Use __attribute__ ((nocommon)) in place of
17427         __attribute__ ((section (".bss"))).
17428
17429         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17430         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17431
17432         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17433
17434         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17435         only under [SIOCGIFCONF && SIOCGIFNETMASK].
17436
17437         * resolv/res_mkquery.c: Include <sys/time.h>.
17438
17439         * inet/ifreq.c: Moved to ...
17440         * sysdeps/unix/ifreq.c: ... here.
17441         * inet/ifreq.c: New file, true stub version.
17442
17443         * socket/sa_len.c: New file.
17444         * socket/Makefile (aux): Add it.
17445         * sysdeps/unix/sysv/linux/Makefile
17446         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17447         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17448         and #include <socket/sa_len.c>.
17449         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17450         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17451
17452         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17453         * bits/socket.h: ... here.
17454
17455         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17456         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17457         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17458
17459 2013-08-27  Andreas Schwab  <schwab@suse.de>
17460
17461         [BZ #15736]
17462         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17463         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17464         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17465         * string/test-strcasecmp.c (test_main): Run tests in several
17466         locales.
17467         * string/test-strncasecmp.c (test_main): Likewise.
17468
17469         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17470         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17471         to __strcasecmp_nonascii and __strncasecmp_nonascii.
17472         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17473         (__strncasecmp_ssse3) [PIC]: Likewise.
17474
17475 2013-08-26  Roland McGrath  <roland@hack.frob.com>
17476
17477         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17478
17479         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17480         instead of explicitly declaring xdecrypt.
17481         * nis/nss_nis/nis-publickey.c: Likewise.
17482
17483 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17484
17485         [BZ #15890]
17486         * nscd/aicache.c: Include res_hconf.h.
17487         (addhstaiX): Initialize res_hconf.
17488
17489 2013-08-26  Andreas Schwab  <schwab@suse.de>
17490
17491         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17492         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17493
17494 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17495
17496         * nscd/aicache.c (addhstaiX): Fix indentation.
17497
17498 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
17499
17500         * configure.ac: Quote $build_pt_chown test.
17501         * configure: Regenerated.
17502
17503 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
17504
17505         [BZ #15532]
17506         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17507         * math/s_cexpf.c (__cexpf): Likewise.
17508         * math/s_cexpl.c (__cexpl): Likewise.
17509         * math/libm-test.inc (cexp_test_data): Correct expected return
17510         value for NaN + i0.  Add another test.
17511
17512 2013-08-22  David S. Miller  <davem@davemloft.net>
17513
17514         * po/ca.po: Update Catalan translation from translation project.
17515         * po/uk.po: Add Ukrainian translations from translation project.
17516
17517 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
17518
17519         [BZ #15797]
17520         * math/s_fdim.c (__fdim): Check for infinite arguments if result
17521         is infinite, not alongside NaN test.
17522         * math/s_fdimf.c (__fdimf): Likewise.
17523         * math/s_fdiml.c (__fdiml): Likewise.
17524         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
17525         errno is unchanged.
17526
17527 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
17528
17529         * argp/argp-help.c: Fix typos.
17530         * crypt/speeds.c: Likewise.
17531         * csu/check_fds.c: Likewise.
17532         * elf/dl-load.c: Likewise.
17533         * elf/dl-open.c: Likewise.
17534         * elf/reldep3.c: Likewise.
17535         * elf/reldep.c: Likewise.
17536         * elf/sprof.c: Likewise.
17537         * iconv/iconv_charmap.c: Likewise.
17538         * iconv/skeleton.c: Likewise.
17539         * iconv/strtab.c: Likewise.
17540         * io/lockf64.c: Likewise.
17541         * libio/libioP.h: Likewise.
17542         * resolv/gai_notify.c: Likewise.
17543         * resolv/ns_name.c: Likewise.
17544         * resolv/ns_samedomain.c: Likewise.
17545         * resolv/res_send.c: Likewise.
17546         * stdlib/random.c: Likewise.
17547         * sunrpc/rpc/xdr.h: Likewise.
17548         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
17549         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17550         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17551         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17552         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17553         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17554         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17555         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17556         * sysdeps/mach/hurd/check_fds.c: Likewise.
17557         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17558         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17559         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17560         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17561         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17562         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17563         * sysdeps/pthread/aio_notify.c: Likewise.
17564         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
17565         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
17566         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
17567         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17568         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17569
17570 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17571
17572         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
17573         version if bit_Slow_SSE4_2 is set.
17574         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17575         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17576
17577 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17578
17579         [BZ #15867]
17580         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
17581         trampoline stack frame information.
17582         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
17583         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
17584         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
17585         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17586         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
17587         * sysdeps/unix/sysv/linux/powerpc/init-first.c
17588         (_libc_vdso_platform_setup): Initialize the signal trampolines.
17589         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
17590         sa_flags value.
17591         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
17592         interrupting a syscall and set with option SA_SIGINFO.
17593
17594 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
17595
17596         [BZ #15531]
17597         * math/s_cproj.c (__cproj): Only return an infinity if one part of
17598         argument is infinite.
17599         * math/s_cprojf.c (__cprojf): Likewise.
17600         * math/s_cprojl.c (__cprojl): Likewise.
17601         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
17602         * math/libm-test.inc (cproj_test_data): Add more tests.
17603
17604         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
17605
17606         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
17607         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
17608         size.  Use __ffs to determine corresponding shift.
17609
17610 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
17611             Roland McGrath  <roland@hack.frob.com>
17612
17613         * Makefile (INSTALL): Remove trailing blank lines from output of
17614         makeinfo.
17615
17616 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17617
17618         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
17619         Align 32 bit compat elf_greg to 8 bytes.
17620
17621 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
17622
17623         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
17624
17625 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17626
17627         * string/strcoll_l.c (coll_seq): New structure.
17628         (get_next_seq_cached): New function.
17629         (get_next_seq): New function.
17630         (do_compare): New function.
17631         (STRCOLL): Use GNU style definition.  Simplify implementation
17632         by using get_next_seq, get_next_seq_cached and do_compare.
17633
17634 2013-08-16  Florian Weimer  <fweimer@redhat.com>
17635
17636         [BZ #14699]
17637         CVE-2013-4237
17638         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
17639         member.
17640         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
17641         member.
17642         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
17643         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
17644         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
17645         conditional.
17646         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
17647         GETDENTS_64BIT_ALIGNED.
17648         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17649         * manual/filesys.texi (Reading/Closing Directory): Document
17650         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
17651         strongly.
17652         * manual/conf.texi (Limits for Files): Add portability note to
17653         NAME_MAX, PATH_MAX.
17654         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
17655
17656 2013-08-13  Andreas Schwab  <schwab@suse.de>
17657
17658         [BZ #15749]
17659         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
17660         of fabs.
17661         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
17662         LDBL_MAX_EXP >= 16384]: Add tests for it.
17663
17664 2013-08-12  David S. Miller  <davem@davemloft.net>
17665
17666         * version.h (RELEASE): Set to "development".
17667         (VERSION): Set to "2.18.90".
17668         * NEWS: Add 2.19 section.
17669
17670 2013-08-03  David S. Miller  <davem@davemloft.net>
17671
17672         * po/ko.po: Update Korean translation from translation project.
17673
17674 2013-08-01  David S. Miller  <davem@davemloft.net>
17675
17676         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
17677         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
17678         Bilka.
17679
17680 2013-07-30  David S. Miller  <davem@davemloft.net>
17681
17682         * po/fr.po: Update French translation from translation project.
17683
17684 2013-07-28  David S. Miller  <davem@davemloft.net>
17685
17686         * po/cs.po: Update Czech translation from translation project.
17687
17688         * po/sv.po: Update Swedish translation from translation project.
17689
17690 2013-07-27  David S. Miller  <davem@davemloft.net>
17691
17692         * po/eo.po: Update Esperanto translation from translation project.
17693
17694         * po/vi.po: Update Vietnamese translation from translation project.
17695
17696         * po/de.po: Update German translation from translation project.
17697
17698 2013-07-26  David S. Miller  <davem@davemloft.net>
17699
17700         * po/bg.po: Update Bulgarian translation from translation project.
17701
17702         * po/nl.po: Update Dutch translation from translation project.
17703         * po/pl.po: Update Polish translation from translation project.
17704         * po/ru.po: Update Russian translation from translation project.
17705
17706 2013-07-24  David S. Miller  <davem@davemloft.net>
17707
17708         * po/libc.pot: Update.
17709
17710 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17711
17712         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
17713         variable page size.
17714         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
17715         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
17716         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
17717
17718 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17719
17720         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
17721
17722 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17723             Andreas Schwab  <schwab@suse.de>
17724             Roland McGrath  <roland@hack.frob.com>
17725             Joseph Myers  <joseph@codesourcery.com>
17726             Carlos O'Donell  <carlos@redhat.com>
17727
17728         [BZ #15755]
17729         * config.h.in: Define HAVE_PT_CHOWN.
17730         * config.make.in (build-pt-chown): New variable.
17731         * configure.in (--enable-pt_chown): New configure option.
17732         * configure: Regenerate.
17733         * login/Makefile: Include Makeconfig.  Build pt_chown only if
17734         build-pt-chown is enabled.
17735         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
17736         pt_chown to fix pty ownership.
17737         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
17738         CLOSE_ALL_FDS.
17739         * manual/install.texi (Configuring and compiling): Mention
17740         --enable-pt_chown. Add @findex for grantpt.
17741         * INSTALL: Regenerate.
17742
17743 2013-07-20  David S. Miller  <davem@davemloft.net>
17744
17745         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
17746         difference between 32-bit and 64-bit.
17747
17748 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
17749
17750         [BZ #15711]
17751         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
17752         Avoid system header dependency with -ffreestanding.
17753         ($(objpfx)bits/syscall%d): Likewise.
17754
17755 2013-07-13  David S. Miller  <davem@davemloft.net>
17756
17757         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
17758         underflows from atanl/atan2l due to bug 15319.
17759         (casinh_test_data): Likewise.
17760
17761 2013-07-07  David S. Miller  <davem@davemloft.net>
17762
17763         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17764
17765 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
17766
17767         * sysdeps/i386/fpu/libm-test-ulps: Update.
17768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17769
17770 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17771
17772         * configure.in (--enable-lock-elision): Fix message text.
17773         * INSTALL: Regenerate.
17774         * configure: Regenerate.
17775
17776 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17777
17778         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17779
17780 2013-07-03  Andreas Jaeger  <aj@suse.de>
17781
17782         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
17783         define.
17784         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
17785         (ptrace_peeksiginfo_args): Add.
17786         (__ptrace_peeksiginfo_flags): Add.
17787         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17788         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17789         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17790
17791 2013-07-03  Allan McRae  <allan@archlinux.org>
17792
17793         * sysdeps/i386/fpu/libm-test-ulps: Update.
17794
17795 2013-07-02  David S. Miller  <davem@davemloft.net>
17796
17797         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17798
17799 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
17800
17801         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17802
17803 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
17804
17805         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17807
17808 2013-07-02  Andi Kleen <ak@linux.intel.com>
17809
17810         * config.h.in (ENABLE_LOCK_ELISION): Add.
17811         * configure.in (--enable-lock-elision): Add option.
17812         * manual/install.texi: Document --enable lock elision.
17813         * configure: Regenerate
17814         * INSTALL: Regenerate.
17815
17816 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
17817
17818         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17819         SSE4.2 strcasecmp for libc.a.
17820         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17821
17822 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
17823
17824         [BZ #13304]
17825         * soft-fp/op-common.h (_FP_FMA): New macro.
17826         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17827         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
17828         (_FP_MUL_MEAT_1_imm): ... here.
17829         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
17830         (_FP_MUL_MEAT_1_wide): ... here.
17831         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
17832         (_FP_MUL_MEAT_1_hard): ... here.
17833         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17834         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
17835         (_FP_MUL_MEAT_2_wide): ... here.
17836         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
17837         (_FP_MUL_MEAT_2_wide_3mul): ... here.
17838         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
17839         (_FP_MUL_MEAT_2_gmp): ... here.
17840         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17841         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
17842         (_FP_MUL_MEAT_4_wide): ... here.
17843         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
17844         (_FP_MUL_MEAT_4_gmp): ... here.
17845         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17846         (_FP_WFRACBITS_DW_S): Likewise.
17847         (_FP_WFRACXBITS_DW_S): Likewise.
17848         (_FP_HIGHBIT_DW_S): Likewise.
17849         (FP_FMA_S): Likewise.
17850         (_FP_FRAC_HIGH_DW_S): Likewise.
17851         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17852         (_FP_WFRACBITS_DW_D): Likewise.
17853         (_FP_WFRACXBITS_DW_D): Likewise.
17854         (_FP_HIGHBIT_DW_D): Likewise.
17855         (FP_FMA_D): Likewise.
17856         (_FP_FRAC_HIGH_DW_D): Likewise.
17857         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
17858         (_FP_WFRACBITS_DW_E): Likewise.
17859         (_FP_WFRACXBITS_DW_E): Likewise.
17860         (_FP_HIGHBIT_DW_E): Likewise.
17861         (FP_FMA_E): Likewise.
17862         (_FP_FRAC_HIGH_DW_E): Likewise.
17863         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
17864         (_FP_WFRACBITS_DW_Q): Likewise.
17865         (_FP_WFRACXBITS_DW_Q): Likewise.
17866         (_FP_HIGHBIT_DW_Q): Likewise.
17867         (FP_FMA_Q): Likewise.
17868         (_FP_FRAC_HIGH_DW_Q): Likewise.
17869         * soft-fp/fmasf4.c: New file.
17870         * soft-fp/fmadf4.c: Likewise.
17871         * soft-fp/fmatf4.c: Likewise.
17872
17873 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17874
17875         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17876         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
17877         Silvermont.
17878         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
17879         macro.
17880         (index_Slow_SSE4_2): Likewise.
17881         (index_Prefer_PMINUB_for_stringop): Likewise.
17882         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
17883         bit_Slow_SSE4_2 is set.
17884         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
17885         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
17886
17887 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17888
17889         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
17890         rtld_global._dl_hwcap2.
17891         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
17892         POWER8.
17893         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
17894         POWER8 feature descriptions defined in _dl_hwcap2.
17895         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
17896         string handling for POWER8 feature bits.
17897         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
17898         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
17899         _dl_powerpc_cap_flags.
17900         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
17901         * sysdeps/powerpc/rtld-global-offsets.sym
17902         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
17903         _dl_hwcap2 in the rtld_global_ro structure.
17904
17905 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17906
17907         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
17908         hardware capabilities in support of AT_HWCAP2.
17909         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
17910         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
17911         GLRO(dl_hwcap2).
17912         (_dl_show_auxv): Add support for calling _dl_procinfo to display
17913         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
17914         explicitly the unknown a_type display mechanism is used.
17915         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
17916         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
17917         struct member.
17918         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
17919         to macro prototype for AT_HWCAP2 support.
17920         * sysdeps/i386/dl-procinfo.h: Likewise.
17921         * sysdeps/s390/dl-procinfo.h: Likewise.
17922         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
17923         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
17924         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
17925         return -1 for unknown a_type display fallback.
17926         * sysdeps/sparc/dl-procinfo.h: Likewise.
17927         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
17928         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
17929
17930 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
17931
17932         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
17933         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
17934
17935 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
17936
17937         [BZ #12492]
17938         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
17939         mprotect making __stack_prot writable.
17940
17941 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
17942             Joseph Myers  <joseph@codesourcery.com>
17943
17944         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
17945         as being properly aligned.
17946
17947 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
17948
17949         * dlfcn/modstatic5.c: New file.
17950         * dlfcn/tststatic5.c: New file.
17951         * dlfcn/Makefile (tests): Add tststatic5.
17952         (tests-static): Likewise.
17953         (modules-names): Add modstatic5.
17954         (tststatic5-ENV): New variable.
17955         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
17956
17957         [BZ #15022]
17958         * elf/dl-support.c (_dl_main_map): New variable.
17959         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
17960         (_dl_nns, _dl_load_adds): Set to 1.
17961         (_dl_initial_searchlist): Refer to _dl_main_map.
17962         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
17963         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
17964         call to _dl_get_origin.
17965         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
17966         around call_map.
17967         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
17968         * dlfcn/modstatic3.c: New file.
17969         * dlfcn/tststatic3.c: New file.
17970         * dlfcn/tststatic4.c: New file.
17971         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
17972         (tests-static): Likewise.
17973         (modules-names): Add modstatic3.
17974         (tststatic3-ENV, tststatic4-ENV): New variables.
17975         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
17976         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
17977
17978 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
17979
17980         * configure.in (CC): Require GCC version 4.4 or later.
17981         * configure: Regenerated.
17982         * manual/install.texi (Tools for Compilation): Update GCC version
17983         requirement.
17984         * INSTALL: Regenerated.
17985
17986 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
17987
17988         [BZ #15674]
17989         * string/test-memcmp.c (check2): New.
17990         (main): Call check2.
17991
17992         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
17993
17994 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
17995
17996         [BZ #15022]
17997         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
17998         over to...
17999         (dl_open_worker) [!SHARED]: ... here.
18000
18001 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18002
18003         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
18004
18005 2013-06-25  Richard Henderson  <rth@redhat.com>
18006
18007         * locale/programs/locarchive.c: Include <libc-internal.h>
18008
18009 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
18010
18011         * manual/texinfo.tex: Update to version 2013-06-21.17, with
18012         trailing whitespace removed.
18013
18014 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
18015
18016         [BZ #10283]
18017         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18018         * locale/programs/locarchive.c: Include libc-mmap.h.
18019         (prepare_address_space): Take two new outputs (the mmap base and len).
18020         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
18021         values.
18022         (create_archive): Declare new mmap base and len values for
18023         prepare_address_space, and store the result in ah.
18024         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
18025         (enlarge_archive): If ah->mmap_base is not NULL, use that and
18026         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18027         Declare new mmap base and len values for
18028         prepare_address_space, and store the result in new_ah.
18029         (open_archive): Declare new mmap base and len values for
18030         prepare_address_space, and store the result in ah.
18031         (close_archive): If ah->mmap_base is not NULL, use that and
18032         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18033         * sysdeps/generic/libc-mmap.h: New file.
18034
18035 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
18036
18037         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18038         (ALIGN_UP): Likewise.
18039         (PTR_ALIGN_DOWN): Likewise.
18040         (PTR_ALIGN_UP): Likewise.
18041
18042 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18043
18044         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
18045         entry mapped to PPC_PLATFORM_POWER8.
18046         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
18047         POWER8.
18048         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
18049         (_dl_string_platform): Add case for exporting platform position for
18050         POWER8.
18051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
18052         search path to sysdeps/powerpc/powerpc32/power8 directory.
18053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
18054         search path to sysdeps/powerpc/powerpc64/power8 directory.
18055         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18056         power7 directories.
18057         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18058         power7 directories.
18059
18060 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18061
18062         * INSTALL: Regenerate.
18063
18064         * nscd/connections.c (nscd_init): Fix comment.
18065
18066 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
18067
18068         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18069
18070         [BZ #15667]
18071         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18072         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18073
18074 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
18075
18076         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18077         DL_DST_REQ_STATIC.
18078         (DL_DST_REQ_STATIC): Remove macro.
18079
18080 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
18081
18082         [BZ #7006]
18083         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
18084         with a shift of 0 bits.
18085
18086 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
18087
18088         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18089         $(tststatic-ENV).
18090
18091 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18092
18093         [BZ #15655]
18094         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18095
18096 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18097
18098         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18099         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18100         accepts -fno-tree-loop-distribute-patterns.
18101         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18102         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18103         recursive call.
18104         * string/memset.c (memset): Likewise.
18105         * string/test-memmove.c (simple_memmove): Disable loop transformation
18106         to library calls.
18107         * string/test-memset.c (simple_memset): Likewise.
18108         * benchtests/bench-memmove.c (simple_memmove): Likewise.
18109         * benchtests/bench-memset.c (simple_memset): Likewise.
18110         * configure: Regenerated.
18111
18112 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
18113
18114         * math/test-misc.c (main): Ignore fesetround failure when failures
18115         of subsequent rounding tests would be ignored.
18116
18117         [BZ #15654]
18118         * math/fedisblxcpt.c (fedisableexcept): Return 0.
18119         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18120         * math/fegetenv.c (__fegetenv): Return 0.
18121         * math/fegetexcept.c (fegetexcept): Return 0.
18122         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18123         FE_TONEAREST.
18124         * math/feholdexcpt.c (feholdexcept): Return 0.
18125         * math/fesetenv.c (__fesetenv): Return 0.
18126         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18127         argument FE_TONEAREST.
18128         * math/feupdateenv.c (__feupdateenv): Return 0.
18129         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18130
18131 2013-06-18  Roland McGrath  <roland@hack.frob.com>
18132
18133         * elf/rtld-Rules (rtld-compile-command.S): New variable.
18134         (rtld-compile-command.s, rtld-compile-command.c): New variables.
18135         ($(objpfx)rtld-%.os rules): Use them.
18136
18137 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18138
18139         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18140         fields.
18141
18142 2013-06-17  Roland McGrath  <roland@hack.frob.com>
18143
18144         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18145         length of target pattern, then descending length of dependency pattern.
18146         * configure.in (AWK): Require gawk 3.1.2 or newer.
18147         * manual/install.texi (Tools for Compilation): Say that we do.
18148         * configure: Regenerated.
18149
18150         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18151         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18152         * scripts/sysd-rules.awk: ... this new script.
18153         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18154         than a glob-style pattern.
18155
18156 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
18157
18158         * math/test-misc.c (main): Do not treat incorrectly rounded
18159         conversions as failure unless ROUNDING_TESTS passes.
18160
18161 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
18162
18163         [BZ #15631]
18164         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18165         restore exception state around main square root computation, then
18166         check for inexactness explicitly.
18167
18168         * math/libm-test.inc (fma_test_data): Add another test.
18169
18170 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18171
18172         * manual/threads.texi (Non-POSIX Extensions): New document
18173         node.  Document pthread_getattr_default_np and
18174         pthread_setattr_default_np.
18175
18176         * Versions.def (libpthread): Add GLIBC_2.18.
18177         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18179         Likewise.
18180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18181         Likewise.
18182         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18183         Likewise.
18184         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18185         Likewise.
18186         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18187         Likewise.
18188         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18189         Likewise.
18190         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18191         Likewise.
18192         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18193         Likewise.
18194         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18195         Likewise.
18196
18197 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
18198
18199         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18200         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
18201
18202 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18203             H.J. Lu  <hjl.tools@gmail.com>
18204
18205         [BZ #15627]
18206         * sysdeps/x86_64/rtld-memset.c: Remove file.
18207         * sysdeps/x86_64/rtld-memset.S: New file.
18208
18209 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
18210
18211         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18212         (test_in_one_mode): Take arguments for whether the rounding mode
18213         is supported for each floating-point type.
18214         (do_test): Pass new arguments to test_in_one_mode using
18215         ROUNDING_TESTS.
18216
18217 2013-06-13  Roland McGrath  <roland@hack.frob.com>
18218
18219         * posix/tst-waitid.c (do_test): Distinguish different instances of
18220         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
18221         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18222         before entering the kernel for waitpid.
18223
18224 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18225
18226         * NEWS: Fix note on clock function precision.  Text by Roland
18227         McGrath.
18228
18229 2013-06-13  Roland McGrath  <roland@hack.frob.com>
18230
18231         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18232         it into place only when and if the sanity check passes.
18233
18234 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
18235
18236         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18237         output for whether conversion result is exact.  Take argument
18238         indicating whether type is IBM long double.
18239         (round_for_all): Change need_exact field to ibm_ld.
18240         * stdlib/tst-strtod-round.c (struct exactness): New type.
18241         (struct test): Change bool ld_ok field to struct exactness exact.
18242         (TEST): Update all definitions for change to field.
18243         (tests): Regenerate array contents.
18244         (test_in_one_mode): Take pointer to new field instead of old ld_ok
18245         field value.  Check for IBM long double here.
18246         (do_test): Update calls to test_in_one_mode.
18247
18248 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
18249
18250         [BZ #12515]
18251         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18252         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18253
18254 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18255
18256         [BZ #15605]
18257         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18258         generated by the compiler on loop optimizations.
18259         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18260         general definitions.
18261
18262 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
18263
18264         * math/bug-nextafter.c: Include <math-tests.h>.
18265         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18266         the relevant type.
18267         * math/bug-nexttoward.c: Include <math-tests.h>.
18268         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18269         the relevant type.
18270         * math/test-misc.c: Include <math-tests.h>.
18271         (main): Only test for exceptions if EXCEPTION_TESTS is true for
18272         the relevant type.
18273
18274 2013-06-12  Andreas Jaeger  <aj@suse.de>
18275
18276         * po/ia.po: Update Interlingua translation from translation
18277         project.
18278
18279 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18280
18281         * include/fenv.h: Include stdbool.h.
18282         (struct rm_ctx): New structure.
18283         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18284         Define macro.
18285         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18286         (SET_RESTORE_ROUNDF): Likewise.
18287         (SET_RESTORE_ROUNDL): Likewise.
18288         (SET_RESTORE_ROUND_NOEX): Likewise.
18289         (SET_RESTORE_ROUND_NOEXF): Likewise.
18290         (SET_RESTORE_ROUND_NOEXL): Likewise.
18291         (SET_RESTORE_ROUND_53BIT): Likewise.
18292         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18293         (libc_feresetround_noexf_ctx): Likewise.
18294         (libc_feresetround_noexl_ctx): Likewise.
18295         (libc_feholdsetround_53bit_ctx): Likewise.
18296         (libc_feresetround_53bit_ctx): Likewise.
18297         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18298         (libc_feholdexcept_setround_sse_ctx): New function.
18299         (libc_fesetenv_sse_ctx): Likewise.
18300         (libc_feupdateenv_sse_ctx): Likewise.
18301         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18302         (libc_feholdexcept_setround_387_ctx): Likewise.
18303         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18304         (libc_feholdsetround_387_prec_ctx): Likewise.
18305         (libc_feholdsetround_387_ctx): Likewise.
18306         (libc_feholdsetround_387_53bit_ctx): Likewise.
18307         (libc_feholdsetround_sse_ctx): Likewise.
18308         (libc_feresetround_sse_ctx): Likewise.
18309         (libc_feresetround_387_ctx): Likewise.
18310         (libc_feupdateenv_387_ctx): Likewise.
18311         (libc_feholdexcept_setroundf_ctx): Define macro.
18312         (libc_fesetenvf_ctx): Likewise.
18313         (libc_feupdateenvf_ctx): Likewise.
18314         (libc_feholdsetroundf_ctx): Likewise.
18315         (libc_feresetroundf_ctx): Likewise.
18316         (libc_feholdexcept_setround_ctx): Likewise.
18317         (libc_fesetenv_ctx): Likewise.
18318         (libc_feupdateenv_ctx): Likewise.
18319         (libc_feholdsetround_ctx): Likewise.
18320         (libc_feresetround_ctx): Likewise.
18321         (libc_feholdexcept_setroundl_ctx): Likewise.
18322         (libc_feupdateenvl_ctx): Likewise.
18323         (libc_feholdsetroundl_ctx): Likewise.
18324         (libc_feresetroundl_ctx): Likewise.
18325         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
18326         (libc_feresetround_53bit_ctx): Likewise.
18327
18328 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18329
18330         * locale/iso-639.def: Convert to UTF-8.
18331
18332 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
18333
18334         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
18335         (EXCEPTION_TESTS_double): Likewise.
18336         (EXCEPTION_TESTS_long_double): Likewise.
18337         (EXCEPTION_TESTS): Likewise.
18338         * math/libm-test.inc (test_exceptions): Only test exceptions if
18339         EXCEPTION_TESTS (FLOAT).
18340
18341 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18342
18343         * benchtests/Makefile (string-bench): Add strcpy_chk and
18344         stpcpy_chk.
18345         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
18346         * benchtests/bench-stpcpy_chk.c: New file.
18347         * benchtests/bench-strcpy_chk-ifunc.c: New file.
18348         * benchtests/bench-strcpy_chk.c: New file.
18349         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
18350         code.
18351         (do_test): Likewise.
18352
18353 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18354
18355         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
18356         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
18357         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
18358         with tabs where appropriate.
18359         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
18360         dl-procinfo.h.
18361         [PPC_PLATFORM_PPC440]: Likewise.
18362         [PPC_PLATFORM_PPC464]: Likewise.
18363         [PPC_PLATFORM_PPC476]: Likewise.
18364         (_dl_string_platform): Add support for detecting ppc405, ppc440,
18365         ppc464, and ppc476 platform strings merging from ports/
18366         dl-procinfo.h.
18367
18368 2013-06-11  Andreas Schwab  <schwab@suse.de>
18369
18370         [BZ #14991]
18371         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
18372         (from_ucs4_idx): Regenerate.
18373         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
18374         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
18375         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
18376         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
18377         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
18378         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
18379         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
18380         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
18381         from FROM_LOOP and TO_LOOP specific macros.
18382         (BODY): Handle combining characters.
18383         * iconvdata/BIG5HKSCS.irreversible: Update.
18384         * iconvdata/BIG5HKSCS.precomposed: New file.
18385         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
18386         characters.
18387         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
18388
18389 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18390
18391         * include/sys/time.h: Fix indentation and add copyright header.
18392
18393         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
18394         (do_test): Likewise.
18395         * string/test-memchr.c (do_one_test): Likewise.
18396         (do_test): Likewise.
18397         * string/test-memcmp.c (do_one_test): Likewise.
18398         (do_test): Likewise.
18399         * string/test-memcpy.c (do_one_test): Likewise.
18400         (do_test): Likewise.
18401         * string/test-memmem.c (do_one_test): Likewise.
18402         (do_test): Likewise.
18403         (do_random_tests): Likewise.
18404         * string/test-memmove.c (do_one_test): Likewise.
18405         (do_test): Likewise.
18406         * string/test-memset.c (do_one_test): Likewise.
18407         (do_test): Likewise.
18408         * string/test-rawmemchr.c (do_one_test): Likewise.
18409         (do_test): Likewise.
18410         * string/test-strcasecmp.c (do_one_test): Likewise.
18411         (do_test): Likewise.
18412         * string/test-strcasestr.c (do_one_test): Likewise.
18413         (do_test): Likewise.
18414         * string/test-strcat.c (do_one_test): Likewise.
18415         (do_test): Likewise.
18416         * string/test-strchr.c (do_one_test): Likewise.
18417         (do_test): Likewise.
18418         * string/test-strcmp.c (do_one_test): Likewise.
18419         (do_test): Likewise.
18420         * string/test-strcpy.c (do_one_test): Likewise.
18421         (do_test): Likewise.
18422         * string/test-string.h: Likewise.
18423         (test_init): Likewise.
18424         * string/test-strlen.c (do_one_test): Likewise.
18425         (do_test): Likewise.
18426         * string/test-strncasecmp.c (do_one_test): Likewise.
18427         (do_test): Likewise.
18428         * string/test-strncat.c (do_one_test): Likewise.
18429         (do_test): Likewise.
18430         * string/test-strncmp.c (do_one_test): Likewise.
18431         (do_test_limit): Likewise.
18432         (do_test): Likewise.
18433         * string/test-strncpy.c (do_one_test): Likewise.
18434         (do_test): Likewise.
18435         * string/test-strnlen.c (do_one_test): Likewise.
18436         (do_test): Likewise.
18437         * string/test-strpbrk.c (do_one_test): Likewise.
18438         (do_test): Likewise.
18439         * string/test-strrchr.c (do_one_test): Likewise.
18440         (do_test): Likewise.
18441         * string/test-strspn.c (do_one_test): Likewise.
18442         (do_test): Likewise.
18443         * string/test-strstr.c (do_one_test): Likewise.
18444         (do_test): Likewise.
18445
18446         * benchtests/Makefile (string-bench): Add string benchmarks.
18447         * benchtests/bench-bcopy-ifunc.c: New file.
18448         * benchtests/bench-bcopy.c: New file.
18449         * benchtests/bench-bzero-ifunc.c: New file.
18450         * benchtests/bench-bzero.c: New file.
18451         * benchtests/bench-memccpy-ifunc.c: New file.
18452         * benchtests/bench-memccpy.c: New file.
18453         * benchtests/bench-memchr-ifunc.c: New file.
18454         * benchtests/bench-memchr.c: New file.
18455         * benchtests/bench-memcmp-ifunc.c: New file.
18456         * benchtests/bench-memcmp.c: New file.
18457         * benchtests/bench-memmem-ifunc.c: New file.
18458         * benchtests/bench-memmem.c: New file.
18459         * benchtests/bench-memmove-ifunc.c: New file.
18460         * benchtests/bench-memmove.c: New file.
18461         * benchtests/bench-mempcpy-ifunc.c: New file.
18462         * benchtests/bench-mempcpy.c: New file.
18463         * benchtests/bench-memset-ifunc.c: New file.
18464         * benchtests/bench-memset.c: New file.
18465         * benchtests/bench-rawmemchr-ifunc.c: New file.
18466         * benchtests/bench-rawmemchr.c: New file.
18467         * benchtests/bench-stpcpy-ifunc.c: New file.
18468         * benchtests/bench-stpcpy.c: New file.
18469         * benchtests/bench-stpncpy-ifunc.c: New file.
18470         * benchtests/bench-stpncpy.c: New file.
18471         * benchtests/bench-strcasecmp-ifunc.c: New file.
18472         * benchtests/bench-strcasecmp.c: New file.
18473         * benchtests/bench-strcasestr-ifunc.c: New file.
18474         * benchtests/bench-strcasestr.c: New file.
18475         * benchtests/bench-strcat-ifunc.c: New file.
18476         * benchtests/bench-strcat.c: New file.
18477         * benchtests/bench-strchr-ifunc.c: New file.
18478         * benchtests/bench-strchr.c: New file.
18479         * benchtests/bench-strchrnul-ifunc.c: New file.
18480         * benchtests/bench-strchrnul.c: New file.
18481         * benchtests/bench-strcmp-ifunc.c: New file.
18482         * benchtests/bench-strcmp.c: New file.
18483         * benchtests/bench-strcpy-ifunc.c: New file.
18484         * benchtests/bench-strcpy.c: New file.
18485         * benchtests/bench-strcspn-ifunc.c: New file.
18486         * benchtests/bench-strcspn.c: New file.
18487         * benchtests/bench-strlen-ifunc.c: New file.
18488         * benchtests/bench-strlen.c: New file.
18489         * benchtests/bench-strncasecmp-ifunc.c: New file.
18490         * benchtests/bench-strncasecmp.c: New file.
18491         * benchtests/bench-strncat-ifunc.c: New file.
18492         * benchtests/bench-strncat.c: New file.
18493         * benchtests/bench-strncmp-ifunc.c: New file.
18494         * benchtests/bench-strncmp.c: New file.
18495         * benchtests/bench-strncpy-ifunc.c: New file.
18496         * benchtests/bench-strncpy.c: New file.
18497         * benchtests/bench-strnlen-ifunc.c: New file.
18498         * benchtests/bench-strnlen.c: New file.
18499         * benchtests/bench-strpbrk-ifunc.c: New file.
18500         * benchtests/bench-strpbrk.c: New file.
18501         * benchtests/bench-strrchr-ifunc.c: New file.
18502         * benchtests/bench-strrchr.c: New file.
18503         * benchtests/bench-strspn-ifunc.c: New file.
18504         * benchtests/bench-strspn.c: New file.
18505         * benchtests/bench-strstr-ifunc.c: New file.
18506         * benchtests/bench-strstr.c: New file.
18507
18508         * benchtests/Makefile: Disable parallel execution of targets.
18509         (string-bench): Add memcpy.
18510         (benchset): New variable to store a list of benchmark sets.
18511         (bench-func): Renamed from bench.
18512         (bench-set): New target.
18513         (bench): Depend on bench-func and bench-set.
18514         * benchtests/README: Add section on benchmark sets.
18515         * benchtests/bench-memcpy-ifunc.c: New file.
18516         * benchtests/bench-memcpy.c: New file.
18517         * benchtests/bench-string.h: New file.
18518
18519 2013-06-11  Andreas Schwab  <schwab@suse.de>
18520
18521         [BZ #15577]
18522         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18523         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18524         values in the triple.
18525         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18526         terminator in the group key.
18527
18528 2013-06-11  Andreas Jaeger  <aj@suse.de>
18529
18530         * po/zh_TW.po: Update Chinese (traditional) translation from
18531         translation project.
18532
18533 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18534
18535         * include/time.h (__clock_gettime): Add libc_hidden_proto.
18536         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
18537         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
18538         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18539         (clock_getcpuclockid): Likewise.
18540         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
18541         Add weak_alias and libc_hidden_def.
18542         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
18543         * rt/clock_gettime.c (clock_gettime): Rename to
18544         __clock_gettime.  Add weak_alias and libc_hidden_def.
18545         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
18546         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
18547         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
18548         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
18549         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
18550         Likewise.
18551         * rt/clock_settime.c (clock_settime): Rename to
18552         __clock_settime.  Add weak_alias and libc_hidden_def.
18553         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
18554
18555 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
18556
18557         * mach/err_boot.sub: Remove trailing whitespace.
18558         * mach/err_ipc.sub: Likewise.
18559         * mach/err_mach.sub: Likewise.
18560
18561         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
18562         (ROUNDING_TESTS_double): Likewise.
18563         (ROUNDING_TESTS_long_double): Likewise.
18564         (ROUNDING_TESTS): Likewise.
18565         * math/libm-test.inc: Include <math-tests.h>.
18566         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
18567         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18568         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18569         (IF_ROUND_INIT_FE_UPWARD): Likewise.
18570
18571 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18572
18573         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
18574         of assigning.
18575
18576 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
18577
18578         * sysdeps/gnu/errlist.awk: Do not generate space at end of
18579         otherwise empty TRANS lines.
18580         * sysdeps/gnu/errlist.c: Regenerated.
18581
18582         * catgets/gencat.c (error_print): Use (void) in function
18583         definition.
18584         * crypt/crypt_util.c (__init_des): Likewise.
18585         * crypt/speeds.c (Stop): Likewise.
18586         (main): Likewise.
18587         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18588         * inet/ruserpass.c (token): Likewise.
18589         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
18590         * intl/localealias.c (extend_alias_table): Likewise.
18591         * intl/plural-exp.c (init_germanic_plural): Likewise.
18592         * libio/fcloseall.c (__fcloseall): Likewise.
18593         * libio/genops.c (_IO_flush_all): Likewise.
18594         (_IO_flush_all_linebuffered): Likewise.
18595         (_IO_cleanup): Likewise.
18596         (_IO_iter_begin): Likewise.
18597         (_IO_iter_end): Likewise.
18598         (_IO_list_lock): Likewise.
18599         (_IO_list_unlock): Likewise.
18600         (_IO_list_resetlock): Likewise.
18601         * libio/getchar.c (getchar): Likewise.
18602         * libio/getchar_u.c (getchar_unlocked): Likewise.
18603         * libio/getwchar.c (getwchar): Likewise.
18604         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
18605         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
18606         * login/getpt.c (__getpt): Likewise.
18607         * login/tst-utmp.c (main): Likewise.
18608         * malloc/hooks.c (__malloc_check_init): Likewise.
18609         * malloc/malloc.c (__malloc_stats): Likewise.
18610         * malloc/mtrace.c (tr_break): Likewise.
18611         (mtrace): Likewise.
18612         (muntrace): Likewise.
18613         * misc/fstab.c (endfsent): Likewise.
18614         * misc/getclktck.c (__getclktck): Likewise.
18615         * misc/getdtsz.c (__getdtablesize): Likewise.
18616         * misc/gethostid.c (gethostid): Likewise.
18617         * misc/getpagesize.c (__getpagesize): Likewise.
18618         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
18619         (__get_nprocs): Likewise.
18620         (__get_phys_pages): Likewise.
18621         (__get_avphys_pages): Likewise.
18622         * misc/getttyent.c (getttyent): Likewise.
18623         (setttyent): Likewise.
18624         (endttyent): Likewise.
18625         * misc/getusershell.c (getusershell): Likewise.
18626         (endusershell): Likewise.
18627         (setusershell): Likewise.
18628         (initshells): Likewise.
18629         * misc/hsearch.c (__hdestroy): Likewise.
18630         * misc/sync.c (sync): Likewise.
18631         * misc/syslog.c (closelog_internal): Likewise.
18632         (closelog): Likewise.
18633         * misc/ttyslot.c (ttyslot): Likewise.
18634         * misc/vhangup.c (vhangup): Likewise.
18635         * posix/fork.c (__fork): Likewise.
18636         * posix/getegid.c (__getegid): Likewise.
18637         * posix/geteuid.c (__geteuid): Likewise.
18638         * posix/getgid.c (__getgid): Likewise.
18639         * posix/getpid.c (__getpid): Likewise.
18640         * posix/getppid.c (__getppid): Likewise.
18641         * posix/getuid.c (__getuid): Likewise.
18642         * posix/pause.c (pause): Likewise.
18643         * posix/setpgrp.c (setpgrp): Likewise.
18644         * posix/setsid.c (__setsid): Likewise.
18645         * posix/test-vfork.c (noop): Likewise.
18646         * resolv/gethnamaddr.c (_endhtent): Likewise.
18647         (_gethtent): Likewise.
18648         (ht_endhostent): Likewise.
18649         (gethostent): Likewise.
18650         (dns_service): Likewise.
18651         * stdlib/drand48.c (drand48): Likewise.
18652         * stdlib/lrand48.c (lrand48): Likewise.
18653         * stdlib/mrand48.c (mrand48): Likewise.
18654         * stdlib/rand.c (rand): Likewise.
18655         * stdlib/random.c (__random): Likewise.
18656         * stdlib/setenv.c (clearenv): Likewise.
18657         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
18658         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
18659         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
18660         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
18661         (__get_nprocs): Likewise.
18662         (__get_phys_pages): Likewise.
18663         (__get_avphys_pages): Likewise.
18664         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
18665         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
18666         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
18667         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
18668         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
18669         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
18670         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
18671         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
18672         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
18673         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
18674         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
18675         * sysdeps/mach/hurd/sync.c (sync): Likewise.
18676         * sysdeps/posix/clock.c (clock): Likewise.
18677         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
18678         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
18679         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
18680         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
18681         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
18682         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
18683         (__get_nprocs_conf): Likewise.
18684         (__get_phys_pages): Likewise.
18685         (__get_avphys_pages): Likewise.
18686         * time/clock.c (clock): Likewise.
18687         * time/tzset.c (__tzname_max): Likewise.
18688
18689 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
18690
18691         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
18692         (__bswap_32): Do not use "register".
18693         * crypt/crypt.c (_ufc_doit_r): Likewise.
18694         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18695         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18696         * gmon/gmon.c (__monstartup): Likewise.
18697         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
18698         * hurd/hurdmalloc.c (more_memory): Likewise.
18699         (malloc): Likewise.
18700         (free): Likewise.
18701         (realloc): Likewise.
18702         (malloc_fork_prepare): Likewise.
18703         (malloc_fork_parent): Likewise.
18704         (malloc_fork_child): Likewise.
18705         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
18706         (_svcauth_des): Likewise.
18707         * inet/inet_lnaof.c (inet_lnaof): Likewise.
18708         * inet/inet_net.c (inet_network): Likewise.
18709         * inet/inet_netof.c (inet_netof): Likewise.
18710         * inet/rcmd.c (__validuser2_sa): Likewise.
18711         * io/fts.c (fts_open): Likewise.
18712         (fts_load): Likewise.
18713         (fts_close): Likewise.
18714         (fts_read): Likewise.
18715         (fts_children): Likewise.
18716         (fts_build): Likewise.
18717         (fts_stat): Likewise.
18718         (fts_sort): Likewise.
18719         (fts_alloc): Likewise.
18720         (fts_lfree): Likewise.
18721         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
18722         (_IO_file_xsgetn): Likewise.
18723         (_IO_file_xsgetn_mmap): Likewise.
18724         * libio/iofopncook.c (_IO_cookie_read): Likewise.
18725         (_IO_cookie_write): Likewise.
18726         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
18727         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
18728         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
18729         * malloc/obstack.c (_obstack_begin): Likewise.
18730         (_obstack_begin_1): Likewise.
18731         (_obstack_newchunk): Likewise.
18732         (_obstack_allocated_p): Likewise.
18733         (obstack_free): Likewise.
18734         (_obstack_memory_used): Likewise.
18735         * misc/getttyent.c (getttynam): Likewise.
18736         (getttyent): Likewise.
18737         (skip): Likewise.
18738         (value): Likewise.
18739         * misc/getusershell.c (initshells): Likewise.
18740         * misc/syslog.c (__vsyslog_chk): Likewise.
18741         * misc/ttyslot.c (ttyslot): Likewise.
18742         * nis/nis_hash.c (__nis_hash): Likewise.
18743         * posix/fnmatch_loop.c (FCT): Likewise.
18744         * posix/getconf.c (print_all): Likewise.
18745         (main): Likewise.
18746         * posix/getopt.c (exchange): Likewise.
18747         * posix/glob.c (globfree): Likewise.
18748         (prefix_array): Likewise.
18749         (__glob_pattern_type): Likewise.
18750         * resolv/arpa/nameser.h (NS_GET16): Likewise.
18751         (NS_GET32): Likewise.
18752         (NS_PUT16): Likewise.
18753         (NS_PUT32): Likewise.
18754         * resolv/gethnamaddr.c (getanswer): Likewise.
18755         (gethostbyname2): Likewise.
18756         (gethostbyaddr): Likewise.
18757         (_gethtent): Likewise.
18758         (_gethtbyname2): Likewise.
18759         (_gethtbyaddr): Likewise.
18760         * resolv/ns_print.c (dst_s_get_int16): Likewise.
18761         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18762         * resolv/res_init.c (__res_vinit): Likewise.
18763         (net_mask): Likewise.
18764         * resolv/res_mkquery.c (outchar): Likewise.
18765         (PRINT): Likewise.
18766         * stdio-common/printf_fp.c (outchar): Likewise.
18767         (PRINT): Likewise.
18768         * stdio-common/printf_fphex.c (outchar): Likewise.
18769         (PRINT): Likewise.
18770         * stdio-common/printf_size.c (outchar): Likewise.
18771         (PRINT): Likewise.
18772         * stdio-common/test_rdwr.c (main): Likewise.
18773         * stdio-common/tfformat.c (matches): Likewise.
18774         * stdio-common/vfprintf.c (outchar): Likewise.
18775         (printf_unknown): Likewise.
18776         (buffered_vfprintf): Likewise.
18777         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18778         * stdio-common/xbug.c (AppendToBuffer): Likewise.
18779         (ReadFile): Likewise.
18780         * stdlib/qsort.c (SWAP): Likewise.
18781         (_quicksort): Likewise.
18782         * stdlib/setenv.c (__add_to_environ): Likewise.
18783         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18784         * stdlib/strtol_l.c (__strtol_l): Likewise.
18785         * stdlib/tst-strtod.c (main): Likewise.
18786         * stdlib/tst-strtol.c (main): Likewise.
18787         * stdlib/tst-strtoll.c (main): Likewise.
18788         * string/bits/string2.h (__strcmp_cc): Likewise.
18789         (__strcmp_cg): Likewise.
18790         (__strcspn_c1): Likewise.
18791         (__strcspn_c2): Likewise.
18792         (__strcspn_c3): Likewise.
18793         (__strspn_c1): Likewise.
18794         (__strspn_c2): Likewise.
18795         (__strspn_c3): Likewise.
18796         (__strsep_1c): Likewise.
18797         (__strsep_2c): Likewise.
18798         (__strsep_3c): Likewise.
18799         * string/memccpy.c (__memccpy): Likewise.
18800         * string/stpcpy.c (__stpcpy): Likewise.
18801         * string/strcmp.c (strcmp): Likewise.
18802         * string/strrchr.c (strrchr): Likewise.
18803         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18804         Likewise.
18805         * sysdeps/mach/hurd/getcwd.c
18806         (_hurd_canonicalize_directory_name_internal): Likewise.
18807         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18808         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18809         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18810         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18811         Likewise, in both definitions.
18812         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18813         definitions.
18814         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18815         64] (__bswap_64): Likewise.
18816         * time/test_time.c (main): Likewise.
18817         * time/tzfile.c (__tzfile_read): Likewise.
18818         (__tzfile_compute): Likewise.
18819         * time/tzset.c (__tzset_parse_tz): Likewise.
18820         (tzset_internal): Likewise.
18821         (compute_change): Likewise.
18822         * wcsmbs/wcscat.c (__wcscat): Likewise.
18823         * wcsmbs/wcschr.c (wcschr): Likewise.
18824         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18825         * wcsmbs/wcscspn.c (wcscspn): Likewise.
18826         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18827         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18828         * wcsmbs/wcsspn.c (wcsspn): Likewise.
18829         * wcsmbs/wcsstr.c (wcsstr): Likewise.
18830         * wcsmbs/wmemchr.c (wmemchr): Likewise.
18831         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18832         * wcsmbs/wmemset.c (wmemset): Likewise.
18833
18834 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
18835
18836         * scripts/config.guess: Update to version 2013-05-16.
18837         * scripts/config.sub: Update to version 2013-04-24.
18838         * scripts/install-sh: Update to version 2011-11-20.07.
18839         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18840         * scripts/move-if-change: Update to version 2012-01-06 07:23.
18841
18842 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
18843
18844         * debug/fgetws_u_chk.c: Fix leading whitespaces.
18845         * elf/sln.c: Likewise.
18846         * hurd/hurd/ioctl.h: Likewise.
18847         * hurd/hurdmalloc.c: Likewise.
18848         * hurd/xattr.c: Likewise.
18849         * include/shlib-compat.h: Likewise.
18850         * inet/ruserpass.c: Likewise.
18851         * libio/iofgets_u.c: Likewise.
18852         * libio/iofgetws_u.c: Likewise.
18853         * locale/programs/ld-identification.c: Likewise.
18854         * locale/programs/ld-time.c: Likewise.
18855         * mach/msg-destroy.c: Likewise.
18856         * nss/nss_files/files-netgrp.c: Likewise.
18857         * resolv/res_data.c: Likewise.
18858         * soft-fp/op-1.h: Likewise.
18859         * soft-fp/op-2.h: Likewise.
18860         * soft-fp/op-4.h: Likewise.
18861         * soft-fp/op-common.h: Likewise.
18862         * stdio-common/printf_fphex.c: Likewise.
18863         * stdlib/strtod_l.c: Likewise.
18864         * sunrpc/rpc/clnt.h: Likewise.
18865         * sysdeps/generic/framestate.c: Likewise.
18866         * sysdeps/i386/bsd-_setjmp.S: Likewise.
18867         * sysdeps/i386/bsd-setjmp.S: Likewise.
18868         * sysdeps/i386/__longjmp.S: Likewise.
18869         * sysdeps/i386/setjmp.S: Likewise.
18870         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18871         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18872         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18873         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18874         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18875         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18876         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18877         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18878         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18879         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18880         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18881         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18882         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18883         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18884         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18885         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18886         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18887         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
18888         * sysdeps/ieee754/support.c: Likewise.
18889         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18890         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
18891         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
18892         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
18893         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
18894         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
18895         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
18896         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
18897         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
18898         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
18899         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
18900         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
18901         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
18902         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
18903         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
18904         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
18905         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
18906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
18907
18908 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
18909
18910         * posix/transbug.c: Remove executable mode.
18911
18912 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
18913
18914         * crypt/speeds.c: Remove trailing whitespace.
18915         * dlfcn/default.c: Likewise.
18916         * elf/ifuncdep2.c: Likewise.
18917         * elf/ifuncmain1.c: Likewise.
18918         * elf/ifuncmain1vis.c: Likewise.
18919         * elf/testobj.h: Likewise.
18920         * elf/tst-stackguard1.c: Likewise.
18921         * gmon/sys/gmon.h: Likewise.
18922         * hurd/hurdmsg.c: Likewise.
18923         * hurd/new-fd.c: Likewise.
18924         * hurd/ports-get.c: Likewise.
18925         * iconvdata/ibm1008_420.c: Likewise.
18926         * inet/tst-getni1.c: Likewise.
18927         * inet/tst-getni2.c: Likewise.
18928         * libio/ioungetc.c: Likewise.
18929         * libio/wfiledoalloc.c: Likewise.
18930         * manual/libm-err-tab.pl: Likewise.
18931         * math/w_dremf.c: Likewise.
18932         * misc/ftruncate.c: Likewise.
18933         * posix/bug-glob2.c: Likewise.
18934         * posix/tst-pcre.c: Likewise.
18935         * posix/wait4.c: Likewise.
18936         * resolv/README: Likewise.
18937         * resolv/res_debug.h: Likewise.
18938         * resolv/tst-inet_ntop.c: Likewise.
18939         * setjmp/bug269-setjmp.c: Likewise.
18940         * soft-fp/extended.h: Likewise.
18941         * soft-fp/op-1.h: Likewise.
18942         * soft-fp/op-2.h: Likewise.
18943         * soft-fp/op-4.h: Likewise.
18944         * soft-fp/op-8.h: Likewise.
18945         * soft-fp/testit.c: Likewise.
18946         * stdio-common/bug16.c: Likewise.
18947         * stdlib/random.c: Likewise.
18948         * sunrpc/rpcsvc/rquota.x: Likewise.
18949         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
18950         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18951         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18952         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18953         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18954         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18955         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18956         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18957         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18958         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18959         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18960         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18961         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18962         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18963         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18964         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18965         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18966         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18967         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18968         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18969         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18970         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18971         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
18972         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18973         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18974         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18975         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18976         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
18977         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18978         * sysdeps/ieee754/s_lib_version.c: Likewise.
18979         * sysdeps/mach/hurd/check_fds.c: Likewise.
18980         * sysdeps/mach/hurd/getsockname.c: Likewise.
18981         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
18982         * sysdeps/mach/hurd/recvfrom.c: Likewise.
18983         * sysdeps/powerpc/bits/link.h: Likewise.
18984         * sysdeps/powerpc/dl-procinfo.c: Likewise.
18985         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
18986         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
18987         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
18988         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18989         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18990         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
18991         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18992         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
18993         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
18994         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
18995         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18996         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
18997         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
18998         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
18999         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19000         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19001         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19002         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19003         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19004         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19005         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
19006         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19007         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19008         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
19009         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19010         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19011         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19012         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19013         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19014         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19015         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19016         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19017         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19018         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
19019         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19020         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
19021         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19022         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19023         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
19024         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
19025         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
19026         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
19027         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
19028         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19029         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
19030         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
19031         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19032         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
19033         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
19034         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19035         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19036         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19037         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19038         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19039         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19040         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19041         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19042         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
19043         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19044         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
19045         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
19046         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
19047         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19048         * sysdeps/powerpc/sysdep.h: Likewise.
19049         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19050         * sysdeps/s390/s390-64/sub_n.S: Likewise.
19051         * sysdeps/sh/dl-trampoline.S: Likewise.
19052         * sysdeps/sh/memset.S: Likewise.
19053         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
19054         * sysdeps/sh/strlen.S: Likewise.
19055         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19056         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19057         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19058         * sysdeps/sparc/sparc32/rem.S: Likewise.
19059         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19060         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19061         * sysdeps/sparc/sparc32/strchr.S: Likewise.
19062         * sysdeps/sparc/sparc32/udiv.S: Likewise.
19063         * sysdeps/sparc/sparc32/urem.S: Likewise.
19064         * sysdeps/sparc/sparc64/add_n.S: Likewise.
19065         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19066         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19067         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19068         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19069         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19070         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19071         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19072         * sysdeps/unix/bsd/times.c: Likewise.
19073         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19074         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19078         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19079         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19080         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19081         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
19082         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
19083         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
19084         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19085         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
19086         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19087         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19088         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19089         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19090         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19091         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19092         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19093         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19094         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19095         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19096         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19097         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19098         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19099         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19100         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19101         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19102         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19103         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19104         * sysdeps/x86_64/strcspn.S: Likewise.
19105
19106 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
19107
19108         * locale/C-translit.h: Revert #include <stdint.h> because this is a
19109         generated file.  Regenerate properly from gen-translit.pl.
19110         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
19111         locale/C-translit.h.
19112
19113 2013-06-05  Andreas Schwab  <schwab@suse.de>
19114
19115         [BZ #15100]
19116         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19117         week as 6 instead of -1.
19118         * time/tst-strptime.c (day_tests): Add test case.
19119
19120 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19121
19122         * sysdeps/generic/math_private.h
19123         (libc_feholdexcept_setround_53bit): Replace with
19124         libc_feholdsetround_53bit.
19125         (libc_feupdateenv_53bit): Replace with
19126         libc_feresetround_53bit.
19127         (SET_RESTORE_ROUND_53BIT): Adjust.
19128
19129 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
19130
19131         * string/test-strchrnul.c: Add copyright header.
19132
19133         * posix/tst-getaddrinfo4.c: Increase test timeout.
19134
19135 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
19136
19137         [BZ #15536]
19138         * math/libm-test.inc (MAX_EXP): Remove
19139         (MIN_EXP): Define.
19140         (ulp): Use MIN_EXP - MANT_DIG.
19141         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19142
19143 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
19144
19145         * po/be.po: Revert last change.
19146         * po/zh_CN.po: Likewise.
19147         * po/header.pot: Likewise.
19148
19149 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
19150
19151         * Makefile ($(common-objpfx)linkobj/libc.so): Define
19152         link-libc-deps to empty as target-specific variable.
19153         * Makerules (link-libc-args): New variable.
19154         (libc-for-link): Likewise.
19155         (link-libc-deps): Likewise.
19156         (lib%.so): Depend on $(link-libc-deps).  Link with
19157         $(link-libc-args).
19158         (build-module): Link with $(link-libc-args).
19159         (build-module-asneeded): Likewise.
19160         (build-module-helper-objlist): Filter out $(link-libc-deps) from
19161         list of objects.
19162         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19163         target-specific variable.
19164         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19165         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19166         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19167         libc.
19168         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19169         libc and ld.so.
19170         ($(objpfx)libpcprofile.so): Likewise.
19171         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19172         libc_nonshared.a.
19173         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19174         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19175         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19176         $(link-libc-deps).
19177         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19178         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19179         * login/Makefile ($(objpfx)libutil.so): Likewise.
19180         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19181         * math/Makefile ($(objpfx)libm.so): Likewise.
19182         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19183         $(objpfx)libnsl.so): Define libc-for-link as target-specific
19184         variable instead of depending directly on libc.
19185         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19186         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19187         $(link-libc-deps).
19188         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19189         libc.
19190         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19191         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19192         ($(objpfx)libanl.so): Likewise.
19193         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19194         ld.so.
19195         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19196         $(link-libc-deps).
19197         * sysdeps/i386/fpu/Makefile: Remove file.
19198         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
19199         ($(objpfx)libm.so): Remove dependency on ld.so.
19200
19201 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
19202
19203         [BZ # 15553]
19204         * nis/yp_xdr.c (XDRMAXNAME): Define.
19205         (XDRMAXRECORD): Define.
19206         (xdr_domainname): Use XDRMAXNAME.
19207         (xdr_mapname): Likewise.
19208         (xdr_peername): Likewise.
19209         (xdr_keydat): Use XDRMAXRECORD.
19210         (xdr_valdat): Likewise.
19211
19212 2013-05-30  Jeff Law  <law@redhat.com>
19213
19214         [BZ #14256]
19215         * manual/errno.texi (ESTALE): Update to account for more than
19216         just NFS file systems.
19217         * sysdeps/gnu/errlist.c: Regenerated.
19218
19219 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19220
19221         [BZ #15465]
19222         * elf/Makefile (tests): Add tst-null-argv.
19223         (modules-names):  Add tst-null-argv-lib.
19224         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19225         (tst-null-argv-ENV): Set environment for tst-null-argv.
19226         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19227         (RTLD_PROGNAME): New macro.
19228         * elf/tst-null-argv.c: New test case.
19229         * elf/tst-null-argv-lib.c: Library for test case.
19230         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19231         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19232         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19233         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19234         * elf/dl-init.c (call_init): Likewise.
19235         (_dl_init): Likewise.
19236         * elf/dl-load.c (print_search_path): Likewise.
19237         (_dl_map_object): Likewise.
19238         * elf/dl-lookup.c (do_lookup_x): Likewise.
19239         (add_dependency): Likewise.
19240         (_dl_lookup_symbol_x): Likewise.
19241         (_dl_debug_bindings): Likewise.
19242         * elf/dl-open.c (_dl_show_scope): Likewise.
19243         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19244         * elf/dl-version.c (match_symbol): Likewise.
19245         (_dl_check_map_versions): Likewise.
19246         * elf/rtld.c (dl_main): Likewise.
19247         (print_unresolved): Use RTLD_PROGNAME.
19248         (print_missing_version): Likewise.
19249         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19250         (elf_machine_rela): Likewise.
19251         * sysdeps/powerpc/powerpc32/dl-machine.c
19252         (__process_machine_rela): Likewise.
19253         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19254         Likewise.
19255         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19256         Likewise.
19257         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19258         Likewise.
19259         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19260         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19261         Likewise.
19262         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19263         Likewise.
19264         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19265
19266 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
19267
19268         * po/be.po: Add descriptive title.
19269         * po/zh_CN.po: Likewise.
19270         * po/header.pot: Likewise.
19271
19272 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
19273
19274         * locale/programs/locarchive.c (create_archive): Inlucde fname in
19275         error message.
19276         (enlarge_archive): Likewise.
19277
19278 2013-05-28  Ben North  <ben@redfrontdoor.org>
19279
19280         * manual/arith.texi (frexp): It is the magnitude of the return
19281         value which lies in [0.5, 1), not the return value itself.
19282
19283 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19284
19285         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19286
19287 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
19288
19289         * stdio-common/bug26.c (main): Correct fscanf template.
19290
19291         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19292         declare _dl_skip_args.
19293
19294         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19295         Don't declare.
19296
19297         * manual/platform.texi: Add missing @end deftypefun.
19298
19299 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
19300
19301         [BZ #15529]
19302         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19303         bit of mantissa of 2^16382.
19304         * math/libm-test.inc (hypot_test_data): Add more tests.
19305
19306         * math/libm-test.inc: Add drem and pow10 to list of tested
19307         functions.
19308         (pow10_test): New function.
19309         (drem_test): Likewise.
19310         (drem_test_tonearest): Likewise.
19311         (drem_test_towardzero): Likewise.
19312         (drem_test_downward): Likewise.
19313         (drem_test_upward): Likewise.
19314         (main): Call the new functions.
19315
19316         * math/libm-test.inc (finite_test_data): Remove.
19317         (finite_test): Run tests from isfinite_test_data.
19318         (gamma_test_data): Remove.
19319         (gamma_test): Run tests from lgamma_test_data.
19320         * sysdeps/i386/fpu/libm-test-ulps: Update.
19321         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19322
19323 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19324
19325         * manual/platform.texi: Add PowerPC PPR function set documentation.
19326         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
19327         implementation.
19328
19329 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
19330
19331         * math/libm-test.inc (MAX_EXP): Define.
19332         (ULPDIFF): Define.
19333         (ulp): New function.
19334         (check_float_internal): Use ULPDIFF.
19335         (cpow_test): Disable failing test.
19336         (check_ulp): Test ulp() implemetnation.
19337         (main): Call check_ulp before starting tests.
19338
19339 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
19340
19341         * math/gen-libm-test.pl (generate_testfile): Do not handle
19342         START_DATA and END_DATA.
19343         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
19344         END_DATA.
19345         (acos_tonearest_test_data): Likewise.
19346         (acos_towardzero_test_data): Likewise.
19347         (acos_downward_test_data): Likewise.
19348         (acos_upward_test_data): Likewise.
19349         (acosh_test_data): Likewise.
19350         (asin_test_data): Likewise.
19351         (asin_tonearest_test_data): Likewise.
19352         (asin_towardzero_test_data): Likewise.
19353         (asin_downward_test_data): Likewise.
19354         (asin_upward_test_data): Likewise.
19355         (asinh_test_data): Likewise.
19356         (atan_test_data): Likewise.
19357         (atanh_test_data): Likewise.
19358         (atan2_test_data): Likewise.
19359         (cabs_test_data): Likewise.
19360         (cacos_test_data): Likewise.
19361         (cacosh_test_data): Likewise.
19362         (carg_test_data): Likewise.
19363         (casin_test_data): Likewise.
19364         (casinh_test_data): Likewise.
19365         (catan_test_data): Likewise.
19366         (catanh_test_data): Likewise.
19367         (cbrt_test_data): Likewise.
19368         (ccos_test_data): Likewise.
19369         (ccosh_test_data): Likewise.
19370         (ceil_test_data): Likewise.
19371         (cexp_test_data): Likewise.
19372         (cimag_test_data): Likewise.
19373         (clog_test_data): Likewise.
19374         (clog10_test_data): Likewise.
19375         (conj_test_data): Likewise.
19376         (copysign_test_data): Likewise.
19377         (cos_test_data): Likewise.
19378         (cos_tonearest_test_data): Likewise.
19379         (cos_towardzero_test_data): Likewise.
19380         (cos_downward_test_data): Likewise.
19381         (cos_upward_test_data): Likewise.
19382         (cosh_test_data): Likewise.
19383         (cosh_tonearest_test_data): Likewise.
19384         (cosh_towardzero_test_data): Likewise.
19385         (cosh_downward_test_data): Likewise.
19386         (cosh_upward_test_data): Likewise.
19387         (cpow_test_data): Likewise.
19388         (cproj_test_data): Likewise.
19389         (creal_test_data): Likewise.
19390         (csin_test_data): Likewise.
19391         (csinh_test_data): Likewise.
19392         (csqrt_test_data): Likewise.
19393         (ctan_test_data): Likewise.
19394         (ctan_tonearest_test_data): Likewise.
19395         (ctan_towardzero_test_data): Likewise.
19396         (ctan_downward_test_data): Likewise.
19397         (ctan_upward_test_data): Likewise.
19398         (ctanh_test_data): Likewise.
19399         (ctanh_tonearest_test_data): Likewise.
19400         (ctanh_towardzero_test_data): Likewise.
19401         (ctanh_downward_test_data): Likewise.
19402         (ctanh_upward_test_data): Likewise.
19403         (erf_test_data): Likewise.
19404         (erfc_test_data): Likewise.
19405         (exp_test_data): Likewise.
19406         (exp_tonearest_test_data): Likewise.
19407         (exp_towardzero_test_data): Likewise.
19408         (exp_downward_test_data): Likewise.
19409         (exp_upward_test_data): Likewise.
19410         (exp10_test_data): Likewise.
19411         (exp2_test_data): Likewise.
19412         (expm1_test_data): Likewise.
19413         (fabs_test_data): Likewise.
19414         (fdim_test_data): Likewise.
19415         (finite_test_data): Likewise.
19416         (floor_test_data): Likewise.
19417         (fma_test_data): Likewise.
19418         (fma_towardzero_test_data): Likewise.
19419         (fma_downward_test_data): Likewise.
19420         (fma_upward_test_data): Likewise.
19421         (fmax_test_data): Likewise.
19422         (fmin_test_data): Likewise.
19423         (fmod_test_data): Likewise.
19424         (fpclassify_test_data): Likewise.
19425         (frexp_test_data): Likewise.
19426         (gamma_test_data): Likewise.
19427         (hypot_test_data): Likewise.
19428         (ilogb_test_data): Likewise.
19429         (isfinite_test_data): Likewise.
19430         (isgreater_test_data): Likewise.
19431         (isgreaterequal_test_data): Likewise.
19432         (isinf_test_data): Likewise.
19433         (isless_test_data): Likewise.
19434         (islessequal_test_data): Likewise.
19435         (islessgreater_test_data): Likewise.
19436         (isnan_test_data): Likewise.
19437         (isnormal_test_data): Likewise.
19438         (issignaling_test_data): Likewise.
19439         (isunordered_test_data): Likewise.
19440         (j0_test_data): Likewise.
19441         (j1_test_data): Likewise.
19442         (jn_test_data): Likewise.
19443         (ldexp_test_data): Likewise.
19444         (lgamma_test_data): Likewise.
19445         (lrint_test_data): Likewise.
19446         (lrint_tonearest_test_data): Likewise.
19447         (lrint_towardzero_test_data): Likewise.
19448         (lrint_downward_test_data): Likewise.
19449         (lrint_upward_test_data): Likewise.
19450         (llrint_test_data): Likewise.
19451         (llrint_tonearest_test_data): Likewise.
19452         (llrint_towardzero_test_data): Likewise.
19453         (llrint_downward_test_data): Likewise.
19454         (llrint_upward_test_data): Likewise.
19455         (log_test_data): Likewise.
19456         (log10_test_data): Likewise.
19457         (log1p_test_data): Likewise.
19458         (log2_test_data): Likewise.
19459         (logb_test_data): Likewise.
19460         (logb_downward_test_data): Likewise.
19461         (lround_test_data): Likewise.
19462         (llround_test_data): Likewise.
19463         (modf_test_data): Likewise.
19464         (nearbyint_test_data): Likewise.
19465         (nextafter_test_data): Likewise.
19466         (nexttoward_test_data): Likewise.
19467         (pow_test_data): Likewise.
19468         (pow_tonearest_test_data): Likewise.
19469         (pow_towardzero_test_data): Likewise.
19470         (pow_downward_test_data): Likewise.
19471         (pow_upward_test_data): Likewise.
19472         (remainder_test_data): Likewise.
19473         (remainder_tonearest_test_data): Likewise.
19474         (remainder_towardzero_test_data): Likewise.
19475         (remainder_downward_test_data): Likewise.
19476         (remainder_upward_test_data): Likewise.
19477         (remquo_test_data): Likewise.
19478         (rint_test_data): Likewise.
19479         (rint_tonearest_test_data): Likewise.
19480         (rint_towardzero_test_data): Likewise.
19481         (rint_downward_test_data): Likewise.
19482         (rint_upward_test_data): Likewise.
19483         (round_test_data): Likewise.
19484         (scalb_test_data): Likewise.
19485         (scalbn_test_data): Likewise.
19486         (scalbln_test_data): Likewise.
19487         (signbit_test_data): Likewise.
19488         (sin_test_data): Likewise.
19489         (sin_tonearest_test_data): Likewise.
19490         (sin_towardzero_test_data): Likewise.
19491         (sin_downward_test_data): Likewise.
19492         (sin_upward_test_data): Likewise.
19493         (sincos_test_data): Likewise.
19494         (sinh_test_data): Likewise.
19495         (sinh_tonearest_test_data): Likewise.
19496         (sinh_towardzero_test_data): Likewise.
19497         (sinh_downward_test_data): Likewise.
19498         (sinh_upward_test_data): Likewise.
19499         (sqrt_test_data): Likewise.
19500         (tan_test_data): Likewise.
19501         (tan_tonearest_test_data): Likewise.
19502         (tan_towardzero_test_data): Likewise.
19503         (tan_downward_test_data): Likewise.
19504         (tan_upward_test_data): Likewise.
19505         (tanh_test_data): Likewise.
19506         (tgamma_test_data): Likewise.
19507         (trunc_test_data): Likewise.
19508         (y0_test_data): Likewise.
19509         (y1_test_data): Likewise.
19510         (yn_test_data): Likewise.
19511         (significand_test_data): Likewise.
19512
19513         * math/gen-libm-test.pl (@functions): Remove variable.
19514         (generate_testfile): Don't handle START and END lines.
19515         * math/libm-test.inc (START): New macro.
19516         (END): Likewise.
19517         (END_COMPLEX): Likewise.
19518         (acos_test): Use END macro without arguments.
19519         (acos_test_tonearest): Likewise.
19520         (acos_test_towardzero): Likewise.
19521         (acos_test_downward): Likewise.
19522         (acos_test_upward): Likewise.
19523         (acosh_test): Likewise.
19524         (asin_test): Likewise.
19525         (asin_test_tonearest): Likewise.
19526         (asin_test_towardzero): Likewise.
19527         (asin_test_downward): Likewise.
19528         (asin_test_upward): Likewise.
19529         (asinh_test): Likewise.
19530         (atan_test): Likewise.
19531         (atanh_test): Likewise.
19532         (atan2_test): Likewise.
19533         (cabs_test): Likewise.
19534         (cacos_test): Use END_COMPLEX macro without arguments.
19535         (cacosh_test): Likewise.
19536         (carg_test): Use END macro without arguments.
19537         (casin_test): Use END_COMPLEX macro without arguments.
19538         (casinh_test): Likewise.
19539         (catan_test): Likewise.
19540         (catanh_test): Likewise.
19541         (cbrt_test): Use END macro without arguments.
19542         (ccos_test): Use END_COMPLEX macro without arguments.
19543         (ccosh_test): Likewise.
19544         (ceil_test): Use END macro without arguments.
19545         (cexp_test): Use END_COMPLEX macro without arguments.
19546         (cimag_test): Use END macro without arguments.
19547         (clog_test): Use END_COMPLEX macro without arguments.
19548         (clog10_test): Likewise.
19549         (conj_test): Likewise.
19550         (copysign_test): Use END macro without arguments.
19551         (cos_test): Likewise.
19552         (cos_test_tonearest): Likewise.
19553         (cos_test_towardzero): Likewise.
19554         (cos_test_downward): Likewise.
19555         (cos_test_upward): Likewise.
19556         (cosh_test): Likewise.
19557         (cosh_test_tonearest): Likewise.
19558         (cosh_test_towardzero): Likewise.
19559         (cosh_test_downward): Likewise.
19560         (cosh_test_upward): Likewise.
19561         (cpow_test): Use END_COMPLEX macro without arguments.
19562         (cproj_test): Likewise.
19563         (creal_test): Use END macro without arguments.
19564         (csin_test): Use END_COMPLEX macro without arguments.
19565         (csinh_test): Likewise.
19566         (csqrt_test): Likewise.
19567         (ctan_test): Likewise.
19568         (ctan_test_tonearest): Likewise.
19569         (ctan_test_towardzero): Likewise.
19570         (ctan_test_downward): Likewise.
19571         (ctan_test_upward): Likewise.
19572         (ctanh_test): Likewise.
19573         (ctanh_test_tonearest): Likewise.
19574         (ctanh_test_towardzero): Likewise.
19575         (ctanh_test_downward): Likewise.
19576         (ctanh_test_upward): Likewise.
19577         (erf_test): Use END macro without arguments.
19578         (erfc_test): Likewise.
19579         (exp_test): Likewise.
19580         (exp_test_tonearest): Likewise.
19581         (exp_test_towardzero): Likewise.
19582         (exp_test_downward): Likewise.
19583         (exp_test_upward): Likewise.
19584         (exp10_test): Likewise.
19585         (exp2_test): Likewise.
19586         (expm1_test): Likewise.
19587         (fabs_test): Likewise.
19588         (fdim_test): Likewise.
19589         (finite_test): Likewise.
19590         (floor_test): Likewise.
19591         (fma_test): Likewise.
19592         (fma_test_towardzero): Likewise.
19593         (fma_test_downward): Likewise.
19594         (fma_test_upward): Likewise.
19595         (fmax_test): Likewise.
19596         (fmin_test): Likewise.
19597         (fmod_test): Likewise.
19598         (fpclassify_test): Likewise.
19599         (frexp_test): Likewise.
19600         (gamma_test): Likewise.
19601         (hypot_test): Likewise.
19602         (ilogb_test): Likewise.
19603         (isfinite_test): Likewise.
19604         (isgreater_test): Likewise.
19605         (isgreaterequal_test): Likewise.
19606         (isinf_test): Likewise.
19607         (isless_test): Likewise.
19608         (islessequal_test): Likewise.
19609         (islessgreater_test): Likewise.
19610         (isnan_test): Likewise.
19611         (isnormal_test): Likewise.
19612         (issignaling_test): Likewise.
19613         (isunordered_test): Likewise.
19614         (j0_test): Likewise.
19615         (j1_test): Likewise.
19616         (jn_test): Likewise.
19617         (ldexp_test): Likewise.
19618         (lgamma_test): Likewise.
19619         (lrint_test): Likewise.
19620         (lrint_test_tonearest): Likewise.
19621         (lrint_test_towardzero): Likewise.
19622         (lrint_test_downward): Likewise.
19623         (lrint_test_upward): Likewise.
19624         (llrint_test): Likewise.
19625         (llrint_test_tonearest): Likewise.
19626         (llrint_test_towardzero): Likewise.
19627         (llrint_test_downward): Likewise.
19628         (llrint_test_upward): Likewise.
19629         (log_test): Likewise.
19630         (log10_test): Likewise.
19631         (log1p_test): Likewise.
19632         (log2_test): Likewise.
19633         (logb_test): Likewise.
19634         (logb_test_downward): Likewise.
19635         (lround_test): Likewise.
19636         (llround_test): Likewise.
19637         (modf_test): Likewise.
19638         (nearbyint_test): Likewise.
19639         (nextafter_test): Likewise.
19640         (nexttoward_test): Likewise.
19641         (pow_test): Likewise.
19642         (pow_test_tonearest): Likewise.
19643         (pow_test_towardzero): Likewise.
19644         (pow_test_downward): Likewise.
19645         (pow_test_upward): Likewise.
19646         (remainder_test): Likewise.
19647         (remainder_test_tonearest): Likewise.
19648         (remainder_test_towardzero): Likewise.
19649         (remainder_test_downward): Likewise.
19650         (remainder_test_upward): Likewise.
19651         (remquo_test): Likewise.
19652         (rint_test): Likewise.
19653         (rint_test_tonearest): Likewise.
19654         (rint_test_towardzero): Likewise.
19655         (rint_test_downward): Likewise.
19656         (rint_test_upward): Likewise.
19657         (round_test): Likewise.
19658         (scalb_test): Likewise.
19659         (scalbn_test): Likewise.
19660         (scalbln_test): Likewise.
19661         (signbit_test): Likewise.
19662         (sin_test): Likewise.
19663         (sin_test_tonearest): Likewise.
19664         (sin_test_towardzero): Likewise.
19665         (sin_test_downward): Likewise.
19666         (sin_test_upward): Likewise.
19667         (sincos_test): Likewise.
19668         (sinh_test): Likewise.
19669         (sinh_test_tonearest): Likewise.
19670         (sinh_test_towardzero): Likewise.
19671         (sinh_test_downward): Likewise.
19672         (sinh_test_upward): Likewise.
19673         (sqrt_test): Likewise.
19674         (tan_test): Likewise.
19675         (tan_test_tonearest): Likewise.
19676         (tan_test_towardzero): Likewise.
19677         (tan_test_downward): Likewise.
19678         (tan_test_upward): Likewise.
19679         (tanh_test): Likewise.
19680         (tgamma_test): Likewise.
19681         (trunc_test): Likewise.
19682         (y0_test): Likewise.
19683         (y1_test): Likewise.
19684         (yn_test): Likewise.
19685         (significand_test): Likewise.
19686
19687 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
19688
19689         [BZ #15381]
19690         * libio/genops.c (_IO_no_init): Initialize wide struct info.
19691
19692 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
19693
19694         [BZ #14894]
19695         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
19696         __ppc_mdoio and __ppc_mdoom.
19697         * manual/platform.texi: Document new functions __ppc_yield,
19698         __ppc_mdoio and __ppc_mdoom.
19699
19700 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
19701
19702         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
19703         (main): Mention "tls" pseudo-hwcap is legacy.
19704         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
19705
19706 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
19707
19708         * math/gen-libm-test.pl (parse_args): Output only string of
19709         arguments as text for test name, not full call or descriptions of
19710         tests for extra outputs.
19711         (generate_testfile): Do not pass function name to parse_args.
19712         Generate this_func variable from START.
19713         * math/libm-test.inc (struct test_f_f_data): Rename test_name
19714         field to arg_str.
19715         (struct test_ff_f_data): Likewise.
19716         (test_ff_f_data_nexttoward): Likewise.
19717         (struct test_fi_f_data): Likewise.
19718         (struct test_fl_f_data): Likewise.
19719         (struct test_if_f_data): Likewise.
19720         (struct test_fff_f_data): Likewise.
19721         (struct test_c_f_data): Likewise.
19722         (struct test_f_f1_data): Likewise.  Remove field extra_name.
19723         (struct test_fF_f1_data): Likewise.
19724         (struct test_ffI_f1_data): Likewise.
19725         (struct test_c_c_data): Rename test_name field to arg_str.
19726         (struct test_cc_c_data): Likewise.
19727         (struct test_f_i_data): Likewise.
19728         (struct test_ff_i_data): Likewise.
19729         (struct test_f_l_data): Likewise.
19730         (struct test_f_L_data): Likewise.
19731         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
19732         and extra2_name.
19733         (COMMON_TEST_SETUP): New macro.
19734         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
19735         (COMMON_TEST_CLEANUP): Likewise.
19736         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
19737         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
19738         macros.
19739         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
19740         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
19741         macros.
19742         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
19743         (RUN_TEST_fff_f): Take argument string.  Call new setup and
19744         cleanup macros.
19745         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
19746         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
19747         macros.
19748         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
19749         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
19750         macros.
19751         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19752         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
19753         cleanup macros.
19754         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19755         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
19756         cleanup macros.
19757         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19758         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
19759         cleanup macros.
19760         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19761         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
19762         macros.
19763         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
19764         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
19765         macros.
19766         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
19767         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
19768         macros.
19769         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
19770         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
19771         cleanup macros.
19772         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
19773         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
19774         cleanup macros.
19775         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
19776         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
19777         macros.
19778         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
19779         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
19780         cleanup macros.
19781         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
19782         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
19783         macros.
19784         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
19785         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
19786         macros.
19787         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
19788         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
19789         cleanup macros.
19790         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
19791
19792 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
19793
19794         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19795         to _sifields.sigfault.
19796         (si_addr_lsb): Define new macro.
19797         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19798         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19799         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19800
19801 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
19802
19803         [BZ #15441]
19804         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19805         returns -1.
19806         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19807         null return -1.
19808         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19809         loading the domain.
19810
19811 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
19812
19813         * math/gen-libm-test.pl (parse_args): Do not include expected
19814         result in test name.
19815         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19816         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19817         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19818         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19819         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19821
19822 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
19823
19824         * benchtests/Makefile: Sort function entries.
19825
19826         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19827         tanh, asinh, acosh, atanh.
19828         * benchtests/acos-inputs: New file.
19829         * benchtests/acosh-inputs: New file.
19830         * benchtests/asin-inputs: New file.
19831         * benchtests/asinh-inputs: New file.
19832         * benchtests/atanh-inputs: New file.
19833         * benchtests/cosh-inputs: New file.
19834         * benchtests/log-inputs: New file.
19835         * benchtests/sinh-inputs: New file.
19836         * benchtests/tanh-inputs: New file.
19837
19838 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
19839
19840         [BZ #15339]
19841         * posix/tst-getaddrinfo4.c: New test.
19842         * posix/Makefile (tests): Add it.
19843
19844 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19845
19846         [BZ #15339]
19847         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19848         when no services were used.
19849         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19850         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19851
19852 2013-05-21  Andreas Schwab  <schwab@suse.de>
19853
19854         [BZ #15014]
19855         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19856         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
19857         successful.
19858         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
19859         redundant variable declarations and reallocation of buffer when
19860         parsing as IPv6 address.  Always set NSS status when called from
19861         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
19862         buffer too small.  Correct computation of needed size.
19863         * nss/Makefile (tests): Add test-digits-dots.
19864         * nss/test-digits-dots.c: New test.
19865
19866 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19867
19868         * benchtests/Makefile: Remove instructions for adding
19869         benchmark tests.
19870         * benchtests/README: New file to explain how to execute and
19871         enhance the benchmark tests.
19872
19873 2013-05-21  Andreas Schwab  <schwab@suse.de>
19874
19875         [BZ #15493]
19876         * setjmp/Makefile (tests): Add tst-sigsetjmp.
19877         * setjmp/tst-sigsetjmp.c: New test.
19878
19879 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
19880
19881         * sysdeps/x86_64/memset.S (memset): New implementation.
19882         (__bzero): Likewise.
19883         (__memset_tail): New function.
19884
19885 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
19886
19887         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
19888         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
19889         __memcpy_sse2_unaligned ifunc selection.
19890         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19891         Add memcpy-sse2-unaligned.S.
19892         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19893         Add: __memcpy_sse2_unaligned.
19894
19895 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
19896
19897         [BZ #15490]
19898         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19899         math_force_eval before restoring floating-point envrionment.
19900         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
19901         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
19902         Likewise.
19903         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
19904         <math_private.h>.
19905         (__nearbyintl): Use math_force_eval before restoring
19906         floating-point environment.
19907         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
19908
19909         * math/gen-libm-test.pl (special_functions): Remove.
19910         (parse_args): Don't handle TEST_extra.  Handle functions with no
19911         return value.
19912         * math/libm-test.inc (struct test_sincos_data): Replace with
19913         struct test_fFF_11_data.
19914         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
19915         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
19916         (sincos_test_data): Change element type to struct
19917         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
19918         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
19919         RUN_TEST_LOOP_sincos.
19920         * math/README.libm-test: Don't mention special handling of
19921         individual functions.
19922         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
19923         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19924         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19925         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19926         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19928
19929         * math/gen-libm-test.pl (get_variable): Remove function.
19930         (parse_args): Don't show pointer parameters to call in test
19931         names.  Use "extra output N" in test names for extra outputs
19932         rather than naming variables.
19933
19934 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
19935
19936         [BZ #15488]
19937         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
19938         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
19939         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
19940         double tests.
19941         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
19942         disable.
19943         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
19944         check_long_double.
19945
19946         * math/gen-libm-test.pl (@tests): Remove variable.
19947         ($count): Likewise.
19948         (new_test): Remove function.
19949         (show_exceptions): New function.
19950         (special_functions): Use show_exceptions instead of new_test.
19951         (parse_args): Likewise.
19952         (generate_testfile): Pass only function name in generated call to
19953         print_max_error or print_complex_max_error.
19954         (get_ulps): Do not handle complex tests specially.
19955         (output_test): Rename to ...
19956         (get_all_ulps_for_test): ... this.  Return a string rather than
19957         printing to a file.  Require ulps to be present.
19958         (output_ulps): Generate arrays rather than #defines.
19959         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
19960         (struct ulp_data): New type.
19961         (BUILD_COMPLEX_ULP): Remove macro.
19962         (compare_ulp_data): New function.
19963         (find_ulps): Likewise.
19964         (find_test_ulps): Likewise.
19965         (find_function_ulps): Likewise.
19966         (find_complex_function_ulps): Likewise.
19967         (print_max_error): Determine allowed ulps using
19968         find_function_ulps.
19969         (print_complex_max_error): Determine allowed ulps using
19970         find_complex_function_ulps.
19971         (check_float_internal): Determine max ulps using find_test_ulps.
19972         (check_float): Do not take max_ulp parameter.  Update call to
19973         check_float_internal.
19974         (check_complex): Likewise.
19975         (check_int): Do not take max_ulp parameter.
19976         (check_long): Likewise.
19977         (check_bool): Likewise.
19978         (check_longlong): Likewise.
19979         (struct test_f_f_data): Remove max_ulp field.
19980         (struct test_ff_f_data): Likewise.
19981         (struct test_ff_f_data_nexttoward): Likewise.
19982         (struct test_fi_f_data): Likewise.
19983         (struct test_fl_f_data): Likewise.
19984         (struct test_if_f_data): Likewise.
19985         (struct test_fff_f_data): Likewise.
19986         (struct test_c_f_data): Likewise.
19987         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
19988         (struct test_fF_f1_data): Likewise.
19989         (struct test_ffI_f1_data): Likewise.
19990         (struct test_c_c_data): Remove max_ulp field.
19991         (struct test_cc_c_data): Likewise.
19992         (struct test_f_i_data): Likewise.
19993         (struct test_ff_i_data): Likewise.
19994         (struct test_f_l_data): Likewise.
19995         (struct test_f_L_data): Likewise.
19996         (struct test_sincos_data): Likewise.
19997         (RUN_TEST_f_f): Do not handle ulps.
19998         (RUN_TEST_LOOP_f_f): Likewise.
19999         (RUN_TEST_2_f): Likewise.
20000         (RUN_TEST_LOOP_2_f): Likewise.
20001         (RUN_TEST_fff_f): Likewise.
20002         (RUN_TEST_LOOP_fff_f): Likewise.
20003         (RUN_TEST_c_f): Likewise.
20004         (RUN_TEST_LOOP_c_f): Likewise.
20005         (RUN_TEST_f_f1): Likewise.
20006         (RUN_TEST_LOOP_f_f1): Likewise.
20007         (RUN_TEST_fF_f1): Likewise.
20008         (RUN_TEST_LOOP_fF_f1): Likewise.
20009         (RUN_TEST_fI_f1): Likewise.
20010         (RUN_TEST_LOOP_fI_f1): Likewise.
20011         (RUN_TEST_ffI_f1): Likewise.
20012         (RUN_TEST_LOOP_ffI_f1): Likewise.
20013         (RUN_TEST_c_c): Likewise.
20014         (RUN_TEST_LOOP_c_c): Likewise.
20015         (RUN_TEST_cc_c): Likewise.
20016         (RUN_TEST_LOOP_cc_c): Likewise.
20017         (RUN_TEST_f_i): Likewise.
20018         (RUN_TEST_LOOP_f_i): Likewise.
20019         (RUN_TEST_f_i_tg): Likewise.
20020         (RUN_TEST_LOOP_f_i_tg): Likewise.
20021         (RUN_TEST_ff_i_tg): Likewise.
20022         (RUN_TEST_LOOP_ff_i_tg): Likewise.
20023         (RUN_TEST_f_b): Likewise.
20024         (RUN_TEST_LOOP_f_b): Likewise.
20025         (RUN_TEST_f_b_tg): Likewise.
20026         (RUN_TEST_LOOP_f_b_tg): Likewise.
20027         (RUN_TEST_f_l): Likewise.
20028         (RUN_TEST_LOOP_f_l): Likewise.
20029         (RUN_TEST_f_L): Likewise.
20030         (RUN_TEST_LOOP_f_L): Likewise.
20031         (RUN_TEST_sincos): Likewise.
20032         (RUN_TEST_LOOP_sincos): Likewise.
20033
20034 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
20035
20036         [BZ #15480]
20037         [BZ #15485]
20038         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20039         main case of finite arguments, set rounding mode to FE_TONEAREST
20040         and discard exceptions.
20041         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
20042         exceptions.
20043         (remainder_tonearest_test_data): New variable.
20044         (remainder_test_tonearest): New function.
20045         (remainder_towardzero_test_data): New variable.
20046         (remainder_test_towardzero): New function.
20047         (remainder_downward_test_data): New variable.
20048         (remainder_test_downward): New function.
20049         (remainder_upward_test_data): New variable.
20050         (remainder_test_upward): New function.
20051         (main): Call the new test functions.
20052
20053         * math/libm-test.inc (struct test_f_f1_data): Remove field
20054         extra_init.
20055         (struct test_fF_f1_data): Likewise.
20056         (struct test_ffI_f1_data): Likewise.
20057         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
20058         based on value of EXTRA_EXPECTED.
20059         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20060         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
20061         EXTRA_VAR based on value of EXTRA_EXPECTED.
20062         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20063         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
20064         EXTRA_VAR based on value of EXTRA_EXPECTED.
20065         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20066         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
20067         EXTRA_VAR based on value of EXTRA_EXPECTED.
20068         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20069         * math/gen-libm-test.pl (parse_args): Don't output initializers
20070         for extra output values.
20071
20072         * math/libm-test.inc (check_int): Expect result to be exactly
20073         equal to expected value and do not handle ulps.
20074         (check_long): Likewise.
20075         (check_longlong): Likewise.
20076
20077         * math/libm-test.inc (ceil_test_data): Test for "inexact"
20078         exceptions.
20079         (cimag_test_data): Likewise.
20080         (conj_test_data): Likewise.
20081         (copysign_test_data): Likewise.
20082         (cproj_test_data): Likewise.
20083         (creal_test_data): Likewise.
20084         (fabs_test_data): Likewise.
20085         (fdim_test_data): Likewise.
20086         (finite_test_data): Likewise.
20087         (floor_test_data): Likewise.
20088         (fmax_test_data): Likewise.
20089         (fmin_test_data): Likewise.
20090         (fmod_test_data): Likewise.
20091         (fpclassify_test_data): Likewise.
20092         (frexp_test_data): Likewise.
20093         (ilogb_test_data): Likewise.
20094         (isfinite_test_data): Likewise.
20095         (isgreater_test_data): Likewise.
20096         (isgreaterequal_test_data): Likewise.
20097         (isinf_test_data): Likewise.
20098         (isless_test_data): Likewise.
20099         (islessequal_test_data): Likewise.
20100         (islessgreater_test_data): Likewise.
20101         (isnan_test_data): Likewise.
20102         (isnormal_test_data): Likewise.
20103         (issignaling_test_data): Likewise.
20104         (isunordered_test_data): Likewise.
20105         (ldexp_test_data): Likewise.
20106         (lrint_test_data): Likewise.
20107         (lrint_test_data) [TEST_FLOAT]: Disable one test.
20108         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20109         (lrint_tonearest_test_data): Test for "inexact" exceptions.
20110         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20111         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20112         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20113         test input.
20114         (lrint_towardzero_test_data): Test for "inexact" exceptions.
20115         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20116         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20117         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20118         that test input.
20119         (lrint_downward_test_data): Test for "inexact" exceptions.
20120         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20121         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20122         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20123         test input.
20124         (lrint_upward_test_data): Test for "inexact" exceptions.
20125         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20126         test input.
20127         (llrint_test_data): Test for "inexact" exceptions.
20128         (llrint_test_data) [TEST_FLOAT]: Disable one test.
20129         (llrint_tonearest_test_data): Test for "inexact" exceptions.
20130         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20131         (llrint_towardzero_test_data): Test for "inexact" exceptions.
20132         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20133         (llrint_downward_test_data): Test for "inexact" exceptions.
20134         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20135         (llrint_upward_test_data): Test for "inexact" exceptions.
20136         (logb_test_data): Likewise.
20137         (logb_downward_test_data): Likewise.
20138         (nextafter_test_data): Likewise.
20139         (nexttoward_test_data): Likewise.
20140         (remainder_test_data): Likewise.
20141         (remquo_test_data): Likewise.
20142         (scalbn_test_data): Likewise.
20143         (scalbln_test_data): Likewise.
20144         (signbit_test_data): Likewise.
20145         (sqrt_test_data): Likewise.
20146         (significand_test_data): Likewise.
20147
20148 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20149
20150         [BZ #15424]
20151         * benchtests/bench-modf.c (struct args): Mark arg0 as
20152         volatile.
20153         * scripts/bench.pl: Mark members of struct args as volatile.
20154
20155 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20156
20157         [BZ # 15497]
20158         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20159         negative infinity on POWER6 or lower.
20160         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20161
20162 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
20163
20164         [BZ #15442]
20165         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20166         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20167         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20168         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20169         (_FP_SETQNAN): New macro.
20170         (_FP_SETQNAN_SEMIRAW): Likewise.
20171         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20172         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20173         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20174         (FP_EXTEND): Use _FP_FRAC_SNANP.
20175         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20176         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20177         into account.
20178         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20179         New macro.
20180         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20181         Likewise.
20182
20183 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20184
20185         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20186         with DIVIDE_BY_ZERO_EXCEPTION.
20187         (gamma_test_data): Likewise.
20188         (lgamma_test_data): Likewise.
20189         (log_test_data): Likewise.
20190         (log10_test_data): Likewise.
20191         (log2_test_data): Likewise.
20192         (tgamma_test_data): Likewise.
20193
20194         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20195         (acos_test_tonearest): Likewise.
20196         (acos_test_towardzero): Likewise.
20197         (acos_test_downward): Likewise.
20198         (acos_test_upward): Likewise.
20199         (acosh_test): Likewise.
20200         (asin_test): Likewise.
20201         (asin_test_tonearest): Likewise.
20202         (asin_test_towardzero): Likewise.
20203         (asin_test_downward): Likewise.
20204         (asin_test_upward): Likewise.
20205         (asinh_test): Likewise.
20206         (atan_test): Likewise.
20207         (atanh_test): Likewise.
20208         (atan2_test): Likewise.
20209         (cabs_test): Likewise.
20210         (cacos_test): Likewise.
20211         (cacosh_test): Likewise.
20212         (casin_test): Likewise.
20213         (casinh_test): Likewise.
20214         (catan_test): Likewise.
20215         (catanh_test): Likewise.
20216         (cbrt_test): Likewise.
20217         (ccos_test): Likewise.
20218         (ccosh_test): Likewise.
20219         (cexp_test): Likewise.
20220         (clog_test): Likewise.
20221         (clog10_test): Likewise.
20222         (cos_test): Likewise.
20223         (cos_test_tonearest): Likewise.
20224         (cos_test_towardzero): Likewise.
20225         (cos_test_downward): Likewise.
20226         (cos_test_upward): Likewise.
20227         (cosh_test): Likewise.
20228         (cosh_test_tonearest): Likewise.
20229         (cosh_test_towardzero): Likewise.
20230         (cosh_test_downward): Likewise.
20231         (cosh_test_upward): Likewise.
20232         (cpow_test): Likewise.
20233         (csin_test): Likewise.
20234         (csinh_test): Likewise.
20235         (csqrt_test): Likewise.
20236         (ctan_test): Likewise.
20237         (ctan_test_tonearest): Likewise.
20238         (ctan_test_towardzero): Likewise.
20239         (ctan_test_downward): Likewise.
20240         (ctan_test_upward): Likewise.
20241         (ctanh_test): Likewise.
20242         (ctanh_test_tonearest): Likewise.
20243         (ctanh_test_towardzero): Likewise.
20244         (ctanh_test_downward): Likewise.
20245         (ctanh_test_upward): Likewise.
20246         (erf_test): Likewise.
20247         (erfc_test): Likewise.
20248         (exp_test): Likewise.
20249         (exp_test_tonearest): Likewise.
20250         (exp_test_towardzero): Likewise.
20251         (exp_test_downward): Likewise.
20252         (exp_test_upward): Likewise.
20253         (exp10_test): Likewise.
20254         (exp2_test): Likewise.
20255         (expm1_test): Likewise.
20256         (fmod_test): Likewise.
20257         (gamma_test): Likewise.
20258         (hypot_test): Likewise.
20259         (j0_test): Likewise.
20260         (j1_test): Likewise.
20261         (jn_test): Likewise.
20262         (lgamma_test): Likewise.
20263         (log_test): Likewise.
20264         (log10_test): Likewise.
20265         (log1p_test): Likewise.
20266         (log2_test): Likewise.
20267         (logb_test_downward): Likewise.
20268         (pow_test): Likewise.
20269         (pow_test_tonearest): Likewise.
20270         (pow_test_towardzero): Likewise.
20271         (pow_test_downward): Likewise.
20272         (pow_test_upward): Likewise.
20273         (remainder_test): Likewise.
20274         (remquo_test): Likewise.
20275         (sin_test): Likewise.
20276         (sin_test_tonearest): Likewise.
20277         (sin_test_towardzero): Likewise.
20278         (sin_test_downward): Likewise.
20279         (sin_test_upward): Likewise.
20280         (sincos_test): Likewise.
20281         (sinh_test): Likewise.
20282         (sinh_test_tonearest): Likewise.
20283         (sinh_test_towardzero): Likewise.
20284         (sinh_test_downward): Likewise.
20285         (sinh_test_upward): Likewise.
20286         (sqrt_test): Likewise.
20287         (tan_test): Likewise.
20288         (tan_test_tonearest): Likewise.
20289         (tan_test_towardzero): Likewise.
20290         (tan_test_downward): Likewise.
20291         (tan_test_upward): Likewise.
20292         (tanh_test): Likewise.
20293         (tgamma_test): Likewise.
20294         (y0_test): Likewise.
20295         (y1_test): Likewise.
20296         (yn_test): Likewise.
20297
20298         * math/gen-libm-test.pl (adjust_arg): Remove function.
20299         (special_function): Remove argument $in_func.  Only handle
20300         generating output for tables of tests, not inside functions.
20301         (parse_args): Likewise.
20302         (generate_testfile): Remove variable $in_func.  Update call to
20303         parse_args.
20304         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20305         (MINUS_ZERO_INIT): Rename macro to minus_zero.
20306         (PLUS_INFTY_INIT): Rename macro to plus_infty.
20307         (MINUS_INFTY_INIT): Rename macro to minus_infty.
20308         (QNAN_VALUE_INIT): Rename macro to qnan_value.
20309         (MAX_VALUE_INIT): Rename macro to max_value.
20310         (MIN_VALUE_INIT): Rename macro to min_value.
20311         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20312         (plus_zero): Remove variable.
20313         (minus_zero): Likewise.
20314         (plus_infty): Likewise.
20315         (minus_infty): Likewise.
20316         (qnan_value): Likewise.
20317         (max_value): Likewise.
20318         (min_value): Likewise.
20319         (min_subnorm_value): Likewise.
20320
20321 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20322
20323         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
20324         uint64_t or uint32_t usage.
20325         * crypt/sha256-block.c: Likewise.
20326         * crypt/sha256-crypt.c: Likewise.
20327         * crypt/sha256.c: Likewise.
20328         * crypt/sha512-block.c: Likewise.
20329         * crypt/sha512-crypt.c: Likewise.
20330         * crypt/sha512.c: Likewise.
20331         * debug/backtrace-tst.c: Likewise.
20332         * debug/pcprofiledump.c: Likewise.
20333         * elf/cache.c: Likewise.
20334         * elf/dl-cache.c: Likewise.
20335         * elf/dl-misc.c: Likewise.
20336         * elf/dl-profile.c: Likewise.
20337         * elf/dl-support.c: Likewise.
20338         * elf/ldconfig.c: Likewise.
20339         * elf/sprof.c: Likewise.
20340         * iconv/dummy-repertoire.c: Likewise.
20341         * iconv/iconv_charmap.c: Likewise.
20342         * iconv/skeleton.c: Likewise.
20343         * iconvdata/8bit-generic.c: Likewise.
20344         * iconvdata/cp737.h: Likewise.
20345         * iconvdata/cp775.h: Likewise.
20346         * iconvdata/ibm1008.h: Likewise.
20347         * iconvdata/ibm1025.h: Likewise.
20348         * iconvdata/ibm1046.h: Likewise.
20349         * iconvdata/ibm1097.h: Likewise.
20350         * iconvdata/ibm1112.h: Likewise.
20351         * iconvdata/ibm1122.h: Likewise.
20352         * iconvdata/ibm1123.h: Likewise.
20353         * iconvdata/ibm1124.h: Likewise.
20354         * iconvdata/ibm1129.h: Likewise.
20355         * iconvdata/ibm1130.h: Likewise.
20356         * iconvdata/ibm1132.h: Likewise.
20357         * iconvdata/ibm1133.h: Likewise.
20358         * iconvdata/ibm1137.h: Likewise.
20359         * iconvdata/ibm1140.h: Likewise.
20360         * iconvdata/ibm1141.h: Likewise.
20361         * iconvdata/ibm1142.h: Likewise.
20362         * iconvdata/ibm1143.h: Likewise.
20363         * iconvdata/ibm1144.h: Likewise.
20364         * iconvdata/ibm1145.h: Likewise.
20365         * iconvdata/ibm1146.h: Likewise.
20366         * iconvdata/ibm1147.h: Likewise.
20367         * iconvdata/ibm1148.h: Likewise.
20368         * iconvdata/ibm1149.h: Likewise.
20369         * iconvdata/ibm1153.h: Likewise.
20370         * iconvdata/ibm1154.h: Likewise.
20371         * iconvdata/ibm1155.h: Likewise.
20372         * iconvdata/ibm1156.h: Likewise.
20373         * iconvdata/ibm1157.h: Likewise.
20374         * iconvdata/ibm1158.h: Likewise.
20375         * iconvdata/ibm1160.h: Likewise.
20376         * iconvdata/ibm1161.h: Likewise.
20377         * iconvdata/ibm1162.h: Likewise.
20378         * iconvdata/ibm1163.h: Likewise.
20379         * iconvdata/ibm1164.h: Likewise.
20380         * iconvdata/ibm1166.h: Likewise.
20381         * iconvdata/ibm1167.h: Likewise.
20382         * iconvdata/ibm12712.h: Likewise.
20383         * iconvdata/ibm1390.h: Likewise.
20384         * iconvdata/ibm1399.h: Likewise.
20385         * iconvdata/ibm16804.h: Likewise.
20386         * iconvdata/ibm4517.h: Likewise.
20387         * iconvdata/ibm4899.h: Likewise.
20388         * iconvdata/ibm4909.h: Likewise.
20389         * iconvdata/ibm4971.h: Likewise.
20390         * iconvdata/ibm5347.h: Likewise.
20391         * iconvdata/ibm803.h: Likewise.
20392         * iconvdata/ibm856.h: Likewise.
20393         * iconvdata/ibm901.h: Likewise.
20394         * iconvdata/ibm902.h: Likewise.
20395         * iconvdata/ibm9030.h: Likewise.
20396         * iconvdata/ibm9066.h: Likewise.
20397         * iconvdata/ibm921.h: Likewise.
20398         * iconvdata/ibm922.h: Likewise.
20399         * iconvdata/ibm9448.h: Likewise.
20400         * iconvdata/isiri-3342.h: Likewise.
20401         * iconvdata/jis0201.h: Likewise.
20402         * include/link.h: Likewise.
20403         * include/netdb.h: Likewise.
20404         * inet/check_native.c: Likewise.
20405         * inet/check_pf.c: Likewise.
20406         * inet/getipv4sourcefilter.c: Likewise.
20407         * inet/getnameinfo.c: Likewise.
20408         * inet/getsourcefilter.c: Likewise.
20409         * inet/htonl.c: Likewise.
20410         * inet/setipv4sourcefilter.c: Likewise.
20411         * inet/setsourcefilter.c: Likewise.
20412         * inet/test-inet6_opt.c: Likewise.
20413         * inet/tst-network.c: Likewise.
20414         * locale/C-collate.c: Likewise.
20415         * locale/C-ctype.c: Likewise.
20416         * locale/C-time.c: Likewise.
20417         * locale/C-translit.h: Likewise.
20418         * locale/loadarchive.c: Likewise.
20419         * locale/programs/3level.h: Likewise.
20420         * locale/programs/charmap.c: Likewise.
20421         * locale/programs/charmap.h: Likewise.
20422         * locale/programs/ld-address.c: Likewise.
20423         * locale/programs/ld-collate.c: Likewise.
20424         * locale/programs/ld-ctype.c: Likewise.
20425         * locale/programs/ld-identification.c: Likewise.
20426         * locale/programs/ld-measurement.c: Likewise.
20427         * locale/programs/ld-messages.c: Likewise.
20428         * locale/programs/ld-monetary.c: Likewise.
20429         * locale/programs/ld-name.c: Likewise.
20430         * locale/programs/ld-numeric.c: Likewise.
20431         * locale/programs/ld-paper.c: Likewise.
20432         * locale/programs/ld-telephone.c: Likewise.
20433         * locale/programs/ld-time.c: Likewise.
20434         * locale/programs/linereader.c: Likewise.
20435         * locale/programs/locale.c: Likewise.
20436         * locale/programs/locarchive.c: Likewise.
20437         * locale/programs/locfile.h: Likewise.
20438         * locale/programs/repertoire.c: Likewise.
20439         * locale/programs/simple-hash.c: Likewise.
20440         * locale/programs/simple-hash.h: Likewise.
20441         * malloc/memusage.c: Likewise.
20442         * malloc/memusagestat.c: Likewise.
20443         * nis/nis_defaults.c: Likewise.
20444         * nis/nis_hash.c: Likewise.
20445         * nis/nis_print.c: Likewise.
20446         * nis/nis_xdr.c: Likewise.
20447         * nscd/connections.c: Likewise.
20448         * nscd/hstcache.c: Likewise.
20449         * nscd/nscd_gethst_r.c: Likewise.
20450         * nscd/nscd_getserv_r.c: Likewise.
20451         * nscd/nscd_helper.c: Likewise.
20452         * nscd/servicescache.c: Likewise.
20453         * nss/makedb.c: Likewise.
20454         * nss/nss_db/db-XXX.c: Likewise.
20455         * nss/nss_db/db-initgroups.c: Likewise.
20456         * nss/nss_db/db-netgrp.c: Likewise.
20457         * nss/nss_files/files-network.c: Likewise.
20458         * nss/nss_files/files-parse.c: Likewise.
20459         * posix/bug-regex5.c: Likewise.
20460         * posix/fnmatch_loop.c: Likewise.
20461         * posix/regcomp.c: Likewise.
20462         * posix/regexec.c: Likewise.
20463         * posix/tst-rfc3484-2.c: Likewise.
20464         * posix/tst-rfc3484-3.c: Likewise.
20465         * posix/tst-rfc3484.c: Likewise.
20466         * resolv/nss_dns/dns-canon.c: Likewise.
20467         * resolv/nss_dns/dns-network.c: Likewise.
20468         * resolv/res_init.c: Likewise.
20469         * resolv/res_mkquery.c: Likewise.
20470         * resolv/tst-aton.c: Likewise.
20471         * stdlib/cxa_atexit.c: Likewise.
20472         * stdlib/cxa_finalize.c: Likewise.
20473         * stdlib/gen-fpioconst.c: Likewise.
20474         * stdlib/strtol_l.c: Likewise.
20475         * string/tst-endian.c: Likewise.
20476         * sunrpc/auth_des.c: Likewise.
20477         * sunrpc/clnt_udp.c: Likewise.
20478         * sunrpc/rtime.c: Likewise.
20479         * sunrpc/svcauth_des.c: Likewise.
20480         * sunrpc/xdr.c: Likewise.
20481         * sunrpc/xdr_intXX_t.c: Likewise.
20482         * sunrpc/xdr_rec.c: Likewise.
20483         * sysdeps/generic/ldconfig.h: Likewise.
20484         * sysdeps/generic/ldsodefs.h: Likewise.
20485         * sysdeps/generic/memusage.h: Likewise.
20486         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20487         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20488         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20489         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20490         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20491         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20492         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20493         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20494         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20495         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20496         * sysdeps/posix/getaddrinfo.c: Likewise.
20497         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20498         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20499         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20500         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20501         * sysdeps/powerpc/test-gettimebase.c: Likewise.
20502         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20503         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20504         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20505         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20506         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20507         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20508         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20509         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20510         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20511         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20512         * sysdeps/x86_64/dl-tls.h: Likewise.
20513         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20514         * time/alt_digit.c: Likewise.
20515         * time/era.c: Likewise.
20516         * wcsmbs/tst-c16c32-1.c: Likewise.
20517
20518 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20519
20520         * math/libm-test.inc (struct test_sincos_data): New type.
20521         (RUN_TEST_LOOP_sincos): New macro.
20522         (sincos_test_data): New variable.
20523         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20524
20525 2013-05-16  Richard Henderson  <rth@redhat.com>
20526
20527         * math/atest-exp2.c (LIMB64): New macro.
20528         (CONSTSZ): New macro.
20529         (mp_exp1, mp_exp_m1, mp_log2): New variables.
20530         (hexdig): Move ...
20531         (print_mpn_fp): ... to function scope.
20532         (read_mpn_hex): Remove.
20533         (get_log2): Remove.
20534         (exp2_mpn): Use mp_log2.
20535         (main): Use mp_exp1.
20536
20537 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
20538
20539         * math/libm-test.inc: Remove comment about not testing "inexact"
20540         exceptions.
20541         (INEXACT_EXCEPTION): New macro.
20542         (NO_INEXACT_EXCEPTION): Likewise.
20543         (INVALID_EXCEPTION_OK): Update value.
20544         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20545         (OVERFLOW_EXCEPTION_OK): Likewise.
20546         (UNDERFLOW_EXCEPTION_OK): Likewise.
20547         (IGNORE_ZERO_INF_SIGN): Likewise.
20548         (ERRNO_UNCHANGED): Likewise.
20549         (ERRNO_EDOM): Likewise.
20550         (ERRNO_ERANGE): Likewise.
20551         (test_exceptions): Handle testing "inexact" exceptions.
20552         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
20553         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
20554         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
20555         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
20556         INEXACT_EXCEPTION.
20557         (rint_towardzero_test_data): Likewise.
20558         (rint_downward_test_data): Likewise.
20559         (rint_upward_test_data): Likewise.
20560
20561         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
20562         with OVERFLOW_EXCEPTION.
20563         (exp10_test_data): Likewise.
20564         (exp2_test_data): Likewise.
20565         (expm1_test_data): Likewise.
20566         (lgamma_test_data): Likewise.
20567         (pow_test_data): Likewise.
20568         (tgamma_test_data): Likewise.
20569         (yn_test_data): Remove duplicate test of overflow.
20570
20571         * math/libm-test.inc (struct test_cc_c_data): New type.
20572         (RUN_TEST_LOOP_cc_c): New macro.
20573         (cpow_test_data): New variable.
20574         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
20575
20576         * math/libm-test.inc (struct test_f_L_data): New type.
20577         (RUN_TEST_LOOP_f_L): New macro.
20578         (llrint_test_data): New variable.
20579         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
20580         (llrint_tonearest_test_data): New variable.
20581         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
20582         (llrint_towardzero_test_data): New variable.
20583         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
20584         (llrint_downward_test_data): New variable.
20585         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
20586         (llrint_upward_test_data): New variable.
20587         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
20588         (llround_test_data): New variable.
20589         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
20590
20591 2013-05-13  Peter Collingbourne  <pcc@google.com>
20592
20593         * math/atest-exp2.c (get_log2): Remove const attribute.
20594
20595 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
20596
20597         * math/libm-test.inc (struct test_f_l_data): New type.
20598         (RUN_TEST_LOOP_f_l): New macro.
20599         (lrint_test_data): New variable.
20600         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
20601         (lrint_tonearest_test_data): New variable.
20602         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
20603         (lrint_towardzero_test_data): New variable.
20604         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
20605         (lrint_downward_test_data): New variable.
20606         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
20607         (lrint_upward_test_data): New variable.
20608         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
20609         (lround_test_data): New variable.
20610         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
20611
20612 2013-05-15  Peter Collingbourne  <pcc@google.com>
20613
20614         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
20615         (EXTRACT_WORDS64) Use where appropriate.
20616         (INSERT_WORDS64) Likewise.
20617
20618         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
20619         constraints with x constraints.
20620         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
20621
20622         * malloc/obstack.c (_obstack_compat): Add initializer.
20623
20624 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
20625
20626         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
20627         si_trapno and add si_addr_lsb to _sifields.sigfault.
20628         (si_trapno): Remove macro.
20629         (si_addr_lsb): Define new macro.
20630         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20631
20632 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
20633
20634         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
20635         instead of TEST_f_l.
20636         (llrint_test_tonearest): Likewise.
20637         (llrint_test_towardzero): Likewise.
20638         (llrint_test_downward): Likewise.
20639         (llrint_test_upward): Likewise.
20640         (llround_test): Likewise.
20641
20642         * math/libm-test.inc (struct test_f_i_data): Add comment.
20643         (RUN_TEST_LOOP_f_b): New macro.
20644         (RUN_TEST_LOOP_f_b_tg): Likewise.
20645         (finite_test_data): New variable.
20646         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
20647         (isfinite_test_data): New variable.
20648         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20649         (isinf_test_data): New variable.
20650         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20651         (isnan_test_data): New variable.
20652         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20653         (isnormal_test_data): New variable.
20654         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20655         (issignaling_test_data): New variable.
20656         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20657         (signbit_test_data): New variable.
20658         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20659
20660         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
20661         with INVALID_EXCEPTION.
20662         (acosh_test_data): Likewise.
20663         (asin_test_data): Likewise.
20664         (atanh_test_data): Likewise.
20665         (fmod_test_data): Likewise.
20666         (log_test_data): Likewise.
20667         (log10_test_data): Likewise.
20668         (log2_test_data): Likewise.
20669         (pow_test_data): Likewise.
20670         (sqrt_test_data): Likewise.
20671         (y0_test_data): Likewise.
20672         (y1_test_data): Likewise.
20673         (yn_test_data): Likewise.
20674
20675         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
20676         function contents.
20677
20678         * math/libm-test.inc (struct test_ff_i_data): New type.
20679         (RUN_TEST_LOOP_ff_i_tg): New macro.
20680         (isgreater_test_data): New variable.
20681         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20682         (isgreaterequal_test_data): New variable.
20683         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20684         (isless_test_data): New variable.
20685         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20686         (islessequal_test_data): New variable.
20687         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20688         (islessgreater_test_data): New variable.
20689         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20690         (isunordered_test_data): New variable.
20691         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20692
20693 2013-05-14  David S. Miller  <davem@davemloft.net>
20694
20695         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20696
20697 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
20698
20699         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
20700
20701         * math/libm-test.inc (struct test_fF_f1_data): Change type of
20702         extra_test to int.
20703         (struct test_f_i_data): Change type of max_ulp to int.
20704
20705         * math/libm-test.inc (test_ffI_f1_data): New type.
20706         (RUN_TEST_LOOP_ffI_f1): New macro.
20707         (remquo_test_data): New variable.
20708         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
20709
20710         * setjmp/tst-setjmp-fp.c: New file.
20711         * setjmp/Makefile (tests): Add tst-setjmp-fp.
20712         (link-libm): New variable.
20713         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
20714
20715         * math/libm-test.inc (struct test_f_i_data): New type.
20716         (RUN_TEST_LOOP_f_i): New macro.
20717         (RUN_TEST_LOOP_f_i_tg): Likewise.
20718         (fpclassify_test_data): New variable.
20719         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
20720         (ilogb_test_data): New variable.
20721         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
20722
20723         * math/libm-test.inc (scalbln_test): Correct function name in END
20724         call.
20725
20726         * math/libm-test.inc (struct test_f_f1_data): Add comment.
20727         (RUN_TEST_LOOP_fI_f1): New macro.
20728         (frexp_test_data): New variable.
20729         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
20730
20731         * math/libm-test.inc (struct test_fF_f1_data): New type.
20732         (RUN_TEST_LOOP_fF_f1): New macro.
20733         (modf_test_data): New variable.
20734         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
20735
20736         * math/libm-test.inc (struct test_f_f1_data): New type.
20737         (RUN_TEST_LOOP_f_f1): New macro.
20738         (gamma_test_data): New variable.
20739         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20740         (lgamma_test_data): New variable.
20741         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20742
20743 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
20744
20745         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
20746         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
20747         (main): Comment "tls" pseudo-hwcap.
20748
20749 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
20750
20751         * math/libm-test.inc (struct test_fl_f_data): New type.
20752         (RUN_TEST_LOOP_fl_f): New variable.
20753         (scalbln_test_data): New variable.
20754         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
20755
20756         * math/libm-test.inc (struct test_fi_f_data): New type.
20757         (RUN_TEST_LOOP_fi_f): New macro.
20758         (ldexp_test_data): New variable.
20759         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
20760         (scalbn_test_data): New variable.
20761         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
20762
20763         * math/libm-test.inc (struct test_c_f_data): New type.
20764         (RUN_TEST_LOOP_c_f): New macro.
20765         (cabs_test_data): New variable.
20766         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
20767         (carg_test_data): New variable.
20768         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
20769         (cimag_test_data): New variable.
20770         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
20771         (creal_test_data): New variable.
20772         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
20773
20774         * math/libm-test.inc (struct test_if_f_data): New type.
20775         (RUN_TEST_LOOP_if_f): New macro.
20776         (jn_test_data): New variable.
20777         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
20778         (yn_test_data): New variable.
20779         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
20780
20781         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
20782
20783 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20784
20785         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
20786         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
20787
20788 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
20789
20790         * benchtests/Makefile (CPPFLAGS-nonlib): Add
20791         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
20792         (bench-deps): Add bench-timing.h.
20793         * benchtests-bench-skeleton.c: Include bench-timing.h.
20794         (main): Use TIMING_* macros instead of clock_gettime.
20795         * benchtests/bench-timing.h: New file.
20796
20797         [BZ #14582]
20798         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20799         Renamed from _LIB_VERSION.
20800         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20801
20802 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
20803
20804         * math/libm-test.inc (struct test_fff_f_data): New type.
20805         (RUN_TEST_LOOP_fff_f): New macro.
20806         (fma_test_data): New variable.
20807         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20808         (fma_towardzero_test_data): New variable.
20809         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20810         (fma_downward_test_data): New variable.
20811         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20812         (fma_upward_test_data): New variable.
20813         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20814
20815         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20816         (struct test_c_c_data): New type.
20817         (RUN_TEST_LOOP_c_c): New macro.
20818         (cacos_test_data): New variable.
20819         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20820         (cacosh_test_data): New variable.
20821         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20822         (casin_test_data): New variable.
20823         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20824         (casinh_test_data): New variable.
20825         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20826         (catan_test_data): New variable.
20827         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20828         (catanh_test_data): New variable.
20829         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20830         (ccos_test_data): New variable.
20831         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20832         (ccosh_test_data): New variable.
20833         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20834         (cexp_test_data): New variable.
20835         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20836         (clog_test_data): New variable.
20837         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20838         (clog10_test_data): New variable.
20839         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20840         (conj_test_data): New variable.
20841         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20842         (cproj_test_data): New variable.
20843         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20844         (csin_test_data): New variable.
20845         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20846         (csinh_test_data): New variable.
20847         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20848         (csqrt_test_data): New variable.
20849         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20850         (ctan_test_data): New variable.
20851         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20852         (ctan_tonearest_test_data): New variable.
20853         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20854         (ctan_towardzero_test_data): New variable.
20855         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20856         (ctan_downward_test_data): New variable.
20857         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20858         (ctan_upward_test_data): New variable.
20859         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20860         (ctanh_test_data): New variable.
20861         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
20862         (ctanh_tonearest_test_data): New variable.
20863         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20864         (ctanh_towardzero_test_data): New variable.
20865         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20866         (ctanh_downward_test_data): New variable.
20867         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
20868         (ctanh_upward_test_data): New variable.
20869         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
20870         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
20871         of BUILD_COMPLEX.
20872
20873         * math/libm-test.inc (struct test_ff_f_data): New type.
20874         (struct test_ff_f_data_nexttoward): Likewise.
20875         (RUN_TEST_LOOP_2_f): New macro.
20876         (RUN_TEST_LOOP_ff_f): Likewise.
20877         (atan2_test_data): New variable.
20878         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
20879         (copysign_test_data): New variable.
20880         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
20881         (fdim_test_data): New variable.
20882         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
20883         (fmax_test_data): New variable.
20884         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
20885         (fmin_test_data): New variable.
20886         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
20887         (fmod_test_data): New variable.
20888         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
20889         (hypot_test_data): New variable.
20890         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
20891         (nextafter_test_data): New variable.
20892         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
20893         (nexttoward_test_data): New variable.
20894         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
20895         (pow_test_data): New variable.
20896         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
20897         (pow_tonearest_test_data): New variable.
20898         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
20899         (pow_towardzero_test_data): New variable.
20900         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
20901         (pow_downward_test_data): New variable.
20902         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
20903         (pow_upward_test_data): New variable.
20904         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
20905         (remainder_test_data): New variable.
20906         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
20907         (scalb_test_data): New variable.
20908         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
20909         * sysdeps/i386/fpu/libm-test-ulps: Update.
20910
20911 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
20912
20913         * math/libm-test.inc (fma_test): Use max_value instead of local
20914         variable fltmax.
20915         (nextafter_test): Likewise.
20916
20917         * math/libm-test.inc (acos_towardzero_test_data): New variable.
20918         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20919         (acos_downward_test_data): New variable.
20920         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20921         (acos_upward_test_data): New variable.
20922         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20923         (acosh_test_data): New variable.
20924         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
20925         (asin_test_data): New variable.
20926         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
20927         (asin_tonearest_test_data): New variable.
20928         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20929         (asin_towardzero_test_data): New variable.
20930         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20931         (asin_downward_test_data): New variable.
20932         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20933         (asin_upward_test_data): New variable.
20934         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20935         (asinh_test_data): New variable.
20936         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
20937         (atan_test_data): New variable.
20938         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
20939         (atanh_test_data): New variable.
20940         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
20941         (cbrt_test_data): New variable.
20942         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
20943         (ceil_test_data): New variable.
20944         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
20945         (cos_test_data): New variable.
20946         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
20947         (cos_tonearest_test_data): New variable.
20948         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20949         (cos_towardzero_test_data): New variable.
20950         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20951         (cos_downward_test_data): New variable.
20952         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20953         (cos_upward_test_data): New variable.
20954         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20955         (cosh_test_data): New variable.
20956         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
20957         (cosh_tonearest_test_data): New variable.
20958         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20959         (cosh_towardzero_test_data): New variable.
20960         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20961         (cosh_downward_test_data): New variable.
20962         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20963         (cosh_upward_test_data): New variable.
20964         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20965         (erf_test_data): New variable.
20966         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
20967         (erfc_test_data): New variable.
20968         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
20969         (exp_test_data): New variable.
20970         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
20971         (exp_tonearest_test_data): New variable.
20972         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
20973         (exp_towardzero_test_data): New variable.
20974         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
20975         (exp_downward_test_data): New variable.
20976         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
20977         (exp_upward_test_data): New variable.
20978         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
20979         (exp10_test_data): New variable.
20980         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
20981         (exp2_test_data): New variable.
20982         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
20983         (expm1_test_data): New variable.
20984         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
20985         (fabs_test_data): New variable.
20986         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
20987         (floor_test_data): New variable.
20988         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
20989         (j0_test_data): New variable.
20990         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
20991         (j1_test_data): New variable.
20992         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
20993         (log_test_data): New variable.
20994         (log_test): Run tests with RUN_TEST_LOOP_f_f.
20995         (log10_test_data): New variable.
20996         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
20997         (log1p_test_data): New variable.
20998         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
20999         (log2_test_data): New variable.
21000         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
21001         (logb_test_data): New variable.
21002         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
21003         (logb_downward_test_data): New variable.
21004         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21005         (nearbyint_test_data): New variable.
21006         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
21007         (rint_test_data): New variable.
21008         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
21009         (rint_tonearest_test_data): New variable.
21010         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21011         (rint_towardzero_test_data): New variable.
21012         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21013         (rint_downward_test_data): New variable.
21014         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21015         (rint_upward_test_data): New variable.
21016         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21017         (round_test_data): New variable.
21018         (round_test): Run tests with RUN_TEST_LOOP_f_f.
21019         (sin_test_data): New variable.
21020         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
21021         (sin_tonearest_test_data): New variable.
21022         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21023         (sin_towardzero_test_data): New variable.
21024         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21025         (sin_downward_test_data): New variable.
21026         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21027         (sin_upward_test_data): New variable.
21028         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21029         (sinh_test_data): New variable.
21030         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
21031         (sinh_tonearest_test_data): New variable.
21032         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21033         (sinh_towardzero_test_data): New variable.
21034         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21035         (sinh_downward_test_data): New variable.
21036         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21037         (sinh_upward_test_data): New variable.
21038         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21039         (sqrt_test_data): New variable.
21040         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
21041         (tan_test_data): New variable.
21042         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
21043         (tan_tonearest_test_data): New variable.
21044         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21045         (tan_towardzero_test_data): New variable.
21046         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21047         (tan_downward_test_data): New variable.
21048         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21049         (tan_upward_test_data): New variable.
21050         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21051         (tanh_test_data): New variable.
21052         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
21053         (tgamma_test_data): New variable.
21054         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
21055         (trunc_test_data): New variable.
21056         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21057         (y0_test_data): New variable.
21058         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21059         (y1_test_data): New variable.
21060         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21061         (significand_test_data): New variable.
21062         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21063
21064 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
21065
21066         [BZ #12387]
21067         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21068
21069 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
21070
21071         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21072
21073 2013-05-10  Andreas Jaeger  <aj@suse.de>
21074
21075         [BZ #15448]
21076         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21077         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21078
21079 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
21080
21081         * math/gen-libm-test.pl (adjust_arg): New function.
21082         (special_functions): Handle generating output in both functions
21083         and arrays.
21084         (parse_args): Likewise.
21085         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
21086         $in_func argument to parse_args.
21087         * math/libm-test.inc (struct test_f_f_data): New type.
21088         (IF_ROUND_INIT_): New macro.
21089         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21090         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21091         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21092         (IF_ROUND_INIT_FE_UPWARD): Likewise.
21093         (ROUND_RESTORE_): Likewise.
21094         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21095         (ROUND_RESTORE_FE_TONEAREST): Likewise.
21096         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21097         (ROUND_RESTORE_FE_UPWARD): Likewise.
21098         (RUN_TEST_LOOP_f_f): New macro.
21099         (acos_test_data): New variable.
21100         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21101         (acos_tonearest_test_data): New variable.
21102         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21103
21104 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
21105
21106         * benchtests/bench-skeleton.c (startup): Fix coding style.
21107
21108 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
21109
21110         [BZ #6809]
21111         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21112         negative infinity argument.
21113         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21114         negative infinity argument.
21115         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21116         negative infinity argument.
21117         * math/libm-test.inc (tgamma_test): Expect errno to be set for
21118         domain errors.
21119
21120 2013-05-10  Florian Weimer  <fweimer@redhat.com>
21121
21122         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21123         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21124         * iconv/iconv_prog.c (main): Likewise.
21125         * locale/programs/charmap-dir.c (charmap_readdir)
21126         (fopen_uncompressed): Likewise.
21127         * locale/programs/locfile.c (siblings_uncached)
21128         (write_locale_data): Use lstat64 instead of lstat.
21129         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21130         stat.
21131
21132 2013-05-10  Andreas Jaeger  <aj@suse.de>
21133
21134         [BZ #15395]
21135         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21136         localization.
21137         Include <locale.h>.
21138
21139 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
21140
21141         * elf/dl-close.c (_dl_close_worker): Add comments.
21142
21143 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
21144
21145         [BZ #15359]
21146         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21147         high part of pi/2.
21148         (__ieee754_rem_pio2l): Update comments.
21149
21150         [BZ #15429]
21151         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21152         high part of pi/2.
21153         (__ieee754_rem_pio2l): Update comments.
21154
21155         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21156         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21157
21158         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21159         M_PI_4l.
21160
21161         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21162         (M_PI_34_LOG10El): Likewise.
21163         (M_PI2_LOG10El): Likewise.
21164         (M_PI4_LOG10El): Likewise.
21165         (M_PI_LOG10El): Likewise.
21166
21167 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21168
21169         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21170
21171 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
21172
21173         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21174         (MINUS_ZERO_INIT): Likewise.
21175         (PLUS_INFTY_INIT): Likewise.
21176         (MINUS_INFTY_INIT): Likewise.
21177         (QNAN_VALUE_INIT): Likewise.
21178         (MAX_VALUE_INIT): Likewise.
21179         (MIN_VALUE_INIT): Likewise.
21180         (MIN_SUBNORM_VALUE_INIT): Likewise.
21181         (plus_zero): Initialize with PLUS_ZERO_INIT.
21182         (minus_zero): Initialize with MINUS_ZERO_INIT.
21183         (plus_infty): Initialize with PLUS_INFTY_INIT.
21184         (minus_infty): Initialize with MINUS_INFTY_INIT.
21185         (qnan_value): Initialize with QNAN_VALUE_INIT.
21186         (max_value): Initialize with MAX_VALUE_INIT.
21187         (min_value): Initialize with MIN_VALUE_INIT.
21188         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21189
21190         * math/libm-test.inc (RUN_TEST_if_f): New macro.
21191         (jn_test): Use TEST_if_f instead of TEST_ff_f.
21192         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21193         (yn_test): Use TEST_if_f instead of TEST_ff_f.
21194
21195         * math/libm-test.inc (RUN_TEST_f_f): New macro.
21196         (RUN_TEST_2_f): Likewise.
21197         (RUN_TEST_ff_f): Likewise.
21198         (RUN_TEST_fi_f): Likewise.
21199         (RUN_TEST_fl_f): Likewise.
21200         (RUN_TEST_fff_f): Likewise.
21201         (RUN_TEST_c_f): Likewise.
21202         (RUN_TEST_f_f1): Likewise.
21203         (RUN_TEST_fF_f1): Likewise.
21204         (RUN_TEST_fI_f1): Likewise.
21205         (RUN_TEST_ffI_f1): Likewise.
21206         (RUN_TEST_c_c): Likewise.
21207         (RUN_TEST_cc_c): Likewise.
21208         (RUN_TEST_f_i): Likewise.
21209         (RUN_TEST_f_i_tg): Likewise.
21210         (RUN_TEST_ff_i_tg): Likewise.
21211         (RUN_TEST_f_b): Likewise.
21212         (RUN_TEST_f_b_tg): Likewise.
21213         (RUN_TEST_f_l): Likewise.
21214         (RUN_TEST_f_L): Likewise.
21215         (RUN_TEST_sincos): Likewise.
21216         * math/gen-libm-test.pl (new_test): Take new argument to indicate
21217         whether to show exceptions.  Do not include ");\n" in return
21218         value.
21219         (special_functions): Output call to RUN_TEST_sincos instead of
21220         check_float calls.  Update calls to new_test.
21221         (parse_args): Output call to single RUN_TEST_* macro instead of
21222         check_* calls and other assignments.  Update calls to new_test.
21223
21224         [BZ #2546]
21225         [BZ #2560]
21226         [BZ #5159]
21227         [BZ #15426]
21228         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21229         input to result for tgamma overflow.
21230         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21231         (gamma_coeff): New variable.
21232         (NCOEFF): New macro.
21233         (gamma_positive): New function.
21234         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21235         underflow here.  Use gamma_positive instead of exp (lgamma) for
21236         other arguments.
21237         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21238         (gamma_coeff): New variable.
21239         (NCOEFF): New macro.
21240         (gammaf_positive): New function.
21241         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21242         underflow here.  Use gamma_positive instead of exp (lgamma) for
21243         other arguments.
21244         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21245         (gamma_coeff): New variable.
21246         (NCOEFF): New macro.
21247         (gammal_positive): New function.
21248         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21249         underflow here.  Use gamma_positive instead of exp (lgamma) for
21250         other arguments.
21251         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21252         (gamma_coeff): New variable.
21253         (NCOEFF): New macro.
21254         (gammal_positive): New function.
21255         (__ieee754_gammal_r): Handle positive infinity, overflow and
21256         underflow here.  Handle NaN the same as positive infinity.  Remove
21257         check x < 0xffffffff for negative integers.  Use gamma_positive
21258         instead of exp (lgamma) for other arguments.
21259         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21260         (gamma_coeff): New variable.
21261         (NCOEFF): New macro.
21262         (gammal_positive): New function.
21263         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21264         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21265         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21266         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21267         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21268         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21269         * sysdeps/generic/math_private.h (__gamma_productf): New
21270         prototype.
21271         (__gamma_product): Likewise.
21272         (__gamma_productl): Likewise.
21273         * math/Makefile (libm-calls): Add gamma_product.
21274         * math/libm-test.inc (tgamma_test): Add more tests.
21275         * sysdeps/i386/fpu/libm-test-ulps: Update.
21276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21277
21278 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
21279
21280         * benchtests/bench-skeleton.c (main): Preheat CPU.
21281
21282 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
21283
21284         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21285
21286 2013-05-07  Roland McGrath  <roland@hack.frob.com>
21287
21288         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21289         and _dl_skip_args_internal.
21290
21291 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
21292
21293         * manual/message.texi (Message Translation): Talk about users.
21294         Message to key mapping impacts design.
21295
21296 2013-05-06  Roland McGrath  <roland@hack.frob.com>
21297
21298         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21299
21300         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21301
21302         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21303         * sysdeps/wordsize-64/glob64.c: ... here.
21304
21305         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21306         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21307         New macros.
21308
21309         * debug/getlogin_r_chk.c: Moved to ...
21310         * login/getlogin_r_chk.c: ... here.
21311         * debug/Makefile (routines): Move getlogin_r_chk to ...
21312         * login/Makefile (routines): ... here.
21313         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21314         * login/Versions (libc: GLIBC_2.4): ... here.
21315
21316         * io/poll.c (__poll): Renamed from poll.
21317         Add libc_hidden_def.
21318         (poll): Define as weak alias.
21319
21320         * debug/ptsname_r_chk.c: Moved to ...
21321         * login/ptsname_r_chk.c: ... here.
21322         * debug/Makefile (routines): Move ptsname_r_chk to ...
21323         * login/Makefile (routines): ... here.
21324         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
21325         * login/Versions (libc: GLIBC_2.4): ... here.
21326
21327         * posix/getlogin.c: Moved to ...
21328         * login/getlogin.c: ... here.
21329         * posix/getlogin_r.c: Moved to ...
21330         * login/getlogin_r.c: ... here.
21331         * posix/getlogin_r.c: Moved to ...
21332         * login/getlogin_r.c: ... here.
21333         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21334         * login/Makefile (routines): ... here.
21335         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
21336         * login/Versions (libc: GLIBC_2.0): ... here.
21337
21338         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
21339         (setrlimit): Define as weak alias.
21340
21341         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
21342         Call __ names for open, ftruncate, and close.
21343         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
21344         (truncate): Define as weak alias.
21345
21346 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
21347
21348         * math/gen-libm-test.pl (parse_args): Initialize x before each
21349         test of frexp, modf and remquo.
21350
21351         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
21352         test signgam value.
21353
21354 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21355
21356         [BZ #15418]
21357         [BZ #15419]
21358         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
21359         internal tests.
21360         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21361
21362 2013-05-06  Roland McGrath  <roland@hack.frob.com>
21363
21364         * elf/dl-writev.h: New file.
21365         * elf/dl-misc.c: Include it.
21366         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
21367         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
21368
21369 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
21370
21371         * math/libm-test.inc (noXFails): Remove variable.
21372         (noXPasses): Likewise.
21373         (BUILD_COMPLEX_INT): Remove macro.
21374         (print_screen): Remove xfail argument.
21375         (print_screen_max_error): Likewise.
21376         (update_stats): Likewise.
21377         (print_max_error): Likewise.  Update calls to other affected
21378         functions.
21379         (print_complex_max_error): Likewise.
21380         (test_single_exception): Update calls to print_screen.
21381         (test_single_errno): Likewise.
21382         (check_float_internal): Remove xfail argument.  Update calls to
21383         other affected functions.
21384         (check_float): Likewise.
21385         (check_complex): Likewise.
21386         (check_int): Likewise.
21387         (check_long): Likewise.
21388         (check_bool): Likewise.
21389         (check_longlong): Likewise.
21390         (main): Don't print noXFails and noXPasses.
21391         * math/gen-libm-test.pl (top level): Don't mention expected
21392         failure handling in comment.
21393         (new_test): Don't handle expected failures.
21394         (parse_args): Don't mention expected failure handling in comment.
21395         (generate_testfile): Don't handle expected failures.
21396         (parse_ulps): Likewise.
21397         (print_ulps_file): Likewise.
21398         (get_failure): Remove function.
21399         (output_test): Don't handle expected failures.
21400         * make/README.libm-test: Don't mention expected failure handling.
21401
21402         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
21403         (minus_zero): Likewise.
21404         (plus_infty): Likewise.
21405         (minus_infty): Likewise.
21406         (qnan_value): Likewise.
21407         (max_value): Likewise.
21408         (min_value): Likewise.
21409         (min_subnorm_value): Likewise.
21410         (initialize): Do not initialize those variables dynamically.
21411
21412 2013-05-03  Roland McGrath  <roland@hack.frob.com>
21413
21414         * io/open.c (__open_2): Moved to ...
21415         * io/open_2.c: ... this new file.
21416         * io/open64.c (__open64_2): Moved to ...
21417         * io/open64_2.c: ... this new file.
21418         * io/openat.c (__openat_2): Moved to ...
21419         * io/openat_2.c: ... this new file.
21420         * io/openat64.c (__openat64_2): Moved to ...
21421         * io/openat64_2.c: ... this new file.
21422         * io/Makefile (routines): Add them.
21423         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21424         * sysdeps/unix/sysv/linux/open_2.c: File removed.
21425         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21426         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21427         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21428         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21429         (__openat64): Add hidden_ver.
21430         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21431         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21432
21433         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21434         Separately conditionalize setting of GLRO(dl_sysinfo) so
21435         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21436         as well, but the actual setting is only under [NEED_DL_SYSINFO].
21437
21438 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21439
21440         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21441         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21442         definition.
21443         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21444         * sysdeps/unix/sysv/linux/powerpc/init-first.c
21445         (_libc_vdso_platform_setup): Add __vdso_time initialization.
21446         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21447         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21448
21449 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
21450
21451         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21452         test signgam value.
21453
21454         * math/libm-test.inc (hypot_test): Do not use
21455         IGNORE_ZERO_INF_SIGN.
21456
21457 2013-05-03  Andreas Jaeger  <aj@suse.de>
21458
21459         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21460         Linux 3.9.
21461         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21462         (PF_MAX): Adjust for VSOCK change.
21463
21464 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21465
21466         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21467
21468 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
21469
21470         [BZ #15264]
21471         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21472         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21473         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21474
21475 2013-05-02  David S. Miller  <davem@davemloft.net>
21476
21477         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21478
21479 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
21480
21481         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21482
21483 2013-05-01  Roland McGrath  <roland@hack.frob.com>
21484
21485         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21486
21487 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
21488
21489         [BZ #14952]
21490         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21491         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21492         Use __attribute__ ((__gnu_inline__)).
21493         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21494         Don't use __attribute__ ((__gnu_inline__)).
21495
21496 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
21497
21498         [BZ #15423]
21499         * math/s_catan.c (__catan): Handle small real or imaginary part of
21500         input specially to avoid spurious underflow.
21501         * math/s_catanf.c (__catanf): Likewise.
21502         * math/s_catanh.c (__catanh): Likewise.
21503         * math/s_catanhf.c (__catanhf): Likewise.
21504         * math/s_catanhl.c (__catanhl): Likewise.
21505         * math/s_catanl.c (__catanl): Likewise.
21506         * math/libm-test.inc (catan_test): Add more tests.
21507         (catanh_test): Likewise.
21508         * sysdeps/i386/fpu/libm-test-ulps: Update.
21509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21510
21511 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21512
21513         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21514
21515 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
21516
21517         [BZ #15416]
21518         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21519         accurately for denominator in atan2.
21520         * math/s_catanf.c (__catanf): Likewise.
21521         * math/s_catanh.c (__catanh): Likewise.
21522         * math/s_catanhf.c (__catanhf): Likewise.
21523         * math/s_catanhl.c (__catanhl): Likewise.
21524         * math/s_catanl.c (__catanl): Likewise.
21525         * math/libm-test.inc (catan_test): Add more tests.
21526         (catanh_test): Likewise.
21527         * sysdeps/i386/fpu/libm-test-ulps: Update.
21528         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21529
21530 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21531
21532         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
21533
21534         * benchtests/Makefile (bench): Remove slow benchmarks.
21535         * benchtests/atan-inputs: Add slow benchmark inputs.
21536         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
21537         (BENCH_FUNC): Accept variant offset.
21538         (VARIANT): Define.
21539         * benchtests/bench-skeleton.c (main): Run benchmark for each
21540         variant.
21541         * benchtests/cos-inputs: Add slow benchmark inputs.
21542         * benchtests/exp-inputs: Likewise.
21543         * benchtests/pow-inputs: Likewise.
21544         * benchtests/sin-inputs: Likewise.
21545         * benchtests/slowatan-inputs: Remove.
21546         * benchtests/slowatan.c: Remove.
21547         * benchtests/slowcos-inputs: Remove.
21548         * benchtests/slowcos.c: Remove.
21549         * benchtests/slowexp-inputs: Remove.
21550         * benchtests/slowexp.c: Remove.
21551         * benchtests/slowpow-inputs: Remove.
21552         * benchtests/slowpow.c: Remove.
21553         * benchtests/slowsin-inputs: Remove.
21554         * benchtests/slowsin.c: Remove.
21555         * benchtests/slowtan-inputs: Remove.
21556         * benchtests/slowtan.c: Remove.
21557         * benchtests/tan-inputs: Add slow benchmark inputs.
21558         * scripts/bench.pl: Parse comments and directives.
21559
21560         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
21561         in CPPFLAGS.
21562         ($(objpfx)bench-%.c): Remove *-ITER.
21563         * benchtests/bench-modf.c: Remove definition of ITER.
21564         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
21565         (main): Loop for DURATION seconds instead of fixed number of
21566         iterations.
21567         * scripts/bench.pl: Don't expect iterations in parameters.
21568
21569 2013-04-29  Roland McGrath  <roland@hack.frob.com>
21570
21571         * io/fchdir.c (__fchdir): Renamed from fchdir.
21572         (fchdir): Define as weak alias.
21573
21574 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
21575
21576         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
21577         (ERRNO_EDOM): Likewise.
21578         (ERRNO_ERANGE): Likewise.
21579         (noErrnoTests): New variable.
21580         (init_max_error): Set errno to 0.
21581         (test_single_errno): New function.
21582         (test_errno): Likewise.
21583         (check_float_internal): Call test_errno.  Set errno to 0.
21584         (check_complex): Refer to errno tests in comment.
21585         (check_int): Call test_errno.  Set errno to 0.
21586         (check_long): Likewise.
21587         (check_bool): Likewise.
21588         (check_longlong): Likewise.
21589         (cos_test): Use ERRNO_* flags for errno tests instead of
21590         check_int.
21591         (expm1_test): Likewise.
21592         (fmod_test): Likewise.
21593         (ilogb_test): Likewise.
21594         (lgamma_test): Likewise.
21595         (pow_test): Likewise.
21596         (remainder_test): Likewise.
21597         (sin_test): Likewise.
21598         (tan_test): Likewise.
21599         (yn_test): Likewise.
21600         (initialize): Set errno to 0.
21601         (main): Print number of errno tests.
21602         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
21603
21604 2013-04-29  Andreas Jaeger  <aj@suse.de>
21605
21606         [BZ #15084]
21607         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
21608         and RES_USEVC.
21609
21610         [BZ #15085]
21611         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
21612         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
21613         unimplemented.
21614
21615         [BZ #15380]
21616         * stdlib/random.c (__initstate): Return NULL if
21617         __initstate fails.
21618
21619         [BZ #15086]
21620         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
21621         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
21622         RES_SNGLKUPREOP.
21623
21624 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21625
21626         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21627
21628 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
21629
21630         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
21631         of individual tests.
21632         (casin_test): Likewise.
21633         (casinh_test): Likewise.
21634
21635 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
21636
21637         [BZ #15409]
21638         * math/s_catan.c (__catan): Handle arguments with large real or
21639         imaginary part separately without squaring.
21640         * math/s_catanf.c (__catanf): Likewise.
21641         * math/s_catanh.c (__catanh): Likewise.
21642         * math/s_catanhf.c (__catanhf): Likewise.
21643         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21644         and redefine.
21645         (__catanhl): Handle arguments with large real or imaginary part
21646         separately without squaring.
21647         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21648         and redefine.
21649         (__catanl): Handle arguments with large real or imaginary part
21650         separately without squaring.
21651         * math/libm-test.inc (catan_test): Add more tests.
21652         (catanh_test): Likewise.
21653         * sysdeps/i386/fpu/libm-test-ulps: Update.
21654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21655
21656 2013-04-27  Andreas Jaeger  <aj@suse.de>
21657
21658         [BZ #15007]
21659         * stdlib/stdlib.h: Update guards for qecvt.
21660         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
21661         <stdlib.h>.
21662
21663 2013-04-27  Allan McRae  <allan@archlinux.org>
21664
21665         * sysdeps/i386/fpu/libm-test-ulps: Update.
21666
21667 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
21668
21669         [BZ #15406]
21670         * math/s_catan.c: Include <float.h>.
21671         (__catan): Ensure underflow exception occurs for underflowed
21672         result.
21673         * math/s_catanf.c: Include <float.h>.
21674         (__catanf): Ensure underflow exception occurs for underflowed
21675         result.
21676         * math/s_catanh.c: Include <float.h>.
21677         (__catanh): Ensure underflow exception occurs for underflowed
21678         result.
21679         * math/s_catanhf.c: Include <float.h>.
21680         (__catanhf): Ensure underflow exception occurs for underflowed
21681         result.
21682         * math/s_catanhl.c: Include <float.h>.
21683         (__catanhl): Ensure underflow exception occurs for underflowed
21684         result.
21685         * math/s_catanl.c: Include <float.h>.
21686         (__catanl): Ensure underflow exception occurs for underflowed
21687         result.
21688         * math/libm-test.inc (catan_test): Add more tests.
21689         (catanh_test): Likewise.
21690
21691         [BZ #15405]
21692         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
21693         underflowed result.
21694         * math/s_ccoshf.c (__ccoshf): Likewise.
21695         * math/s_ccoshl.c (__ccoshl): Likewise.
21696         * math/s_csin.c (__csin): Likewise.
21697         * math/s_csinf.c (__csinf): Likewise.
21698         * math/s_csinh.c (__csinh): Likewise.
21699         * math/s_csinhf.c (__csinhf): Likewise.
21700         * math/s_csinhl.c (__csinhl): Likewise.
21701         * math/s_csinl.c (__csinl): Likewise.
21702         * math/libm-test.inc (ccos_test): Add more tests.
21703         (ccosh_test): Likewise.
21704         (csin_test): Likewise.
21705         (csinh_test): Likewise.
21706
21707 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21708
21709         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
21710         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
21711         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
21712         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
21713         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
21714         powerpc/power5+/fpu folders.
21715         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
21716
21717
21718 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
21719
21720         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21721
21722 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
21723
21724         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
21725         additions to variable.
21726         [$(config-machine) = x86_64] (modules-names): Likewise.
21727         ($(objpfx)tst-audit3): Remove dependency.
21728         ($(objpfx)tst-audit3.out): Likewise.
21729         ($(objpfx)tst-audit4): Likewise.
21730         ($(objpfx)tst-audit4.out): Likewise.
21731         ($(objpfx)tst-audit5): Likewise.
21732         ($(objpfx)tst-audit5.out): Likewise.
21733         ($(objpfx)tst-audit6): Likewise.
21734         ($(objpfx)tst-audit6.out): Likewise.
21735         ($(objpfx)tst-audit7): Likewise.
21736         ($(objpfx)tst-audit7.out): Likewise.
21737         (tst-audit3-ENV): Remove variable.
21738         (tst-audit4-ENV): Likewise.
21739         (tst-audit5-ENV): Likewise.
21740         (tst-audit6-ENV): Likewise.
21741         (tst-audit7-ENV): Likewise.
21742         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
21743         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
21744         addition to variable.
21745         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
21746         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
21747         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
21748         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
21749         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
21750         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
21751         tst-audit3, tst-audit4 and tst-audit5.
21752         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
21753         tst-audit6 and tst-audit7.
21754         [$(subdir) = elf] (modules-names): Add audit modules for those
21755         tests.
21756         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
21757         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
21758         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
21759         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
21760         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
21761         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
21762         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
21763         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
21764         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
21765         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
21766         [$(subdir) = elf] (tst-audit3-ENV): New variable.
21767         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
21768         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
21769         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
21770         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
21771         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
21772         Likewise.
21773         [$(subdir) = elf && $(config-cflags-avx) = yes]
21774         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
21775         [$(subdir) = elf && $(config-cflags-avx) = yes]
21776         (CFLAGS-tst-auditmod4a.c): Likewise.
21777         [$(subdir) = elf && $(config-cflags-avx) = yes]
21778         (CFLAGS-tst-auditmod4b.c): Likewise.
21779         [$(subdir) = elf && $(config-cflags-avx) = yes]
21780         (CFLAGS-tst-auditmod6b.c): Likewise.
21781         [$(subdir) = elf && $(config-cflags-avx) = yes]
21782         (CFLAGS-tst-auditmod6c.c): Likewise.
21783         [$(subdir) = elf && $(config-cflags-avx) = yes]
21784         (CFLAGS-tst-auditmod7b.c): Likewise.
21785         * elf/tst-audit3.c: Move to ...
21786         * sysdeps/x86_64/tst-audit3.c: ... here.
21787         * elf/tst-audit4.c: Move to ...
21788         * sysdeps/x86_64/tst-audit4.c: ... here.
21789         * elf/tst-audit5.c: Move to ...
21790         * sysdeps/x86_64/tst-audit5.c: ... here.
21791         * elf/tst-audit6.c: Move to ...
21792         * sysdeps/x86_64/tst-audit6.c: ... here.
21793         * elf/tst-audit7.c: Move to ...
21794         * sysdeps/x86_64/tst-audit7.c: ... here.
21795         * elf/tst-auditmod3a.c: Move to ...
21796         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21797         * elf/tst-auditmod3b.c: Move to ...
21798         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21799         * elf/tst-auditmod4a.c: Move to ...
21800         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21801         * elf/tst-auditmod4b.c: Move to ...
21802         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21803         * elf/tst-auditmod5a.c: Move to ...
21804         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21805         * elf/tst-auditmod5b.c: Move to ...
21806         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21807         * elf/tst-auditmod6a.c: Move to ...
21808         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21809         * elf/tst-auditmod6b.c: Move to ...
21810         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21811         * elf/tst-auditmod6c.c: Move to ...
21812         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21813         * elf/tst-auditmod7a.c: Move to ...
21814         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21815         * elf/tst-auditmod7b.c: Move to ...
21816         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21817
21818 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
21819
21820         [BZ #15366]
21821         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21822         define unconditionally.
21823         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21824         define unconditionally.
21825         (INT8_C, INT16_C, etc.): Likewise.
21826
21827 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
21828
21829         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21830         __ehdr_start with hidden visibility.
21831
21832         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21833
21834 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
21835
21836         * math/libm-test.inc (cos_test): Use accurate hex constants.
21837         (sincost_test): Likewise.
21838
21839 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
21840
21841         * math/libm-test.inc (catan_test): Add more tests.
21842         (catanh_test): Likewise.
21843
21844         * math/s_catanf.c (__catanf): Use suffixed floating-point
21845         constants.
21846         * math/s_catanhf.c (__catanhf): Likewise.
21847         * math/s_catanhl.c (__catanhl): Likewise.
21848         * math/s_catanl.c (__catanl): Likewise.
21849
21850         [BZ #15394]
21851         * math/s_catan.c (__catan): Calculate imaginary part of result
21852         with log1p not log unless computing log of number close to 0.
21853         * math/s_catanf.c (__catanf): Likewise.
21854         * math/s_catanl.c (__catanl): Likewise.
21855         * math/s_catanh.c (__catanh): Calculate real part of result with
21856         log1p not log unless computing log of number close to 0.
21857         * math/s_catanhf.c (__catanhf): Likewise.
21858         * math/s_catanhl.c (__catanhl): Likewise.
21859         * math/libm-test.inc (catan_test): Add more tests.
21860         (catanh_test): Likewise.
21861         * sysdeps/i386/fpu/libm-test-ulps: Update.
21862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21863
21864 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21865
21866         * benchtests/Makefile: Mention files in which fast and slow
21867         paths of math functions are implemented.
21868
21869 2013-04-23  Roland McGrath  <roland@hack.frob.com>
21870
21871         * sysdeps/posix/timespec_get.c: New file.
21872
21873 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21874
21875         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
21876         POWER.
21877         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
21878         for POWER.
21879         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
21880         powerpc/power5/fpu folders.
21881         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
21882         * benchtests/Makefile: Add modf testcase.
21883         * benchtests/bench-modf.c: New file: Benchmark test for mo
21884
21885 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
21886
21887         [BZ #14888]
21888         * time/Makefile (tests): Add tst-strptime-whitespace.
21889         * time/strptime_l.c (get_number): Use ISSPACE.
21890         (__strptime_internal): Likewise.
21891         * time/tst-strptime-whitespace.c: New test case.
21892
21893 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
21894
21895         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
21896         member.
21897         (_nss_files_init): Set it here.
21898
21899 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
21900
21901         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
21902         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
21903         unsigned.
21904
21905 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
21906
21907         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
21908
21909 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
21910
21911         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
21912         size just once.
21913
21914 2013-04-21  David S. Miller  <davem@davemloft.net>
21915
21916         * po/ru.po: Update Russion translation from translation project.
21917
21918 2013-04-17  Adam Conrad  <adconrad@0c3.net>
21919
21920         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
21921         and setfsgid.
21922
21923 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
21924
21925         * configure.in: Remove i386 configure warning. Remove i386 case.
21926         * configure: Regenerate.
21927         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
21928         Add example to error message.
21929         * sysdeps/i386/configure: Regenerate.
21930
21931 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
21932
21933         * benchtests/Makefile (bench): Add cos, tan, slowcos and
21934         slowtan.
21935         * benchtests/cos-inputs: New file.
21936         * benchtests/slowcos-inputs: New file.
21937         * benchtests/slowcos.c: New file.
21938         * benchtests/slowtan-inputs: New file.
21939         * benchtests/slowtan.c: New file.
21940         * benchtests/tan-inputs: New file.
21941
21942 2013-04-16  Roland McGrath  <roland@hack.frob.com>
21943
21944         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
21945         considered kosher.
21946
21947 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21948
21949         * benchtests/Makefile: Include cppflags-iterator.mk to add
21950         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
21951
21952         * Makefile.in (bench-clean): New target.
21953         * benchtests/Makefile (bench-clean): Likewise.
21954
21955 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
21956
21957         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
21958
21959 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
21960
21961         * stdio-common/tstdiomisc.c: Fix coding-style violation.
21962
21963 2013-04-15  Andreas Schwab  <schwab@suse.de>
21964
21965         * nscd/grpcache.c (cache_addgr): Properly check for short write.
21966         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21967         * nscd/pwdcache.c (cache_addpw): Likewise.
21968         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
21969         more than recsize.
21970
21971 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21972
21973         * benchtests/Makefile (bench): Write all output to
21974         bench-out.tmp together.
21975
21976 2013-04-15  Andreas Schwab  <schwab@suse.de>
21977
21978         * nscd/nscd.c (main): Don't fork again after closing files.
21979
21980 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21981
21982         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
21983
21984         * benchtests/Rules (bench-deps): Collect dependencies into a
21985         single variable.  Add Makefile to dependencies.
21986         ($(objpfx)bench-%.c): Depend on bench-deps.
21987
21988 2013-04-12  Roland McGrath  <roland@hack.frob.com>
21989             Xavier Roche  <roche+kml2@exalead.com>
21990
21991         [BZ #15361]
21992         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
21993         just that it's a file descriptor.
21994         * manual/llio.texi (Synchronizing AIO Operations): Update description
21995         for EBADF error from aio_fsync.
21996
21997 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21998
21999         * Rules (bench): Move target definition...
22000         * benchtests/Makefile: ... here.
22001
22002 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
22003
22004         * math/libm-test.inc (cos_test): Fix PI/2 test.
22005         (sincos_test): Likewise.
22006         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22007         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22008
22009 2013-04-11  Andreas Schwab  <schwab@suse.de>
22010
22011         [BZ #13988]
22012         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22013         accept exponent character only when digits were seen.
22014         * stdio-common/Makefile (tests): Add bug26.
22015         * stdio-common/bug26.c: New file.
22016
22017         [BZ #14293]
22018         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
22019         non-freeable.
22020
22021 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22022
22023         * Makeconfig (rtld-prefix): Define built linker prefix.
22024         * Rules (run-bench): Use it.
22025         * math/Makefile (run-regen-ulps): Likewise.
22026
22027         * Rules (bench): Remove eval.
22028
22029 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22030             Roland McGrath  <roland@hack.frob.com>
22031             Ondrej Bilka  <neleai@seznam.cz>
22032
22033         [BZ #15346]
22034         * time/getdate.c: Include ctype.h and alloca.h.
22035         (__getdate_r): Trim leading and trailing spaces of input.
22036         * time/tst-getdate.c (tests): Add tests with leading and
22037         trailing spaces.
22038
22039 2013-04-08  Roland McGrath  <roland@hack.frob.com>
22040
22041         [BZ #14280]
22042         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
22043         when computing value.
22044
22045 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22046
22047         * math/README.libm-test (How can I generate "libm-test-ulps"?):
22048         Use testrun.sh to run libm tests.
22049
22050         [BZ #15309]
22051         * elf/dl-open.c (dl_open_worker): memset all of seen array.
22052
22053 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
22054
22055         [BZ #15264]
22056         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22057
22058 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22059
22060         * Makefile.in (regen-ulps): New target.
22061         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22062         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22063         [ifneq (no,$(PERL)] (regen-ulps): New target.
22064         [ifeq (no,$(PERL)] (regen-ulps): New target.
22065         * math/libm-test.inc (ulps_file_name): Define.
22066         (output_dir): New variable.
22067         (options): Add "output-dir" option.
22068         (parse_opt): Handle 'o' case.
22069         (main): If output_dir is non-NULL use it as a prefix
22070         otherwise use "".
22071         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22072
22073 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22074
22075         [BZ #10060, #10062]
22076         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22077         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22078         fail configure if __sync_val_compare_and_swap is not inlined.
22079         * sysdeps/i386/configure: Regenerate.
22080         * configure.in: Build for i686 when configured for i386.
22081         * configure: Regenerate.
22082         * README: Remove i386 reference.
22083
22084 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
22085
22086         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
22087         * sysdeps/s390/s390-64/sysdep.h: Likewise.
22088
22089 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
22090
22091         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22092         (lmsnanval): New variables.
22093         (F): Add conversion tests.
22094         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22095         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22096
22097         * stdio-common/tstdiomisc.c (F): Properly collect individual
22098         tests' results.
22099
22100         [BZ #14686, #15336]
22101         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22102         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22103         Instead, use input NaN values or generate a qNaN by arithmetic
22104         operation.  Also fix bugs to comply with the standard.
22105         * math/libm-test.inc (remainder_test): Add more tests.
22106
22107         [BZ #15335, #15342]
22108         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22109         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22110         input NaN values or generate a qNaN by arithmetic operation.
22111
22112         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22113         unreachable code.
22114
22115         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22116         definitions.
22117
22118 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
22119
22120         [BZ #14478]
22121         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22122         underflowed result.
22123         * math/s_cexpf.c (__cexpf): Likewise.
22124         * math/s_cexpl.c (__cexpl): Likewise.
22125         * math/libm-test.inc (cexp_test): Add more tests.
22126
22127 2013-04-03  Andreas Schwab  <schwab@suse.de>
22128
22129         [BZ #15330]
22130         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22131         order arrays from heap if bigger than alloca cutoff.
22132
22133 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
22134
22135         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22136         (SNAN_TESTS_double): Refer to GCC PR56831.
22137         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22138         GCC PR56828.
22139
22140 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22141
22142         * Rules (bench): Move bench.out after the run is complete.
22143
22144         * Rules (bench): Echo currently running benchmark.
22145
22146         * benchtests/Makefile (bench): Add atan and slowatan.
22147         * benchtests/atan-inputs: New file.
22148         * benchtests/slowatan-inputs: New file.
22149         * benchtests/slowatan.c: New file.
22150
22151         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22152         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22153         its value.
22154
22155         [BZ #15305]
22156         * sysdeps/unix/sysv/linux/kernel-features.h
22157         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22158         __ASSUME_XFS_RESTRICTED_CHOWN.
22159         * sysdeps/unix/sysv/linux/pathconf.c
22160         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22161         Save and restore errno.
22162
22163 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
22164
22165         [BZ #15327]
22166         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22167         arguments using __kernel_casinh.
22168         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22169         arguments using __kernel_casinhf.
22170         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22171         arguments using __kernel_casinhl.
22172         * math/libm-test.inc (cacosh_test): Add more tests.
22173         * sysdeps/i386/fpu/libm-test-ulps: Update.
22174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22175
22176 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22177
22178         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22179         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22180
22181         * bench/Makefile (bench): Add sin and slowsin.
22182         * benchtests/sin-inputs: New file.
22183         * benchtests/slowsin-inputs: New file.
22184         * benchtests/slowsin.c: New file.
22185
22186         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22187         (bench): Add slowexp and slowpow.
22188         (exp-ITER): Increase iterations.
22189         (pow-ITER): Likewise.
22190         * benchtests/exp-inputs: Change input.
22191         * benchtests/pow-inputs: Likewise.
22192         * benchtests/slowexp-inputs: New file.
22193         * benchtests/slowexp.c: New file.
22194         * benchtests/slowpow-inputs: New file.
22195         * benchtests/slowpow.c: New file.
22196
22197 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22198
22199         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
22200         instructions.
22201         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22202         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
22203         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22204         * benchtests/Makefile: Add rint benchtest.
22205         * benchtests/rint-inputs: Input for rint benchtest.
22206
22207 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
22208
22209         * Versions.def (libm): Add GLIBC_2.18.
22210         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22211         hidden libm prototypes.
22212         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22213         * math/Makefile (libm-calls): Add s_issignaling.
22214         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22215         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
22216         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22217         declaration.
22218         * math/math.h [__USE_GNU] (issignaling): New macro.
22219         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22220         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22221         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22222         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22223         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22224         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22225         * manual/arith.texi (issignaling): New section.
22226         * manual/libm-err-tab.pl (@all_functions): Update comment.
22227         * math/gen-libm-test.pl (parse_args): Apply special handling for
22228         issignaling.
22229         * math/libm-test.inc (print_float, issignaling_test): New
22230         functions.
22231         (check_float_internal): Add issignaling checks.
22232         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22233         default definition.
22234         * sysdeps/powerpc/math-tests.h: New file.
22235         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22236         tests.
22237         * math/test-snan.c (TEST_FUNC): Likewise.
22238
22239 2013-03-30  David S. Miller  <davem@davemloft.net>
22240
22241         * po/de.po: Update from translation team.
22242
22243 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
22244
22245         [BZ #10357]
22246         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22247         imaginary part less than 1.0 and real part less than 0.5
22248         specially.
22249         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22250         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22251         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22252         (cacos_test): Add more tests.
22253         (casin_test): Likewise.
22254         (casinh_test): Likewise.
22255         * sysdeps/i386/fpu/libm-test-ulps: Update.
22256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22257
22258 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22259
22260         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22261         ONE with its value.
22262
22263         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22264         (__pow_mp): Replace ONE and MONE with their values.
22265         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22266         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22267         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22268         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22269         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22270         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22271
22272         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22273
22274         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22275         (__pow_mp): Replace ZERO and MZERO with their values.
22276         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22277         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22278         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22279         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22280         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22281         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22282         (__sqr): Likewise.
22283
22284         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22285
22286         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22287
22288 2013-03-28  Roland McGrath  <roland@hack.frob.com>
22289
22290         * include/stdlib.h [!SHARED] (__call_tls_dtors):
22291         Declare with __attribute__ ((weak)).
22292         * stdlib/exit.c (__libc_atexit) [!SHARED]:
22293         Call __call_tls_dtors only if it's not NULL.
22294
22295 2013-03-28  Roland McGrath  <roland@hack.frob.com>
22296
22297         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22298         didn't do it already, then set _dl_phdr and _dl_phnum based on the
22299         magic __ehdr_start linker symbol if it's defined.
22300         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22301         them up here if it was already done.
22302
22303         * elf/dl-support.c (_dl_phdr): Make pointer to const.
22304         (_dl_aux_init): Use const in cast when setting it.
22305         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22306         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22307         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22308
22309         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22310         Declare them here.
22311         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22312         * csu/libc-tls.c: Nor here.
22313         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22314
22315         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22316         (__libc_message): Never call vsyslog.
22317
22318 2013-03-28  Alan Modra  <amodra@gmail.com>
22319
22320         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
22321         Define as empty.
22322         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
22323         Likewise.
22324
22325 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22326
22327         [BZ #15214]
22328         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
22329         underflow.
22330         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22331
22332 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22333
22334         [BZ #15304]
22335         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22336         Don't add gid passed as argument.
22337
22338         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
22339
22340 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
22341
22342         [BZ #15307]
22343         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22344         imaginary part between 1.0 and 1.5 and real part less than 0.5
22345         specially.
22346         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22347         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22348         * math/libm-test.inc (cacos_test): Add more tests.
22349         (casin_test): Likewise.
22350         (casinh_test): Likewise.
22351         * sysdeps/i386/fpu/libm-test-ulps: Update.
22352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22353
22354 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22355
22356         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
22357         constants.
22358         (norm): Likewise.
22359         (denorm): Likewise.
22360         (__dbl_mp): Likewise.
22361         (add_magnitudes): Likewise.
22362         (sub_magnitudes): Likewise.
22363         (__add): Likewise.
22364         (__sub): Likewise.
22365         (__mul): Likewise.
22366         (__sqr): Likewise.
22367         (__inv): Likewise.
22368         (__dvd): Likewise.
22369
22370         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
22371         commented code.
22372         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
22373         (__dubcos): Likewise.
22374         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
22375         (__ieee754_acos): Likewise.
22376         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22377         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
22378         (__exp1): Likewise.
22379         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22380         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22381         (log1): Likewise.
22382         (my_log2): Likewise.
22383         (checkint): Likewise.
22384         * sysdeps/ieee754/dbl-64/e_remainder.c
22385         (__ieee754_remainder): Likewise.
22386         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22387         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22388         (bsloww): Likewise.
22389         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22390
22391         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22392         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
22393         MANTISSA_STORE_T to store computations on mantissa.  Use
22394         macros for rounding and division.
22395         (denorm): Likewise.
22396         (__dbl_mp): Likewise.
22397         (add_magnitudes): Likewise.
22398         (sub_magnitudes): Likewise.
22399         (__mul): Likewise.
22400         (__sqr): Likewise.
22401         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
22402         powers of two in terms of TWOPOW macro.
22403         (mp_no): Make type of mantissa as MANTISSA_T.
22404         [!RADIXI]: Define RADIXI.
22405         [!TWO52]: Define TWO52.
22406         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22407
22408 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22409
22410         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22411         llroundl symbol when building for PPC32.
22412
22413 2013-03-24  Mark H Weaver  <mhw@netris.org>
22414
22415         * manual/arith.texi (Normalization Functions): Fix prototypes for
22416         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22417
22418 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22419
22420         [BZ #13889]
22421         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22422         high value to check if expl overflow.
22423         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22424         to check for underflow and overflow.
22425         * math/libm-test.inc: Add exp test.
22426
22427 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
22428
22429         [BZ #11120]
22430         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22431         with NOT_IN_libc.
22432
22433 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22434
22435         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22436         symbol.
22437
22438 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
22439
22440         * math/gen-libm-test.pl (parse_args, special_functions): Properly
22441         wrap blocks consisting of several statements.
22442
22443         * sysdeps/generic/math-tests.h: New file.
22444         * sysdeps/i386/fpu/math-tests.h: Likewise.
22445         * math/test-snan.c: Include it.
22446         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22447
22448 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
22449
22450         [BZ #15285]
22451         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22452         (__ieee754_j0l): Do not improve calculations using cos of twice
22453         input for inputs above LDBL_MAX / 2.0L.
22454         (__ieee754_y0l): Likewise.
22455         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22456         (__ieee754_j1l): Do not improve calculations using cos of twice
22457         input for inputs above LDBL_MAX / 2.0L.
22458         (__ieee754_y1l): Likewise.
22459         * math/libm-test.inc (j0_test): Add another test.
22460         (j1_test): Likewise.
22461         (y0_test): Likewise.
22462         (y1_test): Likewise.
22463         * sysdeps/i386/fpu/libm-test-ulps: Update.
22464
22465 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22466
22467         * Rules ($(objpfx)bench-%.c): Include code from a C source
22468         file.
22469
22470 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
22471
22472         [BZ #15287]
22473         * math/k_casinh.c (__kernel_casinh): Handle arguments with
22474         imaginary part 1.0 and real part less than 0.5 specially.
22475         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22476         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22477         * math/libm-test.inc (cacos_test): Add more tests.
22478         (casin_test): Likewise.
22479         (casinh_test): Likewise.
22480         * sysdeps/i386/fpu/libm-test-ulps: Update.
22481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22482
22483 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22484
22485         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22486         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22487
22488 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
22489
22490         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22491         * config.make.in (config-cflags-sse4): Remove variable.
22492         (config-cflags-avx): Likewise.
22493         (config-cflags-sse2avx): Likewise.
22494         (config-cflags-novzeroupper): Likewise.
22495         (config-asflags-i686): Likewise.
22496         (have-mfma4): Likewise.
22497         (have-as-vis3): Likewise.
22498         (MIG): Likewise.
22499         * configure.in (MIG): Do not AC_SUBST.
22500         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22501         (libc_cv_cc_sse4): Do not AC_SUBST.
22502         (libc_cv_cc_avx): Likewise.
22503         (libc_cv_cc_sse2avx): Likewise.
22504         (libc_cv_cc_novzeroupper): Likewise.
22505         (libc_cv_cc_fma4): Likewise.
22506         (libc_cv_as_i686): Likewise.
22507         (libc_cv_sparc_as_vis3): Likewise.
22508         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22509         LIBC_CONFIG_VAR.
22510         (config-asflags-i686): Likewise.
22511         (config-cflags-avx): Likewise.
22512         (config-cflags-sse2avx): Likewise.
22513         (have-mfma4): Likewise.
22514         (config-cflags-novzeroupper): Likewise.
22515         * sysdeps/mach/configure.in (MIG): Likewise.
22516         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22517         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22518         LIBC_CONFIG_VAR.
22519         (config-cflags-avx): Likewise.
22520         (config-cflags-sse2avx): Likewise.
22521         (have-mfma4): Likewise.
22522         (config-cflags-novzeroupper): Likewise.
22523         * configure: Regenerated.
22524         * sysdeps/i386/configure: Likewise.
22525         * sysdeps/mach/configure: Likewise.
22526         * sysdeps/sparc/configure: Likewise.
22527         * sysdeps/x86_64/configure: Likewise.
22528
22529 2013-03-20  Roland McGrath  <roland@hack.frob.com>
22530
22531         [BZ #14812]
22532         * locale/programs/localedef.c (options): Put N_ translation marker
22533         on argument names, not just descriptions.
22534
22535 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22536
22537         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
22538
22539 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
22540
22541         [BZ #14176]
22542         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
22543
22544 2013-03-19  Roland McGrath  <roland@hack.frob.com>
22545
22546         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
22547         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
22548         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
22549         [!BEFORE_ABORT] (before_abort): New function.
22550         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
22551         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
22552         (writev_for_fatal): New function.
22553         (WRITEV_FOR_FATAL): New macro; call that.
22554         (backtrace_and_maps): New function.
22555         (BEFORE_ABORT): New macro; call that.
22556         (struct str_list): Type removed.
22557         (__libc_message, __libc_fatal): Functions removed.
22558         Include <sysdeps/posix/libc_fatal.c> instead.
22559
22560 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
22561
22562         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
22563         constants.
22564         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
22565         double constants.
22566
22567 2013-03-19  Andreas Schwab  <schwab@suse.de>
22568
22569         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
22570         * sysdeps/gnu/configure: Regenerate.
22571
22572         * configure.in: Substitute libc_cv_rtlddir.
22573         * configure: Regenerate.
22574         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
22575         * Makeconfig (rtlddir, inst_rtlddir): New variables.
22576         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
22577         * elf/Makefile (install-others, CFLAGS-interp.c)
22578         (ldso_install, common-ldd-rewrite): Likewise.
22579         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
22580         $(inst_slibdir)/$(rtld-installed-name).
22581         * scripts/rellns-sh: Add -p option.
22582         * Makerules (make-shlib-link): Use rellns-sh to get relative name
22583         for source.
22584
22585 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22586
22587         * manual/nptl.texi: Renamed to ...
22588         * manual/threads.texi: ... this.
22589         * manual/Makefile (chapters): Update.
22590
22591 2013-03-18  Roland McGrath  <roland@hack.frob.com>
22592
22593         [BZ #14812]
22594         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
22595         on argument names, not just descriptions.
22596         * malloc/memusagestat.c (options): Likewise.
22597         * nss/getent.c (options): Likewise.
22598
22599 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
22600
22601         [BZ #14812]
22602         * iconv/iconv_prog.c (options): Put N_ translation marker
22603         on argument names, not just descriptions.
22604         * iconv/iconvconfig.c (options): Likewise.
22605
22606 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
22607
22608         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
22609         implementation which is faster on all x86_64 architectures.
22610         Tested on AMD, Intel Nehalem, SNB, IVB.
22611         * sysdeps/x86_64/strnlen.S: Likewise.
22612
22613         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22614         Remove all multiarch strlen and strnlen versions.
22615         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22616         Remove strlen and strnlen related parts.
22617
22618         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
22619         Inline strlen part.
22620         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22621
22622         * sysdeps/x86_64/multiarch/strlen.S: Remove.
22623         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
22624         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
22625         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
22626         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22627         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
22628
22629 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
22630
22631         * manual/memory.texi (Malloc Tunable Parameters):
22632         Sort parameters alphabetically. Add comments for missing entries.
22633
22634 2013-03-17  David S. Miller  <davem@davemloft.net>
22635
22636         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22637
22638 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
22639
22640         [BZ #15283]
22641         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
22642         for arguments at most half maximum finite value.
22643         * math/libm-test.inc (j0_test): Add more tests.
22644         (j1_test): Likewise.
22645         (y0_test): Likewise.
22646         (y1_test): Likewise.
22647         * sysdeps/i386/fpu/libm-test-ulps: Update.
22648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22649
22650         [BZ #14155]
22651         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
22652         1 / x and functions P and Q for arguments above 0x1p256L.
22653         (__ieee754_y0l): Likewise.
22654         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
22655         (__ieee754_y1l): Likewise.
22656         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
22657         (j1_test): Likewise.
22658         (y0_test): Likewise.
22659         (y1_test): Likewise.
22660
22661 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
22662
22663         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
22664         variable.
22665
22666 2013-03-15  Roland McGrath  <roland@hack.frob.com>
22667
22668         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
22669         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
22670         zero since it's initialized to EXEC_PAGESIZE.
22671
22672         * sysdeps/unix/sysv/linux/ldsodefs.h
22673         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
22674         * sysdeps/generic/ldsodefs.h: ... here.
22675
22676 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
22677
22678         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
22679
22680         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
22681         math/test-snan.c.
22682         * math/test-snan.c: Renamed from
22683         sysdeps/powerpc/fpu/test-powerpc-snan.c.
22684         * math/Makefile (tests): Add test-snan.
22685         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
22686         test-powerpc-snan.
22687
22688         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
22689         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
22690         functions.
22691         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
22692         __builtin_nan family of functions.
22693         * math/libm-test.inc (initialize): Initialize qnan_value with
22694         __builtin_nan family of functions.
22695         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
22696         Remove variables.
22697         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
22698         Remove functions.
22699         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
22700         storage class.  Initialize qNaN_var and sNaN_var with
22701         __builtin_nan and __builtin_nans families of functions,
22702         respectively.
22703
22704         * math/libm-test.inc (acosh_test): Also test with qNaN input.
22705         (sqrt_test): Remove duplicate test with qNaN input.
22706         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
22707         (round_test, signbit_test, significand_test): Note missing +/-Inf
22708         as well as qNaN tests.
22709
22710         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
22711         qNaN_var.  Fix a few strings, too.
22712         * math/libm-test.inc (nan_value): Rename to qnan_value.
22713         * math/gen-libm-test.pl (%beautify): Adjust to that.
22714         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
22715         * math/test-misc.c (main): Likewise.
22716         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
22717         to __qnan_bytes, and __qnan_union, respectively.
22718         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
22719         Likewise.
22720         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
22721         and lqnanval, respectively.
22722         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
22723         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
22724         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
22725         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
22726
22727         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
22728         * math/test-misc.c (main) [__x86_64__]: Enable test for long
22729         doubles.
22730
22731         * math/test-misc.c (main): Fix copy'n'pastos.
22732         * misc/tst-efgcvt.c (special): Likewise.
22733
22734         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
22735         Remove declarations.
22736
22737 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22738
22739         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
22740         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
22741         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
22742         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
22743
22744 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22745
22746         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
22747         macro to return vdso values correctly in IFUNC implementations.
22748         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22749         Optimization by using IFUNC.
22750
22751 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22752             Richard Henderson  <rth@redhat.com>
22753             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22754
22755         * Makefile.in (bench): New target.
22756         * NEWS: Mention the benchmark framework.
22757         * Rules (bench): Likewise.
22758         (binaries-bench): Generate binaries for functions to
22759         benchmark.
22760         * benchtests/Makefile: New makefile for benchmark tests.
22761         * benchtests/bench-skeleton.c: New skeleton file for benchmark
22762         programs.
22763         * benchtests/exp-inputs: New input file for EXP function.
22764         * benchtests/pow-inputs: New input file for POW function.
22765         * scripts/bench.pl: New script to generate source files for
22766         benchmark programs.
22767
22768 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22769
22770         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22771         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22772         computations on mantissa.  Use macros for rounding and
22773         division.
22774         (denorm): Likewise.
22775         (__dbl_mp): Likewise.
22776         (add_magnitudes): Likewise.
22777         (sub_magnitudes): Likewise.
22778         (__mul): Likewise.
22779         (__sqr): Likewise.
22780         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
22781         powers of two in terms of TWOPOW macro.
22782         (mp_no): Make type of mantissa as MANTISSA_T.
22783         [!RADIXI]: Define RADIXI.
22784         [!TWO52]: Define TWO52.
22785         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22786
22787         * manual/nptl.texi (cindex): Modify threads to pthreads.
22788
22789 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
22790
22791         * sysdeps/x86_64/preconfigure: Regenerated.
22792
22793 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
22794
22795         [BZ #14155]
22796         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22797         0x1p28 and above.
22798         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22799         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22800         0x1p28 and above.
22801         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22802         * math/libm-test.inc (j0_test): Do not allow one spurious
22803         underflow exception.
22804         (y1_test): Likewise.
22805
22806 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22807
22808         * manual/Makefile (chapters): Add nptl.
22809         * manual/debug.texi (Debugging Support): Add link to Threads
22810         chapter.
22811         * manual/nptl.texi: New file.
22812
22813         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22814
22815 2013-03-14  Petr Baudis  <pasky@ucw.cz>
22816
22817         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22818         for non-NULL pointer before the memory validity test. Pointed
22819         out by Holger Brunck <holger.brunck@keymile.com>.
22820
22821 2013-03-13  Andreas Schwab  <schwab@suse.de>
22822
22823         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22824         instead of .os.
22825
22826 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
22827
22828         * timezone/zic.c: Update from tzcode 2013b.
22829
22830 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
22831
22832         * manual/install.texi (Configuring and compiling):
22833         Mention i686 and i586.
22834         * INSTALL: Regenerate.
22835
22836 2013-03-12  Roland McGrath  <roland@hack.frob.com>
22837
22838         * sysdeps/init_array/elf-init.c: New file.
22839         * csu/elf-init.c
22840         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22841         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22842
22843         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22844         __gmon_start__ as global, but as static with a .preinit_array pointer.
22845         * sysdeps/init_array/gmon-start.c: New file.  Use that.
22846         * sysdeps/init_array/crti.S: New file, empty except for comments.
22847         * sysdeps/init_array/crtn.S: Likewise.
22848
22849 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
22850
22851         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22852         definining bcopy.
22853         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22854         Remove Prefer_SSE_for_memop.
22855         * sysdeps/x86_64/multiarch/init-arch.h: Remove
22856         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
22857         HAS_PREFER_SSE_FOR_MEMOP.
22858         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22859         memset-x86-64.
22860         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22861         Remove bzero, memset ifunc support.
22862         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
22863         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
22864         * sysdeps/x86_64/multiarch/memset.S: Likewise.
22865         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22866
22867 2013-03-11  Andreas Schwab  <schwab@suse.de>
22868
22869         [BZ #15234]
22870         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
22871         by SHLIB_COMPAT.
22872         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
22873         (GLIBC_2.16): Remove pthread_atfork.
22874
22875 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
22876
22877         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
22878         (ptestcases.h): Likewise.
22879
22880 2013-03-08  Roland McGrath  <roland@hack.frob.com>
22881
22882         * Makeconfig ($(common-objpfx)config.status): Depend on
22883         sysdeps/*/preconfigure{,.in} too.
22884
22885 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
22886
22887         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
22888         (__free_hook): Use void * instead of __malloc_ptr_t.
22889         (__malloc_hook): Likewise.
22890         (__realloc_hook): Likewise.
22891         (__memalign_hook): Likewise.
22892         (__after_morecore_hook): Likewise.
22893         * malloc/arena.c (save_malloc_hook): Likewise.
22894         (save_free_hook): Likewise.
22895         * malloc/hooks.c (malloc_hook_ini): Likewise.
22896         (realloc_hook_ini): Likewise.
22897         (memalign_hook_ini): Likewise.
22898         * malloc/malloc.c (malloc_hook_ini): Likewise.
22899         (realloc_hook_ini): Likewise.
22900         (memalign_hook_ini): Likewise.
22901         (__free_hook): Likewise.
22902         (__malloc_hook): Likewise.
22903         (__realloc_hook): Likewise.
22904         (__memalign_hook): Likewise.
22905         (__libc_malloc): Likewise.
22906         (__libc_free): Likewise.
22907         (__libc_realloc): Likewise.
22908         (__libc_memalign): Likewise.
22909         (__libc_valloc): Likewise.
22910         (__libc_pvalloc): Likewise.
22911         (__libc_calloc): Likewise.
22912         (__posix_memalign): Likewise.
22913         * malloc/morecore.c (__sbrk): Likewise.
22914         (__default_morecore): Likewise.
22915
22916         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
22917
22918         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
22919         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
22920         __malloc_ptrdiff_t.
22921
22922         * malloc/malloc.h (__malloc_size_t): Remove macro.
22923         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
22924         __malloc_size_t.
22925         (old_memalign_hook): Likewise.
22926         (old_realloc_hook): Likewise.
22927         (struct hdr): Likewise.
22928         (flood): Likewise.
22929         (mallochook): Likewise.
22930         (memalignhook): Likewise.
22931         (reallochook): Likewise.
22932         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
22933         (tr_old_realloc_hook): Likewise.
22934         (tr_old_memalign_hook): Likewise.
22935         (tr_mallochook): Likewise.
22936         (tr_reallochook): Likewise.
22937         (tr_memalignhook): Likewise.
22938
22939 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22940
22941         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
22942         default_ldbl_pack and using as default implementation.
22943         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
22944         implementation.
22945         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
22946         redundant definition.
22947         (ldbl_insert_mantissa): Likewise.
22948         (ldbl_canonicalize): Likewise.
22949         (ldbl_nearbyint): Likewise.
22950         (ldbl_pack): Rename to ldbl_pack_ppc.
22951         (ldbl_unpack): Rename to ldbl_unpack_ppc.
22952         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
22953         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
22954
22955 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
22956
22957         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
22958         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
22959         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
22960         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
22961         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
22962         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
22963         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
22964         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
22965
22966 2013-03-07  Andreas Jaeger  <aj@suse.de>
22967
22968         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22969         bits/mman-linux.h.
22970
22971 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
22972
22973         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
22974         Include mpa.h and declare __MPEXP.
22975         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
22976         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22977         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22978         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
22979         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22980         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
22981         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
22982
22983         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
22984         (__slowpow): Use long double EXPL and LOGL functions to
22985         compute POW.
22986         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
22987         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22988         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
22989         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
22990         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
22991         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
22992
22993         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
22994         intermediate variable to calculate exponent.
22995         (__sqr): Likewise.
22996         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22997         Likewise.
22998         (__sqr): Likewise.
22999
23000         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
23001         [!NO__SQR]: Define __sqr.
23002         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
23003         and NO__SQR.  Remove all code except __mul and __sqr.  Include
23004         sysdeps/ieee754/dbl-64/mpa.c.
23005         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23006
23007         [BZ #12723]
23008         * posix/Makefile (tests): Add tst-pathconf.
23009         * posix/tst-pathconf.c: New test case.
23010         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23011         _PC_PIPE_BUF.
23012         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23013
23014 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
23015
23016         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
23017
23018 2013-03-06  Andreas Jaeger  <aj@suse.de>
23019
23020         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
23021         definition via __MAP_ANONYMOUS.
23022
23023         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
23024         it's not part of Linux headers.
23025
23026         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
23027         (MAP_HUGE_MASK): Define.
23028
23029         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23030         Define.
23031         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23032         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23033         Define.
23034         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23035         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23036         Define.
23037         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23038         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23039         Define.
23040         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23041
23042         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23043         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
23044         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
23045         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
23046         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
23047         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
23048
23049         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23050         Handle f2fs.
23051
23052         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23053         Handle f2fs and efivarfs.
23054
23055         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23056         f2fs.
23057
23058         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23059         (EFIVARFS_MAGIC): Add.
23060         (F2FS_LINK_MAX): Add.
23061
23062 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23063
23064         * stdio-common/vfprintf.c: Replace __builtin_expect with
23065         __glibc_unlikely.
23066
23067 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
23068
23069         [BZ #13550]
23070         * sysdeps/generic/bp-sym.h: Remove file.
23071         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23072         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23073         <bp-sym.h> and <bp-asm.h>.
23074         (__longjmp): Don't use BP_SYM.
23075         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23076         and <bp-asm.h>.
23077         (memcpy): Don't use BP_SYM.
23078         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23079         <bp-sym.h> and <bp-asm.h>.
23080         (memcpy): Don't use BP_SYM.
23081         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
23082         <bp-asm.h>.
23083         (memcpy): Don't use BP_SYM.
23084         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
23085         <bp-asm.h>.
23086         (memset): Don't use BP_SYM.
23087         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23088         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23089         (__bzero): Don't use BP_SYM.
23090         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23091         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23092         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23093         <bp-sym.h> and <bp-asm.h>.
23094         (memcmp): Don't use BP_SYM.  Remove comment about bounded
23095         pointers.
23096         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23097         <bp-sym.h> and <bp-asm.h>.
23098         (memcpy): Don't use BP_SYM.
23099         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23100         <bp-sym.h> and <bp-asm.h>.
23101         (memset): Don't use BP_SYM.
23102         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23103         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23104         (__bzero): Don't use BP_SYM.
23105         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23106         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23107         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23108         <bp-sym.h> and <bp-asm.h>.
23109         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23110         pointers.
23111         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23112         <bp-sym.h> and <bp-asm.h>.
23113         (memcpy): Don't use BP_SYM.
23114         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23115         <bp-sym.h> and <bp-asm.h>.
23116         (memset): Don't use BP_SYM.
23117         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23118         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23119         (__bzero): Don't use BP_SYM.
23120         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23121         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23122         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23123         <bp-sym.h> and <bp-asm.h>.
23124         (__memchr): Don't use BP_SYM.
23125         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23126         <bp-sym.h> and <bp-asm.h>.
23127         (memcmp): Don't use BP_SYM.  Remove comment about bounded
23128         pointers.
23129         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23130         <bp-sym.h> and <bp-asm.h>.
23131         (memcpy): Don't use BP_SYM.
23132         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23133         <bp-sym.h> and <bp-asm.h>.
23134         (__mempcpy): Don't use BP_SYM.
23135         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23136         <bp-sym.h> and <bp-asm.h>.
23137         (__memrchr): Don't use BP_SYM.
23138         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23139         <bp-sym.h> and <bp-asm.h>.
23140         (memset): Don't use BP_SYM.
23141         (__bzero): Likewise.
23142         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23143         <bp-sym.h> and <bp-asm.h>.
23144         (__rawmemchr): Don't use BP_SYM.
23145         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23146         <bp-sym.h> and <bp-asm.h>.
23147         (__STRCMP): Don't use BP_SYM.
23148         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23149         <bp-sym.h> and <bp-asm.h>.
23150         (strchr): Don't use BP_SYM.
23151         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23152         <bp-sym.h> and <bp-asm.h>.
23153         (__strchrnul): Don't use BP_SYM.
23154         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23155         <bp-sym.h> and <bp-asm.h>.
23156         (strlen): Don't use BP_SYM.
23157         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23158         <bp-sym.h> and <bp-asm.h>.
23159         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23160         pointers.
23161         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23162         <bp-sym.h> and <bp-asm.h>.
23163         (__strnlen): Don't use BP_SYM.
23164         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23165         <bp-sym.h> and <bp-asm.h>.
23166         (__GI__setjmp): Don't use BP_SYM.
23167         (_setjmp): Likewise.
23168         (__sigsetjmp): Likewise.
23169         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23170         (L(start_addresses)): Don't use BP_SYM.
23171         (_start): Likewise.
23172         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23173         <bp-asm.h>.
23174         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23175         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23176         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23177         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23178         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23179         <bp-asm.h>.
23180         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23181         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
23182         about bounded pointers.
23183         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23184         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23185         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23186         <bp-asm.h>.
23187         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
23188         about bounded pointers.  Remove GKM FIXME comments.
23189         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23190         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23191         <bp-asm.h>.
23192         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23193         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
23194         Remove GKM FIXME comments.
23195         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23196         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23197         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
23198         <bp-asm.h>.
23199         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
23200         about bounded pointers.  Remove GKM FIXME comment.
23201         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
23202         and <bp-asm.h>.
23203         (strncmp): Don't use BP_SYM.  Remove comment about bounded
23204         pointers.
23205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
23206         <bp-sym.h> and <bp-asm.h>.
23207         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
23209         <bp-sym.h> and <bp-asm.h>.
23210         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
23211         comment.
23212
23213 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23214
23215         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23216         call free(NULL).
23217
23218 2013-03-05  David S. Miller  <davem@davemloft.net>
23219
23220         * po/es.po: Update from translation team.
23221
23222 2013-03-05  Andreas Jaeger  <aj@suse.de>
23223
23224         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23225         <bits/mman-linux.h>.
23226         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23227         is fine.
23228         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23229         <bits/mman-linux.h> to end of file.
23230         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23231         is fine.
23232         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23233         <bits/mman-linux.h> to end of file.
23234         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23235         is fine.
23236         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23237         <bits/mman-linux.h> to end of file.
23238
23239         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23240         (MCL_CURRENT, MCL_FUTURE): Define here.
23241
23242 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23243
23244         [BZ #15232]
23245         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23246         attribute_hidden.
23247         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23248
23249 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23250
23251         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23252         fourth parameter needed for rt_sigprocmask syscall.
23253         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23254         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23255         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23256         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23257         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23258         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23259
23260 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
23261
23262         [BZ #13550]
23263         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23264         comment about bounded pointers.
23265         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23266         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23267
23268 2013-03-04  Andreas Jaeger  <aj@suse.de>
23269
23270         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23271         common definitions.
23272
23273         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23274         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23275         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23276         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23277         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
23278         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23279
23280 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23281
23282         [BZ #15055]
23283         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23284         __ieee754_sqrl instead of __sqrl.
23285
23286 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
23287
23288         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23289         * sysdeps/powerpc/fpu_control.h: ... here.
23290         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23291         * sysdeps/powerpc/bits/fenvinline.h: ... here.
23292         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23293         * sysdeps/powerpc/bits/mathinline.h: ... here.
23294
23295 2013-03-01  Roland McGrath  <roland@hack.frob.com>
23296
23297         * elf/dl-hwcaps.c (_dl_important_hwcaps):
23298         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23299         to just [NEED_DL_SYSINFO_DSO].
23300         * elf/dl-support.c: Likewise.
23301         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23302         * elf/rtld.c (dl_main): Likewise.
23303         * elf/setup-vdso.h (setup_vdso): Likewise.
23304         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23305         * sysdeps/unix/sysv/linux/dl-sysdep.c
23306         (_dl_discover_osversion): Likewise.
23307
23308 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
23309
23310         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23311         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23312
23313 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23314
23315         * NEWS: Mention libm performance improvements and non-x86 PI
23316         futex support.
23317
23318         * csu/libc-start.c (__pthread_initialize_minimal): Change
23319         function arguments.
23320         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23321
23322 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
23323
23324         [BZ #13550]
23325         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
23326         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
23327         <bp-sym.h> and <bp-asm.h>.
23328         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23329         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
23330         and <bp-asm.h>.
23331         (memcpy): Don't use BP_SYM.
23332         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
23333         <bp-asm.h>.
23334         (__mpn_add_n): Don't use BP_SYM.
23335         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
23336         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
23337         and <bp-asm.h>.
23338         (__mpn_addmul_1): Don't use BP_SYM.
23339         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23340         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
23341         <bp-sym.h>.
23342         (_setjmp): Don't use BP_SYM.
23343         (__novmx_setjmp): Likewise.
23344         (__GI__setjmp): Likewise.
23345         (__vmx_setjmp): Likewise.
23346         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
23347         <bp-sym.h>.
23348         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
23349         (__bzero): Don't use BP_SYM.
23350         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23351         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23352         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
23353         <bp-sym.h> and <bp-asm.h>.
23354         (memcpy): Don't use BP_SYM.
23355         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
23356         <bp-sym.h> and <bp-asm.h>.
23357         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23358         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
23359         <bp-sym.h> and <bp-asm.h>.
23360         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23361         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
23362         <bp-asm.h>.
23363         (__mpn_lshift): Don't use BP_SYM.
23364         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23365         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
23366         <bp-asm.h>.
23367         (memset): Don't use BP_SYM.
23368         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23369         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23370         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
23371         <bp-asm.h>.
23372         (__mpn_mul_1): Don't use BP_SYM.
23373         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23374         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
23375         <bp-sym.h> and <bp-asm.h>.
23376         (memcmp): Don't use BP_SYM.
23377         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
23378         <bp-sym.h> and <bp-asm.h>.
23379         (memcpy): Don't use BP_SYM.
23380         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
23381         <bp-sym.h> and <bp-asm.h>.
23382         (memset): Don't use BP_SYM.
23383         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
23384         <bp-sym.h> and <bp-asm.h>.
23385         (strncmp): Don't use BP_SYM.
23386         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
23387         <bp-sym.h> and <bp-asm.h>.
23388         (memcpy): Don't use BP_SYM.
23389         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
23390         <bp-sym.h> and <bp-asm.h>.
23391         (memset): Don't use BP_SYM.
23392         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
23393         <bp-sym.h> and <bp-asm.h>.
23394         (__memchr): Don't use BP_SYM.
23395         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
23396         <bp-sym.h> and <bp-asm.h>.
23397         (memcmp): Don't use BP_SYM.
23398         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
23399         <bp-sym.h> and <bp-asm.h>.
23400         (memcpy): Don't use BP_SYM.
23401         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23402         <bp-sym.h> and <bp-asm.h>.
23403         (__mempcpy): Don't use BP_SYM.
23404         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23405         <bp-sym.h> and <bp-asm.h>.
23406         (__memrchr): Don't use BP_SYM.
23407         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23408         <bp-sym.h> and <bp-asm.h>.
23409         (memset): Don't use BP_SYM.
23410         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23411         <bp-sym.h> and <bp-asm.h>.
23412         (__rawmemchr): Don't use BP_SYM.
23413         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23414         <bp-sym.h> and <bp-asm.h>.
23415         (__STRCMP): Don't use BP_SYM.
23416         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23417         <bp-sym.h> and <bp-asm.h>.
23418         (strchr): Don't use BP_SYM.
23419         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23420         <bp-sym.h> and <bp-asm.h>.
23421         (__strchrnul): Don't use BP_SYM.
23422         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23423         <bp-sym.h> and <bp-asm.h>.
23424         (strlen): Don't use BP_SYM.
23425         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23426         <bp-sym.h> and <bp-asm.h>.
23427         (strncmp): Don't use BP_SYM.
23428         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23429         <bp-sym.h> and <bp-asm.h>.
23430         (__strnlen): Don't use BP_SYM.
23431         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23432         <bp-asm.h>.
23433         (__mpn_rshift): Don't use BP_SYM.
23434         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23435         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23436         <bp-sym.h> and <bp-asm.h>.
23437         (__sigsetjmp): Don't use BP_SYM.
23438         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23439         (L(start_addresses)): Don't use BP_SYM.
23440         (_start): Likewise.
23441         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23442         <bp-asm.h>.
23443         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23444         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23445         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23446         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23447         <bp-asm.h>.
23448         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23449         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23450         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23451         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23452         <bp-asm.h>.
23453         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
23454         comments.
23455         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23456         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23457         <bp-asm.h>.
23458         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
23459         FIXME comments.
23460         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23461         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23462         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23463         <bp-asm.h>.
23464         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
23465         comment.
23466         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23467         and <bp-asm.h>.
23468         (strncmp): Don't use BP_SYM,
23469         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23470         <bp-asm.h>.
23471         (__mpn_sub_n): Don't use BP_SYM.
23472         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23473         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23474         and <bp-asm.h>.
23475         (__mpn_submul_1): Don't use BP_SYM.
23476         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23478         <bp-sym.h> and <bp-asm.h>.
23479         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23481         <bp-sym.h> and <bp-asm.h>.
23482         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
23483         comment.
23484
23485 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23486
23487         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23488         Use ZK to minimize writes to Z.
23489         (sub_magnitudes): Simplify code a bit.
23490         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23491         Use ZK to minimize writes to Z.
23492         (sub_magnitudes): Simplify code a bit.
23493
23494 2013-02-27  Roland McGrath  <roland@hack.frob.com>
23495
23496         * csu/gmon-start.c: Add special exception to license text.
23497
23498 2013-02-27  Richard Henderson  <rth@redhat.com>
23499
23500         * scripts/config.guess: Update from config.git.
23501         * scripts/config.sub: Likewise.
23502
23503 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23504
23505         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23506
23507         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23508
23509         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23510
23511         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23512
23513         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23514
23515 2013-02-26  Roland McGrath  <roland@hack.frob.com>
23516
23517         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23518         [$(build-shared = yes].
23519
23520 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23521
23522         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23523         (__mul): Reduce iterations for calculating mantissa.
23524
23525         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23526         MPTWO.
23527         (__mpranred): Likewise.
23528
23529         [BZ #15160]
23530         * malloc/memusagestat.c (main): Draw graphs for heap and stack
23531         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
23532
23533 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
23534
23535         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
23536         Define __attribute__.
23537
23538 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
23539
23540         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
23541         unused.
23542         * posix/regex_internal.h (__attribute): Remove.
23543         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
23544         (re_string_context_at): Likewise.
23545         (bitset_not): Use __attribute__ and mark function as possibly
23546         unused.
23547         (bitset_merge): Likewise.
23548         (bitset_mask): Likewise.
23549         (re_string_char_size_at): Likewise.
23550         (re_string_wchar_at): Likewise.
23551         (re_string_elem_size_at): Likewise.
23552
23553 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23554
23555         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
23556         code.
23557         (cc32): Likewise.
23558
23559         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
23560         (__acr): Likewise.
23561         (__cpy): Likewise.
23562         (norm): Likewise.
23563         (denorm): Likewise.
23564         (__dbl_mp): Likewise.
23565         (add_magnitudes): Likewise.
23566         (sub_magnitudes): Likewise.
23567         (__mul): Likewise.
23568         (__inv): Likewise.
23569
23570         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
23571         style.
23572
23573         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
23574         style.
23575
23576         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
23577         code.
23578
23579         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
23580         up changes with default code.
23581         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
23582         Likewise.
23583
23584 2013-02-24  Allan McRae  <allan@archlinux.org>
23585
23586         * manual/socket.texi (The Internet Namespace): Order menu items
23587         to match that in the file.
23588
23589         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
23590         node listing of the info page menu.
23591
23592 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
23593
23594         [BZ #13550]
23595         * sysdeps/i386/bp-asm.h: Remove file.
23596         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23597         (PARMS): Do not use macros from bp-asm.h.
23598         (S1): Likewise.
23599         (S2): Likewise.
23600         (SIZE): Likewise.
23601         (__mpn_add_n): Do not use BP_SYM
23602         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
23603         "bp-asm.h".
23604         (PARMS): Do not use macros from bp-asm.h.
23605         (S1): Likewise.
23606         (SIZE): Likewise.
23607         (__mpn_addmul_1): Do not use BP_SYM
23608         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
23609         "bp-asm.h".
23610         (PARMS): Do not use macros from bp-asm.h.
23611         (SIGMSK): Likewise.
23612         (_setjmp): Likewise.  Do not use BP_SYM.
23613         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
23614         "bp-asm.h".
23615         (PARMS): Do not use macros from bp-asm.h.
23616         (SIGMSK): Likewise.
23617         (setjmp): Likewise.  Do not use BP_SYM.
23618         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
23619         "bp-asm.h".
23620         (PARMS): Do not use macros from bp-asm.h.
23621         (__frexp): Do not use BP_SYM.
23622         (frexp): Likewise.
23623         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
23624         "bp-asm.h".
23625         (PARMS): Do not use macros from bp-asm.h.
23626         (__frexpf): Do not use BP_SYM.
23627         (frexpf): Likewise.
23628         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
23629         "bp-asm.h".
23630         (PARMS): Do not use macros from bp-asm.h.
23631         (__frexpl): Do not use BP_SYM.
23632         (frexpl): Likewise.
23633         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
23634         "bp-asm.h".
23635         (PARMS): Do not use macros from bp-asm.h.
23636         (__remquo): Do not use BP_SYM.
23637         (remquo): Likewise.
23638         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
23639         "bp-asm.h".
23640         (PARMS): Do not use macros from bp-asm.h.
23641         (__remquof): Do not use BP_SYM.
23642         (remquof): Likewise.
23643         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
23644         "bp-asm.h".
23645         (PARMS): Do not use macros from bp-asm.h.
23646         (__remquol): Do not use BP_SYM.
23647         (remquol): Likewise.
23648         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
23649         "bp-asm.h".
23650         (PARMS): Do not use macros from bp-asm.h.
23651         (DEST): Likewise.
23652         (SRC): Likewise.
23653         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
23654         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
23655         "bp-asm.h".
23656         (PARMS): Do not use macros from bp-asm.h.
23657         (strlen): Do not use BP_SYM.
23658         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
23659         "bp-asm.h".
23660         (PARMS): Do not use macros from bp-asm.h.
23661         (S1): Likewise.
23662         (S2): Likewise.
23663         (SIZE): Likewise.
23664         (__mpn_add_n): Do not use BP_SYM.
23665         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
23666         "bp-asm.h".
23667         (PARMS): Do not use macros from bp-asm.h.
23668         (S1): Likewise.
23669         (SIZE): Likewise.
23670         (__mpn_addmul_1): Do not use BP_SYM.
23671         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
23672         weak_alias.
23673         (bzero): Likewise.
23674         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
23675         "bp-asm.h".
23676         (PARMS): Do not use macros from bp-asm.h.
23677         (S): Likewise.
23678         (SIZE): Likewise.
23679         (__mpn_lshift): Do not use BP_SYM.
23680         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
23681         "bp-asm.h".
23682         (PARMS): Do not use macros from bp-asm.h.
23683         (DEST): Likewise.
23684         (SRC): Likewise.
23685         (LEN): Likewise.
23686         (memcpy): Likewise.  Do not use BP_SYM.
23687         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
23688         libc_hidden_def and weak_alias.
23689         (mempcpy): Do not use BP_SYM in weak_alias.
23690         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
23691         "bp-asm.h".
23692         (PARMS): Do not use macros from bp-asm.h.
23693         (DEST): Likewise.
23694         (LEN): Likewise.
23695         [!BZERO_P] (CHR): Likewise.
23696         (memset): Likewise.  Do not use BP_SYM.
23697         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
23698         "bp-asm.h".
23699         (PARMS): Do not use macros from bp-asm.h.
23700         (S1): Likewise.
23701         (SIZE): Likewise.
23702         (__mpn_mul_1): Do not use BP_SYM.
23703         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
23704         "bp-asm.h".
23705         (PARMS): Do not use macros from bp-asm.h.
23706         (S): Likewise.
23707         (SIZE): Likewise.
23708         (__mpn_rshift): Do not use BP_SYM.
23709         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
23710         "bp-asm.h".
23711         (PARMS): Do not use macros from bp-asm.h.
23712         (STR): Likewise.
23713         (CHR): Likewise.
23714         (strchr): Likewise.  Do not use BP_SYM.
23715         (index): Do not use BP_SYM in weak_alias.
23716         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
23717         "bp-asm.h".
23718         (PARMS): Do not use macros from bp-asm.h.
23719         (DEST): Likewise.
23720         (SRC): Likewise.
23721         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
23722         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
23723         "bp-asm.h".
23724         (PARMS): Do not use macros from bp-asm.h.
23725         (strlen): Do not use BP_SYM.
23726         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
23727         "bp-asm.h".
23728         (PARMS): Do not use macros from bp-asm.h.
23729         (S1): Likewise.
23730         (S2): Likewise.
23731         (SIZE): Likewise.
23732         (__mpn_sub_n): Do not use BP_SYM.
23733         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
23734         "bp-asm.h".
23735         (PARMS): Do not use macros from bp-asm.h.
23736         (S1): Likewise.
23737         (SIZE): Likewise.
23738         (__mpn_submul_1): Do not use BP_SYM.
23739         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
23740         "bp-asm.h".
23741         (PARMS): Do not use macros from bp-asm.h.
23742         (S1): Likewise.
23743         (S2): Likewise.
23744         (SIZE): Likewise.
23745         (__mpn_add_n): Do not use BP_SYM.
23746         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
23747         weak_alias.
23748         (bzero): Likewise.
23749         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
23750         "bp-asm.h".
23751         (PARMS): Do not use macros from bp-asm.h.
23752         (BLK2): Likewise.
23753         (LEN): Likewise.
23754         (memcmp): Do not use BP_SYM.
23755         (bcmp): Do not use BP_SYM in weak_alias.
23756         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
23757         "bp-asm.h".
23758         (PARMS): Do not use macros from bp-asm.h.
23759         (DEST): Likewise.
23760         (SRC): Likewise.
23761         (LEN): Likewise.
23762         (memcpy): Likewise.  Do not use BP_SYM.
23763         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
23764         "bp-asm.h".
23765         (PARMS): Do not use macros from bp-asm.h.
23766         (DEST): Likewise.
23767         (SRC): Likewise.
23768         (LEN): Likewise.
23769         (memmove): Likewise.  Do not use BP_SYM.
23770         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
23771         "bp-asm.h".
23772         (PARMS): Do not use macros from bp-asm.h.
23773         (DEST): Likewise.
23774         (SRC): Likewise.
23775         (LEN): Likewise.
23776         (__mempcpy): Likewise.  Do not use BP_SYM.
23777         (mempcpy): Do not use BP_SYM in weak_alias.
23778         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
23779         "bp-asm.h".
23780         (PARMS): Do not use macros from bp-asm.h.
23781         (DEST): Likewise.
23782         (LEN): Likewise.
23783         [!BZERO_P] (CHR): Likewise.
23784         (memset): Likewise.  Do not use BP_SYM.
23785         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
23786         "bp-asm.h".
23787         (PARMS): Do not use macros from bp-asm.h.
23788         (STR2): Likewise.
23789         (strcmp): Do not use BP_SYM.
23790         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
23791         "bp-asm.h".
23792         (PARMS): Do not use macros from bp-asm.h.
23793         (STR): Likewise.
23794         (DELIM): Likewise.
23795         [USE_AS_STRTOK_R] (SAVE): Likewise.
23796         (FUNCTION): Likewise.  Do not use BP_SYM.
23797         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23798         aliases.
23799         (strtok_r): Likewise.
23800         (__GI___strtok_r): Likewise.
23801         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23802         (PARMS): Do not use macros from bp-asm.h.
23803         (S): Likewise.
23804         (SIZE): Likewise.
23805         (__mpn_lshift): Do not use BP_SYM.
23806         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23807         (PARMS): Do not use macros from bp-asm.h.
23808         (STR): Likewise.
23809         (CHR): Likewise.
23810         (__memchr): Do not use BP_SYM.
23811         (memchr): Do not use BP_SYM in weak_alias.
23812         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23813         (PARMS): Do not use macros from bp-asm.h.
23814         (BLK2): Likewise.
23815         (LEN): Likewise.
23816         (memcmp): Do not use BP_SYM.
23817         (bcmp): Do not use BP_SYM in weak_alias.
23818         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23819         (PARMS): Do not use macros from bp-asm.h.
23820         (S1): Likewise.
23821         (SIZE): Likewise.
23822         (__mpn_mul_1): Do not use BP_SYM.
23823         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23824         "bp-asm.h".
23825         (PARMS): Do not use macros from bp-asm.h.
23826         (STR): Likewise.
23827         (CHR): Likewise.
23828         (__rawmemchr): Do not use BP_SYM.
23829         (rawmemchr): Do not use BP_SYM in weak_alias.
23830         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23831         (PARMS): Do not use macros from bp-asm.h.
23832         (S): Likewise.
23833         (SIZE): Likewise.
23834         (__mpn_rshift): Do not use BP_SYM.
23835         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23836         (PARMS): Do not use macros from bp-asm.h.
23837         (SIGMSK): Likewise.
23838         (__sigsetjmp): Likewise.  Do not use BP_SYM.
23839         * sysdeps/i386/start.S: Do not include "bp-sym.h".
23840         (_start): Do not use BP_SYM.
23841         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23842         (PARMS): Do not use macros from bp-asm.h.
23843         (DEST): Likewise.
23844         (SRC): Likewise.
23845         (__stpcpy): Likewise.  Do not use BP_SYM.
23846         (stpcpy): Do not use BP_SYM in weak_alias.
23847         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23848         "bp-asm.h".
23849         (PARMS): Do not use macros from bp-asm.h.
23850         (DEST): Likewise.
23851         (SRC): Likewise.
23852         (LEN): Likewise.
23853         (__stpncpy): Likewise.  Do not use BP_SYM.
23854         (stpncpy): Do not use BP_SYM in weak_alias.
23855         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23856         (PARMS): Do not use macros from bp-asm.h.
23857         (STR): Likewise.
23858         (CHR): Likewise.
23859         (strchr): Likewise.  Do not use BP_SYM.
23860         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
23861         "bp-asm.h".
23862         (PARMS): Do not use macros from bp-asm.h.
23863         (STR): Likewise.
23864         (CHR): Likewise.
23865         (__strchrnul): Likewise.  Do not use BP_SYM.
23866         (strchrnul): Do not use BP_SYM in weak_alias.
23867         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
23868         "bp-asm.h".
23869         (PARMS): Do not use macros from bp-asm.h.
23870         (STOP): Likewise.
23871         (strcspn): Do not use BP_SYM.
23872         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
23873         "bp-asm.h".
23874         (PARMS): Do not use macros from bp-asm.h.
23875         (STR): Likewise.
23876         (STOP): Likewise.
23877         (strpbrk): Likewise.  Do not use BP_SYM.
23878         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
23879         "bp-asm.h".
23880         (PARMS): Do not use macros from bp-asm.h.
23881         (STR): Likewise.
23882         (CHR): Likewise.
23883         (strrchr): Likewise.  Do not use BP_SYM.
23884         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
23885         (PARMS): Do not use macros from bp-asm.h.
23886         (SKIP): Likewise.
23887         (strspn): Do not use BP_SYM.
23888         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
23889         (PARMS): Do not use macros from bp-asm.h.
23890         (STR): Likewise.
23891         (DELIM): Likewise.
23892         (SAVE): Likewise.
23893         (FUNCTION): Likewise.  Do not use BP_SYM.
23894         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
23895         aliases.
23896         (strtok_r): Likewise.
23897         (__GI___strtok_r): Likewise.
23898         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23899         (PARMS): Do not use macros from bp-asm.h.
23900         (S1): Likewise.
23901         (S2): Likewise.
23902         (SIZE): Likewise.
23903         (__mpn_sub_n): Do not use BP_SYM.
23904         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
23905         "bp-asm.h".
23906         (PARMS): Do not use macros from bp-asm.h.
23907         (S1): Likewise.
23908         (SIZE): Likewise.
23909         (__mpn_submul_1): Do not use BP_SYM.
23910         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
23911         <bp-sym.h>.
23912         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
23913         and <bp-asm.h>.
23914         (PARMS): Do not use macros from bp-asm.h.
23915         (FLAGS): Likewise.
23916         (PTID): Likewise.
23917         (TLS): Likewise.
23918         (CTID): Likewise.
23919         (__clone): Do not use BP_SYM.
23920         (clone): Do not use BP_SYM in weak_alias.
23921         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
23922         and <bp-asm.h>.
23923         (PARMS): Do not use macros from bp-asm.h.
23924         (LEN): Likewise.
23925         (__mmap64): Do not use BP_SYM.
23926         (mmap64): Do not use BP_SYM in weak_alias.
23927         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23928         <bp-sym.h> and <bp-asm.h>.
23929         (PARMS): Do not use macros from bp-asm.h.
23930         (__posix_fadvise64_l64): Do not use BP_SYM.
23931         * sysdeps/unix/sysv/linux/i386/semtimedop.S
23932         (PARMS): Do not use macros from bp-asm.h.
23933         (NSOPS): Likewise.
23934         (semtimedop): Do not use BP_SYM.
23935         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
23936         and <bp-asm.h>.
23937
23938 2013-02-21  Allan McRae  <allan@archlinux.org>
23939
23940         * manual/message.texi (Charset conversion in gettext):
23941         Move @end statement to beginning of line.
23942
23943 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23944
23945         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
23946         static.
23947         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23948         Likewise.
23949
23950         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
23951         (denorm): Likewise.
23952         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
23953         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
23954
23955 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23956
23957         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
23958         tail-call to the resolved function if pltexit isn't needed.
23959
23960 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23961
23962         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
23963         or Y being zero as being unlikely.
23964         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23965         Likewise.
23966
23967 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
23968
23969         * manual/nss.texi (System Databases and Name Service Switch):
23970         Remove frobnicate @pxref.
23971
23972 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
23973
23974         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
23975         __attribute__ ((unused)) to __attribute__ ((__unused__)).
23976
23977 2013-02-20  Petr Machata  <pmachata@redhat.com>
23978
23979         * elf/elf.h (R_ARM_TARGET1): New macro.
23980         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
23981         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
23982         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
23983         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
23984         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
23985         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
23986         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
23987         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
23988         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
23989         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
23990         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
23991         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
23992         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
23993         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
23994         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
23995         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
23996         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
23997         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
23998         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
23999         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24000         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
24001         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
24002         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
24003         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
24004         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
24005         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
24006         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
24007         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
24008         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
24009         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
24010         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24011         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24012         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24013         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24014         (R_ARM_THM_GOT_BREL12): Likewise.
24015         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24016         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
24017         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
24018         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
24019         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
24020         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
24021         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
24022         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
24023         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
24024
24025 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
24026
24027         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24028         __attribute_used__ to __attribute__ ((unused)).
24029
24030 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24031
24032         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
24033         powerpc mpa.c.
24034         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
24035         comment formatting.
24036         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
24037
24038 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
24039
24040         [BZ #13550]
24041         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
24042         Remove macro.
24043         (ENTER): Remove both macro definitions.
24044         (LEAVE): Likewise.
24045         (CHECK_BOUNDS_LOW): Likewise.
24046         (CHECK_BOUNDS_HIGH): Likewise.
24047         (CHECK_BOUNDS_BOTH): Likewise.
24048         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
24049         (RETURN_BOUNDED_POINTER): Likewise.
24050         (RETURN_NULL_BOUNDED_POINTER): Likewise.
24051         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
24052         (POP_ERRNO_LOCATION_RETURN): Likewise.
24053         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
24054         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24055         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24056         macros.
24057         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24058         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24059         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24060         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24061         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24062         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24063         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24064         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24065         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24066         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24067         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24068         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24069         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24070         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24071         removed macros.
24072         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24073         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24074         macros.
24075         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24076         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24077         * sysdeps/i386/i586/memset.S (memset): Likewise.
24078         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24079         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24080         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24081         macros.
24082         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24083         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
24084         Change uses of L(2) to L(out).
24085         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
24086         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
24087         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
24088         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24089         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24090         removed macros.
24091         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24092         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24093         macros.
24094         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24095         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24096         (RETURN): Do not use macro LEAVE.
24097         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24098         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24099         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24100         * sysdeps/i386/i686/memset.S (memset): Likewise.
24101         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24102         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24103         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24104         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24105         Likewise.
24106         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24107         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
24108         L(1_2) and L(1_3) into L(1).
24109         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24110         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24111         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24112         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24113         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24114         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24115         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24116         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24117         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24118         macros.
24119         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24120         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24121         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24122         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24123         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24124         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24125         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24126         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24127         * sysdeps/i386/strcspn.S (strcspn): Likewise.
24128         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24129         * sysdeps/i386/strrchr.S (strrchr): Likewise.
24130         * sysdeps/i386/strspn.S (strspn): Likewise.
24131         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24132         conditional code.
24133         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24134         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24135         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24136         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
24137         L(1_3) into L(1_1).
24138         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24139         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24140         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24141         macros.
24142         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24143
24144 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
24145
24146         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24147         macro.
24148
24149 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24150
24151         * math/atest-exp.c (exp_mpn): Remove ROUND.
24152         * math/atest-exp2.c (exp_mpn): Likewise.
24153         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24154
24155         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24156         * stdlib/tst-tls-atexit-lib.c: Likewise.
24157         * stdlib/tst-tls-atexit.c: Likewise.
24158
24159 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24160
24161         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24162         and __attribute_alloc_size__.
24163
24164 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24165
24166         * include/programs/xmalloc.h: Change __attribute_alloc_size to
24167         __attribute_alloc_size__.
24168         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24169         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24170
24171 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
24172
24173         * include/programs/xmalloc.h: New file.
24174         * catgets/gencat.c: Include it.
24175         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24176         * elf/pldd.c: Likewise.
24177         * iconv/iconv_charmap.c: Likewise.
24178         * iconv/iconvconfig.c: Likewise.
24179         * iconv/strtab.c: Likewise.
24180         * locale/programs/locale.c: Likewise.
24181         * locale/programs/localedef.h: Likewise.
24182         * locale/programs/simple-hash.c: Likewise.
24183         * nscd/nscd.h: Likewise.
24184         * nss/makedb.c: Likewise.
24185         * sysdeps/generic/ldconfig.h: Likewise.
24186
24187 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24188
24189         * Versions.def: Add GLIBC_2.18.
24190         * include/link.h (struct link_map): New member l_tls_dtor_count.
24191         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24192         (__call_tls_dtors): Likewise.
24193         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24194         __cxa_thread_atexit_impl.
24195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24196         Likewise.
24197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24198         Likewise.
24199         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24200         Likewise.
24201         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24202         Likewise.
24203         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24204         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
24205         Likewise.
24206         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
24207         Likewise.
24208         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24209         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24210         Likewise.
24211         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24212         (tests): Add test case tst-tls-atexit.
24213         (modules-names): Add shared library for tst-tls-atexit.
24214         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
24215         (GLIBC_PRIVATE): Add __call_tls_dtors.
24216         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24217         for libstdc++.
24218         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24219         * stdlib/tst-tls-atexit.c: New test case.
24220         * stdlib/tst-tls-atexit-lib.c: New test case.
24221
24222         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
24223
24224         * elf/Versions (ld): Add _dl_find_dso_for_object.
24225         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24226         * elf/dl-open.c (_dl_find_dso_for_object): New function.
24227         (dl_open_worker): Use _dl_find_dso_for_object.
24228         * elf/dl-sym.c (do_sym): Likewise.
24229         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24230
24231 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24232
24233         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24234         Syntactic changes only.
24235         (_dl_runtime_profile): Do a tail-call to the resolved function.
24236
24237 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
24238
24239         [BZ #13550]
24240         * sysdeps/x86_64/bp-asm.h: Remove file.
24241         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24242         <bp-sym.h> and <bp-asm.h>.
24243         (__clone): Do not use BP_SYM.
24244         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24245         <bp-sym.h> and <bp-asm.h>.
24246         * sysdeps/unix/x86_64/sysdep.S: Likewise.
24247         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24248         "bp-asm.h".
24249         (_setjmp): Do not use BP_SYM.
24250         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24251         "bp-asm.h".
24252         (setjmp): Do not use BP_SYM.
24253         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24254         libc_hidden_def.
24255         (mempcpy): Do not use BP_SYM in weak_alias.
24256         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24257         "bp-asm.h".
24258         (strchr): Do not use BP_SYM.
24259         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24260         "bp-asm.h".
24261         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24262         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24263         (_start): Do not use BP_SYM.
24264         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24265         "bp-asm.h".
24266         (strcat): Do not use BP_SYM.
24267         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24268         "bp-asm.h".
24269         (STRCMP): Do not use BP_SYM.
24270         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24271         "bp-asm.h".
24272         (STRCPY): Do not use BP_SYM.
24273         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24274         "bp-asm.h".
24275         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24276         "bp-asm.h".
24277         (FUNCTION): Do not use BP_SYM.
24278         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24279         weak_alias.
24280         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24281
24282 2013-02-17  Andreas Jaeger  <aj@suse.de>
24283
24284         * time/Versions: Sort entries.
24285         * string/Versions: Likewise.
24286         * resolv/Versions: Likewise.
24287         * posix/Versions: Likewise.
24288         * iconv/Versions: Likewise.
24289         * elf/Versions: Likewise.
24290         * wcsmbs/Versions: Likewise.
24291
24292 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24293
24294         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24295         loop termination condition.
24296
24297         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24298         variable to calculate EZ.
24299         (__sqr): Likewise.
24300
24301         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24302         the lower precision input.
24303
24304 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
24305
24306         [BZ #13550]
24307         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24308         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24309         (run-via-rtld-prefix): Do not handle %-bp tests.
24310         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24311         (all-object-suffixes): Remove .ob.
24312         (bppfx): Remove variable.
24313         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24314         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24315         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24316         [$(build-bounded) = yes] (libtype.ob): Likewise.
24317         * Makerules (elide-routines.ob): Remove variable.
24318         (do-tests-clean): Do not handle *-bp.out.
24319         (common-mostlyclean): Do not handle *-bp and *-bp.out.
24320         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24321         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
24322         (tests): Do not include $(tests-bp.out).
24323         (xtests): Do not include $(xtests-bp.out).
24324         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
24325         [$(build-bounded) = yes] ($(addprefix
24326         $(objpfx),$(binaries-bounded))): Remove rule.
24327         ($(objpfx)%-bp.out): Remove rule.
24328         * config.make.in (build-bounded): Remove variable.
24329         * crypt/Makefile [$(build-bounded) = yes]
24330         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
24331         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
24332         append to variable.
24333         [$(build-bounded) = yes] (install-lib): Likewise.
24334         [$(build-bounded) = yes] (generated): Likewise.
24335         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
24336         Remove rule.
24337         * intl/Makefile [$(build-bounded) = yes]
24338         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
24339         * math/Makefile [$(build-bounded) = yes]
24340         ($(tests:%=$(objpfx)%-bp): Likewise.
24341         * misc/Makefile [$(build-bounded) = yes]
24342         ($(objpfx)tst-tsearch-bp): Likewise.
24343         * nptl/Makeconfig (bounded-thread-library): Remove variable.
24344         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
24345         Remove dependency.
24346         * string/Makefile (o-objects.ob): Remove variable.
24347         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
24348         (CFLAGS-.ob): Remove variable.
24349         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
24350         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
24351         both definitions of variable.
24352         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
24353         (ASFLAGS-.ob): Remove variable.
24354
24355 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
24356
24357         [BZ #13550]
24358         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
24359         Remove __BOUNDED_POINTERS__ from condition.
24360         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
24361         * string/bits/string2.h [!__NO_STRING_INLINES &&
24362         !__BOUNDED_POINTERS__]: Likewise.
24363         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
24364         Likewise.
24365         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
24366         Remove conditional code.
24367         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
24368         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
24369         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
24370         condition.
24371
24372         [BZ #13550]
24373         * csu/libc-start.c: Do not include <bp-sym.h>.
24374         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
24375         * elf/dl-open.c: Do not include <bp-sym.h>.
24376         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
24377         * math/fegetenv.c: Do not include <bp-sym.h>.
24378         (fegetenv): Do not use BP_SYM in versioned symbols.
24379         * nptl/sysdeps/pthread/bits/libc-lockP.h
24380         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
24381         <bp-sym.h>.
24382         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24383         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
24384         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24385         (__pthread_mutex_destroy): Likewise.
24386         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24387         (__pthread_mutex_lock): Likewise.
24388         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24389         (__pthread_mutex_trylock): Likewise.
24390         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24391         (__pthread_mutex_unlock): Likewise.
24392         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24393         (__pthread_mutexattr_init): Likewise.
24394         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24395         (__pthread_mutexattr_destroy): Likewise.
24396         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24397         (__pthread_mutexattr_settype): Likewise.
24398         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24399         (__pthread_rwlock_init): Likewise.
24400         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24401         (__pthread_rwlock_destroy): Likewise.
24402         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24403         (__pthread_rwlock_rdlock): Likewise.
24404         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24405         (__pthread_rwlock_tryrdlock): Likewise.
24406         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24407         (__pthread_rwlock_wrlock): Likewise.
24408         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24409         (__pthread_rwlock_trywrlock): Likewise.
24410         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24411         (__pthread_rwlock_unlock): Likewise.
24412         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24413         (__pthread_key_create): Likewise.
24414         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24415         (__pthread_setspecific): Likewise.
24416         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24417         (__pthread_getspecific): Likewise.
24418         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24419         Likewise.
24420         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24421         (_pthread_cleanup_push_defer): Likewise.
24422         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24423         (_pthread_cleanup_pop_restore): Likewise.
24424         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24425         (pthread_setcancelstate): Likewise.
24426         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24427         <bp-sym.h>.
24428         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24429         (memchr): Do not use BP_SYM in weak_alias.
24430         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24431         (fegetenv): Do not use BP_SYM in versioned symbols.
24432         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24433         (fesetenv): Do not use BP_SYM in versioned symbols.
24434         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24435         (feupdateenv): Do not use BP_SYM in versioned symbols.
24436         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24437         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24438         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24439         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24440         (open64): Do not use BP_SYM in weak_alias.
24441         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24442         (fegetenv): Do not use BP_SYM in versioned symbols.
24443         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24444         (fesetenv): Do not use BP_SYM in versioned symbols.
24445         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24446         (feupdateenv): Do not use BP_SYM in versioned symbols.
24447         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24448         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24449         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24450         (feraiseexcept): Do not use BP_SYM in versioned symbols.
24451         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24452         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24453         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24454         <bp-sym.h>.
24455         (__libc_start_main): Do not use BP_SYM.
24456
24457 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24458
24459         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24460         redundant return line.
24461         (norm): Likewise.
24462         (denorm): Likewise.
24463         (dbl_mp): Likewise.
24464         (sub_magnitudes): Likewise.
24465         (__add): Likewise.
24466         (__sub): Likewise.
24467         (__mul): Likewise.
24468         (__inv): Likewise.
24469         (__dvd): Likewise.
24470         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24471         (norm): Likewise.
24472         (denorm): Likewise.
24473         (dbl_mp): Likewise.
24474         (sub_magnitudes): Likewise.
24475         (__add): Likewise.
24476         (__sub): Likewise.
24477         (__mul): Likewise.
24478         (__inv): Likewise.
24479         (__dvd): Likewise.
24480
24481         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24482         instead of __mul.
24483         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24484         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24485         (cc32): Likewise.
24486
24487         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24488         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24489         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24490         of __mul for squares.
24491         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24492         function
24493         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24494         Likewise.
24495         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24496         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24497
24498 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
24499
24500         [BZ #13550]
24501         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24502         code.
24503         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24504         prototype or function definition.  Rename ubp_* variables and
24505         parameters.  Remove argv definitions conditional on
24506         [__BOUNDED_POINTERS__].
24507         * debug/backtrace.c (__backtrace): Do not use __unbounded.
24508         * elf/dl-runtime.c (_dl_fixup): Likewise.
24509         * include/set-hooks.h (RUN_HOOK): Likewise.
24510         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24511         definition.
24512         * string/strcpy.c (strcpy): Do not use __unbounded.
24513         * sysdeps/generic/frame.h (struct layout): Likewise.
24514         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24515         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24516         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24517         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24518         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24519         (__backtrace): Likewise.
24520         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24521         use __ptrvalue.
24522         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24523         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24524         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24525         Likewise.
24526         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24527         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24528         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24529         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24530         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24531         Do not use __unbounded.
24532         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
24533         Rename __unboundedrlimits parameter to rlimits in prototype.
24534         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
24535         Do not use __unbounded.
24536         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
24537         not use __ptrvalue.
24538         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24539         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
24540         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24541         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
24542         __ptrvalue or __unbounded.
24543         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
24544         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
24545         use __unbounded.
24546         (__new_msgctl): Do not use __ptrvalue.
24547         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
24548         __unbounded.
24549         (__libc_msgrcv): Do not use __ptrvalue.
24550         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
24551         startup_info): Do not use __unbounded.
24552         (__libc_start_main): Likewise.  Rename ubp_* variables and
24553         parameters.  Remove argv definitions conditional on
24554         [__BOUNDED_POINTERS__].
24555         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
24556         __ptrvalue.
24557         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
24558         use __unbounded.
24559         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
24560         or __ptrvalue.
24561         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
24562         use __unbounded.
24563         (__new_shmctl): Do not use __ptrvalue.
24564         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24565         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24566         Likewise.
24567         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24568         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
24569         (__libc_sigaction): Likewise.
24570         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
24571         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
24572         Likewise.
24573         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24574
24575 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
24576
24577         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
24578
24579         * string/mempcpy.c: Implement by calling memcpy.
24580
24581 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24582
24583         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
24584
24585         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
24586         evaluation.
24587
24588         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
24589         values in the mantissa.
24590
24591         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
24592         minimize writes to Z.
24593         (sub_magnitudes): Simplify code a bit.
24594
24595 2013-02-12  Roland McGrath  <roland@hack.frob.com>
24596
24597         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
24598         from the message.  The linker prefixes all warnings with that already.
24599
24600 2013-02-12  Andreas Schwab  <schwab@suse.de>
24601
24602         [BZ #15078]
24603         * posix/regexec.c (extend_buffers): Add parameter min_len.
24604         (check_matching): Pass minimum needed length.
24605         (clean_state_log_if_needed): Likewise.
24606         (get_subexp): Likewise.
24607         * posix/Makefile (tests): Add bug-regex34.
24608         (bug-regex34-ENV): Define.
24609         * posix/bug-regex34.c: New file.
24610
24611         [BZ #11561]
24612         * posix/regcomp.c (parse_bracket_exp): When looking up collating
24613         elements compare against the byte sequence of it, not its name.
24614         * posix/Makefile (tests): Add bug-regex35.
24615         (bug-regex35-ENV): Define.
24616         * posix/bug-regex35.c: New file.
24617
24618 2013-02-11  Tom de Vries  <tom@codesourcery.com>
24619
24620         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
24621         comment.
24622         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
24623         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
24624         (CHECK_EOL): Add undef.
24625
24626 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
24627
24628         * bits/stdlib-bsearch.h: New file.
24629         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
24630         * stdlib/stdlib.h: Likewise.
24631
24632 2013-02-11  Roland McGrath  <roland@hack.frob.com>
24633
24634         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
24635         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
24636         declaration.
24637         * manual/search.texi (Array Search Function): Add missing const in
24638         lfind prototype.
24639         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
24640         declaration to use rlim_t.
24641         (Basic Scheduling Functions): Remove erroneous const from
24642         sched_getparam prototype.  Remove erroneous * from
24643         sched_get_priority_max and sched_get_priority_min prototypes.
24644         (Resource Usage): Fix summary @comment on vtimes to refer to
24645         sys/vtimes.h rather than vtimes.h.
24646         Add missing *s in vtimes prototype.
24647         (Limits on Resources): Fix ulimit prototype to return long int.
24648         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
24649         prototypes to use long int rather than double.
24650         (BSD Random): Fix initstate and setstate to use char *, not void *.
24651         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
24652         prototype to make second argument 'struct aiocb64 *const[]'.
24653         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
24654         (Status of AIO Operations): Remove erroneous const in aio_return and
24655         aio_return64 prototypes.
24656         (Synchronizing I/O): Fix sync prototype to return void.
24657         * manual/startup.texi (Suboptions): Remove an erroneous const in
24658         getsubopt prototype.
24659         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
24660         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
24661         use size_t rather than int.
24662         (Scanning All Users): Likewise for getpwent_r.
24663         (Setting Groups): Add missing const to setgroups prototype.
24664         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
24665         * manual/socket.texi (Host Names): Fix gethostbyaddr and
24666         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
24667         'const void *' rather than 'const char *'.
24668         (Host Address Functions): Likewise for inet_ntop.
24669         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
24670         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
24671         ssize_t for return value.
24672         (Sending Data): Likewise for send, sendto, sendmsg.
24673         (Socket Option Functions): Add a missing const in setsockopt prototype.
24674         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
24675         use wchar_t for the argument.
24676         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
24677         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
24678         take no arguments.
24679         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
24680         double/float/long double for second argument.
24681         Fix return types of significand, significandf, significandl.
24682         * manual/filesys.texi (Setting Permissions): Use mode_t for second
24683         argument in fchmod prototype.
24684         (File Owner): Use uid_t and gid_t in fchown prototype.
24685         (File Times): Add const to utimes, futimes, and lutimes prototypes.
24686         (Making Special Files): Use mode_t and dev_t in mknod prototype.
24687         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
24688         use 'const struct dirent **' as argument types to CMP function pointer
24689         argument.
24690         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
24691         (File Times): Fix summary magic @comment for struct utimbuf and utime
24692         to refer to utime.h, not time.h.
24693         * manual/string.texi (Argz Functions): Add missing const in
24694         argz_extract and argz_next prototypes.
24695         (Finding Tokens in a String): Likewise for basename.
24696         (String/Array Comparison): Fix typo in wcscasecmp prototype.
24697         (Copying and Concatenation): Fix typo in wmemmove prototype.
24698         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
24699         (Signal Stack): Remove erroneous const in sigstack prototype.
24700         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
24701         prototype.
24702         (Simple Calendar Time): Likewise for stime.
24703         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
24704         prototype.
24705         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
24706         say sys/sysctl.h instead.
24707         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
24708         and vsyslog prototypes.
24709
24710 2013-02-11  Tom de Vries  <tom@codesourcery.com>
24711
24712         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
24713         Remove.
24714
24715 2013-02-11  Roland McGrath  <roland@hack.frob.com>
24716
24717         * misc/sys/mman.h: Fix typo in mremap comment.
24718
24719 2013-02-08  Roland McGrath  <roland@hack.frob.com>
24720
24721         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
24722         the '\0' terminator.
24723
24724 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
24725
24726         [BZ #13550]
24727         * debug/segfault.c: Don't include <bp-checks.h>.
24728         * sysdeps/generic/bp-checks.h: Remove file.
24729         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
24730         (__GETDENTS): Don't use CHECK_N.
24731         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
24732         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24733         (__getgroups): Don't use CHECK_N.
24734         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
24735         (setgroups): Don't use CHECK_N.
24736         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
24737         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24738         (__libc_msgrcv): Don't use CHECK_N.
24739         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
24740         (__libc_msgsnd): Don't use CHECK_N.
24741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24742         <bp-checks.h>.
24743         (__libc_pread): Don't use CHECK_N.
24744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
24745         include <bp-checks.h>.
24746         (__libc_pread64): Don't use CHECK_N.
24747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
24748         include <bp-checks.h>.
24749         (__libc_pwrite): Don't use CHECK_N.
24750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
24751         include <bp-checks.h>.
24752         (__libc_pwrite64): Don't use CHECK_N.
24753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
24754         <bp-checks.h>.
24755         (__libc_pread): Don't use CHECK_N.
24756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
24757         include <bp-checks.h>.
24758         (__libc_pread64): Don't use CHECK_N.
24759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
24760         include <bp-checks.h>.
24761         (__libc_pwrite): Don't use CHECK_N.
24762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
24763         include <bp-checks.h>.
24764         (__libc_pwrite64): Don't use CHECK_N.
24765         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
24766         (do_pread): Don't use CHECK_N.
24767         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
24768         (do_pread64): Don't use CHECK_N.
24769         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
24770         (do_pwrite): Don't use CHECK_N.
24771         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
24772         (do_pwrite64): Don't use CHECK_N.
24773         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
24774         (__libc_readv): Don't use CHECK_N.
24775         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
24776         (semop): Don't use CHECK_N.
24777         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
24778         <bp-checks.h>.
24779         (semtimedop): Don't use CHECK_N.
24780         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
24781         (__libc_pread): Don't use CHECK_N.
24782         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
24783         <bp-checks.h>.
24784         (__libc_pread64): Don't use CHECK_N.
24785         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
24786         <bp-checks.h>.
24787         (__libc_pwrite): Don't use CHECK_N.
24788         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
24789         <bp-checks.h>.
24790         (__libc_pwrite64): Don't use CHECK_N.
24791         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
24792         <bp-checks.h>.
24793         (__libc_msgrcv): Don't use CHECK_N.
24794         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24795         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
24796         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24797         (__libc_writev): Don't use CHECK_N.
24798
24799 2013-02-08  Roland McGrath  <roland@hack.frob.com>
24800
24801         * string/strcpy.c: Removed unused variable.
24802
24803         * Makeconfig (+sysdep-includes): Define with := rather than =.
24804         Use an existing include/ subdir of each sysdeps dir before it.
24805
24806 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
24807
24808         * nscd/connection.c (register_traced_file): Comment function.
24809         [HAVE_INOTIFY] (union __inev): Define.
24810         [HAVE_INOTIFY] (inotify_check_files): New function.
24811         [HAVE_INOTIFY] (clear_db_cache): Likewise.
24812         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24813         clear_db_cache.
24814         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24815
24816 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
24817
24818         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24819         loaded if not already and that a failure is permanent.
24820
24821 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
24822
24823         [BZ #15006]
24824         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24825         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24826
24827 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
24828
24829         [BZ #13550]
24830         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24831         (CHECK_1_NULL_OK): Likewise.
24832         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24833         (__fxstat): Do not use CHECK_1.
24834         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24835         <bp-checks.h>.
24836         (___fxstat64): Do not use CHECK_1.
24837         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24838         <bp-checks.h>.
24839         (__fxstatat): Do not use CHECK_1.
24840         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24841         <bp-checks.h>.
24842         (__fxstatat64): Do not use CHECK_1.
24843         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24844         <bp-checks.h>.
24845         (__fxstat): Do not use CHECK_1.
24846         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24847         <bp-checks.h>.
24848         (__fxstatat): Do not use CHECK_1.
24849         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24850         <bp-checks.h>.
24851         (__getresgid): Do not use CHECK_1.
24852         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24853         <bp-checks.h>.
24854         (__getresuid): Do not use CHECK_1.
24855         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24856         <bp-checks.h>.
24857         (__lxstat): Do not use CHECK_1.
24858         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24859         <bp-checks.h>.
24860         (__old_msgctl): Do not use CHECK_1.
24861         (__new_msgctl): Likewise.
24862         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
24863         <bp-checks.h>.
24864         (__new_setrlimit): Do not use CHECK_1.
24865         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24866         <bp-checks.h>.
24867         (__old_shmctl): Do not use CHECK_1.
24868         (__new_shmctl): Likewise.
24869         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
24870         <bp-checks.h>.
24871         (__xstat): Do not use CHECK_1.
24872         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
24873         (__lxstat): Do not use CHECK_1.
24874         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
24875         <bp-checks.h>.
24876         (___lxstat64): Do not use CHECK_1.
24877         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
24878         (__old_msgctl): Do not use CHECK_1.
24879         (__new_msgctl): Likewise.
24880         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
24881         <bp-checks.h>.
24882         (__gettimeofday): Do not use CHECK_1.
24883         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
24884         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
24885         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
24886         <bp-checks.h>.
24887         (__gettimeofday): Do not use CHECK_1.
24888         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
24889         (__old_shmctl): Do not use CHECK_1_NULL_OK.
24890         (__new_shmctl): Do not use CHECK_1.
24891         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
24892         <bp-checks.h>.
24893         (do_sigtimedwait): Do not use CHECK_1.
24894         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
24895         <bp-checks.h>.
24896         (do_sigwaitinfo): Do not use CHECK_1.
24897         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
24898         <bp-checks.h>.
24899         (msgctl): Do not use CHECK_1.
24900         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
24901         <bp-checks.h>.
24902         (shmctl): Do not use CHECK_1.
24903         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
24904         (ustat): Do not use CHECK_1.
24905         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
24906         <bp-checks.h>.
24907         (__fxstat): Do not use CHECK_1.
24908         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
24909         <bp-checks.h>.
24910         (__fxstatat): Do not use CHECK_1.
24911         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
24912         <bp-checks.h>.
24913         (__lxstat): Do not use CHECK_1.
24914         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
24915         <bp-checks.h>.
24916         (__xstat): Do not use CHECK_1.
24917         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
24918         (__xstat): Do not use CHECK_1.
24919         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
24920         (___xstat64): Do not use CHECK_1.
24921
24922         [BZ #13550]
24923         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
24924         definitions.
24925         (CHECK_BOUNDS_HIGH): Likewise.
24926         * string/strcpy.c: Do not include <bp-checks.h>.
24927         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
24928
24929 2013-02-07  Roland McGrath  <roland@hack.frob.com>
24930
24931         * nscd/nscd-client.h (__nscd_drop_map_ref):
24932         Add __attribute__ ((unused)).
24933         * nis/nss-nisplus.h (niserr2nss): Likewise.
24934
24935         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
24936         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
24937
24938         * csu/libc-tls.c (init_static_tls, init_slotinfo):
24939         Remove inline keyword.
24940         * include/rounding-mode.h (round_away): Likewise.
24941         * libio/wfileops.c (adjust_wide_data): Likewise.
24942         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
24943         (__m128i_strloadu_tolower): Likewise.
24944         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
24945         (__m128i_strloadu_tolower): Likewise.
24946         * time/mktime.c (ydhms_diff): Likewise.
24947         * locale/elem-hash.h (elem_hash): Likewise.
24948         * locale/setlocale.c (setdata): Likewise.
24949         * posix/regex_internal.h (re_string_char_size_at): Likewise.
24950         (re_string_wchar_at): Likewise.
24951         (bitset_not, bitset_merge, bitset_mask): Likewise.
24952         [!(__GNUC__ > 3)] (inline): Remove macro.
24953         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
24954         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
24955         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24956         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
24957         * string/memcmp.c (memcmp_bytes): Likewise.
24958         * locale/programs/locarchive.c (compute_hashval): Likewise.
24959         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
24960         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
24961         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
24962         * nss/getent.c (print_rpc, print_protocols): Likewise.
24963         (print_passwd, print_group, print_aliases): Likewise.
24964         * nis/nss-nisplus.h (niserr2nss): Likewise.
24965         * nscd/connections.c (restart_p): Likewise.
24966         Change return type to bool.
24967
24968 2013-02-05  Roland McGrath  <roland@hack.frob.com>
24969
24970         * Makeconfig (all-Depend-files): Add existing
24971         $(sorted-subdirs:=/Depend) files.
24972         (all-subdirs): Remove nss.
24973         * sysdeps/unix/inet/Subdirs: Add it here instead.
24974         * hesiod/Depend: New file.
24975
24976         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
24977         instead of calling alloca.
24978
24979         * io/lseek.c (__lseek): Rename to __libc_lseek.
24980         Define __lseek as an alias.
24981
24982         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
24983
24984 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
24985
24986         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
24987         else clause and remove check for non-standard endianness.
24988
24989 2013-02-04  David S. Miller  <davem@davemloft.net>
24990
24991         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24992
24993 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
24994
24995         [BZ #13550]
24996         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
24997         (__ubp_memchr): Remove prototype.
24998         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
24999         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25000         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
25001         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25002         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
25003         Remove alias.
25004         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
25005         (__ubp_memchr): Likewise.
25006         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
25007         (__ubp_memchr): Likewise.
25008         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
25009         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
25010         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25011         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25012         CHECK_STRING.
25013         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25014         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25015         (__getcwd): Do not use CHECK_STRING.
25016         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25017         <bp-checks.h>.
25018         (__real_chown): Do not use CHECK_STRING.
25019         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
25020         <bp-checks.h>.
25021         (fchownat): Do not use CHECK_STRING.
25022         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
25023         CHECK_STRING.
25024         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25025         <bp-checks.h>.
25026         (__lchown): Do not use CHECK_STRING.
25027         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25028         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25029         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25030         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25032         include <bp-checks.h>.
25033         (truncate64): Do not use CHECK_STRING.
25034         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25035         <bp-checks.h>.
25036         (__real_chown): Do not use CHECK_STRING.
25037         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25038         <bp-checks.h>.
25039         (__lchown): Do not use CHECK_STRING.
25040         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25041         <bp-checks.h>.
25042         (__chown): Do not use CHECK_STRING.
25043         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
25044         <bp-checks.h>.
25045         (truncate64): Do not use CHECK_STRING.
25046         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
25047         Likewise.
25048         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
25049         (__xmknod): Do not use CHECK_STRING.
25050         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25051         <bp-checks.h>.
25052         (__xmknodat): Do not use CHECK_STRING.
25053         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25054         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25055
25056 2013-02-04  Andreas Schwab  <schwab@suse.de>
25057
25058         [BZ #14142]
25059         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25060         * include/netdb.h: Likewise for h_errno.
25061         * elf/tst-stackguard1.c: Include <tls.h>.
25062
25063 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
25064
25065         * elf/link.h (struct link_map): Extend the l_addr comment.
25066         * include/link.h (struct link_map): Likewise.
25067
25068 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
25069
25070         [BZ #13550]
25071         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25072         (BOUNDED_1): Remove macro.
25073         * debug/backtrace.c: Don't include <bp-checks.h>.
25074         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25075         (__backtrace): Likewise.
25076         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25077         <bp-checks.h>.
25078         (__backtrace): Don't use BOUNDED_1.
25079         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25080         <bp-checks.h>.
25081         (__backtrace): Don't use BOUNDED_1.
25082         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
25083         (__backtrace): Don't use BOUNDED_1.
25084         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
25085         (shmat): Don't use BOUNDED_N.
25086
25087 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
25088
25089         [BZ #13550]
25090         * sysdeps/generic/bp-start.h: Remove file.
25091         * csu/libc-start.c: Don't include <bp-start.h>.
25092         (LIBC_START_MAIN): Set up __environ directly instead of using
25093         INIT_ARGV_and_ENVIRON.
25094         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25095         <bp-start.h>.
25096
25097         [BZ #13550]
25098         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25099         definitions.
25100         (CHECK_FCNTL): Likewise.
25101         (CHECK_N_PAGES): Likewise.
25102
25103         [BZ #13550]
25104         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25105         definitions.
25106         (CHECK_SIGSET_NULL_OK): Likewise.
25107         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25108         <bp-checks.h>.
25109         (sigpending): Don't use CHECK_SIGSET.
25110         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25111         <bp-checks.h>.
25112         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25113         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25114         <bp-checks.h>.
25115         (do_sigsuspend): Don't use CHECK_SIGSET.
25116         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25117         use CHECK_SIGSET.
25118         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25119         (do_sigwait): Don't use CHECK_SIGSET.
25120         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25121         use CHECK_SIGSET.
25122         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25123         include <bp-checks.h>.
25124         (sigpending): Don't use CHECK_SIGSET.
25125         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25126         include <bp-checks.h>.
25127         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25128         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25129         <bp-checks.h>.
25130         (sigpending): Don't use CHECK_SIGSET.
25131         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25132         <bp-checks.h>.
25133         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25134
25135         [BZ #13550]
25136         * sysdeps/generic/bp-semctl.h: Remove file.
25137         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25138         <bp-checks.h> and <bp-semctl.h>.
25139         (__old_semctl): Don't use CHECK_SEMCTL.
25140         (__new_semctl): Likewise.
25141         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25142         and <bp-semctl.h>.
25143         (__old_semctl): Don't use CHECK_SEMCTL.
25144         (__new_semctl): Likewise.
25145         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25146         <bp-checks.h> and <bp-semctl.h>.
25147         (__old_semctl): Don't use CHECK_SEMCTL.
25148         (__new_semctl): Likewise.
25149         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25150         <bp-checks.h> and <bp-semctl.h>.
25151         (semctl): Don't use CHECK_SEMCTL.
25152
25153         [BZ #13550]
25154         * Makerules (elide-bp-thunks): Remove variable.
25155         (elide-routines.oS): Don't use $(elide-bp-thunks).
25156         (elide-routines.os): Likewise.
25157         (elide-routines.o): Likewise.
25158         (elide-routines.op): Likewise.
25159         (elide-routines.og): Likewise.
25160         (objects): Don't use $(bp-thunks).
25161         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25162         include.
25163         (common-generated): Do not add s-proto-bp.d.
25164         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25165         (int): Likewise.
25166         (typ): Likewise.
25167         Do not generate makefile rules for bounded-pointer thunks.
25168         * sysdeps/generic/bp-thunks.h: Remove file.
25169         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25170         * sysdeps/unix/s-proto-bp.S: Likewise.
25171
25172         [BZ #15062]
25173         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25174         parts of result separately when argument is not close to line from
25175         -i to i and one part of argument is small.
25176         * math/k_casinhf.c (__kernel_casinhf): Likewise.
25177         * math/k_casinhl.c (__kernel_casinhl): Likewise.
25178         * math/libm-test.inc (cacos_test): Add more tests.
25179         (casin_test): Likewise.
25180         (casinh_test): Likewise.
25181         * sysdeps/i386/fpu/libm-test-ulps: Update.
25182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25183
25184 2013-01-31  David S. Miller  <davem@davemloft.net>
25185
25186         * po/de.po: Update from translation team.
25187
25188 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
25189
25190         * time/tzfile.c: Include stdint.h for SIZE_MAX.
25191
25192 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
25193
25194         * configure.in (_AC_PROG_CC_C89): New definition.
25195         * configure: Regenerate.
25196
25197         * configure.in (AC_PROG_CPP): New definition.
25198         * configure: Regenerate.
25199
25200 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
25201
25202         * debug/tst-backtrace.h: New file.
25203         * debug/tst-backtrace2.c: Include tst-backtrace.h.
25204         (ret): Remove variable.
25205         (x): Likewise.
25206         (FAIL): Remove macro.
25207         (NO_INLINE): Likewise.
25208         (fn1): Use match function instead of strstr.
25209         * debug/tst-backtrace3.c: Include tst-backtrace.h.
25210         (ret): Remove variable.
25211         (x): Likewise.
25212         (FAIL): Remove macro.
25213         (NO_INLINE): Likewise.
25214         (fn): Use match function instead of strstr.
25215         * debug/tst-backtrace4.c: Include tst-backtrace.h.
25216         (ret): Remove variable.
25217         (x): Likewise.
25218         (FAIL): Remove macro.
25219         (NO_INLINE): Likewise.
25220         (handle_signal): Use match function instead of strstr.
25221         * debug/tst-backtrace5.c: Include tst-backtrace.h.
25222         (ret): Remove variable.
25223         (x): Likewise.
25224         (FAIL): Remove macro.
25225         (NO_INLINE): Likewise.
25226         (handle_signal): Use match function instead of strstr.
25227
25228 2013-01-23  Roland McGrath  <roland@hack.frob.com>
25229
25230         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25231
25232 2013-01-23  David S. Miller  <davem@davemloft.net>
25233
25234         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25235         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25236         argument of CAS if possible.
25237         * sysdeps/sparc/sparc64/bits/atomic.h
25238         (__arch_compare_and_exchange_val_32_acq): Likewise.
25239         (__arch_compare_and_exchange_val_64_acq): Likewise.
25240
25241 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
25242
25243         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25244         * sysdeps/posix/ulimit.c: ... this.
25245         Include <limits.h>.
25246         * sysdeps/unix/bsd/ulimit.c: Remove file.
25247
25248 2013-01-23  Adam Conrad  <adconrad@0c3.net>
25249
25250         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25251         (LDFLAGS-tst-array5): Likewise.
25252
25253 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
25254
25255         [BZ #15036]
25256         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25257         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25258         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25259         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25260
25261 2013-01-21  David S. Miller  <davem@davemloft.net>
25262
25263         * sysdeps/sparc/backtrace.c: New file.
25264         * sysdeps/sparc/sparc32/backtrace.h: New file.
25265         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25266         * sysdeps/sparc/sparc64/backtrace.h: New file.
25267         * sysdeps/sparc/sparc64/backtrace.c: Delete.
25268         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25269         -funwind-tables.
25270
25271 2013-01-21  Andreas Schwab  <schwab@suse.de>
25272
25273         [BZ #15020]
25274         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25275         closed its stdout.
25276
25277 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
25278
25279         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25280         "mpa2.h".
25281         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25282
25283 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
25284             Mark Mitchell  <mark@codesourcery.com>
25285             Tom de Vries  <tom@codesourcery.com>
25286             Paul Pluzhnikov  <ppluzhnikov@google.com>
25287
25288         * debug/tst-backtrace2.c: New file.
25289         * debug/tst-backtrace3.c: Likewise.
25290         * debug/tst-backtrace4.c: Likewise.
25291         * debug/tst-backtrace5.c: Likewise.
25292         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25293         (CFLAGS-tst-backtrace3.c): Likewise.
25294         (CFLAGS-tst-backtrace4.c): Likewise.
25295         (CFLAGS-tst-backtrace5.c): Likewise.
25296         (LDFLAGS-tst-backtrace2): Likewise.
25297         (LDFLAGS-tst-backtrace3): Likewise.
25298         (LDFLAGS-tst-backtrace4): Likewise.
25299         (LDFLAGS-tst-backtrace5): Likewise.
25300         (tests): Add new tests tst-backtrace2, tst-backtrace3,
25301         tst-backtrace4 and tst-backtrace5.
25302
25303 2013-01-18  Anton Blanchard  <anton@samba.org>
25304             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25305
25306         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25307         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25308         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25309         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25311         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25312         "+r" and remove output regs list as redundant.  Add explicit inline
25313         asm to specify register of return val to work around compiler codegen
25314         bug.  Remove (int) cast on return value.  Add return type parameter to
25315         use in macro so that this macro does not truncate return value for
25316         64-bit values.
25317         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25318         pass to INTERNAL_VSYSCALL_NCS.
25319         (INLINE_VSYSCALL): Add 'long int' as return type to
25320         INTERNAL_VSYSCALL_NCS macro invocation.
25321         (INTERNAL_VSYSCALL): Add 'long int' as return type to
25322         INTERNAL_VSYSCALL_NCS macro invocation.
25323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25324
25325 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25326
25327         [BZ #14496]
25328         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
25329         Fix application of SIMD FP exception mask.
25330
25331         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
25332         mp_no from a power of two.
25333         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
25334         __mpexp_twomm1.  Use __pow_mp.
25335
25336         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
25337         multiplication.
25338
25339 2013-01-17  David S. Miller  <davem@davemloft.net>
25340
25341         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25342
25343 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
25344
25345         [BZ #15023]
25346         * include/complex.h: Condition contents on [!_COMPLEX_H].
25347         (__kernel_casinhf): New prototype.
25348         (__kernel_casinh): Likewise.
25349         (__kernel_casinhl): Likewise.
25350         * math/Makefile (libm_calls): Add k_casinh.
25351         * math/k_casinh.c: New file.
25352         * math/k_casinhf.c: Likewise.
25353         * math/k_casinhl.c: Likewise.
25354         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
25355         finite nonzero arguments.
25356         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
25357         finite nonzero arguments.
25358         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
25359         finite nonzero arguments.
25360         * math/s_casinh.c: Do not include <float.h>.
25361         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
25362         * math/s_casinhf.c: Do not include <float.h>.
25363         (__casinhf): Move code for finite nonzero arguments to
25364         k_casinhf.c.
25365         * math/s_casinhl.c: Do not include <float.h>.
25366         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
25367         redefine.
25368         (__casinhl): Move code for finite nonzero arguments to
25369         k_casinhl.c.
25370         * math/libm-test.inc (cacos_test): Add more tests.
25371         * sysdeps/i386/fpu/libm-test-ulps: Update.
25372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25373
25374 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
25375
25376         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
25377         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
25378         [!HAVE_MREMAP]: Remove [defined linux] case.
25379         * malloc/arena.c: Do not include <malloc-sysdep.h>.
25380
25381 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
25382
25383         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
25384
25385 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
25386
25387         * elf/elf.h (R_386_SIZE32): New relocation.
25388         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
25389         R_386_SIZE32.
25390         (elf_machine_rela): Likewise.
25391         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25392         R_X86_64_SIZE64 and R_X86_64_SIZE32.
25393
25394 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
25395
25396         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
25397         (FP_FAST_FMA): Do not define.
25398         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
25399         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
25400         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25401         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25402         !_SOFT_FLOAT]: Likewise.
25403         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25404         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25405         value.
25406         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25407         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25408         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25409         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25410         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25411         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25412         file.
25413
25414 2013-01-16  Andreas Schwab  <schwab@suse.de>
25415
25416         [BZ #14327]
25417         * include/stdlib.h (__mktemp): Add declaration.
25418         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25419         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25420
25421 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25422
25423         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25424         definitions.
25425         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25426         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25427         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25428         definitions here.
25429         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25430         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25431         definitions.
25432         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25433         and ONE.
25434         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25435         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25436         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25437         definitions.
25438         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25439         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25440         definitions.
25441         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
25442
25443         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25444
25445 2013-01-15  David S. Miller  <davem@davemloft.net>
25446
25447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25448         trunc{,f} to libm-sysdep_routes.
25449         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25451         file.
25452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25454         file.
25455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25456         file.
25457         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25458         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25459         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25460         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25461         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25462         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25463         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25464         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25465
25466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25467         nearbyint{,f} to libm-sysdep_routes.
25468         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25470         New file.
25471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25472         file.
25473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25474         New file.
25475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25476         file.
25477         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25478         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25479         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25480         file.
25481         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25482         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25483         file.
25484         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25485         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25486         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25487
25488         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25489         libc_feholdexcept and libc_fesetenv.
25490
25491 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
25492
25493         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25494
25495 2013-01-14  David S. Miller  <davem@davemloft.net>
25496
25497         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25498         (SPARC_ASM_VIS2_IFUNC): Likewise.
25499         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25501         use of 'siam' instruction.
25502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25503         Likewise.
25504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25505         Likewise.
25506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25507         Likewise.
25508         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25509         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25510         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25511         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25513         file.
25514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25515         file.
25516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25517         file.
25518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25519         file.
25520         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25521         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25522         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25523         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25525         new VIS2 routines.
25526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25529         Likewise.
25530         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25531         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25532         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25533         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
25535         routines to libm-sysdep_routines.
25536         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25537
25538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25539         fdim/fdimf to libm-sysdep_routines.
25540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
25541         file.
25542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
25543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
25544         file.
25545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
25546         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
25547         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
25548         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
25549         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
25550         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
25551         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
25552
25553 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25554
25555         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
25556         to optimize copies.
25557
25558         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
25559         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25560         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25561
25562         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
25563         local variable MPTWO.
25564         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25565         Likewise.
25566
25567 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25568
25569         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
25570         GLOB_NOESCAPE.
25571
25572 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25573
25574         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
25575
25576 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
25577
25578         * manual/pattern.texi (glob_t): Document gl_flags.
25579         (glob64_t): Likewise.
25580
25581 2013-01-11  David S. Miller  <davem@davemloft.net>
25582
25583         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
25584         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
25585         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
25586         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
25587         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
25588         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
25589         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
25590         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
25591         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
25592         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
25593         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
25594         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
25595         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
25596
25597         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25598         sparc V9 rather than using V8 code.
25599         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25600         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25601
25602         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25603         Move to...
25604         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
25605         Here.
25606
25607 2013-01-11  Roland McGrath  <roland@hack.frob.com>
25608
25609         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
25610         not in the main loop.
25611         * configure: Regenerated.
25612
25613 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
25614
25615         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
25616         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
25617         to just #else.
25618         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
25619         [!__GLIBC_HAVE_LONG_LONG] case.
25620         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
25621         condition to just #else.
25622         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
25623         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
25624         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
25625         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
25626         unconditional.
25627         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
25628         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25629         #elif condition to just #else.
25630         * sysdeps/unix/sysv/linux/sys/sysmacros.h
25631         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
25632         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25633         #elif condition to just #else.
25634
25635 2013-01-11  Steve Ellcey  <sellcey@mips.com>
25636
25637         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
25638         (EF_MIPS_ARCH_64): Fix value.
25639         (EF_MIPS_ARCH_32R2): New.
25640         (EF_MIPS_ARCH_64R2): New.
25641
25642 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
25643
25644         * Makeconfig (+link-pie-before-libc): New.
25645         (+link-pie-after-libc): Likewise.
25646         (+link-pie-tests): Likewise.
25647         (+link-pie): Rewritten.
25648         (link-before-libc): Remove $(config-LDFLAGS).
25649         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
25650         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
25651         (config-LDFLAGS): Renamed to ...
25652         (rtld-LDFLAGS): This.
25653         (rtld-tests-LDFLAGS): New macro.
25654         (link-libc-rpath-link): Likewise.
25655         (link-libc-tests-rpath-link): Likewise.
25656         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
25657         (link-libc): Prepand $(link-libc-rpath-link).
25658         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
25659         (test-program-prefix): New macro.
25660         (test-via-rtld-prefix): Likewise.
25661         (test-program-cmd): Likewise.
25662         (host-test-program-cmd): Likewise.
25663         * Makefile ($(common-objpfx)testrun.sh): Replace
25664         $(run-program-prefix) with $(test-program-prefix).
25665         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
25666         $(rtld-LDFLAGS).
25667         ($(common-objpfx)shlib.lds): Likewise.
25668         (build-module-helper): Likewise.
25669         ($(common-objpfx)format.lds): Likewise.
25670         * Rules (binaries-pie-tests): New.
25671         (binaries-pie-notests): Likewise.
25672         (binaries-pie): Rewritten.
25673         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
25674         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
25675         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
25676         (make-test-out): Replace $(host-built-program-cmd) with
25677         $(host-test-program-cmd).
25678         * config.make.in (build-hardcoded-path-in-tests): New variable.
25679         * configure.in (--enable-hardcoded-path-in-tests): New configure
25680         option.
25681         (hardcoded_path_in_tests): New AC_SUBST.
25682         * configure: Regenerated.
25683         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
25684         $(built-program-cmd) with $(test-program-cmd).
25685         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
25686         (test_program_cmd): This.
25687         * elf/Makefile ($(objpfx)order.out): Run test with
25688         $(test-program-prefix).
25689         ($(objpfx)order2.out): Likewise.
25690         ($(objpfx)tst-initorder.out): Likewise.
25691         ($(objpfx)tst-initorder2.out): Likewise.
25692         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
25693         $(test-program-cmd).
25694         ($(objpfx)tst-array1-static.out): Likewise.
25695         ($(objpfx)tst-array2.out): Likewise.
25696         ($(objpfx)tst-array3.out): Likewise.
25697         ($(objpfx)tst-array4.out): Likewise.
25698         ($(objpfx)tst-array5.out): Likewise.
25699         ($(objpfx)tst-array5-static.out): Likewise.
25700         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
25701         $(test-program-cmd).
25702         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
25703         $(run-program-prefix) with $(test-program-prefix).
25704         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
25705         (test_program_prefix): This.
25706         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
25707         $(run-program-prefix) with $(test-program-prefix).
25708         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
25709         (test_program_prefix): This.
25710         * iconvdata/tst-tables.sh: Likewise.
25711         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
25712         $(run-program-prefix) with $(test-program-prefix).
25713         ($(objpfx)tst-translit.out): Likewise.
25714         ($(objpfx)tst-gettext2.out): Likewise.
25715         ($(objpfx)tst-gettext4.out): Likewise.
25716         ($(objpfx)tst-gettext6.out): Likewise.
25717         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
25718         (test_program_prefix): This.
25719         * intl/tst-gettext2.sh: Likewise.
25720         * intl/tst-gettext4.sh  Likewise.
25721         * intl/tst-gettext6.sh: Likewise.
25722         * intl/tst-translit.sh: Likewise.
25723         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
25724         with $(test-program-cmd).
25725         * libio/Makefile ($(objpfx)test-freopen.out): Replace
25726         $(run-program-prefix) with $(test-program-prefix).
25727         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
25728         (test_program_prefix): This.
25729         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
25730         $(run-program-prefix) with $(test-program-prefix).
25731         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
25732         (test_program_prefix): This.
25733         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
25734         * posix/Makefile ($(objpfx)globtest.out): Replace
25735         $(run-via-rtld-prefix) and $(test-wrapper) with
25736         $(test-program-prefix) and $(test-via-rtld-prefix).
25737         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
25738         $(test-program-prefix).
25739         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
25740         $(host-test-program-cmd).
25741         (tst-spawn-ARGS): Likewise.
25742         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
25743         $(test-program-prefix).
25744         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
25745         (test_via_rtld_prefix): This.
25746         (test_wrapper): Renamed to ...
25747         (test_program_prefix): This.
25748         (run_program_prefix): Replaced by test_program_prefix.
25749         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
25750         (test_program_prefix): This.
25751         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
25752         with $(host-test-program-cmd).
25753         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
25754         $(run-program-prefix) with $(test-program-prefix).
25755         ($(objpfx)tst-printf.out): Likewise.
25756         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
25757         $(test-program-cmd).
25758         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
25759         (test_program_prefix): This.
25760         * stdio-common/tst-unbputc.sh: Likewise.
25761         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
25762         $(run-program-prefix) with $(test-program-prefix).
25763         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
25764         (test_program_prefix): This.
25765         * string/Makefile ($(objpfx)tst-svc.out):  Replace
25766         $(built-program-cmd) with $(test-program-cmd).
25767
25768 2013-01-11  Andreas Jaeger  <aj@suse.de>
25769
25770         [BZ #15003]
25771         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
25772         value. Sync with Linux 3.7.
25773
25774 2013-01-10  David S. Miller  <davem@davemloft.net>
25775
25776         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
25777         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25778         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25779
25780 2013-01-10  Roland McGrath  <roland@hack.frob.com>
25781
25782         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
25783         never set.
25784         * configure: Regenerated.
25785
25786 2013-01-10  David S. Miller  <davem@davemloft.net>
25787
25788         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25789         sparc V9 rather than using V8 code.
25790         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25791         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25792
25793 2013-01-10  Roland McGrath  <roland@hack.frob.com>
25794
25795         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25796         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25797         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25798         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25799         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25800         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25801         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25802         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25803         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25804         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25805         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25806         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25807         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25808         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25809         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25810         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25811         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25812         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25813         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25814         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25815         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25816         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25817         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25818         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25819         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25820         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25821         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25822
25823 2013-01-10  David S. Miller  <davem@davemloft.net>
25824
25825         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25826
25827 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
25828
25829         * posix/Makefile (tests-static): New variable.
25830         (tests): Add $(tests-static).
25831         (tst-exec-static-ARGS): New variable.
25832         (tst-spawn-static-ARGS): Likewise.
25833         * posix/tst-exec-static.c: New file.
25834         * posix/tst-spawn-static.c: Likewise.
25835         * posix/tst-exec.c: Support run directly.
25836         * posix/tst-spawn.c: Likewise.
25837
25838 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
25839
25840         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25841         long.
25842         * math/bits/mathcalls.h (llrint): Likewise.
25843         (llround): Likewise.
25844         * stdlib/stdlib.h (struct drand48_data): Likewise.
25845         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25846         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25847         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25848         Likewise.
25849         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25850         Likewise.
25851         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25852         (elf_greg_t): Likewise.
25853         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25854         (__jmp_buf): Likewise.
25855         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25856         definitions.
25857         (llrint): Likewise, for all definitions.
25858         (llrintl): Likewise.
25859
25860         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
25861         Remove [__GNUC__] condition.
25862         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
25863         condition to just [__USE_ISOC99].
25864         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
25865
25866 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
25867
25868         [BZ #14200]
25869         * sysdeps/unix/sysv/linux/x86/bits/environments.h
25870         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
25871         defined.
25872         (_POSIX_V6_ILP32_OFF32): Likewise.
25873         (_XBS5_ILP32_OFF32): Likewise.
25874         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
25875         (__ILP32_OFFBIG_LDFLAGS): Likewise.
25876
25877 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25878
25879         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
25880
25881         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
25882         doubles __mpexp_twomm1.  Adjust usage.
25883         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
25884         Remove.
25885
25886 2013-01-10  Andreas Schwab  <schwab@suse.de>
25887
25888         [BZ #14964]
25889         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
25890         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
25891
25892 2013-01-09  David S. Miller  <davem@davemloft.net>
25893
25894         [BZ #15003]
25895         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
25896         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
25897         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
25898         (TCP_FASTOPEN): Define.
25899         (tcp_repair_opt): New structure.
25900         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
25901         enum values.
25902         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
25903         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
25904         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
25905         (tcp_cookie_transactions): New structure.
25906
25907 2013-01-09  Anton Blanchard  <anton@samba.org>
25908
25909         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
25910         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
25911         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
25912         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
25913
25914 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
25915
25916         * include/features.h (__USE_ANSI): Remove.
25917
25918 2013-01-09  Roland McGrath  <roland@hack.frob.com>
25919
25920         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
25921
25922         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
25923
25924 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
25925
25926         * sysdeps/s390/fpu/libm-test-ulps: Update.
25927
25928         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25929
25930         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
25931         (__acr): Likewise.
25932         (__cpy): Likewise.
25933         (norm): Likewise.
25934         (denorm): Likewise.
25935         (__mp_dbl): Likewise.
25936         (__dbl_mp): Likewise.
25937         (add_magnitudes): Likewise.
25938         (sub_magnitudes): Likewise.
25939         (__add): Likewise.
25940         (__sub): Likewise.
25941         (__mul): Likewise.
25942         (__inv): Likewise.
25943         (__dvd): Likewise.
25944         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
25945         (__acr): Likewise.
25946         (__cpy): Likewise.
25947         (norm): Likewise.
25948         (denorm): Likewise.
25949         (__mp_dbl): Likewise.
25950         (__dbl_mp): Likewise.
25951         (add_magnitudes): Likewise.
25952         (sub_magnitudes): Likewise.
25953         (__add): Likewise.
25954         (__sub): Likewise.
25955         (__mul): Likewise.
25956         (__inv): Likewise.
25957         (__dvd): Likewise.
25958         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
25959         (__acr): Likewise.
25960         (__cpy): Likewise.
25961         (norm): Likewise.
25962         (denorm): Likewise.
25963         (__mp_dbl): Likewise.
25964         (__dbl_mp): Likewise.
25965         (add_magnitudes): Likewise.
25966         (sub_magnitudes): Likewise.
25967         (__add): Likewise.
25968         (__sub): Likewise.
25969         (__mul): Likewise.
25970         (__inv): Likewise.
25971         (__dvd): Likewise.
25972
25973 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
25974
25975         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
25976         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
25977         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
25978         2 && __USE_EXTERN_INLINES]: Likewise.
25979
25980 2013-01-08  Andreas Jaeger  <aj@suse.de>
25981
25982         [BZ# 14985]
25983         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
25984         Remove.
25985         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25986         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
25987
25988 2013-01-07  Anton Blanchard  <anton@samba.org>
25989
25990         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
25991         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25992         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
25993         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25994         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25995         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25996         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
25997         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
25998         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25999         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26000         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26001         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26002         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26003         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26004         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26005         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26006         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26007         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26008         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26009         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26010         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26011         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26012         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26013         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26014         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26015         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26016         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26017         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26018         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
26019         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26020         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26021         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26022         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26023         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26024         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26025         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26026         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26027         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26028         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
26029         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26030         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
26031         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26032         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26033
26034 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
26035
26036         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
26037         (__MALLOC_PMT): Likewise.
26038         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26039         [__GNUC__], only on [_LIBC].
26040         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26041         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
26042         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26043         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
26044         forward declaration.
26045         (realloc_hook_ini): Likewise.
26046         (memalign_hook_ini): Likewise.
26047         (__libc_memalign): Do not use __MALLOC_PMT in variable
26048         declaration.
26049         (__libc_valloc): Likewise.
26050         (__libc_pvalloc): Likewise.
26051         (__libc_calloc): Likewise.
26052         (__posix_memalign): Likewise.
26053
26054         [BZ #14996]
26055         * math/s_casinh.c: Include <float.h>.
26056         (__casinh): Do not do computation with squaring and square root
26057         for large arguments.
26058         * math/s_casinhf.c: Include <float.h>.
26059         (__casinhf): Do not do computation with squaring and square root
26060         for large arguments.
26061         * math/s_casinhl.c: Include <float.h>.
26062         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26063         (__casinhl): Do not do computation with squaring and square root
26064         for large arguments.
26065         * math/libm-test.inc (casin_test): Add more tests.
26066         (casinh_test): Likewise.
26067         * sysdeps/i386/fpu/libm-test-ulps: Update.
26068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26069
26070 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
26071
26072         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26073         (__x86_64_raw_data_cache_size): Likewise.
26074         (__x86_64_data_cache_size_half): Likewise.
26075         (__x86_64_raw_data_cache_size_half): Likewise.
26076         (__x86_64_shared_cache_size): Likewise.
26077         (__x86_64_raw_shared_cache_size): Likewise.
26078         (__x86_64_shared_cache_size_half): Likewise.
26079         (__x86_64_raw_shared_cache_size_half): Likewise.
26080         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26081         to ...
26082         (__x86_data_cache_size): This.
26083         (__x86_64_raw_data_cache_size): Renamed to ...
26084         (__x86_raw_data_cache_size): This.
26085         (__x86_64_data_cache_size_half): Renamed to ...
26086         (__x86_data_cache_size_half): This.
26087         (__x86_64_raw_data_cache_size_half): Renamed to ...
26088         (__x86_raw_data_cache_size_half): This.
26089         (__x86_64_shared_cache_size): Renamed to ...
26090         (__x86_shared_cache_size): This.
26091         (__x86_64_raw_shared_cache_size): Renamed to ...
26092         (__x86_raw_shared_cache_size): This.
26093         (__x86_64_shared_cache_size_half): Renamed to ...
26094         (__x86_shared_cache_size_half): This.
26095         (__x86_64_raw_shared_cache_size_half): Renamed to ...
26096         (__x86_raw_shared_cache_size_half): This.
26097         * sysdeps/x86_64/memcpy.S: Updated.
26098         * sysdeps/x86_64/memset.S: Likewise.
26099         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26100         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26101         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26102
26103 2013-01-04  David S. Miller  <davem@davemloft.net>
26104
26105         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26106
26107 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
26108
26109         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26110         1 to avoid redefinition warning.
26111         (__USE_GNU): Don't define.
26112         (init_signaling_nan): Protoize.
26113
26114         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26115
26116 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26117
26118         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26119         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26120         (__cpymn): Likewise.
26121         (norm): Remove commented code.
26122         (denorm): Likewise.
26123         (__mp_dbl): Likewise.
26124         (__inv): Likewise.
26125         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26126         (__cpymn): Likewise.
26127         (norm): Remove commented code.
26128         (denorm): Likewise.
26129         (__mp_dbl): Likewise.
26130         (__inv): Likewise.
26131
26132         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26133         mp_no value for 1.0 and 2.0.
26134         (norm): Use RADIXI instead of radixi.d.
26135         (denorm): Likewise.
26136         (__mul): Use 0.0 instead of zero.d.
26137         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26138         mp_no value for 1.0 and 2.0.
26139         (norm): Use RADIXI instead of radixi.d.
26140         (denorm): Likewise.
26141         (__mul): Use 0.0 instead of zero.d.
26142
26143 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
26144
26145         [BZ #14994]
26146         * math/s_casinh.c (__casinh): Reduce finite argument to first
26147         quadrant then set signs of results at the end.
26148         * math/s_casinhf.c (__casinhf): Likewise.
26149         * math/s_casinhl.c (__casinhl): Likewise.
26150         * math/libm-test.inc (casin_test): Add more tests.
26151         (casinh_test): Likewise.
26152         * sysdeps/i386/fpu/libm-test-ulps: Update.
26153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26154
26155 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26156
26157         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26158
26159         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26160
26161         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26162         declarations.
26163         (denorm): Likewise.
26164         (__mp_dbl): Likewise.
26165         (__inv): Likewise.
26166
26167         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26168         and adjust the header comment.
26169
26170         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26171         variable name from declaration.
26172
26173 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
26174
26175         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26176         Initialize COMMON_CPUID_INDEX_7 element.
26177         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26178         (CPUID_RTM): Likewise.
26179         (HAS_RTM): Likewise.
26180         (COMMON_CPUID_INDEX_7): New enum.
26181
26182 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
26183
26184         [BZ #14981]
26185         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26186         size is zero, record memory as freed.
26187
26188 2013-01-03  Andreas Jaeger  <aj@suse.de>
26189
26190         * po/ia.po: Add new Interlingua translation.
26191
26192 2012-01-03  Allan McRae  <allan@archlinux.org>
26193
26194         * locale/programs/localedef.c: Fix description of '--posix' flag.
26195
26196 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
26197
26198         * NEWS: Update dates in second copyright notice.
26199         * README: Update copyright dates in example.
26200         * manual/libc.texinfo: Update copyright dates.
26201         * scripts/test-installation.pl: Update copyright date in --version
26202         output.
26203
26204         * hurd/ctty-input.c: Fix copyright notice formatting.
26205         * hurd/ctty-output.c: Likewise.
26206         * hurd/dtable.c: Likewise.
26207         * hurd/hurd-raise.c: Likewise.
26208         * hurd/hurdprio.c: Likewise.
26209         * hurd/msgportdemux.c: Likewise.
26210         * misc/sys/file.h: Likewise.
26211         * misc/sys/ioctl.h: Likewise.
26212         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26213         * sysdeps/mach/hurd/chdir.c: Likewise.
26214         * sysdeps/mach/hurd/fchdir.c: Likewise.
26215         * sysdeps/mach/hurd/rename.c: Likewise.
26216         * sysdeps/mach/hurd/rmdir.c: Likewise.
26217         * sysdeps/mach/hurd/seekdir.c: Likewise.
26218         * sysdeps/mach/hurd/setsid.c: Likewise.
26219         * sysdeps/posix/wait3.c: Likewise.
26220
26221         * All files with FSF copyright notices: Update copyright dates
26222         using scripts/update-copyrights.
26223         * intl/plural.c: Regenerated.
26224         * locale/programs/charmap-kw.h: Likewise.
26225         * locale/programs/locfile-kw.h: Likewise.
26226
26227 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26228
26229         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26230         four values.
26231
26232         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26233         calculation loop and add branch prediction.
26234
26235         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26236         check access beyond bounds of m1np.
26237
26238         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26239         MPTWO.
26240         (__inv): Remove local variable MPTWO to use the global
26241         constant.
26242         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26243         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26244         variable MPTWO.
26245         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26246         MP3HALFS static const.
26247
26248 2013-01-01  David S. Miller  <davem@davemloft.net>
26249
26250         * po/ca.po: Update from translation team.
26251
26252 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
26253
26254         * scripts/update-copyrights: New file.
26255         * Makeconfig: Reformat copyright notice.
26256         * ctype/ctype.h: Likewise.
26257         * debug/swprintf_chk.c: Likewise.
26258         * elf/dl-cache.c: Likewise.
26259         * elf/dl-debug.c: Likewise.
26260         * elf/dl-object.c: Likewise.
26261         * grp/initgroups.c: Likewise.
26262         * hurd/Makefile: Likewise.
26263         * hurd/hurd/signal.h: Likewise.
26264         * hurd/hurdfault.c: Likewise.
26265         * hurd/hurdioctl.c: Likewise.
26266         * hurd/hurdlookup.c: Likewise.
26267         * hurd/intr-msg.c: Likewise.
26268         * iconv/gconv_open.c: Likewise.
26269         * libio/swprintf.c: Likewise.
26270         * locale/lc-ctype.c: Likewise.
26271         * locale/nl_langinfo.c: Likewise.
26272         * mach/Machrules: Likewise.
26273         * mach/Makefile: Likewise.
26274         * malloc/obstack.h: Likewise.
26275         * manual/Makefile: Likewise.
26276         * manual/tsort.awk: Likewise.
26277         * misc/bits/stab.def: Likewise.
26278         * nis/nis_print_group_entry.c: Likewise.
26279         * nis/nis_table.c: Likewise.
26280         * nis/nss_compat/compat-pwd.c: Likewise.
26281         * nis/nss_compat/compat-spwd.c: Likewise.
26282         * po/Makefile: Likewise.
26283         * posix/fnmatch.c: Likewise.
26284         * posix/regex.h: Likewise.
26285         * resolv/Makefile: Likewise.
26286         * resolv/nss_dns/dns-network.c: Likewise.
26287         * resolv/res_hconf.c: Likewise.
26288         * scripts/gen-sorted.awk: Likewise.
26289         * soft-fp/soft-fp.h: Likewise.
26290         * stdio-common/printf.h: Likewise.
26291         * stdlib/monetary.h: Likewise.
26292         * stdlib/random.c: Likewise.
26293         * stdlib/random_r.c: Likewise.
26294         * sysdeps/generic/Makefile: Likewise.
26295         * sysdeps/gnu/Makefile: Likewise.
26296         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26297         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26298         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26299         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26300         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26301         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26302         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26303         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26304         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26305         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26306         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26307         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26308         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26309         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26310         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26311         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26312         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26313         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26314         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26315         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26316         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26317         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26318         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26319         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26320         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26321         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26322         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26323         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
26324         * sysdeps/mach/hurd/errnos.awk: Likewise.
26325         * sysdeps/mach/hurd/fork.c: Likewise.
26326         * sysdeps/mach/hurd/getcwd.c: Likewise.
26327         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
26328         * sysdeps/mach/hurd/mmap.c: Likewise.
26329         * sysdeps/mach/hurd/utimes.c: Likewise.
26330         * sysdeps/mach/hurd/xmknod.c: Likewise.
26331         * sysdeps/posix/profil.c: Likewise.
26332         * sysdeps/posix/readdir_r.c: Likewise.
26333         * sysdeps/powerpc/bits/mathdef.h: Likewise.
26334         * sysdeps/powerpc/bits/setjmp.h: Likewise.
26335         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
26336         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26337         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26338         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26339         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26340         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26341         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26342         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26343         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26344         * sysdeps/pthread/lio_listio.c: Likewise.
26345         * sysdeps/sparc/dl-procinfo.h: Likewise.
26346         * sysdeps/unix/i386/sysdep.S: Likewise.
26347         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
26348         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
26349         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
26350         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
26351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26352         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26353         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26354         * sysdeps/unix/sysv/linux/speed.c: Likewise.
26355         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26356         * sysdeps/wordsize-32/divdi3.c: Likewise.
26357         * time/sys/time.h: Likewise.
26358         * wcsmbs/Makefile: Likewise.
26359
26360 2013-01-01  David S. Miller  <davem@davemloft.net>
26361
26362         * po/fr.po: Update from translation team.
26363
26364         * catgets/gencat.c: Update copyright year.
26365         * csu/version.c: Likewise.
26366         * debug/catchsegv.sh: Likewise.
26367         * debug/pcprofiledump.c: Likewise.
26368         * debug/xtrace.sh: Likewise.
26369         * elf/ldconfig.c: Likewise.
26370         * elf/ldd.bash.in: Likewise.
26371         * elf/pldd.c: Likewise.
26372         * elf/sotruss.ksh: Likewise.
26373         * elf/sprof.c: Likewise.
26374         * iconv/iconv_prog.c: Likewise.
26375         * iconv/iconvconfig.c: Likewise.
26376         * locale/programs/locale.c: Likewise.
26377         * locale/programs/localedef.c: Likewise.
26378         * login/programs/pt_chown.c: Likewise.
26379         * malloc/memusage.sh: Likewise.
26380         * malloc/memusagestat.c: Likewise.
26381         * malloc/mtrace.pl: Likewise.
26382         * nscd/nscd.c: Likewise.
26383         * nss/getent.c: Likewise.
26384         * nss/makedb.c: Likewise.
26385         * posix/getconf.c: Likewise.
26386
26387 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26388
26389         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
26390         numbers.
26391
26392 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
26393
26394         * math/bits/mathcalls.h (modf): Use __nonnull.
26395
26396 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26397
26398         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
26399         (split): Use macro CN instead of the bare value.
26400         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26401         could be used.
26402         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26403         instead of the bare value.
26404         (power1): Likewise.
26405
26406 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26407
26408         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26409         __ATAN_TWOM.
26410         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26411
26412         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26413         their values.
26414         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26415         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26416         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26417         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26418
26419 2012-12-28  Andreas Jaeger  <aj@suse.de>
26420
26421         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
26422         values are from Linux 3.7.
26423
26424         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26425         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
26426
26427 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26428
26429         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
26430         TRUE case.
26431
26432         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26433         (norm): Likewise.
26434         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26435         variables with preprocessor constants.
26436         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26437         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26438         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26439
26440 2012-12-27  Bruno Haible  <bruno@clisp.org>
26441
26442         [BZ #14317]
26443         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26444         only if needed.
26445
26446 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26447
26448         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26449         and use variable directly.
26450         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26451
26452         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26453         MPONE.
26454         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26455         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26456         variable MPONE.
26457         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26458         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26459         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26460         include directive.  Remove local variable MPONE.
26461         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26462         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26463         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26464
26465 2012-12-25  David S. Miller  <davem@davemloft.net>
26466
26467         * version.h (RELEASE): Set to "development".
26468         (VERSION): Set to "2.17.90".
26469         * NEWS: Add 2.18 section.
26470
26471 2012-12-21  David S. Miller  <davem@davemloft.net>
26472
26473         * po/hr.po: Update from translation team.
26474
26475 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26476
26477         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26478
26479 2012-12-19  Steve Ellcey  <sellcey@mips.com>
26480
26481         * NEWS:  Mention new memcpy for MIPS.
26482
26483 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26484
26485         * manual/contrib.texi (Contributors): Spelling correction.
26486
26487 2012-12-15  David S. Miller  <davem@davemloft.net>
26488
26489         * po/ru.po: Update from translation team.
26490
26491 2012-12-13  David S. Miller  <davem@davemloft.net>
26492
26493         * NEWS: Mention IFUNC testsuite enhancements.
26494
26495         * po/pl.po: Update from translation team.
26496         * po/bg.po: Likewise.
26497
26498         * manual/contrib.texi (Contributors): Update entries for Hongjiu
26499         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
26500
26501 2012-12-11  David S. Miller  <davem@davemloft.net>
26502
26503         * po/sv.po: Update from translation team.
26504
26505         * po/vi.po: Update from translation team.
26506
26507         * po/cs.po: Update from translation team.
26508
26509         * po/de.po: Update from translation team.
26510         * po/eo.po: Likewise.
26511         * po/nl.po: Likewise.
26512
26513 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26514
26515         [BZ #14246]
26516         * manual/argp.texi (Argp Helper Functions): Move node to follow
26517         Argp Parsing State.
26518
26519         [BZ #14872]
26520         * manual/conf.texi (Limits on File System Capacity): Mention if
26521         terminating null is included in the max size.
26522
26523 2012-12-10  Andreas Jaeger  <aj@suse.de>
26524
26525         * po/cs.po: Update from translation team.
26526
26527 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26528
26529         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26530         void pointer and cast to uintptr_t.
26531         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
26532         path.
26533         * sysdeps/s390/s390-64/memcpy.S: Likewise.
26534         * sysdeps/s390/s390-64/memset.S: Likewise.
26535
26536 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
26537
26538         [BZ #14833]
26539         * menual/message.texi (Message Translation): Fix typos.
26540         (Helper programs for gettext): Likewise.
26541
26542 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
26543
26544         [BZ #14898]
26545         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
26546         Change to -1.
26547
26548 2012-12-07  David S. Miller  <davem@davemloft.net>
26549
26550         * po/libc.pot: Update.
26551
26552 2012-12-07  Richard Henderson  <rth@redhat.com>
26553
26554         [BZ #10114]
26555         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
26556         normal/normal case to before the switch.
26557         (_FP_DIV): Likewise.
26558
26559 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
26560             Mike Frysinger  <vapier@gentoo.org>
26561
26562         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
26563         check for __NR_fadvise64_64.
26564
26565 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
26566
26567         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
26568         0, not just to plain "0" as a statement.
26569         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
26570         with cw.
26571
26572 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
26573
26574         * NEWS: Use sourceware.org in Bugzilla URL.
26575
26576 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
26577
26578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26579         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26580
26581         * stdio-common/tst-put-error.c (do_test): Add newline to the
26582         padded test to ensure flush.
26583
26584 2012-12-05  Jeff Law  <law@redhat.com>
26585
26586         * sunrpc/etc.rpc (fedfs_admin): Add entry.
26587
26588 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
26589
26590         * README: Don't refer to ports add-on as distributed separately.
26591         Mention AArch64 in list of systems supported in the ports add-on.
26592
26593         * LICENSES: Add more non-FSF copyright and license notices.
26594
26595         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
26596         ((unused)).
26597
26598         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
26599
26600         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
26601         10000 as width of padded output.
26602
26603 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
26604
26605         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
26606
26607         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
26608         variable LX with __attribute__ ((unused)).
26609         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26610         Likewise.
26611         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26612         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26613         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
26614         with __attribute__ ((unused)).
26615
26616 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
26617
26618         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
26619
26620 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
26621
26622         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
26623         (CFLAGS-nldbl-acos.c): New variable.
26624         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
26625         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
26626         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
26627         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
26628         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
26629         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
26630         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
26631         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
26632         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
26633         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
26634         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
26635         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
26636         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
26637         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
26638         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
26639         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
26640         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
26641         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
26642         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
26643         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
26644         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
26645         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
26646         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
26647         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
26648         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
26649         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
26650         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
26651         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
26652         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
26653         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
26654         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
26655         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
26656         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
26657         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
26658         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
26659         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
26660         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
26661         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
26662         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
26663         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
26664         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
26665         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
26666         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
26667         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
26668         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
26669         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
26670         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
26671         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
26672         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
26673         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
26674         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
26675         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
26676         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
26677         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
26678         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
26679         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
26680         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
26681         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
26682         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
26683         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
26684         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
26685         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
26686         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
26687         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
26688         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
26689         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
26690         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
26691         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
26692         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
26693         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
26694         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
26695         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
26696         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
26697         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
26698         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
26699         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
26700         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
26701         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
26702         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
26703         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
26704         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
26705         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
26706         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
26707         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
26708         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
26709         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
26710         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
26711         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
26712         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
26713         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
26714         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
26715         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
26716         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
26717         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
26718         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
26719         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
26720         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
26721
26722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26723         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26724
26725         [BZ #14914]
26726         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
26727         whole low double instead of just low 47 bits when splitting values
26728         into two parts.
26729
26730 2012-12-03  Allan McRae  <allan@archlinux.org>
26731
26732         * manual/stdio.texi (Predefined Printf Handlers): Remove
26733         @hsep and @vsep usage.
26734
26735 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
26736
26737         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
26738         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
26739
26740 2012-12-03  Jeff Law  <law@redhat.com>
26741
26742         * time/sys/time.h (settimeofday): Do not mark TV argument
26743         as __nonnull.
26744
26745 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
26746
26747         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
26748         when currently writing and seek to current position when not.
26749         * libio/Makefile (tests): Remove bug-fclose1.
26750         * libio/bug-fclose1.c: Delete.
26751
26752 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
26753
26754         * manual/arith.texi (feenableexcept): Fix typo.
26755         (fedisableexcept): Likewise.
26756
26757 2012-11-30  Roland McGrath  <roland@hack.frob.com>
26758
26759         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26760         second, differently-typed declaration, rather than a cast.
26761
26762 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26763
26764         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
26765         * include/rpc/svc.h: ... here.
26766
26767 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
26768
26769         [BZ #13013]
26770         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
26771         depending n and resplen2 to catch cases where answer
26772         equals answerp2.
26773
26774 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
26775
26776         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
26777         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
26778
26779 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
26780
26781         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
26782
26783 2012-11-29  Roland McGrath  <roland@hack.frob.com>
26784
26785         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
26786
26787 2012-11-28  Jeff Law  <law@redhat.com>
26788
26789         [BZ #13761]
26790         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
26791         dataset_temporary.  Track alloca usage into alloca_used.
26792         If dataset is large allocate and release it via malloc/free.
26793
26794 2012-06-04  Florian Weimer  <fweimer@redhat.com>
26795
26796         [BZ #14197]
26797         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26798
26799 2012-11-28  David S. Miller  <davem@davemloft.net>
26800
26801         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26802
26803 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
26804
26805         [BZ #14803]
26806         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26807         of pi/2 rounded to nearest to 64 bits.
26808         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26809         nearest to 64 bits.
26810         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26811         bits.
26812
26813 2012-11-28  Jeff Law <law@redhat.com>
26814             Martin Osvald <mosvald@redhat.com>
26815
26816         [BZ #14889]
26817         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26818         * sunrpc/svc.c: Include time.h.
26819         (__svc_accept_failed): New function.
26820         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26821         any reason other than EINTR, call __svc_accept_failed.
26822         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26823         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26824
26825 2012-11-28  Andreas Schwab  <schwab@suse.de>
26826
26827         * scripts/abilist.awk: Also handle indirect functions in .opd
26828         section.
26829
26830 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
26831
26832         [BZ #13881]
26833         * sysdeps/x86/fpu/powl_helper.c: New file.
26834         * sysdeps/x86/fpu/Makefile: Likewise.
26835         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26836         (p3): New object.
26837         (__ieee754_powl): Use __powl_helper for finite arguments except
26838         integer exponents below 8.
26839         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26840         (p3): New object.
26841         (__ieee754_powl): Use __powl_helper for finite arguments except
26842         integer exponents below 8.
26843         * math/libm-test.inc (pow_test): Add more tests and enable some
26844         previously disabled tests.
26845         * sysdeps/i386/fpu/libm-test-ulps: Update.
26846         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26847
26848 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26849             Carlos O'Donell  <carlos_odonell@mentor.com>
26850
26851         * nss/makedb.c (is_prime): Assert that input is odd and greater
26852         than 4.  Note that fact in a comment too.
26853         (next_prime): Add 4 to input.
26854
26855 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26856
26857         [BZ #11741]
26858         * libio/Makefile (tests): Add test case tst-fwrite-error.
26859         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
26860         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
26861         * libio/tst-fwrite-error.c: New test case.
26862
26863 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
26864
26865         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
26866         before casting to void *.
26867         * include/libc-internal.h (__pointer_type): New macro.
26868         (__integer_if_pointer_type_sub): Likewise.
26869         (__integer_if_pointer_type): Likewise.
26870         (cast_to_integer): Likewise.
26871         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
26872         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
26873         before casting to atomic64_t.
26874         (atomic_exchange_acq): Likewise.
26875         (__arch_exchange_and_add_body): Likewise.
26876         (__arch_add_body): Likewise.
26877         (atomic_add_negative): Likewise.
26878         (atomic_add_zero): Likewise.
26879
26880 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
26881
26882         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
26883         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
26884         (add_fdes): Likewise.
26885         (linear_search_fdes): Likewise.
26886         (binary_search_unencoded_fdes): Likewise.
26887
26888 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
26889
26890         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
26891
26892 2012-11-24  Adam Conrad  <adconrad@0c3.net>
26893
26894         * configure.in: Autodetect C++ header directories.
26895         * configure: Regenerated.
26896
26897 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
26898
26899         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
26900
26901 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
26902
26903         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26904
26905 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
26906
26907         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
26908         LDBL_MANT_DIG == 106]: Disable some tests.
26909         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26910         Likewise.
26911         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
26912         Likewise.
26913
26914         [BZ #14871]
26915         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
26916         input for small inputs.  Return +/- pi/2 for large inputs.
26917         * math/libm-test.inc (atan_test): Add more tests.
26918
26919         * sysdeps/generic/unwind-dw2-fde-glibc.c
26920         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
26921         __attribute__ ((unused)).
26922
26923         [BZ #14645]
26924         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
26925         x * y if x and y are nonzero and z is zero.
26926
26927         [BZ #14811]
26928         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
26929         nonzero exponents with absolute value below 0x1p-117 to +/-
26930         0x1p-117.
26931
26932         [BZ #14869]
26933         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
26934         up arguments below 2**-450, not just those below 2**-500.
26935         * math/libm-test.inc (hypot_test): Add another test.
26936
26937         [BZ #14868]
26938         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
26939         Return a+b for ratio over 2**120, not 2**60.
26940         * math/libm-test.inc (hypot_test): Add another test.
26941
26942         * math/libm-test.inc (clog_test): Use
26943         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
26944         (clog10_test): Likewise.
26945
26946         [BZ #6778]
26947         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
26948
26949 2012-11-22  Andreas Schwab  <schwab@suse.de>
26950
26951         * sysdeps/i386/fpu/libm-test-ulps: Update.
26952
26953 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
26954
26955         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
26956         printf output with newline.
26957
26958 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
26959
26960         [BZ #14865]
26961         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
26962         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
26963         -z nodlopen, -z initfirst and -z execstack support.
26964         * configure: Regenerated.
26965
26966         * elf/elf.h (DF_1_NODIRECT): New macro.
26967         (DF_1_IGNMULDEF): Likewise.
26968         (DF_1_NOKSYMS): Likewise.
26969         (DF_1_NOHDR): Likewise.
26970         (DF_1_EDITED): Likewise.
26971         (DF_1_NORELOC): Likewise.
26972         (DF_1_SYMINTPOSE): Likewise.
26973         (DF_1_GLOBAUDIT): Likewise.
26974         (DF_1_SINGLETON): Likewise.
26975         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
26976         DT_1_SUPPORTED_MASK bits.
26977         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
26978
26979 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
26980
26981         * sysdeps/unix/make-syscalls.sh: Document prefixes.
26982
26983 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
26984
26985         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
26986         macro.
26987
26988         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
26989         (sendmmsg): Move declarations...
26990         * socket/sys/socket.h: ... here.
26991         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
26992         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
26993         include it from...
26994         * socket/recvmmsg.c: ... this new file.
26995         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
26996         (sendmmsg): Rename to __sendmmsg, create weak alias and make
26997         definition of __sendmmsg hidden.
26998         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26999         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
27000         Move ENOSYS stub into and include it from...
27001         * socket/sendmmsg.c: ... this new file.
27002         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
27003         (sysdep_routines): Move recvmmsg and sendmmsg...
27004         * socket/Makefile (routines): ... here.
27005         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
27006         (GLIBC_PRIVATE): Add __sendmmsg.
27007         * include/sys/socket.h (__sendmmsg): Add declarations.
27008         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
27009         sendmmsg.
27010
27011 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
27012
27013         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27014         variable I1 with __attribute__ ((unused)).
27015         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27016
27017 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
27018
27019         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
27020         DUMMY variables with __attribute__ ((unused)).
27021
27022         * bits/byteswap.h: Include <bits/types.h>.
27023         (__bswap_64): Use __uint64_t instead of unsigned long long int.
27024
27025 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
27026
27027         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
27028         string_t.  Do not manually set errno.
27029         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
27030         length with __strnlen.  Make sure to both set errno and return it on
27031         failure.
27032
27033 2012-11-19  David S. Miller  <davem@davemloft.net>
27034
27035         With help from Joseph Myers.
27036         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
27037         very large arguments properly.
27038         * math/libm-test.inc (atan_test): New tests.
27039         (atan2_test): New tests.
27040         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27041         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27042
27043 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
27044
27045         [BZ #14856]
27046         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
27047         Define to 3.
27048
27049         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
27050         [POSIX] (EADDRNOTAVAIL): Likewise.
27051         [POSIX] (EAFNOSUPPORT): Likewise.
27052         [POSIX] (EALREADY): Likewise.
27053         [POSIX] (ECONNABORTED): Likewise.
27054         [POSIX] (ECONNREFUSED): Likewise.
27055         [POSIX] (ECONNRESET): Likewise.
27056         [POSIX] (EDESTADDRREQ): Likewise.
27057         [POSIX] (EDQUOT): Likewise.
27058         [POSIX] (EHOSTUNREACH): Likewise.
27059         [POSIX] (EIDRM): Likewise.
27060         [POSIX] (EISCONN): Likewise.
27061         [POSIX] (ELOOP): Likewise.
27062         [POSIX] (EMULTIHOP): Likewise.
27063         [POSIX] (ENETDOWN): Likewise.
27064         [POSIX] (ENETUNREACH): Likewise.
27065         [POSIX] (ENOBUFS): Likewise.
27066         [POSIX] (ENODATA): Likewise.
27067         [POSIX] (ENOLINK): Likewise.
27068         [POSIX] (ENOMSG): Likewise.
27069         [POSIX] (ENOPROTOOPT): Likewise.
27070         [POSIX] (ENOSR): Likewise.
27071         [POSIX] (ENOSTR): Likewise.
27072         [POSIX] (ENOTCONN): Likewise.
27073         [POSIX] (ENOTSOCK): Likewise.
27074         [POSIX] (EOPNOTSUPP): Likewise.
27075         [POSIX] (EOVERFLOW): Likewise.
27076         [POSIX] (EPROTO): Likewise.
27077         [POSIX] (EPROTONOSUPPORT): Likewise.
27078         [POSIX] (EPROTOTYPE): Likewise.
27079         [POSIX] (ESTALE): Likewise.
27080         [POSIX] (ETIME): Likewise.
27081         [POSIX] (ETXTBSY): Likewise.
27082         [POSIX] (EWOULDBLOCK): Likewise.
27083         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
27084         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
27085         [POSIX] (SEEK_CUR): Likewise.
27086         [POSIX] (SEEK_END): Likewise.
27087         [POSIX || UNIX98] (mode_t): Do not require.
27088         [POSIX] (off_t): Likewise.
27089         [POSIX] (pid_t): Likewise.
27090         [POSIX] (sys/stat.h): Do not allow header.
27091         [POSIX] (unistd.h): Likewise.
27092         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27093         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27094         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27095         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27096         require.
27097         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27098         sigevent): Specify elements.
27099         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27100         entry.
27101         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27102         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27103
27104         * conform/data/cpio.h-data [POSIX]: Disable whole file.
27105         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27106         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27107         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27108         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27109         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27110         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27111         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27112         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27113         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27114         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27115         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27116         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27117         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27118         Likewise.
27119         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27120         Likewise.
27121         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27122         Likewise.
27123         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27124         Likewise.
27125         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27126         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27127         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27128         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27129         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27130         Specify lower bound on value.
27131         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27132         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27133         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27134         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27135         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27136         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27137         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27138         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27139         value.
27140         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27141         as optional.
27142         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27143         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27144         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27145         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27146         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27147         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27148         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27149         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27150         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27151         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27152         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27153         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27154         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27155         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27156         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27157         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27158         entry.
27159         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27160         optional.
27161         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27162         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27163         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27164         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27165         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27166         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27167         Likewise.
27168         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27169         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27170         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27171         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27172         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
27173         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27174         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27175         as optional.
27176         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27177         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27178         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27179         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27180         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27181         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27182         specify as optional.
27183         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27184         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27185         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27186         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27187         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27188         [XPG3] (NL_LANGMAX): Likewise.
27189         [POSIX || XPG3] (NL_MSGMAX): Likewise.
27190         [POSIX || XPG3] (NL_NMAX): Likewise.
27191         [POSIX || XPG3] (NL_SETMAX): Likewise.
27192         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27193         [XPG3] (NZERO): Likewise.
27194         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27195         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27196         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27197         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27198         (REG_ERANGE): Expect.
27199         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
27200         optional-constant.
27201         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
27202         Use (void) in prototype.
27203         [POSIX] (*_t): Allow.
27204         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
27205         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
27206         (WRDE_BADVAL): Expect.
27207
27208         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
27209         expect.
27210         [XPG3 || XPG4] (O_RSYNC): Likewise.
27211         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27212         Likewise.
27213         [XPG3 || XPG4] (pthread_sigmask): Likewise.
27214         [XPG3 || XPG4] (sigqueue): Likewise.
27215         [XPG3 || XPG4] (sigtimedwait): Likewise.
27216         [XPG3 || XPG4] (sigwaitinfo): Likewise.
27217         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27218         [XPG3 || XPG4] (vsnprintf): Likewise.
27219         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27220         Likewise.
27221         [XPG3 || XPG4] (blksize_t): Likewise.
27222         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27223         Likewise.
27224         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27225         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27226         [XPG3 || XPG4] (struct itimerspec): Likewise.
27227         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27228         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27229         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27230         [XPG3 || XPG4] (clockid_t): Likewise.
27231         [XPG3 || XPG4] (timer_t): Likewise.
27232         [XPG3 || XPG4] (clock_getres): Likewise.
27233         [XPG3 || XPG4] (clock_gettime): Likewise.
27234         [XPG3 || XPG4] (clock_settime): Likewise.
27235         [XPG3 || XPG4] (nanosleep): Likewise.
27236         [XPG3 || XPG4] (timer_create): Likewise.
27237         [XPG3 || XPG4] (timer_delete): Likewise.
27238         [XPG3 || XPG4] (timer_gettime): Likewise.
27239         [XPG3 || XPG4] (timer_getoverrun): Likewise.
27240         [XPG3 || XPG4] (timer_settime): Likewise.
27241         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27242         [XPG3 || XPG4] (getlogin_r): Likewise.
27243         [XPG3 || XPG4] (pread): Likewise.
27244         [XPG3 || XPG4] (pthread_atfork): Likewise.
27245         [XPG3 || XPG4] (pwrite): Likewise.
27246
27247         [BZ #14835]
27248         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27249         <bits/siginfo.h>.
27250
27251 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
27252
27253         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27254         finalizing MALLSTREAM.
27255
27256         * sysdeps/mach/hurd/syncfs.c: New file.
27257
27258 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27259
27260         [BZ #14719]
27261         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27262         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27263         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27264         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27265         (_nss_dns_gethostbyname4_r): Likewise.
27266         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27267         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27268
27269 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
27270
27271         [BZ #13763]
27272         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27273
27274 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
27275
27276         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27277         * elf/cache.c (print_entry): Print ",AArch64" for
27278         FLAG_AARCH64_LIB64
27279
27280         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27281         * elf/cache.c (print_entry): Print ",hard-float" for
27282         FLAG_ARM_LIBHF.
27283
27284 2012-11-18  David S. Miller  <davem@davemloft.net>
27285
27286         With help from Joseph Myers.
27287         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27288         cutoff to 2**-13.
27289         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27290         cutoff to 2**-25.
27291         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27292         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27293         small.
27294         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27295         * math/libm-test.inc (y0_test): New tests.
27296         (y1_test): New tests.
27297         * sysdeps/i386/fpu/libm-test-ulps: Update.
27298         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27299         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27300
27301 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
27302
27303         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27304         64-bit targets.
27305         * configure: Regenerated.
27306
27307 2012-11-17  David S. Miller  <davem@davemloft.net>
27308
27309         [BZ #14811]
27310         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27311         nonzero exponents with absolute value below 0x1p-128 to +/-
27312         0x1p-128.
27313
27314 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
27315
27316         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27317
27318         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27319
27320         * posix/getconf-speclist.c: New file.
27321         * posix/posix-envs.def: Likewise.
27322         * posix/confstr.c (START_ENV_GROUP): New macro.
27323         (END_ENV_GROUP): Likewise.
27324         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27325         (KNOWN_PRESENT_ENV_STRING): Likewise.
27326         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27327         (UNKNOWN_ENVIRONMENT): Likewise.
27328         (confstr): Include posix-envs.def instead of handling
27329         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
27330         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
27331         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
27332         (END_ENV_GROUP): Likewise.
27333         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27334         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27335         (UNKNOWN_ENVIRONMENT): Likewise.
27336         (__sysconf): Include posix-envs.def instead of handling associated
27337         cases directly here.
27338         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
27339         preprocessing getconf-speclist.c rather than running getconf or
27340         generating empty file.
27341
27342 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
27343
27344         * scripts/check-local-headers.sh: Ignore 'mach' headers.
27345
27346 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
27347
27348         [BZ #14672]
27349         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
27350
27351 2012-11-16  David S. Miller  <davem@davemloft.net>
27352
27353         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
27354         smaller than LDBL_EPSILON/2.0L, just return xm1.
27355
27356 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
27357
27358         * elf/tst-array1.c (init): Set constructor priority to 1000.
27359         (fini): Set destructor priority to 1000.
27360         * elf/tst-array2dep.c: Likewise.
27361
27362 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27363
27364         [BZ #11741]
27365         * libio/fileops.c (_IO_new_file_write): Correctly return error.
27366         (_IO_new_file_xsputn): Also return EOF if none of the input
27367         data was written when overflow failed.
27368         * libio/iopadn.c (_IO_padn): Likewise.
27369         * libio/iowpadn.c (_IO_wpadn): Likewise.
27370         * stdio-common/tst-put-error.c: Add copyright notice.
27371         (do_test): Add case for printing padded string.
27372         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
27373         _IO_padn returned error.
27374         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
27375         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
27376         return EOF.
27377
27378 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27379
27380         * libio/libioP.h: Add comment note that the references to C++
27381         bits are now obsolete.
27382
27383 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27384
27385         * math/libm-test.inc (check_complex): Use asprintf.
27386
27387 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
27388
27389         * debug/pcprofiledump.c (print_version): Update copyright year.
27390         * malloc/memusagestat.c (print_version): Likewise.
27391
27392 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
27393
27394         [BZ #14831]
27395         * elf/Makefile (tests): Add tst-audit8.
27396         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
27397         ($(objpfx)tst-audit8.out): New target.
27398         (tst-audit8-ENV): New variable.
27399         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
27400         audit if l_reloc_result is NULL.
27401         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27402         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27403         * elf/tst-audit8.c: New file.
27404
27405 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27406
27407         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27408         * misc/Makefile (CFLAGS-select.c): Define.
27409         * posix/Makefile (CFLAGS-pause.c): Define.
27410
27411 2012-11-13  David S. Miller  <davem@davemloft.net>
27412
27413         * crypt/Makefile: Move test targets after toplevel Rules
27414         inclusion.  Grab any necessary sysdep routines when linking.
27415         * crypt/md5.c (md5_process_block): Remove define, we will always
27416         name it __md5_process_block.
27417         (md5_finish_ctx): Update md5_process_block call.
27418         (md5_stream): Likewise.
27419         (md5_process_bytes): Likewise.
27420         (md5_process_block): Rename to __md5_process_block and move to ...
27421         * crypt/md5-block.c: ... here.
27422         * crypt/sha256.c (sha256_process_block): Move to ...
27423         * crypt/sha256-block.c: ... here.
27424         * crypt/sha512.c (sha512_process_block): Move to ...
27425         * crypt/sha512-block.c: ... here.
27426         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27427         path.
27428         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27429         * sysdeps/sparc/sparc64/multiarch/Makefile
27430         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27431         crypt subdir.
27432         (localedef-aux): Add md5 crypto assembler when in locale subdir.
27433         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27434         multiarch changes.
27435         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27436         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27437         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27438         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27439         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27440         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27441         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27442         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27443         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27444         file.
27445         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27446         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27447         file.
27448         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27449
27450 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
27451
27452         * timezone/tzselect.ksh: Update from tzcode git revision
27453         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27454         * timezone/zdump.c: Likewise.
27455         * timezone/zic.c: Likewise.
27456         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27457         in TZVERSION setting, not $(PKGVERSION).
27458         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
27459         REPORT_BUGS_TO settings.
27460
27461         [BZ #14838]
27462         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27463         macro.
27464
27465 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27466
27467         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27468         detection to immediately after _FP_ROUND().
27469         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27470         bits are 0.
27471
27472 2012-11-11  David S. Miller  <davem@davemloft.net>
27473
27474         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27475         inttypes.h
27476         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27477         __close rather than their public counterparts.
27478
27479 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
27480
27481         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27482         file.
27483         [UNIX98] (sem_timedwait): Do not expect.
27484         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27485         [XPG4 || UNIX98] (sockatmark): Do not expect.
27486         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27487         (clock_getcpuclockid): Do not expect.
27488         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27489         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27490         Do not expect.
27491         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27492         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27493         [UNIX98] (vwscanf): Likewise.
27494         [UNIX98] (vswscanf): Likewise.
27495
27496 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
27497
27498         * timezone/version.h: Remove file.
27499         * timezone/README: Do not refer to version.h.
27500         * timezone/Makefile ($(objpfx)zic.o): New dependency on
27501         $(objpfx)version.h.
27502         ($(objpfx)zdump.o): Likewise.
27503         ($(objpfx)version.h): New target.
27504
27505         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27506         2012i.
27507         * timezone/README: Don't mention modification to tzselect.ksh.
27508         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27509         work on unmodified tzselect.ksh.  Substitute version numbers in
27510         tzselect.ksh.
27511
27512         * Makefile (format-me): Remove.
27513         (INSTALL): Adjust indentation.  Use commands directly instead of
27514         using $(format-me).
27515
27516         * aclocal.m4 (ACX_PKGVERSION): New macro.
27517         (ACX_BUGURL): Likewise.
27518         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27519         (PKGVERSION): New AC_DEFINE_UNQUOTED.
27520         (REPORT_BUGS_TO): Likewise.
27521         * configure: Regenerated.
27522         * config.h.in (PKGVERSION): New macro.
27523         (REPORT_BUGS_TO): Likewise.
27524         * config.make.in (PKGVERSION): New variable.
27525         (PKGVERSION_TEXI): Likewise.
27526         (REPORT_BUGS_TO): Likewise.
27527         (REPORT_BUGS_TEXI): Likewise.
27528         * Makefile (format-me): Use -I$(common-objpfx)manual.
27529         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27530         ($(common-objpfx)manual/%): New target.
27531         (manual/%): Remove target.
27532         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
27533         (print_version): Use PKGVERSION.
27534         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
27535         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
27536         and REPORT_BUGS_TO.
27537         ($(objpfx)xtrace): Likewise.
27538         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
27539         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
27540         (print_version): Use PKGVERSION.
27541         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
27542         (do_version): Use PKGVERSION.
27543         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
27544         REPORT_BUGS_TO.
27545         (common-ldd-rewrite): Likewise.
27546         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
27547         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
27548         (print_version): Use PKGVERSION.
27549         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
27550         * elf/pldd.c (argp_program_bug_address): Remove variable.
27551         (more_help): New function.
27552         (argp): Use more_help.
27553         (print_version): Use PKGVERSION.
27554         * elf/sln.c (main): Use PKGVERSION.
27555         (usage): Use REPORT_BUGS_TO.
27556         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
27557         (top level): Use PKGVERSION.
27558         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
27559         (print_version): Use PKGVERSION.
27560         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
27561         (print_version): Use PKGVERSION.
27562         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
27563         (print_version): Use PKGVERSION.
27564         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
27565         (print_version): Use PKGVERSION.
27566         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
27567         (print_version): Use PKGVERSION.
27568         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
27569         (print_version): Use PKGVERSION.
27570         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
27571         and BUGURL.
27572         ($(objpfx)memusage): Likewise.
27573         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
27574         (do_version): Use PKGVERSION.
27575         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
27576         (print_version): Use PKGVERSION.
27577         * malloc/mtrace.pl ($PACKAGE): Remove variable.
27578         ($PKGVERSION): New variable.
27579         ($REPORT_BUGS_TO): Likewise.
27580         (usage): Use $REPORT_BUGS_TO.
27581         (top level): Use $PKGVERSION.
27582         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
27583         ($(objpfx)pkgvers.texi): New rule.
27584         ($(objpfx)stamp-pkgvers): Likewise.
27585         * manual/install.texi: Include pkgvers.texi.
27586         (--with-pkgversion): Document new configure option.
27587         (--with-bugurl): Likewise.
27588         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
27589         than necessarily for this particular distribution.  Use
27590         REPORT_BUGS_TO for where to report bugs.
27591         * INSTALL: Regenerated.
27592         * manual/libc.texinfo: Include pkgvers.texi.
27593         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
27594         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
27595         (print_version): Use PKGVERSION.
27596         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
27597         (print_version): Use PKGVERSION.
27598         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
27599         (print_version): Use PKGVERSION.
27600         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
27601         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
27602         macro.
27603         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
27604         (print_version): Use PKGVERSION.
27605         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
27606         (print_version): Use PKGVERSION.
27607         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
27608         and PKGVERSION.
27609
27610         * timezone/checktab.awk: Update from tzcode 2012i.
27611         * timezone/ialloc.c: Likewise.
27612         * timezone/private.h: Likewise.
27613         * timezone/scheck.c: Likewise.
27614         * timezone/tzfile.h: Likewise.
27615         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
27616         (TZVERSION): Hardcode tzcode version number.
27617         * timezone/zdump.c: Update from tzcode 2012i.
27618         * timezone/zic.c: Likewise.
27619         * timezone/version.h: New file.
27620         * timezone/README: Describe version.h.  Update upstream location.
27621
27622         [BZ #14824]
27623         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
27624         (mktemp): Enable declaration.
27625         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
27626         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
27627         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
27628         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
27629         Likewise.
27630         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
27631         Likewise.
27632         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
27633         Likewise.
27634         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
27635         Likewise.
27636         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
27637         Likewise.
27638         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
27639         Likewise.
27640
27641         [BZ #14821]
27642         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
27643         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
27644         for copies of such integer values.
27645         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27646         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27647
27648 2012-11-09  Andreas Jaeger  <aj@suse.de>
27649
27650         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
27651         definitions and declarations that are provided by
27652         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27653
27654 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27655
27656         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
27657         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
27658         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
27659         definition.
27660
27661 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27662
27663         * elf/elf.h: Update comment before AArch64 relocations.
27664
27665 2012-11-07  David S. Miller  <davem@davemloft.net>
27666
27667         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
27668         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27669         (__start_context): Declare.
27670         (__makecontext_ret): Delete.
27671         (__makecontext): Hook up __start_context instead of
27672         __makecontext_ret.
27673         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
27674         (sysdep_routines): Add __start_context when in stdlib.
27675
27676 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27677
27678         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
27679         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
27680         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
27681         hardcoded "nm".
27682         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
27683         (READELF): New variable.  Use it instead of hardcoded "readelf".
27684
27685 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
27686
27687         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
27688         * sysdeps/x86/Makefile: Here.
27689         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
27690         * sysdeps/x86/tst-xmmymm.sh: This.
27691
27692 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
27693
27694         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
27695         expectations.
27696         [UNIX98] (pthread_barrier_t): Do not expect.
27697         [UNIX98] (pthread_barrierattr_t): Likewise.
27698         [UNIX98] (pthread_spinlock_t): Likewise.
27699         [UNIX98] (pthread_barrier_destroy): Likewise.
27700         [UNIX98] (pthread_barrier_init): Likewise.
27701         [UNIX98] (pthread_barrier_wait): Likewise.
27702         [UNIX98] (pthread_barrierattr_destroy): Likewise.
27703         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
27704         [UNIX98] (pthread_barrierattr_init): Likewise.
27705         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
27706         [UNIX98] (pthread_getcpuclockid): Likewise.
27707         [UNIX98] (pthread_mutex_timedlock): Likewise.
27708         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
27709         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
27710         [UNIX98] (pthread_sigmask): Likewise.
27711         [UNIX98] (pthread_spin_destroy): Likewise.
27712         [UNIX98] (pthread_spin_init): Likewise.
27713         [UNIX98] (pthread_spin_lock): Likewise.
27714         [UNIX98] (pthread_spin_trylock): Likewise.
27715         [UNIX98] (pthread_spin_unlock): Likewise.
27716         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
27717         Do not expect.
27718         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
27719         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
27720         [XPG3 || XPG4] (pthread_cond_t): Likewise.
27721         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
27722         [XPG3 || XPG4] (pthread_key_t): Likewise.
27723         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
27724         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
27725         [XPG3 || XPG4] (pthread_once_t): Likewise.
27726         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
27727         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
27728         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
27729         [XPG3 || XPG4] (pthread_t): Likewise.
27730
27731         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
27732         not expect.
27733         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
27734
27735         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
27736         Change function return type to int.
27737
27738         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
27739         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
27740         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
27741         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
27742         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
27743         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
27744         [!POSIX] (posix_madvise): Likewise.
27745         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
27746         && !UNIX98].
27747         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
27748         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
27749         (mode_t): Likewise.
27750         (posix_mem_offset): Likewise.
27751         (posix_typed_mem_get_info): Likewise.
27752         (posix_typed_mem_open): Likewise.
27753
27754         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
27755         Change condition to [XOPEN2K8].
27756
27757         * conform/conformtest.pl: Preprocess allow-header data with -x c
27758         instead of from stdin.
27759         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
27760         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
27761         [C99-based standards] (cerfc): Likewise.
27762         [C99-based standards] (cexp2): Likewise.
27763         [C99-based standards] (cexpm1): Likewise.
27764         [C99-based standards] (clog10): Likewise.
27765         [C99-based standards] (clog1p): Likewise.
27766         [C99-based standards] (clog2): Likewise.
27767         [C99-based standards] (clgamma): Likewise.
27768         [C99-based standards] (ctgamma): Likewise.
27769         [C99-based standards] (cerff): Likewise.
27770         [C99-based standards] (cerfcf): Likewise.
27771         [C99-based standards] (cexp2f): Likewise.
27772         [C99-based standards] (cexpm1f): Likewise.
27773         [C99-based standards] (clog10f): Likewise.
27774         [C99-based standards] (clog1pf): Likewise.
27775         [C99-based standards] (clog2f): Likewise.
27776         [C99-based standards] (clgammaf): Likewise.
27777         [C99-based standards] (ctgammaf): Likewise.
27778         [C99-based standards] (cerfl): Likewise.
27779         [C99-based standards] (cerfcl): Likewise.
27780         [C99-based standards] (cexp2l): Likewise.
27781         [C99-based standards] (cexpm1l): Likewise.
27782         [C99-based standards] (clog10l): Likewise.
27783         [C99-based standards] (clog1pl): Likewise.
27784         [C99-based standards] (clog2l): Likewise.
27785         [C99-based standards] (clgammal): Likewise.
27786         [C99-based standards] (ctgammal): Likewise.
27787         * conform/data/inttypes.h-data [C99-based standards]: Include
27788         stdint.h-data.  Remove all expectations for stdint.h contents.
27789         [C99-based standards] (PRI*): Do not allow.
27790         [C99-based standards] (SCN*): Likewise.
27791         [C99-based standards] (*_t): Likewise.
27792         [C99-based-standards] (PRId8): Expect macro.
27793         [C99-based-standards] (PRIi8): Likewise.
27794         [C99-based-standards] (PRIo8): Likewise.
27795         [C99-based-standards] (PRIu8): Likewise.
27796         [C99-based-standards] (PRIx8): Likewise.
27797         [C99-based-standards] (PRIX8): Likewise.
27798         [C99-based-standards] (SCNd8): Likewise.
27799         [C99-based-standards] (SCNi8): Likewise.
27800         [C99-based-standards] (SCNo8): Likewise.
27801         [C99-based-standards] (SCNu8): Likewise.
27802         [C99-based-standards] (SCNx8): Likewise.
27803         [C99-based-standards] (PRIdLEAST8): Likewise.
27804         [C99-based-standards] (PRIiLEAST8): Likewise.
27805         [C99-based-standards] (PRIoLEAST8): Likewise.
27806         [C99-based-standards] (PRIuLEAST8): Likewise.
27807         [C99-based-standards] (PRIxLEAST8): Likewise.
27808         [C99-based-standards] (PRIXLEAST8): Likewise.
27809         [C99-based-standards] (SCNdLEAST8): Likewise.
27810         [C99-based-standards] (SCNiLEAST8): Likewise.
27811         [C99-based-standards] (SCNoLEAST8): Likewise.
27812         [C99-based-standards] (SCNuLEAST8): Likewise.
27813         [C99-based-standards] (SCNxLEAST8): Likewise.
27814         [C99-based-standards] (PRIdFAST8): Likewise.
27815         [C99-based-standards] (PRIiFAST8): Likewise.
27816         [C99-based-standards] (PRIoFAST8): Likewise.
27817         [C99-based-standards] (PRIuFAST8): Likewise.
27818         [C99-based-standards] (PRIxFAST8): Likewise.
27819         [C99-based-standards] (PRIXFAST8): Likewise.
27820         [C99-based-standards] (SCNdFAST8): Likewise.
27821         [C99-based-standards] (SCNiFAST8): Likewise.
27822         [C99-based-standards] (SCNoFAST8): Likewise.
27823         [C99-based-standards] (SCNuFAST8): Likewise.
27824         [C99-based-standards] (SCNxFAST8): Likewise.
27825         [C99-based-standards] (PRId16): Likewise.
27826         [C99-based-standards] (PRIi16): Likewise.
27827         [C99-based-standards] (PRIo16): Likewise.
27828         [C99-based-standards] (PRIu16): Likewise.
27829         [C99-based-standards] (PRIx16): Likewise.
27830         [C99-based-standards] (PRIX16): Likewise.
27831         [C99-based-standards] (SCNd16): Likewise.
27832         [C99-based-standards] (SCNi16): Likewise.
27833         [C99-based-standards] (SCNo16): Likewise.
27834         [C99-based-standards] (SCNu16): Likewise.
27835         [C99-based-standards] (SCNx16): Likewise.
27836         [C99-based-standards] (PRIdLEAST16): Likewise.
27837         [C99-based-standards] (PRIiLEAST16): Likewise.
27838         [C99-based-standards] (PRIoLEAST16): Likewise.
27839         [C99-based-standards] (PRIuLEAST16): Likewise.
27840         [C99-based-standards] (PRIxLEAST16): Likewise.
27841         [C99-based-standards] (PRIXLEAST16): Likewise.
27842         [C99-based-standards] (SCNdLEAST16): Likewise.
27843         [C99-based-standards] (SCNiLEAST16): Likewise.
27844         [C99-based-standards] (SCNoLEAST16): Likewise.
27845         [C99-based-standards] (SCNuLEAST16): Likewise.
27846         [C99-based-standards] (SCNxLEAST16): Likewise.
27847         [C99-based-standards] (PRIdFAST16): Likewise.
27848         [C99-based-standards] (PRIiFAST16): Likewise.
27849         [C99-based-standards] (PRIoFAST16): Likewise.
27850         [C99-based-standards] (PRIuFAST16): Likewise.
27851         [C99-based-standards] (PRIxFAST16): Likewise.
27852         [C99-based-standards] (PRIXFAST16): Likewise.
27853         [C99-based-standards] (SCNdFAST16): Likewise.
27854         [C99-based-standards] (SCNiFAST16): Likewise.
27855         [C99-based-standards] (SCNoFAST16): Likewise.
27856         [C99-based-standards] (SCNuFAST16): Likewise.
27857         [C99-based-standards] (SCNxFAST16): Likewise.
27858         [C99-based-standards] (PRId32): Likewise.
27859         [C99-based-standards] (PRIi32): Likewise.
27860         [C99-based-standards] (PRIo32): Likewise.
27861         [C99-based-standards] (PRIu32): Likewise.
27862         [C99-based-standards] (PRIx32): Likewise.
27863         [C99-based-standards] (PRIX32): Likewise.
27864         [C99-based-standards] (SCNd32): Likewise.
27865         [C99-based-standards] (SCNi32): Likewise.
27866         [C99-based-standards] (SCNo32): Likewise.
27867         [C99-based-standards] (SCNu32): Likewise.
27868         [C99-based-standards] (SCNx32): Likewise.
27869         [C99-based-standards] (PRIdLEAST32): Likewise.
27870         [C99-based-standards] (PRIiLEAST32): Likewise.
27871         [C99-based-standards] (PRIoLEAST32): Likewise.
27872         [C99-based-standards] (PRIuLEAST32): Likewise.
27873         [C99-based-standards] (PRIxLEAST32): Likewise.
27874         [C99-based-standards] (PRIXLEAST32): Likewise.
27875         [C99-based-standards] (SCNdLEAST32): Likewise.
27876         [C99-based-standards] (SCNiLEAST32): Likewise.
27877         [C99-based-standards] (SCNoLEAST32): Likewise.
27878         [C99-based-standards] (SCNuLEAST32): Likewise.
27879         [C99-based-standards] (SCNxLEAST32): Likewise.
27880         [C99-based-standards] (PRIdFAST32): Likewise.
27881         [C99-based-standards] (PRIiFAST32): Likewise.
27882         [C99-based-standards] (PRIoFAST32): Likewise.
27883         [C99-based-standards] (PRIuFAST32): Likewise.
27884         [C99-based-standards] (PRIxFAST32): Likewise.
27885         [C99-based-standards] (PRIXFAST32): Likewise.
27886         [C99-based-standards] (SCNdFAST32): Likewise.
27887         [C99-based-standards] (SCNiFAST32): Likewise.
27888         [C99-based-standards] (SCNoFAST32): Likewise.
27889         [C99-based-standards] (SCNuFAST32): Likewise.
27890         [C99-based-standards] (SCNxFAST32): Likewise.
27891         [C99-based-standards] (PRId64): Likewise.
27892         [C99-based-standards] (PRIi64): Likewise.
27893         [C99-based-standards] (PRIo64): Likewise.
27894         [C99-based-standards] (PRIu64): Likewise.
27895         [C99-based-standards] (PRIx64): Likewise.
27896         [C99-based-standards] (PRIX64): Likewise.
27897         [C99-based-standards] (SCNd64): Likewise.
27898         [C99-based-standards] (SCNi64): Likewise.
27899         [C99-based-standards] (SCNo64): Likewise.
27900         [C99-based-standards] (SCNu64): Likewise.
27901         [C99-based-standards] (SCNx64): Likewise.
27902         [C99-based-standards] (PRIdLEAST64): Likewise.
27903         [C99-based-standards] (PRIiLEAST64): Likewise.
27904         [C99-based-standards] (PRIoLEAST64): Likewise.
27905         [C99-based-standards] (PRIuLEAST64): Likewise.
27906         [C99-based-standards] (PRIxLEAST64): Likewise.
27907         [C99-based-standards] (PRIXLEAST64): Likewise.
27908         [C99-based-standards] (SCNdLEAST64): Likewise.
27909         [C99-based-standards] (SCNiLEAST64): Likewise.
27910         [C99-based-standards] (SCNoLEAST64): Likewise.
27911         [C99-based-standards] (SCNuLEAST64): Likewise.
27912         [C99-based-standards] (SCNxLEAST64): Likewise.
27913         [C99-based-standards] (PRIdFAST64): Likewise.
27914         [C99-based-standards] (PRIiFAST64): Likewise.
27915         [C99-based-standards] (PRIoFAST64): Likewise.
27916         [C99-based-standards] (PRIuFAST64): Likewise.
27917         [C99-based-standards] (PRIxFAST64): Likewise.
27918         [C99-based-standards] (PRIXFAST64): Likewise.
27919         [C99-based-standards] (SCNdFAST64): Likewise.
27920         [C99-based-standards] (SCNiFAST64): Likewise.
27921         [C99-based-standards] (SCNoFAST64): Likewise.
27922         [C99-based-standards] (SCNuFAST64): Likewise.
27923         [C99-based-standards] (SCNxFAST64): Likewise.
27924         [C99-based-standards] (PRIdMAX): Likewise.
27925         [C99-based-standards] (PRIiMAX): Likewise.
27926         [C99-based-standards] (PRIoMAX): Likewise.
27927         [C99-based-standards] (PRIuMAX): Likewise.
27928         [C99-based-standards] (PRIxMAX): Likewise.
27929         [C99-based-standards] (PRIXMAX): Likewise.
27930         [C99-based-standards] (SCNdMAX): Likewise.
27931         [C99-based-standards] (SCNiMAX): Likewise.
27932         [C99-based-standards] (SCNoMAX): Likewise.
27933         [C99-based-standards] (SCNuMAX): Likewise.
27934         [C99-based-standards] (SCNxMAX): Likewise.
27935         [C99-based-standards] (PRIdPTR): Likewise.
27936         [C99-based-standards] (PRIiPTR): Likewise.
27937         [C99-based-standards] (PRIoPTR): Likewise.
27938         [C99-based-standards] (PRIuPTR): Likewise.
27939         [C99-based-standards] (PRIxPTR): Likewise.
27940         [C99-based-standards] (PRIXPTR): Likewise.
27941         [C99-based-standards] (SCNdPTR): Likewise.
27942         [C99-based-standards] (SCNiPTR): Likewise.
27943         [C99-based-standards] (SCNoPTR): Likewise.
27944         [C99-based-standards] (SCNuPTR): Likewise.
27945         [C99-based-standards] (SCNxPTR): Likewise.
27946         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
27947         allow.
27948         * conform/data/stdint.h-data: Update comments to clarify
27949         requirements.
27950         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
27951         type.
27952         [C99-based standards] (INT8_MAX): Likewise.
27953         [C99-based standards] (INT16_MIN): Likewise.
27954         [C99-based standards] (INT16_MAX): Likewise.
27955         [C99-based standards] (INT32_MIN): Likewise.
27956         [C99-based standards] (INT32_MAX): Likewise.
27957         [C99-based standards] (INT64_MIN): Likewise.
27958         [C99-based standards] (INT64_MAX): Likewise.
27959         [C99-based standards] (UINT8_MAX): Likewise.
27960         [C99-based standards] (UINT16_MAX): Likewise.
27961         [C99-based standards] (UINT32_MAX): Likewise.
27962         [C99-based standards] (UINT64_MAX): Likewise.
27963         [C99-based standards] (INT_LEAST8_MIN): Likewise.
27964         [C99-based standards] (INT_LEAST8_MAX): Likewise.
27965         [C99-based standards] (INT_LEAST16_MIN): Likewise.
27966         [C99-based standards] (INT_LEAST16_MAX): Likewise.
27967         [C99-based standards] (INT_LEAST32_MIN): Likewise.
27968         [C99-based standards] (INT_LEAST32_MAX): Likewise.
27969         [C99-based standards] (INT_LEAST64_MIN): Likewise.
27970         [C99-based standards] (INT_LEAST64_MAX): Likewise.
27971         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
27972         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
27973         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
27974         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
27975         [C99-based standards] (INT_FAST8_MIN): Likewise.
27976         [C99-based standards] (INT_FAST8_MAX): Likewise.
27977         [C99-based standards] (INT_FAST16_MIN): Likewise.
27978         [C99-based standards] (INT_FAST16_MAX): Likewise.
27979         [C99-based standards] (INT_FAST32_MIN): Likewise.
27980         [C99-based standards] (INT_FAST32_MAX): Likewise.
27981         [C99-based standards] (INT_FAST64_MIN): Likewise.
27982         [C99-based standards] (INT_FAST64_MAX): Likewise.
27983         [C99-based standards] (UINT_FAST8_MAX): Likewise.
27984         [C99-based standards] (UINT_FAST16_MAX): Likewise.
27985         [C99-based standards] (UINT_FAST32_MAX): Likewise.
27986         [C99-based standards] (UINT_FAST64_MAX): Likewise.
27987         [C99-based standards] (INTPTR_MIN): Likewise.
27988         [C99-based standards] (INTPTR_MAX): Likewise.
27989         [C99-based standards] (UINTPTR_MAX): Likewise.
27990         [C99-based standards] (INTMAX_MIN): Likewise.
27991         [C99-based standards] (INTMAX_MAX): Likewise.
27992         [C99-based standards] (UINTMAX_MAX): Likewise.
27993         [C99-based standards] (PTRDIFF_MIN): Likewise.
27994         [C99-based standards] (PTRDIFF_MAX): Likewise.
27995         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
27996         [C99-based standards] (SIZE_MAX): Likewise.
27997         [C99-based standards] (WCHAR_MAX): Likewise.
27998         [C99-based standards] (WINT_MAX): Likewise.
27999         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
28000         constraint on value.
28001         [C99-based standards] (WCHAR_MIN): Likewise.
28002         [C99-based standards] (WINT_MIN): Likewise.
28003         [C99-based standards] (*_t): Allow.
28004         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
28005         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
28006         Include math.h-data and complex.h-data.  Remove all expectations
28007         of math.h and complex.h contents.
28008         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
28009         at end of line.
28010         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28011         (struct tm): Expect tag.
28012         [C99-based-standards] (wcstof): Expect function.
28013         [C99-based-standards] (wcstold): Likewise.
28014         [C99-based-standards] (wcstoll): Likewise.
28015         [C99-based-standards] (wcstoull): Likewise.
28016         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
28017         macro-int-constant.  Specify type.
28018         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
28019         constraint on value.
28020         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28021         Specify type.
28022         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
28023         Specify value.
28024         [ISO C standards]: Do not allow headers.
28025         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
28026         wcs[abcdefghijklmnopqrstuvwxyz]*.
28027         [ISO C standards] (*_t): Do not allow.
28028         * conform/data/wctype.h-data [C99-based standards] (iswblank):
28029         Expect function.
28030         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
28031         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28032         Specify type.
28033         [ISO C standards]: Do not allow headers.
28034         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
28035         is[abcdefghijklmnopqrstuvwxyz]*.
28036         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
28037         to[abcdefghijklmnopqrstuvwxyz]*.
28038         [ISO C standards] (*_t): Do not allow.
28039         * conform/data/stdalign.h-data: New file.
28040         * conform/data/stdbool.h-data: Likewise.
28041         * conform/data/stdnoreturn.h-data: Likewise.
28042
28043 2012-11-07  Roland McGrath  <roland@hack.frob.com>
28044
28045         [BZ #14815]
28046         * manual/filesys.texi (Directory Entries): Typo fix.
28047         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
28048
28049 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28050
28051         * elf/elf.h (EM_AARCH64): New macro.
28052         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
28053         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
28054         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
28055         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28056         (R_AARCH64_TLSDESC): Likewise.
28057         (NT_ARM_TLS): Likewise.
28058         (NT_ARM_HW_BREAK): Likewise.
28059         (NT_ARM_HW_WATCH): Likewise.
28060
28061 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28062
28063         [BZ #14811]
28064         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28065         (__ieee754_powl): Saturate nonzero exponents with absolute value
28066         below 0x1p-79 to +/- 0x1p-79.
28067         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28068         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28069         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28070         nonzero exponents with absolute value below 0x1p-32 to +/-
28071         0x1p-32.
28072         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28073         (__ieee754_powl): Saturate nonzero exponents with absolute value
28074         below 0x1p-79 to +/- 0x1p-79.
28075         * math/libm-test.inc (pow_test): Add more tests.
28076
28077 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28078
28079         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28080         _dl_s390_cap_flags with kernel. Increase string length.
28081         (_dl_s390_platforms): Add z196 and zEC12.
28082
28083 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
28084
28085         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
28086         Change XOPEN21K to XOPEN2K.
28087
28088 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
28089
28090         * string/memmove.c: Use memcpy when possible.
28091
28092 2012-11-06  Andreas Jaeger  <aj@suse.de>
28093
28094         * po/eo.po: Update from translation team.
28095
28096 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
28097
28098         [BZ #14793]
28099         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28100         exponent and small x and y exponents, scale x or y up.  Increase
28101         by 2 the exponent used in scaling up.
28102         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28103         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28104         * math/libm-test.inc (fma_test): Add more tests.
28105         (fma_test_towardzero): Likewise.
28106         (fma_test_downward): Likewise.
28107         (fma_test_upward): Likewise.
28108
28109 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
28110
28111         [BZ #14805]
28112         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28113         fenv_t *.
28114
28115         [BZ #14801]
28116         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28117         namespace for names of struct fields.
28118         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28119         fenv_t fields.
28120         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28121         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28122
28123 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28124
28125         [BZ #3665]
28126         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28127
28128 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
28129
28130         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28131         PTR_DEMANGLE.
28132
28133         [BZ #5246]
28134         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28135         PTR_DEMANGLE.
28136
28137 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
28138
28139         [BZ #14797]
28140         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28141         definitely overflow as x * y not x * y + z.
28142         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28143         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28144         * math/libm-test.inc (fma_test): Add more tests.
28145         (fma_test_towardzero): Likewise.
28146         (fma_test_downward): Likewise.
28147         (fma_test_upward): Likewise.
28148
28149 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
28150
28151         [BZ #157]
28152
28153         * include/stub-tag.h: Remove file.
28154         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28155         '#include' of it.
28156         * manual/maint.texi (Porting): Don't reference it.
28157         * Makerules ($(objpfx)stubs): Likewise.
28158         * dirent/closedir.c: Don't include <stub-tag.h>.
28159         * dirent/dirfd.c: Likewise.
28160         * dirent/fdopendir.c: Likewise.
28161         * dirent/getdents.c: Likewise.
28162         * dirent/getdents64.c: Likewise.
28163         * dirent/opendir.c: Likewise.
28164         * dirent/readdir.c: Likewise.
28165         * dirent/readdir64.c: Likewise.
28166         * dirent/readdir64_r.c: Likewise.
28167         * dirent/readdir_r.c: Likewise.
28168         * dirent/rewinddir.c: Likewise.
28169         * dirent/seekdir.c: Likewise.
28170         * dirent/telldir.c: Likewise.
28171         * gmon/profil.c: Likewise.
28172         * grp/setgroups.c: Likewise.
28173         * inet/if_index.c: Likewise.
28174         * io/access.c: Likewise.
28175         * io/chdir.c: Likewise.
28176         * io/chmod.c: Likewise.
28177         * io/chown.c: Likewise.
28178         * io/close.c: Likewise.
28179         * io/dup.c: Likewise.
28180         * io/dup2.c: Likewise.
28181         * io/dup3.c: Likewise.
28182         * io/euidaccess.c: Likewise.
28183         * io/faccessat.c: Likewise.
28184         * io/fchdir.c: Likewise.
28185         * io/fchmod.c: Likewise.
28186         * io/fchmodat.c: Likewise.
28187         * io/fchown.c: Likewise.
28188         * io/fchownat.c: Likewise.
28189         * io/fcntl.c: Likewise.
28190         * io/flock.c: Likewise.
28191         * io/fstatfs.c: Likewise.
28192         * io/fstatfs64.c: Likewise.
28193         * io/fstatvfs.c: Likewise.
28194         * io/fstatvfs64.c: Likewise.
28195         * io/futimens.c: Likewise.
28196         * io/fxstat.c: Likewise.
28197         * io/fxstat64.c: Likewise.
28198         * io/fxstatat.c: Likewise.
28199         * io/fxstatat64.c: Likewise.
28200         * io/getcwd.c: Likewise.
28201         * io/isatty.c: Likewise.
28202         * io/lchmod.c: Likewise.
28203         * io/lchown.c: Likewise.
28204         * io/link.c: Likewise.
28205         * io/linkat.c: Likewise.
28206         * io/lseek.c: Likewise.
28207         * io/lseek64.c: Likewise.
28208         * io/lxstat64.c: Likewise.
28209         * io/mkdir.c: Likewise.
28210         * io/mkdirat.c: Likewise.
28211         * io/mkfifo.c: Likewise.
28212         * io/mkfifoat.c: Likewise.
28213         * io/open.c: Likewise.
28214         * io/open64.c: Likewise.
28215         * io/openat.c: Likewise.
28216         * io/openat64.c: Likewise.
28217         * io/pipe.c: Likewise.
28218         * io/pipe2.c: Likewise.
28219         * io/poll.c: Likewise.
28220         * io/posix_fadvise.c: Likewise.
28221         * io/posix_fadvise64.c: Likewise.
28222         * io/posix_fallocate.c: Likewise.
28223         * io/posix_fallocate64.c: Likewise.
28224         * io/read.c: Likewise.
28225         * io/readlink.c: Likewise.
28226         * io/readlinkat.c: Likewise.
28227         * io/rmdir.c: Likewise.
28228         * io/sendfile.c: Likewise.
28229         * io/sendfile64.c: Likewise.
28230         * io/statfs.c: Likewise.
28231         * io/statfs64.c: Likewise.
28232         * io/statvfs.c: Likewise.
28233         * io/statvfs64.c: Likewise.
28234         * io/symlink.c: Likewise.
28235         * io/symlinkat.c: Likewise.
28236         * io/ttyname.c: Likewise.
28237         * io/ttyname_r.c: Likewise.
28238         * io/umask.c: Likewise.
28239         * io/unlink.c: Likewise.
28240         * io/unlinkat.c: Likewise.
28241         * io/utime.c: Likewise.
28242         * io/utimensat.c: Likewise.
28243         * io/write.c: Likewise.
28244         * io/xmknod.c: Likewise.
28245         * io/xmknodat.c: Likewise.
28246         * io/xstat.c: Likewise.
28247         * io/xstat64.c: Likewise.
28248         * login/getpt.c: Likewise.
28249         * login/grantpt.c: Likewise.
28250         * login/unlockpt.c: Likewise.
28251         * math/e_acoshl.c: Likewise.
28252         * math/e_acosl.c: Likewise.
28253         * math/e_asinl.c: Likewise.
28254         * math/e_atan2l.c: Likewise.
28255         * math/e_atanhl.c: Likewise.
28256         * math/e_coshl.c: Likewise.
28257         * math/e_expl.c: Likewise.
28258         * math/e_fmodl.c: Likewise.
28259         * math/e_gammal_r.c: Likewise.
28260         * math/e_hypotl.c: Likewise.
28261         * math/e_j0l.c: Likewise.
28262         * math/e_j1l.c: Likewise.
28263         * math/e_jnl.c: Likewise.
28264         * math/e_lgammal_r.c: Likewise.
28265         * math/e_log10l.c: Likewise.
28266         * math/e_log2l.c: Likewise.
28267         * math/e_logl.c: Likewise.
28268         * math/e_powl.c: Likewise.
28269         * math/e_rem_pio2l.c: Likewise.
28270         * math/e_sinhl.c: Likewise.
28271         * math/e_sqrtl.c: Likewise.
28272         * math/fclrexcpt.c: Likewise.
28273         * math/fedisblxcpt.c: Likewise.
28274         * math/feenablxcpt.c: Likewise.
28275         * math/fegetenv.c: Likewise.
28276         * math/fegetexcept.c: Likewise.
28277         * math/fegetround.c: Likewise.
28278         * math/feholdexcpt.c: Likewise.
28279         * math/fesetenv.c: Likewise.
28280         * math/fesetround.c: Likewise.
28281         * math/feupdateenv.c: Likewise.
28282         * math/fgetexcptflg.c: Likewise.
28283         * math/fraiseexcpt.c: Likewise.
28284         * math/fsetexcptflg.c: Likewise.
28285         * math/ftestexcept.c: Likewise.
28286         * math/k_cosl.c: Likewise.
28287         * math/k_rem_pio2l.c: Likewise.
28288         * math/k_sinl.c: Likewise.
28289         * math/k_tanl.c: Likewise.
28290         * math/s_asinhl.c: Likewise.
28291         * math/s_atanl.c: Likewise.
28292         * math/s_cbrtl.c: Likewise.
28293         * math/s_erfl.c: Likewise.
28294         * math/s_expm1l.c: Likewise.
28295         * math/s_log1pl.c: Likewise.
28296         * math/s_tanhl.c: Likewise.
28297         * misc/acct.c: Likewise.
28298         * misc/brk.c: Likewise.
28299         * misc/chflags.c: Likewise.
28300         * misc/chroot.c: Likewise.
28301         * misc/fchflags.c: Likewise.
28302         * misc/fgetxattr.c: Likewise.
28303         * misc/flistxattr.c: Likewise.
28304         * misc/fremovexattr.c: Likewise.
28305         * misc/fsetxattr.c: Likewise.
28306         * misc/fsync.c: Likewise.
28307         * misc/ftruncate.c: Likewise.
28308         * misc/futimes.c: Likewise.
28309         * misc/futimesat.c: Likewise.
28310         * misc/getdomain.c: Likewise.
28311         * misc/getdtsz.c: Likewise.
28312         * misc/gethostid.c: Likewise.
28313         * misc/gethostname.c: Likewise.
28314         * misc/getloadavg.c: Likewise.
28315         * misc/getpagesize.c: Likewise.
28316         * misc/getsysstats.c: Likewise.
28317         * misc/getxattr.c: Likewise.
28318         * misc/gtty.c: Likewise.
28319         * misc/ioctl.c: Likewise.
28320         * misc/lgetxattr.c: Likewise.
28321         * misc/listxattr.c: Likewise.
28322         * misc/llistxattr.c: Likewise.
28323         * misc/lremovexattr.c: Likewise.
28324         * misc/lsetxattr.c: Likewise.
28325         * misc/lutimes.c: Likewise.
28326         * misc/madvise.c: Likewise.
28327         * misc/mincore.c: Likewise.
28328         * misc/mlock.c: Likewise.
28329         * misc/mlockall.c: Likewise.
28330         * misc/mmap.c: Likewise.
28331         * misc/mprotect.c: Likewise.
28332         * misc/msync.c: Likewise.
28333         * misc/munlock.c: Likewise.
28334         * misc/munlockall.c: Likewise.
28335         * misc/munmap.c: Likewise.
28336         * misc/preadv.c: Likewise.
28337         * misc/preadv64.c: Likewise.
28338         * misc/ptrace.c: Likewise.
28339         * misc/pwritev.c: Likewise.
28340         * misc/pwritev64.c: Likewise.
28341         * misc/readv.c: Likewise.
28342         * misc/reboot.c: Likewise.
28343         * misc/remap_file_pages.c: Likewise.
28344         * misc/removexattr.c: Likewise.
28345         * misc/revoke.c: Likewise.
28346         * misc/select.c: Likewise.
28347         * misc/setdomain.c: Likewise.
28348         * misc/setegid.c: Likewise.
28349         * misc/seteuid.c: Likewise.
28350         * misc/sethostid.c: Likewise.
28351         * misc/sethostname.c: Likewise.
28352         * misc/setregid.c: Likewise.
28353         * misc/setreuid.c: Likewise.
28354         * misc/setxattr.c: Likewise.
28355         * misc/sstk.c: Likewise.
28356         * misc/stty.c: Likewise.
28357         * misc/swapoff.c: Likewise.
28358         * misc/swapon.c: Likewise.
28359         * misc/sync.c: Likewise.
28360         * misc/syncfs.c: Likewise.
28361         * misc/syscall.c: Likewise.
28362         * misc/truncate.c: Likewise.
28363         * misc/ualarm.c: Likewise.
28364         * misc/usleep.c: Likewise.
28365         * misc/ustat.c: Likewise.
28366         * misc/utimes.c: Likewise.
28367         * misc/vhangup.c: Likewise.
28368         * misc/writev.c: Likewise.
28369         * posix/_exit.c: Likewise.
28370         * posix/alarm.c: Likewise.
28371         * posix/execve.c: Likewise.
28372         * posix/fexecve.c: Likewise.
28373         * posix/fork.c: Likewise.
28374         * posix/fpathconf.c: Likewise.
28375         * posix/getaddrinfo.c: Likewise.
28376         * posix/getegid.c: Likewise.
28377         * posix/geteuid.c: Likewise.
28378         * posix/getgid.c: Likewise.
28379         * posix/getgroups.c: Likewise.
28380         * posix/getlogin.c: Likewise.
28381         * posix/getlogin_r.c: Likewise.
28382         * posix/getpgid.c: Likewise.
28383         * posix/getpid.c: Likewise.
28384         * posix/getppid.c: Likewise.
28385         * posix/getresgid.c: Likewise.
28386         * posix/getresuid.c: Likewise.
28387         * posix/getsid.c: Likewise.
28388         * posix/getuid.c: Likewise.
28389         * posix/glob64.c: Likewise.
28390         * posix/nanosleep.c: Likewise.
28391         * posix/pathconf.c: Likewise.
28392         * posix/pause.c: Likewise.
28393         * posix/posix_madvise.c: Likewise.
28394         * posix/pread.c: Likewise.
28395         * posix/pread64.c: Likewise.
28396         * posix/pwrite.c: Likewise.
28397         * posix/pwrite64.c: Likewise.
28398         * posix/sched_getaffinity.c: Likewise.
28399         * posix/sched_getp.c: Likewise.
28400         * posix/sched_gets.c: Likewise.
28401         * posix/sched_primax.c: Likewise.
28402         * posix/sched_primin.c: Likewise.
28403         * posix/sched_rr_gi.c: Likewise.
28404         * posix/sched_setaffinity.c: Likewise.
28405         * posix/sched_setp.c: Likewise.
28406         * posix/sched_sets.c: Likewise.
28407         * posix/sched_yield.c: Likewise.
28408         * posix/setgid.c: Likewise.
28409         * posix/setlogin.c: Likewise.
28410         * posix/setpgid.c: Likewise.
28411         * posix/setresgid.c: Likewise.
28412         * posix/setresuid.c: Likewise.
28413         * posix/setsid.c: Likewise.
28414         * posix/setuid.c: Likewise.
28415         * posix/sleep.c: Likewise.
28416         * posix/spawni.c: Likewise.
28417         * posix/sysconf.c: Likewise.
28418         * posix/times.c: Likewise.
28419         * posix/wait.c: Likewise.
28420         * posix/wait3.c: Likewise.
28421         * posix/wait4.c: Likewise.
28422         * posix/waitpid.c: Likewise.
28423         * resolv/gai_sigqueue.c: Likewise.
28424         * resource/getpriority.c: Likewise.
28425         * resource/getrlimit.c: Likewise.
28426         * resource/getrusage.c: Likewise.
28427         * resource/nice.c: Likewise.
28428         * resource/setpriority.c: Likewise.
28429         * resource/setrlimit.c: Likewise.
28430         * resource/ulimit.c: Likewise.
28431         * rt/aio_cancel.c: Likewise.
28432         * rt/aio_fsync.c: Likewise.
28433         * rt/aio_read.c: Likewise.
28434         * rt/aio_sigqueue.c: Likewise.
28435         * rt/aio_suspend.c: Likewise.
28436         * rt/aio_write.c: Likewise.
28437         * rt/clock_getres.c: Likewise.
28438         * rt/clock_gettime.c: Likewise.
28439         * rt/clock_nanosleep.c: Likewise.
28440         * rt/clock_settime.c: Likewise.
28441         * rt/lio_listio.c: Likewise.
28442         * rt/mq_close.c: Likewise.
28443         * rt/mq_getattr.c: Likewise.
28444         * rt/mq_notify.c: Likewise.
28445         * rt/mq_open.c: Likewise.
28446         * rt/mq_receive.c: Likewise.
28447         * rt/mq_send.c: Likewise.
28448         * rt/mq_setattr.c: Likewise.
28449         * rt/mq_timedreceive.c: Likewise.
28450         * rt/mq_timedsend.c: Likewise.
28451         * rt/mq_unlink.c: Likewise.
28452         * rt/shm_open.c: Likewise.
28453         * rt/shm_unlink.c: Likewise.
28454         * rt/timer_create.c: Likewise.
28455         * rt/timer_delete.c: Likewise.
28456         * rt/timer_getoverr.c: Likewise.
28457         * rt/timer_gettime.c: Likewise.
28458         * rt/timer_settime.c: Likewise.
28459         * setjmp/__longjmp.c: Likewise.
28460         * setjmp/setjmp.c: Likewise.
28461         * signal/kill.c: Likewise.
28462         * signal/killpg.c: Likewise.
28463         * signal/raise.c: Likewise.
28464         * signal/sigaction.c: Likewise.
28465         * signal/sigaltstack.c: Likewise.
28466         * signal/sigblock.c: Likewise.
28467         * signal/sigignore.c: Likewise.
28468         * signal/sigintr.c: Likewise.
28469         * signal/signal.c: Likewise.
28470         * signal/sigpause.c: Likewise.
28471         * signal/sigpending.c: Likewise.
28472         * signal/sigqueue.c: Likewise.
28473         * signal/sigreturn.c: Likewise.
28474         * signal/sigset.c: Likewise.
28475         * signal/sigsetmask.c: Likewise.
28476         * signal/sigstack.c: Likewise.
28477         * signal/sigsuspend.c: Likewise.
28478         * signal/sigtimedwait.c: Likewise.
28479         * signal/sigvec.c: Likewise.
28480         * signal/sigwait.c: Likewise.
28481         * signal/sigwaitinfo.c: Likewise.
28482         * signal/sysv_signal.c: Likewise.
28483         * socket/accept.c: Likewise.
28484         * socket/accept4.c: Likewise.
28485         * socket/bind.c: Likewise.
28486         * socket/connect.c: Likewise.
28487         * socket/getpeername.c: Likewise.
28488         * socket/getsockname.c: Likewise.
28489         * socket/getsockopt.c: Likewise.
28490         * socket/isfdtype.c: Likewise.
28491         * socket/listen.c: Likewise.
28492         * socket/recv.c: Likewise.
28493         * socket/recvfrom.c: Likewise.
28494         * socket/recvmsg.c: Likewise.
28495         * socket/send.c: Likewise.
28496         * socket/sendmsg.c: Likewise.
28497         * socket/sendto.c: Likewise.
28498         * socket/setsockopt.c: Likewise.
28499         * socket/shutdown.c: Likewise.
28500         * socket/sockatmark.c: Likewise.
28501         * socket/socket.c: Likewise.
28502         * socket/socketpair.c: Likewise.
28503         * stdio-common/ctermid.c: Likewise.
28504         * stdio-common/cuserid.c: Likewise.
28505         * stdio-common/remove.c: Likewise.
28506         * stdio-common/rename.c: Likewise.
28507         * stdio-common/renameat.c: Likewise.
28508         * stdio-common/tempname.c: Likewise.
28509         * stdlib/getcontext.c: Likewise.
28510         * stdlib/makecontext.c: Likewise.
28511         * stdlib/setcontext.c: Likewise.
28512         * stdlib/swapcontext.c: Likewise.
28513         * stdlib/system.c: Likewise.
28514         * streams/fattach.c: Likewise.
28515         * streams/fdetach.c: Likewise.
28516         * streams/getmsg.c: Likewise.
28517         * streams/getpmsg.c: Likewise.
28518         * streams/putmsg.c: Likewise.
28519         * streams/putpmsg.c: Likewise.
28520         * sysdeps/unix/bsd/getpt.c: Likewise.
28521         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28522         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28523         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28525         Likewise.
28526         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28527         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28528         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28529         * sysvipc/msgctl.c: Likewise.
28530         * sysvipc/msgget.c: Likewise.
28531         * sysvipc/msgrcv.c: Likewise.
28532         * sysvipc/msgsnd.c: Likewise.
28533         * sysvipc/semctl.c: Likewise.
28534         * sysvipc/semget.c: Likewise.
28535         * sysvipc/semop.c: Likewise.
28536         * sysvipc/semtimedop.c: Likewise.
28537         * sysvipc/shmat.c: Likewise.
28538         * sysvipc/shmctl.c: Likewise.
28539         * sysvipc/shmdt.c: Likewise.
28540         * sysvipc/shmget.c: Likewise.
28541         * termios/tcdrain.c: Likewise.
28542         * termios/tcflow.c: Likewise.
28543         * termios/tcflush.c: Likewise.
28544         * termios/tcgetattr.c: Likewise.
28545         * termios/tcgetpgrp.c: Likewise.
28546         * termios/tcsendbrk.c: Likewise.
28547         * termios/tcsetattr.c: Likewise.
28548         * termios/tcsetpgrp.c: Likewise.
28549         * time/adjtime.c: Likewise.
28550         * time/clock.c: Likewise.
28551         * time/getitimer.c: Likewise.
28552         * time/gettimeofday.c: Likewise.
28553         * time/setitimer.c: Likewise.
28554         * time/settimeofday.c: Likewise.
28555         * time/stime.c: Likewise.
28556         * time/time.c: Likewise.
28557
28558 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
28559
28560         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
28561         /usr/old/bin.
28562
28563         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
28564         instead of spaces.
28565         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
28566
28567 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
28568
28569         [BZ #14796]
28570         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
28571         FE_TONEAREST before applying Dekker multiplication and Knuth
28572         addition.  Clear inexact exceptions and check for exact zero
28573         results afterwards.
28574         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28575         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28576         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28577         * math/libm-test.inc (fma_test): Add more tests.
28578         (fma_test_towardzero): Likewise.
28579         (fma_test_downward): Likewise.
28580         (fma_test_upward): Likewise.
28581         * sysdeps/generic/math_private.h (default_libc_fesetround): New
28582         function.
28583         (libc_fesetround): New macro.
28584         (libc_fesetroundf): Likewise.
28585         (libc_fesetroundl): Likewise.
28586         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
28587         function.
28588         (libc_fesetround_387): Likewise.
28589         (libc_fesetroundf): New macro.
28590         (libc_fesetround): Likewise.
28591         (libc_fesetroundl): Likewise.
28592         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
28593         function.
28594         (libc_fesetroundf): New macro.
28595         (libc_fesetround): Likewise.
28596         (libc_fesetroundl): Likewise.
28597         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
28598         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
28599         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
28600         libm_hidden_ver.
28601         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
28602         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
28603         libm_hidden_def.
28604         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
28605         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
28606         libm_hidden_ver.
28607         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
28608         libm_hidden_def.
28609
28610         [BZ #3439]
28611         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
28612         integer constant usable in #if and use that to give value to enum
28613         constant.
28614         (FE_DIVBYZERO): Likewise.
28615         (FE_UNDERFLOW): Likewise.
28616         (FE_OVERFLOW): Likewise.
28617         (FE_INVALID): Likewise.
28618         (FE_INVALID_SNAN): Likewise.
28619         (FE_INVALID_ISI): Likewise.
28620         (FE_INVALID_IDI): Likewise.
28621         (FE_INVALID_ZDZ): Likewise.
28622         (FE_INVALID_IMZ): Likewise.
28623         (FE_INVALID_COMPARE): Likewise.
28624         (FE_INVALID_SOFTWARE): Likewise.
28625         (FE_INVALID_SQRT): Likewise.
28626         (FE_INVALID_INTEGER_CONVERSION): Likewise.
28627         (FE_TONEAREST): Likewise.
28628         (FE_TOWARDZERO): Likewise.
28629         (FE_UPWARD): Likewise.
28630         (FE_DOWNWARD): Likewise.
28631         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
28632         (FE_DIVBYZERO): Likewise.
28633         (FE_OVERFLOW): Likewise.
28634         (FE_UNDERFLOW): Likewise.
28635         (FE_INEXACT): Likewise.
28636         (FE_TONEAREST): Likewise.
28637         (FE_DOWNWARD): Likewise.
28638         (FE_UPWARD): Likewise.
28639         (FE_TOWARDZERO): Likewise.
28640         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
28641         (FE_UNDERFLOW): Likewise.
28642         (FE_OVERFLOW): Likewise.
28643         (FE_DIVBYZERO): Likewise.
28644         (FE_INVALID): Likewise.
28645         (FE_TONEAREST): Likewise.
28646         (FE_TOWARDZERO): Likewise.
28647         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
28648         (FE_OVERFLOW): Likewise.
28649         (FE_UNDERFLOW): Likewise.
28650         (FE_DIVBYZERO): Likewise.
28651         (FE_INEXACT): Likewise.
28652         (FE_TONEAREST): Likewise.
28653         (FE_TOWARDZERO): Likewise.
28654         (FE_UPWARD): Likewise.
28655         (FE_DOWNWARD): Likewise.
28656         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
28657         (FE_DIVBYZERO): Likewise.
28658         (FE_OVERFLOW): Likewise.
28659         (FE_UNDERFLOW): Likewise.
28660         (FE_INEXACT): Likewise.
28661         (FE_TONEAREST): Likewise.
28662         (FE_DOWNWARD): Likewise.
28663         (FE_UPWARD): Likewise.
28664         (FE_TOWARDZERO): Likewise.
28665
28666 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
28667
28668         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
28669
28670 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
28671
28672         * scripts/cross-test-ssh.sh (command): Use newlines to separate
28673         commands.  Quote $PWD.
28674         (blacklist_exports): Don't use remove_newlines.  Replace "declare
28675         -x" by "export".
28676         (remove_newlines): Remove.
28677
28678 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
28679
28680         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
28681         * stdlib/stdlib.h (atof): Moved to ...
28682         * include/bits/stdlib-float.h: Here.  New file.
28683         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
28684         * stdlib/bits/stdlib-float.h: New file.
28685         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
28686         -mno-sse -mno-mmx.
28687         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
28688         <xmmintrin.h>.
28689
28690 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
28691
28692         * conform/conformtest.pl (@headers): Add fenv.h.
28693         * conform/data/fenv.h-data: New file.
28694         * include/fenv.h [_ISOMAC]: Disable all contents of file except
28695         include of <math/fenv.h>.
28696
28697         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
28698         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
28699         && !UNIX98].  Enables tests for XOPEN2K8.
28700         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
28701         POSIX2008]: Likewise.
28702
28703         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
28704         (struct rusage): Do not expect type or its members.
28705
28706         [BZ #3439]
28707         * math/math.h (FP_NAN): Define macro to integer constant usable in
28708         #if and use that to give value to enum constant.
28709         (FP_INFINITE): Likewise.
28710         (FP_ZERO): Likewise.
28711         (FP_SUBNORMAL): Likewise.
28712         (FP_NORMAL): Likewise.
28713
28714 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
28715
28716         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
28717         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
28718         arguments.
28719
28720 2012-11-02  Roland McGrath  <roland@hack.frob.com>
28721
28722         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
28723         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
28724         autoconf-time if not.
28725         * configure.in: Remove AC_PREREQ.
28726
28727 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28728
28729         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
28730         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
28731         of the internal implementation.
28732
28733 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
28734
28735         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
28736         except include of <misc/sys/syslog.h>.
28737
28738 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
28739
28740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28741         function returns with a NULL context exit with zero.
28742
28743 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28744
28745         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
28746
28747 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
28748
28749         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
28750         (run_program_cmd): This.
28751         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
28752         (tst_langinfo): New variable.  Use it.
28753
28754 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
28755
28756         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
28757         floating point opcodes.
28758
28759 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
28760
28761         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
28762         variable.
28763
28764         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28765
28766         * sysdeps/mach/hurd/powerpc: Remove directory.
28767         * sysdeps/mach/powerpc: Likewise.
28768
28769 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
28770
28771         * scripts/check-local-headers.sh: Ignore c++ headers.
28772
28773 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
28774
28775         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
28776         __libc_cleanup_region_start argument.
28777
28778 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
28779
28780         [BZ #14784]
28781         [BZ #14785]
28782         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
28783         x * y using scaling, not as x * y + z.
28784         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28785         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28786         * math/libm-test.inc (fma_test): Add more tests.
28787         (fma_test_towardzero): Likewise.
28788         (fma_test_downward): Likewise.
28789         (fma_test_upward): Likewise.
28790
28791 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
28792
28793         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28794
28795 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
28796
28797         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28798         New variable.
28799
28800 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
28801
28802         * rt/tst-shm.c (worker): Correct checking for mmap failure.
28803
28804 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
28805
28806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28807         Fix sort order.
28808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28809         Likewise.
28810
28811 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28812
28813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28814         Fix the order of the list for glibc 2.17.
28815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28816         Likewise.
28817
28818 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
28819
28820         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28821
28822 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
28823
28824         [BZ #14610]
28825         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28826         for low part of x being zero before using __atanl (y).
28827         * math/libm-test.inc (atan2_test): Add another test.
28828
28829         * manual/install.texi (Configuring and compiling): Document
28830         general use of test-wrapper and test-wrapper-env.
28831         * INSTALL: Regenerated.
28832
28833         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28834         (__fma): Do not extract and scale down low bits on after-rounding
28835         systems when result rounded to normal precision would have normal
28836         exponent.
28837         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28838         (__fmal): Do not extract and scale down low bits on after-rounding
28839         systems when result rounded to normal precision would have normal
28840         exponent.
28841         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28842         (__fmal): Do not extract and scale down low bits on after-rounding
28843         systems when result rounded to normal precision would have normal
28844         exponent.
28845         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28846         macro.
28847         (fma_test): Add more tests.
28848         (fma_test_towardzero): Likewise.
28849         (fma_test_downward): Likewise.
28850         (fma_test_upward): Likewise.
28851
28852 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
28853
28854         * sysdeps/i386/tininess.h: Renamed to ...
28855         * sysdeps/x86/tininess.h: This.
28856         * sysdeps/x86_64/tininess.h: Removed.
28857
28858 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
28859
28860         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
28861         input.  Use $(build-program-cmd).
28862         ($(objpfx)tst-array1-static.out): Likewise.
28863         ($(objpfx)tst-array2.out): Likewise.
28864         ($(objpfx)tst-array3.out): Likewise.
28865         ($(objpfx)tst-array4.out): Likewise.
28866         ($(objpfx)tst-array5.out): Likewise.
28867         ($(objpfx)tst-array5-static.out): Likewise.
28868
28869 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
28870
28871         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
28872         if defined.
28873
28874         * nss/nsswitch.h (nss_interface_function): Provide new
28875         macro for use with NSS functions.
28876         * grp/initgroups.c: Use new macro.
28877         * nss/getXXbyYY.c: Likewise.
28878         * nss/getXXbyYY_r.c: Likewise.
28879         * nss/getXXent.c: Likewise.
28880         * nss/getXXent_r.c: Likewise.
28881         * sysdeps/posix/getaddrinfo.c: Likewise.
28882
28883 2012-10-30  Andreas Jaeger  <aj@suse.de>
28884
28885         * po/ru.po: Update Russion translation from translation project.
28886
28887 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
28888
28889         [BZ #14152]
28890         [BZ #14783]
28891         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
28892         result and shift together with sticky bit instead of replicating
28893         round-to-nearest rounding.
28894         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28895         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28896         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
28897         missing underflow exceptions.
28898         (fma_test_towardzero): Add more tests.
28899         (fma_test_downward): Likewise.
28900         (fma_test_upward): Likewise.
28901
28902         [BZ #14047]
28903         * sysdeps/generic/tininess.h: New file.
28904         * sysdeps/i386/tininess.h: Likewise.
28905         * sysdeps/sh/tininess.h: Likewise.
28906         * sysdeps/x86_64/tininess.h: Likewise.
28907         * stdlib/tst-strtod-underflow.c: Likewise.
28908         * stdlib/tst-tininess.c: Likewise.
28909         * stdlib/strtod_l.c: Include <tininess.h>.
28910         (round_and_return): Do not set errno for exact underflow cases.
28911         Force an underflow exception when setting errno for underflow.
28912         Determine underflow based on rounding to normal precision if
28913         TININESS_AFTER_ROUNDING.
28914         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
28915         ERANGE for exact underflow cases.
28916         * stdlib/Makefile (tests): Add tst-tininess and
28917         tst-strtod-underflow.
28918         ($(objpfx)tst-tininess): Use $(link-libm).
28919         ($(objpfx)tst-strtod-underflow): Likewise.
28920
28921 2012-10-30  Andreas Jaeger  <aj@suse.de>
28922
28923         [BZ#14767]
28924         * elf/Makefile (tests): Remove conditional for have-initfini-array
28925         since this is now always required and the variable does not exist
28926         anymore.
28927         (tests-static): Likewise.
28928         (modules-names): Likewise.
28929
28930         * po/eo.po: Add Esperanto translation from translation project.
28931
28932         * elf/tst-array1.c (fini_array): Make writeable so that it can be
28933         merged with constructor/destructor.
28934         (init_array): Likewise.
28935         * elf/tst-array2dep.c (fini_array): Likewise.
28936         (init_array): Likewise.
28937
28938 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
28939
28940         * manual/message.texi: Delete @cartouche tags.
28941
28942 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
28943
28944         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
28945         EOPNOTSUPP.
28946         * sysdeps/mach/hurd/fsync.c: Likewise.
28947
28948         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
28949         [_POSIX_REALTIME_SIGNALS]: Change condition to
28950         [_POSIX_REALTIME_SIGNALS > 0].
28951
28952 2012-10-27  Andreas Jaeger  <aj@suse.de>
28953
28954         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
28955         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
28956         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
28957         [__WORDSIZE != 64]: Likewise.
28958
28959 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
28960
28961         *  iconvdata/tst-table.sh: Remove ${SHELL}.
28962         *  iconvdata/tst-tables.sh: Likewise.
28963
28964 2012-10-25  David S. Miller  <davem@davemloft.net>
28965
28966         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28967         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
28968         of strtoull.
28969
28970         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
28971         ifunc-impl-list.c
28972         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28973         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
28974         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
28975         file.
28976
28977 2012-10-25  Roland McGrath  <roland@hack.frob.com>
28978
28979         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28980         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
28981         __getdirentries.
28982
28983 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
28984             Jim Blandy  <jimb@codesourcery.com>
28985
28986         * scripts/cross-test-ssh.sh: New file.
28987         * manual/install.texi (Configuring and compiling): Document use of
28988         cross-test-ssh.sh.
28989         * INSTALL: Regenerated.
28990
28991 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
28992
28993         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
28994         EOPNOTSUPP.
28995
28996 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
28997
28998         * Makeconfig (run-program-prefix): Fix comment.
28999
29000 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
29001             Jim Blandy  <jimb@codesourcery.com>
29002
29003         * Makeconfig (test-wrapper): New variable,
29004         (test-wrapper-env): Likewise.
29005         [$(cross-compiling) = yes && $(test-wrapper) != ""]
29006         (run-built-tests): Define to yes.
29007         (run-program-prefix): Use $(test-wrapper).
29008         (built-program-cmd): Likewise.
29009         * Rules (make-test-out): Use $(test-wrapper-env) and
29010         $(host-built-program-cmd).
29011         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29012         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29013         tst-pathopt.sh.
29014         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29015         $(test-wrapper-env) to tst-rtld-load-self.sh.
29016         ($(objpfx)order2.out): Use $(test-wrapper).
29017         ($(objpfx)tst-initorder.out): Likewise.
29018         ($(objpfx)tst-initorder2.out): Likewise.
29019         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
29020         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
29021         (test_wrapper_env): New variable.  Use it to run ld.so.
29022         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
29023         Use it to run ld.so.
29024         (test_wrapper_env): Likewise.
29025         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
29026         $(test-wrapper) to run-iconv-test.sh.
29027         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
29028         (ICONV): Use $test_wrapper.
29029         * posix/Makefile ($(objpfx)globtest.out): Pass
29030         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
29031         globtest.sh, not $(run-program-prefix).
29032         * posix/globtest.sh (run_via_rtld_prefix): New variable.
29033         (test_wrapper): Likewise.
29034         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
29035         set together with run_via_rtld_prefix.
29036         (run_program_prefix): Define in terms of test_wrapper and
29037         run_via_rtld_prefix.
29038
29039 2012-10-24  Roland McGrath  <roland@hack.frob.com>
29040
29041         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
29042         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
29043         Targets removed.
29044
29045         [BZ #14743]
29046         * include/time.h: Remove librt_hidden_proto (clock_gettime).
29047         Declare __clock_getres, __clock_gettime, __clock_settime,
29048         __clock_nanosleep, and __clock_getcpuclockid.
29049         * rt/clock_gettime.c: Define __clock_gettime as an alias.
29050         Remove librt_hidden_def (clock_gettime).
29051         * sysdeps/unix/clock_gettime.c: Likewise.
29052         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
29053         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29054         * rt/clock_getres.c: Define __clock_getres as an alias.
29055         * sysdeps/posix/clock_getres.c: Likewise.
29056         * rt/clock_settime.c: Define __clock_settime as an alias.
29057         * sysdeps/unix/clock_settime.c: Likewise.
29058         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29059         * sysdeps/unix/clock_nanosleep.c: Likewise.
29060         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29061         * rt/clock-compat.c: New file.
29062         * rt/Makefile (librt-routines): Add clock-compat and move
29063         $(clock-routines) to ...
29064         (routines): ... here, new variable.
29065         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29066         Don't add get_clockfreq here.
29067         * rt/Versions (libc: GLIBC_2.17): New version set.
29068         Add clock_* symbols here.
29069         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
29070         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29071         (GLIBC_2.17): Add clock_* symbols.
29072         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29073         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29074         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29076         Likewise.
29077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29078         Likewise.
29079         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29080         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29081         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29082         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29083         * NEWS: Mention the move.
29084
29085         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29086         Use __open, __read, __close rather than their public counterparts.
29087         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29088         (__get_clockfreq_via_cpuinfo): Likewise.
29089         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29090         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29091
29092         * config.h.in (HAVE_IFUNC): New #undef.
29093         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29094         was successful.
29095         * configure: Regenerated.
29096
29097 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
29098
29099         * configure.in: Move READELF check to start of file.
29100         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29101         libc_cv_asm_gnu_indirect_function in the process.
29102         * configure: Regenerated.
29103
29104 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
29105
29106         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29107         send the output to /dev/null.
29108         (libc_cv_cc_with_libunwind): Likewise.
29109         (libc_cv_as_noexecstack): Likewise.
29110         * configure: Regenerate.
29111
29112 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
29113
29114         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29115
29116         * posix/globtest.sh (TMPDIR): Do not set.
29117         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29118         (testout): Likewise.
29119
29120 2012-10-24  Andreas Jaeger  <aj@suse.de>
29121
29122         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29123         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29124         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29125         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29126         posix_fadvise64, posix_fallocate64.
29127
29128         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29129         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29130         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29131         Likewise.
29132         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29133         Likewise.
29134         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29135
29136         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29137         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29138         <bits/fcntl-linux.h>.
29139         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29140
29141         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29142         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29143         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29144         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29145         [__WORDSIZE != 64]: Likewise.
29146
29147 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
29148
29149         * Makeconfig (run-built-tests): New variable.
29150         * Rules [$(cross-compiling) = yes]: Change condition to
29151         [$(run-built-tests) = no].
29152         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29153         to [$(run-built-tests) = yes].
29154         * elf/Makefile [$(cross-compiling) = no]: Likewise
29155         * grp/Makefile [$(cross-compiling) = no]: Likewise.
29156         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29157         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29158         * intl/Makefile [$(cross-compiling) = no]: Likewise.
29159         * io/Makefile [$(cross-compiling) = no]: Likewise.
29160         * libio/Makefile [$(cross-compiling) = no]: Likewise.
29161         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29162         * misc/Makefile [$(cross-compiling) = no]: Likewise.
29163         * posix/Makefile [$(cross-compiling) = no]: Likewise.
29164         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29165         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29166         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29167         * string/Makefile [$(cross-compiling) = no]: Likewise.
29168
29169         * posix/Makefile ($(objpfx)globtest.out): Pass
29170         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29171         $(rtld-installed-name).
29172         * posix/globtest.sh (elf_objpfx): Remove variable.
29173         (rtld_installed_name): Likewise.
29174         (library_path): Likewise.
29175         (run_program_prefix): New variable.  Use for running globtest
29176         binary.
29177
29178 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
29179             Joseph Myers  <joseph@codesourcery.com>
29180
29181         * Makeconfig (host-built-program-cmd): New variable.
29182         * elf/Makefile (tst-stackguard1-ARGS): Use
29183         $(host-built-program-cmd).
29184         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29185         (tst-spawn-ARGS): Likewise.
29186         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29187
29188 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
29189             Jim Blandy  <jimb@codesourcery.com>
29190
29191         * Makeconfig (run-via-rtld-prefix): New variable.
29192         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29193         (built-program-cmd): Likewise.
29194
29195 2012-10-22  Andreas Jaeger  <aj@suse.de>
29196
29197         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29198         __O_RSYNC if it exists, otherwise to O_SYNC.
29199
29200 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
29201             Joseph Myers  <joseph@codesourcery.com>
29202
29203         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
29204         /dev/null.
29205         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29206         from /dev/null
29207         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
29208         /dev/null.
29209
29210 2012-10-22  Andreas Jaeger  <aj@suse.de>
29211
29212         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29213         Define always.
29214         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29215
29216         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29217         bits/fcntl-linux.h.
29218
29219         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29220         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29221
29222         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29223         to __O_LARGEFILE.
29224         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29225         to __O_LARGEFILE.
29226
29227 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
29228             Joseph Myers  <joseph@codesourcery.com>
29229
29230         * config.make.in (NM): New variable.
29231
29232 2012-10-21  Andreas Jaeger  <aj@suse.de>
29233
29234         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29235         definitions and declarations that are provided by
29236         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29237
29238 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
29239
29240         [BZ #14683]
29241         * elf/Makefile (tests-static): Add tst-leaks1-static.
29242         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29243         ($(objpfx)tst-leaks1-static): New rule.
29244         ($(objpfx)tst-leaks1-static-mem): Likewise.
29245         (tst-leaks1-static-ENV): New macro.
29246         * elf/dl-open.c (dl_open_worker): Check the main application
29247         only if SHARED is defined.
29248         * elf/tst-leaks1-static.c: New file.
29249
29250 2012-10-20  Andreas Jaeger  <aj@suse.de>
29251
29252         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29253         generic values for Linux.
29254         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29255         and declarations that are provided by <bits/fcntl-linux.h> and
29256         include <bits/fcntl-linux.h>.
29257         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29258         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29259
29260 2012-10-20  Roland McGrath  <roland@hack.frob.com>
29261
29262         * io/fcntl.h: Move include of <bits/types.h> to the top and
29263         include it unconditionally.
29264
29265 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
29266
29267         * wcsmbs/Makefile (tests-ifunc): New variable.
29268         (tests): Add $(tests-ifunc).
29269         * wcsmbs/test-wcschr-ifunc.c: New file.
29270         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29271         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29272         * wcsmbs/test-wcslen-ifunc.c: Likewise.
29273         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29274         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29275
29276         * string/Makefile (tests-ifunc): New variable.
29277         (tests): Add $(tests-ifunc).
29278         * string/test-memccpy.c (TEST_NAME): New macro.
29279         * string/test-memchr.c (TEST_NAME): Likewise.
29280         * string/test-memcmp.c (TEST_NAME): Likewise.
29281         * string/test-memcpy.c (TEST_NAME): Likewise.
29282         * string/test-memmem.c (TEST_NAME): Likewise.
29283         * string/test-memmove.c (TEST_NAME): Likewise.
29284         * string/test-memset.c (TEST_NAME): Likewise.
29285         * string/test-rawmemchr.c (TEST_NAME): Likewise.
29286         * string/test-stpcpy.c (TEST_NAME): Likewise.
29287         * string/test-stpncpy.c (TEST_NAME): Likewise.
29288         * string/test-strcasecmp.c (TEST_NAME): Likewise.
29289         * string/test-strcasestr.c (TEST_NAME): Likewise.
29290         * string/test-strcat.c (TEST_NAME): Likewise.
29291         * string/test-strchr.c (TEST_NAME): Likewise.
29292         * string/test-strcmp.c(TEST_NAME): Likewise.
29293         * string/test-strcpy.c (TEST_NAME): Likewise.
29294         * string/test-strcspn.c (TEST_NAME): Likewise.
29295         * string/test-strlen.c (TEST_NAME): Likewise.
29296         * string/test-strncasecmp.c (TEST_NAME): Likewise.
29297         * string/test-strncmp.c (TEST_NAME): Likewise.
29298         * string/test-strncpy.c (TEST_NAME): Likewise.
29299         * string/test-strnlen.c (TEST_NAME): Likewise.
29300         * string/test-strpbrk.c (TEST_NAME): Likewise.
29301         * string/test-strrchr.c (TEST_NAME): Likewise.
29302         * string/test-strspn.c (TEST_NAME): Likewise.
29303         * string/test-strstr.c (TEST_NAME): Likewise.
29304         * string/test-bcopy-ifunc.c: New file.
29305         * string/test-bzero-ifunc.c: Likewise.
29306         * string/test-memccpy-ifunc.c: Likewise.
29307         * string/test-memchr-ifunc.c: Likewise.
29308         * string/test-memcmp-ifunc.c: Likewise.
29309         * string/test-memcpy-ifunc.c: Likewise.
29310         * string/test-memmem-ifunc.c: Likewise.
29311         * string/test-memmove-ifunc.c: Likewise.
29312         * string/test-mempcpy-ifunc.c: Likewise.
29313         * string/test-memset-ifunc.c: Likewise.
29314         * string/test-rawmemchr-ifunc.c: Likewise.
29315         * string/test-stpcpy-ifunc.c: Likewise.
29316         * string/test-stpncpy-ifunc.c: Likewise.
29317         * string/test-strcasecmp-ifunc.c: Likewise.
29318         * string/test-strcasestr-ifunc.c: Likewise.
29319         * string/test-strcat-ifunc.c: Likewise.
29320         * string/test-strchr-ifunc.c: Likewise.
29321         * string/test-strchrnul-ifunc.c: Likewise.
29322         * string/test-strcmp-ifunc.c: Likewise.
29323         * string/test-strcpy-ifunc.c: Likewise.
29324         * string/test-strcspn-ifunc.c: Likewise.
29325         * string/test-strlen-ifunc.c: Likewise.
29326         * string/test-strncasecmp-ifunc.c: Likewise.
29327         * string/test-strncat-ifunc.c: Likewise.
29328         * string/test-strncmp-ifunc.c: Likewise.
29329         * string/test-strncpy-ifunc.c: Likewise.
29330         * string/test-strnlen-ifunc.c: Likewise.
29331         * string/test-strpbrk-ifunc.c: Likewise.
29332         * string/test-strrchr-ifunc.c: Likewise.
29333         * string/test-strspn-ifunc.c: Likewise.
29334         * string/test-strstr-ifunc.c: Likewise.
29335
29336         * debug/Makefile (tests-ifunc): New variable.
29337         (tests): Add $(tests-ifunc).
29338         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
29339         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
29340         * debug/test-stpcpy_chk-ifunc.c: New file.
29341         * debug/test-strcpy_chk-ifunc.c: Likewise.
29342
29343 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29344
29345         [BZ #13601]
29346         * elf/dl-load.c (open_verify): Retry read if the entire ELF
29347         header is not read in.
29348
29349 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
29350
29351         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
29352         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
29353         directly.  Pass built executable to script as
29354         $(built-program-cmd).
29355         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
29356         $testprogram without using LD_LIBRARY_PATH and $ldso.
29357
29358         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
29359         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
29360         $(rtld-installed-name).
29361         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
29362         (rtld_installed_name): Likewise.
29363         (library_path): Likewise.
29364         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
29365         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
29366         $(run-program-prefix) to tst-tables.sh.
29367         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
29368         it to run tst-table-from and tst-table-to.
29369         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
29370         Pass it to tst-table.sh.
29371         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
29372         $(run-program-prefix) to tst-gettext.sh.
29373         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
29374         tst-translit.sh.
29375         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
29376         tst-gettext2.sh.
29377         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
29378         to run tst-gettext.
29379         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
29380         to run tst-gettext2.
29381         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
29382         to run tst-translit.
29383         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
29384         $(run-program-prefix) to tst-mtrace.sh.
29385         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
29386         to run tst-mtrace.
29387         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
29388         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
29389         $(rtld-installed-name).
29390         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
29391         (rtld_installed_name): Likewise.
29392         (run_program_prefix): New variable.  Use it to run wordexp-test.
29393
29394         * Makeconfig (ARCH): Remove all definitions.
29395         (machine): Likewise.
29396         [ARCH]: Remove conditional code.
29397         [!objdir]: Give error.
29398         [!objdir] (objpfx): Remove.
29399         [!objdir] (common-objpfx): Likewise.
29400         [!objdir] (common-objdir): Likewise.
29401         * configure.in (config_makefile): Remove.  Hardcode Makefile in
29402         AC_CONFIG_FILES call.
29403         * configure: Regenerated.
29404
29405         [BZ #13888]
29406         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29407         or TMPDIR.
29408         (testout): Likewise.
29409
29410         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29411         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29412         $(rtld-installed-name).
29413         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29414         (rtld_installed_name): Likwise.
29415         (runit): Remove function.
29416         (run_getconf): New variable,  Use it for running getconf binary.
29417
29418 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
29419
29420         [BZ #14716]
29421         * string/test-memmem.c (check_result): New function.
29422         (do_one_test): Use it.
29423         (check1): New function.
29424         (test_main): Use it.
29425
29426 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
29427
29428         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29429
29430 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
29431
29432         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29433         (_G_LSEEK64): Likewise.
29434         (_G_MMAP64): Likewise.
29435         (_G_FSTAT64): Likewise.
29436         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29437         (_G_LSEEK64): Likewise.
29438         (_G_MMAP64): Likewise.
29439         (_G_FSTAT64): Likewise.
29440         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29441         unconditional.  Call __mmap64 directly.
29442         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29443         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
29444         __lseek64 directly.
29445         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29446         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
29447         __mmap64 directly.
29448         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29449         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
29450         __lseek64 directly.
29451         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29452         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
29453         __lseek64 directly.
29454         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29455         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
29456         __lseek64 directly.
29457         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29458         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
29459         __fxstat64 directly.
29460         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29461         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29462         unconditional.
29463         (freopen64) [!_G_OPEN64]: Remove conditional code.
29464         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29465         unconditional.
29466         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29467         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29468         unconditional.
29469         (ftello64) [!_G_LSEEK64]: Remove conditional code.
29470         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29471         unconditional.
29472         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29473         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29474         unconditional.
29475         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29476         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29477         unconditional.
29478         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29479         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29480         unconditional.
29481         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29482         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29483         unconditional.
29484         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29485
29486 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29487
29488         [BZ #12140]
29489         * manual/memory.texi (Malloc Tunable Parameters): Add note
29490         about free list pointers overwriting some perturb bytes.
29491         Wording suggested by Roland McGrath.
29492
29493 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
29494
29495         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29496         (lgamma_test): Likewise.
29497         (tgamma_test): Likewise.
29498
29499 2012-10-16  Florian Weimer  <fweimer@redhat.com>
29500
29501         [BZ #14700]
29502         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29503         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29504
29505 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
29506
29507         * NEWS: Mention BZ #14716.
29508         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29509         when removing AVAILABLE1_USES_J macro.
29510
29511 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
29512
29513         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29514         (__bswap_64): __uint64_t for unsigned 64-bit int.
29515
29516 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
29517
29518         * include/string.h (memmem): Declare libc hidden alias.
29519         * string/memmem.c (memmem): Define libc hidden alias.
29520         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29521         __read, __close instead of open, read, close.
29522
29523 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
29524
29525         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29526         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29527         global and hidden.
29528         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29529         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29530         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29531         Likewise.
29532         (__rawmemchr_sse2): Likewise.
29533         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
29534         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
29535         (__strchr_sse2): Likewise.
29536         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
29537         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
29538         (__strcasecmp_sse2): Likewise.
29539         (__strncasecmp_sse2): Likewise.
29540         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
29541         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
29542         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
29543         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
29544         (__strrchr_sse2): Likewise.
29545         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
29546         ifunc-impl-list.c.
29547         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29548         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29549         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29550         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29551         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29552         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29553         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29554         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29555         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
29556         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
29557         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
29558         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
29559         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
29560         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29561         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29562         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29563         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29564         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29565         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
29566         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
29567         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
29568         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
29569         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
29570         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29571         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
29572         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29573         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29574         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29575         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29576         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29577
29578         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
29579         global and hidden.
29580         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
29581         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
29582         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
29583         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
29584         Likewise.
29585         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
29586         Likewise.
29587         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
29588         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
29589         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
29590         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
29591         ifunc-impl-list.c.
29592         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29593         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29594         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29595         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29596         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29597         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29598         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29599         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29600         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29601         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29602         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29603         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29604         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29605         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29606         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29607         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29608         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29609         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
29610         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29611         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29612         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29613         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29614         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29615         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29616         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29617         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29618         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29619         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29620         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29621         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29622         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29623         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29624         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29625         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
29626         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29627         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29628         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29629         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29630         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29631         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29632         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
29633
29634         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
29635         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
29636         * include/ifunc-impl-list.h: New file.
29637         * misc/ifunc-impl-list.c: Likewise.
29638         * misc/Makefile (routines): Add ifunc-impl-list.
29639         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
29640         * string/test-string.h: Include <ifunc-impl-list.h>.
29641         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
29642         TEST_NAME]: New variables.
29643         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
29644         are defined.
29645         (test_init): Call __libc_ifunc_impl_list to initialize
29646         func_list if TEST_IFUNC and TEST_NAME are defined.
29647
29648         * string/Makefile (strop-tests): Add bcopy and bzero.
29649         * string/test-bcopy.c: New file.
29650         * string/test-bzero.c: Likewise.
29651         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
29652         defined.
29653         * string/test-memset.c: Support bzero test if TEST_BZERO is
29654         defined.
29655         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
29656         __libc_memmove.
29657         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
29658         __libc_memset.
29659         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
29660         of memset.
29661
29662 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
29663
29664         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
29665         * configure: Regenerated.
29666
29667         * Makeconfig (+link-static-before-libc): Don't include
29668         $(link-static-libc).
29669
29670         * libio/libio.h (_IO_pos_t): Remove.
29671
29672 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
29673
29674         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
29675         McGrath.
29676
29677 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
29678
29679         * crypt/crypt-entry.c: Include fips-private.h.
29680         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
29681         * crypt/md5c-test.c (main): Tolerate disabled MD5.
29682         * sysdeps/unix/sysv/linux/fips-private.h: New file.
29683         * sysdeps/generic/fips-private.h: New file, dummy fallback.
29684
29685 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
29686
29687         * crypt/crypt-private.h: Include stdbool.h.
29688         (_ufc_setup_salt_r): Return bool.
29689         * crypt/crypt-entry.c: Include errno.h.
29690         (__crypt_r): Return NULL with EINVAL for bad salt.
29691         * crypt/crypt_util.c (bad_for_salt): New.
29692         (_ufc_setup_salt_r): Check that salt is long enough and within
29693         the specified alphabet.
29694         * crypt/badsalttest.c: New file.
29695         * crypt/Makefile (tests): Add it.
29696         ($(objpfx)badsalttest): New.
29697
29698 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
29699
29700         * NEWS: Add entry for BZ #14602.
29701
29702 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
29703
29704         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
29705         type-generic.
29706         * math/libm-test.inc: Update comment listing what functions and
29707         macros are tested.
29708         (isgreater_test): New function.
29709         (isgreaterequal_test): Likewise.
29710         (isless_test): Likewise.
29711         (islessequal_test): Likewise.
29712         (islessgreater_test): Likewise.
29713         (isunordered_test): Likewise.
29714         (main): Call the new functions.
29715
29716 2012-10-09  Roland McGrath  <roland@hack.frob.com>
29717
29718         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
29719         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
29720         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
29721         * sysdeps/i386/configure: Regenerated.
29722         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
29723         * sysdeps/mach/configure: Regenerated.
29724         * sysdeps/mach/hurd/configure: Regenerated.
29725         * sysdeps/powerpc/configure: Regenerated.
29726         * sysdeps/powerpc/powerpc32/configure: Regenerated.
29727         * sysdeps/powerpc/powerpc64/configure: Regenerated.
29728         * sysdeps/s390/s390-32/configure: Regenerated.
29729         * sysdeps/s390/s390-64/configure: Regenerated.
29730         * sysdeps/sh/configure: Regenerated.
29731         * sysdeps/sparc/configure: Regenerated.
29732         * sysdeps/unix/sysv/linux/configure: Regenerated.
29733         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29734         * sysdeps/x86_64/configure: Regenerated.
29735
29736         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
29737         defined.  Don't check if MAP is NULL.
29738
29739 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
29740
29741         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
29742         (_G_stat64): Likewise.
29743         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29744         (_G_stat64): Likewise.
29745         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
29746         instead of struct _G_stat64.
29747         * libio/fileops.c (mmap_remap_check): Likewise.
29748         (decide_maybe_mmap): Likewise.
29749         (_IO_new_file_seekoff): Likewise.
29750         (_IO_file_stat): Likewise.
29751         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
29752         _G_off64_t.
29753         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
29754         instead of struct _G_stat64.
29755         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29756
29757 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
29758
29759         [BZ #14602]
29760         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29761         Replace with ...
29762         (CHECK_EOL): New macro.
29763         (two_way_short_needle): Check beginning of haystack for EOL.  Use
29764         CHECK_EOL.
29765         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29766         Replace with CHECK_EOL.
29767         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29768         Replace with CHECK_EOL.
29769
29770 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
29771
29772         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
29773         type-generic.
29774         * math/libm-test.inc: Update comment listing what functions and
29775         macros are tested.
29776         (finite_test): New function.
29777         (isinf_test): Likewise.
29778         (isnan_test): Likewise.
29779         (fpclassify_test): Test subnormal input.
29780         (isfinite_test): Likewise.
29781         (isnormal_test): Likewise.
29782         (main): Call the new functions.
29783
29784 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
29785
29786         [BZ #14660]
29787         * Makerules (%.dynsym): Force C locale when running
29788         $(OBJDUMP) --dynamic-syms.
29789
29790 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
29791
29792         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
29793         <stdint.h>.
29794
29795 2012-10-06  David S. Miller  <davem@davemloft.net>
29796
29797         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29798         upper 32-bits of the length value in %o2 since we use branch-on-register
29799         tests which consider the entire 64-bit register.
29800
29801 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
29802
29803         * string/test-strstr.c (check2): Add a test for page boundary.
29804
29805 2012-10-05  David S. Miller  <davem@davemloft.net>
29806
29807         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29808         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29809         file.
29810         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29811         sysdep_routines.
29812         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29813         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29814         and bzero when HWCAP_SPARC_CRYPTO is present.
29815
29816 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
29817
29818         [BZ #14602]
29819         * string/test-strstr.c (check2): New function.
29820         (test_main): Call check2.
29821
29822         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29823         and bug-strchr1.
29824         * string/bug-strcasestr1.c (do_test): Moved to ...
29825         * string/test-strcasestr.c (check1): Here.  New function.
29826         (do_one_test): Break out result checking code into ...
29827         (check_result): This.  New function.
29828         (do_one_test): Call check_result.
29829         (test_main): Call check1.
29830         * string/bug-strchr1.c (do_test): Moved to ...
29831         * string/test-strchr.c (check1): Here.  New function.
29832         (do_one_test): Break out result checking code into ...
29833         (check_result): This.  New function.
29834         (do_one_test): Call check_result.
29835         (test_main): Call check1.
29836         * string/bug-strstr1.c (main): Moved to ...
29837         * string/test-strstr.c (check1): Here.  New function.
29838         (do_one_test): Break out result checking code into ...
29839         (check_result): This.  New function.
29840         (do_one_test): Call check_result.
29841         (test_main): Call check1.
29842         * string/bug-strcasestr1.c: Removed.
29843         * string/bug-strchr1.c: Likewise.
29844         * string/bug-strstr1.c: Likewise.
29845
29846         * elf/Makefile (dl-routines): Add hwcaps.
29847         * elf/dl-support.c (_dl_important_hwcaps): Removed.
29848         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29849         (_dl_important_hwcaps): Moved to ...
29850         * elf/dl-hwcaps.c: Here.  New file.
29851         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29852
29853         [BZ #14557]
29854         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29855         if IS_IN_rtld isn't defined.
29856
29857         * elf/dl-support.c (_dl_sysinfo_map): New.
29858         Include "get-dynamic-info.h" and "setup-vdso.h".
29859         (_dl_non_dynamic_init): Call setup_vdso.
29860         * elf/dynamic-link.h: Don't include <assert.h>.
29861         (elf_get_dynamic_info): Moved to ...
29862         * elf/get-dynamic-info.h: Here.  New file.
29863         * elf/dynamic-link.h: Include "get-dynamic-info.h".
29864         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
29865         * elf/setup-vdso.h: Here.  New file.
29866         * elf/rtld.c: Include "setup-vdso.h".
29867         (dl_main): Call setup_vdso.
29868
29869 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
29870
29871         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
29872         creal in comment listing functions tested.  List finite, isinf,
29873         isnan, isless, islessequal, isgreater, isgreaterequal,
29874         islessgreater, isunordered, lgamma_r and pow10 as functions and
29875         macros not tested.  Mention which functions not tested are aliases
29876         for other functions.  Fix typo.  Note that signs of NaNs are not
29877         tested.
29878
29879         * scripts/config.guess: Update from config.git.
29880         * scripts/config.sub: Likewise.
29881
29882 2012-10-04  Roland McGrath  <roland@hack.frob.com>
29883
29884         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
29885         * misc/madvise.c (madvise): Renamed to __madvise.
29886         Make madvise a weak alias.
29887         * include/sys/mman.h: Declare __madvise.
29888         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
29889         * sysdeps/unix/syscalls.list
29890         (madvise): Make __madvise the strong name, and madvise a weak alias.
29891         * sysdeps/unix/sysv/linux/syscalls.list
29892         (madvise, mmap): Remove redundant entries.
29893         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
29894         * malloc/malloc.c (mtrim): Likewise.
29895         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
29896
29897 2012-10-03  Roland McGrath  <roland@hack.frob.com>
29898
29899         * sysdeps/mach/hurd/dl-cache.c: File removed.
29900         * config.h.in (USE_LDCONFIG): New #undef.
29901         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
29902         * configure: Regenerated.
29903         * elf/Makefile (dl-routines): Add dl-cache only under
29904         [$(use-ldconfig) = yes].
29905         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
29906         cache on [USE_LDCONFIG].
29907         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
29908         [USE_LDCONFIG].
29909         * elf/rtld.c (dl_main): Likewise.
29910
29911 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
29912
29913         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
29914         _SC_LEVEL4_CACHE_LINESIZE.
29915
29916 2012-10-03  Roland McGrath  <roland@hack.frob.com>
29917
29918         * sysdeps/unix/bsd/confstr.h: File removed.
29919
29920 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
29921
29922         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
29923         sys/sdt-config.h.
29924
29925 2012-10-02  Roland McGrath  <roland@hack.frob.com>
29926
29927         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
29928         Make 'mapoff' field ElfW(Off) rather than off_t.
29929
29930 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
29931
29932         * nscd/Makefile: Remove nscd-cflags and all its users.
29933         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
29934         (CFLAGS-nonlib): Add compiler flags for nscd modules.
29935
29936         [BZ #10631]
29937         * malloc.c (malloc_printerr): Clarify error message.
29938
29939 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
29940
29941         [BZ #14648]
29942         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29943         Set bit_FMA_Usable if FMA is supported.
29944         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
29945         macro.
29946         (bit_FMA4_Usable): Updated.
29947         (index_FMA_Usable): New macro.
29948         (CPUID_FMA): Likewise
29949         (HAS_FMA): Defined with bit_FMA_Usable.
29950
29951 2012-10-01  Roland McGrath  <roland@hack.frob.com>
29952
29953         * bits/types.h (__swblk_t): Type removed.
29954         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
29955         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
29956         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29957         (__SWBLK_T_TYPE): Likewise.
29958         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
29959         (__SWBLK_T_TYPE): Likewise.
29960         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29961         (__SWBLK_T_TYPE): Likewise.
29962         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29963         (__SWBLK_T_TYPE): Likewise.
29964
29965 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
29966             Honza Horak <hhorak@redhat.com>
29967
29968         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
29969         (xdr_mapname): Use YPMAXMAP as maxsize.
29970         (xdr_peername): Use YPMAXPEER as maxsize.
29971         (xdr_keydat): Use YPAXRECORD as maxsize.
29972         (xdr_valdat): Use YPMAXRECORD as maxsize.
29973
29974 2012-10-01  Roland McGrath  <roland@hack.frob.com>
29975
29976         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
29977
29978         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
29979         * csu/init-first.c: ... here.
29980         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
29981         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
29982         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29983         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29984         * sysdeps/i386/init-first.c: File removed.
29985         * sysdeps/sh/init-first.c: File removed.
29986
29987 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
29988
29989         [BZ #14645]
29990         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
29991         if x * y might underflow to zero and z is zero.
29992         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29993         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29994         * math/libm-test.inc (min_subnorm_value): New variable.
29995         (fma_test): Add more tests.
29996         (fma_test_towardzero): Likewise.
29997         (fma_test_downward): Likewise
29998         (fma_test_upward): Likewise.
29999         (initialize): Set min_subnorm_value.
30000
30001 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
30002
30003         [BZ #14638]
30004         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
30005         0 + 0.
30006         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
30007         mode for addition resulting in exact zero.
30008         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
30009         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
30010         exact 0 + 0.
30011         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30012         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30013         * math/libm-test.inc (fma_test): Add more tests.
30014         (fma_test_towardzero): New function.
30015         (fma_test_downward): Likewise.
30016         (fma_test_upward): Likewise.
30017         (main): Call the new functions.
30018
30019 2012-09-28  David S. Miller  <davem@davemloft.net>
30020
30021         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
30022
30023 2012-09-28  Roland McGrath  <roland@hack.frob.com>
30024
30025         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
30026         instead of SIGALRM.
30027
30028         * sysdeps/gnu/_G_config.h: Moved to ...
30029         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30030         * sysdeps/mach/hurd/_G_config.h: Moved to ...
30031         * sysdeps/generic/_G_config.h: ... here.
30032
30033         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
30034
30035         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
30036
30037         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30038         Conditionalize target on [libnss_test1.so-version].
30039
30040         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
30041
30042         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
30043         (elfobjdir): Move out of conditionals.
30044
30045         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
30046         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
30047         (__nss_lookup_function): Conditionalize label remove_from_tree on
30048         [!DO_STATIC_NSS || SHARED], matching its only use.
30049
30050 2012-09-28  David S. Miller  <davem@davemloft.net>
30051
30052         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
30053         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
30054         file.
30055         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30056         sysdep_routines.
30057         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30058         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30059         when HWCAP_SPARC_CRYPTO is present.
30060
30061 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30062
30063         * io/tst-mknodat.c: Create a FIFO instead of a socket.
30064
30065 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
30066
30067         [BZ #6530]
30068         * stdio-common/vfprintf.c (process_string_arg): Revert
30069         2000-07-22 change.
30070
30071 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
30072
30073         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30074         for testcase.
30075         * stdio-common/tst-sprintf.c: Include <locale.h>
30076         (main): Test sprintf's handling of incomplete multibyte
30077         characters.
30078
30079 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
30080
30081         * elf/dl-runtime.c (VERSYMIDX): Removed.
30082         * elf/dl-version.c (VERSYMIDX): Likewise.
30083         * elf/do-rel.h (VERSYMIDX): Likewise.
30084         (VALIDX): Likewise.
30085         * elf/dynamic-link.h (VERSYMIDX): Likewise.
30086         * elf/rtld.c (VALIDX): Likewise.
30087         (ADDRIDX): Likewise.
30088         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30089         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30090         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
30091         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30092         (VALIDX): Likewise.
30093         (ADDRIDX): Likewise.
30094
30095 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30096
30097         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30098
30099 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
30100
30101         [BZ #11438]
30102         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30103         to global scope.
30104         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30105         addresses are in the same scope as 192.0.2/24.
30106         * posix/gai.conf: Document new scope table defaults.
30107
30108 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30109
30110         [BZ #5298]
30111         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30112         for ftell.  Compute offsets from write pointers instead.
30113         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30114
30115 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30116
30117         [BZ #14543]
30118         * libio/Makefile (tests): New test case tst-fseek.
30119         * libio/tst-fseek.c: New test case to verify that fseek/ftell
30120         combination works in wide mode.
30121         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30122         state when the external buffer state changes.
30123
30124 2012-09-27  David S. Miller  <davem@davemloft.net>
30125
30126         [BZ #14376]
30127         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30128         pass reloc->r_addend in as the 'high' argument to
30129         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30130
30131         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30132
30133 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
30134
30135         * rt/tst-aio2.c: Include <pthread.h>.
30136         * rt/tst-aio3.c: Likewise.
30137
30138 2012-09-27  Steve Ellcey  <sellcey@mips.com>
30139
30140         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30141
30142 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
30143
30144         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30145         contents on [SHARED].
30146
30147 2012-09-26  Marek Polacek  <polacek@redhat.com>
30148
30149         [BZ #14530]
30150         [BZ #13741]
30151         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30152         for C++ and GCC <4.3 as well as for non GCC compilers.
30153
30154 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
30155
30156         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30157
30158 2012-09-25  Roland McGrath  <roland@hack.frob.com>
30159
30160         * Makefile.in (all, install): Declare with .PHONY.
30161         Reported by Michael Hope <michael.hope@linaro.org>.
30162
30163 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30164
30165         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30166         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30167         system header.
30168         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30169         Likewise.
30170         (sydep_routines): Add the new and the internal functions.
30171         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30172         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30174         (GLIBC_2.17): Add the new function.
30175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30176         (GLIBC_2.17): Likewise.
30177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30178         (GLIBC_2.17): Likewise.
30179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30180         (GLIBC_2.17): Likewise.
30181         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30182
30183 2012-09-25  Alan Modra  <amodra@gmail.com>
30184
30185         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30186         Add release barrier before setting once_control to say
30187         initialisation is done.  Add hints on lwarx.  Use macro in
30188         place of isync.
30189         (clear_once_control): Add release barrier.
30190
30191 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
30192
30193         [BZ #13629]
30194         * math/s_clog.c (__clog): Handle more values close to |z| = 1
30195         specially.
30196         * math/s_clog10.c (__clog10): Likewise.
30197         * math/s_clog10f.c (__clog10f): Likewise.
30198         * math/s_clog10l.c (__clog10l): Likewise.
30199         * math/s_clogf.c (__clogf): Likewise.
30200         * math/s_clogl.c (__clogl): Likewise.
30201         * math/Makefile (libm-calls): Add x2y2m1.
30202         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
30203         (__x2y2m1): Likewise.
30204         (__x2y2m1l): Likewise.
30205         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
30206         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
30207         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
30208         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30209         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
30210         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30211         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30212         * sysdeps/i386/fpu/libm-test-ulps: Update.
30213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30214
30215         [BZ #14621]
30216         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30217         int as type of variable DEPTH.
30218         (glob): Use size_t instead of int as type of variables NEWCOUNT
30219         and OLD_PATHC.
30220
30221 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30222
30223         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30224         Add s_sincosf-sse2.
30225         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30226         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30227         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30228         macros for using routine as __sincosf_ia32.
30229         Use macro for function declaration and weak_alias.
30230         * sysdeps/i386/fpu/libm-test-ulps: Update.
30231
30232         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30233         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30234
30235         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
30236         subnormal argument.
30237         * math/s_cexpf.c (__cexpf): Likewise.
30238         * math/s_csinf.c (__csinf): Likewise.
30239         * math/s_csinhf.c (__csinhf): Likewise.
30240         * math/s_ctanf.c (__ctanf): Likewise.
30241         * math/s_ctanhf.c (__ctanhf): Likewise.
30242         * math/s_ccosh.c (__ccoshf): Likewise.
30243         * math/s_cexp.c (__cexpl): Likewise.
30244         * math/s_csin.c (__csin): Likewise.
30245         * math/s_csinh.c (__csinh): Likewise.
30246         * math/s_ctan.c (__ctan): Likewise.
30247         * math/s_ctanh.c (ctanh): Likewise.
30248         * math/s_ccoshl.c (__ccoshl): Likewise.
30249         * math/s_cexpl.c (__cexpl): Likewise.
30250         * math/s_csinl.c (__csinl): Likewise.
30251         * math/s_csinhl.c (__csinhl): Likewise.
30252         * math/s_ctanl.c (__ctanl): Likewise.
30253         * math/s_ctanhl.c (__ctanhl): Likewise.
30254
30255 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
30256
30257         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30258         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30259         (_IO_off_t): Define to __off_t, not _G_off_t.
30260         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30261         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30262         (_IO_wint_t): Define to wint_t, not _G_wint_t.
30263         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30264         type of __dummy and __dummy2 fields.
30265         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30266         (_G_ssize_t): Likewise.
30267         (_G_off_t): Likewise.
30268         (_G_pid_t): Likewise.
30269         (_G_uid_t): Likewise.
30270         (_G_wchar_t): Likewise.
30271         (_G_wint_t): Likewise.
30272         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30273         (_G_ssize_t): Likewise.
30274         (_G_off_t): Likewise.
30275         (_G_pid_t): Likewise.
30276         (_G_uid_t): Likewise.
30277         (_G_wchar_t): Likewise.
30278         (_G_wint_t): Likewise.
30279         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30280         (_G_ssize_t): Likewise.
30281         (_G_off_t): Likewise.
30282         (_G_pid_t): Likewise.
30283         (_G_uid_t): Likewise.
30284         (_G_wchar_t): Likewise.
30285         (_G_wint_t): Likewise.
30286
30287 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30288
30289         * malloc/arena.c: Include malloc-sysdep.h.
30290         (shrink_heap): Use check_may_shrink_heap to decide if madvise
30291         is sufficient to shrink the heap or an unmap is needed.
30292         * sysdeps/generic/malloc-sysdep.h: New file.  Define
30293         new function check_may_shrink_heap.
30294         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
30295         new function check_may_shrink_heap.
30296
30297 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30298
30299         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30300         comments.
30301
30302 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
30303
30304         * catgets/test-gencat.sh: Add "set -e".
30305         * elf/tst-pathopt.sh: Likewise.
30306         * grp/tst_fgetgrent.sh: Likewise.
30307         * iconvdata/run-iconv-test.sh: Likewise.
30308         * intl/tst-gettext.sh: Likewise.
30309         * intl/tst-gettext2.sh: Likewise.
30310         * intl/tst-gettext4.sh: Likewise.
30311         * intl/tst-gettext6.sh: Likewise.
30312         * intl/tst-translit.sh: Likewise.
30313         * io/ftwtest-sh: Likewise.
30314         * libio/test-freopen.sh: Likewise.
30315         * malloc/tst-mtrace.sh: Likewise.
30316         * posix/globtest.sh: Likewise.
30317         * posix/tst-getconf.sh: Likewise.
30318         * posix/wordexp-tst.sh: Likewise.
30319         * stdio-common/tst-printf.sh: Likewise.
30320         * stdio-common/tst-unbputc.sh: Likewise.
30321         * stdlib/tst-fmtmsg.sh: Likewise.
30322         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30323         * catgets/Makefile: Do not specify -e option when running
30324         testsuite shell scripts.
30325         * elf/Makefile: Likewise.
30326         * grp/Makefile: Likewise.
30327         * iconvdata/Makefile: Likewise.
30328         * intl/Makefile: Likewise.
30329         * io/Makefile: Likewise.
30330         * libio/Makefile: Likewise.
30331         * malloc/Makefile: Likewise.
30332         * posix/Makefile: Likewise.
30333         * stdio-common/Makefile: Likewise.
30334         * stdlib/Makefile: Likewise.
30335         * sysdeps/x86_64/Makefile: Likewise.
30336
30337         * io/ftwtest-sh: Add copyright header.
30338         * posix/globtest.sh: Likewise.
30339         * posix/tst-getconf.sh: Likewise.
30340         * posix/wordexp-tst.sh: Likewise.
30341         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30342
30343 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
30344
30345         [BZ #13679]
30346         * Makeconfig (+link): Defined as $(+link-static) if
30347         $(build-shared) isn't yes.
30348         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
30349         isn't yes.
30350         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
30351
30352         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
30353
30354         [BZ #14562]
30355         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
30356         new chunk size with MALLOC_ALIGN_MASK.
30357
30358 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
30359
30360         [BZ #5044]
30361         * stdio-common/printf_fphex.c: Include <stdbool.h> and
30362         <rounding-mode.h>.
30363         (__printf_fphex): Determine rounding using get_rounding_mode and
30364         round_away.
30365         * stdio-common/tst-printf-round.c (struct hex_test): New
30366         structure.
30367         (hex_tests): New variable.
30368         (test_hex_in_one_mode): New function.
30369         (do_test): Also run tests for hex float output.
30370
30371 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
30372
30373         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30374         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30375         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
30376         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30377         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30378         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
30379         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30380         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30381
30382 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
30383
30384         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
30385         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
30386         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
30387         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
30388
30389 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
30390
30391         [BZ #14579]
30392         * elf/rtld.c (dl_main): Limit the check for self loading to normal
30393         mode only.
30394         * elf/tst-rtld-load-self.sh: New test.
30395         * elf/Makefile: Run it.
30396
30397 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
30398
30399         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
30400         (tst-writev-ENV): Remove.
30401         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30402
30403 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
30404
30405         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30406
30407 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
30408
30409         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30410         unconditional.
30411         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30412         Likewise.
30413         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30414         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30415         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30416         Likewise.
30417
30418 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
30419
30420         [BZ #14587]
30421         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30422         * config.make.in (have-cpp-asm-debuginfo): Removed.
30423         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30424         * configure: Regenerated.
30425
30426 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
30427
30428         [BZ #5044]
30429         * stdio-common/printf_fp.c: Include <stdbool.h> and
30430         <rounding-mode.h>.
30431         (___printf_fp): Determine rounding using get_rounding_mode and
30432         round_away.
30433         * stdio-common/tst-printf-round.c: New file.
30434         * stdio-common/Makefile (tests): Add tst-printf-round.
30435         (link-libm): New variable.
30436         ($(objpfx)tst-printf-round): Depend in $(link-libm).
30437
30438 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
30439
30440         [BZ #14576]
30441         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30442         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30443         Likewise.
30444         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30445         Likewise.
30446
30447 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
30448
30449         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30450         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30451         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30452         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30453
30454 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
30455
30456         [BZ #14518]
30457         * include/rounding-mode.h: New file.
30458         * sysdeps/generic/get-rounding-mode.h: Likewise.
30459         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30460         * stdlib/strtod_l.c: Include <rounding-mode.h>.
30461         (MAX_VALUE): New macro.
30462         (MIN_VALUE): Likewise.
30463         (overflow_value): New function.
30464         (underflow_value): Likewise.
30465         (round_and_return): Use overflow_value and underflow_value to
30466         determine return values in overflow and underflow cases.  Use
30467         round_away to determine rounding depending on rounding mode.
30468         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30469         determine return values in overflow and underflow cases.
30470         * stdlib/tst-strtod-round.c: Include <fenv.h>.
30471         (struct test_results): New structure.
30472         (struct test): Use struct test_results to store expected results
30473         for all rounding modes.
30474         (TEST): Include expected results for all rounding modes.
30475         (test_in_one_mode): New function.
30476         (do_test): Use test_in_one_mode to compute and check results.
30477         Check results for all rounding modes.
30478         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30479         $(link-libm).
30480
30481 2012-12-09  Allan McRae  <allan@archlinux.org>
30482
30483         * sysdeps/i386/fpu/libm-test-ulps: Update
30484
30485 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
30486
30487         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30488         (_G_int32_t): Likewise.
30489         (_G_uint16_t): Likewise.
30490         (_G_uint32_t): Likewise.
30491         (_G_HAVE_BOOL): Likewise.
30492         (_G_HAVE_ATEXIT): Likewise.
30493         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30494         (_G_HAVE_IO_FILE_OPEN): Likewise.
30495         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30496         (_G_int32_t): Likewise.
30497         (_G_uint16_t): Likewise.
30498         (_G_uint32_t): Likewise.
30499         (_G_HAVE_BOOL): Likewise.
30500         (_G_HAVE_ATEXIT): Likewise.
30501         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30502         (_G_HAVE_IO_FILE_OPEN): Likewise.
30503         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30504         (_G_int32_t): Likewise.
30505         (_G_uint16_t): Likewise.
30506         (_G_uint32_t): Likewise.
30507         (_G_HAVE_BOOL): Likewise.
30508         (_G_HAVE_ATEXIT): Likewise.
30509         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30510         (_G_HAVE_IO_FILE_OPEN): Likewise.
30511
30512 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
30513
30514         * csu/libc-tls.c: Update copyright years.
30515
30516 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
30517
30518         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30519         [!_G_USING_THUNKS]: Remove conditional code.
30520         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30521         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30522
30523         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30524         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30525         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30526         (_G_VTABLE_LABEL_PREFIX): Likewise.
30527         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30528         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30529         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30530         (_G_VTABLE_LABEL_PREFIX): Likewise.
30531         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30532         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30533         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30534         (_G_VTABLE_LABEL_PREFIX): Likewise.
30535         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30536
30537 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
30538
30539         * libio/Makefile: Include ../Makeconfig before tests.
30540         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
30541         only if $(build-shared) is yes.
30542
30543         * iconv/gconv_db.c: Update copyright years.
30544
30545 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30546
30547         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
30548         unwind info if defined PIC. Fix special cases description.
30549         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
30550
30551         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
30552         DP_HI_MASK entry.
30553         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
30554
30555 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
30556
30557         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
30558
30559         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
30560         is NULL.
30561
30562         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
30563         (LDLIBS-tst-chk4): This.
30564         (LDFLAGS-tst-chk5): Renamed to ...
30565         (LDLIBS-tst-chk5): This.
30566         (LDFLAGS-tst-chk6): Renamed to ...
30567         (LDLIBS-tst-chk6): This.
30568         (LDFLAGS-tst-lfschk4): Renamed to ...
30569         (LDLIBS-tst-lfschk4): This.
30570         (LDFLAGS-tst-lfschk5): Renamed to ...
30571         (LDLIBS-tst-lfschk5): This.
30572         (LDFLAGS-tst-lfschk6): Renamed to ...
30573         (LDLIBS-tst-lfschk6): This.
30574
30575         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
30576         on $(common-objpfx)soversions.mk.
30577
30578 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
30579
30580         [BZ #10014]
30581         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
30582         example host name.
30583
30584 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
30585
30586         * malloc/arena.c (arena_get_retry): New function that gets
30587         another arena for the caller to try its request on.
30588         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30589         current arena cannot fulfill the request.
30590         (__libc_memalign): Likewise.
30591         (__libc_memalign): Likewise.
30592         (__libc_pvalloc): Likewise.
30593         (__libc_calloc): Likewise.
30594
30595 2012-09-05  John Tobey  <john.tobey@gmail.com>
30596
30597         [BZ #13542]
30598         * manual/arith.texi (Operations on Complex): Fix description
30599         of carg branch cut.
30600
30601 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
30602
30603         [BZ #10014]
30604         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
30605         host name.
30606
30607         [BZ #10038]
30608         * manual/memory.texi (Memory): Make order of menu items match
30609         order of sections.
30610
30611 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30612
30613         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
30614         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
30615         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
30616
30617 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30618
30619         * csu/libc-tls.c (static_dtv): Renamed to ...
30620         (_dl_static_dtv): This.  Make it global.
30621         (_dl_initial_dtv): Removed.
30622         (__libc_setup_tls): Updated.
30623         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
30624         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
30625         DL_INITIAL_DTV.
30626
30627 2012-09-06  Petr Machata  <pmachata@redhat.com>
30628
30629         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
30630         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
30631         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
30632         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
30633
30634 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30635
30636         [BZ #14545]
30637         * csu/libc-tls.c (_dl_initial_dtv): New variable.
30638         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
30639         freeing dtv[-1].
30640
30641 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
30642
30643         [BZ #14544]
30644         * Makeconfig (link-static-before-libc): Replace $(+prector)
30645         with $(+prectorT).
30646         (link-static-after-libc): Replace $(+postctor) with
30647         $(+postctorT).
30648         (link-bounded): Replace $(+prector)/$(+postctor) with
30649         $(+prectorT)/$(+postctorT).
30650         (+prectorT): New macro.
30651         (+postctorT): Likewise.
30652
30653 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
30654
30655         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
30656         (round_str): Handle values above the maximum for IBM long double
30657         as inexact.
30658         * stdlib/tst-strtod-round.c (tests): Regenerated.
30659
30660 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30661
30662         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
30663         assembler flag.
30664         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
30665         zarch_nohighgprs around the zarch optimized routines.
30666         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30667         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30668         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
30669         for zarch.
30670
30671 2012-09-05  David S. Miller  <davem@davemloft.net>
30672
30673         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30674
30675         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
30676         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
30677         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
30678         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30679         entries.
30680
30681 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30682
30683         * malloc/arena.c: Fold copyright years.
30684         * malloc/mcheck.c, malloc/memusage.c: Likewise.
30685
30686 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30687
30688         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
30689
30690 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30691
30692         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
30693
30694 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30695
30696         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
30697         change internal state upon failure.
30698
30699 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
30700
30701         * malloc/mcheck.c (mcheck_check_all): Fix typo.
30702         * malloc/memusage.c (mmap): Likewise.
30703         (mmap64, mremap): Likewise.  Adjust name in comment.
30704
30705 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30706
30707         * libio/fileops.c: Fix typos in comments.
30708         * libio/oldfileops.c: Likewise.
30709         * libio/wfileops.c: Likewise.
30710
30711 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30712
30713         [BZ #1349]
30714         * malloc/Makefile (tests): Add tst-malloc-usable test case.
30715         (tst-malloc-usable-ENV): Set environment for test case.
30716         * malloc/hooks.c (malloc_check_get_size): New function to get
30717         requested size.
30718         * malloc/malloc.c (musable): Use malloc_check_get_size.
30719         * malloc/tst-malloc-usable.c: New test case.
30720
30721 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
30722
30723         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
30724
30725 2012-09-05  Allan McRae  <allan@archlinux.org>
30726
30727         [BZ #13966]
30728         * configure.in (CXX_SYSINCLUDES): Use compiler output to
30729         determine header location.
30730         * configure: Regenerated.
30731
30732 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
30733
30734         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
30735         float format.
30736         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
30737         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
30738         format.
30739         (test): Regenerate.
30740
30741 2012-09-04  David S. Miller  <davem@davemloft.net>
30742
30743         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
30744         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
30745         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
30746
30747 2012-09-04  Florian Weimer  <fweimer@redhat.com>
30748
30749         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
30750         failures.
30751
30752         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
30753
30754 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
30755
30756         [BZ #9914]
30757         * libio/iogetdelim.c: Include <limits.h>.
30758         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
30759         + len + 1 would overflow.
30760
30761 2012-09-03  Andreas Jaeger  <aj@suse.de>
30762
30763         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30764         * sysdeps/i386/fpu/libm-test-ulps: Update.
30765
30766 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30767
30768         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30769         Add s_sinf-sse2, s_conf-sse2.
30770
30771         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
30772         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
30773         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
30774         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30775
30776         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
30777         for using routine as __sinf_ia32.
30778         Use macro for function declaration and weak_alias.
30779         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
30780         for using routine as __cosf_ia32.
30781         Use macro for function declaration and weak_alias.
30782
30783         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
30784         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
30785
30786         * sysdeps/x86_64/fpu/s_sinf.S: New file.
30787         * sysdeps/x86_64/fpu/s_cosf.S: New file.
30788         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30789
30790         * math/libm-test.inc (cos_test): Add more test cases.
30791         (sin_test): Likewise.
30792         (sincos_test): Likewise.
30793
30794 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30795
30796         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30797         (IFUNC_RESOLVE): Make pointers to the specialized implementations
30798         hidden.
30799         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30800
30801 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
30802
30803         [BZ #14538]
30804         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30805         first element of the GOT.
30806         (elf_machine_load_address): Return the difference between
30807         the runtime address of _DYNAMIC and elf_machine_dynamic ().
30808
30809 2012-09-01  Allan McRae  <allan@archlinux.org>
30810
30811         [BZ #13412]
30812         * configure.in (AWK): Require gawk version 3.0 or later.
30813         * configure: Regenerated.
30814
30815 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
30816
30817         * sysdeps/unix/sysv/linux/kernel-features.h
30818         (__ASSUME_POSIX_CPU_TIMERS): Remove.
30819         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30820         [__NR_clock_getres]: Make code unconditional.
30821         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30822         (clock_getcpuclockid): Remove code left unreachable by removal of
30823         conditionals.
30824         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30825         code unconditional.
30826         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30827         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30828         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30829         Make code unconditional.
30830         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30831         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30832         * sysdeps/unix/sysv/linux/clock_settime.c
30833         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30834         conditional code.
30835         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30836         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30837
30838 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
30839
30840         [BZ #14476]
30841         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30842         scripts/test-installation.pl.
30843
30844         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30845         and $ld_so_version if it is set.
30846
30847 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30848
30849         [BZ #14516]
30850         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30851         failure if reading from procfs failed.
30852         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30853
30854 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
30855
30856         * sysdeps/unix/sysv/linux/kernel-features.h
30857         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
30858         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30859         Remove conditional code.
30860         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30861         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
30862         Remove conditional code.
30863         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30864         * sysdeps/unix/sysv/linux/i386/fxstat.c
30865         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30866         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30867         * sysdeps/unix/sysv/linux/i386/fxstatat.c
30868         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30869         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30870         * sysdeps/unix/sysv/linux/i386/lxstat.c
30871         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
30872         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30873         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
30874         Remove conditional code.
30875         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30876         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
30877         Remove conditional code.
30878         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30879         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
30880         <kernel-features.h>.
30881         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
30882         Remove.
30883         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
30884         Remove conditional code.
30885         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
30886         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
30887         Remove conditional.
30888
30889 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
30890
30891         [BZ #5400]
30892         * NEWS: Add fixed bug number.
30893
30894 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
30895
30896         [BZ #14519]
30897         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
30898         underflowing exponent in case of negative sign.
30899         * stdlib/tst-strtod-round-data: Add more tests.
30900         * stdlib/tst-strtod-round.c (tests): Regenerated.
30901
30902         [BZ #3479]
30903         * stdlib/strtod_l.c (NDIG): Remove.
30904         (HEXNDIG): Likewise.
30905         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
30906         smallest representable value.
30907         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
30908         lie within an exact representation of 1/2 ulp of the result.
30909         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
30910         unconditionally.
30911         (TENS_P9_IDX): Define unconditionally.
30912         (TENS_P9_SIZE): Likewise.
30913         (TENS_P10_IDX): Likewise.
30914         (TENS_P10_SIZE): Likewise.
30915         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
30916         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
30917         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
30918         entries for 10^2^13 and 10^2^14.
30919         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
30920         (TENS_P13_IDX): Define.
30921         (TENS_P13_SIZE): Likewise.
30922         (TENS_P14_IDX): Likewise.
30923         (TENS_P14_SIZE): Likewise.
30924         (_fpioconst_pow10): Change array size to
30925         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
30926         unconditional.
30927         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
30928         1024]: Add entries for 10^2^13 and 10^2^14.
30929         [LAST_POW10 > _LAST_POW10]: Remove #error.
30930         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
30931         (_fpioconst_pow10): Change array size to
30932         FPIOCONST_POW10_ARRAY_SIZE.
30933         * stdlib/gen-fpioconst.c: New file.
30934         * stdlib/gen-tst-strtod-round.c: Likewise.
30935         * stdlib/tst-strtod-round-data: Likewise.
30936         * stdlib/tst-strtod-round.c: Likewise.
30937         * stdlib/Makefile (tests): Add tst-strtod-round.
30938
30939         [BZ #14459]
30940         * stdlib/strtod_l.c: Include <stdint.h>.
30941         (NDEBUG): Do not define.
30942         (round_and_return): Change EXPONENT parameter to type intmax_t.
30943         Rearrange calculations to avoid internal overflow possibilities.
30944         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
30945         Rearrange calculations to avoid internal overflow possibilities.
30946         Assert that number fits inside MPNSIZE limbs.
30947         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
30948         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
30949         calculations and add assertions to avoid internal overflow
30950         possibilities.  Add casts to avoid signed/unsigned operations.
30951         * stdlib/tst-strtod-overflow.c: New file.
30952         * stdlib/Makefile (tests): Add tst-strtod-overflow.
30953
30954 2012-08-25  Marek Polacek  <polacek@redhat.com>
30955
30956         * time/time.h: Fix some typos in comments.
30957
30958 2012-08-23  Roland McGrath  <roland@hack.frob.com>
30959
30960         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
30961         * posix/tst-rfc3484-2.c: Likewise.
30962         * posix/tst-rfc3484-3.c: Likewise.
30963
30964 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
30965
30966         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
30967         (EF_ARM_ABI_FLOAT_HARD): Likewise.
30968
30969 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
30970
30971         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
30972         #include of fxstatat64.c.
30973
30974 2012-08-22  Roland McGrath  <roland@hack.frob.com>
30975
30976         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
30977         * shadow/getspent_r.c: Likewise.
30978         * shadow/getspnam.c: Likewise.
30979         * shadow/getspnam_r.c: Likewise.
30980         * gshadow/getsgent.c: Likewise.
30981         * gshadow/getsgent_r.c: Likewise.
30982         * gshadow/getsgnam.c: Likewise.
30983         * gshadow/getsgnam_r.c: Likewise.
30984         * inet/getnetbyad.c: Likewise.
30985         * inet/getnetbyad_r.c: Likewise.
30986         * inet/getnetbynm.c: Likewise.
30987         * inet/getnetbynm_r.c: Likewise.
30988         * inet/getnetent.c: Likewise.
30989         * inet/getnetent_r.c: Likewise.
30990         * inet/getproto.c: Likewise.
30991         * inet/getproto_r.c: Likewise.
30992         * inet/getprtent.c: Likewise.
30993         * inet/getprtent_r.c: Likewise.
30994         * inet/getprtname.c: Likewise.
30995         * inet/getprtname_r.c: Likewise.
30996         * inet/getrpcbyname.c: Likewise.
30997         * inet/getrpcbyname_r.c: Likewise.
30998         * inet/getrpcbynumber.c: Likewise.
30999         * inet/getrpcbynumber_r.c: Likewise.
31000         * inet/getrpcent.c: Likewise.
31001         * inet/getrpcent_r.c: Likewise.
31002         * inet/getaliasent.c: Likewise.
31003         * inet/getaliasent_r.c: Likewise.
31004         * inet/getaliasname.c: Likewise.
31005         * inet/getaliasname_r.c: Likewise.
31006         * nscd/getgrgid_r.c: Likewise.
31007         * nscd/getgrnam_r.c: Likewise.
31008         * nscd/gethstbyad_r.c: Likewise.
31009         * nscd/gethstbynm3_r.c: Likewise.
31010         * nscd/getpwnam_r.c: Likewise.
31011         * nscd/getpwuid_r.c: Likewise.
31012         * nscd/getsrvbynm_r.c: Likewise.
31013         * nscd/getsrvbypt_r.c: Likewise.
31014         * nscd/gai.c: Likewise.
31015
31016         * configure.in (build_nscd): New substituted variable, set
31017         by --disable-build-nscd and defaults to $use_nscd.
31018         * configure: Regenerated.
31019         * config.make.in (build-nscd): New substituted variable.
31020         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
31021         Change conditional to require [$(build-nscd) = yes] as well.
31022         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
31023
31024         [BZ# 13696]
31025         * configure.in (use_nscd): New substituted variable, set by
31026         --disable-nscd.  If enabled, define USE_NSCD.
31027         * configure: Regenerated.
31028         * config.h.in: Add USE_NSCD.
31029         * config.make.in (use-nscd): New substituted variable.
31030         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
31031         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
31032         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
31033         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
31034         (CFLAGS-getgrnam_r.c): Likewise.
31035         (CFLAGS-initgroups.c): Likewise.
31036         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
31037         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31038         Variables removed.
31039         * inet/getnetgrent_r.c
31040         (nscd_setnetgrent): New function, broken out of ...
31041         (setnetgrent): ... here.  Call it.
31042         (innetgr): Conditionalize nscd bits on [USE_NSCD].
31043         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
31044         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
31045         * nscd/Makefile (routines, aux): Move definitions after include of
31046         Makeconfig.  Conditionalize on [$(use-nscd) != no].
31047         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
31048         Conditionalize on [USE_NSCD].
31049         (is_nscd, nscd_init_cb): Likewise.
31050         (nss_load_library): Conditionalize init callback on [USE_NSCD].
31051         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
31052         * nss/nss_db/db-init.c: Likewise.
31053         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
31054         [USE_NSCD].
31055         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31056         (make_request): Use it.
31057         (cache_valid_p): New function.
31058         (__check_pf): Use it.
31059         * NEWS: Add item for --disable-nscd.
31060
31061 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
31062
31063         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31064         to support sed >= 4.2.1-20-ga9bf076.
31065         * configure: Regenerated.
31066
31067 2012-08-22  Roland McGrath  <roland@hack.frob.com>
31068
31069         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31070         Conditionalize whole body on [IREL].
31071
31072 2012-08-22  Jeff Law <law@redhat.com>
31073
31074         [BZ #14505]
31075         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31076         if the family is PF_UNSPEC.
31077
31078 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
31079
31080         * Makerules (lib-version): Rename from V.
31081         (install-lib-nosubdir): Change V to lib-version.
31082
31083 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
31084
31085         [BZ #14252]
31086         * powerpc32/power6/wcschr.c: New file.
31087         * powerpc32/power6/wcscpy.c: New file.
31088         * powerpc32/power6/wcsrchr.c: New file.
31089         * powerpc64/power6/wcschr.c: New file.
31090         * powerpc64/power6/wcscpy.c: New file.
31091         * powerpc64/power6/wcsrchr.c: New file.
31092
31093 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
31094
31095         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31096         (two_way_short_needle): Use it.
31097         * string/strstr.c (AVAILABLE1_USES_J): Define.
31098         * string/strcasestr.c: Likewise.
31099
31100         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31101         array references.
31102         * string/strcasestr.c (TOLOWER): Make side-effect safe.
31103
31104         [BZ #11607]
31105         * NEWS: Add an entry.
31106         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31107         define their defaults.
31108         (two_way_short_needle): Detect end-of-string on-the-fly.
31109         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31110         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31111         * string/bug-strcasestr1.c: New test.
31112         * string/Makefile: Run it.
31113
31114 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
31115
31116         [BZ #11607]
31117         * string/str-two-way.h (two_way_short_needle): Optimize matching of
31118         the first character.
31119
31120 2012-08-21  Roland McGrath  <roland@hack.frob.com>
31121
31122         * csu/elf-init.c (__libc_csu_irel): Function removed.
31123         * csu/libc-start.c (apply_irel): New function.
31124         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31125
31126 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
31127
31128         * sysdeps/unix/sysv/linux/kernel-features.h
31129         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31130         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31131         <kernel-features.h>.
31132         [__NR_fadvise64_64]: Make code unconditional.
31133         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31134         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31135         !__NR_fadvise64_64)]: Likewise.
31136         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31137         !__NR_fadvise64_64))]: Likewise.
31138         [__NR_fadvise64]: Make code unconditional.
31139         [!__NR_fadvise64]: Remove conditional code.
31140         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31141         <kernel-features.h>.
31142         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31143         unconditional.
31144         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31145         conditional code.
31146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31147         not include <kernel-features.h>.
31148         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31149         unconditional.
31150         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31151         conditional code.
31152         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31153         include <kernel-features.h>.
31154         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31155         unconditional.
31156         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31157         conditional code.
31158
31159 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
31160
31161         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31162         slight instruction rearrangements per scrollpipe analysis.
31163         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31164
31165 2012-08-20  Roland McGrath  <roland@hack.frob.com>
31166
31167         * manual/syslog.texi (syslog; vsyslog, closelog):
31168         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31169         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31170
31171         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31172         DSOCAPS to match condition on defining it.
31173
31174 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
31175
31176         * sysdeps/unix/sysv/linux/kernel-features.h
31177         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31179         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31180         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31182         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31183         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31185         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31186         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31187
31188         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31189         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31190
31191         * sysdeps/unix/sysv/linux/kernel-features.h
31192         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31193         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31194         unconditional.
31195         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31196         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31197         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31198         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31199         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
31200         Make code unconditional.
31201         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31202         (__mmap64) [!__NR_mmap2]: Likewise.
31203         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
31204         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31205         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31206         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
31207         [__NR_mmap2]: Make code unconditional.
31208         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31209         (__mmap64) [!__NR_mmap2]: Likewise.
31210
31211 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31212
31213         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31214
31215 2012-08-18  Andreas Jaeger  <aj@suse.de>
31216
31217         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31218
31219 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
31220
31221         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31222         * include/unistd.h (__have_sock_cloexec): Likewise.
31223         (__have_pipe2): Likewise.
31224         (__have_dup3): Likewise.
31225
31226 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
31227
31228         [BZ #9685]
31229         * include/unistd.h (__have_pipe2): Change define into an extern int.
31230         (__have_dup3): Likewise.
31231         * socket/have_sock_cloexec.c: Include fcntl.h.
31232         (__have_pipe2): New variable.
31233         (__have_dup3): Likewise.
31234
31235 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
31236
31237         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31238
31239 2012-08-17  Marek Polacek  <polacek@redhat.com>
31240
31241         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31242         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31243
31244 2012-08-17  Roland McGrath  <roland@hack.frob.com>
31245
31246         * configure.in: Add AC_SUBST for sysheaders.
31247         * configure: Regenerated.
31248         * config.make.in (sysheaders): New substituted variable.
31249
31250         * sysdeps/unix/mkfifo.c: Moved ...
31251         * sysdeps/posix/mkfifo.c: ... here.
31252         * sysdeps/unix/mkfifoat.c: Moved ...
31253         * sysdeps/posix/mkfifoat.c: ... here.
31254
31255         * sysdeps/unix/utime.c: Moved ...
31256         * sysdeps/posix/utime.c: ... here.
31257
31258         * sysdeps/unix/time.c: Moved ...
31259         * sysdeps/posix/time.c: ... here.
31260         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31261         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
31262
31263         * sysdeps/unix/nice.c: Moved ...
31264         * sysdeps/posix/nice.c: ... here.
31265
31266         * sysdeps/unix/alarm.c: Moved ...
31267         * sysdeps/posix/alarm.c: ... here.
31268
31269         * intl/Makefile ($(codeset_mo)): Depend on the input file.
31270
31271 2012-08-17  Jeff Law <law@redhat.com>
31272
31273         * intl/Makefile (codeset_mo): New variable.
31274         ($(codeset_mo)): New target.
31275         (tst-codeset.out): Depend on that.  Remove explicit rule.
31276         (tst-gettext3.out, tst-gettext5.out): Likewise.
31277         (LOCPATH-ENV, tst-codeset-ENV): New variables.
31278         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31279         * intl/tst-codeset.sh: Remove.
31280         * intl/tst-gettext3.sh: Likewise.
31281         * intl/tst-gettext5.sh: Likewise.
31282
31283 2012-08-17  Roland McGrath  <roland@hack.frob.com>
31284
31285         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
31286         * sysdeps/unix/syscalls.list: ... here.
31287
31288         * sysdeps/posix/getaddrinfo.c
31289         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31290         (gaiconf_init, gaiconf_reload): Use them.
31291         [!_STATBUF_ST_NSEC]
31292         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31293         Define using time_t rather than struct timespec.
31294
31295         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31296         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31297         Macros removed.
31298         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31299         [!NO_THREADS].
31300         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31301         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31302         Likewise.
31303
31304         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31305         __libc_cleanup_push argument.
31306
31307         * bits/param.h: New file.
31308         * misc/sys/param.h: New file.
31309         * include/sys/param.h: New file.
31310         * misc/Makefile (headers): Add bits/param.h.
31311         * sysdeps/generic/sys/param.h: File removed.
31312         * sysdeps/unix/sysv/linux/bits/param.h: New file.
31313         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31314         * sysdeps/mach/hurd/bits/param.h: New file.
31315         * sysdeps/mach/hurd/sys/param.h: File removed.
31316
31317         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31318         last change.
31319
31320         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
31321         [_IO_MTSAFE_IO].
31322         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
31323         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
31324         New macros.
31325
31326         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
31327         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
31328         rather than -D_IO_MTSAFE_IO conditionally.
31329         * stdio-common/Makefile (CPPFLAGS): Likewise.
31330         * wcsmbs/Makefile (CPPFLAGS): Likewise.
31331         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
31332         Use $(libio-mtsafe).
31333         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
31334         of -D_IO_MTSAFE_IO.
31335         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
31336         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
31337         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
31338         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
31339         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
31340         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
31341         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
31342         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
31343         (CFLAGS-fread_u_chk.c): Likewise.
31344         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
31345         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
31346         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
31347         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
31348         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
31349         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
31350         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
31351         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
31352         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
31353
31354         * libio/Makefile: Test [$(libc-reentrant) = yes]
31355         instead of [$(filter %REENTRANT, $(defines)) nonempty].
31356
31357         * Makeconfig
31358         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
31359         * sysdeps/pthread/configure: File removed.
31360         * sysdeps/pthread/Makeconfig: New file.
31361         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
31362         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
31363
31364 2012-08-16  Gary Benson  <gbenson@redhat.com>
31365
31366         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
31367         unmapping the first object in a namespace.
31368
31369 2012-08-16  Roland McGrath  <roland@hack.frob.com>
31370
31371         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
31372         (__internal_setnetgrent): ... this.  Add internal_function to
31373         definition.  Add libc_hidden_def.
31374         (setnetgrent): Update caller.
31375         (internal_endnetgrent): Renamed to ...
31376         (__internal_endnetgrent): ... this.  Add internal_function to
31377         definition.  Add libc_hidden_def.
31378         (endnetgrent): Update caller.
31379         (internal_getnetgrent_r): Renamed to ...
31380         (__internal_getnetgrent_r): ... this.  Add internal_function to
31381         definition.  Add libc_hidden_def.
31382         (__getnetgrent_r): Update caller.
31383         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
31384
31385 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
31386
31387         * stdlib/longlong.h: Update from GCC.
31388
31389 2012-08-16  Roland McGrath  <roland@hack.frob.com>
31390
31391         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
31392         on _QL, which is set by umul_ppmm but never used.
31393         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
31394         variables, which are set by GMP macros but never used.
31395         * stdio-common/_itowa.c (_itowa): Likewise.
31396         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
31397         * stdlib/mod_1.c (mpn_mod_1): Likewise.
31398
31399 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
31400
31401         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31402         struct La_sh_regs is not constant.
31403         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31404         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31405         and struct La_sparc64_regs are not constant.
31406
31407 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
31408
31409         * sysdeps/unix/sysv/linux/kernel-features.h
31410         (__ASSUME_POSIX_TIMERS): Remove.
31411         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31412         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31413         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31414         Make code unconditional.
31415         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31416         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31417         Make code unconditional.
31418         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31419         * sysdeps/unix/sysv/linux/clock_nanosleep.c
31420         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31421         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31422         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31423         Make code unconditional.
31424         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31425         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31426         (__libc_missing_posix_timers): Remove.
31427
31428 2012-08-15  Roland McGrath  <roland@hack.frob.com>
31429
31430         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31431         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31432
31433         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31434
31435         * elf/dl-sym.c: Include <stdlib.h>.
31436
31437         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31438         constants, which avoids warnings in 32-bit builds.
31439
31440         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31441         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31442
31443         * misc/lseek.c: File moved to ...
31444         * io/lseek.c: ... here.
31445
31446         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31447
31448         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31449         shifting LEN more than 31 bits at once.
31450
31451 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31452
31453         [BZ #14195]
31454         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31455         segmentation fault for a case of two empty input strings.
31456         * string/test-strncasecmp.c (check1): Renamed to...
31457         (bz12205): ...this.
31458         (bz14195): Add new testcase for two empty input strings and N > 0.
31459         (test_main): Call new testcase, adapt for renamed function.
31460
31461 2012-08-15  Andreas Jaeger  <aj@suse.de>
31462
31463         [BZ #14090]
31464         * crypt/md5test2.c: New test, based on test supplied by Serge
31465         Belyshev <belyshev@depni.sinp.msu.ru>.
31466         * crypt/Makefile (xtests): Add md5test-giant..
31467         * crypt/Makefile ($(objpfx)md5test-giant): Add.
31468
31469 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
31470
31471         [BZ #14090]
31472         * crypt/md5.c (md5_process_block): Don't assume the buffer
31473         length is less than 2**32.
31474         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31475         length is less than 2**64.
31476
31477 2012-08-15  Roland McGrath  <roland@hack.frob.com>
31478
31479         * string/str-two-way.h: Include <sys/param.h>.
31480         (MAX): Macro removed.
31481
31482         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31483         Move #define and #undef of memmove to just before and after
31484         including <string.h>.
31485
31486         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31487         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31488         and after including <string.h>.  Move declarations of
31489         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31490         to before #include "string/memmove.c".
31491
31492         * include/dirent.h: Declare __getdirentries.
31493
31494         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31495         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31496
31497 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
31498
31499         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31500         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31501         * sysdeps/i386/configure: Regenerated.
31502         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31503         STABS_CURRENT_FILE, and STABS_FUN.
31504         (END): Remove call to STABS_FUN_END.
31505         (STABS_CURRENT_FILE1): Delete.
31506         (STABS_CURRENT_FILE): Likewise.
31507         (STABS_FUN): Likewise.
31508         (STABS_FUN_END): Likewise.
31509         (STABS_FUN2): Likewise.
31510         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31511         * sysdeps/x86_64/configure: Regenerated.
31512
31513 2012-08-14  Roland McGrath  <roland@hack.frob.com>
31514
31515         * elf/dl-open.c: Include <atomic.h>.
31516         * elf/dl-lookup.c: Likewise.
31517
31518 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
31519
31520         * sysdeps/unix/sysv/linux/kernel-features.h
31521         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31522         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31523         unconditionally.
31524         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31525         unconditionally.
31526         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31527         condition on __ASSUME_CLONE_THREAD_FLAGS.
31528
31529 2012-08-14  Andreas Jaeger  <aj@suse.de>
31530
31531         * sysdeps/i386/fpu/libm-test-ulps: Update.
31532
31533 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
31534
31535         * include/atomic.h (atomic_exchange_and_add): Split into ...
31536         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
31537         New atomic macros.
31538
31539 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
31540
31541         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31542
31543 2012-08-13  Jeff Law <law@redhat.com>
31544
31545         * manual/stdio.texi (snprintf): Clarify handling of the trailing
31546         null byte in the output string.
31547
31548 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
31549
31550         * sysdeps/unix/sysv/linux/kernel-features.h
31551         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
31552         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
31553         (__ASSUME_ARG_MAX_STACK_BASED): Define.
31554         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31555         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
31556         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
31557         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
31558
31559 2012-08-09  Jeff Law <law@redhat.com>
31560
31561         [BZ #13939]
31562         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31563         When avoid_arena is set, don't retry in the that arena.  Pick the
31564         next one, whatever it might be.
31565         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
31566         (arena_lock): Pass in new parameter to arena_get2.
31567         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
31568         arena_get2.
31569         (__libc_malloc): Unify retrying after main arena failure with
31570         __libc_memalign version.
31571         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
31572
31573 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
31574
31575         [BZ #14166]
31576         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
31577         to __redirect_strstr.
31578         (__strstr_sse42): Use typeof __redirect_strstr.
31579         (__strstr_ia32): Likewise.
31580         (__libc_strstr): New prototype.
31581         (strstr): Renamed to ...
31582         (__libc_strstr): This.
31583         (strstr): New strong alias of __libc_strstr.
31584         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31585         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
31586         __redirect_time.
31587         Include <time.h>.
31588         (__libc_time): New prototype.
31589         (time_ifunc): Replace time with __libc_time.
31590         (time): New strong alias and hidden definition of __libc_time.
31591         (__GI_time): Remove strong alias.
31592         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
31593         Include <stddef.h>.
31594         (memmove): Redefined to __redirect_memmove.
31595         (__memmove_sse2): Use typeof __redirect_memmove.
31596         (__memmove_ssse3): Likewise.
31597         (__memmove_ssse3_back): Likewise.
31598         (__libc_memmove): New prototype.
31599         (memmove): Renamed to ...
31600         (__libc_memmove): This.
31601         (memmove): New strong alias of __libc_memmove.
31602
31603 2012-08-08  Mark Salter  <msalter@redhat.com>
31604
31605         * elf/elf.h
31606         (R_MN10300_TLS_GD): Define.
31607         (R_MN10300_TLS_LD): Likewise.
31608         (R_MN10300_TLS_LDO): Likewise.
31609         (R_MN10300_TLS_GOTIE): Likewise.
31610         (R_MN10300_TLS_IE): Likewise.
31611         (R_MN10300_TLS_LE): Likewise.
31612         (R_MN10300_TLS_DTPMOD): Likewise.
31613         (R_MN10300_TLS_DTPOFF): Likewise.
31614         (R_MN10300_TLS_TPOFF): Likewise.
31615         (R_MN10300_SYM_DIFF): Likewise.
31616         (R_MN10300_ALIGN): Likewise.
31617         (R_MN10300_NUM): Update.
31618
31619 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
31620
31621         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
31622         Remove.
31623
31624 2012-08-08  Roland McGrath  <roland@hack.frob.com>
31625
31626         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
31627
31628         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
31629         sysdeps/unix -> sysdeps/posix move.
31630         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31631
31632 2012-08-07      Allan McRae     <allan@archlinux.org>
31633
31634         [BZ #14303]
31635         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
31636         (SUNOS_CPP): Likewise.
31637         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
31638         not found.
31639         (open_input): Call CPP using execvp.
31640
31641 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
31642
31643         * sysdeps/unix/sysv/linux/kernel-features.h
31644         (__ASSUME_PROT_GROWSUPDOWN): Remove.
31645         (__ASSUME_NO_CLONE_DETACHED): Likewise.
31646         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31647         (__ASSUME_WAITID_SYSCALL): Likewise.
31648         * sysdeps/unix/sysv/linux/dl-execstack.c
31649         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
31650         code unconditional.
31651         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
31652         conditional code.
31653         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
31654         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
31655         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
31656         code.
31657         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
31658         unconditional.
31659         [__ASSUME_WAITID_SYSCALL]: Likewise.
31660         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
31661
31662 2012-08-07  Roland McGrath  <roland@hack.frob.com>
31663
31664         * sysdeps/unix/closedir.c: Renamed to ...
31665         * sysdeps/posix/closedir.c: ... here.
31666         * sysdeps/unix/dirfd.c: Renamed to ...
31667         * sysdeps/posix/dirfd.c: ... here.
31668         * sysdeps/unix/dirstream.h: Renamed to ...
31669         * sysdeps/posix/dirstream.h: ... here.
31670         * sysdeps/unix/fdopendir.c: Renamed to ...
31671         * sysdeps/posix/fdopendir.c: ... here.
31672         * sysdeps/unix/opendir.c: Renamed to ...
31673         * sysdeps/posix/opendir.c: ... here.
31674         * sysdeps/unix/readdir.c: Renamed to ...
31675         * sysdeps/posix/readdir.c: ... here.
31676         * sysdeps/unix/readdir_r.c: Renamed to ...
31677         * sysdeps/posix/readdir_r.c: ... here.
31678         * sysdeps/unix/rewinddir.c: Renamed to ...
31679         * sysdeps/posix/rewinddir.c: ... here.
31680         * sysdeps/unix/seekdir.c: Renamed to ...
31681         * sysdeps/posix/seekdir.c: ... here.
31682         * sysdeps/unix/telldir.c: Renamed to ...
31683         * sysdeps/posix/telldir.c: ... here.
31684         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
31685         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
31686         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31687         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
31688
31689         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
31690         * bits/fcntl.h: ... here.
31691
31692         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
31693         not 0.
31694         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
31695         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
31696         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
31697         (struct flock): Move l_start, l_len to the beginning.
31698         Use __pid_t for l_pid.
31699         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
31700         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
31701         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
31702         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
31703         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
31704         [__USE_LARGEFILE64] (struct flock64): New type.
31705         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
31706
31707         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
31708         * bits/dirent.h: ... here.
31709
31710         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
31711         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
31712
31713 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
31714
31715         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31716         Change from 2.6.0 to 2.6.16.
31717         * sysdeps/unix/sysv/linux/configure: Regenerated.
31718         * sysdeps/unix/sysv/linux/kernel-features.h
31719         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
31720         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
31721         version.
31722         (__ASSUME_UTIMES): Likewise.
31723         (__ASSUME_CLONE_STOPPED): Remove.
31724         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
31725         architectures, not kernel version.
31726         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
31727         (__ASSUME_NO_CLONE_DETACHED): Likewise.
31728         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31729         (__ASSUME_WAITID_SYSCALL): Likewise.
31730         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
31731         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
31732         * README: State 2.6.16 as minimum Linux kernel version.  Do not
31733         refer to older versions.
31734
31735 2012-08-06  Roland McGrath  <roland@hack.frob.com>
31736
31737         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
31738         Define alphasort64 as an alias.
31739         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
31740         Define versionsort64 as an alias.
31741         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
31742         Define scandir64 as an alias.
31743         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
31744         Define scandirat64 as an alias.
31745         * dirent/alphasort64.c (alphasort64):
31746         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
31747         * dirent/versionsort64.c: Likewise.
31748         * dirent/scandir64.c: Likewise.
31749         * dirent/scandirat64.c: Likewise.
31750         * sysdeps/wordsize-64/alphasort.c: File removed.
31751         * sysdeps/wordsize-64/alphasort64.c: File removed.
31752         * sysdeps/wordsize-64/scandir.c: File removed.
31753         * sysdeps/wordsize-64/scandir64.c: File removed.
31754         * sysdeps/wordsize-64/scandirat.c: File removed.
31755         * sysdeps/wordsize-64/scandirat64.c: File removed.
31756         * sysdeps/wordsize-64/versionsort.c: File removed.
31757         * sysdeps/wordsize-64/versionsort64.c: File removed.
31758         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
31759         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
31760         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
31761         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
31762         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
31763         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
31764         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
31765         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
31766
31767         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
31768         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31769         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
31770         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31771         [defined __arch64__ || defined __sparcv9]
31772         (__INO_T_MATCHES_INO64_T): New macro.
31773         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31774         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
31775         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
31776         * sysdeps/unix/sysv/linux/bits/dirent.h
31777         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
31778         (_DIRENT_MATCHES_DIRENT64): New macro.
31779
31780         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
31781         Define lockf64 as an alias.
31782         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
31783         Define fseeko64 as an alias.
31784         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
31785         Define ftello64 as an alias.
31786         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
31787         Define _IO_fgetpos64 and fgetpos64 as aliases.
31788         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
31789         Define _IO_fsetpos64 and fsetpos64 as aliases.
31790         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
31791         Conditionalize body on this.
31792         * libio/fseeko64.c: Likewise.
31793         * libio/ftello64.c: Likewise.
31794         * libio/iofgetpos64.c: Likewise.
31795         * libio/iofsetpos64.c: Likewise.
31796         * sysdeps/wordsize-64/lockf.c: File removed.
31797         * sysdeps/wordsize-64/lockf64.c: File removed.
31798         * sysdeps/wordsize-64/fseeko.c: File removed.
31799         * sysdeps/wordsize-64/fseeko64.c: File removed.
31800         * sysdeps/wordsize-64/ftello.c: File removed.
31801         * sysdeps/wordsize-64/ftello64.c: File removed.
31802         * sysdeps/wordsize-64/iofgetpos.c: File removed.
31803         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31804         * sysdeps/wordsize-64/iofsetpos.c: File removed.
31805         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31806         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31807         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31808         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31809         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31810         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31811         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31812         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31813         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31814         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31815         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31816
31817         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31818         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31819         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31820         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31821         [defined __arch64__ || defined __sparcv9]
31822         (__OFF_T_MATCHES_OFF64_T): New macro.
31823         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31824         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31825         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31826         (__OFF_T_MATCHES_OFF64_T): New macro.
31827
31828 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
31829
31830         * stdlib/secure-getenv.c (__secure_getenv): Replace
31831         GLIBC_2_16 with GLIBC_2_17.
31832
31833 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
31834
31835         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31836         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31837
31838 2012-08-03  David S. Miller  <davem@davemloft.net>
31839
31840         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31841
31842 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
31843
31844         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31845         Remove.
31846         (__ASSUME_CORRECT_SI_PID): Likewise.
31847         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31848         (__ASSUME_TMPFS_NAME): Likewise.
31849         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31850         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31851         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31852         (HAVE_AUX_SECURE): Make definition unconditional.
31853         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31854         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31855
31856 2012-08-03  Roland McGrath  <roland@hack.frob.com>
31857
31858         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
31859         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
31860         * sysdeps/mach/hurd/eloop-threshold.h: New file.
31861         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31862         __eloop_threshold instead of SYMLOOP_MAX.
31863
31864         * sysdeps/generic/eloop-threshold.h: New file.
31865         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
31866         of MAXSYMLINKS.
31867         * elf/chroot_canon.c (chroot_canon): Likewise.
31868
31869 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
31870
31871         [BZ #13717]
31872         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31873         Change to 2.6.0 everywhere.
31874         * sysdeps/unix/sysv/linux/configure: Regenerated.
31875         * sysdeps/unix/sysv/linux/kernel-features.h
31876         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
31877         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
31878         kernel versions.
31879         (__ASSUME_POSIX_TIMERS): Define unconditionally.
31880         (__ASSUME_FUTEX_REQUEUE): Remove.
31881         (__ASSUME_STATFS64): Define unconditionally.
31882         (__ASSUME_AT_SECURE): Likewise.
31883         (__ASSUME_CORRECT_SI_PID): Likewise.
31884         (__ASSUME_TGKILL): Define without depending on kernel version for
31885         i386.
31886         (__ASSUME_UTIMES): Likewise.
31887         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
31888         kernel version.
31889         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
31890         (__ASSUME_TMPFS_NAME): Likewise.
31891         * README: Update reference to Linux kernel versions.
31892
31893 2012-08-02  Marek Polacek  <polacek@redhat.com>
31894
31895         [BZ# 14150]
31896         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
31897         libc_cv_asm_type_prefix with %.
31898         * configure: Regenerated.
31899         * include/libc-symbols.h: Remove comment about
31900         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31901         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
31902         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
31903         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
31904         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
31905         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
31906         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
31907         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
31908         * elf/tst-unique2mod1.c: Likewise.
31909         * elf/tst-unique1mod2.c: Likewise.
31910         * elf/tst-unique1mod1.c: Likewise.
31911         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
31912         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
31913         Replace ASM_TYPE_DIRECTIVE with .type.
31914         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31915         * sysdeps/i386/sysdep.h: Likewise.
31916         * sysdeps/x86_64/sysdep.h: Likewise.
31917         * sysdeps/sh/sysdep.h: Likewise.
31918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31919         Do not define ASM_TYPE_DIRECTIVE.
31920         * sysdeps/powerpc/sysdep.h: Likewise.
31921         * sysdeps/powerpc/powerpc32/sysdep.h:
31922         Replace ASM_TYPE_DIRECTIVE with .type.
31923         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31924         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31925         * sysdeps/i386/fpu/e_powf.S: Likewise.
31926         * sysdeps/i386/fpu/e_expl.S: Likewise.
31927         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31928         * sysdeps/i386/fpu/e_acosh.S: Likewise.
31929         * sysdeps/i386/fpu/e_pow.S: Likewise.
31930         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
31931         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31932         * sysdeps/i386/fpu/s_expm1.S: Likewise.
31933         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
31934         * sysdeps/i386/fpu/e_log2.S: Likewise.
31935         * sysdeps/i386/fpu/e_log2l.S: Likewise.
31936         * sysdeps/i386/fpu/e_scalb.S: Likewise.
31937         * sysdeps/i386/fpu/e_powl.S: Likewise.
31938         * sysdeps/i386/fpu/e_log10f.S: Likewise.
31939         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
31940         * sysdeps/i386/fpu/e_logl.S: Likewise.
31941         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
31942         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
31943         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
31944         * sysdeps/i386/fpu/e_log2f.S: Likewise.
31945         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31946         * sysdeps/i386/fpu/e_log.S: Likewise.
31947         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31948         * sysdeps/i386/fpu/e_logf.S: Likewise.
31949         * sysdeps/i386/fpu/e_log10l.S: Likewise.
31950         * sysdeps/i386/fpu/e_atanh.S: Likewise.
31951         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
31952         * sysdeps/i386/fpu/e_log10.S: Likewise.
31953         * sysdeps/i386/fpu/s_frexp.S: Likewise.
31954         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31955         * sysdeps/i386/fpu/s_asinh.S: Likewise.
31956         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
31957         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31958         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
31959         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
31960         * sysdeps/i386/i686/strtok.S: Likewise.
31961         * sysdeps/i386/i386-mcount.S: Likewise.
31962         * sysdeps/i386/strtok.S: Likewise.
31963         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
31964         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31965         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31966         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31967         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
31968         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31969         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
31970         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
31971         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31972         * sysdeps/x86_64/_mcount.S: Likewise.
31973         * sysdeps/x86_64/strtok.S: Likewise.
31974         * sysdeps/sh/_mcount.S: Likewise.
31975
31976 2012-08-01  Roland McGrath  <roland@hack.frob.com>
31977
31978         * libio/iofopen.c: Include <fcntl.h>.
31979         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
31980         (_IO_fopen64, fopen64): Define as aliases.
31981         * libio/iofopen64.c: Include <fcntl.h>.
31982         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
31983         Conditionalize body on this.
31984         * sysdeps/wordsize-64/iofopen.c: File removed.
31985         * sysdeps/wordsize-64/iofopen64.c: File removed.
31986
31987 2012-08-01  Marek Polacek  <polacek@redhat.com>
31988
31989         * libc/Makeconfig: Use elf in place of binfmt-subdir.
31990         Use dlfcn directly instead of a variable.
31991         (binfmt-subdir): Do not define.
31992         (dlfcn): Likewise.
31993
31994 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
31995
31996         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
31997         Remove all definitions.
31998         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
31999         <kernel-features.h>.
32000         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32001         (miss_F_GETOWN_EX): Remove all definitions.
32002         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
32003         macro definition.
32004         [!__ASSUME_FCNTL64]: Remove conditional code.
32005         [__ASSUME_FCNTL64]: Make code unconditional.
32006         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32007         <kernel-features.h>.
32008         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32009         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
32010         (lockf64) [__NR_fcntl64]: Make code unconditional.
32011         (lockf64) [__ASSUME_FCNTL64]: Likewise.
32012
32013         * sysdeps/unix/sysv/linux/kernel-features.h
32014         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32015         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32016         Make code unconditional.
32017         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32018         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
32020         [__NR_vfork]: Make code unconditional.
32021         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32022         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
32024         [__NR_vfork]: Make code unconditional.
32025         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32026         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32027
32028 2012-08-01  Roland McGrath  <roland@hack.frob.com>
32029
32030         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
32031         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
32032
32033         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32034         Define mkstemp64 as an alias.
32035         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32036         Define mkstemps64 as an alias.
32037         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32038         Define mkostemp64 as an alias.
32039         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32040         Define mkostemps64 as an alias.
32041         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
32042         Conditionalize body on this.
32043         * misc/mkostemp64.c: Likewise.
32044         * misc/mkostemps64.c: Likewise.
32045         * misc/mkstemps64.c: Likewise.
32046         * sysdeps/wordsize-64/mkstemp64.c: File removed.
32047         * sysdeps/wordsize-64/mkostemp64.c: File removed.
32048         * sysdeps/wordsize-64/mkostemp.c: File removed.
32049         * sysdeps/wordsize-64/mkstemp.c: File removed.
32050         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
32051         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
32052         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
32053         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32054
32055         [BZ #14138]
32056         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32057         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32058         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32059         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32060
32061         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32062         compat_symbol macros from <shlib-compat.h> rather than the underlying
32063         default_symbol_version and symbol_version macros, so that DEFAULT
32064         lines in shlib-versions are respected.
32065         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32066
32067 2012-08-01  Florian Weimer  <fweimer@redhat.com>
32068
32069         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32070         Declare with warn_unused_result.
32071         (setgid, setregid, setegid, setresgid): Likewise.
32072         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32073         Likewise.
32074         * WUR-REPORT: Remove set*id functions.
32075
32076 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
32077
32078         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32079
32080 2012-07-31  Roland McGrath  <roland@hack.frob.com>
32081
32082         [BZ #10191]
32083         * include/sys/socket.h (__libc_accept, __libc_accept4):
32084         Add attribute_hidden.
32085         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
32086
32087         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32088         use of PTR_MANGLE.
32089         * inet/getnetgrent_r.c (setup): Likewise.
32090
32091         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32092
32093 2012-07-31  David S. Miller  <davem@davemloft.net>
32094
32095         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32096
32097 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
32098
32099         [BZ #13629]
32100         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32101         value between 1.0 and 2.0 and smaller part has absolute value less
32102         than 1.0.
32103         * math/s_clog10.c (__clog10): Likewise.
32104         * math/s_clog10f.c (__clog10f): Likewise.
32105         * math/s_clog10l.c (__clog10l): Likewise.
32106         * math/s_clogf.c (__clogf): Likewise.
32107         * math/s_clogl.c (__clogl): Likewise.
32108         * math/libm-test.inc (clog_test): Add more tests.
32109         (clog10_test): Likewise.
32110         * sysdeps/i386/fpu/libm-test-ulps: Update.
32111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32112
32113 2012-07-31  Florian Weimer  <fweimer@redhat.com>
32114
32115         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32116         Exit with zero in case no suitable GID is found, and write a
32117         message to standard error.
32118
32119 2012-07-30  Roland McGrath  <roland@hack.frob.com>
32120
32121         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32122         rather than to 1.
32123         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32124         (MAXPATHLEN): Removed.
32125         (NOGROUP, NODEV): New macros.
32126         (setbit, clrbit, isset, isclr): New macros.
32127         (howmany, roundup, powerof2): New macros.
32128         (DEV_BSIZE): New macro.
32129
32130         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32131         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32132
32133         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32134         definition on [!__NO_LONG_DOUBLE_MATH].
32135
32136         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32137         PTR_MANGLE and PTR_DEMANGLE.
32138
32139         * socket/accept4.c (accept4): Rename to __libc_accept4.
32140         Define accept4 as a weak alias.
32141
32142         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32143         on [_DIRENT_HAVE_D_TYPE].
32144         * io/ftw.c (ftw_dir): Likewise.
32145
32146         * io/xmknod.c (__xmknod): Don't check PATH for being null.
32147
32148         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32149
32150         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32151         Use the BSD numbers rather than the arbitrary ones we had.
32152         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32153         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32154         (SIGXCPU, SIGXFSZ): New macros.
32155         (_NSIG): Now 32.
32156
32157         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32158         initializer on [_LIBC_REENTRANT].
32159
32160         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32161         definitions inside [_POSIX_MAPPED_FILES].
32162
32163         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32164
32165         * dirent/opendir.c: Include <fcntl.h>.
32166
32167         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32168         (__libc_getspecific): Likewise.
32169         (__libc_key_create): Likewise.
32170
32171         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32172         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32173         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32174         (tmpfile64): Define as alias.
32175         * sysdeps/wordsize-64/tmpfile.c: File removed.
32176         * sysdeps/wordsize-64/tmpfile64.c: File removed.
32177         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32178         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32179
32180         * stdio-common/vfscanf.c: Include <stdbool.h>.
32181         * nss/makedb.c: Likewise.
32182         * stdio-common/_i18n_number.h: Likewise.
32183         * argp/argp-help.c: Likewise.
32184         * posix/wordexp.c: Likewise.
32185         * sysdeps/posix/spawni.c: Likewise.
32186         * nss/nss_files/files-initgroups.c: Likewise.
32187         * stdio-common/reg-modifier.c: Include <stdlib.h>.
32188         * nss/nss_files/files-initgroups.c: Likewise.
32189         * nss/nss_db/db-netgrp.c: Likewise.
32190         * nss/nss_db/db-initgroups.c: Likewise.
32191         * io/fchmodat.c: Include <sys/stat.h>.
32192
32193         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32194         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32195
32196         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
32197         [HAVE_MMAP].
32198
32199         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
32200         Add multiple inclusion protection.
32201
32202 2012-07-27  David S. Miller  <davem@davemloft.net>
32203
32204         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32205
32206 2012-07-27  Gary Benson  <gbenson@redhat.com>
32207
32208         [BZ #14298]
32209         * elf/rtld.c: Include <stap-probe.h>.
32210         (dl_main): Added static probes "init_start" and "init_complete".
32211         * elf/dl-load.c: Include <stap-probe.h>.
32212         (lose): Take new parameter "nsid".
32213         Added static probe "map_failed".
32214         (_dl_map_object_from_fd): Pass namespace id to lose.
32215         Added static probe "map_start".
32216         (open_verify): Pass namespace id to lose.
32217         * elf/dl-open.c: Include <stap-probe.h>.
32218         (dl_open_worker) Added static probes "map_complete", "reloc_start"
32219         and "reloc_complete".
32220         * elf/dl-close.c: Include <stap-probe.h>.
32221         (_dl_close_worker): Added static probes "unmap_start" and
32222         "unmap_complete".
32223         * elf/rtld-debugger-interface.txt: New file documenting the above.
32224
32225 2012-07-26  Roland McGrath  <roland@hack.frob.com>
32226
32227         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32228         rather than a string variable.
32229         * sunrpc/rpc_main.c (h_output): Likewise.
32230         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32231
32232 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
32233
32234         * inet/check_native.c: New file.
32235
32236 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
32237
32238         [BZ #13629]
32239         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32240         if larger part has absolute value 1.0.
32241         * math/s_clog10.c (__clog10): Likewise.
32242         * math/s_clog10f.c (__clog10f): Likewise.
32243         * math/s_clog10l.c (__clog10l): Likewise.
32244         * math/s_clogf.c (__clogf): Likewise.
32245         * math/s_clogl.c (__clogl): Likewise.
32246         * math/libm-test.inc (clog_test): Add more tests.
32247         (clog10_test): Likewise.
32248         * sysdeps/i386/fpu/libm-test-ulps: Update.
32249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32250
32251         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32252         (pltexit): Likewise.
32253         (La_regs): Likewise.
32254         (La_retval): Likewise.
32255         (int_retval): Likewise.
32256         Update #error for removed macros to refer only to definitions in
32257         tst-audit.h.
32258         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32259         macro.
32260         (pltexit): Likewise.
32261         (La_regs): Likewise.
32262         (La_retval): Likewise.
32263         (int_retval): Likewise.
32264         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32265         macro.
32266         (pltexit): Likewise.
32267         (La_regs): Likewise.
32268         (La_retval): Likewise.
32269         (int_retval): Likewise.
32270         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32271         macro.
32272         (pltexit): Likewise.
32273         (La_regs): Likewise.
32274         (La_retval): Likewise.
32275         (int_retval): Likewise.
32276         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32277         macro.
32278         (pltexit): Likewise.
32279         (La_regs): Likewise.
32280         (La_retval): Likewise.
32281         (int_retval): Likewise.
32282         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32283         macro.
32284         (pltexit): Likewise.
32285         (La_regs): Likewise.
32286         (La_retval): Likewise.
32287         (int_retval): Likewise.
32288         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32289         macro.
32290         (pltexit): Likewise.
32291         (La_regs): Likewise.
32292         (La_retval): Likewise.
32293         (int_retval): Likewise.
32294         * sysdeps/generic/tst-audit.h: Update comment to refer only to
32295         macro definitions in tst-audit.h.
32296         * sysdeps/i386/tst-audit.h: New file.
32297         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32298         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32299         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32300         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32301         * sysdeps/sh/tst-audit.h: Likewise.
32302         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32303         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32304         * sysdeps/x86_64/tst-audit.h: Likewise.
32305
32306 2012-07-26  Andreas Jaeger  <aj@suse.de>
32307
32308         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32309         ptrace.
32310
32311         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32312         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32313         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32314         PTRACE_O_MASK.
32315         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32316         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32317         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32318
32319         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
32320         value.
32321
32322         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
32323         _sigsys.
32324         (si_call_addr, si_syscall, si_arch): Define new macro.
32325         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
32326         _sigsys.
32327         (si_call_addr, si_syscall, si_arch): Define new marcro.
32328         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
32329         _sigsys.
32330         (si_call_addr, si_syscall, si_arch): Define new macro.
32331         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
32332         _sigsys.
32333         (si_call_addr, si_syscall, si_arch): Define new macro.
32334
32335 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
32336
32337         [BZ #13717]
32338         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32339         Change to 2.4.21 where previously 2.4.1.
32340         * sysdeps/unix/sysv/linux/configure: Regenerated.
32341         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
32342         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
32343         Linux kernel version.
32344         (__ASSUME_STD_AUXV): Remove.
32345         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
32346         kernel version.
32347         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
32348         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
32349         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
32350         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
32351         (__ASSUME_NETLINK_SUPPORT): Likewise.
32352         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
32353         (__no_netlink_support): Remove conditional definition.
32354         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
32355         Remove.
32356         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32357         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
32358         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
32359         (if_nameindex_ioctl): Remove.
32360         (if_nameindex_netlink): Do not handle __no_netlink_support.
32361         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32362         code.
32363         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
32364         Remove conditional code.
32365         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32366         code.
32367         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
32368         unconditional.
32369         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32370         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
32371         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
32372         Remove.
32373         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
32374         [!__ASSUME_STD_AUXV]: Remove conditional code.
32375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
32376         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
32377         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
32378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
32379         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
32380         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32381         code.
32382         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32384         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
32385         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32386         conditional code.
32387         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32389         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32390         code.
32391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32392         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32393         conditional code.
32394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
32395         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32396         code unconditional.
32397         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32398         conditional code.
32399         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32400         unconditional.
32401         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32402         conditional code.
32403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32404         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32405         unconditional.
32406         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32407         conditional code.
32408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32409         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32410         code unconditional.
32411         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32412         conditional code.
32413         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32414         unconditional.
32415         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32416         conditional code.
32417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32418         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32419         code unconditional.
32420         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32421         conditional code.
32422         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32423         unconditional.
32424         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32425         conditional code.
32426
32427 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
32428
32429         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32430         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32431         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32432         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32433         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32434         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32435         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32436         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32437         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32438         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32439         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32440         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32441         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32442         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32443         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32444         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32445         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32446         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32447         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32448         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32449         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32450         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32451         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32452
32453 2012-07-25  Florian Weimer  <fweimer@redhat.com>
32454
32455         * Versions.def: Add GLIBC_2.17.
32456         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32457         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32458         Introduce __libc_secure_getenv.
32459         * stdlib/Versions (2.17): Add secure_getenv
32460         (GLIBC_PRIVATE): Add __libc_secure_getenv.
32461         * stdlib/secure-getenv.c: Rename __secure_getenv to
32462         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
32463         symbol __secure_getenv for GLIBC_2.0.
32464         * stdlib/tst-secure-getenv.c: New.
32465         * stdlib/Makefile (tests): Add testcase.
32466         * manual/startup.texi (Environment Access): Document
32467         secure_getenv.
32468         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32469         __libc_secure_getenv.
32470         * inet/ruserpass.c (ruserpass): Likewise.
32471         * malloc/mtrace.c (mtrace): Likewise.
32472         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
32473         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
32474         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32475         * sysdeps/posix/tempname.c: Likewise.  Evaluate
32476         HAVE_SECURE_GETENV.
32477         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
32478         __secure_getenv to __libc_secure_getenv.
32479         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
32480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32481         Likewise.
32482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32483         Likewise.
32484         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32485         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32486         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32487         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32488         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32489         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32490         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32491
32492 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
32493
32494         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32495         (struct La_i86_retval): Likewise.
32496         (struct La_x86_64_regs): Likewise.
32497         (struct La_x86_64_retval): Likewise.
32498         (struct La_x32_regs): Likewise.
32499         (struct La_x32_retval): Likewise.
32500         (struct La_ppc32_regs): Likewise.
32501         (struct La_ppc32_retval): Likewise.
32502         (struct La_ppc64_regs): Likewise.
32503         (struct La_ppc64_retval): Likewise.
32504         (struct La_sh_regs): Likewise.
32505         (struct La_sh_retval): Likewise.
32506         (struct La_s390_32_regs): Likewise.
32507         (struct La_s390_32_retval): Likewise.
32508         (struct La_s390_64_regs): Likewise.
32509         (struct La_s390_64_retval): Likewise.
32510         (struct La_sparc32_regs): Likewise.
32511         (struct La_sparc32_retval): Likewise.
32512         (struct La_sparc64_regs): Likewise.
32513         (struct La_sparc64_retval): Likewise.
32514         (struct audit_ifaces): Remove architecture-specific pltenter and
32515         pltexit members.
32516         * sysdeps/i386/ldsodefs.h: New file.
32517         * sysdeps/powerpc/ldsodefs.h: Likewise.
32518         * sysdeps/s390/ldsodefs.h: Likewise.
32519         * sysdeps/sh/ldsodefs.h: Likewise.
32520         * sysdeps/sparc/ldsodefs.h: Likewise.
32521         * sysdeps/x86_64/ldsodefs.h: Likewise.
32522
32523 2012-07-25  Marek Polacek  <polacek@redhat.com>
32524
32525         [BZ #6808]
32526         * math/libm-test.inc (yn_test): Add another test.
32527         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32528         to ERANGE when the result is +-Inf.
32529         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32530         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32531         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
32532         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
32533
32534 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
32535
32536         * conform/data/time.h-data (NULL): Use macro-constant.  Require
32537         equal to 0.
32538         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
32539         clock_t.
32540         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
32541
32542 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
32543
32544         * configure.in <sysdeps resolving>: Correct printing
32545         Implies_before.
32546         * configure: Regenerate.
32547
32548 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
32549
32550         * math/w_ilogb.c: Include <limits.h>.
32551         * math/w_ilogbl.c: Likewise.
32552
32553 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
32554
32555         * manual/lang.texi (__va_copy): Document primarily as ISO C99
32556         va_copy.  Document allowing for unavailable va_copy only as
32557         pre-C99 compatibility.
32558         * manual/string.texi (Copying and Concatenation): Use va_copy
32559         instead of __va_copy in concat example.
32560
32561 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
32562
32563         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
32564         (__sendto): Use create_address_port.  Initialize APORT and deallocate
32565         it if not null.
32566
32567         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
32568         with O_NOLINK passed to __file_name_lookup.
32569
32570         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
32571         with O_NOLINK passed to __file_name_lookup.
32572
32573         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
32574         negative N or less than NGIDS.
32575
32576         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
32577         type to string_t.  Set ERANGE as errno and return it if NAME is not big
32578         enough.  Use memcpy instead of strncpy.
32579
32580 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
32581
32582         * elf/Makefile (check-data): Remove.
32583         (localplt.data): New vpath directive.
32584         ($(objpfx)check-localplt.out): Use localplt.data from vpath
32585         instead of $(check-data).
32586         * scripts/data/localplt-generic.data: Move to ...
32587         * sysdeps/generic/localplt.data: ... here.
32588         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
32589         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
32590         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
32591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32592         ... here.
32593         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
32594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32595         ... here.
32596         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
32597         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
32598         ... here.
32599         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
32600         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32601         ... here.
32602         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
32603         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
32604         ... here.
32605         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
32606         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
32607         ... here.
32608
32609 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32610
32611         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
32612         PPC32 and PPC64 files.
32613         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
32614         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
32615
32616 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32617
32618         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
32619         __makecontext_ret to ...
32620         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32621         ... here and call exit if uc_link is NULL.  New file.
32622         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
32623         __makecontext_ret.S.
32624         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
32625         __makecontext_ret to ...
32626         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32627         ... here and call exit if uc_link is NULL.  New file.
32628         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
32629         __makecontext_ret.S.
32630
32631 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32632
32633         * elf/elf.h (R_390_IRELATIVE): New definition.
32634         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
32635         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
32636         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
32637         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32638         (elf_machine_lazy_rel): Likewise.
32639         * sysdeps/s390/dl-irel.h: New file.
32640         * sysdeps/s390/s390-64/memcpy.S: New asm code.
32641         * sysdeps/s390/s390-64/memset.S: New asm code.
32642         * sysdeps/s390/s390-64/memcmp.S: New asm code.
32643         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
32644         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
32645         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
32646         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
32647         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
32648         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
32649         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
32650         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
32651         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
32652         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
32653         * sysdeps/s390/s390-32/memcpy.S: New asm code.
32654         * sysdeps/s390/s390-32/memset.S: New asm code.
32655         * sysdeps/s390/s390-32/memcmp.S: New asm code.
32656
32657 2012-07-17  Marek Polacek  <polacek@redhat.com>
32658
32659         [BZ #14349]
32660         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
32661         * sysdeps/s390/s390-64/configure.in: Likewise.
32662         * sysdeps/sparc/configure.in: Likewise.
32663         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
32664         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
32665         * sysdeps/i386/configure.in: Likewise.
32666         * sysdeps/x86_64/configure.in: Likewise.
32667         * sysdeps/sh/configure.in: Likewise.
32668         * sysdeps/s390/s390-32/configure: Regenerated.
32669         * sysdeps/s390/s390-64/configure: Likewise.
32670         * sysdeps/x86_64/configure: Likewise.
32671         * sysdeps/sh/configure: Likewise.
32672         * sysdeps/powerpc/powerpc64/configure: Likewise.
32673         * sysdeps/powerpc/powerpc32/configure: Likewise.
32674         * sysdeps/sparc/configure: Likwise.
32675         * sysdeps/i386/configure: Likewise.
32676
32677         * elf/dl-open.c: Comment fixes.
32678
32679 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
32680
32681         * Makefile [CXX] (check-data): Remove.
32682         [CXX] (c++-types.data): New vpath directive.
32683         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
32684         vpath.  Do not allow for C++ type data being missing.
32685         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
32686         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
32687         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
32688         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
32689         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
32690         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
32691         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
32692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32693         ... here.
32694         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
32695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32696         ... here.
32697         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
32698         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
32699         ... here.
32700         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
32701         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
32702         ... here.
32703         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
32704         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
32705         ... here.
32706         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
32707         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
32708         ... here.
32709         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
32710         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
32711         ... here.
32712         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
32713         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
32714
32715         * elf/tls-macros.h (TLS_LE): Move architecture-specific
32716         definitions to architecture-specific files.
32717         (TLS_IE): Likewise.
32718         (TLS_LD): Likewise.
32719         (TLS_GD): Likewise.
32720         * sysdeps/i386/tls-macros.h: New file.
32721         * sysdeps/powerpc/tls-macros.h: Likewise.
32722         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
32723         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
32724         * sysdeps/sh/tls-macros.h: Likewise.
32725         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
32726         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
32727         * sysdeps/x86_64/tls-macros.h: Likewise.
32728
32729 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
32730
32731         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
32732         zero value for regular exit case.
32733
32734         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32735         (__start_context): Preserve zero value for regular exit case.
32736
32737 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
32738             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32739
32740         * manual/setjmp.texi (setcontext): Clarify normal process
32741         termination when uc_link is the null pointer.
32742         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
32743         exit call.
32744
32745 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
32746
32747         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
32748         preprocessor.  Test for each exception mask separately.
32749
32750 2012-07-16  Andreas Jaeger  <aj@suse.de>
32751
32752         * po/ru.po: Update from translation team.
32753
32754 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
32755
32756         * conform/data/string.h-data (NULL): Use macro-constant.  Require
32757         equal to 0.
32758         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32759         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32760         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
32761         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
32762         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32763
32764 2012-07-13  Andreas Jaeger  <aj@suse.de>
32765
32766         * po/fr.po: Update from translation team.
32767
32768 2012-07-12  Marek Polacek  <polacek@redhat.com>
32769
32770         [BZ #14173]
32771         * math/libm-test.inc (yn_test): Add test for BZ #14173.
32772         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
32773         loop condition.
32774
32775 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
32776
32777         [BZ #13717]
32778         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32779         Change to 2.4.1 where previously 2.4.0.
32780         * sysdeps/unix/sysv/linux/configure: Regenerated.
32781         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
32782         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
32783         version.
32784         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32785         (__ASSUME_AT_CLKTCK): Remove.
32786         (__ASSUME_AT_PAGESIZE): Likewise.
32787         (__ASSUME_AT_XID): Likewise.
32788         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
32789         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
32790         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
32791         unconditionally.
32792         (HAVE_AUX_PAGESIZE): Likewise.
32793         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32794         [__ASSUME_AT_CLKTCK]: Make code unconditional.
32795         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32796
32797 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
32798
32799         [BZ #14307]
32800         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32801         the temporary buffer used to invoke __gethostbyname2_r,
32802         __gethostbyaddr_r and gethostbyname4_r to make room for struct
32803         host_data / struct gaih_addrtuple.
32804         * resolv/nss_dns/dns-host.c (global scope): Move definition of
32805         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32806         header file nss/nsswitch.h.
32807         * nss/nsswitch.h (global scope): Add definition of implementation
32808         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32809         resolv/nss_dns/dns-host.c).
32810
32811 2012-07-11  Andreas Jaeger  <aj@suse.de>
32812
32813         * po/fr.po: Update from translation team.
32814
32815         * po/sv.po: Update from translation team
32816         * po/fr.po: Another update from translation team.
32817
32818 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32819
32820         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32821         for subnormals or multiply small sinh result by itself.
32822         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32823         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32824
32825 2012-07-11  David S. Miller  <davem@davemloft.net>
32826
32827         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32828
32829 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
32830
32831         [BZ #14347]
32832         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32833         (INTERNAL_MARK): Shift it here.
32834
32835 2012-07-10  Marek Polacek  <polacek@redhat.com>
32836
32837         [BZ #14151]
32838         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
32839         libc_cv_asm_global_directive with .globl.
32840         * configure: Regenerated.
32841         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32842         with .globl.
32843         * sysdeps/i386/configure: Regenerated.
32844         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32845         with .globl.
32846         * sysdeps/x86_64/configure: Regenerated.
32847         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32848         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32849         * elf/tst-unique2mod2.c: Likewise.
32850         * elf/tst-unique2mod1.c: Likewise.
32851         * elf/tst-unique1mod2.c: Likewise.
32852         * elf/tst-unique1mod1.c: Likewise.
32853         * sysdeps/s390/s390-32/sysdep.h: Likewise.
32854         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32855         * sysdeps/s390/s390-64/sysdep.h: Likewise.
32856         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32857         * sysdeps/mach/sysdep.h: Likewise.
32858         * sysdeps/i386/sysdep.h: Likewise.
32859         * sysdeps/i386/i386-mcount.S: Likewise.
32860         * sysdeps/x86_64/_mcount.S: Likewise.
32861         * sysdeps/x86_64/sysdep.h: Likewise.
32862         * sysdeps/sh/_mcount.S: Likewise.
32863         * sysdeps/sh/sysdep.h: Likewise.
32864         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
32865         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
32866         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
32867         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32868         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
32869         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
32870         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
32871         * locale/localeinfo.h: Likewise.
32872         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
32873         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
32874
32875 2012-07-09  Roland McGrath  <roland@hack.frob.com>
32876
32877         [BZ #14336]
32878         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
32879         system".
32880         * manual/message.texi (The Uniforum approach): Likewise.
32881         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
32882         (glibc iconv Implementation): Likewise.
32883
32884 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
32885
32886         [BZ #14337]
32887         * math/s_clog.c (__clog): Avoid scaling a value down where that
32888         could result in underflow.
32889         * math/s_clog10.c (__clog10): Likewise.
32890         * math/s_clog10f.c (__clog10f): Likewise.
32891         * math/s_clog10l.c (__clog10l): Likewise.
32892         * math/s_clogf.c (__clogf): Likewise.
32893         * math/s_clogl.c (__clogl): Likewise.
32894         * math/libm-test.inc (clog_test): Add more tests.
32895         (clog10_test): Likewise.
32896         * sysdeps/i386/fpu/libm-test-ulps: Update.
32897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32898
32899 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
32900
32901         [BZ #14283]
32902         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
32903         by 7 not 8 to examine high bit of fractional part.
32904
32905         [BZ #14042]
32906         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
32907         for call to __mcount_internal.
32908         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
32909         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
32910         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
32911
32912 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
32913
32914         [BZ #14154]
32915         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
32916         approximation for values within 0x1p-13f of an odd multiple of
32917         pi/4.
32918         * math/libm-test.inc (tan_test): Do not allow spurious underflow
32919         exception.  Add more tests.
32920         * sysdeps/i386/fpu/libm-test-ulps: Update.
32921
32922         [BZ #6778]
32923         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
32924         inputs and return -1 for them.  Do not check for +Inf in case not
32925         reachable for +Inf.
32926         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
32927         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
32928         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32929         and return -1 for them.  Do not check for +Inf in case not
32930         reachable for +Inf.
32931         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
32932         define.
32933         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
32934         and return -1 for them.  Do not check for +Inf in case not
32935         reachable for +Inf.
32936         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
32937         spurious underflow.
32938         * sysdeps/i386/fpu/libm-test-ulps: Update.
32939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32940
32941 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
32942
32943         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
32944
32945 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
32946
32947         [BZ #14157]
32948         [BZ #14331]
32949         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
32950         could result in spurious underflow.  Scale down values above
32951         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
32952         * math/s_csqrtf.c (__csqrtf): Likewise.
32953         * math/s_csqrtl.c (__csqrtl): Likewise.
32954         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
32955         spurious underflow.
32956         * sysdeps/i386/fpu/libm-test-ulps: Update.
32957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32958
32959 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
32960
32961         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
32962         xopen-msg.sed.
32963         * catgets/xopen-msg.awk: New file.
32964         * catgets/xopen-msg.sed: Removed.
32965
32966         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
32967         po2text.sed.
32968         * intl/po2test.awk: New file.
32969         * intl/po2test.sed: Removed.
32970
32971 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
32972
32973         [BZ #14328]
32974         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
32975         or multiply small sinh result by itself.
32976         * math/s_ctanf.c (__ctanf): Likewise.
32977         * math/s_ctanh.c (__ctanh): Likewise.
32978         * math/s_ctanhf.c (__ctanhf): Likewise.
32979         * math/s_ctanhl.c (__ctanhl): Likewise.
32980         * math/s_ctanl.c (__ctanl): Likewise.
32981         * math/libm-test.inc (ctan_test_tonearest): New function.
32982         (ctan_test_towardzero): Likewise.
32983         (ctan_test_downward): Likewise.
32984         (ctan_test_upward): Likewise.
32985         (ctanh_test_tonearest): Likewise.
32986         (ctanh_test_towardzero): Likewise.
32987         (ctanh_test_downward): Likewise.
32988         (ctanh_test_upward): Likewise.
32989         (main): Call these new functions.
32990         * sysdeps/i386/fpu/libm-test-ulps: Update.
32991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32992
32993 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
32994
32995         * .gitignore: Delete /ports entry.
32996
32997 2012-07-03  Andreas Jaeger  <aj@suse.de>
32998
32999         * po/bg.po: Update from translation team.
33000         * po/cs.po: Likewise.
33001         * po/de.po: Likewise.
33002         * po/hr.po: Likewise.
33003         * po/nl.pl: Likewise.
33004         * po/pl.po: Likewise.
33005         * po/vi.po: Likewise.
33006
33007 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
33008
33009         * Makeconfig [!+link] (+link-before-libc): New variable.
33010         [!+link] (+link-after-libc): Likewise.
33011         [!+link] (+link-tests): Likewise.
33012         [!+link] (+link): Define in terms of $(+link-before-libc) and
33013         $(+link-after-libc).
33014         [!+link-static] (+link-static-before-libc): New variable.
33015         [!+link-static] (+link-static-after-libc): Likewise.
33016         [!+link-static] (+link-static-tests): Likewise.
33017         [!+link-static] (+link-static): Define in terms of
33018         $(+link-static-before-libc) and $(+link-static-after-libc).
33019         [build-shared] (link-libc-before-gnulib): New variable.
33020         [build-shared] (link-libc-tests): Likewise.
33021         [build-shared] (link-libc): Define in terms of
33022         $(link-libc-before-gnulib).
33023         [!build-shared] (link-libc-tests): New variable.
33024         (link-libc-static-tests): New variable.
33025         [!gnulib] (gnulib-arch): New variable.
33026         [!gnulib] (gnulib-tests): Likewise.
33027         [!gnulib] (static-gnulib-arch): Likewise.
33028         [!gnulib] (static-gnulib-tests): Likewise.
33029         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
33030         Define with "=" instead of ":=".
33031         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
33032         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
33033         * Rules (binaries-all-notests): New variable.
33034         (binaries-all-tests): Likewise.
33035         (binaries-static-notests): Likewise.
33036         (binaries-static-tests): Likewise.
33037         (binaries-all): Define using $(binaries-all-notests) and
33038         $(binaries-all-tests).
33039         (binaries-static): Define using $(binaries-static-notests) and
33040         $(binaries-static-tests).
33041         (binaries-shared-tests): New variable.
33042         (binaries-shared-notests): Likewise.
33043         (binaries-shared): Remove variable.
33044         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
33045         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
33046         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
33047         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
33048         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
33049         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
33050         * elf/Makefile (sln-modules): New variable.
33051         (extra-objs): Add $(sln-modules:=.o).
33052         (ldconfig-modules): Add static-stubs.
33053         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
33054         * elf/static-stubs.c: New file.
33055
33056         [BZ #14283]
33057         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33058         by 7 not 8 to examine high bit of fractional part.  Use volatile
33059         variables when splitting into final array of floats if
33060         __FLT_EVAL_METHOD__ != 0.
33061         * math/libm-test.inc (cos_test): Add another test.
33062         (sin_test): Likewise.
33063         * sysdeps/i386/fpu/libm-test-ulps: Update.
33064
33065         [BZ #14273]
33066         * math/libm-test.inc (cosh_test): Add more tests.
33067
33068         * version.h (RELEASE): Set to "development".
33069         (VERSION): Set to "2.16.90".
33070
33071 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
33072
33073         * NEWS: Update copyright. Remove last-updated date.
33074         Mention math library bug fixes and timezone data changes.
33075         * README: Mention GNU/Hurd, x32, and HPPA support status.
33076
33077 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
33078
33079         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33080
33081 2012-06-27  Andreas Jaeger  <aj@suse.de>
33082
33083         * manual/contrib.texi (Contributors): Add Samuel Thibault.
33084
33085 2012-06-25  Andreas Jaeger  <aj@suse.de>
33086
33087         * sysdeps/s390/fpu/libm-test-ulps: Update.
33088
33089 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
33090             Thomas Schwinge  <thomas@codesourcery.com>
33091
33092         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33093         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33094         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33095         fanotify_mark.
33096
33097 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
33098
33099         * sysdeps/mach/start.c: Remove file.
33100         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33101         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33102         * sysdeps/sh/init-first.c: Likewise.
33103
33104         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33105         registers for frame unwinding purposes, add CFI directives.
33106         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33107         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33108         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33109         Likewise.
33110
33111         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33112         __fortify_fail returning.
33113         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33114
33115         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33116         sysdeps/sh/____longjmp_chk.S.
33117         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33118         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33119         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33120         (gen-as-const-headers): Append sigaltstack-offsets.sym.
33121
33122         * sysdeps/sh/abort-instr.h: New file.
33123         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33124         process in case exit returns.
33125
33126         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33127         initialize the GOT register before use.
33128
33129         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33130         calculation of ARGC > 4.
33131
33132         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33133         meaningful names to some local labels.
33134
33135 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33136             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33137
33138         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33139         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33140         (__arch_compare_and_exchange_val_16_acq): Likewise.
33141         (__arch_compare_and_exchange_val_32_acq): Likewise.
33142         (atomic_exchange_and_add): Fix gUSA sequence.
33143         (atomic_add): Likewise.
33144         (atomic_add_negative): Likewise.
33145         (atomic_add_zero): Likewise.
33146         (atomic_bit_test_set): Likewise.
33147
33148 2012-06-22  Andreas Schwab  <schwab@redhat.com>
33149
33150         [BZ #13579]
33151         * include/link.h (struct link_map): Add l_free_initfini.
33152         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33153         l_initfini.
33154         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33155         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33156         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33157         set.
33158
33159 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
33160
33161         * configure.in: Use AC_LANG_SOURCE.
33162         * configure: Regenerate.
33163
33164 2012-06-22  Roland McGrath  <roland@hack.frob.com>
33165
33166         * configure.in (libc_cv_localstatedir): New substituted variable.
33167         * configure: Regenerated.
33168         * config.make.in (localstatedir): New variable, substituted from
33169         libc_cv_localstatedir.
33170         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33171         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33172         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33173         * sysdeps/gnu/configure: Regenerated.
33174
33175 2012-06-21  Jeff Law  <law@redhat.com>
33176
33177         [BZ #14277]
33178         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33179         free.  Simplify list management for _LIBC case.
33180
33181 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
33182
33183         [BZ #14273]
33184         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33185         Clear sign bit of 64-bit integer value before comparing against
33186         overflow value.
33187
33188         * sysdeps/mach/configure: Regenerated.
33189
33190 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
33191
33192         [BZ #14278]
33193         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33194
33195 2012-06-21  Jeff Law  <law@redhat.com>
33196
33197         [BZ #13882]
33198         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
33199         uint16_t for elements in the "seen" array to avoid char overflows.
33200         * elf/dl-fini.c (_dl_sort_fini): Likewise.
33201         * elf/dl-open.c (dl_open_worker): Likewise.
33202
33203 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
33204
33205         * scripts/list-sources.sh: Scan PORTS for translations.
33206         * po/libc.pot: Regenerated.
33207
33208 2012-06-21  Andreas Jaeger  <aj@suse.de>
33209
33210         [BZ #12194]
33211         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33212         warning.
33213         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33214         * bits/byteswap-16.h (__bswap_16): Likewise.
33215         * bits/byteswap.h (__bswap_constant_16): Likewise.
33216
33217 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
33218
33219         [BZ #14117]
33220         * sysdeps/i386/fpu_control.h: Removed.
33221         * sysdeps/x86_64/fpu_control.h: Moved to ...
33222         * sysdeps/x86/fpu_control.h: Here.
33223
33224         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33225         (_FPU_SETCW): Likewise.
33226
33227 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
33228
33229         [BZ #14117]
33230         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33231         * sysdeps/x86/fpu/bits/mathinline.h: This.
33232         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33233
33234         [BZ #14050]
33235         [BZ #14117]
33236         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33237         functions if __x86_64__ is defined.
33238
33239 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
33240
33241         * string/endian.h: Add !__ASSEMBLER__ condition for including
33242         conversion interfaces.
33243
33244 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
33245
33246         [BZ #14241]
33247         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33248         of ABS(x) in calculating zero to negative powers other than odd
33249         integers.
33250         * math/libm-test.inc (pow_test): Add more tests.
33251
33252 2012-06-15  Andreas Jaeger  <aj@suse.de>
33253
33254         * manual/contrib.texi (Contributors): Update entry of Liubov
33255         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33256         Machado Filho.
33257
33258 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
33259
33260         * string/string.h: Add __wur to GNU version of strerror_r.
33261
33262 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
33263
33264         [BZ #14229]
33265         * string/Makefile (tests): Add tst-strtok_r.
33266         * string/tst-strtok_r.c: New file.
33267         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33268         RAX_LP/RDX_LP on SAVE_PTR.
33269
33270 2012-06-14  Roland McGrath  <roland@hack.frob.com>
33271
33272         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33273
33274 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
33275
33276         * libm_test.inc (csqrt_test): Allow more spurious underflow
33277         exceptions.
33278         (j0_test): Likewise.
33279         (j1_test): Likewise.
33280         (y0_test): Likewise.
33281         (y1_test): Likewise.
33282
33283 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
33284
33285         * po/Makefile (libc.pot): Use UTF-8 charset.
33286
33287 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
33288
33289         [BZ #14210]
33290         Suppress sign-conversion warning from FD_SET.
33291         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33292         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33293         not unsigned long int.
33294         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33295
33296 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
33297
33298         [BZ #14050]
33299         [BZ #14117]
33300         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33301         __extern_always_inline instead of __extern_inline.
33302         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33303         (__signbit): Likewise.
33304         (__signbitl): Support C++ namespace.
33305         (lrintf): New inline function.
33306         (lrint): Likewise.
33307         (llrintf): Likewise.
33308         (llrint): Likewise.
33309         (fmaxf): Likewise.
33310         (fmax): Likewise.
33311         (fminf): Likewise.
33312         (fmin): Likewise.
33313         (rint): Likewise.
33314         (rintf): Likewise.
33315         (ceil): Likewise.
33316         (ceilf): Likewise.
33317         (floor): Likewise.
33318         (floorf): Likewise.
33319         (nearbyint): Likewise.
33320         (nearbyintf): Likewise.
33321
33322 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
33323
33324         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
33325         non-default versions.
33326
33327 2012-06-11  Roland McGrath  <roland@hack.frob.com>
33328
33329         [BZ #14218]
33330         * manual/argp.texi (Argp): Reword argp_parse description slightly.
33331
33332 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
33333
33334         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
33335         (FE_UPWARD, FE_DOWNWARD): Don't define.
33336         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
33337         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33338
33339         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
33340         reading it.
33341         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33342         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33343
33344 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33345
33346         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33347         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
33348         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
33349         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
33350
33351 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
33352
33353         [BZ #14117]
33354         * sysdeps/i386/fpu/bits/fenv.h: Removed.
33355         * sysdeps/i386/fpu/Implies: New file.
33356         * sysdeps/x86_64/fpu/Implies: Likewise.
33357         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
33358         * sysdeps/x86/fpu/bits/fenv.h: This.
33359
33360         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
33361         __SSE_MATH__.
33362
33363 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
33364
33365         [BZ #14134]
33366         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
33367         character 0xffff that matches the last element of the
33368         conversion table.
33369
33370 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33371
33372         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
33373         fmodl commit.
33374
33375 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33376
33377         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
33378         values higher than 25.6283.
33379
33380 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33381
33382         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
33383         subnormal exponent extraction and add some __builtin_expect.
33384         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
33385         Fix for subnormal mantissa calculation.
33386
33387 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
33388
33389         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
33390         cpu2 is -1 and errno is not ENOSYS.
33391
33392 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
33393
33394         [BZ #14117]
33395         * sysdeps/i386/i486/bits/string.h: Renamed to ...
33396         * sysdeps/x86/bits/string.h: This.
33397         * sysdeps/x86_64/bits/string.h: Removed.
33398
33399         * sysdeps/i386/i486/bits/string.h: Define inline functions only
33400         if not compiling for x86-64, but compiling for >= i486.
33401
33402         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33403         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33404
33405         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33406         New macro from Linux kernel 3.4.0.
33407         (FP_XSTATE_MAGIC2): Likewise.
33408         (FP_XSTATE_MAGIC2_SIZE): Likewise.
33409         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33410         (struct _fpx_sw_bytes): New struct.
33411         (struct _xsave_hdr): Likewise.
33412         (struct _ymmh_state): Likewise.
33413         (struct _xstate): Likewise.
33414
33415         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33416         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33417         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33418         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33419         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33420         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33421
33422         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33423         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33424         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33425         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33426         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33427         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33428
33429 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33430
33431         [BZ #13743]
33432         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33433         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33434         (sysdep_headers): Include sys/platform/ppc.h.
33435         * sysdeps/powerpc/test-gettimebase.c: Test for
33436         __ppc_get_timebase() to catch future ISA opcode/insn changes.
33437         * manual/Makefile (appendices): Include platform.texi.
33438         * manual/contrib.texi (Contributors): Update @node pointers.
33439         * manual/maint.texi (Maintenance): Likewise.
33440         (Platform): New node.
33441         * manual/platform.texi: New file.  Document the new features.
33442
33443 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33444             Jakub Jelinek  <jakub@redhat.com>
33445
33446         [BZ #14188]
33447         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33448         where __builtin_expect is unavailable.
33449
33450 2012-06-03  David S. Miller  <davem@davemloft.net>
33451
33452         * stdlib/longlong.h: Updated from GCC.
33453
33454 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
33455
33456         [BZ #14042]
33457         * sysdeps/powerpc/powerpc32/mcount.c: New file.
33458         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33459         __mcount_internal.
33460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33461         (GLIBC_2.16): Likewise.
33462
33463 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33464
33465         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33466
33467 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
33468
33469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33470         (default-abi): New variable.
33471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33472         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33473         variable.
33474         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33475         Likewise.
33476         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33477         Likewise.
33478         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33479         Likewise.
33480
33481         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33482         definition.  Document in comment.
33483
33484 2012-06-01  David S. Miller  <davem@davemloft.net>
33485
33486         * stdlib/longlong.h: Updated from GCC.
33487
33488 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33489
33490         [BZ #14117]
33491         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33492         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33493         sys/debugreg.h sys/io.h here.
33494         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33495         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33496         sys/io.h.
33497         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33498         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33499         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33500         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33501         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33502         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33503
33504         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33505         Define only if __x86_64__ is defined.
33506
33507 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
33508
33509         [BZ #14048]
33510         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33511         Use int64_t for variable i.
33512         * math/libm-test.inc (fmod_test): Add more tests.
33513
33514         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33515         z computation is not scheduled after fetestexcept.
33516         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33517         Use math_force_eval instead of asm to ensure calculation scheduled
33518         before exception test.
33519         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33520         Ensure a1 + u.d computation is not scheduled after fetestexcept.
33521
33522 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
33523
33524         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33525         computation is not scheduled after fetestexcept.
33526
33527 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
33528
33529         [BZ #14117]
33530         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33531         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
33532
33533 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33534
33535         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
33536         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33537
33538 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
33539
33540         [BZ #14117]
33541         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
33542         <bits/wordsize.h>.
33543         (__WCHAR_MIN): Support __WORDSIZE == 64.
33544         (__WCHAR_MAX): Likewise.
33545
33546         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
33547         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
33548
33549         [BZ #14183]
33550         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
33551         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
33552
33553         [BZ #14117]
33554         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
33555         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
33556
33557         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
33558         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
33559
33560         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
33561         Defined to 1 if __x86_64__ isn't defined.
33562         (_STAT_VER_LINUX_OLD): New.
33563         (st_atime): Remove duplicate.
33564         (st_mtime): Likewise.
33565         (st_ctime): Likewise.
33566
33567 2012-05-31  David S. Miller  <davem@davemloft.net>
33568
33569         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
33570         entries.
33571
33572 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
33573
33574         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
33575         gen-libm-test.pl.
33576
33577         [BZ #14132]
33578         * elf/dl-reloc.c: Include <_itoa.h>.
33579         (_dl_reloc_bad_type): Remove use of INTUSE.
33580         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
33581         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
33582         * stdio-common/psiginfo.c (psiginfo): Likewise.
33583         * stdio-common/psignal.c (psignal): Likewise.
33584         * string/strsignal.c (strsignal): Likewise.
33585         * include/signal.h (_sys_siglist): Declare hidden proto.
33586         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
33587         INTVARDEF with libc_hidden_data_def.
33588         * stdio-common/itoa-udigits.c: Likewise.
33589         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
33590         (_itoa_lower_digits_internal): Remove declaration.
33591         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
33592         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
33593         (_sys_sigabbrev_internal): Remove aliases.
33594         (_sys_siglist): Define hidden alias.
33595
33596 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
33597
33598         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33599         bits/sysctl.h.
33600
33601 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
33602
33603         [BZ #14117]
33604         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
33605         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
33606
33607         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
33608         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
33609         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
33610         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
33611         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
33612         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
33613
33614         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
33615         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
33616         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
33617
33618         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
33619         with __addr.
33620         (insw): Likewise.
33621         (insl): Likewise.
33622         (outsb): Likewise.
33623         (outsw): Likewise.
33624         (outsl): Likewise.
33625
33626         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
33627         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
33628         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
33629
33630         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
33631         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
33632         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
33633         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
33634         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
33635         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
33636
33637         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
33638         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
33639
33640         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
33641         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
33642
33643         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
33644         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
33645         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
33646
33647         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
33648         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
33649         to ...
33650         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
33651
33652         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
33653         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
33654         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
33655
33656         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
33657         for x86-64.
33658         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
33659
33660 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
33661
33662         * math/math.h (M_El): Use two more decimal places.
33663         (M_LOG2El): Likewise.
33664         (M_LOG10El): Likewise.
33665         (M_LN2l): Likewise.
33666         (M_LN10l): Likewise.
33667         (M_PIl): Likewise.
33668         (M_PI_2l): Likewise.
33669         (M_PI_4l): Likewise.
33670         (M_1_PIl): Likewise.
33671         (M_2_PIl): Likewise.
33672         (M_2_SQRTPIl): Likewise.
33673         (M_SQRT2l): Likewise.
33674         (M_SQRT1_2l): Likewise.
33675
33676 2012-05-31  David S. Miller  <davem@davemloft.net>
33677
33678         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
33679         values between float registers.
33680         * sysdeps/sparc/sparc64/memset.S: Likewise.
33681         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33682
33683 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
33684
33685         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
33686         -D_FORTIFY_SOURCE=1.
33687         (CPPFLAGS-tst-longjmp_chk.c): Define.
33688         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
33689         (CPPFLAGS-tst-longjmp_chk2.c): Define.
33690         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
33691         CFLAGS-tst-wchar-h.c.
33692
33693 2012-05-31  Marek Polacek  <polacek@redhat.com>
33694
33695         [BZ #14132]
33696         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
33697         __endmntent_internal): Remove declaration.
33698         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
33699         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
33700         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
33701
33702 2012-05-30  David S. Miller  <davem@davemloft.net>
33703
33704         * sysdeps/sparc/sparc32/soft-fp/q_util.c
33705         (___Q_simulate_exceptions): Use real FP ops rather than writing
33706         into the %fsr.
33707         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
33708         Likewise.
33709
33710 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33711
33712         [BZ #14117]
33713         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
33714         * sysdeps/x86/bits/xtitypes.h: This.
33715
33716         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
33717         * sysdeps/x86/bits/wordsize.h: This.
33718
33719         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
33720         * sysdeps/x86/bits/huge_vall.h: This.
33721
33722         * sysdeps/i386/bits/select.h: Removed.
33723         * sysdeps/x86_64/bits/select.h: Renamed to ...
33724         * sysdeps/x86/bits/select.h: This.
33725
33726         * sysdeps/i386/bits/setjmp.h: Removed.
33727         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
33728         * sysdeps/x86/bits/setjmp.h: This.
33729
33730         * sysdeps/i386/bits/mathdef.h: Removed.
33731         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
33732         * sysdeps/x86/bits/mathdef.h: This.
33733
33734 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
33735
33736         [BZ #14132]
33737         * include/sys/socket.h (__connect_internal)
33738         (__libc_sa_len_internal): Remove declaration.
33739         (__connect, __libc_sa_len): Declare hidden_proto.
33740         (SA_LEN): Remove use of INTUSE.
33741         * socket/connect.c: Add libc_hidden_def.
33742         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
33743         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
33744         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
33745         alias.
33746         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33747         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
33748         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
33749         of adding _internal alias.
33750
33751 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33752
33753         [BZ #14117]
33754         * sysdeps/i386/bits/link.h: Removed.
33755         * sysdeps/i386/bits/linkmap.h: Likewise.
33756         * sysdeps/x86_64/bits/link.h: Renamed to ...
33757         * sysdeps/x86/bits/link.h: This.
33758         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
33759         * sysdeps/x86/bits/linkmap.h: This.
33760
33761         * sysdeps/i386/bits/endian.h: Removed.
33762         * sysdeps/x86_64/bits/endian.h: Renamed to ...
33763         * sysdeps/x86/bits/endian.h: This.
33764
33765         * sysdeps/i386/bits/byteswap.h: Removed.
33766         * sysdeps/i386/bits/byteswap-16.h: Likewise.
33767         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
33768         * sysdeps/x86/bits/byteswap.h: This.
33769         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
33770         * sysdeps/x86/bits/byteswap-16.h: This.
33771         * sysdeps/i386/Implies: Add x86.
33772         * sysdeps/x86_64/Implies: Likewise.
33773
33774 2012-05-30  David S. Miller  <davem@davemloft.net>
33775
33776         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
33777         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
33778         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33779         (FP_TRAPPING_EXCEPTIONS): Define.
33780         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33781         (FP_TRAPPING_EXCEPTIONS): Define.
33782         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
33783         subnormals only when inexact has been signalled or underflow
33784         exceptions are enabled.
33785         (_FP_PACK_CANONICAL): Likewise.
33786
33787 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33788
33789         [BZ #14183]
33790         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
33791         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
33792
33793 2012-05-30  Richard Henderson  <rth@twiddle.net>
33794
33795         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33796         with #ifndef NOT_IN_libc.
33797
33798         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
33799         marked to avoid plt entry.
33800
33801 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
33802
33803         [BZ #14112]
33804         * Makeconfig (default-abi): New macro.
33805         (abi-includes): Likewise.
33806         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
33807         $(abi-$(default-abi)-lib-soname) for soname if defined.
33808         ($(common-objpfx)gnu/lib-names.stmp): Generate from
33809         abi-variants.
33810         * Makefile (installed-stubs): Likewise.
33811         * include/stubs-biarch.h: Removed.
33812         * scripts/lib-names.awk: Only handle one library at a time.
33813         * scripts/soversions.awk: Remove WORDSIZE support.
33814         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33815         entries.
33816         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33817         Removed.
33818         (syscall-list-default-condition): Likewise.
33819         (syscall-list-default-condition): Likewise.
33820         (syscall-list-includes): Likewise.
33821         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33822         syscall-list-* with abi-*.  Handle undefined abi-variants.
33823         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33824         * sysdeps/unix/sysv/linux/i386/Implies: New file.
33825         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33826         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33827         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33828         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33829         Removed.
33830         (syscall-list-32-options): Likewise.
33831         (syscall-list-32-condition): Likewise.
33832         (syscall-list-64-options): Likewise.
33833         (syscall-list-64-condition): Likewise.
33834         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33835         macro.
33836         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33837         Renamed to ...
33838         (abi-*): This.
33839         (abi-64-ld-soname): New macro.
33840         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33841         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33842         Renamed to ...
33843         (abi-*): This.
33844         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33845         * sysdeps/x86_64/x32/shlib-versions: Likewise.
33846
33847 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
33848
33849         * sysdeps/unix/sysv/linux/kernel-features.h
33850         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33851         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33852         include <kernel-features.h>.
33853         [!__NR_ftruncate64]: Remove conditional code.
33854         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33855         [__NR_ftruncate64]: Make code unconditional.
33856         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33857         * sysdeps/unix/sysv/linux/truncate64.c: Do not
33858         include <kernel-features.h>.
33859         [!__NR_ftruncate64]: Remove conditional code.
33860         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33861         [__NR_ftruncate64]: Make code unconditional.
33862         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
33864         include <kernel-features.h>.
33865         [!__NR_ftruncate64]: Remove conditional code.
33866         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33867         [__NR_ftruncate64]: Make code unconditional.
33868         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33870         include <kernel-features.h>.
33871         [!__NR_ftruncate64]: Remove conditional code.
33872         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33873         [__NR_ftruncate64]: Make code unconditional.
33874         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33875
33876         * configure.in (libc_cv_fpie): Weaken to a compile test using
33877         LIBC_TRY_CC_OPTION.
33878         * configure: Regenerated.
33879
33880 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33881
33882         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
33883         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
33884         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
33885         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33886         Refreshed.
33887         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
33888         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
33889         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
33890         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
33891         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
33892         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33893         Refreshed.
33894
33895 2012-05-27  David S. Miller  <davem@davemloft.net>
33896
33897         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
33898         (___Q_zero): New.
33899         (__Q_simulate_exceptions): Return void.  Change to simulate
33900         exceptions by writing into the %fsr.
33901         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
33902         (__Qp_handle_exceptions): Likewise.
33903         (numbers): Delete.
33904         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
33905         __Qp_handle_exceptions.
33906         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
33907         __Qp_handle_exceptions.
33908         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33909         as unused and give dummy FP_RND_NEAREST initializer.
33910         (FP_INHIBIT_RESULTS): Define.
33911         (___Q_simulate_exceptions): Update declaration.
33912         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
33913         formatting.
33914         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
33915         as unused and give dummy FP_RND_NEAREST initializer.
33916         (__Qp_handle_exceptions): Update declaration.
33917         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
33918         formatting.
33919
33920 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
33921
33922         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
33923         the temporary FPU control word.
33924         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
33925         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
33926         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
33927         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33928         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
33929         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33930         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33931         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33932         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33933         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
33934         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33935
33936 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33937
33938         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
33939         fields.
33940
33941 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
33942
33943         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
33944         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
33945         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
33946         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
33947         Likewise.
33948         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
33949         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
33950         Likewise.
33951
33952 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
33953
33954         * po/h.po: Update from translation team.
33955
33956 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
33957
33958         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
33959
33960         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
33961         handling of denormals.
33962         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33963         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
33964         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33965         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33966         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33967         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
33968         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
33969         Likewise.
33970
33971 2012-05-26  Marek Polacek  <polacek@redhat.com>
33972
33973         [BZ #14152]
33974         * math/libm-test.inc (fma_test): Don't always expect underflow
33975         exception.
33976
33977 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33978
33979         [BZ #12416]
33980         * elf/tst-execstack.c: Include stackinfo.h.
33981         (do_test): Adjust test case to ensure that pthread_getattr_np
33982         behaviour remains the same after marking stack executable.
33983
33984 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
33985
33986         * sysdeps/unix/sysv/linux/kernel-features.h
33987         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
33988         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
33989         kernel-features.h.
33990         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33991         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33992         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
33993         kernel-features.h.
33994         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
33995         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
33996
33997 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
33998
33999         * configure.in: Define the default includes to being none.
34000         * configure: Regenerated.
34001
34002 2012-05-25  Roland McGrath  <roland@hack.frob.com>
34003
34004         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
34005         * sysdeps/x86_64/setjmp.S: Likewise.
34006         * sysdeps/i386/bsd-setjmp.S: Likewise.
34007         * sysdeps/i386/bsd-_setjmp.S: Likewise.
34008         * sysdeps/i386/setjmp.S: Likewise.
34009         * sysdeps/i386/__longjmp.S: Likewise.
34010         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34011         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34012
34013         * include/stap-probe.h: New file.
34014         * configure.in: Handle --enable-systemtap.
34015         * configure: Regenerated.
34016         * config.h.in (USE_STAP_PROBE): New #undef.
34017         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
34018         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
34019         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34020
34021 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
34022
34023         [BZ #13717]
34024         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34025         to 2.4.0 where earlier.
34026         * sysdeps/unix/sysv/linux/configure: Regenerated.
34027         * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
34036         [__ASSUME_32BITUIDS]: Make code unconditional.
34037         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34038         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
34039         <kernel-features.h>.
34040         [__ASSUME_32BITUIDS]: Make code unconditional.
34041         [!__ASSUME_32BITUIDS]: Remove conditional code.
34042         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
34043         <kernel-features.h>.
34044         [__ASSUME_32BITUIDS]: Make code unconditional.
34045         [!__ASSUME_32BITUIDS]: Remove conditional code.
34046         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
34047         <kernel-features.h>.
34048         [__ASSUME_32BITUIDS]: Make code unconditional.
34049         [!__ASSUME_32BITUIDS]: Remove conditional code.
34050         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
34051         <kernel-features.h>.
34052         [__ASSUME_32BITUIDS]: Make code unconditional.
34053         [!__ASSUME_32BITUIDS]: Remove conditional code.
34054         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34055         <kernel-features.h>.
34056         [__ASSUME_32BITUIDS]: Make code unconditional.
34057         [!__ASSUME_32BITUIDS]: Remove conditional code.
34058         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34059         <kernel-features.h>.
34060         [__ASSUME_32BITUIDS]: Make code unconditional.
34061         [!__ASSUME_32BITUIDS]: Remove conditional code.
34062         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
34063         <kernel-features.h>.
34064         [__ASSUME_32BITUIDS]: Make code unconditional.
34065         [!__ASSUME_32BITUIDS]: Remove conditional code.
34066         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34067         <kernel-features.h>.
34068         [__ASSUME_32BITUIDS]: Make code unconditional.
34069         [!__ASSUME_32BITUIDS]: Remove conditional code.
34070         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34071         <kernel-features.h>.
34072         [__ASSUME_32BITUIDS]: Make code unconditional.
34073         [!__ASSUME_32BITUIDS]: Remove conditional code.
34074         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
34075         <kernel-features.h>.
34076         [__ASSUME_32BITUIDS]: Make code unconditional.
34077         [!__ASSUME_32BITUIDS]: Remove conditional code.
34078         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
34079         <kernel-features.h>.
34080         [__NR_setresgid] (__setresgid): Do not declare.
34081         [__ASSUME_32BITUIDS]: Make code unconditional.
34082         [!__ASSUME_32BITUIDS]: Remove conditional code.
34083         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
34084         <kernel-features.h>.
34085         [__NR_setresuid] (__setresuid): Do not declare.
34086         [__ASSUME_32BITUIDS]: Make code unconditional.
34087         [!__ASSUME_32BITUIDS]: Remove conditional code.
34088         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
34089         <kernel-features.h>.
34090         [__ASSUME_32BITUIDS]: Make code unconditional.
34091         [!__ASSUME_32BITUIDS]: Remove conditional code.
34092         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
34093         <kernel-features.h>.
34094         [__ASSUME_32BITUIDS]: Make code unconditional.
34095         [!__ASSUME_32BITUIDS]: Remove conditional code.
34096         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
34097         <kernel-features.h>.
34098         [__ASSUME_32BITUIDS]: Make code unconditional.
34099         [!__ASSUME_32BITUIDS]: Remove conditional code.
34100         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
34101         <kernel-features.h>.
34102         [__ASSUME_32BITUIDS]: Make code unconditional.
34103         [!__ASSUME_32BITUIDS]: Remove conditional code.
34104         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
34105         <kernel-features.h>.
34106         [__ASSUME_32BITUIDS]: Make code unconditional.
34107         [!__ASSUME_32BITUIDS]: Remove conditional code.
34108         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
34109         <kernel-features.h>.
34110         [__ASSUME_32BITUIDS]: Make code unconditional.
34111         [!__ASSUME_32BITUIDS]: Remove conditional code.
34112         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
34113         <kernel-features.h>.
34114         [__ASSUME_32BITUIDS]: Make code unconditional.
34115         [!__ASSUME_32BITUIDS]: Remove conditional code.
34116         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
34117         <kernel-features.h>.
34118         [__ASSUME_32BITUIDS]: Make code unconditional.
34119         [!__ASSUME_32BITUIDS]: Remove conditional code.
34120         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
34121         <kernel-features.h>.
34122         [__ASSUME_32BITUIDS]: Make code unconditional.
34123         [!__ASSUME_32BITUIDS]: Remove conditional code.
34124         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34125         <kernel-features.h>.
34126         [__ASSUME_32BITUIDS]: Make code unconditional.
34127         [!__ASSUME_32BITUIDS]: Remove conditional code.
34128         * sysdeps/unix/sysv/linux/kernel-features.h
34129         (__ASSUME_SETRESUID_SYSCALL): Remove.
34130         (__ASSUME_SETRESGID_SYSCALL): Likewise.
34131         (__ASSUME_32BITUIDS): Likewise.
34132         (__ASSUME_LDT_WORKS): Likewise.
34133         (__ASSUME_O_DIRECTORY): Likewise.
34134         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34135         architecture but not kernel version.
34136         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34137         (__ASSUME_MMAP2_SYSCALL): Likewise.
34138         (__ASSUME_STAT64_SYSCALL): Likewise.
34139         (__ASSUME_IPC64): Likewise.
34140         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34141         <kernel-features.h>.
34142         [__ASSUME_32BITUIDS]: Make code unconditional.
34143         [!__ASSUME_32BITUIDS]: Remove conditional code.
34144         * sysdeps/unix/sysv/linux/opendir.c: Do not include
34145         <kernel-features.h>.
34146         [__ASSUME_O_DIRECTORY]: Make code unconditional.
34147         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34148         132096]: Remove conditional code.
34149         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34150         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34151         <kernel-features.h>.
34152         [__ASSUME_32BITUIDS]: Make code unconditional.
34153         [!__ASSUME_32BITUIDS]: Remove conditional code.
34154         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34155         <kernel-features.h>.
34156         [__ASSUME_32BITUIDS]: Make code unconditional.
34157         [!__ASSUME_32BITUIDS]: Remove conditional code.
34158         * sysdeps/unix/sysv/linux/setegid.c: Do not include
34159         <kernel-features.h>.
34160         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34161         unconditional.
34162         (__setresgid): Do not declare.
34163         [__ASSUME_32BITUIDS]: Make code unconditional.
34164         [!__ASSUME_32BITUIDS]: Remove conditional code.
34165         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34166         <kernel-features.h>.
34167         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34168         unconditional.
34169         (__setresuid): Do not declare.
34170         [__ASSUME_32BITUIDS]: Make code unconditional.
34171         [!__ASSUME_32BITUIDS]: Remove conditional code.
34172         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34173         <kernel-features.h>.
34174         [__ASSUME_32BITUIDS]: Make code unconditional.
34175         [!__ASSUME_32BITUIDS]: Remove conditional code.
34176         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34177         <kernel-features.h>.
34178         [__ASSUME_32BITUIDS]: Make code unconditional.
34179         [!__ASSUME_32BITUIDS]: Remove conditional code.
34180
34181 2012-05-25  Richard Henderson  <rth@twiddle.net>
34182
34183         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34184         dl_hwcap to ifunc resolver.
34185         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34186         elf_ifunc_invoke.
34187         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34188         dl_hwcap to ifunc resolver.
34189         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34190
34191 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34192
34193         [BZ #14153]
34194         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34195         for |x| <= 2**-26, not 2**-57.
34196         * math/libm-test.inc (acos_test): Do not allow spurious underflow
34197         exception.
34198
34199 2012-05-24  Jeff Law  <law@redhat.com>
34200
34201         * stdio-common/Makefile (tests): Add bug25.
34202         * stdio-common/bug25.c: New test.
34203
34204 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
34205
34206         [BZ #13576]
34207         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
34208         multiple of MALLOC_ALIGNMENT in size.
34209         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
34210
34211 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34212
34213         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34214         Require >= 256.
34215         (FILENAME_MAX): Use macro-int-constant.
34216         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
34217         (_IOFBF): Use macro-int-constant.
34218         (_IOLBF): Likewise.
34219         (_IONBF): Likewise.
34220         (SEEK_CUR): Likewise.
34221         (SEEK_END): Likewise.
34222         (SEEK_SET): Likewise.
34223         (TMP_MAX): Likewise.
34224         (EOF): Use macro-int-constant.  Require < 0.
34225         (NULL): Use macro-constant.  Require == 0.
34226         (stdin): Require type to be FILE *.
34227         (stdout): Likewise.
34228         (stderr): Likewise.
34229         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34230         macro-int-constant.
34231         (EXIT_SUCCESS): Likewise.
34232         (NULL): Use macro-constant.  Require == 0.
34233         (RAND_MAX): Use macro-int-constant.
34234         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34235         [C99-based standards] (strtof): Require function.
34236         [C99-based standards] (strtold): Likewise.
34237         [C99-based standards] (strtoll): Likewise.
34238         [C99-based standards] (strtoull): Likewise.
34239         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34240         [ISO || ISO99 || ISO11] (limits.h): Likewise.
34241         [ISO || ISO99 || ISO11] (math.h): Likewise.
34242         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34243         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34244         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34245
34246 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
34247
34248         [BZ #14132]
34249         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34250         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34251         * intl/dgettext.c (DCGETTEXT): Likewise.
34252         * intl/gettext.c (DCGETTEXT): Likewise.
34253         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34254         * posix/regex_internal.h (gettext): Likewise.
34255         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34256         Remove declaration.
34257         * include/argz.h (__argz_count_internal)
34258         (__argz_stringify_internal): Remove declaration.
34259         (__argz_count, __argz_stringify): Declare hidden proto.
34260         * intl/dcgettext.c: Remove use of INTDEF.
34261         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34262         * string/argz-stringify.c: Likewise.
34263         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34264         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34265         Declare hidden proto.
34266         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34267         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34268         Declare hidden proto.
34269         * include/stdio.h (__asprintf_internal): Don't declare.
34270         (__asprintf): Don't define as macro.  Declare hidden proto.
34271         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34272         (__fsetlocking): Declare hidden proto.
34273         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34274         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34275         hidden proto.
34276         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34277         (_IO_setlinebuf): Remove use of INTUSE.
34278         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34279         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34280         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34281         Remove declaration.
34282         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34283         (_IO_do_flush): Remove use of INTUSE.
34284         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34285         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34286         (_IO_adjust_column, _IO_least_wmarker)
34287         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34288         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34289         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34290         (_IO_default_doallocate, _IO_wdefault_doallocate)
34291         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34292         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34293         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34294         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34295         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34296         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34297         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34298         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34299         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34300         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34301         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34302         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34303         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34304         proto.
34305         (_IO_flush_all_internal, _IO_adjust_column_internal)
34306         (_IO_default_uflow_internal, _IO_default_finish_internal)
34307         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34308         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34309         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34310         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34311         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34312         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34313         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34314         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34315         (_IO_file_close_internal, _IO_file_close_it_internal)
34316         (_IO_file_underflow_internal, _IO_file_overflow_internal)
34317         (_IO_file_init_internal, _IO_file_attach_internal)
34318         (_IO_file_fopen_internal, _IO_file_read_internal)
34319         (_IO_file_sync_internal, _IO_file_seek_internal)
34320         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34321         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
34322         (_IO_str_underflow_internal, _IO_str_overflow_internal)
34323         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
34324         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
34325         (_IO_list_all_internal, _IO_link_in_internal)
34326         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
34327         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
34328         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
34329         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
34330         (_IO_do_write_internal, _IO_padn_internal)
34331         (_IO_getline_info_internal, _IO_getline_internal)
34332         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
34333         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
34334         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
34335         (_IO_vfscanf_internal, _IO_vfprintf_internal)
34336         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
34337         (_IO_init_internal, _IO_un_link_internal): Don't declare.
34338         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
34339         with libc_hidden_ver, remove use of INTUSE.
34340         * libio/genops.c: Likewise.
34341         * libio/freopen.c: Likewise.
34342         * libio/freopen64.c: Likewise.
34343         * libio/iofclose.c: Likewise.
34344         * libio/iofdopen.c: Likewise.
34345         * libio/iofflush.c: Likewise.
34346         * libio/iofflush_u.c: Likewise.
34347         * libio/iofgets.c: Likewise.
34348         * libio/iofgets_u.c: Likewise.
34349         * libio/iofopen.c: Likewise.
34350         * libio/iofopncook.c: Likewise.
34351         * libio/iofread.c: Likewise.
34352         * libio/iofread_u.c: Likewise.
34353         * libio/ioftell.c: Likewise.
34354         * libio/iofwrite.c: Likewise.
34355         * libio/iogetline.c: Likewise.
34356         * libio/iogets.c: Likewise.
34357         * libio/iogetwline.c: Likewise.
34358         * libio/iopadn.c: Likewise.
34359         * libio/iopopen.c: Likewise.
34360         * libio/ioseekoff.c: Likewise.
34361         * libio/ioseekpos.c: Likewise.
34362         * libio/iosetbuffer.c: Likewise.
34363         * libio/iosetvbuf.c: Likewise.
34364         * libio/ioungetc.c: Likewise.
34365         * libio/ioungetwc.c: Likewise.
34366         * libio/iovdprintf.c: Likewise.
34367         * libio/iovsprintf.c: Likewise.
34368         * libio/iovsscanf.c: Likewise.
34369         * libio/memstream.c: Likewise.
34370         * libio/obprintf.c: Likewise.
34371         * libio/oldfileops.c: Likewise.
34372         * libio/oldiofclose.c: Likewise.
34373         * libio/oldiofdopen.c: Likewise.
34374         * libio/oldiofopen.c: Likewise.
34375         * libio/oldiopopen.c: Likewise.
34376         * libio/oldstdfiles.c: Likewise.
34377         * libio/putc.c: Likewise.
34378         * libio/setbuf.c: Likewise.
34379         * libio/setlinebuf.c: Likewise.
34380         * libio/stdfiles.c: Likewise.
34381         * libio/strops.c: Likewise.
34382         * libio/vasprintf.c: Likewise.
34383         * libio/vscanf.c: Likewise.
34384         * libio/vsnprintf.c: Likewise.
34385         * libio/vswprintf.c: Likewise.
34386         * libio/wfiledoalloc.c: Likewise.
34387         * libio/wfileops.c: Likewise.
34388         * libio/wgenops.c: Likewise.
34389         * libio/wmemstream.c: Likewise.
34390         * libio/wstrops.c: Likewise.
34391         * libio/__fpurge.c: Likewise.
34392         * libio/__fsetlocking.c: Likewise.
34393         * assert/assert.c: Likewise.
34394         * debug/fgets_chk.c: Likewise.
34395         * debug/fgets_u_chk.c: Likewise.
34396         * debug/fread_chk.c: Likewise.
34397         * debug/fread_u_chk.c: Likewise.
34398         * debug/gets_chk.c: Likewise.
34399         * debug/obprintf_chk.c: Likewise.
34400         * debug/vasprintf_chk.c: Likewise.
34401         * debug/vdprintf_chk.c: Likewise.
34402         * debug/vsnprintf_chk.c: Likewise.
34403         * debug/vsprintf_chk.c: Likewise.
34404         * malloc/mtrace.c: Likewise.
34405         * misc/error.c: Likewise.
34406         * misc/syslog.c: Likewise.
34407         * stdio-common/asprintf.c: Likewise.
34408         * stdio-common/fxprintf.c: Likewise.
34409         * stdio-common/getw.c: Likewise.
34410         * stdio-common/isoc99_fscanf.c: Likewise.
34411         * stdio-common/isoc99_scanf.c: Likewise.
34412         * stdio-common/isoc99_vfscanf.c: Likewise.
34413         * stdio-common/isoc99_vscanf.c: Likewise.
34414         * stdio-common/isoc99_vsscanf.c: Likewise.
34415         * stdio-common/printf-prs.c: Likewise.
34416         * stdio-common/printf_fp.c: Likewise.
34417         * stdio-common/printf_fphex.c: Likewise.
34418         * stdio-common/printf_size.c: Likewise.
34419         * stdio-common/putw.c: Likewise.
34420         * stdio-common/scanf.c: Likewise.
34421         * stdio-common/sprintf.c: Likewise.
34422         * stdio-common/tmpfile.c: Likewise.
34423         * stdio-common/vfprintf.c: Likewise.
34424         * stdio-common/vfscanf.c: Likewise.
34425         * stdlib/strfmon_l.c: Likewise.
34426         * sunrpc/openchild.c: Likewise.
34427         * sunrpc/xdr_stdio.c: Likewise.
34428         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34429         * sysdeps/mach/hurd/tmpfile.c: Likewise.
34430
34431 2012-05-24  Roland McGrath  <roland@hack.frob.com>
34432
34433         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34434
34435         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34436         in the third column, to generate for the shared library an IFUNC
34437         that uses _dl_vdso_vsym.
34438         * Makerules (COMPILE.c, compile-stdin.c): New variables.
34439         * Makeconfig (object-suffixes-noshared): New variable.
34440
34441         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34442         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34443         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34444         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34445
34446         [BZ #14132]
34447         * include/sys/time.h (__gettimeofday): Remove macro.
34448         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34449         * time/gettimeofday.c (__gettimeofday): Remove #undef.
34450         Remove INTDEF.
34451         (__gettimeofday): Add libc_hidden_def.
34452         (gettimeofday): Add libc_hidden_weak.
34453         * sysdeps/mach/gettimeofday.c: Likewise.
34454         * sysdeps/posix/gettimeofday.c: Likewise.
34455         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34456         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34457         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34458         (__gettimeofday_internal): Remove strong_alias.
34459         (__gettimeofday): Add libc_hidden_def.
34460         (gettimeofday): Add libc_hidden_weak.
34461         * sysdeps/unix/syscalls.list (gettimeofday):
34462         Remove __gettimeofday_internal alias.
34463
34464 2012-05-24  Daniel Jacobowitz  <drow@false.org>
34465             H.J. Lu  <hongjiu.lu@intel.com>
34466
34467         [BZ #12495]
34468         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34469         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34470         (largebin_index_32_big): New.
34471         (largebin_index): Use it for 16-byte alignment.
34472         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
34473         correction with front_misalign.
34474
34475 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
34476
34477         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34478         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34479         Likewise.
34480         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34481         Likewise.
34482         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34483         Likewise.
34484         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34485         Likewise.
34486         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34487         Likewise.
34488         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34489         Likewise.
34490         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34491         Likewise.
34492         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34493         Likewise.
34494         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34495         Likewise.
34496         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34497         Likewise.
34498         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34499         Likewise.
34500         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34501         Likewise.
34502
34503         * scripts/data/c++-types-x32-linux-gnu.data: New file.
34504         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34505
34506 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
34507
34508         [BZ #10846]
34509         [BZ #14036]
34510         * math/libm-test.inc (exp_test): Add test from bug 14036.
34511         (pow_test): Add test from bug 10846.
34512
34513         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34514         and other flags.
34515         (special_function): Do not include flags in test name.
34516         (parse_args): Likewise.
34517         * sysdeps/i386/fpu/libm-test-ulps: Update.
34518         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34519         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34520         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34521         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34522
34523         * math/gen-libm-test.pl (%beautify): Add entries for underflow
34524         exceptions.
34525         * math/libm-test.inc ("Philosophy"): Update comment about
34526         exception testing.
34527         (UNDERFLOW_EXCEPTION): New macro.
34528         (UNDERFLOW_EXCEPTION_OK): Likewise.
34529         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34530         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34531         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
34532         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
34533         (INVALID_EXCEPTION_OK): Update value.
34534         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34535         (OVERFLOW_EXCEPTION_OK): Likewise.
34536         (IGNORE_ZERO_INF_SIGN): Likewise.
34537         (test_exceptions): Handle underflow exceptions.
34538         (acos_test): Update for underflow exception expectations.
34539         (cexp_test): Likewise.
34540         (clog_test): Likewise.
34541         (clog10_test): Likewise.
34542         (csqrt_test): Likewise.
34543         (ctan_test): Likewise.
34544         (ctanh_test): Likewise.
34545         (exp_test): Likewise.
34546         (exp10_test): Likewise.
34547         (exp2_test): Likewise.
34548         (expm1_test): Likewise.
34549         (fma_test): Likewise.
34550         (j0_test): Likewise.
34551         (jn_test): Likewise.
34552         (nexttoward_test): Likewise.
34553         (pow_test): Likewise.
34554         (scalbn_test): Likewise.
34555         (scalbln_test): Likewise.
34556         (tan_test): Likewise.
34557         (y1_test): Likewise.
34558         * sysdeps/i386/fpu/libm-test-ulps: Update.
34559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34560
34561 2012-05-23  David S. Miller  <davem@davemloft.net>
34562
34563         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34564         (__libc_sigaction): Remove unused local variables.
34565
34566 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34567
34568         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
34569
34570 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
34571
34572         mktime: avoid signed integer overflow
34573         * time/mktime.c (__mktime_internal): Do not mishandle the case
34574         where diff == INT_MIN.
34575
34576         mktime: simplify computation of average
34577         * time/mktime.c (ranged_convert): Use new time_t_avg function
34578         instead of rolling our own (probably-slower) code.
34579
34580         mktime: do not assume signed right shift propagates sign bit
34581         * time/mktime.c (isdst_differ): New static function.
34582         (__mktime_internal): No need to normalize tm_isdst now.
34583         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
34584         tm_isdst values.
34585
34586         mktime: merge another wrapv change from gnulib
34587         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
34588         from some compilers.
34589
34590         mktime: remove incorrect attempt at unusual arithmetics
34591         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
34592         The code didn't really work on such machines anyway.
34593         (TYPE_MINIMUM): Assume two's complement.
34594         (twos_complement_arithmetic): Verify that long_int and time_t
34595         are two's complement (or unsigned, in the latter case).
34596
34597         mktime: check signed shifts on long_int and time_t, too
34598         * time/mktime.c (SHR): Check that shifts work as desired
34599         on the types long_int and time_t too, as SHR is used on
34600         such types.
34601
34602         mktime: do not assume 'long' is wide enough
34603         * time/mktime.c (verify): Move decl up.
34604         (long_int): New type.
34605         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
34606         to remove assumption in the code that 'long' is wide enough to
34607         store year values.  This assumption is not true on x32 and on
34608         some non-glibc platforms.
34609
34610         mktime: merge wrapv change from gnulib
34611         * time/mktime.c (WRAPV): New macro.
34612         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
34613         (guess_time_tm, __mktime_internal): Do not assume that signed
34614         integer overflow wraps around; modern compilers generate code
34615         where this assumption is no longer valid.
34616
34617 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34618
34619         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34620         Replace "jmp L(pseudo_end)" with "ret".
34621         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
34622         Likewise.
34623
34624 2012-05-23  Andreas Jaeger  <aj@suse.de>
34625
34626         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
34627         * sysdeps/unix/sysv/linux/poll.c: Remove file.
34628
34629 2012-05-23  Andreas Jaeger  <aj@suse.de>
34630             Maximilian Attems  <max@stro.at>
34631
34632         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
34633         New macros.
34634
34635 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
34636
34637         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
34638         code so that pseudo_end is just ret and the stack pointer is
34639         correct also for static library in error case.
34640
34641 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
34642
34643         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
34644         move to syscalls.list.
34645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34649
34650         * manual/install.texi (Running make install): Do not mention Linux
34651         kernel version for which pt_chown is not needed.
34652         (Linux): Do not mention problems with nscd with 2.0 kernels.
34653         * INSTALL: Regenerated.
34654
34655 2012-05-23  Andreas Jaeger  <aj@suse.de>
34656
34657         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
34658         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
34659         macro.
34660         * sysdeps/unix/sysv/linux/s390/bits/mman.h
34661         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34662         * sysdeps/unix/sysv/linux/sh/bits/mman.h
34663         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34664         * sysdeps/unix/sysv/linux/i386/bits/mman.h
34665         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34666         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
34667         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34668         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
34669         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34670         * sysdeps/unix/sysv/linux/bits/in.h
34671         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
34672
34673 2012-05-22  Roland McGrath  <roland@hack.frob.com>
34674
34675         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
34676         (PREPARE_VERSION): Just use assert instead, it will be elided
34677         under [NDEBUG] anyway.
34678
34679 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34680
34681         * sysdeps/unix/sysv/linux/Makefile: Include
34682         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
34683         (sysdep_routines): Remove sysctl.
34684         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
34685         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
34686         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
34687         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
34688         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
34689
34690 2012-05-22  Andreas Jaeger  <aj@suse.de>
34691
34692         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
34693         that pseudo_end is just ret and the stack pointer is correct also
34694         for static library in error case.
34695
34696 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
34697
34698         [BZ #14122]
34699         * nss/nsswitch.c (defconfig_entries): New variable.
34700         (__nss_database_lookup): Don't leak defconfig entries.
34701         (nss_parse_service_list): Don't leak on error paths.
34702         (free_database_entries): New function.
34703         (free_defconfig): New function.
34704         (free_mem): Move common code to free_database_entries.
34705
34706 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34707
34708         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
34709         Add arch_prctl.
34710         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
34711
34712         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34713         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
34714         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
34715         New macro.
34716         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
34717         (INTERNAL_SYSCALL_TYPES): Likewise.
34718         (LOAD_ARGS_TYPES_[1-6]): Likewise.
34719         (LOAD_REGS_TYPES_[1-6]): Likewise.
34720         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
34721         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
34722
34723 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34724
34725         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
34726         copysignl for GLIBC_2_0.
34727         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
34728         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
34729         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
34730         logbl for GLIBC_2_0.
34731         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34732         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34733
34734 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34735
34736         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
34737         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
34738
34739         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34740         Use "neg %eax".
34741
34742         * time/mktime.c: Update copyright years.
34743
34744 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
34745
34746         mktime: merge comment-quoting-style change from gnulib
34747         * time/mktime.c: Quote 'like this' in comments.
34748         The GNU coding standards suggest that we no longer quote `like this',
34749         as "`" and "'" are typically rendered asymmetrically nowadays.
34750         The typical gnulib style is to quote 'like this' when quoting
34751         code, and "like this" when quoting English.
34752
34753         * time/mktime.c (compile-command): Add "-I.".
34754
34755         mktime: merge mktime-internal.h change from gnulib
34756         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
34757
34758         mktime: merge time_r change from gnulib
34759         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
34760
34761         mktime: merge DEBUG change from gnulib
34762         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
34763         case system <time.h> has a #define.
34764
34765         mktime: merge <sys/types.h> change from gnulib
34766         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
34767         since <time.t> is now guaranteed to define time_t.
34768
34769         mktime: merge HAVE_CONFIG_H change from gnulib
34770         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
34771
34772 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34773
34774         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34775         Use "neg %eax".
34776
34777         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
34778         __rlim_t cast.
34779         (struct rusage): Use anonymous union to pad each field to
34780         __syscall_slong_t.
34781
34782 2012-05-21  David S. Miller  <davem@davemloft.net>
34783
34784         * Makefules (o-iterator): Remove .s cases.
34785         (compile-command.s): Delete.
34786         (COMPILE.s): Delete.
34787         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34788
34789 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
34790
34791         * configure.in (libc_cv_predef_stack_protector): Only consider
34792         "foobar" and "__stack_chk_fail" lines in libc_undefs.
34793         * configure: Regenerated.
34794
34795 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
34796
34797         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34798         New macro.  Use R*LP on int and pointer.
34799         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
34800         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34801         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
34802         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34803
34804         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34805         [__WORDSIZE_TIME64_COMPAT32] instead of
34806         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34807         (struct utmp): Likewise.
34808         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34809         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34810         Renamed to ...
34811         (__WORDSIZE_TIME64_COMPAT32): This.
34812         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34813         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34814         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34815         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34816         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34817         (__WORDSIZE_TIME64_COMPAT32): New macro.
34818
34819 2012-05-21  Andreas Jaeger  <aj@suse.de>
34820
34821         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34822         only if [SHARED]. Add prototype for __wcschr_ia32.
34823
34824 2012-05-21  Roland McGrath  <roland@hack.frob.com>
34825
34826         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34827         of %rbp unmolested in the jmp_buf while mangling the low bits.
34828         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34829         unmolested high bits of %rbp while demangling the low bits.
34830         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34831
34832 2012-05-21  Andreas Jaeger  <aj@suse.de>
34833
34834         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34835         * sunrpc/svc_simple.c: Use it for registerrpc.
34836         * sunrpc/xcrypt.c: Use it for passwd2des.
34837
34838         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34839
34840 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
34841
34842         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34843         Don't define if [__SYSCALL_WORDSIZE != 32].
34844         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34845         New macro.
34846
34847 2012-05-21  Bruno Haible  <bruno@clisp.org>
34848             Andreas Jaeger  <aj@suse.de>
34849
34850         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34851         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34852         inptr and inend for must_buffer_ch.
34853         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34854         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34855         * stdio-common/Makefile (tests): Remove bug15.
34856         (bug15-ENV): Remove macro.
34857         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
34858         anymore.
34859
34860 2012-05-19  Andreas Jaeger  <aj@suse.de>
34861             Roland McGrath  <roland@hack.frob.com>
34862
34863         * manual/contrib.texi: Completely rewritten. It contains now an
34864         alphabetical list of contributors and their contributions.
34865
34866 2012-05-21  Richard Henderson  <rth@twiddle.net>
34867
34868         * misc/getauxval.c (__getauxval): Use unsigned long int.
34869         * misc/sys/auxv.h: Include <sys/cdefs.h>.
34870         (getauxval): Use unsigned long int.
34871
34872 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
34873
34874         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34875
34876 2012-05-21  Roland McGrath  <roland@hack.frob.com>
34877
34878         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
34879         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
34880         __alignof__ (long double).
34881
34882 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34883
34884         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34885
34886 2012-05-20  Richard Henderson  <rth@twiddle.net>
34887
34888         * misc/getauxval.c: New file.
34889         * misc/sys/auxv.h: New file.
34890         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
34891         (routines): Add getauxval.
34892         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
34893         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
34894         * elf/dl-sysdep.c (_dl_auxv): Remove.
34895         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
34896         * elf/dl-support.c (_dl_auxv): New variable.
34897         (_dl_aux_init): Initialize it.
34898         * manual/startup.texi (Auxiliary Vector): New node.
34899         * sysdeps/generic/bits/hwcap.h: New file.
34900         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
34901         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
34902         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
34903         * sysdeps/sparc/sysdep.h: ... here.  Include it.
34904         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
34905         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
34906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34907         Update.
34908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
34909         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
34910         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
34911         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
34912         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34913         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
34914         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
34915         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
34916
34917 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34918
34919         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34920
34921 2012-05-19  David S. Miller  <davem@davemloft.net>
34922
34923         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34924
34925 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
34926
34927         [BZ #14123]
34928         * math/s_ccosh.c: Include <float.h>
34929         (__ccosh): Avoid internal overflow calculating sinh and cosh
34930         values before multiplying by sin and cos values.
34931         * math/s_ccoshf.c: Likewise.
34932         * math/s_ccoshl.c: Likewise.
34933         * math/s_csin.c: Likewise.
34934         * math/s_csinf.c: Likewise.
34935         * math/s_csinl.c: Likewise.
34936         * math/s_csinh.c: Likewise.
34937         * math/s_csinhf.c: Likewise.
34938         * math/s_csinhl.c: Likewise.
34939         * math/libm-test.inc (ccos_test): Add more tests.
34940         (ccosh_test): Likewise.
34941         (csin_test): Likewise.
34942         (csinh_test): Likewise.
34943         * sysdeps/i386/fpu/libm-test-ulps: Update.
34944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34945
34946 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
34947
34948         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
34949         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
34950
34951         * sysdeps/x86_64/x32/_itoa.h: Add comment.
34952
34953 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
34954
34955         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
34956         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
34957         * sysdeps/powerpc/soft-fp/Versions: Likewise.
34958         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
34959         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
34960         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
34961         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
34962         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
34963         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
34964         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
34965         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
34966         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
34967         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
34968         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
34969         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
34970         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
34971         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
34972         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
34973         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
34974         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
34975         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
34976         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
34977         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
34978         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
34979         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
34980         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
34981         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
34982         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
34983         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
34984         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
34985         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
34986
34987 2012-05-18  Andreas Jaeger  <aj@suse.de>
34988
34989         * csu/.gitignore: Delete.
34990
34991 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
34992
34993         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
34994         (timex): Use __syscall_slong_t.
34995
34996 2012-05-18  Andreas Jaeger  <aj@suse.de>
34997             Carlos O'Donell  <carlos_odonell@mentor.com>
34998
34999         * manual/install.texi (Configuring and compiling): Update
35000         description about files modified in the source directory.
35001         * INSTALL: Regenerated.
35002
35003 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35004
35005         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
35006         value.  Use "or" to set return value to -1.
35007         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
35008         negate return value.
35009
35010 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35011
35012         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35013         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
35014         failure if the compiler has Graphite support disabled.
35015         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35016         Likewise.
35017         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
35018         (CFLAGS-memmove.c): Likewise.
35019         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
35020         Likewise.
35021
35022 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
35023
35024         * sysdeps/x86_64/x32/_itoa.h: New file.
35025
35026         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
35027         getdents system call only if kernel and user dirents have the
35028         same d_ino and d_off.
35029
35030         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35031         LLONG_MAX != LONG_MAX.
35032         (_itoa_word): Use _ITOA_WORD_TYPE on value.
35033         (_fitoa_word): Likewise.
35034
35035         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
35036         years.
35037         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35038         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35039         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
35040
35041         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
35042         include <bits/wordsize.h>.  Check __x86_64__ instead of
35043         __WORDSIZE.
35044         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
35045         if __x86_64__ is defined.  Use anonymous union on fpstate.
35046
35047         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
35048         anonymous union.
35049
35050 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
35051
35052         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35053         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
35054         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
35055         Refer to _rtld_local_ro instead of _rtld_global_ro.
35056         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35057         Likewise.
35058         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35059         Likewise.
35060         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35061         Likewise.
35062         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35063         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35064         of _rtld_global, and rtld_progname instead of _dl_argv[0].
35065
35066         * sysdeps/powerpc/powerpc32/dl-machine.c
35067         (__elf_machine_runtime_setup) [PROF]: Don't reference
35068         _dl_prof_resolve.
35069
35070 2012-05-18  Andreas Jaeger  <aj@suse.de>
35071
35072         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35073         function only available for GCCs before 3.4 since GCC 3.4
35074         introduced a builtin.
35075         (lrint): Likewise.
35076         (llrintf): Likewise.
35077         (llrint): Likewise.
35078         (fmaxf): Likewise.
35079         (fmax): Likewise.
35080         (fminf): Likewise.
35081         (fmin): Likewise.
35082         (rint): Likewise.
35083         (rintf): Likewise.
35084         (nearbyint): Likewise.
35085         (nearbyintf): Likewise.
35086         (ceil): Likewise.
35087         (ceilf): Likewise.
35088         (floor): Likewise.
35089         (floorf): Likewise.
35090
35091 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35092
35093         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35094         on both fields and cast pointer to __syscall_ulong_t.
35095
35096         * bits/types.h (__fsword_t): New type.
35097         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35098         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35099         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35100         (__FSWORD_T_TYPE): Likewise.
35101         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35102         (__FSWORD_T_TYPE): Likewise.
35103         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35104         (__FSWORD_T_TYPE): Likewise.
35105         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35106         (__FSWORD_T_TYPE): Likewise.
35107         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35108         __SWORD_TYPE with __fsword_t.
35109         (statfs64): Likewise.
35110
35111 2012-05-17  David S. Miller  <davem@davemloft.net>
35112
35113         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35114
35115 2012-05-17  Andreas Jaeger  <aj@suse.de>
35116
35117         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35118         warning.
35119
35120 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35121
35122         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35123
35124 2012-05-17  Andreas Jaeger  <aj@suse.de>
35125
35126         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35127         when it is used.
35128
35129 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
35130
35131         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35132
35133 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
35134
35135         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35136         * sysdeps/x86_64/tst-mallocalign1.c: New file.
35137
35138 2012-05-17  Andreas Jaeger  <aj@suse.de>
35139             Carlos O'Donell  <carlos_odonell@mentor.com>
35140
35141         [BZ #14059]
35142         * sysdeps/x86_64/multiarch/init-arch.h
35143         (bit_YMM_Usable): Rename to...
35144         (bit_AVX_Usable): ... this.
35145         (bit_FMA4_Usable): New macro.
35146         (bit_XMM_state): New macro.
35147         (bit_YMM_state): New macro.
35148         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35149         [__ASSEMBLER__] (index_AVX_Usable): ... this.
35150         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35151         (CPUID_OSXSAVE): New macro.
35152         (CPUID_AVX): New macro.
35153         (CPUID_FMA4): New macro.
35154         (index_YMM_Usable): Rename to...
35155         (index_AVX_Usable): ... this.
35156         (HAS_AVX): Use HAS_ARCH_FEATURE.
35157         (HAS_FMA4): Likewise.
35158         (HAS_YMM_USABLE): Remove.
35159         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35160         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35161         are present.
35162         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35163         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35164         * sysdeps/x86_64/multiarch/Makefile: Likewise.
35165         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35166         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35167
35168 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
35169
35170         * math/libm-test.c: Support platforms without multiple rounding modes.
35171         * math/bug-nextafter.c: Support platforms without FP exceptions.
35172         * math/bug-nexttoward.c: Likewise.
35173         * math/test-fenv.c: Likewise.
35174         * math/test-misc.c: Likewise.
35175         * stdlib/bug-getcontext.c: Likewise.
35176
35177 2012-05-17  Andreas Jaeger  <aj@suse.de>
35178
35179         * manual/examples/search.c (critter_cmp): Change signature to
35180         avoid warnings.
35181         * manual/string.texi (Collation Functions): Likewise.
35182
35183 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35184
35185         * bits/types.h: Fold copyright years.
35186         * bits/typesizes.h: Likewise.
35187         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35188         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35189         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35190         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35191         * time/time.h: Likewise.
35192
35193 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
35194
35195         [BZ #208]
35196         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35197         in instead of returning them.  Return void.
35198         (__libc_mallinfo): Accumulate over all arenas.
35199         (__malloc_stats): Adjust for change in int_mallinfo interface.
35200
35201 2012-05-16  Roland McGrath  <roland@hack.frob.com>
35202
35203         [BZ #10375]
35204         * configure.in (NM): Add AC_CHECK_TOOL for it.
35205         (libc_extra_cflags): New substituted variable.
35206         Check for -fstack-protector being used implicitly.
35207         * configure: Regenerated.
35208         * config.make.in (config-extra-cflags): New variable,
35209         gets @libc_extra_cflags@.
35210         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35211
35212         [BZ #10375]
35213         * configure.in: Check for _FORTIFY_SOURCE being predefined.
35214         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35215         * configure: Regenerated.
35216         * config.make.in (CPPUNDEFS): New substituted variable.
35217         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35218         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35219         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35220
35221 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35222
35223         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35224         (mq_attr): Use __syscall_slong_t.
35225
35226 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35227
35228         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35229         Check __x86_64__ instead of __WORDSIZE.
35230         (_STAT_VER_LINUX): Likewise.
35231         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
35232         __syscall_ulong_t and __syscall_slong_t.
35233         (stat64): Likewise.
35234
35235 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35236
35237         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35238
35239 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35240
35241         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35242
35243 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35244
35245         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35246         __syscall_ulong_t.
35247
35248         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35249         include <bits/wordsize.h>.  Check __x86_64__ instead of
35250         __WORDSIZE.
35251         (greg_t): Use "__extension__ long long int" if __x86_64__ is
35252         defined.
35253         (mcontext_t): Replace "unsigned long" with "unsigned long long".
35254
35255         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35256         include <bits/wordsize.h>.  Check __x86_64__ instead of
35257         __WORDSIZE.
35258         (user_regs_struct): Use "__extension__ unsigned long long"
35259         instead of "unsigned long" if __x86_64__ is defined.
35260         (user): Likewise.  Pad after pointer field if __ILP32__ is
35261         defined.
35262
35263 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
35264
35265         * configure.in (makeinfo): Require version 4.5 or later.  Allow
35266         versions 5 to 9.
35267         * configure: Regenerated.
35268         * manual/install.texi (texinfo): Increase version requirement to
35269         4.5 or later.
35270         * INSTALL: Regenerated.
35271
35272         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35273
35274 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
35275
35276         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35277
35278         * sysdeps/x86_64/x32/ffs.c: New file.
35279
35280         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35281         __syscall_ulong_t.
35282         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35283         defined.  Use __syscall_ulong_t.
35284         (shminfo): Use __syscall_ulong_t.
35285         (shm_info): Likewise.
35286
35287         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35288         __syscall_ulong_t.
35289
35290         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35291         <bits/wordsize.h>.
35292         (msgqnum_t): Use __syscall_ulong_t.
35293         (msglen_t): Likewise.
35294         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
35295         __syscall_ulong_t.
35296
35297         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35298         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35299
35300         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35301
35302         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35303         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35304
35305         * sysvipc/sys/msg.h (msgbuf): Replace long int with
35306         __syscall_slong_t.
35307
35308         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35309         include <bits/wordsize.h>.  Check __x86_64__ instead of
35310         __WORDSIZE.
35311
35312         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35313         "unsigned long long int" if __x86_64__ is defined.
35314         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35315
35316         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35317         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
35318         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35319
35320         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
35321         <stdint.h>.
35322         (GET_PC): Cast to uintptr_t first.
35323         (GET_FRAME): Likewise.
35324         (GET_STACK): Likewise.
35325
35326         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
35327         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
35328         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
35329         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
35330         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
35331         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
35332         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
35333         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
35334         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
35335         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
35336         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
35337         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
35338         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35339         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
35340         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
35341         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
35342         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
35343         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
35344         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
35345         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
35346         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
35347         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
35348         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
35349         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
35350         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
35351         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
35352         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
35353         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
35354         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
35355
35356 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
35357
35358         * Makerules (+depfiles): Also collect depfiles from .oS in
35359         $(extra-objs).
35360         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
35361         .oS, $(libnldbl-routines)).
35362
35363         * Makerules (native-compile-mkdep-flags): Define.
35364         * sunrpc/Makefile (extra-objs): Add $(addprefix
35365         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
35366         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
35367         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
35368         calling $(make-target-directory).
35369
35370 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35371
35372         * bits/types.h (__snseconds_t): Removed.
35373         * time/time.h (struct timespec): Replace __snseconds_t with
35374         __syscall_slong_t.
35375         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
35376         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
35377         Likewise.
35378         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35379         (__SNSECONDS_T_TYPE): Likewise.
35380         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35381         (__SNSECONDS_T_TYPE): Likewise.
35382         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35383         (__SNSECONDS_T_TYPE): Likewise.
35384
35385 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35386
35387         * sysdeps/mach/hurd/bits/typesizes.h
35388         (__SYSCALL_SLONG_TYPE): New macro.
35389         (__SYSCALL_ULONG_TYPE): Likewise.
35390
35391 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35392
35393         * bits/types.h (__syscall_slong_t): New type.
35394         (__syscall_ulong_t): Likewise.
35395
35396         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
35397         (__SYSCALL_ULONG_TYPE): Likewise.
35398         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35399         (__SYSCALL_SLONG_TYPE): Likewise.
35400         (__SYSCALL_ULONG_TYPE): Likewise.
35401         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35402         (__SYSCALL_SLONG_TYPE): Likewise.
35403         (__SYSCALL_ULONG_TYPE): Likewise.
35404         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35405         (__SYSCALL_SLONG_TYPE): Likewise.
35406         (__SYSCALL_ULONG_TYPE): Likewise.
35407
35408 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35409
35410         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35411         Add sigaltstack-offsets.sym.
35412         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35413         <sigaltstack-offsets.h>.
35414         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
35415         longjmp_msg pointer.
35416         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
35417         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35418         signal stack.
35419         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35420
35421 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
35422
35423         * elf/stackguard-macros.h: Remove file.
35424         * sysdeps/generic/stackguard-macros.h: New file.
35425         * sysdeps/i386/stackguard-macros.h: Likewise.
35426         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35427         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35428         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35429         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35430         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35431         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35432         * sysdeps/x86_64/stackguard-macros.h: Likewise.
35433         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35434         <elf/stackguard-macros.h>.
35435
35436         [BZ #14109]
35437         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35438         __aligned__ in attribute.
35439         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35440         (gregset_t): Likewise.
35441
35442 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35443
35444         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35445         * sysdeps/x86_64/64/Implies-after: Here.  New file.
35446         * sysdeps/x86_64/x32/Implies-after: New file.
35447
35448 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35449
35450         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35451         and access return value for _dl_profile_fixup.  Use R10_LP to
35452         load frame size.
35453
35454 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35455
35456         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35457
35458 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35459
35460         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35461         * sysdeps/x86_64/x32/sysdep.h: New file.
35462
35463 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35464
35465         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35466         * sysdeps/x86_64/setjmp.S: Likewise.
35467
35468 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35469
35470         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35471         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35472         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35473         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35474         remove unused global constant.
35475
35476 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
35477
35478         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35479         include of <not-cancel.h>.
35480
35481 2012-05-15  Roland McGrath  <roland@hack.frob.com>
35482
35483         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35484
35485 2012-05-15  Jeff Law  <law@redhat.com>
35486             Andreas Jaeger  <aj@suse.de>
35487
35488         [BZ #13594]
35489         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35490         out from...
35491         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35492         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35493         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35494         code changing __hst_map_handle.map.
35495
35496 2012-05-15  Roland McGrath  <roland@hack.frob.com>
35497
35498         * configure.in (sysnames): Look for Implies-before and Implies-after
35499         files.
35500         * configure: Regenerated.
35501
35502 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35503
35504         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35505         8-byte data alignment with LP_SIZE alignment.
35506
35507 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35508
35509         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35510         into R10_LP.
35511
35512 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35513
35514         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35515
35516 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35517
35518         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35519         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35520         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35521         Likewise.
35522         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35523
35524 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35525
35526         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35527         (stackinfo_sub_sp): Likewise.
35528
35529 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35530
35531         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
35532         RAX_LP.
35533
35534 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35535
35536         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
35537         into R*_LP.
35538
35539 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35540
35541         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
35542         sizes into R*_LP.
35543
35544 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35545
35546         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
35547
35548 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35549
35550         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
35551         into R11_LP and load __x86_64_shared_cache_size_half into
35552         R8_LP.
35553
35554 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
35555
35556         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
35557         R8_LP.
35558
35559 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35560
35561         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
35562         logb for POWER7.
35563         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
35564         logbf for POWER7.
35565         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
35566         logbl for POWER7.
35567         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
35568         powerpc32/power7/fpu/s_logb.c via #include.
35569         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
35570         powerpc32/power7/fpu/s_logbf.c via #include.
35571         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
35572         powerpc32/power7/fpu/s_logbl.c via #include.
35573
35574 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
35575
35576         * README.libm: Remove file.
35577
35578 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35579
35580         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
35581         count for x32.  Use R*_LP and omit operand-size suffix.
35582
35583 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35584
35585         * shlib-versions: Move x86_64-.*-linux.* entries to ...
35586         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
35587         * sysdeps/x86_64/x32/shlib-versions: New file.
35588
35589 2012-05-14  Roland McGrath  <roland@hack.frob.com>
35590
35591         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
35592         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
35593         Use _dl_fatal_printf instead.
35594
35595 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
35596
35597         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
35598         set if not set by the user.  Do not allow for being unset.
35599         * sysdeps/unix/sysv/linux/configure: Regenerated.
35600
35601 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35602
35603         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
35604         the `q' suffix from lea and replace .quad with ASM_ADDR.
35605
35606 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35607
35608         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
35609         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
35610         instead of $17.
35611         (PTR_DEMANGLE): Likewise.
35612
35613 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35614
35615         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
35616         (LP_OP): Likewise.
35617         (ASM_ADDR): Likewise.
35618         (RAX_LP): Likewise.
35619         (RBP_LP): Likewise.
35620         (RBX_LP): Likewise.
35621         (RCX_LP): Likewise.
35622         (RDI_LP): Likewise.
35623         (RSI_LP): Likewise.
35624         (RSP_LP): Likewise.
35625         (R8_LP): Likewise.
35626         (R9_LP): Likewise.
35627         (R10_LP): Likewise.
35628         (R10_LP): Likewise.
35629         (R11_LP): Likewise.
35630         (R12_LP): Likewise.
35631         (R13_LP): Likewise.
35632         (R14_LP): Likewise.
35633         (R15_LP): Likewise.
35634
35635 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35636
35637         * sysdeps/x86_64/x32/dl-machine.h: New file.
35638
35639 2012-05-14  Andreas Jaeger  <aj@suse.de>
35640
35641         * manual/Makefile (subdir): Remove export of subdir.
35642         (all): Remove target.
35643         (.PHONY): Remove all from list.
35644         (mkinstalldirs): Remove.
35645         (.PHONY): Remove installdirs from list.
35646         ($(inst_infodir)/libc.info): Use make-target-directory.
35647         (installdirs): Remove.
35648         (subdir_%): Remove.
35649         (glibc-targets): Remove.
35650         (lib): Remove.
35651         (stubs): Remove.
35652         ($(objpfx)stubs ../po/manual.pot): Remove.
35653         ($(objpfx)stamp%): Remove.
35654         (make-target-directory): Remove.
35655         (subdir_install): Remove.
35656         (routines): Remove.
35657         (aux): Remove.
35658         (sources): Remove.
35659         (objects): Remove.
35660         (headers): Remove.
35661
35662         [BZ #13750]
35663         * manual/.gitignore: Remove, it's not needed anymore.
35664         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
35665         all files in it.
35666         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
35667         directory.
35668         (texis): Renamed to $(objpfx)texis.
35669         (texis-path): New, contains path to generated files.
35670         (chapters.%): Use texis-path for complete path, add extra argument
35671         libc-texinfo.sh.
35672         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
35673         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
35674         (summary,texi, stamp-summary): Use complete path of
35675         files. Generate files in build dir.
35676         (dir-add.texi): Build in build dir.
35677         (libm-err.texi,stamp-libm-err): Likewise.
35678         (version.texi, stamp-version): Likewise.
35679         (.%c.texi): Likewise.
35680         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
35681         (mostlyclean): Remove target.
35682         (realclean): Remove target.
35683         (generated): Add new variable with contents from mostlyclean and
35684         realclean, remove entries duplicated in common-mostlyclean, add
35685         stamp-libm-err and stamp-version.
35686         (generated-dirs): Add libc directory.
35687         ($(inst_infodir)/libc.info): Install files from build dir.
35688
35689         * manual/install.texi (Configuring and compiling): Adjust since
35690         the info files are not part of the tar ball anymore.
35691
35692 2012-05-14  Andreas Jaeger  <aj@suse.de>
35693
35694         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
35695         variable.
35696
35697 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
35698
35699         [BZ #13717]
35700         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35701         to 2.2.0 where earlier.
35702         * sysdeps/unix/sysv/linux/configure: Regenerated.
35703         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
35704         Remove conditional code.
35705         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
35706         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
35707         Remove conditional code.
35708         [!__NR_lchown]: Likewise.
35709         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35710         [__NR_lchown]: Likewise.
35711         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
35712         comment referencing __ASSUME_LCHOWN_SYSCALL.
35713         * sysdeps/unix/sysv/linux/i386/sigaction.c
35714         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35715         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35716         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
35717         Remove conditional code.
35718         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
35719         (__protocol_available): Remove #if 0 code.
35720         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
35721         conditional code.
35722         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
35723         * sysdeps/unix/sysv/linux/kernel-features.h
35724         (__ASSUME_GETCWD_SYSCALL): Don't define.
35725         (__ASSUME_REALTIME_SIGNALS): Likewise.
35726         (__ASSUME_PREAD_SYSCALL): Likewise.
35727         (__ASSUME_PWRITE_SYSCALL): Likewise.
35728         (__ASSUME_POLL_SYSCALL): Likewise.
35729         (__ASSUME_LCHOWN_SYSCALL): Likewise.
35730         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
35731         non-SPARC.
35732         (__ASSUME_SIOCGIFNAME): Don't define.
35733         (__ASSUME_MSG_NOSIGNAL): Likewise.
35734         (__ASSUME_SENDFILE): Define unconditionally.
35735         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
35736         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
35737         conditional code.
35738         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
35739         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
35740         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35741         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35742         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
35743         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35744         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
35746         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35747         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35749         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35750         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
35752         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35753         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35755         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35756         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
35758         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35759         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35761         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35762         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
35764         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35765         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35767         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35768         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35769         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
35770         Remove conditional code.
35771         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35772         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35773         Remove conditional code.
35774         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35775         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
35776         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
35777         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35778         Remove conditional code.
35779         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35780         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
35781         Remove conditional code.
35782         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35783         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
35784         Remove conditional code.
35785         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35786         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35787         Remove conditional code.
35788         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35789         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35790         Remove conditional code.
35791         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35792         * sysdeps/unix/sysv/linux/sh/pwrite64.c
35793         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35794         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35795         * sysdeps/unix/sysv/linux/sigaction.c
35796         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35797         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35798         * sysdeps/unix/sysv/linux/sigpending.c
35799         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35800         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35801         * sysdeps/unix/sysv/linux/sigprocmask.c
35802         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35803         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35804         * sysdeps/unix/sysv/linux/sigsuspend.c
35805         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35806         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35807         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35808         (__libc_missing_rt_sigs): Remove.
35809         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35810         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35811         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35812         Remove conditional code.
35813         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35814         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35815         return 1.
35816         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35817         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35818         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35819         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35820
35821 2012-05-14  Andreas Jaeger  <aj@suse.de>
35822
35823         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35824         it's not used in glibc.
35825         (__coshm1): Likewise.
35826         (__acosh1p): Likewise.
35827         (__sgn): Likewise.
35828
35829         * manual/string.texi (Copying and Concatenation): Add missing
35830         variable in concat example.
35831         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35832
35833 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35834
35835         [BZ #14103]
35836         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35837         __builtin_clzl with __builtin_clzll.
35838
35839 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
35840
35841         [BZ #14104]
35842         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35843         libc_freeres_ptr.
35844
35845 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35846
35847         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35848         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35849         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35850         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35851
35852 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
35853
35854         * NEWS: Update ia64 info.
35855
35856 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
35857
35858         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
35859         used as bcopy.
35860
35861 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
35862
35863         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
35864         * sysdeps/unix/syscalls.list (dup3): Likewise.
35865         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
35866         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
35867
35868 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
35869
35870         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
35871         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
35872
35873 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
35874
35875         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
35876         thread pointer.
35877         (TLS_IE): Use mov/add instead of movq/addq to load thread
35878         pointer.
35879         (TLS_GD_PREFIX): New.
35880         (TLS_GD): Use it.
35881
35882 2012-05-11  David S. Miller  <davem@davemloft.net>
35883
35884         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
35885         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
35886         (_FPU_SETCW): Likewise.
35887
35888 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35889
35890         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
35891         is 32-byte aligned.
35892
35893 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
35894
35895         [BZ #11837]
35896         * iconvdata/gb18030.c: Update tables.
35897         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
35898         characters specially.
35899         (BODY for TO_LOOP): Add encoding of missing ranges.
35900
35901 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
35902
35903         [BZ #13673]
35904         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
35905         * sysdeps/mach/hurd/dup3.c: Likewise.
35906         * sysdeps/mach/hurd/readlinkat.c: Likewise.
35907         * sysdeps/powerpc/memmove.c:: Likewise.
35908
35909 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35910
35911         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
35912         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
35913
35914 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
35915
35916         * elf/elf.h (R_X86_64_RELATIVE64): New.
35917         (R_X86_64_NUM): Updated.
35918         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35919         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
35920         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
35921         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
35922         tst-quad1pie tst-quad2pie
35923         (modules-names): Add tst-quadmod1 tst-quadmod2.
35924         ($(objpfx)tst-quad1): New dependency.
35925         ($(objpfx)tst-quad2): Likewise.
35926         ($(objpfx)tst-quad1pie): Likewise.
35927         ($(objpfx)tst-quad2pie): Likewise.
35928         * sysdeps/x86_64/tst-quad1.c: New file.
35929         * sysdeps/x86_64/tst-quad1pie.c: New file.
35930         * sysdeps/x86_64/tst-quad2.c: Likewise.
35931         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
35932         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
35933         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
35934         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
35935         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
35936
35937 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35938
35939         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
35940         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
35941         * streams/stropts.h (t_scalar_t): Define type.
35942
35943         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
35944         (_PATH_PRESERVE): Set to "/var/lib".
35945         (_PATH_RWHODIR): Set to "/var/spool/rwho".
35946
35947         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
35948         instead of int.
35949
35950         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
35951         if __dir_mkfile succeeded.
35952
35953         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
35954         checking for _hurd_dtablesize.  Unlock it right after having
35955         finished _hurd_dtable allocation.
35956
35957 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
35958
35959         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
35960         * sysdeps/mach/hurd/configure: Regenerated.
35961         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
35962         special-casing to...
35963         * sysdeps/gnu/configure.in: ... this new file.
35964         * sysdeps/unix/sysv/linux/configure: Regenerated.
35965         * sysdeps/gnu/configure: New generated file.
35966
35967         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
35968         for Linux: use nsec instead of usec, as well as:
35969         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
35970         members of type struct timespec.
35971         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
35972         New macros.
35973         (struct stat64): Likewise.
35974         (_STATBUF_ST_NSEC): New macro.
35975         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
35976
35977         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35978         __strtoul_internal rather than strtoul.
35979
35980 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35981
35982         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
35983         and reject them.
35984
35985 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35986
35987         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
35988         which preserves existing values.
35989         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
35990
35991 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
35992
35993         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
35994         TIMEOUT values.  Return EINVAL for NFDS values either negative or
35995         greater than FD_SETSIZE.
35996
35997 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35998
35999         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
36000         allocated, call __vm_protect to finish enabling the existing space, and
36001         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
36002         allocate the remainder.
36003
36004 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36005
36006         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
36007         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
36008
36009 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36010
36011         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36012         sysdeps/mach/hurd/readlink.c.
36013
36014         * posix/tst-sysconf.c (posix_options): Only use
36015         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36016         _POSIX_SYNCHRONIZED_IO when they are defined
36017         * sysdeps/mach/hurd/bits/posix_opt.h:
36018         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
36019         (_XOPEN_REALTIME): Undefine macro.
36020         (_XOPEN_REALTIME_THREADS): Undefine macro.
36021         (_XOPEN_SHM): Undefine macro.
36022         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
36023         macro to -1.
36024         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
36025         macro to -1.
36026         (_POSIX_ASYNC_IO): Undefine macro.
36027         (_POSIX_PRIORITIZED_IO): Undefine macro.
36028         (_POSIX_SPIN_LOCKS): Define macro to -1.
36029
36030         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
36031         SA_NODEFER, SA_RESETHAND.
36032         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
36033         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
36034         F_DUPFD_CLOEXEC.
36035
36036 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36037
36038         * elf/Makefile (pldd-modules): Define unconditionally.
36039
36040 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36041
36042         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
36043
36044 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36045
36046         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
36047         Return ENOENT when name is empty.
36048         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
36049
36050 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36051
36052         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
36053
36054         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36055
36056 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36057
36058         Fix mlock in all cases except non-readable pages.
36059         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36060         instead of VM_PROT_ALL as parameter to __vm_wire function.
36061
36062         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36063         (__mkdir): When path is `/', just fail with EEXIST.
36064         * sysdeps/mach/hurd/mkdirat.c: Likewise.
36065
36066 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36067
36068         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36069         <sys/uio.h> (for writev).
36070         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36071         and <sys/param.h> (for MIN).
36072
36073 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36074
36075         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36076         REQUESTED_TIME.  Properly set the remaining time and return EINTR
36077         if interrupted.
36078
36079 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36080
36081         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
36082         Depend on against $(link-rpcuserlibs).
36083
36084 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36085
36086         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
36087         (__libc_stack_end): Do not use attribute_relro.
36088         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36089         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
36090         to libthread-provided value.
36091         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36092         attribute_relro.
36093
36094 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36095
36096         [BZ #3748]
36097         * bits/libc-lock.h (__libc_once_get): New macro.
36098         * sysdeps/mach/bits/libc-lock.h: Likewise.
36099         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36100         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36101         instead of using implementation details.
36102
36103         * libio/fileops.c: Unconditionally include <kernel-features.h>.
36104         * libio/freopen.c: Likewise.
36105         * libio/freopen64.c: Likewise.
36106         * misc/syslog.c: Likewise.
36107         * nscd/connections.c: Likewise.
36108         * nscd/netgroupcache.c: Likewise.
36109         * sysdeps/posix/getcwd.c: Likewise.
36110
36111 2012-05-10  Roland McGrath  <roland@hack.frob.com>
36112
36113         * math/w_ilogbf.c: Add #include <limits.h>.
36114
36115 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36116
36117         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
36118         path instead of returning without unlocking.
36119
36120         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36121         immediate-write ioctls.
36122         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36123
36124 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36125
36126         * sysdeps/mach/hurd/i386/init-first.c (init): Use
36127         __builtin_frame_address instead of making assumptions about the
36128         location of the return address relative to DATA.  Force early load of
36129         the return address.
36130         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36131         __builtin_frame_address.
36132
36133         dup3 for GNU Hurd.
36134         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36135         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
36136         implement dup3 and do some further code clean-ups.
36137         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36138         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36139
36140 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36141
36142         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36143
36144         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36145         HURD_CRITICAL_END around holding _hurd_dtable_lock.
36146         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36147         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36148         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36149         d->port.lock.
36150
36151         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36152         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
36153         when handler == SIG_ERR, not when handler != SIG_ERR.
36154
36155 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36156
36157         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36158         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36159         definitions.
36160
36161         accept4 for GNU Hurd.
36162         * include/sys/socket.h (__libc_accept4): New prototype.
36163         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
36164         to implement __libc_accept4.
36165         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36166         __libc_accept4.
36167         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36168
36169         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36170         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36171         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36172         signal-defines.sym.
36173
36174 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36175
36176         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
36177
36178 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
36179
36180         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36181         assertion on O_CLOEXEC flag.
36182         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36183         * hurd/intern-fd.c: Likewise.
36184         * hurd/port2fd.c: Likewise.
36185
36186 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36187
36188         [BZ #3906]
36189         * bits/in.h (IPV6_PKTINFO): Define new macro.
36190         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36191
36192 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36193
36194         [BZ #13954]
36195         [BZ #13955]
36196         [BZ #13956]
36197         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36198         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36199         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
36200         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36201         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36202         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36203         * math/libm-test.inc (logb_test) : Additional logb tests.
36204
36205 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
36206             Andreas Jaeger  <aj@suse.de>
36207
36208         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
36209         * configure: Regenerated.
36210         * config.h.in (LINK_OBSOLETE_RPC): New macro.
36211         * config.make.in (link-obsolete-rpc): New substituted variable.
36212         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36213         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36214         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36215         (shared-only-routines): Don't set it under [link-obsolete-rpc],
36216         so that libc.a contains the symbols.
36217         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36218         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36219         * sunrpc/auth_none.c: Likewise.
36220         * sunrpc/auth_unix.c: Likewise.
36221         * sunrpc/authdes_prot.c: Likewise.
36222         * sunrpc/authuxprot.c: Likewise.
36223         * sunrpc/clnt_gen.c: Likewise.
36224         * sunrpc/clnt_perr.c: Likewise.
36225         * sunrpc/clnt_raw.c: Likewise.
36226         * sunrpc/clnt_simp.c: Likewise.
36227         * sunrpc/clnt_tcp.c: Likewise.
36228         * sunrpc/clnt_udp.c: Likewise.
36229         * sunrpc/clnt_unix.c: Likewise.
36230         * sunrpc/des_crypt.c: Likewise.
36231         * sunrpc/des_soft.c: Likewise.
36232         * sunrpc/get_myaddr.c: Likewise.
36233         * sunrpc/key_call.c: Likewise.
36234         * sunrpc/key_prot.c: Likewise.
36235         * sunrpc/netname.c: Likewise.
36236         * sunrpc/pm_getmaps.c: Likewise.
36237         * sunrpc/pm_getport.c: Likewise.
36238         * sunrpc/pmap_clnt.c: Likewise.
36239         * sunrpc/pmap_prot.c: Likewise.
36240         * sunrpc/pmap_prot2.c: Likewise.
36241         * sunrpc/pmap_rmt.c: Likewise.
36242         * sunrpc/publickey.c: Likewise.
36243         * sunrpc/rpc_cmsg.c: Likewise.
36244         * sunrpc/rpc_common.c: Likewise.
36245         * sunrpc/rpc_dtable.c: Likewise.
36246         * sunrpc/rpc_prot.c: Likewise.
36247         * sunrpc/rpc_thread.c: Likewise.
36248         * sunrpc/rtime.c: Likewise.
36249         * sunrpc/svc.c: Likewise.
36250         * sunrpc/svc_auth.c: Likewise.
36251         * sunrpc/svc_raw.c: Likewise.
36252         * sunrpc/svc_run.c: Likewise.
36253         * sunrpc/svc_tcp.c: Likewise.
36254         * sunrpc/svc_udp.c: Likewise.
36255         * sunrpc/svc_unix.c: Likewise.
36256         * sunrpc/svcauth_des.c: Likewise.
36257         * sunrpc/xcrypt.c: Likewise.
36258         * sunrpc/xdr.c: Likewise.
36259         * sunrpc/xdr_array.c: Likewise.
36260         * sunrpc/xdr_float.c: Likewise.
36261         * sunrpc/xdr_intXX_t.c: Likewise.
36262         * sunrpc/xdr_mem.c: Likewise.
36263         * sunrpc/xdr_rec.c: Likewise.
36264         * sunrpc/xdr_ref.c: Likewise.
36265         * sunrpc/xdr_sizeof.c: Likewise.
36266         * sunrpc/xdr_stdio.c: Likewise.
36267
36268 2012-05-10  Roland McGrath  <roland@hack.frob.com>
36269
36270         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36271         change.  Update copyright years.
36272
36273 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
36274
36275         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36276
36277 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
36278             Joseph Myers  <joseph@codesourcery.com>
36279             Paul Pluzhnikov  <ppluzhnikov@google.com>
36280
36281         [BZ #14012]
36282         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36283         requiring rpcgen.
36284         [cross-compiling] (extra-libs): Likewise.
36285         [cross-compiling] (extra-libs-others): Likewise.
36286         [cross-compiling] (librpcsvc-routines): Likewise.
36287         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36288         [cross-compiling] (omit-deps): Likewise.
36289         (sunrpc-CPPFLAGS): New variable.
36290         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36291         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36292         (cross-rpcgen-objs): New variable.
36293         (extra-objs): Append $(cross-rpcgen-objs).
36294         ($(cross-rpcgen-objs)): New rule.
36295         ($(objpfx)cross-rpcgen): Likewise.
36296         (rpcgen-cmd): Define to use $(built-program-file).  Expand
36297         comment.
36298         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36299         ($(objpfx)x%.stmp): Likewise.
36300         * sunrpc/proto.h [IS_IN_build] (_): Define.
36301         [IS_IN_build] (_libc_intl_domainname): Likewise.
36302
36303 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
36304
36305         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36306         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36307         and R_X86_64_TPOFF64.
36308
36309 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
36310
36311         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36312         sysdeps/unix/sysv/syscalls.list.
36313         (stime): Likewise.
36314         (utime): Likewise.
36315         * sysdeps/unix/sysv/syscalls.list: Remove file.
36316
36317 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
36318
36319         [BZ #3440]
36320         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36321         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
36322         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
36323         (__LC_IDENTIFICATION): Make these macros useful in #if
36324         expressions, as required by C99.
36325
36326 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
36327
36328         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
36329         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
36330         after this.
36331
36332 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
36333
36334         * stdlib/longlong.h: Updated from GCC.
36335
36336 2012-05-09  Andreas Jaeger  <aj@suse.de>
36337
36338         * nscd/nscd.c (run_modes): Make named enum, reorder so that
36339         default is first entry.
36340         (run_mode): Set type.
36341         (main): Remove informal message about syslog.
36342         (options): Fix typo.
36343
36344         [BZ #14053]
36345         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
36346         to asm.
36347         (lrint): Likewise.
36348         (llrintf): Likewise.
36349         (llrint): Likewise.
36350         (rint): Likewise.
36351         (rintf): Likewise.
36352         (nearbyint): Likewise.
36353         (nearbyintf): Likewise.
36354
36355 2012-05-09  Andreas Jaeger  <aj@suse.de>
36356             Pedro Alves  <palves@redhat.com>
36357
36358         * nscd/nscd.c (run_mode): Use enum.
36359         (main): Cleanup coding style issue.
36360
36361 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
36362             Andreas Jaeger  <aj@suse.de>
36363
36364         * nscd/nscd.c (go_background): Replaced with...
36365         (run_mode): ... this.
36366         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
36367         (options): Add -F --foreground.
36368         (main): Implement it.
36369         (parse_opt): Parse it.
36370
36371 2012-05-09  Andreas Jaeger  <aj@suse.de>
36372
36373         [BZ #14083]
36374         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
36375         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
36376         -Wconversion warning.
36377         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
36378         Likewise.
36379
36380 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
36381
36382         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
36383         == 0.
36384         (LC_ALL): Use macro-int-constant.
36385         (LC_COLLATE): Likewise.
36386         (LC_CTYPE): Likewise.
36387         (LC_MESSAGES): Likewise.
36388         (LC_MONETARY): Likewise.
36389         (LC_NUMERIC): Likewise.
36390         (LC_TIME): Likewise.
36391         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
36392         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36393         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36394         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
36395         Specify type.
36396         [C99-based standards] (float_t): Expect type.
36397         [C99-based standards] (double_t): Expect type.
36398         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
36399         type.
36400         [C99-based standards] (HUGE_VALL): Likewise.
36401         [C99-based standards] (INFINITY): Likewise.
36402         [C99-based standards] (NAN): Likewise.
36403         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36404         [C99-based standards] (FP_NAN): Likewise.
36405         [C99-based standards] (FP_NORMAL): Likewise.
36406         [C99-based standards] (FP_SUBNORMAL): Likewise.
36407         [C99-based standards] (FP_ZERO): Likewise.
36408         [C99-based standards] (FP_FAST_FMA): Use
36409         optional-macro-int-constant.  Specify type.  Require == 1.
36410         [C99-based standards] (FP_FAST_FMAF): Likewise.
36411         [C99-based standards] (FP_FAST_FMAL): Likewise.
36412         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36413         [C99-based standards] (FP_ILOGBNAN): Likewise.
36414         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36415         Specify type.
36416         [C99-based standards] (MATH_ERREXCEPT): Likewise.
36417         [C99-based standards] (math_errhandling): Specify type.
36418         [ISO99 || ISO11] (signgam): Do not allow.
36419         [non-C99-based standards] (copysignf): Do not allow.
36420         [non-C99-based standards] (exp2f): Likewise.
36421         [non-C99-based standards] (log2f): Likewise.
36422         [non-C99-based standards] (modff): Allow.
36423         [non-C99-based standards] (erff): Do not allow.
36424         [non-C99-based standards] (erfcf): Likewise.
36425         [non-C99-based standards] (gammaf): Likewise.
36426         [non-C99-based standards] (hypotf): Likewise.
36427         [non-C99-based standards] (j0f): Likewise.
36428         [non-C99-based standards] (j1f): Likewise.
36429         [non-C99-based standards] (jnf): Likewise.
36430         [non-C99-based standards] (lgammaf): Likewise.
36431         [non-C99-based standards] (tgammaf): Likewise.
36432         [non-C99-based standards] (y0f): Likewise.
36433         [non-C99-based standards] (y1f): Likewise.
36434         [non-C99-based standards] (ynf): Likewise.
36435         [non-C99-based standards] (isnanf): Likewise.
36436         [non-C99-based standards] (acoshf): Likewise.
36437         [non-C99-based standards] (asinhf): Likewise.
36438         [non-C99-based standards] (atanhf): Likewise.
36439         [non-C99-based standards] (cbrtf): Likewise.
36440         [non-C99-based standards] (expm1f): Likewise.
36441         [non-C99-based standards] (ilogbf): Likewise.
36442         [non-C99-based standards] (log1pf): Likewise.
36443         [non-C99-based standards] (logbf): Likewise.
36444         [non-C99-based standards] (nextafterf): Likewise.
36445         [non-C99-based standards] (remainderf): Likewise.
36446         [non-C99-based standards] (rintf): Likewise.
36447         [non-C99-based standards] (scalbf): Likewise.
36448         [non-C99-based standards] (copysignl): Likewise.
36449         [non-C99-based standards] (exp2l): Likewise.
36450         [non-C99-based standards] (log2l): Likewise.
36451         [non-C99-based standards] (modfl): Allow.
36452         [non-C99-based standards] (erfl): Do not allow.
36453         [non-C99-based standards] (erfcl): Likewise.
36454         [non-C99-based standards] (gammal): Likewise.
36455         [non-C99-based standards] (hypotl): Likewise.
36456         [non-C99-based standards] (j0l): Likewise.
36457         [non-C99-based standards] (j1l): Likewise.
36458         [non-C99-based standards] (jnl): Likewise.
36459         [non-C99-based standards] (lgammal): Likewise.
36460         [non-C99-based standards] (tgammal): Likewise.
36461         [non-C99-based standards] (y0l): Likewise.
36462         [non-C99-based standards] (y1l): Likewise.
36463         [non-C99-based standards] (ynl): Likewise.
36464         [non-C99-based standards] (isnanl): Likewise.
36465         [non-C99-based standards] (acoshl): Likewise.
36466         [non-C99-based standards] (asinhl): Likewise.
36467         [non-C99-based standards] (atanhl): Likewise.
36468         [non-C99-based standards] (cbrtl): Likewise.
36469         [non-C99-based standards] (expm1l): Likewise.
36470         [non-C99-based standards] (ilogbl): Likewise.
36471         [non-C99-based standards] (log1pl): Likewise.
36472         [non-C99-based standards] (logbl): Likewise.
36473         [non-C99-based standards] (nextafterl): Likewise.
36474         [non-C99-based standards] (remainderl): Likewise.
36475         [non-C99-based standards] (rintl): Likewise.
36476         [non-C99-based standards] (scalbl): Likewise.
36477         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36478         [non-C99-based standards] (FP_*): Do not allow.
36479         [C99-based standards] (FP_*): Change to
36480         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36481         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36482         allow.
36483         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36484         (SIG_ERR): Likewise.
36485         [X/Open-based standards] (SIG_HOLD): Likewise.
36486         (SIG_IGN): Likewise.
36487         (SIGABRT): Use macro-int-constant.  Specify type.  Require
36488         positive value.
36489         (SIGFPE): Likewise.
36490         (SIGILL): Likewise.
36491         (SIGINT): Likewise.
36492         (SIGSEGV): Likewise.
36493         (SIGTER): Likewise.
36494         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36495         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36496         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36497         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36498         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36499         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36500         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36501         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36502         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36503         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36504         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36505         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36506         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36507         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36508         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36509         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36510         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36511         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36512         [X/Open-based standards] (SIGTRAP): Likewise.
36513         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36514         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36515         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36516         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36517         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36518         allow.
36519
36520 2012-05-08  Ian Wienand  <ianw@vmware.com>
36521
36522         [BZ #14080]
36523         * time/tzset.c (__tzset_parse_tz): Update default rules for
36524         daylight time changes in the Energy Policy Act of 2005.
36525
36526 2012-05-09  Andreas Jaeger  <aj@suse.de>
36527
36528         [BZ #13983]
36529         * elf/ldconfig.c (parse_conf): Change string to make clear that
36530         ldconfig only issued a warning if ld.so.conf does not exist.
36531
36532 2012-05-08  David S. Miller  <davem@davemloft.net>
36533
36534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
36535         movxtod instead of popping the value on the stack.
36536
36537         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36538
36539 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
36540
36541         * config.h.in: Add HAVE_ARM_PCS_VFP.
36542
36543 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
36544
36545         [BZ #13979]
36546         * include/features.h: Warn if user requests __FORTIFY_SOURCE
36547         checking but the checks are disabled for any reason.
36548
36549 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
36550
36551         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
36552         and ELF64_R_TYPE with ELFW(R_TYPE).
36553
36554 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
36555
36556         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
36557         (ulimit): Likewise.
36558
36559         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
36560         (settimeofday): Likewise.
36561
36562 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
36563
36564         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
36565         a struct th_u2 inside the union, and move tu_block/tu_code into
36566         a new th_u3 union of tu_block/tu_code inside of that.  Move
36567         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
36568         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
36569         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
36570         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
36571         (th_stuff): Change to th_u1.tu_stuff.
36572         (th_data): Define.
36573         (th_msg): Change to th_u1.th_u2.tu_data.
36574
36575 2012-05-07  David S. Miller  <davem@davemloft.net>
36576
36577         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36578
36579         [BZ #14074]
36580         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
36581         (SETUP_PIC_REG): Use it.
36582         (SETUP_PIC_REG_LEAF): Use it.
36583
36584 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
36585
36586         [BZ #13885]
36587         [BZ #13923]
36588         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36589         USE_AS_EXPM1L.
36590         (EXPL_FINITE): Likewise.
36591         (FLDLOG): Likewise.
36592         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36593         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36594         e_expl.S.
36595         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36596         USE_AS_EXPM1L.
36597         (EXPL_FINITE): Likewise.
36598         (FLDLOG): Likewise.
36599         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36600         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36601         e_expl.S.
36602         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
36603         test of -max_value argument for long double.
36604         * sysdeps/i386/fpu/libm-test-ulps: Update.
36605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36606
36607 2012-05-06  David S. Miller  <davem@davemloft.net>
36608
36609         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
36610         quad soft-float symbols whose references which are compiler
36611         generated.
36612         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36613
36614 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
36615
36616         [BZ #13884]
36617         [BZ #13914]
36618         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36619         USE_AS_EXP10L.
36620         (EXPL_FINITE): Likewise.
36621         (FLDLOG): Likewise.
36622         (c0): Likewise.
36623         (c1): Likewise.
36624         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
36625         Adjust comments for base varying.
36626         (__expl_finite): Change alias to EXPL_FINITE.
36627         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
36628         e_expl.S.
36629         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
36630         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36631         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36632         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
36633         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36634         USE_AS_EXP10L.
36635         (EXPL_FINITE): Likewise.
36636         (FLDLOG): Likewise.
36637         (c0): Likewise.
36638         (c1): Likewise.
36639         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
36640         Adjust comments for base varying.
36641         (__expl_finite): Change alias to EXPL_FINITE.
36642         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
36643         tests for bugs.
36644         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36645
36646         [BZ #14064]
36647         * math/libm-test.inc (check_float_internal): Correct ulp
36648         calculation for subnormal expected results.
36649
36650 2012-05-06  Andreas Jaeger  <aj@suse.de>
36651
36652         * Makeconfig (+math-flags): New, set to -frounding-math.
36653         (+cflags): Add +math-flags so that all of glibc gets compiled with
36654         it.
36655
36656         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
36657
36658 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
36659
36660         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
36661         Disable one test.
36662
36663         [BZ #13787]
36664         [BZ #13922]
36665         [BZ #14036]
36666         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
36667         (__ieee754_expl): Allow for and saturate large arguments.
36668         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
36669         (u_threshold): Likewise.
36670         (__exp): Call __ieee754_exp before checking for overflow and
36671         underflow.
36672         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
36673         (u_threshold): Likewise.
36674         (__expf): Call __ieee754_expf before checking for overflow and
36675         underflow.
36676         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
36677         (u_threshold): Likewise.
36678         (__expl): Call __ieee754_expl before checking for overflow and
36679         underflow.
36680         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
36681         (__ieee754_expl): Allow for and saturate large arguments.
36682         * math/libm-test.inc (exp_test): Add another test.  Do not allow
36683         missing overflow exception on overflow.
36684         (expm1_test): Do not allow missing overflow exception on overflow.
36685
36686         * sysdeps/i386/fpu/e_expl.c: Move to ...
36687         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
36688         rather than using inline asm.
36689         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
36690         * sysdeps/x86_64/fpu/e_expl.S: Copy from
36691         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
36692
36693         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
36694         (nice): Likewise.
36695         (poll): Likewise.
36696         (signal): Likewise.
36697         (time): Likewise.
36698         (times): Likewise.
36699
36700 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
36701
36702         * sysdeps/unix/syscalls.list (adjtime): Add entry from
36703         sysdeps/unix/common/syscalls.list.
36704         (fchmod): Likewise.
36705         (fchown): Likewise.
36706         (ftruncate): Likewise.
36707         (getrusage): Likewise.
36708         (gettimeofday): Likewise.
36709         (setpgid): Likewise.
36710         (setregid): Likewise.
36711         (setreuid): Likewise.
36712         (sigaction): Likewise.
36713         (truncate): Likewise.
36714         (vhangup): Likewise.
36715         * sysdeps/unix/common/syscalls.list: Remove file.
36716         * sysdeps/unix/bsd/Implies: Don't include unix/common.
36717         * sysdeps/unix/sysv/linux/Implies: Likewise.
36718
36719 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
36720
36721         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
36722         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
36723         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
36724         Moved to ...
36725         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36726         Here.
36727         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
36728         to ...
36729         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
36730         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
36731         to ...
36732         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
36733         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
36734         to ...
36735         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
36736         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
36737         to ...
36738         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
36739         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
36740         to ...
36741         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
36742         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
36743         to ...
36744         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
36745         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
36746         to ...
36747         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36748         Here.
36749         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
36750         to ...
36751         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
36752         Here.
36753         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36754         to ...
36755         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
36756         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
36757         Moved to ...
36758         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
36759         Here.
36760         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
36761         to ...
36762         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
36763
36764 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
36765
36766         * sysdeps/unix/common/bits/dirent.h: Remove file.
36767         * sysdeps/unix/common/bits/fcntl.h: Likewise.
36768
36769         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
36770         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
36771         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
36772         * sysdeps/unix/bsd/isatty.c: Likewise.
36773         * sysdeps/unix/bsd/tcdrain.c: Likewise.
36774         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
36775         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
36776
36777 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36778
36779         [BZ #13563]
36780         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
36781         long double comparison inaccuracies.
36782         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36783         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36784
36785 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
36786
36787         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
36788         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
36789
36790 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
36791
36792         [BZ #14049]
36793         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36794         nonzero digits before rounding a hex value.
36795         * stdlib/tst-strtod.c (tests): Add another test.
36796
36797 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36798
36799         * sysdeps/s390/fpu/libm-test-ulps: Update.
36800
36801 2012-05-03  Andreas Jaeger  <aj@suse.de>
36802
36803         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36804         does not get optimized out.
36805         (malloc_opt_barrier): New.
36806
36807 2012-05-03  Andreas Jaeger  <aj@suse.de>
36808             Roland McGrath  <roland@hack.frob.com>
36809
36810         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
36811         intermediate file deletion.
36812         (generated): Add .symlist files.
36813
36814 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
36815
36816         [BZ #13775]
36817         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36818         Redirect under this condition.
36819         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36820         [__USE_GNU] (__dprintf_chk): Not under this condition.
36821         [__USE_GNU] (__vdprintf_chk): Likewise.
36822         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36823         under this condition.
36824         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36825         [__USE_XOPEN2K8] (dprintf): Define under this condition.
36826         [__USE_XOPEN2K8] (vdprintf): Likewise.
36827         [__USE_GNU] (__dprintf_chk): Not under this condition.
36828         [__USE_GNU] (__vdprintf_chk): Likewise.
36829         [__USE_GNU] (dprintf): Likewise.
36830         [__USE_GNU] (vdprintf): Likewise.
36831
36832 2012-05-03  Roland McGrath  <roland@hack.frob.com>
36833
36834         * elf/Makefile (common-generated): Set this instead of generated for
36835         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
36836         $(all-built-dso)-derived lists.
36837
36838 2012-05-03  Andreas Jaeger  <aj@suse.de>
36839
36840         * sysdeps/i386/fpu/libm-test-ulps: Update.
36841
36842         * FAQ: Removed.
36843         * FAQ.in: Likewise.
36844         * scripts/gen-FAQ.pl: Likewise.
36845         * manual/install.texi (Installation): Point to online location of
36846         FAQ.
36847         * Makefile (files-for-dist): Remove FAQ.
36848         (FAQ): Remove.
36849
36850 2012-05-02  Allan McRae  <allan@archlinux.org>
36851
36852         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36853         (LDFLAGS-reldepmod5.so): Likewise.
36854         (LDFLAGS-reldep6mod1.so): Likewise.
36855         (LDFLAGS-reldep6mod4.so): Likewise.
36856         (LDFLAGS-reldep8mod3.so): Likewise.
36857         (LDFLAGS-unload4mod1.so): Likewise.
36858         (LDFLAGS-unload4mod2.so): Likewise.
36859         (LDFLAGS-tst-initorder): Likewise.
36860         (LDFLAGS-tst-initordera2.so): Likewise.
36861         (LDFLAGS-tst-initordera3.so): Likewise.
36862         (LDFLAGS-tst-initordera4.so): Likewise.
36863         (LDFLAGS-tst-initorderb2.so): Likewise.
36864         (LDFLAGS-noload): Likewise.
36865         (LDFLAGS-next): Likewise.
36866         (LDFLAGS-order2mod1.so): Likewise.
36867         (LDFLAGS-order2mod2.so): Likewise.
36868         (LDFLAGS-tst-initorder2): Likewise.
36869         (LDFLAGS-tst-initorder2a.so): Likewise.
36870         (LDFLAGS-tst-initorder2b.so): Likewise.
36871         (LDFLAGS-tst-initorder2c.so): Likewise.
36872         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
36873
36874 2012-05-02  David S. Miller  <davem@davemloft.net>
36875
36876         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36877
36878 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
36879
36880         [BZ #14055]
36881         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
36882
36883 2012-05-02  Andreas Jaeger  <aj@suse.de>
36884
36885         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
36886         since we manipulate rounding mode.
36887         (CPPFLAGS-test-idouble.c): Likewise.
36888         (CPPFLAGS-test-ifloat.c): Likewise.
36889         (CFLAGS-test-ldouble.c): Likewise.
36890         (CFLAGS-test-double.c): Likewise.
36891         (CFLAGS-test-float.c): Likewise.
36892         (CFLAGS-test-misc.c): Likewise.
36893         (CFLAGS-test-test-fenv.c): Likewise.
36894
36895 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36896
36897         [BZ #2550]
36898         [BZ #2570]
36899         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
36900         comparisons to determine direction to adjust input.
36901
36902 2012-05-01  Roland McGrath  <roland@hack.frob.com>
36903
36904         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
36905         output to the target.
36906
36907         * scripts/localplt.awk: New file.
36908         * elf/Makefile ($(objpfx)check-localplt): Target removed.
36909         (check-localplt-CFLAGS): Variable removed.
36910         ($(all-built-dso:=.jmprel)): New static pattern rule.
36911         (generated): Add those targets.
36912         (localplt-built-dso): New variable.
36913         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
36914
36915         * elf/check-localplt.c: File removed.
36916
36917         * scripts/check-execstack.awk: New file.
36918         * elf/Makefile ($(objpfx)check-execstack): Target removed.
36919         (check-execstack-CFLAGS): Variable removed.
36920         ($(objpfx)check-execstack.h): Target removed.
36921         ($(objpfx)execstack-default): New target.
36922         (generated): Add that instead of check-execstack.h.
36923         ($(all-built-dso:=.phdr)): New static pattern rule.
36924         (generated): Add those targets.
36925         * elf/check-execstack.c: File removed.
36926
36927         * scripts/check-textrel.awk: New file.
36928         * elf/Makefile ($(objpfx)check-textrel): Target removed.
36929         (check-textrel-CFLAGS): Variable removed.
36930         (all-built-dso): Use := to define.o
36931         ($(all-built-dso:=.dyn)): New static pattern rule.
36932         (generated): Add those targets.
36933         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
36934         * config.make.in (READELF): New substituted variable.
36935         * elf/check-textrel.c: File removed.
36936
36937 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
36938
36939         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36940         allow.
36941         * conform/data/ctype.h-data [C99-based standards] (isblank):
36942         Expect function.
36943         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
36944         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
36945         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36946         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
36947         Specify type.  Require positive value.
36948         (EILSEQ): Likewise.
36949         (ERANGE): Likewise.
36950         [ISO || POSIX] (EILSEQ): Do not expect.
36951         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
36952         Specify type.  Require positive value.
36953         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
36954         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
36955         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
36956         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
36957         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
36958         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
36959         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
36960         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
36961         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
36962         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
36963         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
36964         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
36965         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
36966         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
36967         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
36968         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
36969         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
36970         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
36971         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
36972         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
36973         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
36974         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
36975         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
36976         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
36977         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
36978         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
36979         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
36980         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
36981         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
36982         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
36983         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
36984         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
36985         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
36986         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
36987         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
36988         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
36989         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
36990         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
36991         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
36992         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
36993         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
36994         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
36995         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
36996         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
36997         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
36998         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
36999         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
37000         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
37001         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
37002         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
37003         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
37004         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
37005         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
37006         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
37007         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
37008         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
37009         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
37010         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37011         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37012         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37013         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37014         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37015         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37016         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
37017         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
37018         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
37019         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
37020         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
37021         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
37022         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
37023         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
37024         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
37025         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
37026         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
37027         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
37028         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
37029         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
37030         Require >= 2.
37031         (FLT_ROUNDS): Expect as macro, not constant.
37032         (FLT_MANT_DIG): Use macro-int-constant.
37033         (DBL_MANT_DIG): Likewise.
37034         (LDBL_MANT_DIG): Likewise.
37035         (FLT_DIG): Likewise.
37036         (DBL_DIG): Likewise.
37037         (LDBL_DIG): Likewise.
37038         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
37039         (DBL_MIN_EXP): Likewise.
37040         (LDBL_MIN_EXP): Likewise.
37041         (FLT_MAX_EXP): Use macro-int-constant.
37042         (DBL_MAX_EXP): Likewise.
37043         (LDBL_MAX_EXP): Likewise.
37044         (FLT_MAX_10_EXP): Likewise.
37045         (DBL_MAX_10_EXP): Likewise.
37046         (LDBL_MAX_10_EXP): Likewise.
37047         (FLT_MAX): Use macro-constant.
37048         (DBL_MAX): Likewise.
37049         (LDBL_MAX): Likewise.
37050         (FLT_EPSILON): Use macro-constant.  Give upper bound.
37051         (DBL_EPSILON): Likewise.
37052         (LDBL_EPSILON): Likewise.
37053         (FLT_MIN): Likewise.
37054         (DBL_MIN): Likewise.
37055         (LDBL_MIN): Likewise.
37056         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37057         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37058         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37059         [ISO11] (FLT_HAS_SUBNORM): Likewise.
37060         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37061         [ISO11] (DBL_DECIMAL_DIG): Likewise.
37062         [ISO11] (FLT_DECIMAL_DIG): Likewise.
37063         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37064         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37065         [ISO11] (FLT_TRUE_MIN): Likewise.
37066         [ISO11] (LDBL_TRUE_MIN): Likewise.
37067         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37068         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37069         (SCHAR_MIN): Use macro-int-constant.  Specify type.
37070         (SCHAR_MAX): Likewise.
37071         (UCHAR_MAX): Likewise.
37072         (CHAR_MIN): Likewise.
37073         (CHAR_MAX): Likewise.
37074         (MB_LEN_MAX): Use macro-int-constant.
37075         (SHRT_MIN): Use macro-int-constant.  Specify type.
37076         (SHRT_MAX): Likewise.
37077         (USHRT_MAX): Likewise.
37078         (INT_MAX): Likewise.
37079         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
37080         bound negative.
37081         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37082         bound with "U".
37083         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37084         bound with "L".
37085         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
37086         bound negative.  Suffix upper bound with "L".
37087         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
37088         bound with "UL".
37089         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37090         Specify type.
37091         [C99-based standards] (LLONG_MAX): Likewise.
37092         [C99-based standards] (ULLONG_MAX): Likewise.
37093         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
37094         == 0.
37095         [ISO11] (max_align_t): Require type.
37096         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37097
37098         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37099         from $CFLAGS, without defining away __attribute__ calls.
37100         (checknamespace): Use $CFLAGS_namespace.
37101
37102         * conform/conformtest.pl (@keywords): Only include C99 keywords
37103         for standards based on C99 or C11.
37104
37105         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37106         Disable tests.
37107         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37108         UNIX98]: Likewise.
37109
37110         * conform/conformtest.pl: Handle "macro-int-constant" and test for
37111         usability of symbols in #if.
37112
37113         * conform/conformtest.pl: If macro or constant types start
37114         "promoted:", expect the symbol to be of the following type
37115         promoted by the integer promotions.
37116
37117         * conform/conformtest.pl: Parse all "constant" and "macro" lines
37118         in one place.  Also handle "macro-constant".
37119
37120         * conform/conformtest.pl: Only accept expected macro values with
37121         "==".  Parse all "macro" lines in one place.
37122         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37123
37124         * conform/conformtest.pl: Handle braced types on "constant" lines
37125         instead of handling "typed-constant".
37126         * conform/data/signal.h-data: Use "constant" instead of
37127         "typed-constant".
37128
37129         * conform/conformtest.pl: Handle "optional-" at start of lines in
37130         one place rather than duplicating several cases.  Handle each
37131         format of "macro" line with initial "optional-".
37132
37133         * conform/conformtest.pl: Only accept expected constant or
37134         optional-constant values with "==".  Parse all "constant" lines in
37135         one place.  Parse all "optional-constant" lines in one place.
37136         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37137         * conform/data/fmtmsg.h-data: Likewise.
37138         * conform/data/netinet/in.h-data: Likewise.
37139         * conform/data/tar.h-data: Likewise.
37140         * conform/data/limits.h-data: Use "==" form on "constant" and
37141         "optional-constant" lines.
37142
37143         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37144         Use -std=c99 for XOPEN2K.
37145         (@knownproblems): Remove.
37146         (newtoken): Don't check %isknown.
37147
37148         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37149         Do not expect macro.
37150         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37151         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37152         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37153         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37154         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37155         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37156         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37157         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37158         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37159         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37160         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37161         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37162         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37163         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37164         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37165         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37166         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37167         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37168         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37169         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37170         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37171         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37172         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37173         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37174         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37175         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37176         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37177         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37178         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37179         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37180         [XPG3] (acosh): Likewise.
37181         [XPG3] (asinh): Likewise.
37182         [XPG3] (atanh): Likewise.
37183         [XPG3] (cbrt): Likewise.
37184         [XPG3] (expm1): Likewise.
37185         [XPG3] (ilogb): Likewise.
37186         [XPG3] (log1p): Likewise.
37187         [XPG3] (logb): Likewise.
37188         [XPG3] (nextafter): Likewise.
37189         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37190         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37191         [XPG3] (remainder): Likewise.
37192         [XPG3] (rint): Likewise.
37193         [XPG3 || XPG4 || UNIX98] (round): Likewise.
37194         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37195         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37196         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37197         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37198         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
37199         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
37200         [UNIX98 || XOPEN2K] (scalb): Expect.
37201         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
37202         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
37203         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
37204         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
37205         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
37206         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
37207         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
37208         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
37209         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
37210         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37211         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37212         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37213         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37214         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37215         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37216         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37217         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37218         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37219         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37220         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37221         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37222         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37223         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37224         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37225         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37226         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37227         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37228         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37229         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37230         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37231         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37232         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37233         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37234         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37235         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37236         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37237         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37238         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37239         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37240         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37241         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37242         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37243         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37244         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37245         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37246         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37247         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37248         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37249         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37250         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37251         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37252         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37253         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37254         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37255         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37256         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37257         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37258         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37259         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37260         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37261         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37262         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37263         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37264         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37265         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37266         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37267         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37268         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37269         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37270         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37271         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37272         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37273         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37274         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37275         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37276         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37277         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37278         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37279         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37280         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37281         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37282         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37283         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37284         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37285         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37286         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37287         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37288         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37289         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37290         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37291         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37292         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37293         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37294         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37295         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37296         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37297         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37298         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37299         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37300         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37301         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37302         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37303         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37304         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37305         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37306         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37307         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37308         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37309         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37310         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37311         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37312         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37313         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37314         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37315         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37316         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37317         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37318         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37319         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37320         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37321         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
37322         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
37323         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
37324         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
37325         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
37326         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
37327         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
37328         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
37329         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
37330         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
37331         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
37332         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
37333         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
37334         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
37335         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
37336         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
37337         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
37338
37339         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
37340         _XOPEN_SOURCE_EXTENDED for XPG4.
37341
37342         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
37343
37344         * Makeconfig (localtime): Remove variable.
37345         (inst_localtime-file): Likewise.
37346
37347 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37348
37349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37350         Update.
37351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37352         Update.
37353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37354         Update.
37355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37356         Update.
37357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
37358         Update.
37359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
37360         Update.
37361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37362         Update.
37363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
37364         Update.
37365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37366         Update.
37367
37368 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
37369
37370         [BZ #2550]
37371         [BZ #2570]
37372         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
37373         comparisons to determine direction to adjust input.
37374         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37375         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
37376         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37377         Likewise.
37378         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37379         Likewise.
37380         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37381         Likewise.
37382         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37383         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37384         Likewise.
37385         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37386         Likewise.
37387         * math/libm-test.inc (nexttoward_test): Add more tests.
37388
37389 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
37390
37391         [BZ #14040]
37392         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
37393         in version GLIBC_2.1, not GLIBC_2.0.
37394         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
37395         Likewise.
37396
37397 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
37398
37399         [BZ #13942]
37400         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37401         (1 - x) * (1 + x).
37402         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37403         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37404         * math/libm-test.inc (acos_test): Add more tests.
37405         (asin_test): Likewise.
37406         * sysdeps/i386/fpu/libm-test-ulps: Update.
37407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37408
37409         [BZ #14034]
37410         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37411         of square root.
37412         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37413         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37414         * math/libm-test.inc (acos_test_tonearest): New function.
37415         (acos_test_towardzero): Likewise.
37416         (acos_test_downward): Likewise.
37417         (acos_test_upward): Likewise.
37418         (asin_test_tonearest): Likewise.
37419         (asin_test_towardzero): Likewise.
37420         (asin_test_downward): Likewise.
37421         (asin_test_upward): Likewise.
37422         (main): Call the new functions.
37423         * sysdeps/i386/fpu/libm-test-ulps: Update.
37424         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37425
37426         [BZ #13884]
37427         [BZ #13924]
37428         * math/e_exp10.c: Include <float.h>.
37429         (__ieee754_exp10): Handle underflow here rather than multiplying
37430         large negative argument by M_LN10.
37431         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37432         of __ieee754_expf.
37433         * math/e_exp10l.c: Include <float.h>.
37434         (__ieee754_exp10l): Handle underflow here rather than multiplying
37435         large negative argument by M_LN10l.
37436         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
37437         spurious overflow exception on underflow.
37438
37439 2012-04-29  Marek Polacek  <polacek@redhat.com>
37440
37441         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37442         (__fortify_function): New macro.
37443         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37444         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37445         __extern_always_inline.
37446         * libio/bits/stdio2.h: Likewise.
37447         * libio/bits/stdio.h: Likewise.
37448         * string/string.h: Likewise.
37449         * string/bits/string3.h: Likewise.
37450         * include/stdio.h: Likewise.
37451         * stdlib/bits/stdlib.h: Likewise.
37452         * stdlib/stdlib.h: Likewise.
37453         * rt/bits/mqueue2.h: Likewise.
37454         * rt/mqueue.h: Likewise.
37455         * posix/bits/unistd.h: Likewise.
37456         * posix/unistd.h: Likewise.
37457         * io/bits/poll2.h: Likewise.
37458         * io/bits/fcntl2.h: Likewise.
37459         * io/fcntl.h: Likewise.
37460         * io/sys/poll.h: Likewise.
37461         * misc/bits/syslog.h: Likewise.
37462         * misc/bits/syslog-ldbl.h: Likewise.
37463         * misc/sys/syslog.h: Likewise.
37464         * socket/bits/socket2.h: Likewise.
37465         * socket/sys/socket.h: Likewise.
37466         * debug/tst-chk1.c: Likewise.
37467         * wcsmbs/bits/wchar2.h: Likewise.
37468         * wcsmbs/bits/wchar-ldbl.h: Likewise.
37469         * wcsmbs/wchar.h: Likewise.
37470
37471 2012-04-29  Andreas Jaeger  <aj@suse.de>
37472
37473         * Makerules (tests): Remove enable-check-abi protection.
37474         (check-abi-warn): Remove.
37475         (check-abi-%): Remove check-abi-warn usage.
37476
37477         * configure.in: Remove check-abi configure option.
37478         * configure: Regenerated.
37479         * config.make.in (enable-check-abi): Remove.
37480
37481 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
37482
37483         [BZ #14033]
37484         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37485         double functions to double *_finite functions.
37486
37487         [BZ #13941]
37488         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37489         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37490         LDBL_MIN_EXP.
37491         * stdio-common/Makefile (tests): Add tst-sprintf3.
37492         * stdio-common/tst-sprintf3.c: New file.
37493
37494         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37495         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37496
37497 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
37498
37499         * conform/conformtest.pl: Remove duplicate typed-constant
37500         handling.
37501
37502 2012-04-28  David S. Miller  <davem@davemloft.net>
37503
37504         * Makerules (%.abilist): Add vpath on sysdep_dirs.
37505         (check-abi-%): Remove AWK script prerequisite and explicit
37506         abilist directory.
37507         (check-abi): Rewrite to just diff the symlist with the abilist.
37508         (config-tls, config-abi-config): Delete, no longer used.
37509         (update-abi-%): Remove AWK script and explicit abilist directory.
37510         (update-abi): Rewrite to simply compare and conditionally copy the
37511         symlist and the sysdep abilist file.  Remove update-abi-config
37512         checks.
37513         * abilist/ld.abilist: Remove.
37514         * abilist/libBrokenLocale.abilist: Remove.
37515         * abilist/libanl.abilist: Remove.
37516         * abilist/libcrypt.abilist: Remove.
37517         * abilist/libdl.abilist: Remove.
37518         * abilist/librt.abilist: Remove.
37519         * abilist/libthread_db.abilist: Remove.
37520         * abilist/libutil.abilist: Remove.
37521         * scripts/extract-abilist.awk: Remove.
37522         * scripts/merge-abilist.awk: Remove.
37523         * sysdeps/generic/libcidn.abilist: New file.
37524         * sysdeps/generic/libnss_compat.abilist: New file.
37525         * sysdeps/generic/libnss_db.abilist: New file.
37526         * sysdeps/generic/libnss_dns.abilist: New file.
37527         * sysdeps/generic/libnss_files.abilist: New file.
37528         * sysdeps/generic/libnss_hesiod.abilist: New file.
37529         * sysdeps/generic/libnss_nis.abilist: New file.
37530         * sysdeps/generic/libnss_nisplus.abilist: New file.
37531         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
37532         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37533         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
37534         file.
37535         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
37536         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
37537         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
37538         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
37539         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
37540         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
37541         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
37542         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
37543         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
37544         file.
37545         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
37546         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
37547         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
37548         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
37549         file.
37550         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
37551         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
37552         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
37553         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
37554         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
37555         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
37556         file.
37557         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
37558         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
37559         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
37560         file.
37561         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
37562         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
37563         New file.
37564         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
37565         New file.
37566         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
37567         New file.
37568         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
37569         New file.
37570         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
37571         New file.
37572         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
37573         New file.
37574         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
37575         New file.
37576         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
37577         New file.
37578         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
37579         New file.
37580         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
37581         New file.
37582         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
37583         New file.
37584         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
37585         New file.
37586         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
37587         New file.
37588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
37589         file.
37590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37591         New file.
37592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37593         New file.
37594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
37595         file.
37596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37597         New file.
37598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37599         New file.
37600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
37601         file.
37602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37603         New file.
37604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37605         New file.
37606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37607         New file.
37608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37609         New file.
37610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37611         New file.
37612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37613         New file.
37614         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
37615         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
37616         file.
37617         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37618         New file.
37619         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
37620         file.
37621         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
37622         file.
37623         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
37624         file.
37625         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
37626         file.
37627         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
37628         file.
37629         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37630         New file.
37631         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
37632         file.
37633         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
37634         file.
37635         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37636         New file.
37637         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
37638         file.
37639         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
37640         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
37641         file.
37642         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37643         New file.
37644         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
37645         file.
37646         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
37647         file.
37648         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
37649         file.
37650         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
37651         file.
37652         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
37653         file.
37654         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37655         New file.
37656         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
37657         file.
37658         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
37659         file.
37660         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37661         New file.
37662         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
37663         file.
37664         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37665         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
37666         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
37667         file.
37668         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
37669         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
37670         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
37671         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
37672         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
37673         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
37674         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
37675         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
37676         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
37677         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
37678         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
37679         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
37680         file.
37681         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37682         New file.
37683         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
37684         file.
37685         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
37686         file.
37687         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
37688         file.
37689         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
37690         file.
37691         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
37692         file.
37693         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37694         New file.
37695         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37696         New file.
37697         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
37698         file.
37699         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37700         New file.
37701         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
37702         file.
37703         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
37704         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
37705         file.
37706         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37707         New file.
37708         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
37709         file.
37710         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
37711         file.
37712         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
37713         file.
37714         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
37715         file.
37716         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
37717         file.
37718         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37719         New file.
37720         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37721         New file.
37722         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
37723         file.
37724         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37725         New file.
37726         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
37727         file.
37728
37729 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
37730
37731         * conform/conformtest.pl: Fix typo in handling typed-constant from
37732         allow-header.
37733
37734 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
37735
37736         * README: Cut down references to pre-2.6 Linux kernels and
37737         Linuxthreads.  Update lists of configurations in libc and ports
37738         and sort alphabetically.  Say "or newer" with Linux kernel version
37739         requirements.
37740
37741         * config.h.in [IS_IN_build]: Allow compiling without optimization.
37742
37743 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37744
37745         [BZ #887]
37746         * math/libm-test.inc (logb_test_downward): New test to expose
37747         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
37748         rounding mode.
37749
37750 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
37751
37752         [BZ #14027]
37753         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
37754         to be done.
37755         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
37756         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
37757
37758 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
37759
37760         * sysdeps/unix/i386/brk.S: Remove file.
37761         * sysdeps/unix/i386/dl-brk.S: Likewise.
37762         * sysdeps/unix/i386/pipe.S: Likewise.
37763         * sysdeps/unix/i386/sigreturn.S: Likewise.
37764         * sysdeps/unix/i386/syscall.S: Likewise.
37765         * sysdeps/unix/i386/vfork.S: Likewise.
37766         * sysdeps/unix/i386/wait.S: Likewise.
37767
37768         * sysdeps/unix/common/tcsendbrk.c: Move to ...
37769         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
37770
37771         * configure.in (arm*-none*): Do not allow without
37772         --enable-hacker-mode.
37773         (netbsd*): Remove case setting base_os.
37774         (386bsd*): Likewise.
37775         (freebsd*): Likewise.
37776         (bsdi*): Likewise.
37777         (osf*): Likewise.
37778         (sunos*): Likewise.
37779         (ultrix*): Likewise.
37780         (newsos*): Likewise.
37781         (dynix*): Likewise.
37782         (*bsd*): Likewise.
37783         (sysv*): Likewise.
37784         (isc*): Likewise.
37785         (esix*): Likewise.
37786         (sco*): Likewise.
37787         (minix*): Likewise.
37788         (irix4*): Likewise.
37789         (irix6*): Likewise.
37790         (solaris[2-9]*): Likewise.
37791         (none): Likewise.
37792         * configure: Regenerated.
37793
37794 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37795
37796         [BZ #11521]
37797         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37798         overflow or cancellation in calculating denominator.
37799         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37800         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37801         down expression to avoid unexpected rounding in newer GCCs.
37802         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37803
37804 2012-04-26  David S. Miller  <davem@davemloft.net>
37805
37806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37807         long-double compat symbols.
37808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37813         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37814         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37815         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37816         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37817         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37818         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37819         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37820         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37821
37822 2012-04-25  David S. Miller  <davem@davemloft.net>
37823
37824         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37825         HWCAP_* values only after the memory barriers have been defined.
37826         (atomic_full_barrier): Define.
37827         (atomic_read_barrier): Define.
37828         (atomic_write_barrier): Define.
37829
37830 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37831
37832         * shlib-versions: Add libgcc_s version information.
37833         * sysdeps/generic/libgcc_s.h: Remove.
37834         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37835         libgcc_s.h.
37836         * sysdeps/gnu/unwind-resume.c: Likewise.
37837         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37838
37839 2012-04-25  David S. Miller  <davem@davemloft.net>
37840
37841         * sysdeps/unix/sparc/brk.S: Delete.
37842         * sysdeps/unix/sparc/dl-brk.S: Delete.
37843         * sysdeps/unix/sparc/pipe.S: Delete.
37844         * sysdeps/unix/sparc/sysdep.S: Delete.
37845         * sysdeps/unix/sparc/sysdep.h: Delete.
37846         * sysdeps/unix/sparc/vfork.S: Delete.
37847         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37848         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37849         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37850         (ret_ERRVAL, r0, r1, MOVE): Define.
37851         (JUMPTARGET): Remove.
37852         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37853         sysdeps/unix/sparc/sysdep.h
37854         (ENTRY, END): Remove.
37855         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37856
37857 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
37858
37859         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
37860         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
37861         -DIS_IN_build.
37862
37863         * timezone/README: Update upstream location and email address for
37864         tzcode and tzdata.
37865         * timezone/zdump.c: Update from tzcode 2012b.
37866         * timezone/zic.c: Likewise.
37867
37868         * configure.in (libc_cv_as_needed): Remove test.
37869         * configure: Regenerated.
37870         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
37871         conditional definition.
37872         [$(have-as-needed) != yes] (no-as-needed): Likewise.
37873         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
37874         * config.make.in (have-as-needed): Remove variable.
37875
37876 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37877             Paul Pluzhnikov  <ppluzhnikov@google.com>
37878
37879         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
37880         strings correctly.
37881
37882 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
37883
37884         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
37885         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
37886         * sysdeps/sh/strlen.S: Likewise.
37887
37888 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
37889
37890         * sysdeps/unix/fork.S: Remove file.
37891         * sysdeps/unix/i386/fork.S: Likewise.
37892         * sysdeps/unix/sparc/fork.S: Likewise.
37893
37894         * sysdeps/unix/system.c: Remove file.
37895         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
37896
37897         * sysdeps/unix/getegid.S: Remove file.
37898         * sysdeps/unix/geteuid.S: Likewise.
37899
37900 2012-04-24  Roland McGrath  <roland@hack.frob.com>
37901
37902         * scripts/check-localplt.awk: New file.
37903         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
37904         of diff.
37905         * scripts/data/localplt-generic.data: Add a comment.
37906
37907         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
37908         NODE when __dir_mkfile failed.
37909         * sysdeps/mach/hurd/symlinkat.c: Likewise.
37910         Reported by Ludovic Courtès <ludo@gnu.org>.
37911
37912 2012-04-24  Andreas Jaeger  <aj@suse.de>
37913
37914         * Makerules (common-clean): Also remove gen-as-const-headers
37915         files.
37916
37917 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
37918
37919         * Makerules (native-compile): Do not change working directory for
37920         build.  Use $(OUTPUT_OPTION) in command.
37921         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
37922
37923 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37924
37925         [BZ #13886]
37926         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
37927         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
37928         * math/libm-test.inc (floor_test): Add more tests.
37929         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
37930
37931 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
37932
37933         * sysdeps/unix/getdents.c: Remove file.
37934         * sysdeps/unix/sysv/getdents.c: Likewise.
37935         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
37936
37937         * sysdeps/unix/syscalls.list (madvise): Add syscall from
37938         sysdeps/unix/mman/syscalls.list.
37939         (mmap): Likewise.
37940         (mprotect): Likewise.
37941         (msync): Likewise.
37942         (munmap): Likewise.
37943         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
37944         * sysdeps/unix/mman/syscalls.list: Remove.
37945         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
37946
37947         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
37948         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
37949         * configure: Regenerated.
37950         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
37951         $(libgcc_s_suffix).
37952         * config.make.in (libgcc_s_suffix): Remove variable.
37953
37954 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
37955
37956         * sysdeps/unix/sysv/gethostname.c: Move to ...
37957         * sysdeps/posix/gethostname.c: ... here.
37958
37959         * sysdeps/unix/execve.S: Remove file.
37960
37961         * sysdeps/unix/_exit.S: Remove file.
37962
37963 2012-04-23  Andreas Jaeger  <aj@suse.de>
37964
37965         [BZ #13739]
37966         * manual/Makefile: Remove make dist support, there's no
37967         need for a stand-alone documentation tar ball.
37968         (TEXI2DVI): Define always, it's not in Makeconfig.
37969         (dist): Removed.
37970         (tar-it): Removed.
37971         (edition): Removed.
37972         (glibc-doc-$(edition).tar): Removed
37973         (%.Z): Removed.
37974         (%.gz): Removed.
37975         (%.uu): Removed.
37976         (ETAGS): Remove, it's in Makeconfig.
37977         (move-if-change): Remove, it's in Makeconfig.
37978
37979 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
37980
37981         [BZ #13970]
37982         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
37983         (strtod, strtof, strtold, strtol, strtoul, strtoq)
37984         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
37985         (strtod_l, strtof_l, strtold_l): Remove __wur.
37986         It is not necessarily an error to ignore strtol's return value.
37987         One can reliably look at the stored endptr to decide whether
37988         the number had valid syntax.
37989
37990 2012-04-21  Andreas Jaeger  <aj@suse.de>
37991
37992         [BZ #13739]
37993         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
37994
37995 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
37996
37997         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
37998         * sysdeps/unix/sysv/Versions: Remove file.
37999
38000 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
38001
38002         [BZ #13927]
38003         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38004
38005 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
38006
38007         [BZ #7064]
38008         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
38009         version from __vm86.
38010
38011 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
38012
38013         * sysdeps/unix/common/lxstat.c: Remove file.
38014         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38015
38016         * sysdeps/unix/sysv/Makefile: Remove file.
38017
38018         * sysdeps/unix/sysv/direct.h: Remove file.
38019
38020         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
38021         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
38022         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
38023         * sysdeps/unix/sysv/bits/signum.h: Likewise.
38024         * sysdeps/unix/sysv/bits/stat.h: Likewise.
38025         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
38026         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
38027
38028         * sysdeps/unix/sysv/setrlimit.c: Remove file.
38029
38030         * sysdeps/unix/xmknod.c: Remove file.
38031         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
38032
38033         * sysdeps/unix/sysv/settimeofday.c: Remove file.
38034
38035         * sysdeps/unix/sysv/i386/time.S: Remove file.
38036
38037         * sysdeps/unix/fxstat.c: Remove file.
38038         * sysdeps/unix/xstat.c: Likewise.
38039         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
38040
38041         * sysdeps/unix/sysv/sigaction.c: Remove file.
38042
38043         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
38044         (sysdep_headers): Remove variable.
38045         [termio.h not in sysdep_headers] (generated): Likewise.
38046         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
38047         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
38048         * sysdeps/unix/sysv/tcdrain.c: Likewise.
38049         * sysdeps/unix/sysv/tcflow.c: Likewise.
38050         * sysdeps/unix/sysv/tcflush.c: Likewise.
38051         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
38052         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
38053         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
38054         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
38055         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38056
38057         * sysdeps/unix/siglist.c: Remove file.
38058
38059         * sysdeps/unix/getppid.S: Remove file.
38060
38061         * sysdeps/unix/mkdir.c: Remove file.
38062         * sysdeps/unix/rmdir.c: Likewise.
38063
38064 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
38065
38066         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38067         ERR_MAX value.
38068         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38069         errlist-compat value.
38070
38071 2012-04-18  David S. Miller  <davem@davemloft.net>
38072
38073         * sysdeps/generic/memcopy.h (reg_char): Delete.
38074         * debug/strcat_chk.c: Use char, not reg_char.
38075         * debug/strcpy_chk.c: Likewise.
38076         * debug/strncat_chk.c: Likewise.
38077         * debug/strncpy_chk.c: Likewise.
38078         * string/memchr.c: Likewise.
38079         * string/memrchr.c: Likewise.
38080         * string/rawmemchr.c: Likewise.
38081         * string/strcat.c: Likewise.
38082         * string/strchr.c: Likewise.
38083         * string/strchrnul.c: Likewise.
38084         * string/strcmp.c: Likewise.
38085         * string/strcpy.c: Likewise.
38086         * string/strncat.c: Likewise.
38087         * string/strncmp.c: Likewise.
38088         * string/strncpy.c: Likewise.
38089
38090 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38091
38092         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38093         __builtin_memcopy is called when src and dest ranges are known to not
38094         overlap.
38095
38096 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38097
38098         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38099         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38100         fwd_align_merge macro call.
38101         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38102         bwd_align_merge macro call.
38103         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38104
38105 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
38106
38107         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38108         bwd_align_merge macros.
38109         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38110         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38111         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38112
38113 2012-04-18  David S. Miller  <davem@davemloft.net>
38114
38115         * sysdeps/sparc/sparc64/memcopy.h: Delete.
38116
38117 2012-04-18  Andreas Jaeger  <aj@suse.de>
38118
38119         [BZ# 6794]
38120         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38121         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38122         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38123
38124         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38125         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38126         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38127
38128         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38129         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38130         Adjust for changed ldbl-128 files.
38131
38132         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38133         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38134         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38135
38136 2012-04-17  David S. Miller  <davem@davemloft.net>
38137
38138         * sysdeps/sparc/sparc32/memcopy.h: Delete.
38139
38140 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
38141
38142         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38143         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38144         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38145         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38146         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38147         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38148
38149 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38150
38151         [BZ #6794]
38152         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38153         * math/libm-test.inc: Add ilogb errno and exception tests.
38154         * math/w_ilogb.c: New file: ilogb wrapper.
38155         * math/w_ilogbf.c: New file: ilogbf wrapper.
38156         * math/w_ilogbl.c: New file: ilogbl wrapper.
38157         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38158         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38159         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38160         exception being thrown with 0.0 as argument.
38161         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38162         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38163         exception being thrown with 0.0 as argument.
38164         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38165         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38166         exception being thrown with 0.0 as argument.
38167         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38168         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38169         exception being thrown with 0.0 as argument.
38170         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38171         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
38172         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
38173         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38174         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38175         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38176         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38177         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38178         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38179
38180 2012-04-17  Petr Baudis  <pasky@ucw.cz>
38181
38182         * include/sys/uio.h: Change __vector to __iovec to avoid clash
38183         with altivec.
38184
38185 2012-04-16  Marek Polacek  <polacek@redhat.com>
38186
38187         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38188
38189 2012-04-16  Marek Polacek  <polacek@redhat.com>
38190
38191         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38192         operands of fdivp instruction.
38193
38194 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
38195
38196         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38197         * elf/tst-auditmod3b.c: Likewise.
38198         * elf/tst-auditmod4b.c: Likewise.
38199         * elf/tst-auditmod5b.c: Likewise.
38200         * elf/tst-auditmod6b.c: Likewise.
38201         * elf/tst-auditmod6c.c: Likewise.
38202         * elf/tst-auditmod7b.c: Likewise.
38203         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
38204         * sysdeps/x86_64/preconfigure.in: Likewise.
38205         * sysdeps/x86_64/preconfigure: Regenerated.
38206
38207 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
38208
38209         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
38210         __ILP32__.
38211
38212 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
38213
38214         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38215         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38216
38217 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
38218
38219         [BZ #13973]
38220         * locale/iso-639.def: Fix gl language name. Spotted by
38221         Yaron Shahrabani.
38222
38223 2012-04-12  Roland McGrath  <roland@hack.frob.com>
38224
38225         [BZ #2074]
38226         * libio/libio.h (__io_write_fn): Update comment.
38227
38228 2012-04-12  Petr Baudis  <pasky@ucw.cz>
38229
38230         [BZ #2074]
38231         * stdio.texi (Hook Functions): The user provided writer function
38232         is not allowed to return -1.
38233
38234 2012-04-11  David S. Miller  <davem@davemloft.net>
38235
38236         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38237
38238 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
38239
38240         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38241         Add a leading slash to rtkaio.
38242
38243 2012-04-11  Jim Meyering  <meyering@redhat.com>
38244
38245         [BZ #11959]
38246         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38247         It is not necessarily an error to ignore fwrite's return
38248         value.  One can reliably use ferror to test for errors after
38249         the fact.
38250
38251 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
38252
38253         * bits/types.h (__snseconds_t): New type.
38254         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38255
38256         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38257         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38258         (__SNSECONDS_T_TYPE): Likewise.
38259         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38260         (__SNSECONDS_T_TYPE): Likewise.
38261         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38262         (__SNSECONDS_T_TYPE): Likewise.
38263
38264 2012-04-10  Andreas Jaeger  <aj@suse.de>
38265
38266         [BZ #2636]
38267         * manual/time.texi (Processor Time): Return type of times is
38268         elapsed real time since an arbitrary point in the past.
38269         (CPU Time): Move CLK_TCK from here...
38270         (Processor Time): ...to here.  Correct description.
38271         * manual/conf.texi (Constants for Sysconf): Correct description of
38272         _SC_CLK_TCK.
38273
38274 2012-04-10  David S. Miller  <davem@davemloft.net>
38275
38276         [BZ #13967]
38277         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38278         where the is a gap between DT_REL(A) and DT_JMPREL.
38279
38280 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
38281
38282         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38283         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38284         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38285
38286 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38287
38288         * elf/dl-support.c (_dl_inhibit_cache): New variable.
38289         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38290         (dl_main): Handle --inhibit-cache.
38291         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38292         _dl_inhibit_cache.
38293         * elf/dl-load.c (_dl_map_object): Use it.
38294         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38295
38296 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
38297
38298         [BZ #13872]
38299         * sysdeps/i386/fpu/e_powl.S (p78): New object.
38300         (__ieee754_powl): Saturate large exponents rather than testing for
38301         overflow of y*log2(x).
38302         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38303         * math/libm-test.inc (pow_test): Do not permit spurious overflow
38304         exceptions.
38305
38306         [BZ #11521]
38307         * math/s_ctan.c: Include <float.h>.
38308         (__ctan): Avoid internal overflow or cancellation in calculating
38309         denominator.
38310         * math/s_ctanf.c: Likewise.
38311         * math/s_ctanl.c: Likewise.
38312         * math/s_ctanh.c: Likewise.
38313         * math/s_ctanhf.c: Likewise.
38314         * math/s_ctanhl.c: Likewise.
38315         * math/libm-test.inc (ctan_test): Add more tests.
38316         (ctanh_test): Likewise.
38317         * sysdeps/i386/fpu/libm-test-ulps: Update.
38318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38319
38320 2012-04-09  Andreas Jaeger  <aj@suse.de>
38321
38322         [BZ #6894]
38323         * manual/filesys.texi (Directory Entries): Mention that d_namlen
38324         is an optional BSD extension.
38325
38326         [BZ #10254]
38327         * manual/stdio.texi (Opening Streams): Document additional fopen
38328         parameters.
38329
38330 2012-04-09  Roland McGrath  <roland@hack.frob.com>
38331
38332         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
38333         %eax without telling the compiler.
38334
38335 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
38336
38337         [BZ # 13963]
38338         * manual/install.texi: Use sourceware.org.
38339
38340 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
38341
38342         [BZ #13873]
38343         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
38344         (__ieee754_pow): Generate overflow and underflow using huge*huge
38345         and tiny*tiny rather than just returning constant infinity or zero
38346         for large exponents.
38347         * math/libm-test.inc (pow_test): Require overflow exceptions for
38348         applicable cases of large exponents.
38349
38350         [BZ #706]
38351         * sysdeps/i386/fpu/e_pow.S (p10): New object.
38352         (__ieee754_pow): Use iterative multiplication algorithm only for
38353         integer exponents with absolute value below 1024.  Check for odd
38354         integer exponents when using algorithm for real exponents.
38355         * math/libm-test.inc (pow_test): Add more tests.
38356         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38357
38358 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
38359
38360         [BZ #13705]
38361         * math/libm-test.inc (exp_test): Do not allow overflow exception
38362         on underflow test.
38363
38364 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
38365
38366         [BZ #13705]
38367         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
38368         instead of __kernel_standard_f.
38369
38370 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
38371
38372         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
38373         * sysdeps/x86_64/memset_chk.S: Likewise.
38374
38375 2012-04-08  Andreas Jaeger  <aj@suse.de>
38376
38377         [BZ #10153]
38378         * manual/startup.texi (Environment Access): Describe return value
38379         for putenv and setenv.
38380
38381         [BZ #6895]
38382         * manual/filesys.texi (Directory Entries): Add description for
38383         DT_LNK.
38384
38385         [BZ #6890]
38386         * manual/filesys.texi (Directory Entries): Clarify that it's file
38387         system not operating system in the description of DT_UNKNOWN.
38388
38389         [BZ #6578]
38390         * manual/syslog.texi (closelog): Fix reference, it's openlog.
38391
38392 2012-04-08  Stephen Compall  <s11@member.fsf.org>
38393
38394         [BZ #6649]
38395         * manual/llio.texi (Opening and Closing Files): Add cross
38396         reference to explain mode argument.
38397
38398 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
38399
38400         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38401         * sysdeps/x86_64/memset_chk.S: Likewise.
38402
38403 2012-04-07  David S. Miller  <davem@davemloft.net>
38404
38405         * elf/elf.h (R_SPARC_WDISP10): Define.
38406         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38407         R_SPARC_SIZE32.
38408         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38409         R_SPARC_SIZE64 and R_SPARC_H34.
38410
38411 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
38412
38413         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38414         conditions and remove no longer applicable assertion.
38415
38416 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
38417
38418         * bits/byteswap.h: Include <features.h>.
38419         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38420         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38421
38422 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
38423
38424         * bits/byteswap.h (__bswap_16): Removed.
38425         Include <bits/byteswap-16.h> to get __bswap_16.
38426         * sysdeps/i386/bits/byteswap.h: Likewise.
38427         * sysdeps/s390/bits/byteswap.h: Likewise.
38428         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38429         * bits/byteswap-16.h: New file.
38430         * sysdeps/i386/bits/byteswap-16.h: Likewise.
38431         * sysdeps/s390/bits/byteswap-16.h: Likewise.
38432         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38433         * string/Makefile (headers): Add bits/byteswap-16.h.
38434
38435 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
38436
38437         [BZ #13895]
38438         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38439         extra indirection.
38440         * nss/Makefile (tests-static, tests): Add tst-nss-static.
38441         * nss/tst-nss-static.c: New.
38442
38443 2012-04-06  Robert Millan  <rmh@gnu.org>
38444
38445         [BZ #6486]
38446         * manual/llio.texi (File Position Primitive): lseek
38447         refers to WHENCE when it really means OFFSET.
38448
38449 2012-04-06  Andreas Jaeger  <aj@suse.de>
38450
38451         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38452         strncmp declarations.
38453
38454         * abilist/libc.abilist: Add __poll and __ppoll.
38455
38456 2012-04-05  David S. Miller  <davem@davemloft.net>
38457
38458         * scripts/check-local-headers.sh: Accept a host triplet in the
38459         path matched by the exclude regexp.
38460
38461         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38462         definition.
38463         * sysdeps/powerpc/powerpc32/dl-machine.h
38464         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38465         * sysdeps/s390/s390-32/dl-machine.h
38466         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38467         * sysdeps/sparc/sparc32/dl-machine.h
38468         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38469         * sysdeps/sparc/sparc64/dl-machine.h
38470         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38471
38472         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38473         lazy binding.
38474         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
38475         undefined symbol errors.
38476
38477         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
38478         DT_NEEDED entries.
38479
38480 2012-04-05  Michael Matz  <matz@suse.de>
38481
38482         [BZ #13592]
38483         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38484
38485 2012-04-05  Andreas Jaeger  <aj@suse.de>
38486
38487         [BZ #13908]
38488         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38489         comment.
38490
38491 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38492
38493         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38494         which ROUND is no valid rounding mode.
38495
38496 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38497
38498         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38499         read again.
38500         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38501
38502 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38503
38504         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38505         an exception using FPU order intentionally.
38506
38507 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38508
38509         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38510         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38511         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38512         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38513
38514 2012-04-05  Simon Josefsson  <simon@josefsson.org>
38515
38516         [BZ #12340]
38517         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38518         EINVAL when BUFLEN is too smal.
38519
38520 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
38521
38522         [BZ #13553]
38523         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38524         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38525
38526 2012-04-03  Andreas Jaeger  <aj@suse.de>
38527
38528         [BZ #13938]
38529         * manual/setjmp.texi (System V contexts): Fix sentence.
38530
38531         [BZ #13926]
38532         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
38533         New macro for this case.
38534         [!__GNUC__] (__bswap_64): New inline function for this case.
38535         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38536         * bits/byteswap.h: Likewise.
38537         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
38538         ull, guard with __GLIBC_HAVE_LONG_LONG.
38539
38540         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
38541         __GLIBC_HAVE_LONG_LONG.
38542
38543         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
38544         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
38545
38546 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38547
38548         [BZ #13691]
38549         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
38550         inptr and inend, rather than using last_ch.
38551
38552 2012-04-02  David S. Miller  <davem@davemloft.net>
38553
38554         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
38555         * stdio-common/printf-parse.h (read_int): Change return type to
38556         'int', return -1 on INT_MAX overflow.
38557         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
38558         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
38559         overflows INT_MAX.  Check for overflow of in-format-string precision
38560         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
38561         SIZE_MAX not INT_MAX for integer overflow test.
38562         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
38563         skip the construct in the format string but do not record anything.
38564         * stdio-common/bug22.c: Adjust to test both width/prevision
38565         INT_MAX overflow as well as total length INT_MAX overflow.  Check
38566         explicitly for proper errno values.
38567
38568 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
38569
38570         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
38571         CHAR_MAX.
38572         * string/test-strcmp.c [! WIDE]: Likewise.
38573         * time/tst-mktime2.c: Likewise for INT_MAX.
38574         * string/test-string.h: #include <sys/param.h> for MIN.
38575
38576         * csu/init-first.c (__libc_init_first): Call __ctype_init.
38577         * sysdeps/i386/init-first.c (init): Likewise.
38578         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
38579         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
38580         * sysdeps/sh/init-first.c (init): Likewise.
38581
38582 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
38583
38584         * po/ru.po: Update from translation team.
38585         * po/vi.po: Likewise.
38586
38587 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
38588
38589         * resolv/nss_dns/dns-host.c: Merge copyright years.
38590
38591 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38592
38593         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38594         Optimize memcpy with prefetch if
38595         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
38596         src, dst pointers have unequal 16 byte alignments.
38597
38598 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38599
38600         [BZ #13928]
38601         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
38602         from a CNAME entry and return the minimum ttl for the query.
38603         (gaih_getanswer_slice): Likewise.
38604
38605 2012-03-30  Jeff Law  <law@redhat.com>
38606
38607         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
38608         due to long keys.
38609         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
38610         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
38611
38612         * resolv/nss_dns/dns-host.c: Update copyright year.
38613
38614 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
38615
38616         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
38617         requests to save a system call.  Fix check that all bytes are sent.
38618
38619         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
38620         comments for sendmmsg.
38621
38622 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38623
38624         [BZ #13691]
38625         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
38626         with only 1 character between 0x0041 and 0x01b0.
38627         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
38628         * wcsmbs/tst-mbsnrtowcs.c: New file.
38629
38630 2012-03-29  David S. Miller  <davem@davemloft.net>
38631
38632         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
38633         small copies by hand.
38634
38635 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38636
38637         [BZ #13761]
38638         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
38639         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
38640         group memberships.
38641
38642 2012-03-28  David S. Miller  <davem@davemloft.net>
38643
38644         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
38645         that branches into memcpy.
38646         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38647         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38648         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38649         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38650         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
38651         bits.
38652         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
38653         implementation too.
38654         * sysdeps/sparc/mempcpy.S: New file.
38655
38656         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
38657         the IFUNC routine in the libc case.
38658         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38659
38660         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
38661         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
38662         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
38663         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
38664         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
38665         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
38666         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
38667         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
38668
38669         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
38670         loop to 256 bytes instead of 64 bytes and fix test signedness.
38671
38672         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
38673         * sysdeps/sparc/sparc32/Makefile: rather than here...
38674         * sysdeps/sparc/sparc64/Makefile: and here.
38675
38676 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
38677
38678         * malloc/mallocbug.c: Avoid warnings about unused variables.
38679
38680 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
38681
38682         [BZ #13760]
38683         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
38684         in the right place. Discard and retry query if response is
38685         larger than input buffer size.
38686
38687 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
38688
38689         [BZ #369]
38690         [BZ #2678]
38691         [BZ #3866]
38692         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
38693         x for large integer exponent.
38694         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38695         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
38696         sign of result as needed afterwards.
38697         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38698         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
38699         result for underflowing pow the same as for overflow.
38700         (__kernel_standard_l): Handle powl overflow and underflow here
38701         rather than calling __kernel_standard.
38702         * math/libm-test.inc (pow_test): Add more tests.
38703
38704         [BZ #3868]
38705         [BZ #13879]
38706         [BZ #13910]
38707         [BZ #13911]
38708         [BZ #13912]
38709         [BZ #13913]
38710         [BZ #13915]
38711         [BZ #13916]
38712         [BZ #13917]
38713         [BZ #13918]
38714         [BZ #13919]
38715         [BZ #13920]
38716         [BZ #13921]
38717         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
38718         * sysdeps/ieee754/k_standard.c: Include <float.h>.
38719         (__kernel_standard_l): New function.
38720         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
38721         __kernel_standard.
38722         * math/w_acosl.c (__acosl): Likewise.
38723         * math/w_asinl.c (__asinl): Likewise.
38724         * math/w_atan2l.c (__atan2l): Likewise.
38725         * math/w_atanhl.c (__atanhl): Likewise.
38726         * math/w_coshl.c (__coshl): Likewise.
38727         * math/w_exp10l.c (__exp10l): Likewise.
38728         * math/w_exp2l.c (__exp2l): Likewise.
38729         * math/w_fmodl.c (__fmodl): Likewise.
38730         * math/w_hypotl.c (__hypotl): Likewise.
38731         * math/w_j0l.c (__j0l, __y0l): Likewise.
38732         * math/w_j1l.c (__j1l, __y1l): Likewise.
38733         * math/w_jnl.c (__jnl, __ynl): Likewise.
38734         * math/w_lgammal.c (__lgammal): Likewise.
38735         * math/w_log10l.c (__log10l): Likewise.
38736         * math/w_log2l.c (__log2l): Likewise.
38737         * math/w_logl.c (__logl): Likewise.
38738         * math/w_powl.c (__powl): Likewise.
38739         * math/w_remainderl.c (__remainderl): Likewise.
38740         * math/w_scalbl.c (sysv_scalbl): Likewise.
38741         * math/w_sinhl.c (__sinhl): Likewise.
38742         * math/w_sqrtl.c (__sqrtl): Likewise.
38743         * math/w_tgammal.c (__tgammal): Likewise.
38744         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
38745         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
38746         * math/libm-test.inc (acos_test): Add more tests.
38747         (acosh_test): Likewise.
38748         (asin_test): Likewise.
38749         (atanh_test): Likewise.
38750         (exp_test): Likewise.
38751         (exp10_test): Likewise.
38752         (exp2_test): Likewise.
38753         (expm1_test): Likewise.
38754         (lgamma_test): Likewise.
38755         (log_test): Likewise.
38756         (log10_test): Likewise.
38757         (log1p_test): Likewise.
38758         (log2_test): Likewise.
38759         (pow_test): Do not allow some spurious overflow exceptions.
38760         (sqrt_test): Add more tests.
38761         (tgamma_test): Likewise.
38762         (y0_test): Likewise.
38763         (y1_test): Likewise.
38764         (yn_test): Likewise.
38765
38766 2012-03-27  Anton Blanchard  <anton@samba.org>
38767
38768         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
38769         MAP_HUGETLB.
38770         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38771         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38772         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38773
38774 2012-03-27  David S. Miller  <davem@davemloft.net>
38775
38776         * conform/Makefile: Run run-conformtest.sh using $(BASH).
38777
38778         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
38779         have-as-vis3 check.
38780
38781 2012-03-27  Andreas Jaeger  <aj@suse.de>
38782
38783         * sysdeps/x86_64/elf/configure.in: Moved to ...
38784         * sysdeps/x86_64/configure.in: ... here.
38785         * sysdeps/x86_64/elf/start.S: Moved to ...
38786         * sysdeps/x86_64/start.S: ... here.
38787         * sysdeps/x86_64/elf/configure: Delete.
38788
38789         * sysdeps/x86_64/configure.in: Merge contents from
38790         sysdeps/i386/configure.in (without i686 check).
38791
38792         * sysdeps/i386/elf/Versions: Merge into ...
38793         * sysdeps/i386/Versions: ... this.
38794         * sysdeps/i386/elf/Versions: Delete file.
38795         * sysdeps/i386/elf/start.S: Moved to ...
38796         * sysdeps/i386/start.S: ...here.
38797         * sysdeps/i386/elf/configure.in: Merge into...
38798         * sysdeps/i386/configure.in: ...here.
38799         * sysdeps/i386/elf/configure.in: Delete file.
38800         * sysdeps/i386/elf/configure: Delete file.
38801
38802         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38803         * debug/backtracesyms.c: ... here.
38804         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38805         * debug/backtracesymsfd.c: ... here.
38806         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38807         * sysdeps/generic/ifunc-sel.h: ... here.
38808
38809         * sysdeps/unix/i386/start.c: Delete file.
38810         * sysdeps/unix/sparc/start.c: Delete file.
38811         * sysdeps/unix/start.c: Delete file.
38812
38813         * sysdeps/sh/elf/configure.in: Moved to ...
38814         * sysdeps/sh/configure.in: ... here.
38815         * sysdeps/sh/elf/start.S: Moved to ...
38816         * sysdeps/sh/start.S: ... here.
38817         * sysdeps/sh/elf/configure: Delete file.
38818
38819         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38820         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38821         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38822         * sysdeps/powerpc/powerpc64/entry.h: ... here.
38823         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38824         * sysdeps/powerpc/powerpc64/start.S: here.
38825         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38826         * sysdeps/powerpc/powerpc64/Makefile: ... this.
38827         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38828         * sysdeps/powerpc/powerpc64/configure.in: ... this.
38829         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38830
38831         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38832         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38833         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38834         * sysdeps/powerpc/powerpc32/start.S: ... here.
38835         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38836         * sysdeps/powerpc/powerpc32/configure.in: ... this.
38837         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38838
38839         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38840         * sysdeps/powerpc/ifunc-sel.h: ... here.
38841         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38842         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38843
38844         * sysdeps/sparc/elf/configure.in: Moved to ...
38845         * sysdeps/sparc/configure.in: ... here.
38846         * sysdeps/sparc/elf/configure: Delete file.
38847         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38848         * sysdeps/sparc/sparc32/start.S: ... here.
38849         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38850         * sysdeps/sparc/sparc64/start.S: ... here.
38851         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38852         * sysdeps/sparc/sparc32/Makefile: ... this.
38853         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38854         * sysdeps/sparc/sparc64/Makefile: ... this.
38855
38856         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
38857         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
38858         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
38859         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
38860         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
38861         * sysdeps/s390/s390-32/setjmp.S: ... here.
38862         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
38863         * sysdeps/s390/s390-32/configure.in: ... here.
38864         * sysdeps/s390/s390-32/elf/configure: Delete file.
38865         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
38866         * sysdeps/s390/s390-32/start.S: ... here.
38867
38868         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
38869         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
38870         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
38871         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
38872         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
38873         * sysdeps/s390/s390-64/setjmp.S: ... here.
38874         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
38875         * sysdeps/s390/s390-64/configure.in: ... here
38876         * sysdeps/s390/s390-64/elf/configure: Delete file.
38877         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
38878         * sysdeps/s390/s390-64/start.S: ... here.
38879         * sysdeps/s390/s390-64/elf/configure: Delete.
38880
38881         * configure.in: Remove support for elf directories in sysdeps.
38882
38883         * configure: Regenerated.
38884         * sysdeps/i386/configure: Regenerated.
38885         * sysdeps/powerpc/powerpc32/configure: Regenerated.
38886         * sysdeps/powerpc/powerpc64/configure: Regenerated.
38887         * sysdeps/s390/s390-32/configure: Regenerated.
38888         * sysdeps/s390/s390-64/configure: Regenerated.
38889         * sysdeps/sh/configure: Regenerated.
38890         * sysdeps/sparc/configure: Regenerated.
38891         * sysdeps/x86_64/configure: Regenerated.
38892
38893 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
38894
38895         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38896
38897         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
38898         denormal result into account.
38899
38900 2012-03-25  Roland McGrath  <roland@hack.frob.com>
38901
38902         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
38903         Reported by Allan McRae <allan@archlinux.org>.
38904
38905 2012-03-23  Jeff Law  <law@redhat.com>
38906
38907         * nss/getnssent.c (__nss_getent): Fix typo.
38908
38909 2012-03-23  David S. Miller  <davem@davemloft.net>
38910
38911         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38912
38913 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
38914
38915         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
38916         to pad to uint64_t for each field.
38917         (dl_tls_index): Replace unsigned long with uint64_t.
38918
38919 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
38920         Paul Pluzhnikov  <ppluzhnikov@google.com>
38921
38922         [BZ #6528]
38923         * grp/Makefile (otherlibs): Don't set it.
38924         * inet/Makefile (otherlibs): Likewise.
38925         * login/Makefile (otherlibs): Likewise.
38926         * nscd/Makefile (otherlibs): Likewise.
38927         * posix/Makefile (otherlibs): Likewise.
38928         * pwd/Makefile (otherlibs): Likewise.
38929         * rt/Makefile (otherlibs): Likewise.
38930         * sunrpc/Makefile (otherlibs): Likewise.
38931         * nss/Makefile (otherlibs): Likewise.
38932         Add libnss_files to routines and static-only-routines.
38933         ($(objpfx)getent): Remove rule.
38934         * resolv/Makefile: Add libnss_dns and libresolv to routines and
38935         static-only-routines.
38936
38937 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
38938
38939         [BZ #13892]
38940         * math/s_cexp.c: Include <float.h>.
38941         (__cexp): Handle exp result overflowing not necessarily
38942         overflowing both real and imaginary parts of result.
38943         * math/s_cexpf.c: Likewise.
38944         * math/s_cexpl.c: Likewise.
38945         * math/libm-test.inc (cexp_test): Add more tests.
38946         * sysdeps/i386/fpu/libm-test-ulps: Update.
38947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38948
38949 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38950
38951         * include/link.h (ELFW): New macro.
38952         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
38953         Replace ELF64_R_TYPE with ELFW(R_TYPE).
38954
38955 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38956
38957         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
38958         with uint64_t.
38959
38960 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38961
38962         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
38963         declaration.
38964         (struct La_x32_retval): Likewise.
38965
38966 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
38967
38968         * sysdeps/x86_64/preconfigure.in: New file.
38969         * sysdeps/x86_64/preconfigure: New generated file.
38970
38971 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
38972
38973         [BZ #13824]
38974         * math/e_exp2l.c: Include <float.h>.
38975         (__ieee754_exp2l): Handle overflow and underflow cases
38976         separately.  Only pass fractional part of argument to
38977         __ieee754_expl.
38978         * math/libm-test.inc (exp2_test): Add more tests.
38979
38980         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
38981         negating x to take absolute value.
38982         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
38983         Likewise.
38984         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
38985         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
38986         Likewise.
38987         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
38988         computing low part if x was negated.
38989         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
38990
38991 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
38992
38993         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
38994         la_x32_gnu_pltexit.
38995         (pltexit): Cast int_retval to ptrdiff_t.
38996         * elf/tst-auditmod3b.c: Likewise.
38997         * elf/tst-auditmod4b.c: Likewise.
38998         * elf/tst-auditmod5b.c: Likewise.
38999         * elf/tst-auditmod6b.c: Likewise.
39000         * elf/tst-auditmod6c.c: Likewise.
39001         * elf/tst-auditmod7b.c: Likewise.
39002
39003         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39004         and x32_gnu_pltexit.
39005
39006         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
39007         __ELF_NATIVE_CLASS.
39008         (La_x32_regs): New macro.
39009         (La_x32_retval): Likewise.
39010         (la_x32_gnu_pltenter): New function prototype.
39011         (la_x32_gnu_pltexit): Likewise.
39012
39013 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
39014
39015         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39016         exponent.
39017
39018         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39019
39020         * configure.in (libc_cv_cc_nofma): Check for option to disable
39021         generation of FMA instructions.
39022         * configure: Regenerate.
39023         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
39024         * sysdeps/ieee754/dbl-64/Makefile: New file.
39025         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
39026         Remove brandred-fma4.
39027         (CFLAGS-brandred-fma4.c): Remove.
39028         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39029         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
39030         define.
39031         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
39032         define.
39033
39034 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39035
39036         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39037         LLONG_MAX != LONG_MAX.
39038         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39039         (_fitoa_word): Likewise.
39040         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
39041         LLONG_MAX != LONG_MAX.
39042         * stdio-common/_itowa.h: Include <_itoa.h>.
39043         (_itowa_word): Use _ITOA_WORD_TYPE on value.
39044         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
39045         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
39046         only if not defined.
39047         (_ITOA_WORD_TYPE): Likewise.
39048         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39049         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
39050
39051 2012-03-21  David S. Miller  <davem@davemloft.net>
39052
39053         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39054
39055 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
39056
39057         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39058         of x86_64 when setting libc_cv_slibdir, libdir and
39059         libc_cv_localedir.
39060         * sysdeps/unix/sysv/linux/configure: Regenerated.
39061
39062 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39063
39064         * manual/lang.texi (Old Varargs): Remove section.
39065         (How Variadic): Update menu.
39066         (va_start): Do not mention varargs.h.
39067
39068 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39069             Joseph Myers  <joseph@codesourcery.com>
39070
39071         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39072         link test.
39073         * configure: Regenerated.
39074
39075 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
39076
39077         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39078         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39079         conformtest.pl
39080
39081 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39082
39083         * NOTES: Remove.
39084         * Makefile (files-for-dist): Remove NOTES.
39085         (NOTES): Remove rule.
39086         * README: Don't refer to NOTES.
39087         * manual/creature.texi: Don't include macros.texi.
39088         * manual/intro.texi (creature.texi): Remove comment referring to
39089         NOTES.
39090
39091         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39092         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39093         * configure: Regenerated.
39094         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39095         LIBC_TRY_CC_OPTION.
39096         (libc_cv_as_i686): Likewise.
39097         (libc_cv_cc_avx): Likewise.
39098         (libc_cv_cc_sse2avx): Likewise.
39099         (libc_cv_cc_fma4): Likewise.
39100         (libc_cv_cc_novzeroupper): Likewise.
39101         * sysdeps/i386/configure: Regenerated.
39102
39103         [BZ #13883]
39104         * sysdeps/i386/fpu/s_cexp.S: Remove.
39105         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39106         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39107         * math/libm-test.inc (cexp_test): Add more tests.
39108         * sysdeps/i386/fpu/libm-test-ulps: Update.
39109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39110
39111 2012-03-21  Allan McRae  <allan@archlinux.org>
39112
39113         * timezone/Makefile: Do not install iso3166.tab and zone.tab
39114
39115 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
39116
39117         [BZ #13871]
39118         * math/w_exp2.c: Do not include <float.h>.
39119         (o_threshold, u_threshold): Remove.
39120         (__exp2): Calculate result before checking finiteness and calling
39121         __kernel_standard.
39122         * math/w_exp2f.c: Likewise.
39123         * math/w_exp2l.c: Likewise.
39124         * math/libm-test.inc (exp2_test): Require overflow exception for
39125         1e6 input.
39126
39127         [BZ #3866]
39128         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39129         range of signed 64-bit integers before using fistpll.  Remove
39130         checks for whether integers fit in mantissa bits.
39131         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39132         the range of signed 32-bit integers before using fistpl.  Remove
39133         checks for whether integers fit in mantissa bits.
39134         * sysdeps/i386/fpu/e_powl.S (p64): New object.
39135         (__ieee754_powl): Test for y outside the range of signed 64-bit
39136         integers before using fistpll.  Reduce 64-bit values to 63-bit
39137         ones as needed.
39138         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39139         divide-by-zero is raised for zero to large negative powers.
39140         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39141         (__ieee754_powl): Test for y outside the range of signed 64-bit
39142         integers before using fistpll.  Reduce 64-bit values to 63-bit
39143         ones as needed.
39144         * math/libm-test.inc (pow_test): Add more tests.
39145
39146 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39147
39148         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39149         <stdio-common/_itoa.h>.
39150         * debug/segfault.c: Likewise.
39151         * elf/dl-cache.c: Likewise.
39152         * elf/dl-minimal.c: Likewise.
39153         * elf/dl-misc.c: Likewise.
39154         * elf/dl-sysdep.c: Likewise.
39155         * elf/dl-version.c: Likewise.
39156         * elf/rtld.c: Likewise.
39157         * hurd/hurdsock.c: Likewise.
39158         * hurd/lookup-retry.c: Likewise.
39159         * malloc/malloc.c: Likewise.
39160         * malloc/mtrace.c: Likewise.
39161         * nscd/nscd_getgr_r.c: Likewise.
39162         * nscd/nscd_getpw_r.c: Likewise.
39163         * nscd/nscd_getserv_r.c: Likewise.
39164         * posix/getopt_init.c: Likewise.
39165         * posix/wordexp.c: Likewise.
39166         * stdio-common/_itoa.c: Likewise.
39167         * stdio-common/printf_fphex.c: Likewise.
39168         * stdio-common/vfprintf.c: Likewise.
39169         * string/_strerror.c: Likewise.
39170         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39171         * sysdeps/i386/i686/hp-timing.h: Likewise.
39172         * sysdeps/mach/_strerror.c: Likewise.
39173         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39174         * sysdeps/mach/hurd/sethostid.c: Likewise.
39175         * sysdeps/mach/hurd/xmknodat.c: Likewise.
39176         * sysdeps/mach/xpg-strerror.c: Likewise.
39177         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39178         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39179         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39180         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39181         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39182         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39183         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39184         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39185         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39186         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39187         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39188         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39189         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39190         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39191         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39192         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39193         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39194         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39195         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39196         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39197         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
39198
39199         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
39200
39201         * stdio-common/_itoa.h: Moved to ...
39202         * sysdeps/generic/_itoa.h: Here.
39203
39204         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
39205
39206         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
39207         instead of "_itoa.h" and "_itowa.h".
39208         * stdio-common/vfprintf.: Likewise.
39209
39210 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39211
39212         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39213         <bits/wordsize.h>.
39214         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39215         (__signbit): Likwise.
39216         (llrintf): Likwise.
39217         (llrint): Likwise.
39218
39219 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
39220
39221         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39222         __WORDSIZE != 64.
39223
39224 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
39225
39226         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39227         OVERFLOW_EXCEPTION_OK.
39228         * math/libm-test.inc ("Philosophy"): Update comment about
39229         exception testing.
39230         (OVERFLOW_EXCEPTION): Define.
39231         (OVERFLOW_EXCEPTION_OK): Likewise.
39232         (INVALID_EXCEPTION_OK): Renumber.
39233         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39234         (IGNORE_ZERO_INF_SIGN): Likewise.
39235         (test_exceptions): Handle FE_OVERFLOW.
39236         (exp10_test): Expect overflow exceptions.
39237         (exp2_test): Likewise.
39238         (expm1_test): Likewise.
39239         (nextafter_test): Likewise.
39240         (pow_test): Likewise.
39241         (scalbn_test): Likewise.
39242         (scalbln_test): Likewise.
39243
39244 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39245
39246         * sysdeps/x86_64/bits/atomic.h
39247         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39248         64bit integer.
39249         (atomic_exchange_acq): Likewise.
39250         (__arch_exchange_and_add_body): Likewise.
39251         (__arch_add_body): Likewise.
39252         (atomic_add_negative): Likewise.
39253         (atomic_add_zero): Likewise.
39254
39255 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39256
39257         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
39258         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39259
39260 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39261
39262         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39263         Check __x86_64__ instead of __WORDSIZE.
39264
39265 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39266
39267         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39268
39269 2012-03-19  David S. Miller  <davem@davemloft.net>
39270
39271         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39272
39273         * sysdeps/sparc/fpu/fenv_private.h: New file.
39274         * sysdeps/sparc/fpu/math_private.h: Use it.
39275         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39276         Remove.
39277         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
39278         (libc_feholdexcept_setroundl): Remove.
39279         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39280         Remove.
39281         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39282         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39283
39284 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39285
39286         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39287         int64_t instead of long int.
39288         (INSERT_WORDS64): Likwise.
39289
39290 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
39291
39292         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39293         _Unwind_GetCFA return to _Unwind_Ptr first.
39294
39295 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
39296
39297         [BZ #13629]
39298         * math/s_clog.c: Include <float.h>.
39299         (__clog): Scale large or subnormal inputs.
39300         * math/s_clogf.c: Likewise.
39301         * math/s_clogl.c: Likewise.
39302         * math/s_clog10.c: Include <float.h>.
39303         (M_LOG10_2): Define.
39304         (__clog10): Scale large or subnormal inputs.
39305         * math/s_clog10f.c: Likewise.
39306         * math/s_clog10l.c: Likewise.
39307         * math/libm-test.inc (clog_test): Add more tests.
39308         (clog10_test): Likewise.
39309         * sysdeps/i386/fpu/libm-test-ulps: Update.
39310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39311
39312         [BZ #11451]
39313         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39314         x and y.
39315         * math/libm-test.inc (atan2_test): Add another test.
39316
39317         * Makerules (common-objdir-compile): Remove.
39318         * sysdeps/unix/Makefile (config-generated): Do not add
39319         $(unix-generated) to variable.
39320         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39321         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
39322         Remove rule.
39323         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
39324         Likewise.
39325         [generic bits/local_lim.h] (before-compile): Do not append to
39326         variable.
39327         [generic bits/local_lim.h] (common-generated): Likewise.
39328         [generic sys/param.h] (before-compile): Do not append to variable.
39329         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
39330         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
39331         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
39332         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
39333         include.
39334         [generic sys/param.h] (sys/param.h-includes): Remove variable.
39335         [generic sys/param.h] (sys/param.h-includes): Remove rule.
39336         [generic sys/param.h] ($(addprefix
39337         $(common-objpfx),$(sys/param.h-includes))): Likewise.
39338         [generic sys/param.h] (common-generated): Do not append to
39339         variable.
39340         [generic sys/param.h] (sysdep_headers): Likewise.
39341         [generic bits/errno.h] (before-compile): Do not append to
39342         variable.
39343         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
39344         rule.
39345         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
39346         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
39347         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
39348         [generic bits/errno.h] (common-generated): Do not append to
39349         variable.
39350         [generic bits/ioctls.h] (before-compile): Do not append to
39351         variable.
39352         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
39353         rule.
39354         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
39355         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
39356         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
39357         rule.
39358         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
39359         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
39360         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
39361         [generic bits/ioctls.h] (common-generated): Do not append to
39362         variable.
39363         [generic sys/syscall.h] (syscall.h): Remove variable.
39364         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
39365         rule.
39366         [generic sys/syscall.h] (before-compile): Do not append to
39367         variable.
39368         [generic sys/syscall.h] (common-generated): Likewise.
39369         * sysdeps/unix/errnos-tmpl.c: Remove file.
39370         * sysdeps/unix/errnos.awk: Likewise.
39371         * sysdeps/unix/ioctls-tmpl.c: Likewise.
39372         * sysdeps/unix/ioctls.awk: Likewise.
39373         * sysdeps/unix/mk-local_lim.c: Likewise.
39374         * sysdeps/unix/snarf-ioctls: Likewise.
39375
39376 2012-03-19  Richard Henderson  <rth@twiddle.net>
39377
39378         * sysdeps/i386/fpu/fenv_private.h: New file.
39379         * sysdeps/i386/fpu/math_private.h: Use it.
39380         (math_opt_barrier, math_force_eval): Remove.
39381         (libc_feholdexcept_setround_53bit): Remove.
39382         (libc_feupdateenv_53bit): Remove.
39383         * sysdeps/x86_64/fpu/math_private.h: Likewise.
39384         (math_opt_barrier, math_force_eval): Remove.
39385         (libc_feholdexcept): Remove.
39386         (libc_feholdexcept_setround): Remove.
39387         (libc_fetestexcept, libc_fesetenv): Remove.
39388         (libc_feupdateenv_test): Remove.
39389         (libc_feupdateenv, libc_feholdsetround): Remove.
39390         (libc_feresetround): Remove.
39391
39392         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
39393         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39394
39395         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
39396         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
39397         (libc_feupdateenv_testl): New.
39398         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
39399         (libc_feupdateenv_testf): New.
39400         (libc_feupdateenv): Use libc_feupdateenv_test.
39401         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39402         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39403
39404         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39405         (libc_feholdsetroundf, libc_feholdsetroundl): New.
39406         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39407         (libc_feresetround_noex): New.
39408         (libc_feresetround_noexf): New.
39409         (libc_feresetround_noexl): New.
39410         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39411         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39412         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39413         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39414         SET_RESTORE_ROUND.
39415         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39416         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39417         (__cos): Likewise.
39418         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39419         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39420         SET_RESTORE_ROUND_NOEX.
39421         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39422         SET_RESTORE_ROUND_NOEXF.
39423         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39424         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39425         (libc_feholdsetroundf): New.
39426         (libc_feresetround, libc_feresetroundf): New.
39427
39428         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39429         (libc_feholdexcept_setround_53bit): Convert from macro to function.
39430         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
39431
39432         * sysdeps/generic/math_private.h: Include <fenv.h>.
39433         (default_libc_feholdexcept): New.
39434         (default_libc_feholdexcept_setround): New.
39435         (default_libc_fesetenv, default_libc_feupdateenv): New.
39436         (libc_feholdexcept): Only define if undefined.
39437         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39438         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39439         (libc_feholdexcept_setroundl): Likewise.
39440         (libc_feholdexcept_setround_53bit): Likewise.
39441         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39442         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39443         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39444         (libc_feupdateenv_53bit): Likewise.
39445         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39446         (libc_feholdexcept): Convert from macro to inline function.
39447         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39448         (libc_fesetenv, libc_feupdateenv): Likewise.
39449
39450         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39451         not previously defined.
39452         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39453         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39454         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39455         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39456         * sysdeps/ieee754/flt-32/math_private.h: New file.
39457         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39458         math_private.h below SET_FLOAT_WORD.
39459         (__isnan, __isinf_ns, __finite): Remove.
39460         (__isnanf, __isinf_nsf, __finitef): Remove.
39461
39462 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
39463
39464         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39465
39466 2012-03-17  David S. Miller  <davem@davemloft.net>
39467
39468         [BZ #6471]
39469         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39470         for 2.16.
39471
39472 2012-03-16  David S. Miller  <davem@davemloft.net>
39473
39474         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39475         warnings.
39476
39477         [BZ #6471]
39478         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39479         properly.
39480         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39481         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39482         sysdep_routines when subdir is sysvipc.
39483         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39484         __getshmlba helper.
39485
39486         * sysdeps/sparc/fpu/libm-test/ulps: Update.
39487
39488 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39489
39490         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39491         [__LP64__].
39492
39493 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39494
39495         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39496         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39497         (__lround): Renamed to ...
39498         (__llround): This.  Replace long int with long long int.
39499         Define lround functions as aliases of llround functions.
39500         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39501
39502 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39503
39504         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39505         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
39506         adresses to uintptr_t.  Replace "long int" and "unsigned long
39507         int" with "greg_t" on va_arg.
39508
39509 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39510
39511         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39512         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39513
39514         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39515         Move e_machine check before EI_CLASS check.  Handle x32
39516         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39517         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39518         SKIP_EM_IA_64 and include
39519         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39520
39521         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39522         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39523         (add_system_dir): New macro.
39524
39525         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39526         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39527
39528 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
39529
39530         [BZ #2551]
39531         [BZ #2552]
39532         [BZ #2553]
39533         [BZ #2554]
39534         [BZ #2562]
39535         [BZ #2563]
39536         [BZ #2565]
39537         [BZ #2566]
39538         [BZ #2576]
39539         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
39540         (y0): Likewise.
39541         * math/w_j0f.c (j0f): Likewise.
39542         (y0f): Likewise.
39543         * math/w_j0l.c (__j0l): Likewise.
39544         (__y0l): Likewise.
39545         * math/w_j1.c (j1): Likewise.
39546         (y1): Likewise.
39547         * math/w_j1f.c (j1f): Likewise.
39548         (y1f): Likewise.
39549         * math/w_j1l.c (__j1l): Likewise.
39550         (__y1l): Likewise.
39551         * math/w_jn.c (jn): Likewise.
39552         (yn): Likewise.
39553         * math/w_jnf.c (jnf): Likewise.
39554         (ynf): Likewise.
39555         * math/w_jnl.c (__jnl): Likewise.
39556         (__ynl): Likewise.
39557         * math/libm-test.inc (j0_test): Add more tests.
39558         (j1_test): Likewise.
39559         (jn_test): Likewise.  Add trailing semicolon to existing test.
39560         (y0_test): Likewise.
39561         (y1_test): Likewise.
39562         * sysdeps/i386/fpu/libm-test-ulps: Update.
39563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39564
39565         [BZ #13851]
39566         [BZ #13854]
39567         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
39568         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
39569         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
39570         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
39571         (__tanl): Set errno for infinite argument.
39572         * sysdeps/i386/fpu/mptan.c: Remove.
39573         * sysdeps/i386/fpu/s_tan.S: Likewise.
39574         * sysdeps/i386/fpu/s_tanl.S: Likewise.
39575         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
39576         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
39577         * math/libm-test.inc (tan_test): Add more tests and enable more
39578         tests for double and long double.
39579         * sysdeps/i386/fpu/libm-test-ulps: Update.
39580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39581
39582 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
39583
39584         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
39585         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
39586
39587 2012-03-16  Roland McGrath  <roland@hack.frob.com>
39588
39589         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
39590         * configure.in: Use it for both main tree and add-ons.
39591         * configure: Regenerated.
39592
39593 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39594
39595         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
39596
39597 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
39598
39599         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
39600         in comment.
39601
39602         [BZ #13851]
39603         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
39604         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
39605         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
39606         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
39607         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
39608         infinite argument.
39609         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
39610         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
39611         != 0 for prec == 2.
39612         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
39613         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
39614         * sysdeps/i386/fpu/s_cosl.S: Likewise.
39615         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
39616         * sysdeps/i386/fpu/s_sinl.S: Likewise.
39617         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
39618         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
39619         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
39620         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
39621         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
39622         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
39623         * math/libm-test.inc (cos_test): Add more tests and enable more
39624         tests for long double.
39625         (sin_test): Likewise.
39626         (sincos_test): Likewise.
39627         * sysdeps/i386/fpu/libm-test-ulps: Update.
39628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39629
39630 2012-03-16  David S. Miller  <davem@davemloft.net>
39631
39632         * sysdeps/sparc/fpu/math_private.h: New file.
39633
39634 2012-03-15  David S. Miller  <davem@davemloft.net>
39635
39636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
39637         file.
39638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
39639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
39640         file.
39641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
39642         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
39643         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
39644         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
39645         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
39646         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
39647         sysdep routines.
39648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39649
39650         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
39651         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
39652
39653         * sysdeps/sparc/sparc-ifunc.h: New file.
39654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
39655         sparc-ifunc.h
39656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
39657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
39658         Likewise.
39659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
39660         Likewise.
39661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
39662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
39663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
39664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39665         Likewise.
39666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
39668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
39670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
39671         Likewise.
39672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
39673         Likewise.
39674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
39676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
39677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
39678         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39679         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39680         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
39681         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
39682         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39683         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39684         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
39685         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
39686         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
39687         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
39688         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
39689         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
39690         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
39691         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
39692         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
39693         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
39694         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
39695         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
39696         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
39697         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
39698
39699 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
39700
39701         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
39702         scaling.
39703         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39704
39705 2012-03-15  Andreas Jaeger  <aj@suse.de>
39706
39707         [BZ #13852]
39708         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
39709         ieee754/flt-32 implementation for sin, cos and sincos.
39710         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
39711         * sysdeps/i386/fpu/s_cosf.S: Likewise.
39712         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
39713         * sysdeps/i386/fpu/s_sinf.S: Likewise.
39714         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
39715         ieee754/flt-32 implementation for tan.
39716
39717         * math/libm-test.inc (cos_test): Enable some large input tests for
39718         float as well
39719         (sin_test): Likewise.
39720         (sincos_test): Likewise.
39721         (tan_test): Add tests for large input.
39722
39723         * sysdeps/i386/fpu/libm-test-ulps: Update.
39724
39725 2012-03-15  Andreas Jaeger  <aj@suse.de>
39726
39727         [BZ #13658]
39728         * math/libm-test.inc (cos_test): Add more test cases.
39729         (sin_test): Likewise.
39730         (sincos_test): Likewise.
39731
39732 2012-03-15  Andreas Jaeger  <aj@suse.de>
39733
39734         [BZ #13837]
39735         * math/libm-test.inc (cos_test): Add a test case for large input
39736         value.
39737         (sin_test): Likewise.
39738         (sincos_test): Likewise.
39739
39740 2012-03-15  Andreas Jaeger  <aj@suse.de>
39741             Joseph Myers  <joseph@codesourcery.com>
39742
39743         [BZ #13658]
39744         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
39745         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
39746         * sysdeps/i386/fpu/branred.c: Likewise.
39747         * sysdeps/i386/fpu/dosincos.c: Likewise.
39748         * sysdeps/i386/fpu/mpa.c: Likewise.
39749         * sysdeps/i386/fpu/s_cos.S: Likewise.
39750         * sysdeps/i386/fpu/s_sin.S: Likewise.
39751         * sysdeps/i386/fpu/s_sincos.S: Likewise.
39752         * sysdeps/i386/fpu/sincos32.c: Likewise.
39753
39754         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
39755         Define.
39756         (libc_feupdateenv_53bit): Define.
39757         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
39758         Define.
39759         (libc_feupdateenv_53bit): Define.
39760
39761         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
39762         53 bit (without extend i386 double precision).
39763
39764         * math/libm-test.inc (sincos_test): Add tests for large input.
39765         (sin): Likewise.
39766         (cos): Likewise.
39767
39768         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39769
39770 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
39771
39772         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39773
39774 2012-03-15  David S. Miller  <davem@davemloft.net>
39775
39776         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
39777         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
39778         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
39779         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
39780         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
39781         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
39782         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
39783         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
39784         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
39785         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
39786         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
39787         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
39788         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
39789         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
39790         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
39791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
39792         file.
39793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
39794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39795         file.
39796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
39797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39798         file.
39799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
39800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39801         file.
39802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39803         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39804         fmin/fmax sysdep routines.
39805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39806
39807 2012-03-14  David S. Miller  <davem@davemloft.net>
39808
39809         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39810         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39811         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39812         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39813         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39814         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39815         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39816         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39817         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39818         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39819         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39820         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39821         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39822         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39823         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39824         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39825         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39826         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39827         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39828         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39829         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39830         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39831         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39832         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39833         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39834         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39835         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39836         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
39837         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39838         routines.
39839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39840         file.
39841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
39842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39843         file.
39844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
39845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39846         file.
39847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
39848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39849         file.
39850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
39851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39852         file.
39853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
39854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39855         file.
39856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
39857         file.
39858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
39859         file.
39860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
39861         file.
39862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
39863         New file.
39864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
39865         file.
39866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
39867         file.
39868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
39869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
39870         file.
39871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
39872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
39873         file.
39874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
39875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
39876         file.
39877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
39878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
39879         VIS3 routines.
39880
39881         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
39882         New file.
39883
39884         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39885
39886         * sysdeps/sparc/configure.in: New file.
39887         * sysdeps/sparc/configure: Generate.
39888         * configure.in (libc_cv_sparc_as_vis3): Substitute.
39889         * configure: Regenerate.
39890         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
39891         * config.make.in (have-as-vis3): New.
39892         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
39893         available use -Av9d instead of -Av9a.
39894         * sysdeps/sparc/sparc64/Makefile: Likewise.
39895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
39896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
39897         New file.
39898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
39899         file.
39900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
39901         New file.
39902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
39903         file.
39904         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
39905         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
39906         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
39907         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
39908         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
39909
39910         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
39911         fzeros/fnegs to load 0x80000000 into a float register instead of
39912         using the stack.
39913         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
39914
39915 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
39916
39917         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39918         bits/syscall.h.
39919         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
39920         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
39921         ($(inst_includedir)/bits/syscall.h): Remove rule.
39922         ($(objpfx)bits/syscall.d): Include instead of
39923         $(objpfx)syscall-list.d.
39924         (generated): Change syscall-list.h and syscall-list.d to
39925         bits/syscall.h and bits/syscall.d.
39926
39927 2012-03-14  Roland McGrath  <roland@hack.frob.com>
39928
39929         [BZ #13846]
39930         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
39931
39932 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
39933
39934         [BZ #13841]
39935         * math/s_csqrt.c: Include <float.h>.
39936         (__csqrt): Scale large or subnormal inputs.
39937         * math/s_csqrtf.c: Likewise.
39938         * math/s_csqrtl.c: Likewise.
39939         * math/libm-test.inc (csqrt_test): Add more tests.
39940         * sysdeps/i386/fpu/libm-test-ulps: Update.
39941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39942
39943         [BZ #13840]
39944         * math/libm-test.inc (hypot_test): Add more tests.
39945
39946 2012-03-13  David S. Miller  <davem@davemloft.net>
39947
39948         [BZ #13840]
39949         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
39950         double-precision for the calculation instead of scaling.
39951
39952 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
39953
39954         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
39955         manipulate bits before adding and subtracting TWO52[sx].
39956         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
39957         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
39958         Likewise.
39959         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
39960
39961 2012-03-13  David S. Miller  <davem@davemloft.net>
39962
39963         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
39964         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
39965         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
39966         rtld-global-offsets.h
39967         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39968
39969         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
39970         large parameters.
39971
39972         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
39973
39974         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
39975         'err' in the ifdef scope in which it is actually used.
39976
39977         * nss/nss_db/db-init.c: Include string.h
39978
39979 2012-03-12  David S. Miller  <davem@davemloft.net>
39980
39981         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39982         masking out of the most significant byte of random value used.
39983         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39984         Fix coding style in previous change.
39985
39986         * sysdeps/unix/sysv/linux/kernel-features.h
39987         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
39988         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
39989         expression.
39990         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
39991         later.
39992
39993 2012-03-11  David S. Miller  <davem@davemloft.net>
39994
39995         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39996         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
39997         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
39998         for 'resultvar' otherwise things get truncated on 64-bit.
39999
40000         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40001         Fix masking out of the most significant byte of random value used.
40002
40003         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40004
40005 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
40006
40007         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40008
40009 2012-03-09  David S. Miller  <davem@davemloft.net>
40010
40011         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40012         variables with appropriate CPP guards.
40013         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40014         from the frame pointer, not the stack pointer.  Correct layout
40015         comments.  Fix test on resulting framesize and the management of
40016         the outregs buffer for pltexit.  Preserve floating point return
40017         values across _dl_call_pltexit call.
40018         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
40019         framesize and the management of the outregs buffer for pltexit.
40020         Preserve floating point return values across _dl_call_pltexit
40021         call.
40022         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
40023         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
40024         (la_sparc64_gnu_pltexit): New functions.
40025         (print_exit): Fix format string for return register value.
40026
40027 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
40028
40029         * sunrpc/Makefile (others): Add rpcgen.
40030         ($(objpfx)rpcgen): Remove special build rule and dependency on
40031         libc.
40032         * sunrpc/rpcgen.c: New file.
40033
40034 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
40035
40036         [BZ #13673]
40037         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40038         * stdio-common/bug-vfprintf-nargs.c: Likewise.
40039         * sysdeps/i386/crti.S: Likewise.
40040         * sysdeps/i386/crtn.S: Likewise.
40041         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
40042         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
40043         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
40044         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
40045         * sysdeps/sh/crti.S: Likewise.
40046         * sysdeps/sh/crtn.S: Likewise.
40047         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40048
40049         [BZ #13673]
40050         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
40051         with URL.
40052         * locale/programs/locfile-kw.gperf: Likewise.
40053         * locale/programs/charmap-kw.h: Regenerated.
40054         * locale/programs/locfile-kw.h: Likewise.
40055
40056         [BZ #13673]
40057         * intl/plural.y: Replace FSF snail mail address with URL.
40058         * intl/plural.c: Regenerated.
40059
40060 2012-03-09  Richard Henderson  <rth@twiddle.net>
40061
40062         * include/math_private.h: Remove file.
40063         * math/math_private.h: Move file ...
40064         * sysdeps/generic/math_private.h: ... here.
40065
40066         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40067         * sysdeps/powerpc/fpu/math_private.h: Likewise.
40068         * sysdeps/x86_64/fpu/math_private.h: Likewise.
40069
40070         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
40071         and <math_private.h>.
40072         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40073         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40074         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40075         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40076         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40077         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40078         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40079         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40080         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40081         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40082         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40083         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40084         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40085         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40086         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40087         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40088         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40089         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40090         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40091         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40092         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40093         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40094         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40095         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40096         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40097         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40098         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40099         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40100         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40101         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40102         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40103         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40104         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40105         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40106         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40107         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40108         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40109         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40110         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40111         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40112         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40113         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40114         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40115         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40116         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40117         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40118         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40119         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40120         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40121         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40122         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40123         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40124         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40125         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40126         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40127         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40128         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40129         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40130         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40131         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40132         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40133         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40134         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40135         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40136         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40137         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40138         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40139         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40140         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40141         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40142         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40143         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40144         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40145         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40146         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40147         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40148         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40149         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40150         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40151         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40152         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40153         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40154         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40155         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40156         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40157         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40158         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40159         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40160         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40161         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40162         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40163         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40164         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40165         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40166         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40167         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40168         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40169         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40170         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40171         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40172         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40173         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40174         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40175         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40176         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40177         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40178         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40179         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40180         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40181         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40182         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40183         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40184         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40185         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40186         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40187         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40188         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40189         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40190         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40191         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40192         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40193         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40194         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40195         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40196         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40197         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40198         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40199         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
40200         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40201         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
40202         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
40203         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40204         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40205         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
40206         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
40207         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40208         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40209         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40210         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40211         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40212         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40213         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40214         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40215         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40216         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40217         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40218         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40219         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40220         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40221         * sysdeps/ieee754/k_standard.c: Likewise.
40222         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40223         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40224         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40225         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40226         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40227         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40228         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40229         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40230         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40231         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40232         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40233         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40234         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40235         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40236         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40237         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40238         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40239         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40240         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40241         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40242         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40243         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40244         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40245         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40246         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40247         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40248         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40249         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40250         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40251         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40252         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40253         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40254         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40255         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40256         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40257         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40258         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40259         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40260         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40261         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40262         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40263         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40264         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40265         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40266         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40267         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40268         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40269         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40270         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40271         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40272         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40273         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40274         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40275         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40276         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40277         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40278         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40279         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40280         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40281         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40282         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40283         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40284         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40285         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40286         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40287         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40288         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40289         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40290         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40291         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40292         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40293         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40294         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40295         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40296         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40297         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40298         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40299         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40300         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40301         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40302         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40303         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40304         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40305         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40306         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40307         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40308         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40309         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40310         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40311         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40312         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40313         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40314         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40315         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40316         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40317         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40318         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40319         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40320         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40321         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
40322         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40323         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40324         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40325         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40326         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
40327         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40328         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40329         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40330         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
40331         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40332         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40333         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40334         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40335         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40336         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40337         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40338         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40339         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40340         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40341         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40342         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40343         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40344         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40345         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40346         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40347         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
40348         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40349         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40350         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40351         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40352         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40353         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40354         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40355         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40356         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40357         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40358         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
40359         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40360         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40361         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
40362         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
40363         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40364         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
40365         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
40366         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40367         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40368         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40369         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40370         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40371         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
40372         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40373         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40374         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40375         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40376         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
40377         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
40378         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40379         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40380         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40381         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40382         * sysdeps/ieee754/s_lib_version.c: Likewise.
40383         * sysdeps/ieee754/s_matherr.c: Likewise.
40384         * sysdeps/ieee754/s_signgam.c: Likewise.
40385         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40386         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40387         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
40388         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
40389         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
40390         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40391         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
40392         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
40393         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
40394         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
40395         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40396         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
40397         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40398         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40399         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
40400         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40401         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40402         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40403         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40404         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40405         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40406
40407 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
40408
40409         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40410         * sunrpc/rpc_main.c: Likewise.
40411         * sunrpc/rpc_svcout.c: Likewise.
40412
40413 2012-03-09  David S. Miller  <davem@davemloft.net>
40414
40415         * include/math_private.h: New file.
40416
40417 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
40418
40419         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40420         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40421         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40422         from <bits/socket_type.h>.
40423         (enum __socket_type): Don't define here.
40424         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40425         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40426         bits/socket_type.h.
40427
40428         [BZ #13566]
40429         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40430         checking __USE_GNU.
40431
40432         * Makerules ($(inst_includedir)/%.h): New rule.
40433         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40434         (install-others): Remove variable setting.
40435         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40436
40437 2012-03-08  Richard Henderson  <rth@twiddle.net>
40438
40439         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40440         from macro to inline function; merge with the
40441         !__LIBC_INTERNAL_MATH_INLINES version.
40442         (__ieee754_sqrtf): Likewise.
40443
40444         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40445         to inline function.
40446         (__rintf, __floor, __floorf): Likewise.
40447
40448         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40449         macro to inline function.
40450         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40451
40452         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40453         not <math/math_private.h>.
40454
40455 2012-03-08  David S. Miller  <davem@davemloft.net>
40456
40457         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40458         copyright year.
40459         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40460
40461 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
40462
40463         * resolv/gai_misc.c (handle_requests): Fix struct timespec
40464         normalization.
40465         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40466         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40467
40468 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
40469
40470         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
40471         be defined individually, they must be defined as a block.  Define
40472         S for printing a string instead of hidint the different by using a
40473         macro for adding the 'l'.
40474         * stdio-common/tst-fphex-wide.c: Adjust.
40475
40476 2012-03-07  Marek Polacek  <polacek@redhat.com>
40477
40478         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40479
40480 2012-03-08  Marek Polacek  <polacek@redhat.com>
40481
40482         [BZ #13806]
40483         * stdio-common/Makefile (tests): Add tst-fphex-wide.
40484         * stdio-common/tst-fphex.c: Define a few macros to make the
40485         test reusable.  Use them.
40486         * stdio-common/tst-fphex-wide.c: New file.
40487
40488 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
40489
40490         [BZ #6911]
40491         * manual/macros.texi (gnusystems): New macro.
40492         (nongnusystems): Likewise.
40493         (gnulinuxhurdsystems): Likewise.
40494         (gnuhurdsystems): Likewise..
40495         (gnulinuxsystems): Likewise.
40496         * manual/charset.texi: Use new macros or @theglibc{} to refer to
40497         variants of the GNU system, not "GNU system".
40498         * manual/conf.texi: Likewise.
40499         * manual/errno.texi: Likewise.  Update example of errno macro
40500         expansion.
40501         * manual/filesys.texi: Likewise.
40502         (getumask): Document as specific to GNU/Hurd.
40503         * manual/install.texi: Likewise.  Reword some references to
40504         GNU/Linux.
40505         * manual/intro.texi: Likewise.
40506         * manual/io.texi: Likewise.
40507         (File Name Portability): Detail which constraints are inapplicable
40508         to all GNU systems and which are only inapplicable to GNU/Hurd.
40509         * manual/job.texi: Likewise.
40510         * manual/llio.texi: Likewise.
40511         (O_NOCTTY): Document as present on GNU/Linux.
40512         * manual/maint.texi: Likewise.
40513         * manual/memory.texi: Likewise.
40514         * manual/pattern.texi: Likewise.
40515         * manual/pipe.texi: Likewise.
40516         * manual/process.texi: Likewise.
40517         * manual/resource.texi: Likewise.
40518         (RUSAGE_CHILDREN): Remove statement about specifying a particular
40519         child on GNU/Hurd.
40520         * manual/setjmp.texi: Likewise.
40521         * manual/signal.texi: Likewise.
40522         * manual/startup.texi: Likewise.
40523         * manual/stdio.texi: Likewise.
40524         * manual/terminal.texi: Likewise.
40525         (ONLCR): Document as POSIX.
40526         (OXTABS): Document availability on GNU/Linux as XTABS.
40527         (ONOEOT): Document availability separately from other bits.
40528         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40529         * manual/time.texi: Likewise.
40530         * manual/users.texi: Likewise.
40531         * INSTALL: Regenerated.
40532         * sysdeps/gnu/errlist.c: Regenerated.
40533
40534         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
40535         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
40536         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
40537         puts.
40538         * configure: Regenerated.
40539
40540 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
40541
40542         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
40543         default includes instead of AC_HEADER_CHECK.
40544         * sysdeps/i386/configure: Regenerated.
40545
40546         [BZ #10716]
40547         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
40548         * math/s_cacoshf.c (__cacoshf): Likewise.
40549         * math/s_cacoshl.c (__cacoshl): Likewise.
40550         * math/s_casinh.c (__casinh): Set signs of result from argument.
40551         * math/s_casinhf.c (__casinhf): Likewise.
40552         * math/s_casinhl.c (__casinhl): Likewise.
40553         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
40554         (casinh_test): Add more tests.
40555         * sysdeps/i386/fpu/libm-test-ulps: Update.
40556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40557
40558 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
40559
40560         * po/zh_TW.po: Update from translation team.
40561
40562         * login/Makefile (distribute): Remove variable.
40563         * catgets/Makefile: Likewise.
40564         * mach/Makefile: Likewise.
40565         * malloc/Makefile: Likewise.
40566         * misc/Makefile: Likewise.
40567         * iconv/Makefile: Likewise.
40568         * nscd/Makefile: Likewise.
40569         * hurd/Makefile: Likewise.
40570         * manual/Makefile: Likewise.
40571         * locale/Makefile: Likewise.
40572         * intl/Makefile: Likewise.
40573         * conform/Makefile: Likewise.
40574         * nss/Makefile: Likewise.
40575         * time/Makefile: Likewise.
40576         * soft-fp/Makefile: Likewise.
40577         * dirent/Makefile: Likewise.
40578         * gmon/Makefile: Likewise.
40579         * po/Makefile: Likewise.
40580         * rt/Makefile: Likewise.
40581         * socket/Makefile: Likewise.
40582         * math/Makefile: Likewise.
40583         * signal/Makefile: Likewise.
40584         * debug/Makefile: Likewise.
40585         * elf/Makefile: Likewise.
40586         * timezone/Makefile: Likewise.
40587         * stdlib/Makefile: Likewise.
40588         * iconvdata/Makefile: Likewise.
40589         * sunrpc/Makefile: Likewise.
40590         * io/Makefile: Likewise.
40591         * argp/Makefile: Likewise.
40592         * inet/Makefile: Likewise.
40593         * hesiod/Makefile: Likewise.
40594         * grp/Makefile: Likewise.
40595         * csu/Makefile: Likewise.
40596         * wctype/Makefile: Likewise.
40597         * crypt/Makefile: Likewise.
40598         * libio/Makefile: Likewise.
40599         * string/Makefile: Likewise.
40600         * nis/Makefile: Likewise.
40601         * resolv/Makefile: Likewise.
40602         * stdio-common/Makefile: Likewise.
40603         * wcsmbs/Makefile: Likewise.
40604         * dlfcn/Makefile: Likewise.
40605         * posix/Makefile: Likewise.
40606
40607         [BZ #6959]
40608         * timezone/Makefile: Don't install timezone files, just the programs
40609         and scripts.
40610
40611 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
40612
40613         * nss/databases.def: Add missing gshadow entry.
40614
40615         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
40616
40617 2012-03-06  Marek Polacek  <polacek@redhat.com>
40618
40619         [BZ #13726]
40620         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
40621         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40622         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
40623         * stdio-common/tst-long-dbl-fphex.c: New file.
40624
40625 2012-03-06  David S. Miller  <davem@davemloft.net>
40626
40627         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40628         (set_obp_int): New function.
40629         (get_obp_int): New function.
40630         (__get_clockfreq_via_dev_openprom): Likewise.
40631         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
40632         Avoid unused variable warnings on 'val' and use builtin_expect.
40633         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
40634         __builtin_expect.
40635         (INLINE_CLONE_SYSCALL): Likewise.
40636
40637 2012-03-05  David S. Miller  <davem@davemloft.net>
40638
40639         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40640
40641 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
40642
40643         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40644
40645         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
40646         only for |x| >= 40.
40647         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40648
40649 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
40650
40651         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
40652         Replace gettimeofday with __vdso_gettimeofday.
40653
40654         * sysdeps/unix/sysv/linux/x86_64/init-first.c
40655         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
40656         __vdso_clock_gettime and __vdso_getcpu.
40657
40658         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
40659         time with __vdso_time.
40660
40661 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
40662
40663         * manual/lang.texi (size_t): Note types to which size_t may be
40664         equivalent with the GNU C Library, but do not describe when
40665         differences between them are significant.
40666
40667 2012-03-05  Andreas Jaeger  <aj@suse.de>
40668
40669         * sysdeps/i386/fpu/libm-test-ulps: Update.
40670
40671 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
40672
40673         [BZ #3976]
40674         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
40675         (__ieee754_pow): Save and restore rounding mode and use
40676         round-to-nearest for main computations.
40677         * math/libm-test.inc (pow_test_tonearest): New function.
40678         (pow_test_towardzero): Likewise.
40679         (pow_test_downward): Likewise.
40680         (pow_test_upward): Likewise.
40681         (main): Call the new functions.
40682         * sysdeps/i386/fpu/libm-test-ulps: Update.
40683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40684
40685         [BZ #3976]
40686         * math/libm-test.inc (cosh_test_tonearest): New function.
40687         (cosh_test_towardzero): Likewise.
40688         (cosh_test_downward): Likewise.
40689         (cosh_test_upward): Likewise.
40690         (sinh_test_tonearest): Likewise.
40691         (sinh_test_towardzero): Likewise.
40692         (sinh_test_downward): Likewise.
40693         (sinh_test_upward): Likewise.
40694         (main): Call the new functions.
40695         * sysdeps/i386/fpu/libm-test-ulps: Update.
40696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40697
40698 2012-03-05  Tom de Vries  <tom@codesourcery.com>
40699
40700         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
40701         default stack guard is set in last bytes.
40702         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
40703
40704 2012-03-05  Kees Cook  <keescook@chromium.org>
40705
40706         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
40707
40708         [BZ #13656]
40709         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
40710         possibly allocate from heap instead of stack.
40711         * stdio-common/bug-vfprintf-nargs.c: New file.
40712         * stdio-common/Makefile (tests): Add nargs overflow test.
40713
40714 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
40715
40716         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40717
40718 2012-03-03  Marek Polacek  <polacek@redhat.com>
40719
40720         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
40721         * math/math_private.h: Likewise.
40722         * stdlib/tst-strtod.c: Likewise.
40723         * sysdeps/i386/i486/bits/atomic.h: Likewise.
40724         * sysdeps/x86_64/bits/atomic.h: Likewise.
40725
40726 2012-03-02  David S. Miller  <davem@davemloft.net>
40727
40728         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
40729         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
40730         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
40731         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
40732         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
40733         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
40734         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
40735         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
40736
40737 2012-03-02  Roland McGrath  <roland@hack.frob.com>
40738
40739         [BZ #13792]
40740         * manual/examples/README: New file, says the example source files
40741         can be used under GPL>=2.
40742         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40743         line containing just "*/".
40744         * manual/examples/add.c: Add copyright header (GPL>=2).
40745         * manual/examples/argp-ex1.c: Likewise.
40746         * manual/examples/argp-ex2.c: Likewise.
40747         * manual/examples/argp-ex3.c: Likewise.
40748         * manual/examples/argp-ex4.c: Likewise.
40749         * manual/examples/atexit.c: Likewise.
40750         * manual/examples/db.c: Likewise.
40751         * manual/examples/dir.c: Likewise.
40752         * manual/examples/dir2.c: Likewise.
40753         * manual/examples/execinfo.c: Likewise.
40754         * manual/examples/filecli.c: Likewise.
40755         * manual/examples/filesrv.c: Likewise.
40756         * manual/examples/fmtmsgexpl.c: Likewise.
40757         * manual/examples/genpass.c: Likewise.
40758         * manual/examples/inetcli.c: Likewise.
40759         * manual/examples/inetsrv.c: Likewise.
40760         * manual/examples/isockad.c: Likewise.
40761         * manual/examples/longopt.c: Likewise.
40762         * manual/examples/memopen.c: Likewise.
40763         * manual/examples/memstrm.c: Likewise.
40764         * manual/examples/mkfsock.c: Likewise.
40765         * manual/examples/mkisock.c: Likewise.
40766         * manual/examples/mygetpass.c: Likewise.
40767         * manual/examples/pipe.c: Likewise.
40768         * manual/examples/popen.c: Likewise.
40769         * manual/examples/rprintf.c: Likewise.
40770         * manual/examples/search.c: Likewise.
40771         * manual/examples/select.c: Likewise.
40772         * manual/examples/setjmp.c: Likewise.
40773         * manual/examples/sigh1.c: Likewise.
40774         * manual/examples/sigusr.c: Likewise.
40775         * manual/examples/stpcpy.c: Likewise.
40776         * manual/examples/strdupa.c: Likewise.
40777         * manual/examples/strftim.c: Likewise.
40778         * manual/examples/strncat.c: Likewise.
40779         * manual/examples/subopt.c: Likewise.
40780         * manual/examples/swapcontext.c: Likewise.
40781         * manual/examples/termios.c: Likewise.
40782         * manual/examples/testopt.c: Likewise.
40783         * manual/examples/testpass.c: Likewise.
40784         * manual/examples/timeval_subtract.c: Likewise.
40785
40786         [BZ #13792]
40787         * manual/time.texi (Elapsed Time): Move timeval_subtract example
40788         function to ...
40789         * manual/timeval_subtract.c.texi: ... here, new file.
40790
40791 2012-03-02  David S. Miller  <davem@davemloft.net>
40792
40793         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40794
40795 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
40796
40797         [BZ #3976]
40798         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40799         (__sin): Save and restore rounding mode and use round-to-nearest
40800         for all computations.
40801         (__cos): Save and restore rounding mode and use round-to-nearest
40802         for all computations.
40803         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40804         <fenv.h>.
40805         (tan): Save and restore rounding mode and use round-to-nearest for
40806         all computations.
40807         * math/libm-test.inc (cos_test_tonearest): New function.
40808         (cos_test_towardzero): Likewise.
40809         (cos_test_downward): Likewise.
40810         (cos_test_upward): Likewise.
40811         (sin_test_tonearest): Likewise.
40812         (sin_test_towardzero): Likewise.
40813         (sin_test_downward): Likewise.
40814         (sin_test_upward): Likewise.
40815         (tan_test_tonearest): Likewise.
40816         (tan_test_towardzero): Likewise.
40817         (tan_test_downward): Likewise.
40818         (tan_test_upward): Likewise.
40819         (main): Call the new functions.
40820         * sysdeps/i386/fpu/libm-test-ulps: Update.
40821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40822
40823         [BZ #10135]
40824         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40825         small n, then large n, before computing and testing k+n.
40826         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40827         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40828         Likewise.
40829         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40830         Likewise.
40831         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40832         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40833         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40834         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40835         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40836         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40837         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40838         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40839         * math/libm-test.inc (scalbn_test): Add more tests.
40840         (scalbln_test): Likewise.
40841
40842         * manual/filesys.texi (mode_t): Describe constraints on size and
40843         signedness, not exact equivalence to a particular type.
40844         (ino_t): Likewise.
40845         (ino64_t): Likewise.
40846         (dev_t): Likewise.
40847         (nlink_t): Likewise.
40848         (blkcnt_t): Likewise.
40849         (blkcnt64_t): Likewise.
40850         * manual/llio.texi (off_t): Likewise.
40851
40852         [BZ #3976]
40853         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40854         (__ieee754_exp): Save and restore rounding mode and use
40855         round-to-nearest for all computations.
40856         * math/libm-test.inc (exp_test_tonearest): New function.
40857         (exp_test_towardzero): Likewise.
40858         (exp_test_downward): Likewise.
40859         (exp_test_upward): Likewise.
40860         (main): Call the new functions.
40861         * sysdeps/i386/fpu/libm-test-ulps: Update.
40862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40863
40864 2012-03-01  Chris Demetriou  <cgd@google.com>
40865
40866         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
40867         have predictable order.
40868
40869 2012-03-01  David S. Miller  <davem@davemloft.net>
40870
40871         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
40872
40873         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
40874         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
40875         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
40876         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
40877
40878         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
40879         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
40880         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
40881         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
40882         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
40883         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
40884         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
40885         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
40886         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
40887
40888         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40889
40890         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
40891         * sysdeps/sparc/fpu/libm-test-ulps: to here.
40892         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
40893
40894         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
40895         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40896         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
40897         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
40898         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
40899         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
40900         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
40901         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40902         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
40903         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
40904         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
40905         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
40906         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40907         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
40908         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40909         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40910         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
40911         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
40912         * sysdeps/sparc/elf/configure: Regenerated.
40913
40914 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
40915
40916         * configure.in (AS, LD): Require binutils 2.20 or later.
40917         * configure: Regenerated.
40918         * manual/install.texi (Tools for Compilation): Give binutils 2.20
40919         as required minimum version.
40920         * INSTALL: Regenerated.
40921
40922         [BZ #2541]
40923         [BZ #4108]
40924         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
40925         before squaring exponent.
40926         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
40927         bottom long double and 27 bits of top long double before squaring
40928         exponent.
40929         * math/libm-test.inc (erfc_test): Add more tests.
40930         * sysdeps/i386/fpu/libm-test-ulps: Update.
40931         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40933
40934 2012-03-01  Kai Tietz  <ktietz@redhat.com>
40935
40936         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
40937         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
40938         containing bit-fields.
40939         * soft-fp/extended.h (_FP_UNION_E): Likewise.
40940         * soft-fp/single.h (_FP_UNION_S): Likewise.
40941         * soft-fp/double.h (_FP_UNION_D): Likewise.
40942
40943 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
40944
40945         [BZ #13786]
40946         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
40947         not include ../strcmp.S.
40948         [USE_AS_STRNCASECMP_L]: Likewise.
40949         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
40950         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
40951         * sysdeps/i386/i686/multiarch/strncase_l-c.c
40952         (__strncasecmp_l_ia32): Define as alias to
40953         __strncasecmp_l_nonascii.
40954
40955         [BZ #5794]
40956         * math/libm-test.inc (expm1_test): Add test for bug 5794.
40957         * sysdeps/i386/fpu/libm-test-ulps: Update.
40958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40959
40960         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
40961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40962
40963 2012-02-29  Jeff Law  <law@redhat.com>
40964
40965         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
40966         out of bounds read.
40967
40968 2012-02-29  Marek Polacek  <polacek@redhat.com>
40969
40970         [BZ #13706]
40971         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
40972         * elf/Makefile: Add rules to run tst-unused-dep.out.
40973
40974 2012-02-28  David S. Miller  <davem@davemloft.net>
40975
40976         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
40977         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
40978         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
40979         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
40980         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
40981         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
40982
40983 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
40984
40985         * math/libm-test.inc (llround_test): Move one test from
40986         lround_test.  Use TEST_f_L in moved test.
40987         (lround_test): Move misplaced test to llround_test.  Add testcase
40988         from bug 2561.
40989
40990 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
40991
40992         * sysdeps/x86_64/fpu/e_expf.S: New file.
40993         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
40994
40995 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
40996
40997         [BZ #13637]
40998         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
40999         of remain_len that may cause incomplete multi-byte character and
41000         false match.
41001         * posix/bug-regex33.c: New file.
41002         * posix/Makefile (tests): Add bug-regex33.
41003
41004 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
41005
41006         * manual/macros.texi: New file.
41007         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
41008         * manual/libc.texinfo: Include macros.texi.
41009         * manual/creatute.texi: Likewise.
41010         * manual/install.texi: Likewise.
41011         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41012         @glibcadj{} in references to the GNU C Library.
41013         * manual/charset.texi: Likewise.
41014         * manual/conf.texi: Likewise.
41015         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
41016         when not using those macros.
41017         * manual/creature.texi: Likewise.
41018         * manual/crypt.texi: Likewise.
41019         * manual/errno.texi: Likewise.
41020         * manual/filesys.texi: Likewise.
41021         * manual/header.texi: Likewise.
41022         * manual/install.texi: Likewise.
41023         * manual/intro.texi: Likewise.
41024         * manual/io.texi: Likewise.
41025         * manual/job.texi: Likewise.
41026         * manual/lang.texi: Likewise.
41027         * manual/libc.texiinfo: Likewise.
41028         * manual/llio.texi: Likewise.
41029         * manual/locale.texi: Likewise.
41030         * manual/maint.texi: Likewise.
41031         * manual/math.texi: Likewise.
41032         * manual/memory.texi: Likewise.
41033         * manual/message.texi: Likewise.
41034         * manual/nss.texi: Likewise.
41035         * manual/pattern.texi: Likewise.
41036         * manual/process.texi: Likewise.
41037         * manual/resource.texi: Likewise.
41038         * manual/search.texi: Likewise.
41039         * manual/setjmp.texi: Likewise.
41040         * manual/signal.texi: Likewise.
41041         * manual/socket.texi: Likewise.
41042         * manual/startup.texi: Likewise.
41043         * manual/stdio.texi: Likewise.
41044         * manual/string.texi: Likewise.
41045         * manual/sysinfo.texi: Likewise.
41046         * manual/syslog.texi: Likewise.
41047         * manual/terminal.texi: Likewise.
41048         * manual/time.texi: Likewise.
41049         * manual/users.texi: Likewise.
41050         * INSTALL: Regenerated.
41051         * NOTES: Regenerated.
41052         * sysdeps/gnu/errlist.c: Regenerated.
41053
41054 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
41055
41056         * include/dirent.h: Include <dirstream.h> before
41057         <dirent/dirent.h>.
41058
41059 2012-02-28  David S. Miller  <davem@davemloft.net>
41060
41061         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41062         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41063         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41064         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41065
41066 2012-02-27  David S. Miller  <davem@davemloft.net>
41067
41068         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41069         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41070         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41071         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41072
41073         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41074         frame pointer instead of stack pointer relative arg slot.
41075         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41076         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41077         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41078
41079 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
41080
41081         [BZ #3992]
41082         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
41083
41084 2012-02-27  David S. Miller  <davem@davemloft.net>
41085
41086         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
41087         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41088         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41089         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41090         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41091         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41092         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41093         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41094
41095 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
41096
41097         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41098         later.  Allow versions 5-9.
41099         * configure: Regenerated.
41100         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41101         required minimum version and 4.6 as recommended version.  Do not
41102         mention bugs in GCC 2.7 and 2.8.
41103         * INSTALL: Regenerated.
41104
41105 2012-02-27  David S. Miller  <davem@davemloft.net>
41106
41107         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41108         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41109         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41110         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41111         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41112         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41113         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41114         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41115
41116         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41117         manipulate bits before adding and subtracting TWO112[sx].
41118         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41119
41120 2012-02-27  Roland McGrath  <roland@hack.frob.com>
41121
41122         [BZ #13775]
41123         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41124         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41125         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41126         being in POSIX, because they are in 1003.1-2008.
41127
41128         * rt/tst-aio.c: Include <fcntl.h>.
41129         * rt/tst-aio7.c: Likewise.
41130         * rt/tst-aio64.c: Likewise.
41131
41132         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41133
41134 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
41135
41136         * manual/install.texi (--with-headers): Describe headers as
41137         interface headers, not private headers.
41138         (Specific advice for GNU/Linux systems): Describe use of headers
41139         from "make headers_install", not private headers from older
41140         kernels.
41141         * INSTALL: Regenerated.
41142         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41143         Change to 2.6.19.
41144         * sysdeps/unix/sysv/linux/configure: Regenerated.
41145
41146         * manual/llio.texi (fclean): Remove documentation.
41147
41148         * manual/Makefile (libc-texi-generated): New variable.  Include
41149         version.texi.
41150         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41151         $(libc-texi-generated), not duplicated list of files.
41152         (version.texi, stamp-version): New rules.
41153         (realclean): Remove $(libc-texi-generated), not individual files
41154         from that list.  Do not remove dir-add.texinfo.
41155         * manual/libc.texinfo: Comment out uses of edition numbers and
41156         references to printed manual.  Remove last-updated dates.
41157         (EDITION): Comment out.
41158         (ISBN): Likewise.
41159         (VERSION, UPDATED): Remove.
41160         (version.texi): Include.
41161
41162 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
41163
41164         * sysdeps/posix/spawni.c: Include <signal.h>.
41165         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41166         * sysdeps/pthread/aio_fsync.c: Likewise.
41167
41168 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
41169
41170         * conform/Makefile (tests): Run only when not cross-compiling and
41171         when fast-check is not defined.
41172
41173         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41174         * conform/data/limits.h-data: Fixes for POSIX2008.
41175         * conform/run-conformtest.sh: Run all tests.
41176         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41177         headers.
41178         * include/bits/dlfcn.h: Likewise.
41179         * include/langinfo.h: Likewise.
41180         * include/monetary.h: Likewise.
41181         * include/sys/poll.h: Likewise.
41182
41183         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41184         for __USE_GNU.
41185         * posix/spawn.h: Define __need_sigset_t.
41186         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41187         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41188         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
41189         to get sigevent_t only.
41190         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41191         only for __USE_GNU.
41192         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41193         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41194         process_vm_writev only for __USE_GNU.
41195         * termios/termios.h: Declare tcgetsid also for POSIX2008.
41196
41197         * conform/Makefile: For now ignore errors from run-conformtest.
41198         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
41199         POSIX to avoid namespace pollution.  Don't prepend headers.
41200         * conform/data/aio.h-data: Fixes for POSIX testing.
41201         * conform/data/fcntl.h-data: Likewise.
41202         * conform/data/glob.h-data: Likewise.
41203         * conform/data/grp.h-data: Likewise.
41204         * conform/data/pthread.h-data: Likewise.
41205         * conform/data/pwd.h-data: Likewise.
41206         * conform/data/signal.h-data: Likewise.
41207         * conform/data/spawn.h-data: Likewise.
41208         * conform/data/stdio.h-data: Likewise.
41209         * conform/data/stdlib.h-data: Likewise.
41210         * conform/data/stropts.h-data: Likewise.
41211         * conform/data/sys/mman.h-data: Likewise.
41212         * conform/data/sys/stat.h-data: Likewise.
41213         * conform/data/sys/types.h-data: Likewise.
41214         * conform/data/sys/wait.h-data: Likewise.
41215         * conform/data/time.h-data: Likewise.
41216         * conform/data/unistd.h-data: Likewise.
41217         * conform/data/utime.h-data: Likewise.
41218
41219         * io/sys/stat.h: fchmod was always in POSIX.
41220         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41221         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41222         * rt/aio.h: Define __need_timespec before including <time.h>.
41223         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41224         struct.  Add forward declaration of pthread_attr_t and use it in
41225         sigevent.
41226         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41227         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41228         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41229         always remove CLK_TCK definition.
41230
41231 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
41232
41233         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41234
41235 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
41236
41237         * conform/run-conformtest.sh: New file.
41238         * conform/Makefile: Run run-conformtest for tests.
41239         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
41240         support.
41241
41242         * conform/data/uchar.h-data: New file.
41243         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41244         * conform/data/arpa/inet.h-data: Likewise.
41245         * conform/data/assert.h-data: Likewise.
41246         * conform/data/complex.h-data: Likewise.
41247         * conform/data/cpio.h-data: Likewise.
41248         * conform/data/ctype.h-data: Likewise.
41249         * conform/data/dirent.h-data: Likewise.
41250         * conform/data/dlfcn.h-data: Likewise.
41251         * conform/data/errno.h-data: Likewise.
41252         * conform/data/fcntl.h-data: Likewise.
41253         * conform/data/float.h-data: Likewise.
41254         * conform/data/fmtmsg.h-data: Likewise.
41255         * conform/data/fnmatch.h-data: Likewise.
41256         * conform/data/ftw.h-data: Likewise.
41257         * conform/data/glob.h-data: Likewise.
41258         * conform/data/grp.h-data: Likewise.
41259         * conform/data/iconv.h-data: Likewise.
41260         * conform/data/inttypes.h-data: Likewise.
41261         * conform/data/langinfo.h-data: Likewise.
41262         * conform/data/libgen.h-data: Likewise.
41263         * conform/data/limits.h-data: Likewise.
41264         * conform/data/locale.h-data: Likewise.
41265         * conform/data/math.h-data: Likewise.
41266         * conform/data/monetary.h-data: Likewise.
41267         * conform/data/mqueue.h-data: Likewise.
41268         * conform/data/ndbm.h-data: Likewise.
41269         * conform/data/net/if.h-data: Likewise.
41270         * conform/data/netdb.h-data: Likewise.
41271         * conform/data/netinet/in.h-data: Likewise.
41272         * conform/data/nl_types.h-data: Likewise.
41273         * conform/data/poll.h-data: Likewise.
41274         * conform/data/pthread.h-data: Likewise.
41275         * conform/data/pwd.h-data: Likewise.
41276         * conform/data/regex.h-data: Likewise.
41277         * conform/data/sched.h-data: Likewise.
41278         * conform/data/search.h-data: Likewise.
41279         * conform/data/semaphore.h-data: Likewise.
41280         * conform/data/setjmp.h-data: Likewise.
41281         * conform/data/signal.h-data: Likewise.
41282         * conform/data/spawn.h-data: Likewise.
41283         * conform/data/stdarg.h-data: Likewise.
41284         * conform/data/stdio.h-data: Likewise.
41285         * conform/data/stdlib.h-data: Likewise.
41286         * conform/data/string.h-data: Likewise.
41287         * conform/data/strings.h-data: Likewise.
41288         * conform/data/stropts.h-data: Likewise.
41289         * conform/data/sys/ipc.h-data: Likewise.
41290         * conform/data/sys/mman.h-data: Likewise.
41291         * conform/data/sys/msg.h-data: Likewise.
41292         * conform/data/sys/resource.h-data: Likewise.
41293         * conform/data/sys/select.h-data: Likewise.
41294         * conform/data/sys/sem.h-data: Likewise.
41295         * conform/data/sys/shm.h-data: Likewise.
41296         * conform/data/sys/socket.h-data: Likewise.
41297         * conform/data/sys/stat.h-data: Likewise.
41298         * conform/data/sys/statvfs.h-data: Likewise.
41299         * conform/data/sys/time.h-data: Likewise.
41300         * conform/data/sys/timeb.h-data: Likewise.
41301         * conform/data/sys/times.h-data: Likewise.
41302         * conform/data/sys/types.h-data: Likewise.
41303         * conform/data/sys/uio.h-data: Likewise.
41304         * conform/data/sys/un.h-data: Likewise.
41305         * conform/data/sys/utsname.h-data: Likewise.
41306         * conform/data/sys/wait.h-data: Likewise.
41307         * conform/data/syslog.h-data: Likewise.
41308         * conform/data/tar.h-data: Likewise.
41309         * conform/data/termios.h-data: Likewise.
41310         * conform/data/utime.h-data: Likewise.
41311         * conform/data/utmpx.h-data: Likewise.
41312         * conform/data/varargs.h-data: Likewise.
41313         * conform/data/wchar.h-data: Likewise.
41314         * conform/data/wctype.h-data: Likewise.
41315         * conform/data/wordexp.h-data: Likewise.
41316
41317         * include/stropts.h: New file.
41318         * include/uchar.h: New file.
41319         * include/aio.h: Changes to allow conformtest.pl to use the headers.
41320         * include/assert.h: Likewise.
41321         * include/ctype.h: Likewise.
41322         * include/dirent.h: Likewise.
41323         * include/dlfcn.h: Likewise.
41324         * include/fcntl.h: Likewise.
41325         * include/fnmatch.h: Likewise.
41326         * include/glob.h: Likewise.
41327         * include/grp.h: Likewise.
41328         * include/libio.h: Likewise.
41329         * include/locale.h: Likewise.
41330         * include/math.h: Likewise.
41331         * include/net/if.h: Likewise.
41332         * include/netdb.h: Likewise.
41333         * include/netinet/in.h: Likewise.
41334         * include/pthread.h: Likewise.
41335         * include/pwd.h: Likewise.
41336         * include/regex.h: Likewise.
41337         * include/sched.h: Likewise.
41338         * include/search.h: Likewise.
41339         * include/setjmp.h: Likewise.
41340         * include/signal.h: Likewise.
41341         * include/stdio.h: Likewise.
41342         * include/stdlib.h: Likewise.
41343         * include/string.h: Likewise.
41344         * include/sys/cdefs.h: Likewise.
41345         * include/sys/mman.h: Likewise.
41346         * include/sys/msg.h: Likewise.
41347         * include/sys/resource.h: Likewise.
41348         * include/sys/select.h: Likewise.
41349         * include/sys/socket.h: Likewise.
41350         * include/sys/stat.h: Likewise.
41351         * include/sys/statvfs.h: Likewise.
41352         * include/sys/time.h: Likewise.
41353         * include/sys/times.h: Likewise.
41354         * include/sys/uio.h: Likewise.
41355         * include/sys/utsname.h: Likewise.
41356         * include/sys/wait.h: Likewise.
41357         * include/termios.h: Likewise.
41358         * include/time.h: Likewise.
41359         * include/ulimit.h: Likewise.
41360         * include/unistd.h: Likewise.
41361         * include/utime.h: Likewise.
41362         * include/wchar.h: Likewise.
41363         * include/wctype.h: Likewise.
41364         * include/wordexp.h: Likewise.
41365
41366         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
41367
41368         * time/time.h: TIME_UTC must be a macro.
41369         Make timespec_get available for ISO C11 only as well.
41370
41371 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
41372
41373         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
41374         Reported by Peng Haitao <penght@cn.fujitsu.com>.
41375
41376 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41377
41378         * configure.in: Use -o not -a in test for unsupported multi-arch.
41379
41380 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41381
41382         * manual/texinfo.tex: Update to version 2012-01-19.16.
41383
41384 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
41385
41386         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
41387
41388 2012-02-24  Roland McGrath  <roland@hack.frob.com>
41389
41390         [BZ #13738]
41391         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
41392         * manual/fdl-1.3.texi: New file.
41393         * manual/fdl-1.1.texi: File removed.
41394
41395         [BZ #13738]
41396         * manual/libc.texinfo (FDL_VERSION): New @set.
41397         Use it for mention of FDL in cover text.
41398         (Documentation License): Use it in @include file name.
41399
41400 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41401             Roland McGrath  <roland@hack.frob.com>
41402
41403         [BZ #5461]
41404         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41405         (not LONG_LONG_MAX and LONG_LONG_MIN.
41406         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41407         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
41408         name.
41409         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41410
41411 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41412
41413         [BZ #2547]
41414         [BZ #11365]
41415         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41416         manipulate bits before adding and subtracting TWO23[sx].
41417         * math/libm-test.inc (nearbyint_test): Add more tests.
41418
41419 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41420
41421         [BZ #2548]
41422         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41423         bits before adding and subtracting TWO23[sx].
41424         * math/libm-test.inc (rint_test): Add more tests.
41425         (rint_test_tonearest): Likewise.
41426         (rint_test_towardzero): Likewise.
41427         (rint_test_downward): Likewise.
41428         (rint_test_upward: Likewise.
41429
41430 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41431
41432         [BZ #10110]
41433         * include/stdc-predef.h: New file.  Extracted from features.h.
41434         * include/features.h: Include stdc-predef.h.
41435         * Makefile (headers): Add stdc-predef.h.
41436         * CONFORMANCE (Compiler limitations): Update.
41437
41438 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
41439
41440         * manual/libc.texinfo (VERSION, UPDATED): Revert.
41441
41442 2012-02-21  David S. Miller  <davem@davemloft.net>
41443
41444         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41445         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41446
41447 2012-02-20  David S. Miller  <davem@davemloft.net>
41448
41449         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41450         using a normal save/restore sequence, rather than allocating a
41451         dummy stack frame just to store a frame pointer and restore.
41452         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41453
41454 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41455
41456         * manual/install.texi: Fix stray word in line-wrapped comment.
41457
41458 2012-02-20  David S. Miller  <davem@davemloft.net>
41459
41460         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41461         both binutils and gcc support GOTDATA.
41462
41463         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41464         "rd %pc" in the PIC register setup sequences.
41465
41466         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41467         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41468         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41469         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41470         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41471         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41472         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41473         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41474         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41475         (SYSCALL_ERROR_HANDLER): Likewise.
41476         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41477         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41478         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41479         (SYSCALL_ERROR_HANDLER): Likewise.
41480
41481         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41482         (HAVE_GCC_GOTDATA): New.
41483         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41484         relocation support in both binutils and gcc.
41485         * sysdeps/sparc/elf/configure: Regenerate.
41486
41487         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41488         * sysdeps/sparc/sparc32/elf/configure: Delete.
41489         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41490         * sysdeps/sparc/sparc64/elf/configure: Delete.
41491         * sysdeps/sparc/elf/configure.in: New file.
41492         * sysdeps/sparc/elf/configure: Generate.
41493
41494         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41495         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41496         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41497         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41498         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41499
41500 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41501
41502         * manual/install.texi: Do not mention specific glibc version
41503         numbers.
41504         * manual/libc.texinfo (VERSION, UPDATED): Update.
41505         (@copying): Use @copyright{} and range of years.
41506
41507 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
41508
41509         [BZ #13695]
41510         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41511         [crti.S not in sysdirs] (generated): Do not append.
41512         [crti.S not in sysdirs] (omit-deps): Likewise.
41513         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41514         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41515         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41516         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41517         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41518         Likewise.
41519         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41520         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41521         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41522         * csu/defs.awk: Remove file.
41523         * sysdeps/generic/initfini.c: Likewise.
41524         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41525         variable.
41526         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41527         Likewise.
41528
41529 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41530
41531         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
41532         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
41533         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
41534         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
41535         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41536         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
41537         <bits/epoll.h>.
41538         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
41539         (__EPOLL_PACKED): Define to empty if not defined by
41540         <bits/epoll.h>.
41541         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
41542         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41543         bits/epoll.h.
41544
41545 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41546
41547         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
41548         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
41549         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
41550         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
41551         <bits/timerfd.h>.
41552         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
41553         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41554         bits/timerfd.h.
41555
41556 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
41557
41558         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
41559         in C locale.
41560         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41561         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41562         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
41563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41564
41565 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
41566
41567         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41568         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41569
41570 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
41571
41572         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
41573         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
41574         defined.
41575         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
41576         Likewise.
41577         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
41578         entry for 2.16.
41579
41580 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
41581
41582         * math/w_acos.c: Use non-signaling floating-point comparisons.
41583         * math/w_acosf.c: Likewise.
41584         * math/w_acosh.c: Likewise.
41585         * math/w_acoshf.c: Likewise.
41586         * math/w_acoshl.c: Likewise.
41587         * math/w_acosl.c: Likewise.
41588         * math/w_asin.c: Likewise.
41589         * math/w_asinf.c: Likewise.
41590         * math/w_asinl.c: Likewise.
41591         * math/w_atanh.c: Likewise.
41592         * math/w_atanhf.c: Likewise.
41593         * math/w_atanhl.c: Likewise.
41594         * math/w_exp2.c: Likewise.
41595         * math/w_exp2f.c: Likewise.
41596         * math/w_exp2l.c: Likewise.
41597         * math/w_j0.c: Likewise.
41598         * math/w_j0f.c: Likewise.
41599         * math/w_j0l.c: Likewise.
41600         * math/w_j1.c: Likewise.
41601         * math/w_j1f.c: Likewise.
41602         * math/w_j1l.c: Likewise.
41603         * math/w_jn.c: Likewise.
41604         * math/w_jnf.c: Likewise.
41605         * math/w_log.c: Likewise.
41606         * math/w_log10.c: Likewise.
41607         * math/w_log10f.c: Likewise.
41608         * math/w_log10l.c: Likewise.
41609         * math/w_log2.c: Likewise.
41610         * math/w_log2f.c: Likewise.
41611         * math/w_log2l.c: Likewise.
41612         * math/w_logf.c: Likewise.
41613         * math/w_logl.c: Likewise.
41614         * math/w_sqrt.c: Likewise.
41615         * math/w_sqrtf.c: Likewise.
41616         * math/w_sqrtl.c: Likewise.
41617         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41618         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
41619         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41620         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41621         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41622
41623 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41624
41625         [BZ #9739]
41626         * manual/string.texi (strnlen): Use correct parameter name in
41627         equivalent expression.
41628
41629 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41630
41631         [BZ #11174]
41632         * manual/users.texi (seteuid): Consistently use neweuid for
41633         argument name.
41634
41635 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
41636
41637         [BZ #13704]
41638         * manual/nss.texi (Services in the NSS configuration): Correct
41639         list of services in example configuration file.
41640
41641 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
41642
41643         [BZ #11322]
41644         * manual/arith.texi: Remove statements about negative zero
41645         behaving identically to zero.
41646
41647 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
41648
41649         [BZ #5993]
41650         * manual/install.texi: Do not document upgrading from libc5.
41651
41652 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
41653
41654         [BZ #4596]
41655         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
41656
41657 2012-02-18  David S. Miller  <davem@davemloft.net>
41658
41659         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
41660         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
41661         %o7 across the call.
41662         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
41663         instead.
41664         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
41665         SETUP_PIC_REG_LEAF.
41666         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41667         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
41668         * sysdeps/sparc/crtn.S: Likewise.
41669
41670 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
41671
41672         * aout/Makefile: Remove.
41673
41674 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
41675
41676         [BZ #13058]
41677         * manual/examples/argp-ex1.c (main): Format definition in GNU
41678         style.
41679         * manual/examples/argp-ex2.c (main): Likewise.
41680         * manual/examples/argp-ex3.c (main): Likewise.
41681         * manual/examples/argp-ex4.c (main): Likewise.
41682         * manual/examples/longopt.c (main): Use new-style prototype
41683         definition.
41684         * manual/examples/strncat.c (main): Specify return type and use
41685         (void) for arguments.
41686         * manual/examples/subopt.c (main): Use char **argv argument.
41687
41688 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41689
41690         [BZ #5077]
41691         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
41692         rounding modes.
41693
41694 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
41695
41696         [BZ #6907]
41697         * manual/string.texi (strchr): Change when strchrnul is
41698         recommended.
41699
41700 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
41701
41702         [BZ #174]
41703         * manual/locale.texi (setlocale): Document LOCPATH.
41704
41705 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41706
41707         [BZ #10210]
41708         * manual/process.texi (execle): Move @dots{} before last argument.
41709
41710 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
41711
41712         [BZ #12047]
41713         * manual/charset.texi (Generic Charset Conversion): Fix typo
41714         (LC_TYPE -> LC_CTYPE).
41715
41716 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
41717
41718         [BZ #5805]
41719         * manual/arith.texi (scalbn): Use @var{} on parameter names.
41720         (scalbnf): Likewise.
41721         (scalbnl): Likewise.
41722         (scalbln): Likewise.
41723         (scalblnf): Likewise.
41724         (scalblnl): Likewise.
41725         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
41726         (vwarnx): Likewise.
41727         (verr): Likewise.
41728         (verrx): Likewise.
41729         * manual/filesys.texi (telldir): Use braces around return type.
41730         * manual/llio.texi (mmap): Add space after comma.
41731         (mmap64): Likewise.
41732         * manual/math.texi (jn): Use @var{} on parameter names.
41733         (jnf): Likewise.
41734         (jnl): Likewise.
41735         (yn): Likewise.
41736         (ynf): Likewise.
41737         (ynl): Likewise.
41738         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
41739         line.
41740         * manual/resource.texi (ulimit): Use @dots{} instead of literal
41741         "...".
41742         (sched_get_priority_min): Remove semicolon on @deftypefun line.
41743         (sched_get_priority_max): Likewise.
41744         * manual/signal.texi (sigvec): Add space after comma.
41745         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
41746         names.
41747         (if_indextoname): Likewise.
41748         (if_freenameindex): Likewise.
41749         (sendto): Use ',' instead of '.' in prototype.
41750         * manual/startup.texi (syscall): Use @dots{} instead of literal
41751         "...".
41752         * manual/stdio.texi (__fpending): Separate initial words of
41753         paragraph from @deftypefun line.
41754         * manual/syslog.texi (syslog): Use @dots{} instead of literal
41755         "...".
41756         (vsyslog): Use @var{} on parameter names.
41757         * manual/terminal.texi (stty): Use @var{} on parameter names.
41758         * manual/users.texi (getutmp): Use @var{} on parameter names.
41759         (getutmpx): Likewise.
41760
41761 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41762
41763         [BZ #6884]
41764         * manual/stdio.texi (fopen): Fix typos in description of
41765         ",ccs=STRING".
41766
41767 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
41768
41769         [BZ #4026]
41770         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
41771         get clock_id definition.
41772
41773 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
41774
41775         [BZ #4822]
41776         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
41777         (madvise): Cast every argument to void on its own.
41778
41779 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41780
41781         [BZ #9902]
41782         * manual/startup.texi (Exit Status): Fix typo.
41783
41784 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
41785
41786         [BZ #10140]
41787         * manual/examples/argp-ex1.c: Include <stdlib.h>.
41788         * manual/examples/argp-ex2.c: Likewise.
41789         * manual/examples/argp-ex3.c: Likewise.
41790
41791 2012-02-16  Richard Henderson  <rth@redhat.com>
41792
41793         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41794         * sysdeps/s390/s390-32/initfini.c: Remove.
41795         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41796         * sysdeps/s390/s390-64/initfini.c: Remove.
41797
41798 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41799
41800         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41801         compiler output for sysdeps/generic/initfini.c.
41802         * sysdeps/sh/elf/initfini.c: Remove file.
41803
41804 2012-02-16  David S. Miller  <davem@davemloft.net>
41805
41806         [BZ #11494]
41807         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41808
41809         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41810         * sysdeps/sparc/crti.S: New file.
41811         * sysdeps/sparc/crtn.S: New file.
41812         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41813         * sysdeps/sparc/sparc64/Makefile: Likewise.
41814
41815 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
41816
41817         [BZ #3335]
41818         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41819
41820 2012-02-15  Roland McGrath  <roland@hack.frob.com>
41821
41822         [BZ #4822]
41823         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41824
41825         * mach/devstream.c (cookie_io_functions_t): Macro removed.
41826         (write, read, close): Likewise.
41827         Patch by Aurelien Jarno <aurelien@aurel32.net>.
41828
41829 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
41830
41831         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41832         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41833         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41834         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41835         <bits/signalfd.h>.
41836         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41837         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41838         bits/signalfd.h.
41839
41840 2012-02-14  Marek Polacek  <polacek@redhat.com>
41841
41842         * sysdeps/x86_64/crti.S: New file.
41843         * sysdeps/x86_64/crtn.S: New file.
41844         * sysdeps/x86_64/elf/initfini.c: Remove file.
41845
41846 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
41847
41848         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41849         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41850         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41851         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41852         <bits/inotify.h>.
41853         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41854         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41855         bits/inotify.h.
41856
41857 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
41858
41859         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
41860         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
41861         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
41862         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
41863         <bits/eventfd.h>.
41864         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
41865         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41866         bits/eventfd.h.
41867
41868 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
41869
41870         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
41871         __feraiseexcept instead of feraiseexcept.
41872
41873         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
41874         nanosleep invocations.
41875         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
41876         strings, and add error checking for a nanosleep invocations.
41877
41878 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
41879
41880         Replace FSF snail mail address with URLs, as per GNU coding standards.
41881         Most of the snail mail addresses were wrong anyway, and omitting
41882         them makes the source code easier to maintain.  Almost all of the
41883         changes are to license notices and to locale LC_IDENTIFICATION
41884         addresses, except for this one:
41885         * manual/libc.texinfo: In "Published by", give the FSF's URL,
41886         not its snail mail address.
41887
41888 2012-02-09  Richard Henderson  <rth@twiddle.net>
41889
41890         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
41891         of kernel-features.h.
41892
41893         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
41894
41895 2012-02-08  Marek Polacek  <polacek@redhat.com>
41896
41897         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
41898         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
41899         * sysdeps/gnu/_G_config.h: Likewise.
41900         * sysdeps/generic/_G_config.h: Likewise.
41901
41902 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
41903
41904         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
41905         tests.
41906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41907
41908         * sysdeps/powerpc/powerpc32/crti.S: New file.
41909         * sysdeps/powerpc/powerpc32/crtn.S: New file.
41910         * sysdeps/powerpc/powerpc64/crti.S: New file.
41911         * sysdeps/powerpc/powerpc64/crtn.S: New file.
41912
41913         * Makeconfig (have-initfini): Don't set.
41914         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
41915         * configure.in (nopic_initfini): Don't substitute.
41916         * config.h.in (HAVE_INITFINI): Don't #undef.
41917         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
41918         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
41919
41920 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
41921
41922         Support crti.S and crtn.S provided directly by architectures.
41923         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
41924         [crti.S in sysdirs] (omit-deps): Likewise.
41925         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
41926         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
41927         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
41928         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
41929         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
41930         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
41931         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
41932         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
41933         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
41934         compiler output for sysdeps/generic/initfini.c.
41935         * sysdeps/i386/elf/Makefile: Remove file.
41936         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
41937
41938 2012-02-07  Marek Polacek  <polacek@redhat.com>
41939
41940         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
41941         * sysdeps/gnu/_G_config.h: Likewise.
41942         * sysdeps/mach/hurd/_G_config.h: Likewise.
41943
41944 2012-02-07  Marek Polacek  <polacek@redhat.com>
41945
41946         * math/Makefile (tests): Add tst-CMPLX2.
41947         * math/tst-CMPLX2.c: New file.
41948
41949 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
41950
41951         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41952
41953         * math/libm-test.inc (jn_test): Add missing L suffix.
41954
41955 2012-02-06  Marek Polacek  <polacek@redhat.com>
41956
41957         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
41958         * sysdeps/i386/fpu/e_powf.S: Likewise.
41959         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41960         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41961         * sysdeps/i386/fpu/e_acosh.S: Likewise.
41962         * sysdeps/i386/fpu/e_pow.S: Likewise.
41963         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
41964         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41965         * sysdeps/i386/fpu/s_expm1.S: Likewise.
41966         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
41967         * sysdeps/i386/fpu/e_log2.S: Likewise.
41968         * sysdeps/i386/fpu/e_log2l.S: Likewise.
41969         * sysdeps/i386/fpu/e_scalb.S: Likewise.
41970         * sysdeps/i386/fpu/e_powl.S: Likewise.
41971         * sysdeps/i386/fpu/s_log1p.S: Likewise.
41972         * sysdeps/i386/fpu/e_log10f.S: Likewise.
41973         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
41974         * sysdeps/i386/fpu/e_logl.S: Likewise.
41975         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
41976         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
41977         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
41978         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
41979         * sysdeps/i386/fpu/e_log2f.S: Likewise.
41980         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41981         * sysdeps/i386/fpu/e_log.S: Likewise.
41982         * sysdeps/i386/fpu/s_cexp.S: Likewise.
41983         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41984         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
41985         * sysdeps/i386/fpu/e_logf.S: Likewise.
41986         * sysdeps/i386/fpu/e_log10l.S: Likewise.
41987         * sysdeps/i386/fpu/e_atanh.S: Likewise.
41988         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
41989         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
41990         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41991         * sysdeps/i386/fpu/e_log10.S: Likewise.
41992         * sysdeps/i386/fpu/s_frexp.S: Likewise.
41993         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41994         * sysdeps/i386/fpu/s_asinh.S: Likewise.
41995         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
41996         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41997         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
41998         * sysdeps/i386/asm-syntax.h: Likewise.
41999         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42000         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42001         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42002         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
42003         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
42004         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42005         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42006         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42007         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42008         * sysdeps/powerpc/sysdep.h: Likewise.
42009         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
42010         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42011
42012 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
42013
42014         [BZ #411]
42015         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42016
42017 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
42018
42019         * sysdeps/i386/sysdep.h: Include <features.h>.
42020         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
42021         version.
42022
42023 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
42024
42025         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
42026         Define.
42027         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
42028         LOAD_PIC_REG_STR.
42029
42030 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42031
42032         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
42033         (SETUP_PIC_REG): Use GET_PC_THUNK.
42034         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
42035         macro.
42036
42037 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42038
42039         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
42040         for non-PIC compilation.
42041         (SETUP_PIC_REG): Add .p2align directive.
42042         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
42043         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42044         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42045         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42046         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42047         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42048         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42049         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42050         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42051         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42052         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42053         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42054         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42055         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42056         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42057         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42058         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42059         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42060         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42061         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42062         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42063         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42064         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42065         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42066         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42067         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42068         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42069         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42070         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42071         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42072         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42073         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42074         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42075         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42076         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42077         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42078         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42079         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42080         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42081         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42082         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42083
42084 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
42085
42086         * math/tst-CMPLX.c: Include <stdio.h>.
42087
42088 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
42089
42090         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42091         float.
42092         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42093         * sysdeps/sparc/bits/mathdef.h: Likewise.
42094
42095 2012-01-31  Marek Polacek  <polacek@redhat.com>
42096
42097         * libio/libio.h: Don't define _PARAMS.
42098         * locale/programs/config.h: Don't define PARAMS.
42099         * stdlib/strtol_l.c: Likewise.
42100         (__strtol_l): Remove PARAMS from the prototype.
42101
42102 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
42103
42104         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
42105         names.  Just use the correct names.  Remove unnecessary wrapper
42106         functions.
42107         * malloc/arena.c: Likewise.
42108         * malloc/hooks.c: Likewise.
42109
42110         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42111         ARENA_TEST says not to.  Simplify test for creation of a new arena.
42112         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42113
42114 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
42115
42116         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42117         into tail calls.
42118         (update_get_addr): New function.
42119         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42120         GET_ADDR_MODULE parameter.
42121
42122 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
42123
42124         * crypt/cert.c: Remove __STDC__ conditionals.
42125         * crypt/crypt-entry.c: Likewise.
42126         * crypt/crypt_util.c: Likewise.
42127         * libio/filedoalloc.c: Likewise.
42128         * libio/fileops.c: Likewise.
42129         * libio/genops.c: Likewise.
42130         * libio/iofclose.c: Likewise.
42131         * libio/iofdopen.c: Likewise.
42132         * libio/iofopen.c: Likewise.
42133         * libio/iofopen64.c: Likewise.
42134         * libio/iogetdelim.c: Likewise.
42135         * libio/iopopen.c: Likewise.
42136         * libio/obprintf.c: Likewise.
42137         * libio/oldfileops.c: Likewise.
42138         * libio/oldiofclose.c: Likewise.
42139         * libio/oldiofdopen.c: Likewise.
42140         * libio/oldiofopen.c: Likewise.
42141         * libio/oldiopopen.c: Likewise.
42142         * libio/wfiledoalloc.c: Likewise.
42143         * libio/wgenops.c: Likewise.
42144         * locale/programs/xmalloc.c: Likewise.
42145         * misc/syslog.c: Likewise.
42146         * stdio-common/xbug.c: Likewise.
42147         * string/memchr.c: Likewise.
42148         * string/memcmp.c: Likewise.
42149         * string/memrchr.c: Likewise.
42150         * string/rawmemchr.c: Likewise.
42151         * sysdeps/posix/getcwd.c: Likewise.
42152         * time/strftime_l.c: Likewise.
42153
42154 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
42155
42156         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
42157         * config.make.in (config-cflags-sse2avx): Define.
42158         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42159         Fix typo.
42160
42161 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
42162
42163         * scripts/config.guess: Update from upstream config git repository.
42164         * scripts/config.sub: Likewise.
42165
42166 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
42167
42168         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42169         (EM_NUM): Update.
42170         (R_TILEPRO_*, R_TILEGX_*): New macros.
42171
42172         * scripts/firstversions.awk: Fix bug in version range handling.
42173
42174         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42175
42176         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42177
42178         * include/sys/epoll.h: New file.
42179         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42180         libc_hidden_def.
42181
42182 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
42183
42184         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42185         Avoid unnecessary __WORDSIZE == 64 test.
42186         (fmaxf): Use VEX format if possible.
42187         (fmax): Likewise.
42188         (fminf): Likewise.
42189         (fmin): Likewise.
42190
42191         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42192         * math/math_private.h: Remove libc_fegetround* and
42193         libc_fesetround*.
42194         * sysdeps/i386/configure.in: Check for -msse2avx.
42195         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42196         also if SSE2AVX is defined.
42197         Remove libc_fegetround* and libc_fesetround*.
42198         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
42199         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
42200         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
42201         of HAS_YMM_USABLE.
42202         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42203         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42204         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42205         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42206         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42207
42208         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
42209
42210 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42211
42212         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42213         size is not set.
42214         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42215
42216 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
42217
42218         [BZ #13618]
42219         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42220         relocation.
42221         * Makeconfig (libm): Define.
42222         * elf/Makefile: Add rules to build and run tst-relsort1.
42223         * elf/tst-relsort1.c: New file.
42224         * elf/tst-relsort1mod1.c: New file.
42225         * elf/tst-relsort1mod2.c: New file.
42226
42227 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
42228
42229         * math/s_ldexp.c: Remove __STDC__ conditionals.
42230         * math/s_ldexpf.c: Likewise.
42231         * math/s_ldexpl.c: Likewise.
42232         * math/s_nextafter.c: Likewise.
42233         * math/s_nexttowardf.c: Likewise.
42234         * math/s_significand.c: Likewise.
42235         * math/s_significandf.c: Likewise.
42236         * math/s_significandl.c: Likewise.
42237         * math/w_jnl.c: Likewise.
42238         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42239         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42240         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42241         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42242         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42243         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42244         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42245         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42246         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42247         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42248         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42249         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42250         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42251         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42252         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42253         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42254         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42255         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42256         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42257         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42258         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42259         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42260         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42261         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42262         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42263         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42264         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42265         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42266         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42267         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42268         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42269         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42270         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42271         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42272         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42273         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42274         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42275         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42276         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42277         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42278         * sysdeps/ieee754/k_standard.c: Likewise.
42279         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42280         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42281         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42282         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42283         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42284         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42285         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42286         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42287         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42288         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42289         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42290         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42291         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42292         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42293         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42294         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42295         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42296         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42297         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42298         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42299         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42300         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42301         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42302         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42303         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42304         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42305         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42306         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42307         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42308         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42309         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42310         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42311         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42312         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42313         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42314         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42315         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42316         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42317         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42318         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42319         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42320         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42321         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
42322         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
42323         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42324         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42325         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42326         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42327         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42328         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
42329         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
42330         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42331         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42332         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42333         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42334         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42335         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
42336         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42337         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42338         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42339         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42340         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42341         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42342         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42343         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42344         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42345         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42346         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42347         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42348         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42349         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42350         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42351         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42352         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42353         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42354         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42355         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42356         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42357         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42358         * sysdeps/ieee754/s_matherr.c: Likewise.
42359         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42360         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42361         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42362         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42363
42364 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
42365
42366         * crypt/md5.h: Remove __STDC__ conditionals.
42367         * libio/libioP.h: Likewise.
42368         * locale/programs/config.h: Likewise.
42369         * sysdeps/generic/sysdep.h: Likewise.
42370         * sysdeps/i386/asm-syntax.h: Likewise.
42371         * sysdeps/s390/asm-syntax.h: Likewise.
42372         * sysdeps/unix/sysdep.h: Likewise.
42373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42375
42376 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
42377
42378         * libio/libio.h: Remove __STDC__ conditionals.
42379         * malloc/obstack.h: Likewise.
42380         * math/complex.h: Likewise.
42381         * math/math.h: Likewise.
42382         * sysdeps/generic/_G_config.h: Likewise.
42383         * sysdeps/gnu/_G_config.h: Likewise.
42384         * sysdeps/mach/hurd/_G_config.h: Likewise.
42385         * sysdeps/powerpc/bits/mathdef.h: Likewise.
42386         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42387         * sysdeps/sparc/bits/mathdef.h: Likewise.
42388
42389 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
42390
42391         [BZ #13583]
42392         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
42393         Clean up HAS_* macros.
42394         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
42395         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
42396         possible.
42397         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
42398         HAS_AVX.
42399         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42400         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42401         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42402         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42403         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42404
42405 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
42406
42407         * elf/tst-unique3.cc (gets): Remove declaration.
42408         * elf/tst-unique3lib.cc (gets): Likewise.
42409         * elf/tst-unique3lib2.cc (gets): Likewise.
42410         * elf/tst-unique4.cc (gets): Likewise.
42411
42412 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
42413
42414         * include/stdio.h: Add C++ protection.  Add gets declarations and
42415         definitions.
42416         * debug/tst-chk1.c: Don't declare gets here.
42417         * stdio-common/tst-gets.c: Likewise.
42418
42419 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
42420
42421         * posix/glob: Remove directory.
42422
42423 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
42424
42425         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42426
42427 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
42428
42429         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42430         of the non-standard EPFNOSUPPORT.
42431
42432 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42433
42434         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42435         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42436         ANYWHERE set to 1 only on KERN_NO_SPACE error.
42437
42438 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
42439
42440         * wcsmbs/uchar.h: Test __STDC_VERSION__.
42441
42442 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
42443
42444         * nscd/aicache.c (addhstaiX): Do not cache negative results of
42445         transient errors.
42446         * nscd/grpcache.c (cache_addgr): Likewise.
42447         * nscd/hstcache.c (cache_addhst): Likewise.
42448         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42449         * nscd/pwdcache.c (cache_addpw): Likewise.
42450         * nscd/servicescache.c (cache_addserv): Likewise.
42451
42452 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
42453
42454         * malloc/malloc.c: Various cleanups.
42455         * malloc/hooks.c: Likewise.
42456
42457         * stdlib/Makefile (tests): Add bug-fmtmsg1.
42458         * stdlib/bug-fmtmsg1.c: New file.
42459
42460         * stdlib/fmtmsg.c (init): Add missing unlock.
42461         Patch by Peng Haitao <penght@cn.fujitsu.com>.
42462
42463 2012-01-12  Marek Polacek  <polacek@redhat.com>
42464
42465         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42466         and _GNU_SOURCE.
42467
42468 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
42469
42470         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42471         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42472         macro to ensure uniqueness of label name.
42473         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42474         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42475
42476 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
42477
42478         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42479
42480         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42481         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42482         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42483         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42484
42485 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
42486
42487         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42488
42489         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42490         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42491         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42492
42493         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42494
42495         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
42496         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42497         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
42498         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
42499
42500         * math/bits/math-finite.h: Add ldexp support.
42501
42502 2012-01-10  Marek Polacek  <polacek@redhat.com>
42503
42504         * locale/programs/localedef.h (show_archive_content): Add noreturn
42505         attribute.
42506
42507 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
42508
42509         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42510
42511 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42512
42513         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42514
42515         * io/Makefile (headers): Add bits/poll2.h.
42516
42517 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
42518
42519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42520         typo #include statement.
42521
42522 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42523
42524         * include/sys/cdefs.h: Define __attribute_alloc_size.
42525         * catgets/gencat.c: Add alloc_size attribute and apply consistently
42526         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42527         * elf/pldd.c: Likewise.
42528         * iconv/iconv_charmap.c: Likewise.
42529         * iconv/iconvconfig.c: Likewise.
42530         * iconv/strtab.c: Likewise.
42531         * locale/programs/locale.c: Likewise.
42532         * locale/programs/localedef.h: Likewise.
42533         * locale/programs/simple-hash.c: Likewise.
42534         * nscd/nscd.h: Likewise.
42535         * nss/makedb.c: Likewise.
42536         * sysdeps/generic/ldconfig.h: Likewise.
42537         * locale/programs/localedef.c: Remove xmalloc prototype.
42538         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
42539
42540 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
42541
42542         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
42543         appropriate.
42544
42545 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
42546
42547         * math/Makefile (tests): Add tst-CMPLX.
42548         * math/tst-CMPLX.c: New file.
42549
42550         * math/complex.h (CMPLXL): Fix typo.
42551
42552         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
42553         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
42554         GLIBC_2.16.
42555         * debug/tst-chk1.c: Add poll and ppoll tests.
42556         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
42557         * include/sys/poll.h: Add hidden proto for ppoll.
42558         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
42559         * sysdeps/mach/hurd/ppoll.c: Likewise.
42560         * io/ppoll.c: Likewise.
42561         * debug/poll_chk.c: New file.
42562         * debug/ppoll_chk.c: New file.
42563         * include/bits/poll2.h: New file.
42564         * io/bits/poll2.h: New file.
42565
42566         [BZ #1350]
42567         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
42568
42569         * configure.in: static is always set to yes.  Remove.
42570         * config.make.in: Don't set build-static.
42571         * Makeconfig: Remove use of build-static.
42572         * dlfcn/Makefile: Likewise.
42573         * elf/Makefile: Likewise.
42574         * math/Makefile: Likewise.
42575         * misc/Makefile: Likewise.
42576         * nptl/Makefile: Likewise.
42577         * sysdeps/mach/hurd/Makefile: Likewise.
42578
42579         * configure.in: PWD_P is not used anymore.
42580         * config.make.in: Remove PWD_P entry.
42581
42582         * configure.in: Remove last remnants of RANLIB.
42583         No need to check for signed size_t anymore.
42584         Don't set libc_commonpagesize and libc_relro_required here for Alpha
42585         and IA-64.
42586         Remove __builtin_expect test because we require at least gcc 3.4.
42587         * aclocal.m4: Likewise.
42588
42589         * wcsmbs/mbrtoc16.c: Implement using towc function.
42590         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
42591         * wcsmbs/wcsmbsload.c: Likewise.
42592         * iconv/gconv_simple.c: Likewise.
42593         * iconv/gconv_int.h: Likewise.
42594         * iconv/gconv_builtin.h: Likewise.
42595         * iconv/iconv_prog.c: Remove CHAR16 handling.
42596
42597         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
42598
42599         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
42600
42601         * configure.in: Remove --with-elf and --enable-bounded options.
42602         Dont set base_machine for ia64.  More non-ELF conditions removed.
42603         Remove testing and setting of leading underscore information.
42604         * config.make.in (build-bounded): Set to no.
42605         * config.h.in: Remove NO_UNDERSCORES entry.
42606         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
42607         them.
42608         * csu/start.c: Remove !NO_UNDERSCORE code.
42609         * locale/localeinfo.h: Likewise.
42610         * sysdeps/generic/machine-gmon.h: Likewise.
42611         * sysdeps/generic/sysdep.h: Likewise.
42612         * sysdeps/i386/sysdep.h: Likewise.
42613         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42614         * sysdeps/mach/sysdep.h: Likewise.
42615         * sysdeps/s390/s390-32/sysdep.h: Likewise.
42616         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42617         * sysdeps/sh/sysdep.h: Likewise.
42618         * sysdeps/sparc/sparc32/alloca.S: Likewise.
42619         * sysdeps/unix/i386/sysdep.S: Likewise.
42620         * sysdeps/unix/sparc/start.c: Likewise.
42621         * sysdeps/unix/sparc/sysdep.S: Likewise.
42622         * sysdeps/unix/sparc/sysdep.h: Likewise.
42623         * sysdeps/unix/start.c: Likewise.
42624         * sysdeps/unix/x86_64/sysdep.S: Likewise.
42625         * sysdeps/x86_64/sysdep.h: Likewise.
42626
42627 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
42628
42629         [BZ #13553]
42630         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
42631         for non-gcc.
42632         * argp/argp-fmtstream.h: Use const instead __const.
42633         * argp/argp.h: Likewise.
42634         * assert/assert.h: Likewise.
42635         * bits/fenv.h: Likewise.
42636         * bits/sched.h: Likewise.
42637         * bits/sigset.h: Likewise.
42638         * bits/sigthread.h: Likewise.
42639         * catgets/nl_types.h: Likewise.
42640         * conform/data/pthread.h-data: Likewise.
42641         * crypt/crypt-private.h: Likewise.
42642         * crypt/crypt.h: Likewise.
42643         * crypt/crypt_util.c: Likewise.
42644         * ctype/ctype.h: Likewise.
42645         * debug/execinfo.h: Likewise.
42646         * debug/mbsnrtowcs_chk.c: Likewise.
42647         * debug/mbsrtowcs_chk.c: Likewise.
42648         * debug/wcsnrtombs_chk.c: Likewise.
42649         * debug/wcsrtombs_chk.c: Likewise.
42650         * debug/wcstombs_chk.c: Likewise.
42651         * dirent/dirent.h: Likewise.
42652         * dlfcn/dlfcn.h: Likewise.
42653         * elf/neededtest4.c: Likewise.
42654         * grp/grp.h: Likewise.
42655         * gshadow/gshadow.h: Likewise.
42656         * iconv/gconv.h: Likewise.
42657         * iconv/gconv_int.h: Likewise.
42658         * iconv/gconv_simple.c: Likewise.
42659         * iconv/iconv.h: Likewise.
42660         * iconv/loop.c: Likewise.
42661         * iconv/skeleton.c: Likewise.
42662         * include/aio.h: Likewise.
42663         * include/aliases.h: Likewise.
42664         * include/argz.h: Likewise.
42665         * include/arpa/inet.h: Likewise.
42666         * include/assert.h: Likewise.
42667         * include/dirent.h: Likewise.
42668         * include/dlfcn.h: Likewise.
42669         * include/execinfo.h: Likewise.
42670         * include/fcntl.h: Likewise.
42671         * include/fenv.h: Likewise.
42672         * include/glob.h: Likewise.
42673         * include/grp.h: Likewise.
42674         * include/libintl.h: Likewise.
42675         * include/mntent.h: Likewise.
42676         * include/netdb.h: Likewise.
42677         * include/pwd.h: Likewise.
42678         * include/rpc/netdb.h: Likewise.
42679         * include/sched.h: Likewise.
42680         * include/search.h: Likewise.
42681         * include/shadow.h: Likewise.
42682         * include/signal.h: Likewise.
42683         * include/stdio.h: Likewise.
42684         * include/stdlib.h: Likewise.
42685         * include/string.h: Likewise.
42686         * include/sys/socket.h: Likewise.
42687         * include/sys/stat.h: Likewise.
42688         * include/sys/statfs.h: Likewise.
42689         * include/sys/statvfs.h: Likewise.
42690         * include/sys/syslog.h: Likewise.
42691         * include/sys/time.h: Likewise.
42692         * include/sys/uio.h: Likewise.
42693         * include/time.h: Likewise.
42694         * include/unistd.h: Likewise.
42695         * include/utmp.h: Likewise.
42696         * include/wchar.h: Likewise.
42697         * include/wctype.h: Likewise.
42698         * inet/aliases.h: Likewise.
42699         * inet/arpa/inet.h: Likewise.
42700         * inet/netinet/ether.h: Likewise.
42701         * inet/netinet/in.h: Likewise.
42702         * intl/libintl.h: Likewise.
42703         * io/bits/fcntl2.h: Likewise.
42704         * io/fcntl.h: Likewise.
42705         * io/ftw.h: Likewise.
42706         * io/sys/poll.h: Likewise.
42707         * io/sys/stat.h: Likewise.
42708         * io/sys/statfs.h: Likewise.
42709         * io/sys/statvfs.h: Likewise.
42710         * io/utime.h: Likewise.
42711         * libio/bits/stdio.h: Likewise.
42712         * libio/bits/stdio2.h: Likewise.
42713         * libio/libio.h: Likewise.
42714         * libio/libioP.h: Likewise.
42715         * libio/stdio.h: Likewise.
42716         * locale/lc-ctype.c: Likewise.
42717         * locale/locale.h: Likewise.
42718         * login/utmp.h: Likewise.
42719         * malloc/arena.c: Likewise.
42720         * malloc/malloc.c: Likewise.
42721         * malloc/malloc.h: Likewise.
42722         * malloc/mcheck.c: Likewise.
42723         * malloc/mtrace.c: Likewise.
42724         * math/bits/mathcalls.h: Likewise.
42725         * math/fenv.h: Likewise.
42726         * math/math_private.h: Likewise.
42727         * misc/bits/error.h: Likewise.
42728         * misc/bits/syslog.h: Likewise.
42729         * misc/err.h: Likewise.
42730         * misc/error.h: Likewise.
42731         * misc/fstab.h: Likewise.
42732         * misc/mntent.h: Likewise.
42733         * misc/regexp.h: Likewise.
42734         * misc/search.h: Likewise.
42735         * misc/sgtty.h: Likewise.
42736         * misc/sys/mman.h: Likewise.
42737         * misc/sys/syslog.h: Likewise.
42738         * misc/sys/uio.h: Likewise.
42739         * misc/sys/xattr.h: Likewise.
42740         * misc/ttyent.h: Likewise.
42741         * nis/rpcsvc/ypclnt.h: Likewise.
42742         * nss/nss.h: Likewise.
42743         * posix/bits/unistd.h: Likewise.
42744         * posix/fnmatch.h: Likewise.
42745         * posix/glob.h: Likewise.
42746         * posix/sched.h: Likewise.
42747         * posix/spawn.h: Likewise.
42748         * posix/sys/wait.h: Likewise.
42749         * posix/unistd.h: Likewise.
42750         * posix/wordexp.h: Likewise.
42751         * pwd/pwd.h: Likewise.
42752         * resolv/netdb.h: Likewise.
42753         * resource/sys/resource.h: Likewise.
42754         * rt/aio.h: Likewise.
42755         * rt/bits/mqueue2.h: Likewise.
42756         * rt/mqueue.h: Likewise.
42757         * shadow/shadow.h: Likewise.
42758         * signal/signal.h: Likewise.
42759         * socket/send.c: Likewise.
42760         * socket/sendto.c: Likewise.
42761         * socket/sys/socket.h: Likewise.
42762         * stdio-common/printf.h: Likewise.
42763         * stdlib/bits/stdlib.h: Likewise.
42764         * stdlib/fmtmsg.h: Likewise.
42765         * stdlib/monetary.h: Likewise.
42766         * stdlib/stdlib.h: Likewise.
42767         * stdlib/ucontext.h: Likewise.
42768         * streams/stropts.h: Likewise.
42769         * string/argz.h: Likewise.
42770         * string/bits/string2.h: Likewise.
42771         * string/string.h: Likewise.
42772         * string/strings.h: Likewise.
42773         * sunrpc/rpc/auth.h: Likewise.
42774         * sunrpc/rpc/auth_des.h: Likewise.
42775         * sunrpc/rpc/clnt.h: Likewise.
42776         * sunrpc/rpc/netdb.h: Likewise.
42777         * sunrpc/rpc/pmap_clnt.h: Likewise.
42778         * sunrpc/rpc/xdr.h: Likewise.
42779         * sysdeps/generic/inttypes.h: Likewise.
42780         * sysdeps/generic/net/if.h: Likewise.
42781         * sysdeps/generic/sys/swap.h: Likewise.
42782         * sysdeps/gnu/net/if.h: Likewise.
42783         * sysdeps/gnu/utmpx.h: Likewise.
42784         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
42785         * sysdeps/i386/i486/bits/string.h: Likewise.
42786         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
42787         * sysdeps/s390/bits/string.h: Likewise.
42788         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
42789         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
42790         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
42791         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
42792         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
42793         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42794         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42795         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42796         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42797         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42798         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42799         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42800         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42801         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42802         * sysdeps/unix/sysv/linux/readv.c: Likewise.
42803         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42804         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42805         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42806         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42807         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42808         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42809         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42810         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42811         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42812         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42813         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42814         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42815         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42816         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42817         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42818         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42819         * sysvipc/sys/ipc.h: Likewise.
42820         * sysvipc/sys/msg.h: Likewise.
42821         * sysvipc/sys/sem.h: Likewise.
42822         * sysvipc/sys/shm.h: Likewise.
42823         * termios/termios.h: Likewise.
42824         * time/sys/time.h: Likewise.
42825         * time/time.h: Likewise.
42826         * wcsmbs/bits/wchar2.h: Likewise.
42827         * wcsmbs/uchar.h: Likewise.
42828         * wcsmbs/wchar.h: Likewise.
42829         * wctype/wctype.h: Likewise.
42830
42831         [BZ #13551]
42832         * Makeconfig: Remove all but ELF support including AIX support.
42833         * Makerules: Likewise.
42834         * config.h.in: Likewise.
42835         * config.make.in: Likewise.
42836         * configure: Likewise.
42837         * configure.in: Likewise.
42838         * csu/Makefile: Likewise.
42839         * csu/version.c: Likewise.
42840         * debug/Makefile: Likewise.
42841         * dlfcn/Makefile: Likewise.
42842         * elf/Makefile: Likewise.
42843         * extra-lib.mk: Likewise.
42844         * iconv/Makefile: Likewise.
42845         * include/libc-symbols.h: Likewise.
42846         * include/shlib-compat.h: Likewise.
42847         * resolv/Makefile: Likewise.
42848         * resolv/res_libc.c: Likewise.
42849         * rt/Makefile: Likewise.
42850         * sysdeps/i386/asm-syntax.h: Likewise.
42851         * sysdeps/i386/sysdep.h: Likewise.
42852         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42853         * sysdeps/mach/sysdep.h: Likewise.
42854         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42855         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42856         * sysdeps/s390/asm-syntax.h: Likewise.
42857         * sysdeps/s390/s390-32/sysdep.h: Likewise.
42858         * sysdeps/s390/s390-64/sysdep.h: Likewise.
42859         * sysdeps/sh/sysdep.h: Likewise.
42860         * sysdeps/unix/sparc/sysdep.h: Likewise.
42861         * sysdeps/wordsize-32/divdi3.c: Likewise.
42862         * sysdeps/x86_64/sysdep.h: Likewise.
42863
42864         * argp/Versions: Remove _argp_unlock_xxx.
42865
42866         [BZ #13559]
42867         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
42868         * abilist/libBrokenLocale.abilist: Likewise.
42869         * abilist/libanl.abilist: Likewise.
42870         * abilist/libc.abilist: Likewise.
42871         * abilist/libcrypt.abilist: Likewise.
42872         * abilist/libdl.abilist: Likewise.
42873         * abilist/libm.abilist: Likewise.
42874         * abilist/libnsl.abilist: Likewise.
42875         * abilist/libpthread.abilist: Likewise.
42876         * abilist/libresolv.abilist: Likewise.
42877         * abilist/librt.abilist: Likewise.
42878         * abilist/libthread_db.abilist: Likewise.
42879         * abilist/libutil.abilist: Likewise.
42880         * abilist/libnss_db.abilist: New file.
42881
42882         * scripts/abilist.awk: Add support for indirect functions.
42883
42884         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
42885
42886         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
42887
42888         * shlib-versions: Remove entries for ports architectures.
42889
42890         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
42891         files in ports.
42892         * elf/stackguard-macros.h: Remove support for IA-64.
42893         * elf/tst-auditmod1.c: Likewise.
42894         * sysdeps/generic/ldsodefs.h: Likewise.
42895
42896         * sysdeps/unix/sysv/linux/configure.in: Ports should define
42897         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
42898         configure files.
42899
42900         [BZ #13552]
42901         * configure.in: Remove --enable-omitfp support.
42902         * FAQ.in: Adjust.
42903         * config.make.in: Likewise.
42904         * Makeconfig: Likewise.
42905         * manual/install.texi: Likewise.
42906
42907         In case anyone cares, the IA-64 architecture could move to ports.
42908         * sysdeps/ia64/*: Removed.
42909         * sysdeps/unix/sysv/linux/ia64/*: Removed.
42910         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
42911
42912         [BZ #13555]
42913         * configure.in: Remove entries for unsupported architectures.
42914
42915         [BZ #13533]
42916         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
42917         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
42918         routines.
42919         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
42920         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
42921         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
42922         fall back to using wcrtomb.
42923         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
42924         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
42925         renaming.
42926         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
42927         * wcsmbs/tst-c16c32-1.c: New file.
42928
42929         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
42930         local variable.
42931
42932         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
42933
42934         * elf/tst-unique3.cc: Add explicit declaration of gets.
42935         * elf/tst-unique3lib.cc: Likewise.
42936         * elf/tst-unique3lib2.cc: Likewise.
42937         * elf/tst-unique4.cc: Likewise.
42938
42939         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
42940
42941 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
42942
42943         [BZ #13566]
42944         * assert/assert.h (static_assert): Don't define for C++.
42945         * libio/stdio.h (gets): Do declare for C++ <= C++11.
42946         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
42947
42948 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
42949
42950         * iconv/loop.c (single loop): Fix assertion in storing of
42951         remaining bytes.
42952
42953         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
42954
42955 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
42956
42957         * posix/getconf.c: Update copyright year.
42958         * nss/getent.c: Likewise.
42959         * nss/makedb.c: Likewise.
42960         * iconv/iconvconfig.c: Likewise.
42961         * iconv/iconv_prog.c: Likewise.
42962         * elf/ldconfig.c: Likewise.
42963         * elf/pldd.c: Likewise.
42964         * elf/sotruss.ksh: Likewise.
42965         * catgets/gencat.c: Likewise.
42966         * csu/version.c: Likewise.
42967         * elf/ldd.bash.in: Likewise.
42968         * elf/sprof.c (print_version): Likewise.
42969         * locale/programs/locale.c: Likewise.
42970         * locale/programs/localedef.c: Likewise.
42971         * login/programs/pt_chown.c: Likewise.
42972         * nscd/nscd.c (print_version): Likewise.
42973         * debug/xtrace.sh: Likewise.
42974         * malloc/memusage.sh: Likewise.
42975         * malloc/mtrace.pl: Likewise.
42976         * debug/catchsegv.sh: Likewise.
42977
42978 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
42979
42980         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
42981         pure attribute.
42982
42983 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
42984
42985         [BZ #13533]
42986         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
42987         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
42988         transformations.
42989         * iconv/gconv_int.h: Likewise.
42990         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
42991         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
42992         from libc for GLIBC_2.16.
42993         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
42994         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
42995         * wcsmbs/uchar.h: Really define mbstate_t.
42996         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
42997         * wcsmbs/c16rtomb.c: New file.
42998         * wcsmbs/mbrtoc16.c: New file.
42999         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
43000         for C/POSIX locale.
43001         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
43002         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
43003
43004         * wcsmbs/wchar.h: Add missing __restrict.
43005
43006 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
43007
43008         [BZ #13532]
43009         * time/Makefile (routines): Add timespec_get.
43010         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43011         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
43012         timespec for ISO C11.
43013         * time/timespec_get.c: New file.
43014         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43015         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43016
43017         [BZ #13531]
43018         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
43019         * stdlib/stdlib.h: Declare aligned_alloc.
43020         * Versions.def: Add GLIBC_2.16 for libc.
43021         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
43022
43023         [BZ 13527]
43024         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
43025         ISO C11.
43026
43027         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
43028         code.
43029
43030         [BZ #13528]
43031         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
43032
43033         [BZ #13529]
43034         * assert/assert.h (static_assert): Define.
43035
43036         * version.h: Update for 2.16 development version.
43037
43038         [BZ #13526]
43039         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
43040         _ISOC11_SOURCE.
43041
43042         * version.h (RELEASE): Bump for 2.15 release.
43043         * include/features.h (__GLIBC_MINOR__): Bump to 15.
43044
43045         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
43046         Patch by Marek Polacek <mpolacek@redhat.com>.
43047
43048         * bits/byteswap.h: Protect long long constants with __extension__.
43049         * sysdeps/i386/bits/byteswap.h: Likewise.
43050         * sysdeps/ia64/bits/byteswap.h: Likewise.
43051         * sysdeps/s390/bits/byteswap.h: Likewise.
43052         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43053
43054 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43055
43056         [BZ #13540]
43057         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43058         destination buffer.
43059         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43060
43061 2011-12-23  Marek Polacek  <polacek@redhat.com>
43062
43063         * elf/dl-addr.c (determine_info): Add inline keyword.
43064         * elf/tst-auditmod4b.c (check_avx): Likewise.
43065         * elf/tst-auditmod6b.c (check_avx): Likewise.
43066         * elf/tst-auditmod6c.c (check_avx): Likewise.
43067         * elf/tst-auditmod7b.c (check_avx): Likewise.
43068
43069 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
43070
43071         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43072         !__SSE_MATH__.
43073
43074 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43075
43076         [BZ #13540]
43077         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43078         processing for last bytes.
43079
43080 2011-08-06  Bruno Haible  <bruno@clisp.org>
43081
43082         [BZ #13061]
43083         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
43084         U+0385, not to U+1FEE.
43085
43086         [BZ #13062]
43087         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
43088         entry for U+00A5 U+0301.
43089
43090 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
43091
43092         [BZ #13166]
43093         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43094         buffer for the output is too small.
43095
43096         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43097         optimization.
43098
43099         [BZ #13185]
43100         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43101         SSE flags if possible.
43102
43103 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43104
43105         [BZ #13540]
43106         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43107         processing for last bytes.
43108
43109 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
43110
43111         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43112         (syscall-list-default-options, syscall-list-default-condition)
43113         (syscall-list-includes): Define.
43114         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43115         list of ABIs and options and #if conditions for each ABI.  Do not
43116         handle common syscalls between ABIs specially.
43117         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43118         Remove.
43119         (syscall-list-variants, syscall-list-32bit-options)
43120         (syscall-list-32bit-condition, syscall-list-64bit-options)
43121         (syscall-list-64bit-condition): Define.
43122         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43123         (syscall-list-variants, syscall-list-32bit-options)
43124         (syscall-list-32bit-condition, syscall-list-64bit-options)
43125         (syscall-list-64bit-condition): Define.
43126         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43127         Remove.
43128         (syscall-list-variants, syscall-list-32bit-options)
43129         (syscall-list-32bit-condition, syscall-list-64bit-options)
43130         (syscall-list-64bit-condition): Define.
43131         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43132         Remove.
43133         (syscall-list-variants, syscall-list-32bit-options)
43134         (syscall-list-32bit-condition, syscall-list-64bit-options)
43135         (syscall-list-64bit-condition): Define.
43136
43137 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
43138
43139         * locale/iso-639.def: Add brx entry.
43140
43141         [BZ #13328]
43142         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43143         Proposed by Mariusz_Cukr <marcukr@op.pl>.
43144
43145         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43146         __feraiseexcept_renamed.
43147
43148 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
43149
43150         [BZ #13538]
43151         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43152         EPOLLET with unsigned values.
43153         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43154         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43155
43156         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43157         to large cancellation.
43158         * math/s_cacoshf.c: Likewise.
43159         * math/s_cacoshl.c: Likewise.
43160
43161 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
43162
43163         [BZ #13305]
43164         [BZ #12786]
43165         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43166         * math/s_cacoshf.c: Likewise.
43167         * math/s_cacoshl.c: Likewise.
43168
43169 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
43170
43171         [BZ #13439]
43172         * iconv/gconv.h: Define __GCONV_SWAP.
43173         * iconvdata/unicode.c: The swap bit must be stored in __flags.
43174         * iconvdata/utf-16.c: Likewise.
43175         * iconvdata/utf-32.c: Likewise.
43176
43177 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
43178
43179         [BZ #13524]
43180         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43181         numerator after shifting it by one limb.
43182
43183 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
43184
43185         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43186         under [__USE_EXTERN_INLINES].
43187
43188 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
43189
43190         [BZ #13446]
43191         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43192
43193 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43194
43195         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43196         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43197         optimized code.
43198         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
43199         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
43200         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
43201         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
43202         for strncasecmp/strncasecmp_l compilation.
43203         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
43204         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
43205
43206 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
43207
43208         [BZ #13484]
43209         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
43210         of __asm__.
43211
43212 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
43213
43214         [BZ #13506]
43215         * time/tzfile.c (__tzfile_read): Check values from file header.
43216
43217 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
43218
43219         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43220         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43221         * powerpc/powerpc32/dl-start.S: Likewise.
43222         * powerpc/powerpc32/elf/start.S: Likewise.
43223         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43224         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43225         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43226         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43227         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43228         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43229         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43230         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43231         * powerpc/powerpc32/fpu/s_round.S: Likewise.
43232         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43233         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43234         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43235         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43236         * powerpc/powerpc32/memset.S: Likewise.
43237         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43238         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43239         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43240         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43241         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43242         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43243         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43244         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43245         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43246         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43247         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43248         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43249         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43250
43251 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43252
43253         * math/libm-test.inc: Added more nearbyint tests.
43254         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43255         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43256         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43257         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43258
43259 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
43260
43261         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43262         FD_CLOEXEC.
43263
43264 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43265
43266         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43267         Add wcscpy-ssse3 wcscpy-c.
43268         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43269         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43270         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43271         * sysdeps/x86_64/wcschr.S: New file.
43272         * sysdeps/x86_64/wcsrchr.S: New file.
43273         * string/test-strcmp.c: Remove checking of wcscmp function for
43274         wrong alignments.
43275         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43276         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43277         wcsrchr-sse2 wcsrchr-c.
43278         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43279         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43280         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43281         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43282         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43283         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43284         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43285         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43286         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43287         * wcsmbc/wcschr.c (WCSCHR): New macro.
43288
43289 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43290
43291         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43292         * wcsmbs/test-wcsrchr.c: New file.
43293         * string/test-strrchr.c: Add wcsrchr support.
43294         (WIDE): New macro.
43295         * wcsmbs/test-wcscpy.c: New file.
43296         * string/test-strcpy.c: Add wcscpy support.
43297         (WIDE): New macro.
43298
43299 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
43300
43301         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43302         the inner loop.
43303
43304 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
43305
43306         [BZ #13472]
43307         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43308
43309 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
43310
43311         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
43312         Minor optimizations.
43313
43314         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43315         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43316         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43317
43318 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
43319
43320         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43321         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
43322         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
43323         for gcc to avoid warnings.
43324         * inet/Makefile (tests): Add tst-checks.
43325         * inet/tst-checks.c: New file.
43326
43327         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
43328         warning.
43329
43330         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
43331         __wmemcmp_sse2.
43332
43333         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
43334         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
43335
43336         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
43337
43338 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
43339
43340         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
43341         problem.
43342
43343         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
43344
43345 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
43346
43347         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
43348         conditional on GCC version.
43349         (__arch_compare_and_exchange_val_8_acq)
43350         (__arch_compare_and_exchange_val_16_acq)
43351         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
43352         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
43353         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
43354
43355 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
43356
43357         * sysdeps/sh/backtrace.c: New file.
43358
43359 2011-12-02  Andreas Schwab  <schwab@redhat.com>
43360
43361         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
43362         parenthesis.
43363
43364 2011-12-01  Andreas Schwab  <schwab@redhat.com>
43365
43366         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
43367         falling back to utime.
43368
43369 2011-11-30  Andreas Schwab  <schwab@redhat.com>
43370
43371         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
43372         expectations for float.
43373
43374 2011-11-29  Andreas Schwab  <schwab@redhat.com>
43375
43376         * locale/weight.h (findidx): Add parameter len.
43377         * locale/weightwc.h (findidx): Likewise.
43378         * posix/fnmatch_loop.c (FCT): Adjust caller.
43379         * posix/regcomp.c (build_equiv_class): Likewise.
43380         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
43381         * posix/regexec.c (check_node_accept_bytes): Likewise.
43382         * string/strcoll_l.c (STRCOLL): Likewise.
43383         * string/strxfrm_l.c (STRXFRM): Likewise.
43384
43385 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
43386
43387         * Makefile.in: Remove CVSOPT handling.
43388         * configure.in: Remove use of AC_REVISION.
43389         * iconvdata/Makefile (distribute): No need to filter out CVS.
43390         * scripts/list-sources.sh: Remove CVS, subversion and monotone
43391         handling.
43392
43393 2011-11-16  Andreas Schwab  <schwab@redhat.com>
43394
43395         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
43396         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
43397         [USE_AS_STRNCASECMP_L]: Likewise.
43398         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
43399         NO_TLS_DIRECT_SEG_REFS.
43400         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43401         Fix argument offsets for non-PIC.
43402         [USE_AS_STRNCASECMP_L]: Likewise.
43403         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43404         NO_TLS_DIRECT_SEG_REFS.
43405
43406 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
43407
43408         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
43409         O_CLOEXEC.
43410         * locale/loadlocale.c (_nl_load_locale): Likewise.
43411
43412 2011-11-15  Andreas Schwab  <schwab@redhat.com>
43413
43414         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43415         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43416         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43417         (SYSCALL_GETTIME): Set errno on error.
43418
43419         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43420         count references to noai6ai_cached.
43421
43422 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
43423
43424         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43425
43426         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43427         FD_CLOEXEC for /proc/self/maps.
43428
43429         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43430         FD_CLOEXEC for /proc/meminfo.
43431
43432         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43433         gai.conf.
43434
43435         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
43436         FD_CLOEXEC for given file.
43437
43438         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43439
43440         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43441         FD_CLOEXEC for /etc/hosts.
43442         (_gethtent): Likewise.
43443
43444         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43445
43446         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43447         cancellation and set FD_CLOEXEC for /etc/netgroup.
43448
43449         * nss/nss_files/files-key.c (search): Don't allow cancellation when
43450         reading /etc/publickey.
43451
43452         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43453         allow cancellation when reading /etc/group.
43454
43455         * nss/nss_files/files-alias.c (internal_setent): Don't allow
43456         cancellation.
43457         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
43458
43459         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43460         when using data file.
43461
43462         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43463
43464         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43465         (write_nis_obj): Use "c" and "e" in fopen.
43466
43467         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43468
43469         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43470
43471         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43472
43473         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43474
43475         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43476         locale.alias.
43477
43478         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43479
43480         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43481
43482         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43483
43484         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43485         file parsing and set FD_CLOEXEC.
43486
43487 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
43488
43489         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43490
43491 2011-11-14  Andreas Schwab  <schwab@redhat.com>
43492
43493         * malloc/arena.c (arena_get2): Don't call reused_arena when
43494         _int_new_arena failed.
43495
43496 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
43497
43498         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43499         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43500         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43501         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43502         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43503         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43504         to compile strcasecmp and strncasecmp.
43505         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43506         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43507
43508         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43509
43510 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
43511
43512         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43513         locale-defines.sym to gen-as-const-headers.
43514         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43515         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43516         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43517         to compile strcasecmp and strncasecmp.
43518         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43519         strcasecmp_l and strncasecmp_l.
43520         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43521         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43522         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43523         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43524         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43525         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43526         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43527         * sysdeps/i386/i686/multiarch/strncase.S: New file.
43528         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43529         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43530         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43531
43532 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
43533
43534         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
43535         result of SYSDEP_GETTIME_CPU to retval.
43536         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
43537         parameter list to macro.  Remove trailing semicolon.  Adjust users.
43538
43539         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
43540         variable.
43541
43542         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
43543         mantissa words.
43544         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
43545
43546         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
43547         from unused variable.
43548
43549         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
43550         DWARF definitions.
43551         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
43552         for assembling.
43553
43554         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
43555         over namespaces.
43556
43557         * sunrpc/rpc_prot.c (rejected): Fix case value.
43558
43559         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
43560         unsigned long long int to avoid warnings in shift.
43561
43562         * posix/regex_internal.c (re_string_reconstruct): Actually use result
43563         of use of trans.
43564         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
43565         variable tmp.
43566
43567         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
43568         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43569         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43570
43571         * nis/nis_table.c (nis_list): Use variable of correct type for
43572         result of __follow_path call.
43573
43574 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43575
43576         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
43577         of math functions ceil, trunc, floor, round, and sqrt, when
43578         avaliable on the platform.
43579         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
43580         name clash.
43581         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43582         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43583         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43584
43585 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
43586
43587         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
43588         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43589
43590 2011-11-11  Roland McGrath  <roland@hack.frob.com>
43591
43592         * include/unistd.h: Fix __readlink return type.
43593         Reported by Chris Metcalf <cmetcalf@tilera.com>.
43594
43595 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
43596
43597         * stdlib/ucontext.h: Undo last change for makecontext.
43598
43599 2011-11-11  Andreas Schwab  <schwab@redhat.com>
43600
43601         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
43602
43603         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
43604         * setjmp/setjmp.h: Mark functions as non-leaf.
43605         * setjmp/bits/setjmp2.h: Likewise.
43606         * stdlib/ucontext.h: Likewise.
43607
43608 2011-11-10  Andreas Schwab  <schwab@redhat.com>
43609
43610         * malloc/arena.c (_int_new_arena): Don't increment narenas.
43611         (reused_arena): Don't check arena limit.
43612         (arena_get2): Atomically check arena limit.
43613
43614 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
43615
43616         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
43617         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
43618
43619         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
43620         instructions.
43621
43622 2011-11-07  Andreas Schwab  <schwab@redhat.com>
43623
43624         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
43625         handler when locking.
43626
43627         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43628         Fix size of allocated buffer.
43629
43630 2011-11-04  Andreas Schwab  <schwab@redhat.com>
43631
43632         [BZ #10103]
43633         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
43634         declarations for long double functions.
43635         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
43636
43637         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
43638
43639 2011-11-03  Andreas Schwab  <schwab@redhat.com>
43640
43641         * nscd/nscd.c (main): Don't start AVC thread until credentials are
43642         installed.
43643
43644         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
43645         is disabled.
43646
43647 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43648
43649         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
43650
43651 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
43652
43653         * include/alloca.h (stackinfo_alloca_round): Define.
43654         (extend_alloca): Use it.
43655         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
43656         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
43657         here.
43658
43659         * scripts/check-local-headers.sh: Ignore libaudit.h.
43660
43661         * nscd/Makefile (extra-objs): Make recursively expanded.
43662
43663 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
43664
43665         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
43666         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43667
43668         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
43669         * posix/tst-rfc3484-2.c: Likewise.
43670         * posix/tst-rfc3484-3.c: Likewise.
43671
43672         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43673         process_vm_writev.
43674         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
43675         process_vm_writev.
43676         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
43677         process_vm_writev from libc using GLIBC_2.15 version.
43678
43679         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
43680
43681 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
43682
43683         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
43684         stack usage.
43685
43686 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
43687
43688         [BZ #13367]
43689         * nss/getent.c (initgroups_keys): Show error message in case no group
43690         names are given.
43691
43692         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
43693         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
43694         __bump_nl_timestamp.
43695         * nscd/connections (nscd_init): When host database is served open
43696         netlink socket and request notification about configuration changes.
43697         (main_loop_poll): Track netlink file descriptor and bump timestamp
43698         in case data becomes available.
43699         (main_loop_epoll): Likewise.
43700         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
43701         (database_pers_head): Add extra_data fileds.
43702         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
43703         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
43704         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
43705         Adjust caller.
43706         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
43707         in6ai data, call __free_in6ai.
43708         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
43709         Add -DHAVE_NETLINK.
43710         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
43711         interface information.  Reuse previous data if netlink timestamp
43712         is not changed.
43713         (__bump_nl_timestamp): New function.
43714         (__free_in6ai): New function.
43715
43716 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
43717
43718         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
43719         close_not_cancel_no_status here.
43720         (__check_pf): Reorganize code a bit to not call close twice if OOM.
43721
43722 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
43723
43724         [BZ #13276]
43725         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
43726         return value.
43727
43728         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
43729         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
43730         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
43731
43732 2011-07-03  Andreas Jaeger  <aj@suse.de>
43733
43734         [BZ #10709]
43735         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
43736         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
43737         * math/libm-test.inc (sin_test): Add test case.
43738
43739 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
43740
43741         [BZ #13337]
43742         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
43743         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43744
43745         * elf/chroot_canon.c (chroot_canon): Cleanups.
43746
43747         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
43748
43749         [BZ #13335]
43750         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
43751         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43752
43753         * string/test-strchr.c: Make usable for strchrnul testing.
43754         * string/test-strchrnul.c: New file.
43755         * string/Makefile (strop-tests): Add strchrnul.
43756
43757         * po/it.po: Update from translation team.
43758         * po/es.po: Likewise.
43759
43760 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
43761
43762         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
43763         the three constants needed as parameters.  Drop the others.
43764         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
43765         __m128i_strloadu_tolower.
43766         Create and initialize variable zero and use it in all the places
43767         where _mm_setzero_si128 was used.
43768
43769         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
43770         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
43771         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
43772         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
43773         anymore.
43774         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
43775         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
43776         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
43777         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
43778         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
43779         __mpranred, __mptan.
43780         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
43781         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
43782         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
43783         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
43784         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
43785         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
43786         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
43787         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
43788         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
43789
43790 2011-10-28  Andreas Schwab  <schwab@redhat.com>
43791
43792         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
43793         redefine if SHARED.
43794         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43795
43796         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43797         wide char related routines to wcsmbs subdir.
43798
43799 2011-10-27  Andreas Schwab  <schwab@redhat.com>
43800
43801         [BZ #13344]
43802         * misc/sys/cdefs.h (__THROWNL): Define.
43803         * posix/unistd.h: Use __THREADNL instead of __THREAD
43804         for memory synchronization functions.
43805
43806 2011-10-26  Roland McGrath  <roland@hack.frob.com>
43807
43808         [BZ #13349]
43809         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43810         doesn't exist.
43811         * manual/stdio.texi (Obstack Streams): Node removed.
43812
43813 2011-10-26  Andreas Schwab  <schwab@redhat.com>
43814
43815         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43816         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43817         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43818
43819         * math/math_private.h (math_force_eval): Allow non-addressable
43820         arguments.
43821         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43822
43823 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
43824
43825         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43826         file is not needed.
43827
43828         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43829         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43830         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43831         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43832         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43833         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43834         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43835         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43836         Add AVX variants.
43837         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43838         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43839         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43840         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43841         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43842         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43843         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43844         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43845         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43846         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43847         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43848         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43849         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43850         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43851         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43852         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43853         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43854         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43855         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43856
43857         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
43858         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
43859
43860         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
43861         place.  Use VEX encoding when compiling for AVX.
43862
43863 2011-10-25  Andreas Schwab  <schwab@redhat.com>
43864
43865         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
43866         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
43867
43868         * string/test-strchr.c (do_test): Don't generate NUL bytes.
43869
43870 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
43871
43872         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
43873         useless if() expression.
43874         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43875         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43876         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43877         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43878         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43879         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43880         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43881         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43882         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43883         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43884         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43885         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43886         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43887         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43888         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43889         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43890         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43891         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43892         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43893
43894         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
43895
43896 2011-10-25  Andreas Schwab  <schwab@redhat.com>
43897
43898         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
43899         condition.
43900         * elf/dl-fini.c (_dl_sort_fini): Likewise.
43901
43902 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
43903
43904         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
43905         .text section.  Avoid duplicate constants.
43906         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43907         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43908         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43909         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43910         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43911         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43912         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43913         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43914         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43915         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
43916         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43917         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43918         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43919         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43920         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43921         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43922         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43923         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43924         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43925         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43926         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43927         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43928         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43929         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
43930         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
43931         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
43932         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
43933         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
43934         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
43935         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
43936         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
43937         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
43938         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43939         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
43940         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
43941         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
43942         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
43943         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
43944         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
43945         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
43946         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
43947         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
43948         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
43949         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
43950         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
43951
43952 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
43953
43954         * sysdeps/x86_64/dla.h: Move to ...
43955         * sysdeps/x86_64/fpu/dla.h: ...here.
43956         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
43957         situations.  Use __builtin_fma only for gcc 4.6 and up.
43958
43959         * config.make.in: Add have-mfma4 entry.
43960         * configure.in: Substitute libc_cv_cc_fma4.
43961         * math/Makefile (dbl-only-routines): Add sincostab.
43962         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
43963         Use __sincostab not sincos.
43964         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
43965         name is a macro.
43966         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43967         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43968         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43969         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
43970         using __copysign.
43971         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
43972         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
43973         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
43974         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
43975         and __inv.
43976         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
43977         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
43978         __copysign.
43979         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
43980         define aliases when function name is a macro.
43981         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
43982         sysdeps/ieee754/dbl-64/sincos.tbl.
43983         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
43984         fma4-enabled routines.
43985         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
43986         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
43987         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
43988         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
43989         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
43990         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
43991         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
43992         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
43993         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
43994         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
43995         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
43996         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
43997         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
43998         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
43999         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
44000         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
44001         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
44002         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
44003         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
44004         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
44005         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
44006         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
44007         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
44008         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
44009         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
44010         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44011         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44012         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44013         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44014         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44015
44016         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
44017         rename.
44018         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44019         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44020         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44021         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44022         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44023         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44024         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44025         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44026
44027 2011-10-24  Andreas Schwab  <schwab@redhat.com>
44028
44029         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
44030
44031 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44032
44033         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
44034
44035         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
44036         prediction.
44037         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44038
44039         * string/strnlen.c: Don't define STRNLEN, reverse logic.
44040         Remove unused variable magic_bits.
44041         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
44042
44043         * string/strnlen.c: Define and use STRNLEN macro.
44044         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
44045         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
44046         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
44047         * wcsmbs/wcslen.c: Define and use WCSLEN.
44048         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
44049         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
44050         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
44051         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
44052         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
44053         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
44054         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44055
44056 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44057
44058         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44059         strnlen-sse2-no-bsf.
44060         Rename strlen-no-bsf to strlen-sse2-no-bsf.
44061         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44062         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44063         Add strnlen support.
44064         (USE_AS_STRNLEN): New macro.
44065         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44066         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44067         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44068         * sysdeps/x86_64/wcslen.S: New file.
44069
44070 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
44071
44072         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44073         XMM-moves are used for copying on small sizes.
44074
44075 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44076
44077         * wcsmbs/Makefile (strop-tests): Add wcschr.
44078         * wcsmbs/test-wcschr.c: New file.
44079         * string/test-strchr.c: Update.
44080         Add wcschr support.
44081         (WIDE): New macro.
44082
44083 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44084
44085         * wcsmbs/Makefile (strop-tests): Add wcslen.
44086         * wcsmbs/test-wcslen.c: New file.
44087         * string/test-strlen.c: Update.
44088         Add wcslen support.
44089         (WIDE): New macro.
44090
44091 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44092
44093         * po/it.po: Update from translation team.
44094
44095 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44096
44097         * sysdeps/x86_64/wcscmp.S: Update.
44098         Fix wrong comparison semantics.
44099         wcscmp shall use signed comparison not unsigned.
44100         Don't use substraction to avoid overflow bug.
44101         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44102         * wcsmbc/wcscmp.c: Likewise.
44103         * string/test-strcmp.c: Likewise.
44104         Add new tests to check cases with negative values.
44105
44106 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
44107
44108         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44109         * sysdeps/x86_64/dla.h: ...here.  New file.
44110         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44111         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44112         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44113         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44114         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44115         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44116         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44117         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44118         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44119
44120 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
44121
44122         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44123         __ynl_finite aliases.
44124
44125 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
44126
44127         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44128
44129         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44130         define DLA_FMA.
44131         [DLA_FMA] (EMULV): Use DLA_FMA.
44132         [DLA_FMA] (MUL12): Use EMULV.
44133         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44134         that are not needed.
44135         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44136         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44137         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44138         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44139         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44140         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44141         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44142
44143 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
44144
44145         * math/s_nan.c: Undef __nan.
44146         * math/s_nanf.c: Undef __nanf.
44147         * math/s_nanl.c: Undef __nanl.
44148         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44149         "math_private.h".
44150
44151 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
44152
44153         * math/s_catan.c: Add branch predictions.
44154         * math/s_catanf.c: Likewise.
44155         * math/s_catanh.c: Likewise.
44156         * math/s_catanhf.c: Likewise.
44157         * math/s_catanhl.c: Likewise.
44158         * math/s_catanl.c: Likewise.
44159         * math/s_cexp.c: Likewise.
44160         * math/s_cexpf.c: Likewise.
44161         * math/s_cexpl.c: Likewise.
44162         * math/s_clog.c: Likewise.
44163         * math/s_clog10.c: Likewise.
44164         * math/s_clog10f.c: Likewise.
44165         * math/s_clog10l.c: Likewise.
44166         * math/s_clogf.c: Likewise.
44167         * math/s_clogl.c: Likewise.
44168         * math/s_csqrt.c: Likewise.
44169         * math/s_csqrtf.c: Likewise.
44170         * math/s_csqrtl.c: Likewise.
44171         * math/s_ctanf.c: Likewise.
44172         * math/s_ctanh.c: Likewise.
44173         * math/s_ctanhf.c: Likewise.
44174         * math/s_ctanhl.c: Likewise.
44175         * math/s_ctanl.c: Likewise.
44176
44177         * math/math_private.h: Define __nan, __nanf, __nanl.
44178         * math/s_cacosh.c: Include <math_private.h>.
44179         * math/s_cacoshl.c: Likewise.
44180         * math/s_casinh.c: Likewise.
44181         * math/s_casinhf.c: Likewise.
44182         * math/s_casinhl.c: Likewise.
44183         * math/s_ccos.c: Rely entire on ccosh.
44184         * math/s_ccosf.c: Rely entire on ccoshf.
44185         * math/s_ccosl.c: Rely entirely on ccoshl.
44186         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
44187         Remove tests for FE_INVALID.
44188         * math/s_ccoshf.c: Likewise.
44189         * math/s_ccoshl.c: Likewise.
44190         * math/s_csin.c: Likewise.
44191         * math/s_csinf.c: Likewise.
44192         * math/s_csinh.c Likewise.
44193         * math/s_csinhf.c: Likewise.
44194         * math/s_csinhl.c: Likewise.
44195         * math/s_csinl.c: Likewise.
44196         * math/s_ctan.c: Likewise.
44197         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44198         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
44199         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
44200
44201 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
44202
44203         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
44204         compilation problems.
44205
44206         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
44207         __builtin_expect.
44208
44209 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
44210
44211         * sysdeps/i386/configure.in: Test for -mfma4 option.
44212         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44213         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44214         COMMON_CPUID_INDEX_80000001.
44215         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44216         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44217         use it if FMA3 is not supported.
44218         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44219
44220         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44221         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44222
44223 2011-10-20  Andreas Schwab  <schwab@redhat.com>
44224
44225         [BZ #12892]
44226         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44227         it would create a cycle with a link time dependency.
44228
44229 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
44230
44231         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44232         instruction.
44233         * string/Makefile (strop-tests): Add rawmemchr.
44234         * string/test-rawmemchr.c: New file.
44235
44236         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44237         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
44238         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
44239         when compiling str{,n}casecmp and when AVX is available.  Hook up
44240         new optimized code in initializers.
44241
44242 2011-10-19  Andreas Schwab  <schwab@redhat.com>
44243
44244         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44245         __feraiseexcept instead of feraiseexcept.
44246
44247 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
44248
44249         * math/math_private.h: Define defaults for libc_fetestexcept and
44250         libc_feupdateenv.
44251         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44252         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44253         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44254         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44255         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44256         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44257         libc_fetestexcept and libc_feupdateenv.
44258
44259         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44260         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44261         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44262         * sysdeps/x86_64/fpu/math_private.h: Define special version of
44263         libc_feholdexcept_setround.
44264
44265         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44266         Add s_nearbyint-c and s_nearbyintf-c.
44267         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44268         nearbyintf inlines.
44269         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44270         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44271         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44272         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44273
44274         * math/math_private.h: Define defaults for libc_fegetround,
44275         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44276         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44277         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44278         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44279         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44280         standard functions.
44281         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44282         Remove comments and hacks for old compiler versions.
44283         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44284         libc_fegetround, libc_fesetround, libc_feholdexcept, and
44285         libc_feholdexceptl.
44286
44287 2011-10-18  Andreas Schwab  <schwab@redhat.com>
44288
44289         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
44290         (__feraiseexcept_renamed): Add __NTH.
44291         (feraiseexcept): Add __NTH.  Rename local variables to fix
44292         namespace violations.
44293
44294 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
44295
44296         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44297
44298         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44299
44300         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44301         recently added interfaces.
44302         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44303
44304         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44305         about macro parameter expansion.
44306
44307         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44308         __NO_MATH_INLINES is defined.  Cleanups.
44309
44310         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44311         and __floorf is target has SSE4.1.
44312         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44313         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44314         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44315         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44316
44317         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44318         name.
44319         (floorf): Likewise.
44320
44321         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
44322
44323 2011-10-17  Andreas Schwab  <schwab@redhat.com>
44324
44325         * misc/sys/cdefs.h: Fix last change.
44326
44327         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
44328         database lookup.
44329
44330 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
44331
44332         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
44333
44334         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
44335         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44336         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44337         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44338         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44339         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44340         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44341         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44342         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44343         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
44344         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
44345         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
44346         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
44347         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
44348         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
44349         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
44350         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
44351         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
44352         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
44353         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
44354         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
44355         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
44356
44357         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
44358         ceil, ceilf, floor, floorf.
44359
44360         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
44361         Perform IRELATIVE relocations last.
44362
44363         * elf/do-rel.h: Add another parameter nrelative, replacing the
44364         local variable with the same name.  Change name of the function
44365         to end in Rel or Rela (uppercase).
44366         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
44367         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
44368         elf_dynamic_do_##reloc function.
44369
44370 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
44371
44372         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
44373         is sufficient, at least on modern CPUs.
44374
44375         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
44376
44377         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
44378         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
44379
44380         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
44381         __expl_finite.
44382         * math/bits/math-finite.h: Add entries for exp.
44383         * math/e_expl.c: Add __*_finite alias.
44384         * sysdeps/i386/fpu/e_exp.S: Likewise.
44385         * sysdeps/i386/fpu/e_expf.S: Likewise.
44386         * sysdeps/i386/fpu/e_expl.c: Likewise.
44387         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44388         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44389         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44390         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44391         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
44392         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44393         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44394
44395         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
44396         is sufficient, at least on modern CPUs.
44397
44398         * ctype/ctype-info.c (__ctype_init): Define.
44399         * include/ctype.h (__ctype_init): Declare.
44400         (__ctype_b_loc): The variable is always initialized.
44401         (__ctype_toupper_loc): Likewise.
44402         (__ctype_tolower_loc): Likewise.
44403         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44404         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44405
44406 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
44407
44408         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44409
44410         * configure.in: Also look in $cxxmachine/include for C++ system
44411         headers.
44412
44413 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44414
44415         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44416         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44417         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44418         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
44419         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44420         (USE_AS_WMEMCMP): New macro.
44421         Fixing indents.
44422         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44423         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44424         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44425         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44426         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44427         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44428         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44429         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44430         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44431         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44432         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44433         (USE_AS_WMEMCMP): New macro.
44434         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44435         * sysdeps/string/test-memcmp.c: Update.
44436         Fix simple_wmemcmp.
44437         Add new tests.
44438         * wcsmbs/wmemcmp.c: Update.
44439         (WMEMCMP): New macro.
44440         Fix overflow bug.
44441
44442 2011-10-12  Andreas Jaeger  <aj@suse.de>
44443
44444         [BZ #13268]
44445         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44446
44447 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
44448
44449         * libio/iofwide.c (do_length): Avoid warning.
44450
44451         * ctype/ctype.h (__isctype_f): Add missing __THROW.
44452
44453 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
44454
44455         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44456
44457         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44458         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44459         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44460         * sysdeps/i386/i686/fpu/e_log.S: New file.
44461         * sysdeps/i386/i686/fpu/e_logf.S: New file.
44462         * sysdeps/i386/i686/fpu/e_logl.S: New file.
44463
44464         * ctype/ctype.h: Add support for inlined isXXX functions when
44465         compiling C++ code.
44466
44467 2011-10-14  Andreas Schwab  <schwab@redhat.com>
44468
44469         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44470
44471         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44472
44473 2011-10-13  Roland McGrath  <roland@hack.frob.com>
44474
44475         [BZ #13291]
44476         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44477
44478 2011-10-13  Andreas Schwab  <schwab@redhat.com>
44479
44480         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44481         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44482         feraiseexcept.
44483
44484         * sysdeps/x86_64/memrchr.S: Check for zero size.
44485
44486         * string/stratcliff.c: Add memrchr tests.
44487
44488 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44489
44490         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44491         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44492         rawmemchr-sse2 rawmemchr-sse2-bsf.
44493         * sysdeps/i386/i686/multiarch/memchr.S: New file.
44494         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44495         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44496         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44497         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44498         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44499         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44500         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44501         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44502         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44503         * string/memrchr.c (MEMRCHR): New macro.
44504
44505 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
44506
44507         Add integration with gcc's -ffinite-math-only and optimize wrapper
44508         functions in libm.
44509         * Versions.def: Define GLIBC_2.15 version for libm.
44510         * math/Makefile (headers): Add bits/math-finite.h.
44511         * math/bits/math-finite.h: New file.
44512         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44513         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44514         * math/e_acoshl.c: Add __*_finite alias.
44515         * math/e_acosl.c: Likewise.
44516         * math/e_asinl.c: Likewise.
44517         * math/e_atan2l.c: Likewise.
44518         * math/e_atanhl.c: Likewise.
44519         * math/e_coshl.c: Likewise.
44520         * math/e_exp10.c: Likewise.
44521         * math/e_exp10f.c: Likewise.
44522         * math/e_exp10l.c: Likewise.
44523         * math/e_exp2l.c: Likewise.
44524         * math/e_fmodl.c: Likewise.
44525         * math/e_gammal_r.c: Likewise.
44526         * math/e_hypotl.c: Likewise.
44527         * math/e_j0l.c: Likewise.
44528         * math/e_j1l.c: Likewise.
44529         * math/e_jnl.c: Likewise.
44530         * math/e_lgammal_r.c: Likewise.
44531         * math/e_log10l.c: Likewise.
44532         * math/e_log2l.c: Likewise.
44533         * math/e_logl.c: Likewise.
44534         * math/e_powl.c: Likewise.
44535         * math/e_sinhl.c: Likewise.
44536         * math/e_sqrtl.c: Likewise.
44537         * math/e_scalb.c: Completely rewritten and optimized.
44538         * math/e_scalbf.c: Likewise.
44539         * math/e_scalbl.c: Likewise.
44540         * math/w_acos.c: Likewise.
44541         * math/w_acosf.c: Likewise.
44542         * math/w_acosl.c: Likewise.
44543         * math/w_acosh.c: Likewise.
44544         * math/w_acoshf.c: Likewise.
44545         * math/w_acoshl.c: Likewise.
44546         * math/w_asin.c: Likewise.
44547         * math/w_asinf.c: Likewise.
44548         * math/w_asinl.c: Likewise.
44549         * math/w_atan2.c: Likewise.
44550         * math/w_atan2f.c: Likewise.
44551         * math/w_atan2l.c: Likewise.
44552         * math/w_atanh.c: Likewise.
44553         * math/w_atanhf.c: Likewise.
44554         * math/w_atanhl.c: Likewise.
44555         * math/w_exp10.c: Likewise.
44556         * math/w_exp10f.c: Likewise.
44557         * math/w_exp10l.c: Likewise.
44558         * math/w_fmod.c: Likewise.
44559         * math/w_fmodf.c: Likewise.
44560         * math/w_fmodl.c: Likewise.
44561         * math/w_j0.c: Likewise.
44562         * math/w_j0f.c: Likewise.
44563         * math/w_j0l.c: Likewise.
44564         * math/w_j1.c: Likewise.
44565         * math/w_j1f.c: Likewise.
44566         * math/w_j1l.c: Likewise.
44567         * math/w_jn.c: Likewise.
44568         * math/w_jnf.c: Likewise.
44569         * math/w_log.c: Likewise.
44570         * math/w_logf.c: Likewise.
44571         * math/w_logl.c: Likewise.
44572         * math/w_log10.c: Likewise.
44573         * math/w_log10f.c: Likewise.
44574         * math/w_log10l.c: Likewise.
44575         * math/w_log2.c: Likewise.
44576         * math/w_log2f.c: Likewise.
44577         * math/w_log2l.c: Likewise.
44578         * math/w_pow.c: Likewise.
44579         * math/w_powf.c: Likewise.
44580         * math/w_powl.c: Likewise.
44581         * math/w_remainder.c: Likewise.
44582         * math/w_remainderf.c: Likewise.
44583         * math/w_remainderl.c: Likewise.
44584         * math/w_scalb.c: Likewise.
44585         * math/w_scalbf.c: Likewise.
44586         * math/w_scalbl.c: Likewise.
44587         * math/w_sqrt.c: Likewise.
44588         * math/w_sqrtf.c: Likewise.
44589         * math/w_sqrtl.c: Likewise.
44590         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
44591         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
44592         used.
44593         * math/math_private.h: Declare __kernel_standard_f.
44594         * math/w_cosh.c: Remove cruft and optimize a bit.
44595         * math/w_coshf.c: Likewise.
44596         * math/w_coshl.c: Likewise.
44597         * math/w_exp2.c: Likewise.
44598         * math/w_exp2f.c: Likewise.
44599         * math/w_exp2l.c: Likewise.
44600         * math/w_hypot.c: Likewise.
44601         * math/w_hypotf.c: Likewise.
44602         * math/w_hypotl.c: Likewise.
44603         * math/w_lgamma.c: Likewise.
44604         * math/w_lgamma_r.c: Likewise.
44605         * math/w_lgammaf.c: Likewise.
44606         * math/w_lgammaf_r.c: Likewise.
44607         * math/w_lgammal.c: Likewise.
44608         * math/w_lgammal_r.c: Likewise.
44609         * math/w_sinh.c: Likewise.
44610         * math/w_sinhf.c: Likewise.
44611         * math/w_sinhl.c: Likewise.
44612         * math/w_tgamma.c: Likewise.
44613         * math/w_tgammaf.c: Likewise.
44614         * math/w_tgammal.c: Likewise.
44615         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44616         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44617         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
44618         Minor optimizations.  Pretty printing.  Remove cruft.
44619         * sysdeps/i386/fpu/e_acosf.S: Likewise.
44620         * sysdeps/i386/fpu/e_acosh.S: Likewise.
44621         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44622         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44623         * sysdeps/i386/fpu/e_acosl.c: Likewise.
44624         * sysdeps/i386/fpu/e_asin.S: Likewise.
44625         * sysdeps/i386/fpu/e_asinf.S: Likewise.
44626         * sysdeps/i386/fpu/e_atan2.S: Likewise.
44627         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
44628         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
44629         * sysdeps/i386/fpu/e_atanh.S: Likewise.
44630         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44631         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44632         * sysdeps/i386/fpu/e_exp10.S: Likewise.
44633         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
44634         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
44635         * sysdeps/i386/fpu/e_exp2.S: Likewise.
44636         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
44637         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
44638         * sysdeps/i386/fpu/e_fmod.S: Likewise.
44639         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
44640         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
44641         * sysdeps/i386/fpu/e_hypot.S: Likewise.
44642         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
44643         * sysdeps/i386/fpu/e_log.S: Likewise.
44644         * sysdeps/i386/fpu/e_log10.S: Likewise.
44645         * sysdeps/i386/fpu/e_log10f.S: Likewise.
44646         * sysdeps/i386/fpu/e_log10l.S: Likewise.
44647         * sysdeps/i386/fpu/e_log2.S: Likewise.
44648         * sysdeps/i386/fpu/e_log2f.S: Likewise.
44649         * sysdeps/i386/fpu/e_log2l.S: Likewise.
44650         * sysdeps/i386/fpu/e_logf.S: Likewise.
44651         * sysdeps/i386/fpu/e_logl.S: Likewise.
44652         * sysdeps/i386/fpu/e_pow.S: Likewise.
44653         * sysdeps/i386/fpu/e_powf.S: Likewise.
44654         * sysdeps/i386/fpu/e_powl.S: Likewise.
44655         * sysdeps/i386/fpu/e_remainder.S: Likewise.
44656         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
44657         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
44658         * sysdeps/i386/fpu/e_scalb.S: Likewise.
44659         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44660         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44661         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
44662         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
44663         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
44664         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44665         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44666         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44667         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44668         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44669         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44670         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44671         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44672         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44673         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44674         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44675         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44676         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44677         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44678         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44679         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44680         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44681         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44682         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44683         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44684         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44685         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44686         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44687         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44688         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44689         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44690         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44691         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44692         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
44693         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44694         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44695         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44696         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44697         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44698         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44699         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44700         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44701         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44702         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44703         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44704         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44705         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44706         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44707         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44708         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44709         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44710         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44711         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44712         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44713         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
44714         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44715         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44716         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44717         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44718         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44719         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44720         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44721         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44722         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44723         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44724         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44725         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44726         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44727         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44728         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44729         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44730         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44731         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44732         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
44733         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44734         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44735         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44736         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44737         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44738         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44739         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44740         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44741         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44742         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44743         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44744         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44745         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44746         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
44747         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44748         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44749         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44750         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44751         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44752         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44753         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44754         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44755         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44756         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44757         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44758         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44759         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44760         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44761         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
44762         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
44763         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
44764         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
44765         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
44766         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
44767         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
44768         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44769         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44770         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44771         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44772         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
44773         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44774         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
44775         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
44776         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
44777         (__isnanf): Likewise.
44778         (__isinf_ns): Likewise.
44779         (__isinf_nsf): Likewise.
44780         (__finite): Likewise.
44781         (__finitef): Likewise.
44782         (__ieee754_sqrt): Define as macro.
44783         (__ieee754_sqrtf): Define as macro.
44784         (__ieee754_sqrtl): Define as macro.
44785         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
44786         inlined copy.
44787         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
44788         __FINITE_MATH_ONLY__ consistent.
44789         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
44790
44791 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
44792
44793         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44794         of rawmemchr.
44795
44796         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44797
44798 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
44799
44800         * po/ja.po: Update from translation team.
44801
44802 2011-10-08  Roland McGrath  <roland@hack.frob.com>
44803
44804         * locale/programs/locarchive.c (prepare_address_space): New function.
44805         (create_archive, enlarge_archive, open_archive): Use it.
44806
44807         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44808         inside [SHARED], where it is used.
44809
44810         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44811
44812         * nss/getent.c (netgroup_keys): Remove unused variable.
44813         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44814
44815 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
44816
44817         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44818         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44819         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44820         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44821         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44822         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44823         * math/Makefile (libm-calls): Add s_isinf_ns.
44824         * math/divtc3.c: Use __isinf_nsl instead of isinf.
44825         * math/multc3.c: Likewise.
44826         * math/s_casin.c: Likewise.
44827         * math/s_casinf.c: Likewise.
44828         * math/s_casinl.c: Likewise.
44829         * math/s_ccos.c: Likewise.
44830         * math/s_ccosf.c: Likewise.
44831         * math/s_ccosl.c: Likewise.
44832         * math/s_ctan.c: Likewise.
44833         * math/s_ctanf.c: Likewise.
44834         * math/s_ctanh.c: Likewise.
44835         * math/s_ctanhf.c: Likewise.
44836         * math/s_ctanhl.c: Likewise.
44837         * math/s_ctanl.c: Likewise.
44838         * math/w_fmod.c: Likewise.
44839         * math/w_fmodf.c: Likewise.
44840         * math/w_fmodl.c: Likewise.
44841         * math/w_remainder.c: Likewise.
44842         * math/w_remainderf.c: Likewise.
44843         * math/w_remainderl.c: Likewise.
44844         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44845         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44846         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44847         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44848         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44849         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44850         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44851         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44852
44853         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44854         of the number.
44855         * stdio-common/printf_fphex.c: Likewise.
44856         * stdio-common/printf_size.c: Likewise.
44857
44858         * math/e_exp10.c: Include math_private.h using <...> not "...".
44859         * math/e_exp10f.c: Likewise.
44860         * math/e_exp10l.c: Likewise.
44861         * math/e_exp2l.c: Likewise.
44862         * math/e_j0l.c: Likewise.
44863         * math/e_j1l.c: Likewise.
44864         * math/e_jnl.c: Likewise.
44865         * math/e_lgammal_r.c: Likewise.
44866         * math/e_rem_pio2l.c: Likewise.
44867         * math/e_scalb.c: Likewise.
44868         * math/e_scalbf.c: Likewise.
44869         * math/e_scalbl.c: Likewise.
44870         * math/k_cosl.c: Likewise.
44871         * math/k_sinl.c: Likewise.
44872         * math/k_tanl.c: Likewise.
44873         * math/s_cacoshf.c: Likewise.
44874         * math/s_catan.c: Likewise.
44875         * math/s_catanf.c: Likewise.
44876         * math/s_catanh.c: Likewise.
44877         * math/s_catanhf.c: Likewise.
44878         * math/s_catanhl.c: Likewise.
44879         * math/s_catanl.c: Likewise.
44880         * math/s_ccosh.c: Likewise.
44881         * math/s_ccoshf.c: Likewise.
44882         * math/s_ccoshl.c: Likewise.
44883         * math/s_cexp.c: Likewise.
44884         * math/s_cexpf.c: Likewise.
44885         * math/s_cexpl.c: Likewise.
44886         * math/s_clog.c: Likewise.
44887         * math/s_clog10.c: Likewise.
44888         * math/s_clog10f.c: Likewise.
44889         * math/s_clog10l.c: Likewise.
44890         * math/s_clogf.c: Likewise.
44891         * math/s_clogl.c: Likewise.
44892         * math/s_csin.c: Likewise.
44893         * math/s_csinf.c: Likewise.
44894         * math/s_csinh.c: Likewise.
44895         * math/s_csinhf.c: Likewise.
44896         * math/s_csinhl.c: Likewise.
44897         * math/s_csinl.c: Likewise.
44898         * math/s_csqrt.c: Likewise.
44899         * math/s_csqrtf.c: Likewise.
44900         * math/s_csqrtl.c: Likewise.
44901         * math/s_ctan.c: Likewise.
44902         * math/s_ctanf.c: Likewise.
44903         * math/s_ctanh.c: Likewise.
44904         * math/s_ctanhf.c: Likewise.
44905         * math/s_ctanhl.c: Likewise.
44906         * math/s_ctanl.c: Likewise.
44907         * math/s_ldexp.c: Likewise.
44908         * math/s_ldexpf.c: Likewise.
44909         * math/s_ldexpl.c: Likewise.
44910         * math/s_significand.c: Likewise.
44911         * math/s_significandf.c: Likewise.
44912         * math/s_significandl.c: Likewise.
44913         * math/w_acos.c: Likewise.
44914         * math/w_acosf.c: Likewise.
44915         * math/w_acosh.c: Likewise.
44916         * math/w_acoshf.c: Likewise.
44917         * math/w_acoshl.c: Likewise.
44918         * math/w_acosl.c: Likewise.
44919         * math/w_asin.c: Likewise.
44920         * math/w_asinf.c: Likewise.
44921         * math/w_asinl.c: Likewise.
44922         * math/w_atan2.c: Likewise.
44923         * math/w_atan2f.c: Likewise.
44924         * math/w_atan2l.c: Likewise.
44925         * math/w_atanh.c: Likewise.
44926         * math/w_atanhf.c: Likewise.
44927         * math/w_atanhl.c: Likewise.
44928         * math/w_cosh.c: Likewise.
44929         * math/w_coshf.c: Likewise.
44930         * math/w_coshl.c: Likewise.
44931         * math/w_dremf.c: Likewise.
44932         * math/w_exp10.c: Likewise.
44933         * math/w_exp10f.c: Likewise.
44934         * math/w_exp10l.c: Likewise.
44935         * math/w_exp2.c: Likewise.
44936         * math/w_exp2f.c: Likewise.
44937         * math/w_fmod.c: Likewise.
44938         * math/w_fmodf.c: Likewise.
44939         * math/w_fmodl.c: Likewise.
44940         * math/w_hypot.c: Likewise.
44941         * math/w_hypotf.c: Likewise.
44942         * math/w_hypotl.c: Likewise.
44943         * math/w_j0.c: Likewise.
44944         * math/w_j0f.c: Likewise.
44945         * math/w_j0l.c: Likewise.
44946         * math/w_j1.c: Likewise.
44947         * math/w_j1f.c: Likewise.
44948         * math/w_j1l.c: Likewise.
44949         * math/w_jn.c: Likewise.
44950         * math/w_jnf.c: Likewise.
44951         * math/w_jnl.c: Likewise.
44952         * math/w_lgamma.c: Likewise.
44953         * math/w_lgamma_r.c: Likewise.
44954         * math/w_lgammaf.c: Likewise.
44955         * math/w_lgammaf_r.c: Likewise.
44956         * math/w_lgammal.c: Likewise.
44957         * math/w_lgammal_r.c: Likewise.
44958         * math/w_log.c: Likewise.
44959         * math/w_log10.c: Likewise.
44960         * math/w_log10f.c: Likewise.
44961         * math/w_log10l.c: Likewise.
44962         * math/w_log2.c: Likewise.
44963         * math/w_log2f.c: Likewise.
44964         * math/w_log2l.c: Likewise.
44965         * math/w_logf.c: Likewise.
44966         * math/w_logl.c: Likewise.
44967         * math/w_pow.c: Likewise.
44968         * math/w_powf.c: Likewise.
44969         * math/w_powl.c: Likewise.
44970         * math/w_remainder.c: Likewise.
44971         * math/w_remainderf.c: Likewise.
44972         * math/w_remainderl.c: Likewise.
44973         * math/w_scalb.c: Likewise.
44974         * math/w_scalbf.c: Likewise.
44975         * math/w_scalbl.c: Likewise.
44976         * math/w_sinh.c: Likewise.
44977         * math/w_sinhf.c: Likewise.
44978         * math/w_sinhl.c: Likewise.
44979         * math/w_sqrt.c: Likewise.
44980         * math/w_sqrtf.c: Likewise.
44981         * math/w_sqrtl.c: Likewise.
44982         * math/w_tgamma.c: Likewise.
44983         * math/w_tgammaf.c: Likewise.
44984         * math/w_tgammal.c: Likewise.
44985
44986         * po/ja.po: Update from translation team.
44987
44988 2011-09-29  Andreas Jaeger  <aj@suse.de>
44989
44990         [BZ #13179]
44991         * sunrpc/netname.c (netname2host): Fix logic.
44992
44993         [BZ #6779]
44994         [BZ #6783]
44995         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
44996         correctly.
44997         * math/w_remainder.c (__remainder): Likewise.
44998         * math/w_remainderf.c (__remainderf): Likewise.
44999         * math/libm-test.inc (remainder_test): Add test cases.
45000
45001 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45002
45003         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
45004         sdiv_qrnnd.
45005
45006 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
45007
45008         * string/test-memcmp.c: Avoid unncessary #defines.
45009         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45010
45011 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45012
45013         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45014         Use new sse2 version for core i3 - i7 as it's faster
45015         than sse42 version.
45016         (bit_Prefer_PMINUB_for_stringop): New.
45017         * sysdeps/x86_64/rawmemchr.S: Update.
45018         Replace with faster SSE2 version.
45019         * sysdeps/x86_64/memrchr.S: New file.
45020         * sysdeps/x86_64/memchr.S: Update.
45021         Replace with faster SSE2 version.
45022
45023 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
45024
45025         * elf/dl-load.c (lose): Add cast to avoid warning.
45026
45027 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
45028
45029         * po/ca.po: Update from translation team.
45030
45031         * inet/getnetgrent_r.c: Hook up nscd.
45032         * nscd/Makefile (routines): Add nscd_netgroup.
45033         (nscd-modules): Add netgroupcache.
45034         (CFLAGS-netgroupcache.c): Define.
45035         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
45036         (cache_search): Add const to second parameter.
45037         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45038         INNETGR.
45039         (dbs): Add netgrdb entry.
45040         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
45041         (verify_persistent_db): Handle netgrdb.
45042         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
45043         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
45044         GETFDNETGR.
45045         (netgroup_response_header): Define.
45046         (innetgroup_response_header): Define.
45047         (datahead): Add netgroup_response_header and innetgroup_response_header
45048         elements.
45049         * nscd/nscd.conf: Add entries for netgroup cache.
45050         * nscd/nscd.h (dbtype): Add netgrdb.
45051         (_PATH_NSCD_NETGROUP_DB): Define.
45052         (netgroup_iov_disabled): Declare.
45053         (xmalloc, xcalloc, xrealloc): Move declarations here.
45054         (cache_search): Adjust prototype.
45055         Add netgroup-related prototypes.
45056         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45057         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45058         (__nscd_innetgr): Declare.
45059         * nscd/selinux.c (perms): Use access_vector_t as element type and
45060         add netgroup-related initializers.
45061         * nscd/netgroupcache.c: New file.
45062         * nscd/nscd_netgroup.c: New file.
45063         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45064         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45065         For four parameters use innetgr.
45066         * nss/nss_files/files-init.c: Add definition and callback for netgr.
45067         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45068         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45069         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45070
45071         * nscd/connections.c (register_traced_file): Don't register file
45072         for disabled databases.
45073
45074 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
45075
45076         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45077
45078         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45079         from tree and freeing node.
45080
45081 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
45082
45083         * nss/nsswitch.c (__nss_database_lookup): Handle
45084         nss_parse_service_list out of memory case.
45085
45086 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
45087
45088         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45089         out of memory case.
45090
45091 2011-10-04  Andreas Schwab  <schwab@redhat.com>
45092
45093         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45094         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45095         pass it down.
45096         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45097         elf_machine_rela, elf_machine_lazy_rel.
45098         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45099         (ELF_DYNAMIC_DO_REL): Likewise.
45100         (ELF_DYNAMIC_DO_RELA): Likewise.
45101         (ELF_DYNAMIC_RELOCATE): Likewise.
45102         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45103         to ELF_DYNAMIC_DO_REL.
45104         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45105         (dl_main): In trace mode always set __RTLD_NOIFUNC.
45106         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45107         elf_machine_rela.
45108         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45109         skip_ifunc, don't call ifunc function if non-zero.
45110         (elf_machine_rela): Likewise.
45111         (elf_machine_lazy_rel): Likewise.
45112         (elf_machine_lazy_rela): Likewise.
45113         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45114         (elf_machine_lazy_rel): Likewise.
45115         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45116         Likewise.
45117         (elf_machine_lazy_rel): Likewise.
45118         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45119         Likewise.
45120         (elf_machine_lazy_rel): Likewise.
45121         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45122         (elf_machine_lazy_rel): Likewise.
45123         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45124         (elf_machine_lazy_rel): Likewise.
45125         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45126         (elf_machine_lazy_rel): Likewise.
45127         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45128         (elf_machine_lazy_rel): Likewise.
45129         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45130         (elf_machine_lazy_rel): Likewise.
45131         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45132         (elf_machine_lazy_rel): Likewise.
45133
45134 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
45135
45136         * nss/nss_files/files-init.c (_nss_files_init): Use static
45137         initialization for all the *_traced_file variables.
45138
45139 2011-09-28  Andreas Schwab  <schwab@redhat.com>
45140
45141         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45142
45143 2011-09-27  Roland McGrath  <roland@hack.frob.com>
45144
45145         [BZ #13226]
45146         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45147
45148 2011-09-27  Andreas Schwab  <schwab@redhat.com>
45149
45150         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45151         Reread the line before reparsing it.
45152
45153 2011-09-26  Andreas Schwab  <schwab@redhat.com>
45154
45155         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45156
45157 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
45158             Maxim Kuvyrkov  <maxim@codesourcery.com>
45159             Joseph Myers  <joseph@codesourcery.com>
45160
45161         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45162         if needed for __stack_chk_guard.
45163
45164 2011-09-19  Roland McGrath  <roland@hack.frob.com>
45165
45166         * sysdeps/posix/spawni.c (script_execute): Always define it.
45167         It will be optimized away if unused.
45168         (maybe_script_execute): New function.
45169         (__spawni): Call it.
45170
45171         * Makerules: Don't include tls.make.
45172         (config-tls): Always set to thread.
45173         * tls.make.c: File removed.
45174
45175 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
45176
45177         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45178         * config.make.in (CPPFLAGS-config): New substituted variable.
45179
45180 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
45181
45182         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45183
45184         [BZ #13192]
45185         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45186         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45187
45188 2011-09-15  Roland McGrath  <roland@hack.frob.com>
45189
45190         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45191         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45192         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45193         (CALL_FAIL): Likewise.
45194         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45195         (CALL_FAIL): Macro removed.
45196         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45197
45198 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
45199
45200         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
45201         for __FINITE_MATH_ONLY__ == 1.
45202
45203 2011-09-15  Andreas Schwab  <schwab@redhat.com>
45204
45205         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
45206         __ieee754_sqrt instead of sqrt.
45207         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
45208         __ieee754_sqrtf instead of sqrtf.
45209         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
45210         __floorf instead of floorf.
45211         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45212         __floorf, __truncf instead of floorf, truncf.
45213
45214 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
45215
45216         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45217
45218         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45219         __extern_always_inline.
45220         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45221         32-bit.
45222
45223 2011-09-14  Andreas Schwab  <schwab@redhat.com>
45224
45225         * elf/rtld.c (dl_main): Also relocate in dependency order when
45226         doing symbol dependency testing.
45227
45228 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
45229
45230         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45231         Always define `refsym'.
45232
45233 2011-09-13  Andreas Schwab  <schwab@redhat.com>
45234
45235         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45236         (__FD_ELT): Renamed from __FDELT.
45237         * misc/bits/select2.h (__FD_ELT): Likewise.
45238         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45239         __FD_MASK instead of __FDELT, __FDMASK.
45240         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45241         Likewise.
45242         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45243         Likewise.
45244
45245         * elf/Makefile (gen-ldd): Fix pattern.
45246
45247         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45248         (init_tls): Likewise.
45249
45250 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
45251
45252         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45253
45254 2011-09-12  Andreas Schwab  <schwab@redhat.com>
45255
45256         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45257         `struct cmsghdr *' instead of `void *'.
45258         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45259         Likewise.
45260
45261 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
45262
45263         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45264         if non-absolute.
45265         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45266         ldd_rewrite_script.
45267
45268 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
45269
45270         * configure.in: Remove --with-tls option.
45271         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45272         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45273         out in case it is missing.
45274         * sysdeps/ia64/elf/configure.in: Likewise.
45275         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45276         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45277         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45278         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45279         * sysdeps/sh/elf/configure.in: Likewise.
45280         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45281         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45282         * sysdeps/x86_64/elf/configure.in: Likewise.
45283         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45284         * sysdeps/mach/hurd/tls.h: Likewise.
45285
45286         [BZ #13067]
45287         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45288
45289         [BZ #13090]
45290         * configure.in: Fix use of AC_INIT.
45291
45292         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45293
45294 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
45295
45296         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45297         __set_errno.
45298         * malloc/hooks.c: Likewise.
45299
45300         [BZ #11929]
45301         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
45302         variables statically.
45303         (narenas): Initialize.
45304         (list_lock): Initialize.
45305         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
45306         initializtion of main_arena and list_lock.  Small cleanups.
45307         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45308         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
45309         Add initializers to main_arena and mp_.
45310         (malloc_state): Remove pagesize member.  Change all users to use
45311         GLRO(dl_pagesize).
45312
45313         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45314         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
45315         is always initialized.
45316
45317         * malloc/malloc.c: Removed unused configurations and dead code.
45318         * malloc/arena.c: Likewise.
45319         * malloc/hooks.c: Likewise.
45320         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
45321
45322         * include/tls.h: Removed.  USE___THREAD must always be defined.
45323         * bits/libc-tsd.h: Don't handle !USE___THREAD.
45324         * elf/dl-libc.c: Likewise.
45325         * elf/dl-tsd.c: Likewise.
45326         * include/errno.h: Likewise.
45327         * include/netdb.h: Likewise.
45328         * include/resolv.h: Likewise.
45329         * inet/herrno-loc.c: Likewise.
45330         * inet/herrno.c: Likewise.
45331         * malloc/arena.c: Likewise.
45332         * malloc/hooks.c: Likewise.
45333         * malloc/malloc.c: Likewise.
45334         * resolv/res-state.c: Likewise.
45335         * resolv/res_libc.c: Likewise.
45336         * sysdeps/i386/dl-machine.h: Likewise.
45337         * sysdeps/ia64/dl-machine.h: Likewise.
45338         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45339         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45340         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45341         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45342         * sysdeps/sh/dl-machine.h: Likewise.
45343         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45344         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45345         * sysdeps/unix/i386/sysdep.S: Likewise.
45346         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45347         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
45348         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
45349         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45350         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
45351         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45352         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45353         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45354         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45355         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45356         * sysdeps/unix/x86_64/sysdep.S: Likewise.
45357         * sysdeps/x86_64/dl-machine.h: Likewise.
45358         * tls.make.c: Likewise.
45359
45360         * configure.in: Remove --with-__thread option.  Make tests for
45361         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
45362         tls_model attribute fail if no support is available.  Remove
45363         USE_IN_LIBIO.
45364         * Makeconfig: Adjust for dropped configure option.  All features are
45365         now mandatory.
45366         * Makerules: Likewise.
45367         * Versions.def: Likewise.
45368         * argp/argp-fmtstream.c: Likewise.
45369         * argp/argp-fmtstream.h: Likewise.
45370         * argp/argp-help.c: Likewise.
45371         * assert/assert.c: Likewise.
45372         * config.h.in: Likewise.
45373         * config.make.in: Likewise.
45374         * configure: Likewise.
45375         * configure.in: Likewise.
45376         * csu/Versions: Likewise.
45377         * csu/init.c: Likewise.
45378         * elf/tst-audit2.c: Likewise.
45379         * elf/tst-tls10.c: Likewise.
45380         * elf/tst-tls10.h: Likewise.
45381         * elf/tst-tls11.c: Likewise.
45382         * elf/tst-tls12.c: Likewise.
45383         * elf/tst-tls14.c: Likewise.
45384         * elf/tst-tlsmod11.c: Likewise.
45385         * elf/tst-tlsmod12.c: Likewise.
45386         * elf/tst-tlsmod13.c: Likewise.
45387         * elf/tst-tlsmod13a.c: Likewise.
45388         * elf/tst-tlsmod14a.c: Likewise.
45389         * elf/tst-tlsmod15b.c: Likewise.
45390         * elf/tst-tlsmod16a.c: Likewise.
45391         * elf/tst-tlsmod16b.c: Likewise.
45392         * elf/tst-tlsmod7.c: Likewise.
45393         * elf/tst-tlsmod8.c: Likewise.
45394         * elf/tst-tlsmod9.c: Likewise.
45395         * gmon/gmon.c: Likewise.
45396         * grp/fgetgrent_r.c: Likewise.
45397         * grp/putgrent.c: Likewise.
45398         * hurd/fopenport.c: Likewise.
45399         * include/libc-symbols.h: Likewise.
45400         * include/tls.h: Likewise.
45401         * intl/gettextP.h: Likewise.
45402         * intl/loadinfo.h: Likewise.
45403         * locale/global-locale.c: Likewise.
45404         * locale/localeinfo.h: Likewise.
45405         * mach/devstream.c: Likewise.
45406         * malloc/arena.c: Likewise.
45407         * malloc/set-freeres.c: Likewise.
45408         * misc/err.c: Likewise.
45409         * misc/getttyent.c: Likewise.
45410         * misc/mntent_r.c: Likewise.
45411         * posix/getopt.c: Likewise.
45412         * posix/wordexp.c: Likewise.
45413         * pwd/fgetpwent_r.c: Likewise.
45414         * resolv/Versions: Likewise.
45415         * resolv/res_hconf.c: Likewise.
45416         * shadow/fgetspent_r.c: Likewise.
45417         * shadow/putspent.c: Likewise.
45418         * stdio-common/printf_fphex.c: Likewise.
45419         * stdio-common/tmpfile.c: Likewise.
45420         * stdlib/abort.c: Likewise.
45421         * stdlib/fmtmsg.c: Likewise.
45422         * sunrpc/auth_unix.c: Likewise.
45423         * sunrpc/clnt_perr.c: Likewise.
45424         * sunrpc/clnt_tcp.c: Likewise.
45425         * sunrpc/clnt_udp.c: Likewise.
45426         * sunrpc/clnt_unix.c: Likewise.
45427         * sunrpc/openchild.c: Likewise.
45428         * sunrpc/svc_simple.c: Likewise.
45429         * sunrpc/svc_tcp.c: Likewise.
45430         * sunrpc/svc_udp.c: Likewise.
45431         * sunrpc/svc_unix.c: Likewise.
45432         * sunrpc/xdr.c: Likewise.
45433         * sunrpc/xdr_array.c: Likewise.
45434         * sunrpc/xdr_rec.c: Likewise.
45435         * sunrpc/xdr_ref.c: Likewise.
45436         * sunrpc/xdr_stdio.c: Likewise.
45437
45438 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45439
45440         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45441
45442 2011-07-03  Andreas Jaeger  <aj@suse.de>
45443
45444         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45445         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45446         regenerate with gen-libm-tests.pl.
45447
45448 2010-05-12  Petr Baudis  <pasky@suse.cz>
45449
45450         [BZ #11589]
45451         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45452         around j0() zero points by switching to j1().
45453         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45454         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45455         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45456         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45457
45458 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45459
45460         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45461         instead of 0.
45462         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
45463         instead of 0.
45464         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45465         Patch in part by Pavel Roskin <proski@gnu.org>.
45466
45467         [BZ #13138]
45468         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45469         realloc.
45470         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
45471         Free memory block if necessary.
45472
45473         [BZ #12847]
45474         * libio/genops.c (INTDEF): For string streams the _lock pointer can
45475         be NULL.  Don't lock in this case.
45476
45477 2011-09-09  Roland McGrath  <roland@hack.frob.com>
45478
45479         * elf/elf.h (ELFOSABI_GNU): New macro.
45480         (ELFOSABI_LINUX): Define to that.
45481
45482 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
45483
45484         * string/strncat.c (strncat): Undef the symbol in case it has been
45485         defined in bits/string.h.
45486
45487 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
45488
45489         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45490
45491         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
45492         link map.
45493
45494 2011-08-17  Andreas Jaeger  <aj@suse.de>
45495
45496         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45497
45498 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
45499             Ian Lance Taylor  <iant@google.com>
45500
45501         * math/libm-test.inc (lround_test): New testcase.
45502         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45503
45504 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
45505
45506         * Makefile: Remove support for automatic cvs check-ins.
45507         * Makerules: Likewise.
45508         * config.make.in: Likewise.
45509         * configure.in: Likewise.
45510         * intl/Makefile: Likewise.
45511         * locale/Makefile: Likewise.
45512         * po/Makefile: Likewise.
45513         * posix/Makefile: Likewise.
45514         * sysdeps/gnu/Makefile: Likewise.
45515         * sysdeps/mach/hurd/Makefile: Likewise.
45516         * sysdeps/sparc/sparc32/Makefile: Likewise.
45517
45518         [BZ #13118]
45519         * posix/Makefile (bug-regex32-ENV): Define.
45520         Patch by John Stanley <jpsinthemix@verizon.net>.
45521
45522         * misc/Makefile (headers): Add bits/select2.h.
45523         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45524         * misc/bits/select2.h: New file.
45525         * include/bits/select2.h: New file.
45526         * debug/Makefile (routines): Add fdelt_chk.
45527         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45528         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45529         FD_ISSET.
45530         * debug/fdelt_chk.c: New file.
45531
45532         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
45533         * wcsmbs/test-wmemcmp.c: Likewise.
45534         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
45535         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
45536
45537 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45538
45539         * string/Makefile (strop-tests): Add memcmp.
45540         * string/test-wmemcmp.c: New file.
45541         * string/test-memcmp.c: Add wmemcmp support.
45542
45543 2011-09-08  Roland McGrath  <roland@hack.frob.com>
45544
45545         [BZ #13153]
45546         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
45547         2011-07-19 change.
45548
45549         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
45550         garbage value in a __mach_port_mod_refs call in the cases of the
45551         task-self and thread-self ports.
45552
45553 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45554
45555         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
45556
45557 2011-09-08  Andreas Schwab  <schwab@redhat.com>
45558
45559         * elf/dl-load.c (lose): Check for non-null L.
45560
45561 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
45562
45563         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
45564
45565         * elf/dl-libc.c (dlerror_run): Pass back error code from
45566         dl_catch_error.
45567
45568         [BZ #13123]
45569         * elf/dl-load.c (lose): Free l_origin if it is valid.
45570
45571         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
45572         names.
45573         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
45574         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45575         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45576         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45577         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
45578         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
45579
45580 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45581
45582         * sysdeps/powerpc/fpu/e_hypot.c: New file.
45583         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
45584         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
45585         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
45586         * sysdeps/powerpc/fpu/k_cosf.c: New file.
45587         * sysdeps/powerpc/fpu/k_sinf.c: New file.
45588         * sysdeps/powerpc/fpu/s_cosf.c: New file.
45589         * sysdeps/powerpc/fpu/s_sinf.c: New file.
45590         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
45591         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
45592
45593 2011-08-15  Alan Modra  <amodra@gmail.com>
45594
45595         [BZ #13092]
45596         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
45597         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
45598         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
45599         ppc_mcount to static-only-routines.
45600         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
45601         __mcount_internal.
45602         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
45603         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
45604
45605 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
45606
45607         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
45608         for finite and infinity parameters.
45609
45610 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
45611
45612         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
45613         and add nop instructions for throughput optimization.
45614         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45615
45616 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
45617
45618         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
45619         aligned copy for power7 with vector-scalar instructions.
45620         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45621
45622 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
45623
45624         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
45625         AVX check.
45626
45627 2011-09-07  Andreas Schwab  <schwab@redhat.com>
45628
45629         [BZ #13144]
45630         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
45631         last change.
45632
45633 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
45634
45635         * sysdeps/unix/sysv/linux/x86_64/init-first.c
45636         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
45637         syscall wrapper around clock_gettime in __vdso_clock_gettime.
45638         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
45639         clock_gettime.
45640
45641 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
45642
45643         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
45644         Forgot to demangle the pointer.
45645
45646         * sysdeps/i386/sysdep.h: Define atom_text_section.
45647         * sysdeps/x86_64/sysdep.h: Likewise.
45648         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
45649         section with atom_text_section.
45650         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45651         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45652         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
45653         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45654         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
45655
45656         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
45657         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
45658         already be defined.  Change to take two parameters and don't assign
45659         result to variable.  Adjust all users.
45660         Define INTERNAL_GETTIME if not already defined.
45661         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
45662         call.
45663         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
45664         HAVE_CLOCK_GETTIME_VSYSCALL.
45665         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
45666
45667         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
45668         gettimeofday vsyscall, just use time.
45669
45670 2011-09-06  Andreas Schwab  <schwab@redhat.com>
45671
45672         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
45673         <errno.h>.
45674
45675 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
45676
45677         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
45678         syscall on x86-64.
45679         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
45680         syscall.
45681         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
45682         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
45683         syscall if possible.
45684
45685 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
45686
45687         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
45688         e_ident.  Don't pass to find_mapsXX.
45689         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
45690
45691 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45692
45693         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45694         strchr-sse2-no-bsf strrchr-sse2-no-bsf
45695         * sysdeps/x86_64/multiarch/strchr.S: Update.
45696         Check bit_slow_BSF bit.
45697         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45698         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
45699         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
45700
45701 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
45702
45703         [BZ #13134]
45704         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
45705         before glibc 2.15.
45706         (tryshell): Define.
45707         (__spawni): Change last parameter to be flag.  Test
45708         SPAWN_XFLAGS_USE_PATH flag to use path or not.
45709         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
45710         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
45711         * posix/spawni.c: Likewise.
45712         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
45713         * posix/spawnp.c: Likewise.  Change normal version to use
45714         SPAWN_XFLAGS_USE_PATH.
45715         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
45716         SPAWN_XFLAGS_TRY_SHELL.
45717
45718         [BZ #13150]
45719         * posix/glob.h: Remove gcc 1.x support.
45720
45721         [BZ #13068]
45722         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
45723
45724 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45725
45726         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45727         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
45728         strrchr-sse2-bsf
45729         * sysdeps/i386/i686/multiarch/strchr.S: New file.
45730         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
45731         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
45732         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
45733         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
45734         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
45735
45736 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45737
45738         * sysdeps/x86_64/wcscmp.S: New file.
45739
45740         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
45741         wcscmp-c wcscmp-sse2
45742         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
45743         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
45744         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
45745         * wcsmbs/wcscmp.c: Allow renaming.
45746
45747 2011-09-05  David S. Miller  <davem@davemloft.net>
45748
45749         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
45750         stack slot, rather than the struct return pointer slot.
45751         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
45752         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
45753         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
45754         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
45755
45756 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
45757
45758         * po/ja.po: Update from translation team.
45759
45760         [BZ #13144]
45761         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
45762         kernel in 64-bit binaries.
45763
45764 2011-09-01  David S. Miller  <davem@davemloft.net>
45765
45766         * elf/elf.h (HWCAP_SPARC_*): Move to..
45767         * sysdeps/sparc/sysdep.h: this new file and add new values.
45768         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
45769         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
45770         _DL_HWCAP_COUNT to 24.
45771         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45772         entries.
45773         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
45774         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
45775         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
45776         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
45777         instead of magic constants.
45778         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45779
45780 2011-08-31  David S. Miller  <davem@davemloft.net>
45781
45782         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
45783         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
45784         Reimplement to do errno handling inline.
45785         (SYSCALL_ERROR_HANDLER): New macro.
45786         (__SYSCALL_STRING): Do not do errno handling in asm.
45787         (__CLONE_SYSCALL_STRING): Delete.
45788         (__INTERNAL_SYSCALL_STRING): Delete.
45789         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
45790         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
45791         (PSEUDO): Reimplement to do errno handling inline.
45792         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
45793         (SYSCALL_ERROR_HANDLER): New macro.
45794         (__SYSCALL_STRING): Do not do errno handling in asm.
45795         (__CLONE_SYSCALL_STRING): Delete.
45796         (__INTERNAL_SYSCALL_STRING): Delete.
45797         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45798         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45799         i386.
45800         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45801         (inline_syscall*): Add 'err' argument.
45802         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45803         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45804         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45805         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45806
45807         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45808         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45809
45810 2011-08-30  Andreas Schwab  <schwab@redhat.com>
45811
45812         * elf/rtld.c (dl_main): Relocate objects in dependency order.
45813
45814 2011-08-29  Jiri Olsa <jolsa@redhat.com>
45815
45816         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45817         directive.
45818
45819 2011-08-24  David S. Miller  <davem@davemloft.net>
45820
45821         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45822
45823 2011-08-24  Andreas Schwab  <schwab@redhat.com>
45824
45825         * elf/Makefile: Add rules to build and run unload8 test.
45826         * elf/unload8.c: New file.
45827         * elf/unload8mod1.c: New file.
45828         * elf/unload8mod1x.c: New file.
45829         * elf/unload8mod2.c: New file.
45830         * elf/unload8mod3.c: New file.
45831
45832         * elf/dl-close.c (_dl_close_worker): Reset private search list if
45833         it wasn't used.
45834
45835 2011-08-23  David S. Miller  <davem@davemloft.net>
45836
45837         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45838         subtract stack bias.
45839         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45840         %sp not %fp in calculations.
45841         (_JMPBUF_UNWINDS_ADJ): Likewise.
45842
45843         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45844         (aio_suspend): Call it to force an exception region around the
45845         AIO_MISC_WAIT() invocation.
45846
45847 2011-08-23  Andreas Schwab  <schwab@redhat.com>
45848
45849         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45850         backslash.
45851
45852 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
45853
45854         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45855         protection macro.
45856         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
45857         and <dl-machine.h>.
45858         (Elf64_FuncDesc): Remove.
45859
45860 2011-08-22  David S. Miller  <davem@davemloft.net>
45861
45862         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
45863         sigaltstack check, add missing cfi directives.
45864         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
45865         missing cfi directives, and sigaltstack handling.
45866
45867 2011-08-16  Andreas Schwab  <schwab@redhat.com>
45868
45869         [BZ #11724]
45870         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
45871         object is seen twice.
45872         * elf/dl-fini.c (_dl_sort_fini): Likewise.
45873
45874         * elf/Makefile (distribute): Add tst-initorder2.c.
45875         (tests): Add tst-initorder2.
45876         (modules-names): Add tst-initorder2a tst-initorder2b
45877         tst-initorder2c tst-initorder2d.  Add rules to build them.
45878         ($(objpfx)tst-initorder2.out): New rule.
45879         * elf/tst-initorder2.c: New file.
45880         * elf/tst-initorder2.exp: New file.
45881
45882 2011-08-22  Andreas Schwab  <schwab@redhat.com>
45883
45884         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
45885
45886         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
45887         dependencies back to end of function.
45888
45889         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
45890         $(elfobjdir)/ld.so.
45891
45892 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
45893
45894         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
45895         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
45896         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
45897         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
45898         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
45899         of __vdso_gettimeofday.
45900         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
45901         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
45902         attribute_hidden.
45903         (_libc_vdso_platform_setup): Remove initialization of
45904         __vdso_gettimeofday and __vdso_time.
45905
45906 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
45907
45908         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
45909         and fgetc_unlocked.
45910         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
45911         getc_unlocked.
45912
45913         * elf/dl-open.c (add_to_global): Report additions to the global scope
45914         for LD_DEBUG=scopes.
45915         (dl_open_worker): Also print scope of newly loaded dependencies.
45916         (_dl_show_scope): Indicate if there is no scope.
45917
45918         [BZ #13114]
45919         * stdio-common/Makefile (tests): Add bug24.
45920         * stdio-common/bug24.c: New file.
45921
45922 2011-08-19  Andreas Jaeger  <aj@suse.de>
45923
45924         [BZ #13114]
45925         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
45926         non-existant file when using close-on-exec mode.
45927
45928 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
45929
45930         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
45931         the very first instruction.
45932
45933         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
45934         the CFI state in the end.
45935         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
45936         inclusion of dl-trampoline.h.
45937         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
45938
45939 2011-08-19  Andreas Schwab  <schwab@redhat.com>
45940
45941         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
45942         expectations for long double.
45943
45944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
45945         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
45946
45947 2011-08-14  David S. Miller  <davem@davemloft.net>
45948
45949         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
45950         artificual limit depends upon the system page size.
45951
45952 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
45953
45954         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
45955         * resolv/Makefile: Define CFLAGS-libresolv.
45956
45957 2011-08-17  Andreas Schwab  <schwab@redhat.com>
45958
45959         * nss/makedb.c (compute_tables): Make variables used in nested
45960         function static.
45961
45962 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
45963
45964         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
45965         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
45966         if buffer was too small.
45967
45968         * elf/pldd.c (main): Attach to all threads in the process.
45969         Rewrite /proc handling to use *at functions.
45970
45971 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
45972
45973         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
45974         specifies first scope to show.
45975         (dl_open_worker): Update callers.  Move printing scope of new
45976         object to before the relocation.
45977         * elf/rtld.c (dl_main): Update _dl_show_scope call.
45978         * sysdeps/generic/ldsodefs.h: Update declaration.
45979
45980         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
45981         string for the scope number.
45982
45983 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
45984
45985         * nscd/servicescache.c (cache_addserv): Make sure written is always
45986         initialized.
45987
45988 2011-08-14  Roland McGrath  <roland@hack.frob.com>
45989
45990         * sysdeps/i386/i486/bits/atomic.h
45991         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
45992         statement expression, so as to suppress "set but not used" warning.
45993         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
45994
45995         * string/strncat.c (STRNCAT): Use prototype definition.
45996
45997         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
45998         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
45999         -Iprograms here.
46000         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
46001         (localedef-modules): Add localedef.
46002         (locale-modules): Add locale.
46003
46004         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
46005         * elf/rtld.c (dl_main): Invert order of assignment in last change,
46006         to avoid a warning.
46007
46008 2011-08-14  David S. Miller  <davem@davemloft.net>
46009
46010         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46011         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46012
46013 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
46014
46015         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
46016         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
46017         * elf/rtld.c (dl_main): Set l_name of vDSO.
46018         Call _dl_show_scope when DL_DEBUG_SCOPES.
46019         (process_dl_debug): Recognize scopes flag and also set it for all.
46020         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
46021         Declare _dl_show_scope.
46022
46023         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
46024         (do_dlopen): Pass caller_dlopen to dl_open.
46025         (__libc_dlopen_mode): Initialize caller_dlopen.
46026
46027         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
46028         of libc.  Make tolower call locale-independent.  Optimize a bit by
46029         using isdigit instead of isalnum.
46030         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
46031
46032 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
46033
46034         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
46035         was a dependency or dynamically loaded.
46036
46037 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
46038
46039         * intl/l10nflist.c: Allow architecture-specific pop function.
46040         * sysdeps/x86_64/l10nflist.c: New file.
46041
46042         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
46043         classification.
46044
46045 2011-08-10  Andreas Schwab  <schwab@redhat.com>
46046
46047         * include/dirent.h: Add libc_hidden_proto for scandirat and
46048         scandirat64.  Don't declare __scandirat64.
46049         * dirent/scandirat.c: Add libc_hidden_def.
46050         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
46051         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
46052
46053 2011-08-10  David S. Miller  <davem@davemloft.net>
46054
46055         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46056         enum.
46057         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46058         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46059         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46060
46061 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
46062
46063         * Versions.def [libc]: Add GLIBC_2.15.
46064         * dirent/Makefile (routines): Add scandirat and scandirat64.
46065         * dirent/Versions [libc]: Export scandirat and scandirat64 for
46066         GLIBC_2.15.
46067         * dirent/dirent.h: Declare scandirat and scandirat64.
46068         * dirent/scandirat.c: New file.
46069         * dirent/scandirat64.c: New file.
46070         * sysdeps/wordsize-64/scandirat.c: New file.
46071         * sysdeps/wordsize-64/scandirat64.c: New file.
46072         * dirent/opendir.c: Define opendirat.
46073         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
46074         using scandirat.
46075         * dirent/scandir64.c: Adjust for scandir.c change.
46076         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
46077         __scandirat64, and __scandir_cancel_handler.
46078         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
46079         additional parameter and use openat instead of open (outside of ld.so).
46080         Add new __opendir as wrapper around __opendirat.
46081         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
46082         here without requiring old scandirat implementation.
46083
46084 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
46085
46086         * dirent/scandir.c (cancel_handler): Renamed to
46087         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
46088         defined.  Adjust users.
46089         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46090         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46091
46092 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
46093
46094         * string/test-string.h (IMPL): Use __STRING to expand name and then
46095         stringify it.
46096
46097         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
46098         of cleanups.
46099
46100 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46101
46102         * string/Makefile: Update.
46103         (strop-tests): Append strncat.
46104         * string/test-wcscmp.c: New file.
46105         New comprehensive test for wcscmp.
46106         * string/test-strcmp.c: Update.
46107         (WIDE): New define.
46108
46109 2011-07-22  Andreas Schwab  <schwab@redhat.com>
46110
46111         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46112         line.
46113
46114 2011-07-26  Andreas Schwab  <schwab@redhat.com>
46115
46116         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46117         encoding to ACE if AI_IDN.
46118
46119 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
46120
46121         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46122         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46123
46124 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46125
46126         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46127         Fix overflow bug in strncat.
46128         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46129
46130         * string/test-strncat.c: Update.
46131         Add new tests for checking overflow bugs.
46132
46133 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46134
46135         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46136         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46137         * sysdeps/i386/i686/multiarch/strcat.S: New file.
46138         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46139         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46140         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46141         * sysdeps/i386/i686/multiarch/strncat.S: New file.
46142         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46143         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46144
46145         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46146         (USE_AS_STRCAT): Define.
46147         Add strcat and strncat support.
46148         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46149
46150 2011-07-25  Andreas Schwab  <schwab@redhat.com>
46151
46152         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46153         __n bigger than INT_MAX+1.
46154         (__strncmp_g): Likewise.
46155
46156 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
46157
46158         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46159         * libio/stido.h: Likewise.
46160
46161         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46162         (AF_NFC): Define.
46163         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46164         (AF_NFC): Define.
46165
46166         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46167         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46168         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46169         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46170         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46171
46172         [BZ #13021]
46173         * scripts/test-installation.pl: Don't expect libnss_test1 to be
46174         installed.
46175
46176         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46177         typo.
46178         (_dl_x86_64_save_sse): Likewise.
46179
46180 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
46181
46182         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46183         OSXSAVE.
46184         (_dl_x86_64_save_sse): Likewise.
46185
46186         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46187
46188         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46189
46190 2011-07-21  Andreas Schwab  <schwab@redhat.com>
46191
46192         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46193         change.
46194         (_dl_x86_64_save_sse): Use correct AVX check.
46195
46196 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46197
46198         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
46199         bug in strncpy/strncat.
46200         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
46201
46202 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
46203
46204         * string/tester.c (test_strcat): Add tests for different alignments
46205         of source and destination.
46206         (test_strncat): Likewise.
46207
46208 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
46209
46210         [BZ #12852]
46211         * posix/glob.c (glob): Check passed in values before using them in
46212         expressions to avoid some overflows.
46213         (glob_in_dir): Likewise.
46214
46215         [BZ #13007]
46216         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46217         check for AVX enablement so that we don't crash with old kernels and
46218         new hardware.
46219         * elf/tst-audit4.c: Add same checks here.
46220         * elf/tst-audit6.c: Likewise.
46221
46222         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
46223
46224 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
46225
46226         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46227
46228 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
46229
46230         * po/cs.po: Update from translation team.
46231         * po/bg.po: Likewise.
46232
46233 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
46234
46235         * misc/sys/cdefs.h: Add support for const attribute.
46236         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46237         to gnu_dev_{major,minor,makedev} functions.
46238
46239 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
46240
46241         * intl/dcigettext.c (get_output_charset): Add missing bracket.
46242
46243 2011-07-20  Andreas Schwab  <schwab@redhat.com>
46244
46245         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46246         strlen results.
46247
46248 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46249
46250         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46251         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46252         register in order to avoid conflicts with the soft frame pointer
46253         being held in r11 when necessary.
46254         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46255         (INTERNAL_VSYSCALL_NCS): Likewise.
46256
46257 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
46258
46259         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46260         * elf/dl-fini.c (_dl_fini): Adjust caller.
46261         * elf/dl-close.c (_dl_close_worker): Likewise.
46262         * sysdeps/generic/ldsodefs.h: Adjust declaration.
46263
46264 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
46265
46266         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46267         "aux_cache->nlibs < 0".
46268
46269         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46270         in the reload-count case.
46271
46272 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46273
46274         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46275         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46276         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46277         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46278         * sysdeps/x86_64/multiarch/strcat.S: New file.
46279         * sysdeps/x86_64/multiarch/strncat.S: New file.
46280         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46281         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46282         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46283         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46284         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46285         (USE_AS_STRCAT): Define.
46286         Add strcat and strncat support.
46287         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46288         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46289         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46290         * string/strncat.c: Update.
46291         (USE_AS_STRNCAT): Define.
46292         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46293         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46294         and i7.
46295         * sysdeps/x86_64/multiarch/init-arch.h
46296         (bit_Prefer_PMINUB_for_stringop): New.
46297         (index_Prefer_PMINUB_for_stringop): Likewise.
46298         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46299         bit_Prefer_PMINUB_for_stringop.
46300
46301 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
46302
46303         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46304         buffer64.
46305         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46306         of casting of buffer.
46307         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46308         buffer32 and buffer64.
46309         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46310         writes instead of casting of buffer.
46311         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46312         buffer32.
46313         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46314         casting of buffer.
46315
46316 2011-07-19  Andreas Schwab  <schwab@redhat.com>
46317
46318         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46319
46320 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
46321
46322         * nscd/nscd.c (termination_handler): Don't do anything for a database
46323         if it has not yet been initialized.
46324
46325 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
46326
46327         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46328
46329 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
46330
46331         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46332
46333 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
46334
46335         * po/nl.po: Update from translation team.
46336         * po/sv.po: Likewise.
46337
46338 2011-07-16  Roland McGrath  <roland@hack.frob.com>
46339
46340         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
46341         now disallowed by GCC.
46342
46343         * configure.in (use-default-link): Default to yes if a test -shared
46344         link meets our qualifications.
46345         * configure: Regenerated.
46346
46347         * config.make.in (output-format): New variable.
46348         * configure.in: Check for ld --print-output-format support.
46349         * configure: Regenerated.
46350         * Makerules ($(common-objpfx)format.lds)
46351         [$(output-format) != unknown]: Just use $(output-format),
46352         instead of the linker-script munging.
46353
46354 2011-07-14  Roland McGrath  <roland@hack.frob.com>
46355
46356         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
46357         of $(common-objpfx)shlib.lds.
46358         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
46359
46360         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
46361         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
46362
46363         * configure.in (-z relro check): Adjust test code to add a large
46364         writable data section after it.
46365         * configure: Regenerated.
46366
46367 2011-07-11  Roland McGrath  <roland@hack.frob.com>
46368
46369         * configure.in (-z relro check): Fix test code to make the variable
46370         truly const.
46371         * configure: Regenerated.
46372
46373 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
46374
46375         * nscd/nscd.h (struct traced_file): Define.
46376         (struct database_dyn): Remove inotify_descr, reset_res, and filename
46377         elements.  Add traced_files.
46378         (inotify_fd): Declare.
46379         (register_traced_file): Declare.
46380         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
46381         (inotify_fd): Export.
46382         (resolv_conf_descr): Remove.
46383         (nscd_init): Move inotify descriptor creation to main.
46384         Don't register files for notification here.
46385         (register_traced_file): New function.
46386         (invalidate_cache): Don't use reset_res to determine whether to call
46387         res_init, go through the list of registered files.
46388         (main_loop_poll): The inotify descriptors are now stored in the
46389         structures for the traced files.
46390         (main_loop_epoll): Likewise
46391         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
46392         to __nss_disable_nscd.
46393         * nscd/cache.c (prune_cache): There is no single inotify descriptor
46394         for a database anymore.  Check the records for all the registered
46395         files instead.
46396         * nss/Makefile (libnss_files-routines): Add files-init.
46397         (libnss_db-routines): Add db-init.
46398         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
46399         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
46400         * nss/nss_db/db-init.c: New file.
46401         * nss/nss_files/files-init.c: New file.
46402         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
46403         __nss_lookup_function.
46404         (__nss_lookup_function): Call nss_load_library.
46405         (nss_load_all_libraries): New function.
46406         (__nss_disable_nscd): Take parameter with callback function for files
46407         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
46408         used for the cached services.
46409         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46410         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46411         options for features to all the files in nscd.
46412
46413         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46414
46415 2011-07-10  Roland McGrath  <roland@hack.frob.com>
46416
46417         * csu/elf-init.c (__libc_csu_init): Comment typo.
46418
46419 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
46420
46421         * po/pl.po: Update from translation team.
46422         * po/ja.po: Likewise.
46423         * po/ru.po: Likewise.
46424         * po/ko.po: Likewise.
46425         * po/fr.po: Likewise.
46426
46427 2011-07-09  Roland McGrath  <roland@hack.frob.com>
46428
46429         * configure.in (.ctors/.dtors header and trailer check):
46430         Use an empirical test on a built program.
46431         * configure: Regenerated.
46432
46433         * configure.in (-z relro check): Use an empirical test on a built DSO.
46434         Detect, but do not require, on ia64.
46435         * configure: Regenerated.
46436
46437         * configure.in (READELF): Find it with AC_CHECK_TOOL.
46438         Update tests that use readelf to use $READELF instead.
46439         * configure: Regenerated.
46440
46441 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
46442
46443         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46444         if the result is not used.
46445
46446 2011-07-05  Andreas Jaeger  <aj@suse.de>
46447
46448         [BZ#9696]
46449         * stdlib/tst-strtod.c: Add testcase.
46450
46451 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
46452
46453         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46454         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
46455         The latter has a higher limit.  Take additional parameter to pass to
46456         the new function.
46457         (__pathconf): Pass file to __statfs_link_max.
46458         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46459         __statfs_link_max.
46460         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46461         __statfs_link_max.
46462
46463         [BZ #12868]
46464         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46465         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46466         Handle Lustre.
46467         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46468         (__statfs_filesize_max): Likewise.
46469         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46470
46471 2011-07-05  Andreas Jaeger  <aj@suse.de>
46472
46473         * resolv/res_comp.c (dn_skipname): Remove unused variable.
46474
46475 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
46476
46477         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46478         `status' variable.
46479         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46480         Likewise.
46481
46482 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
46483
46484         * Makefile (strop-tests): Add strncat.
46485         * string/test-strncat.c: New file.
46486
46487 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
46488
46489         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46490
46491 2011-06-21  Andreas Jaeger  <aj@suse.de>
46492
46493         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46494         Copy rule from iconvdata/Makefile.
46495
46496 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
46497
46498         [BZ #12922]
46499         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46500         but no long options are defined, just return 'W'.
46501
46502 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
46503
46504         [BZ #9696]
46505         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46506
46507 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
46508
46509         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46510         netgroups to read.
46511         (innetgr): Likewise.
46512
46513 2011-07-05  Roland McGrath  <roland@hack.frob.com>
46514
46515         * config.make.in (install_root): Default to $(DESTDIR).
46516
46517 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
46518
46519         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46520
46521 2011-07-02  Roland McGrath  <roland@hack.frob.com>
46522
46523         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46524
46525         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46526         containing directory rather than embedding absolute directory names.
46527
46528         * scripts/check-local-headers.sh: Rewritten using awk.
46529         Match by word, not by line.  Print error messages for matches.
46530         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46531
46532         * Makerules [shlib-lds-flags empty]:
46533         ($(common-objpfx)libc_pic.opts): New target.
46534         ($(common-objpfx)libc_pic.os.clean): New target.
46535         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
46536
46537         * config.make.in (OBJCOPY): New variable.
46538         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
46539         * configure: Regenerated.
46540
46541         * config.make.in (use-default-link): New variable.
46542         * configure.in (use_default_link): Grok --with-default-link to set it.
46543         * configure: Regenerated.
46544         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
46545         (shlib-lds, shlib-lds-flags): Define to empty.
46546
46547         * Makerules (shlib-lds): New variable.
46548         (shlib-lds-flags): New variable.
46549         (build-shlib, build-moduile, build-module-asneeded): Use it.
46550         ($(common-objpfx)libc.so): Use $(shlib-lds).
46551         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
46552         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
46553
46554         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
46555         DT_FLAGS/DT_FLAGS_1 with zero flags.
46556
46557         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
46558         linker script munging.
46559
46560 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
46561
46562         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
46563         as 128-bit value.
46564         * crypt/sha512.c (sha512_process_block): Perform total addition using
46565         128-bit if possible.
46566         (__sha512_finish_ctx): Likewise.
46567         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
46568         as 64-bit value.
46569         * crypt/sha256.c (SWAP64): Define.
46570         (sha256_process_block): Perform total addition using 64-bit if
46571         possible.
46572         (__sha256_finish_ctx): Likewise.
46573
46574 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
46575
46576         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
46577         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46578         * nscd/hstcache.c (cache_addhst): Likewise.
46579         * nscd/grpcache.c (cache_addgr): Likewise.
46580         * nscd/aicache.c (addhstaiX): Likewise
46581         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
46582
46583 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
46584
46585         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
46586         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46587         * nscd/hstcache.c (cache_addhst): Likewise.
46588         * nscd/grpcache.c (cache_addgr): Likewise.
46589         * nscd/aicache.c (addhstaiX): Likewise
46590
46591 2011-07-01  Andreas Schwab  <schwab@redhat.com>
46592
46593         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
46594         domain only when needed.
46595
46596 2011-06-30  Andreas Schwab  <schwab@redhat.com>
46597
46598         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
46599         is always restored.
46600
46601 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
46602
46603         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
46604         are re-adding the entry.
46605         * nscd/servicescache.c (cache_addserv): Likewise.
46606
46607 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
46608
46609         * sysdeps/generic/dl-irel.h: fix protection against multiple
46610         inclusions.
46611         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
46612
46613 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
46614
46615         [BZ #12935]
46616         * malloc/memusage.sh: Fix quoting in message.
46617         * debug/xtrace.sh: Likewise.
46618
46619         * configure.in: Remove support for --experimental-malloc option, make
46620         it the default.
46621         * config.make.in: Likewise.
46622         * malloc/Makefile: Likewise.
46623
46624 2011-06-27  Andreas Schwab  <schwab@redhat.com>
46625
46626         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
46627         two-byte characters.
46628
46629 2011-06-27  Roland McGrath  <roland@hack.frob.com>
46630
46631         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
46632         AC_CACHE_CHECK invocation.
46633         * configure: Regenerated.
46634
46635         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
46636
46637 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
46638
46639         [BZ #12350]
46640         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
46641         bit from old_res_options.
46642
46643         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
46644
46645         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
46646         value type for setfct.
46647
46648 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
46649
46650         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46651         __gettimeofday instead of gettimeofday.
46652
46653 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
46654
46655         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
46656
46657 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
46658
46659         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
46660
46661         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
46662         info.
46663
46664 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
46665
46666         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46667         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46668         strcpy-sse2-unaligned strncpy-sse2-unaligned
46669         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
46670         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
46671         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
46672         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
46673         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
46674         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
46675         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
46676         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
46677         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
46678         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
46679         (STRCPY): Support SSE2 and SSSE3 versions.
46680
46681 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
46682
46683         [BZ #12874]
46684         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
46685         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
46686         kernels which artificially limit size of requests.
46687
46688 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
46689
46690         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46691         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46692         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
46693         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
46694         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
46695         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
46696         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
46697         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
46698         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
46699         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
46700         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
46701         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
46702         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
46703         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
46704         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
46705         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46706         Enable unaligned load optimization for Intel Core i3, i5 and i7
46707         processors.
46708         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
46709         Define.
46710         (index_Fast_Unaligned_Load): Define.
46711         (HAS_FAST_UNALIGNED_LOAD): Define.
46712
46713 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
46714
46715         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
46716
46717 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
46718
46719         [BZ #12907]
46720         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
46721         until it is clear that the information is realy needed.
46722         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
46723
46724 2011-06-22  Andreas Schwab  <schwab@redhat.com>
46725
46726         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
46727
46728 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
46729
46730         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46731         /sys/devices/system/cpu/online if it is usable.
46732
46733         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
46734         reading the information from the /proc filesystem to once a second.
46735
46736 2011-06-21  Andreas Jaeger  <aj@suse.de>
46737
46738         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
46739         NULL after inclusion of kernel headers.
46740
46741 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
46742
46743         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
46744         calls to internal_setent.
46745
46746         [BZ #12885]
46747         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
46748         addresses using gethostbyname4_r ignore IPv4 addresses.
46749
46750         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
46751         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
46752
46753         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
46754
46755 2011-06-20  David S. Miller  <davem@davemloft.net>
46756
46757         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
46758         inclusions.
46759         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
46760
46761         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
46762         (elf_irel): Use it.
46763         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
46764         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
46765         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
46766         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
46767         * sysdeps/x86_64/dl-irel.h: Likewise.
46768
46769         * elf/dl-runtime.c: Use elf_ifunc_invoke.
46770         * elf/dl-sym.c: Likewise.
46771
46772 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
46773
46774         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
46775         need to dereference resplen2.
46776
46777 2011-06-14  Andreas Schwab  <schwab@redhat.com>
46778
46779         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
46780
46781 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
46782
46783         * Makeconfig: Define vardbdir and inst_vardbdir.
46784         * nss/Makefile: Add rules to install db-Makefile.
46785
46786         * nss/nss_db/db-XXX.c: Cleanup.
46787
46788         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
46789         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
46790         GLIBC_PRIVATE.
46791         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
46792         * nss/makedb.c: Implement -g option to specify that value strings
46793         are generated and should not be added to table iterated over for
46794         get*ent calls.
46795         * nss/nss_db/db-initgroups.c: New file.
46796
46797         * nss/getent.c: Add support for initgroups lookups through getgrouplist
46798         interface.
46799
46800         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46801         (internal_getgrouplist): Adjust to name change.
46802         Update use_initgroups_entry if this is not the first call.
46803         * nss/databases.def: Add initgroups entry.
46804
46805         * nss/makedb.c (compute_tables): Check result of multiple hash table
46806         sizes to minimize maximum chain length.
46807
46808 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
46809
46810         * Versions.def: Add entry for libnss_db.
46811         * shlib-versions: Likewise.
46812         * nss/Makefile: Add rules to build libnss_db.
46813         * nss/Versions: Add libnss_db information.  Organize libnss_files
46814         entries better.
46815         * nss/db-Makefile: Add gshadow support.  Change rules for the new
46816         makedb progra.  Some minor improvements to generate smaller files.
46817         * nss/nss_db/nss_db.h: Move NSS database header data structures to
46818         here from...
46819         * nss/makedb.c: ...here.
46820         Improve database format to be smaller and require less memory at
46821         runtime.
46822         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
46823         db anymore.
46824         * nss/nss_db/db-netgrp.c: Likewise.
46825         * nss/nss_db/db-open.c: Likewise.
46826         * nss/nss_files/flies-XXX.x: Adjust comments.
46827         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46828         * nss/nss_files/files-grp.c: Likewise.
46829         * nss/nss_files/files-hosts.c: Likewise.
46830         * nss/nss_files/files-network.c: Likewise.
46831         * nss/nss_files/files-proto.c: Likewise.
46832         * nss/nss_files/files-pwd.c: Likewise.
46833         * nss/nss_files/files-rpc.c: Likewise.
46834         * nss/nss_files/files-service.c: Likewise.
46835         * nss/nss_files/files-sgrp.c: Likewise.
46836         * nss/nss_files/files-spwd.c: Likewise.
46837         * nss/nss_db/db-alias.c: Removed.
46838         * nss/nss_db/dummy-db.h: Removed.
46839
46840 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
46841
46842         * nss/makedb.c: Rewritten to not use database library.
46843         * nss/Makefile: Update to build new makedb program.
46844
46845 2011-06-14  Andreas Jaeger  <aj@suse.de>
46846
46847         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46848         memset declaration.
46849
46850 2011-06-10  Andreas Schwab  <schwab@redhat.com>
46851
46852         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46853         tmpbuf.
46854
46855 2011-06-10  Roland McGrath  <roland@hack.frob.com>
46856
46857         * Makerules (shlib.lds): Fail if the linker script comes out empty.
46858         * elf/Makefile ($(objpfx)ld.so): Likewise.
46859
46860         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
46861         Don't list ld.so twice in dependencies.
46862
46863         * posix/bug-regex31.c: Include <stdlib.h>.
46864
46865         * nscd/hstcache.c (cache_addhst): Remove unused variable.
46866
46867         * nis/nss_compat/compat-spwd.c
46868         (getspent_next_nss_netgr): Remove unused variable.
46869         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
46870
46871         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
46872         nonmembers" output to use the right array.
46873
46874         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
46875
46876         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
46877
46878         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
46879         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
46880         * catgets/gencat.c (read_input_file): Likewise.
46881         * locale/programs/locarchive.c (enlarge_archive): Likewise.
46882
46883         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
46884         variable definition inside #if's controlling its use.
46885
46886         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
46887
46888         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
46889
46890         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
46891
46892         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
46893         unreachable code.
46894
46895         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
46896
46897         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
46898         * configure: Regenerated.
46899
46900         * Makerules: Revert last change.
46901         * elf/Makefile: Likewise.
46902
46903 2011-06-09  Roland McGrath  <roland@hack.frob.com>
46904
46905         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
46906         * elf/Makefile ($(objpfx)librtld.os): Likewise.
46907         (reloc-link): Likewise.
46908
46909 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
46910
46911         * elf/Makefile: Add rules to build pldd.
46912         * elf/pldd.c: New file.
46913         * elf/pldd-xx.c: New file.
46914
46915 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
46916
46917         * version.h: Update for 2.15 development version.
46918
46919 2011-06-07  David S. Miller  <davem@davemloft.net>
46920
46921         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
46922         ifuncs.
46923         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
46924         elf_machine_lazy_rel): Likewise.
46925         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46926         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
46927         elf_machine_lazy_rel): Likewise.
46928         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
46929         dl_hwcap via passed in argument.
46930         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
46931         Likewise.
46932
46933 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46934
46935         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
46936
46937 2011-06-06  Roland McGrath  <roland@hack.frob.com>
46938
46939         [BZ #12849]
46940         * manual/fdl-1.1.texi: New file, verbatim from:
46941         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
46942         * manual/lgpl-2.1.texi: New file, verbatim from:
46943         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
46944         * manual/Makefile (licenses): New variable, list those new file names.
46945         (texis): Use it.
46946         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
46947
46948         * manual/fdl.texi: File removed.
46949         * manual/lesser.texi: File removed.
46950         * manual/libc.texinfo (Copying, Documentation License):
46951         Use new @include file names, put @appendix directive before @include.
46952
46953 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
46954
46955         [BZ #12841]
46956         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
46957         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
46958         (mq_open): Add __NTH.
46959
46960 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
46961
46962         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46963         Assume Intel Core i3/i5/i7 processor if AVX is available.
46964
46965 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
46966
46967         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46968         typo.
46969
46970 2011-05-31  Andreas Schwab  <schwab@redhat.com>
46971
46972         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
46973         memory.  Use alloca_account.  Fix memory leak when retrying.
46974
46975 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
46976
46977         * version.h (RELEASE): Bump for 2.14 release.
46978         * include/features.h (__GLIBC_MINOR__): Bump to 14.
46979
46980         * config.make.in (RANLIB): Remove entry.
46981
46982 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
46983
46984         * po/Makefile (po-sed-cmd): Add ksh to extensions.
46985         (libc.pot): Work around missing support for .ksh extension in xgettext.
46986
46987         [BZ #12684]
46988         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
46989         if both request failed.
46990         (send_dg): In case of server errors clear resplen or *resplen2.
46991
46992         [BZ #12454]
46993         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
46994         when there are multiple maps.
46995         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
46996         (_dl_fini): Remove test here.
46997
46998         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
46999
47000 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
47001
47002         [BZ #12350]
47003         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
47004         bit from old_res_options.
47005         (gaih_inet): Likewise.
47006
47007         [BZ #11099]
47008         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
47009         as signed.
47010
47011         * resolv/res_init.c (res_setoptions): Make the code more compact.
47012
47013         [BZ #11558]
47014         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47015         set RES_USEVC.
47016
47017         [BZ #11634]
47018         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
47019
47020         * malloc/malloc.h: Mark malloc hook variables as deprecated.
47021
47022         [BZ #11781]
47023         * malloc/malloc.h: Declare malloc hook variables as volatile.
47024
47025         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
47026         in last patch.
47027
47028         [BZ #11799]
47029         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
47030         raise in the comment.
47031         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47032         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47033         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
47034
47035 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
47036
47037         [BZ #12811]
47038         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47039         grow the buffers more if it already has to be sufficient.
47040         (build_wcs_upper_buffer): Likewise.
47041         * posix/regexec.c (check_matching): Likewise.
47042         (clean_state_log_if_needed): Likewise.
47043         (extend_buffers): Don't enlarge buffers beyond size of the input
47044         buffer.
47045         Patches mostly by Emil Wojak <emil@wojak.eu>.
47046         * posix/bug-regex32.c: New file.
47047         * posix/Makefile (tests): Add bug-regex32.
47048
47049         * locale/findlocale.c (_nl_find_locale): Return right away if
47050         _nl_explode_name failed.
47051         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
47052
47053         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
47054
47055         * debug/xtrace.sh: Unify messages.
47056         * malloc/memusage.sh: Likewise.
47057
47058         [BZ #12813]
47059         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47060         time symbol from vDSO.  Substitute with vsyscall if not available.
47061         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47062         __vdso_time.
47063
47064         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47065         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47066         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47067         Add sendmmsg and internal_sendmmsg.
47068         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47069         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47070         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47071
47072         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47073         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47074         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47075
47076 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
47077
47078         [BZ #12813]
47079         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47080         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
47081         available.
47082         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
47083         __vdso_getcpu.
47084
47085         [BZ #12814]
47086         * iconvdata/Makefile (tests): Add bug-iconv9.
47087         * iconvdata/bug-iconv9.c: New file.
47088
47089 2011-05-27  Andreas Schwab  <schwab@redhat.com>
47090
47091         [BZ #12814]
47092         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47093
47094 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
47095
47096         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47097         (struct user_regs_struct): Change intcs field back to cs.
47098
47099 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
47100
47101         * po/ja.po: Update from translation team.
47102
47103 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
47104
47105         [BZ #12795]
47106         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47107         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47108
47109 2011-05-20  Andreas Schwab  <schwab@redhat.com>
47110
47111         * stdlib/longlong.h: Update from GCC.
47112
47113 2011-05-23  Andreas Schwab  <schwab@redhat.com>
47114
47115         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47116         parameter name.
47117         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47118         Add parameter name.
47119         (__sysconf): Pass it down.
47120
47121 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
47122
47123         [BZ #12671]
47124         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47125         some situations.
47126         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47127         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47128         add in in __libc_use_alloca calls.  Adjust callers.
47129         (glob): Use malloc in some situations.
47130
47131         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47132         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47133         pltexit.
47134
47135 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
47136
47137         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47138         and CLOCK_BOOTTIME_ALARM.
47139
47140         [BZ #12782]
47141         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47142         is returned.
47143
47144         * string/_strerror.c (__strerror_r): Print negative errors as signed
47145         numbers.
47146
47147         [BZ #12777]
47148         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47149         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47150         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47151
47152         * configure.in: Fix typo in redirection and correct removal of test
47153         files in two cases.
47154
47155         [BZ #12788]
47156         * locale/setlocale.c (new_composite_name): Fix test to check for
47157         identical name of all categories.
47158
47159         [BZ #12792]
47160         * libio/filedoalloc.c (local_isatty): New function.
47161         (_IO_file_doallocate): Use local_isatty.
47162         * stdio-common/perror.c (perror): In case a new stream is used
47163         forward the stream error.
47164         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47165         error flag.
47166
47167 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
47168
47169         [BZ #11869]
47170         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47171         alloca.
47172         * include/alloca.h (extend_alloca_account): Define.
47173
47174         [BZ #11857]
47175         * posix/regex.h: Fix comments with documentation of user-accessible
47176         fields after compilation and describe correct free'ing of pattern
47177         after re_compile_pattern.
47178         Patch by Reuben Thomas <rrt@sc3d.org>.
47179
47180 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
47181
47182         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47183         and -mno-altivec to prevent the compiler from using Altivec and/or
47184         VSX instructions when the corresponding registers are not available.
47185
47186 2011-05-19  Andreas Schwab  <schwab@redhat.com>
47187
47188         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47189
47190 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
47191
47192         * libio/freopen.c (freopen): Use __dup2, not dup2.
47193         * libio/freopen64.c (freopen64): Likewise.
47194
47195 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47196
47197         [BZ #12775]
47198         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
47199         * math/Makefile (tests): Add test-powl.
47200         (CFLAGS-test-powl.c): Define.
47201         * math/test-powl.c: New file.
47202
47203 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47204
47205         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
47206
47207 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
47208
47209         [BZ #11837]
47210         * iconvdata/gb18030.c: Update to GB18020-2005.
47211
47212 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
47213
47214         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47215         RE_SYNTAX_POSIX_AWK): Update to match recent development.
47216         Patch by Aharon Robbins <arnold@skeeve.com>.
47217
47218         [BZ #11892]
47219         * stdlib/putenv.c (putenv): Don't always create copy of the variable
47220         on the stack.
47221
47222         [BZ #11895]
47223         * misc/pselect.c (__pselect): Handle timeout value errors hidden
47224         through underflows.
47225
47226         [BZ #12766]
47227         * misc/error.c (error_at_line): Ensure file_name and old_file_name
47228         point to strings before performing equality test for error_one_per_line
47229         mode.
47230
47231         [BZ #11697]
47232         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47233
47234         [BZ #11820]
47235         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47236         (struct user_fpregs_struct): Avoid __uint*_t types.
47237
47238         [BZ #6420]
47239         * malloc/mtrace.c (tr_where): Add additional parameter to point to
47240         symbol info.  Use it instead of calling _dl_addr locally.
47241         (lock_and_info): New function.
47242         (tr_freehook): Call lock_and_info and pass symbol info as additional
47243         parameter to tr_where.
47244         (tr_mallochook): Likewise.
47245         (tr_reallochook): Likewise.
47246         (tr_memalignhook): Likewise.
47247
47248         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
47249         used and couldn't be at all thread-safe.
47250
47251 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
47252
47253         * libio/freopen.c (freopen): Don't close old file descriptor
47254         before the new one is opened.  Instead dup the new file descriptor
47255         to the old one after the new stream is created.
47256         * libio/freopen64.c (freopen64): Likewise.
47257         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47258         * libio/fileops.c (_IO_new_file_close_it): Handle new
47259         _IO_FLAGS2_NOCLOSE flag.
47260         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47261         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47262         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47263         _IO_FLAGS2_NOCLOSE flag.
47264         * include/unistd.h: Add hidden_proto for dup3.
47265         Define __have_dup3.
47266         * io/dup3.c: Define hidden symbol.
47267         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47268
47269         [BZ #7101]
47270         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47271         when an incomplete long option is used.
47272         * posix/tst-getopt_long1.c: New file.
47273         * posix/Makefile (tests): Add tst-getopt_long1.
47274
47275         [BZ #10138]
47276         * scripts/config.guess: Update from autoconf-2.68.
47277         * scripts/config.sub: Likewise.
47278
47279         [BZ #10157]
47280         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47281         tests into ...
47282         (has_cpuclock): ...this.  New function.
47283         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47284         macro here based on has_cpuclock code.
47285
47286         [BZ #10149]
47287         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47288         First byte (not low byte) is now always NUL.
47289         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47290
47291         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47292         Use non-cancelable interfaces.
47293
47294         [BZ #9809]
47295         * locale/iso-639.def: Add entry for Sorani.
47296
47297         [BZ #11901]
47298         * include/stdlib.h: Move include protection to the right place.
47299         Define abort_msg_s.  Declare __abort_msg with it.
47300         * stdlib/abort.c (__abort_msg): Adjust type.
47301         * assert/assert.c (__assert_fail_base): New function.  Majority
47302         of code from __assert_fail.  Allocate memory for __abort_msg with
47303         mmap.
47304         (__assert_fail): Now call __assert_fail_base.
47305         * assert/assert-perr.c: Remove bulk of implementation.  Use
47306         __assert_fail_base.
47307         * include/assert.hL Declare __assert_fail_base.
47308         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47309         mmap.
47310         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47311
47312 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
47313
47314         [BZ #11952]
47315         [BZ #12453]
47316         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47317         until all modules are registered in the DTV.
47318         * elf/Makefile: Add rules to build and run tst-tls19.
47319         * elf/tst-tls19.c: New file.
47320         * elf/tst-tls19mod1.c: New file.
47321         * elf/tst-tls19mod2.c: New file.
47322         * elf/tst-tls19mod3.c: New file.
47323         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
47324
47325         [BZ #12083]
47326         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
47327         correctly.
47328
47329         [BZ #12601]
47330         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
47331         two-byte sequence errors.
47332         * iconvdata/Makefile (tests): Add bug-iconv8.
47333         * iconvdata/bug-iconv8.c: New file.
47334
47335         [BZ #12626]
47336         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
47337         buf2 definition.
47338
47339         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
47340
47341         [BZ #12432]
47342         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
47343         (dummy_getcfa): New function.
47344         (init): Get _Unwind_GetCFA address, use dummy if not found.
47345         (backtrace_helper): In recursion check, also check whether CFA changes.
47346         (__backtrace): Completely initialize arg.
47347
47348         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
47349         storing incomplete byte sequence in state object.  Avoid testing for
47350         guaranteed too small input if we know there is enough data available.
47351
47352 2011-05-11  Andreas Schwab  <schwab@redhat.com>
47353
47354         * Makeconfig (+link-pie): Indent.
47355         * Rules (binaries-pie): Define if $(have-fpie) and
47356         $(build-shared).
47357         (binaries-shared): Also filter out $(binaries-pie).
47358         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
47359         * nscd/Makefile (others-pie): Add nscd.
47360         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
47361         ($(objpfx)nscd): Remove command override.
47362         * login/Makefile (others-pie): Add pt_chown.
47363         ($(objpfx)pt_chown): Remove command override.
47364         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
47365         remove command overrides.
47366
47367 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
47368
47369         * libio/tst_putwc.c: Fix error messages.
47370
47371         [BZ #12724]
47372         * libio/fileops.c (_IO_new_file_close_it): Always flush when
47373         currently writing and seek to current position when not.
47374         * libio/Makefile (tests): Add bug-fclose1.
47375         * libio/bug-fclose1.c: New file.
47376
47377 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
47378
47379         [BZ #12511]
47380         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
47381         don't set DF_1_NODELETE here.
47382         (do_lookup_x): When entering new entry test for copy relocation
47383         and if necessary set DF_1_NODELETE flag.
47384         * elf/tst-unique4.cc: New file.
47385         * elf/tst-unique4.h: New file.
47386         * elf/tst-unique4lib.cc: New file.
47387         * elf/Makefile: Add rules to build and run tst-unique4.
47388         Patch by Piotr Bury <pbury@goahead.com>.
47389
47390 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
47391
47392         [BZ #12052]
47393         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
47394
47395         [BZ #12625]
47396         * misc/mntent_r.c (addmntent): Flush the stream after the output
47397
47398         [BZ #12393]
47399         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
47400         (is_trusted_path_normalize): Skip initial colon.  Append slash
47401         to empty buffer.  Duplicate is_trusted_path code but allow
47402         constructed patch to be prefix.
47403         (is_dst): Allow $ORIGIN followed by /.
47404         (_dl_dst_substitute): Correct clearing of check_for_trusted.
47405         Correct testing of result of is_trusted_path_normalize
47406         (decompose_rpath): Fix warning.
47407
47408 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
47409
47410         [BZ #11257]
47411         * grp/initgroups.c (internal_getgrouplist): When we found the service
47412         list through the initgroups entry in nsswitch.conf do not always
47413         continue on a successful lookup.  Don't always use the
47414         __nss_group_database value if it is set.
47415         * nss/nsswitch.conf (initgroups): Change action for successful db
47416         lookup to continue for compatibility.
47417
47418 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
47419
47420         [BZ #11532]
47421         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47422         and CP774 modules.
47423         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47424         and CP774 modules.
47425         * iconvdata/tst-tables.sh: Likewise.
47426         * iconvdata/cp770.c: New file.
47427         * iconvdata/cp771.c: New file.
47428         * iconvdata/cp772.c: New file.
47429         * iconvdata/cp773.c: New file.
47430         * iconvdata/cp774.c: New file.
47431         * iconvdata/testdata/CP770: New file.
47432         * iconvdata/testdata/CP770..UTF8: New file.
47433         * iconvdata/testdata/CP771: New file.
47434         * iconvdata/testdata/CP771..UTF8: New file.
47435         * iconvdata/testdata/CP772: New file.
47436         * iconvdata/testdata/CP772..UTF8: New file.
47437         * iconvdata/testdata/CP773: New file.
47438         * iconvdata/testdata/CP773..UTF8: New file.
47439         * iconvdata/testdata/CP774: New file.
47440         * iconvdata/testdata/CP774..UTF8: New file.
47441
47442         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47443         END CHARMAP line.
47444         * iconvdata/gen-8bit-gap.sh: Likewise.
47445         * iconvdata/gen-8bit.sh: Likewise.
47446
47447         * locale/iso-639.def: Add ary entry.
47448
47449         [BZ #11258]
47450         * locale/C-translit.h.in: Add U20A1 transliteration.
47451
47452         [BZ #12178]
47453         * locale/iso-639.def: Add wae entry.
47454         Patch by Kevin Bortis <bortis@translate-wae.ch>.
47455
47456         [BZ #12545]
47457         * locale/programs/localedef.c (construct_output_path): Use ssize_t
47458         for n.
47459
47460         [BZ #12711]
47461         * locale/C-translit.h.in: Add entry for U20B9.
47462         Patch by pravin.d.s@gmail.com.
47463
47464 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
47465
47466         [BZ #12713]
47467         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47468         ENAMETOOLONG use generic getcwd.
47469         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
47470         in rtld.  Use *stat64.
47471         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
47472         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
47473         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
47474         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47475         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47476         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47477         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47478         __fstatat64 macros.
47479         * include/dirent.h: Add libc_hidden_proto for rewinddir.
47480         * dirent/rewinddir.c: Add libc_hidden_def.
47481         * sysdeps/mach/hurd/rewinddir.c: Likewise.
47482         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
47483
47484         * include/dirent.h (__alloc_dir): Add flags parameter.
47485         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47486         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47487         __alloc_dir.
47488         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
47489         from fdopendir if O_CLOEXEC is already set.
47490
47491 2011-03-15  Alan Modra  <amodra@gmail.com>
47492
47493         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47494         l_tls_firstbyte_offset non-zero.  Save padding offset in
47495         l_tls_firstbyte_offset for later use.
47496         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47497         freeing static tls block.
47498
47499 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
47500
47501         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47502         where #ifdef was intended.  The intent is to prevent ARG_MAX from
47503         being defined by the kernel headers.
47504
47505 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
47506
47507         [BZ #12734]
47508         * resolv/resolv.h: Define RES_NOTLDQUERY.
47509         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47510         no-tld-query and set RES_NOTLDQUERY.
47511         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47512         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47513         modern BIND to search name as TLD unless forbidden.
47514
47515 2011-05-07  Petr Baudis  <pasky@suse.cz>
47516             Ulrich Drepper  <drepper@gmail.com>
47517
47518         [BZ #12393]
47519         * elf/dl-load.c (fillin_rpath): Move trusted path check...
47520         (is_trusted_path): ...to here.
47521         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47522         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
47523         using is_trusted_path_normalize() in setuid scripts.
47524
47525 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
47526
47527         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47528         __BEGIN/__END_DECLS.
47529
47530 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
47531
47532         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
47533         NSS_STATUS_NOTFOUND if no record was found.
47534
47535 2011-05-05  Andreas Schwab  <schwab@redhat.com>
47536
47537         * sunrpc/Makefile (headers): Add rpc/netdb.h.
47538         (headers-not-in-tirpc): Remove rpc/netdb.h
47539         * resolv/netdb.h: Revert last change.
47540
47541 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
47542
47543         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
47544         circular dependency between libgcc.a and libc.a.
47545
47546 2011-05-05  Andreas Schwab  <schwab@redhat.com>
47547
47548         * resolv/netdb.h: Don't include <rpc/netdb.h>.
47549         * nis/Makefile: Don't install rpcsvc/*.
47550         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
47551         instead of <rpc/types.h>.
47552         (MAXHOSTNAMELEN): Define.
47553
47554 2011-05-03  Andreas Schwab  <schwab@redhat.com>
47555
47556         * elf/ldconfig.c (add_dir): Don't crash on empty path.
47557
47558 2011-04-28  Maciej Babinski  <mbabinski@google.com>
47559
47560         [BZ #12714]
47561         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
47562         gethostbyname4_r when IPv6 results are possible.
47563
47564 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
47565
47566         [BZ #12723]
47567         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
47568         _PC_PIPE_BUF handling.
47569
47570 2011-04-30  Bruno Haible  <bruno@clisp.org>
47571
47572         [BZ #12717]
47573         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
47574         * resolv/netdb.h (getnameinfo): Change type of flags parameter
47575         to 'int'.
47576         * inet/getnameinfo.c (getnameinfo): Likewise.
47577
47578 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
47579
47580         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
47581         to groups setting in database lookup.
47582         * nss/nsswitch.conf: Add initgroups entry.
47583
47584 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
47585
47586         [BZ #12685]
47587         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
47588         mode string.
47589         Patch by Eric Blake <eblake@redhat.com>.
47590
47591 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
47592
47593         * sunrpc/Makefile (need-export-routines): Add svc_run.
47594         (routines): Remove svc_run.
47595         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
47596         * sunrpc/clnt_perr.c (clnt_perrno): Export.
47597         * sunrpc/svc_run.c (svc_run): Likewise.
47598         * sunrpc/svc_udp.c (svcudp_create): Likewise.
47599
47600 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
47601
47602         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
47603         problem in reallocation in last patch.
47604
47605 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
47606
47607         * sunrpc/Makefile: Move inclusion of Rules.
47608
47609 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
47610
47611         * nss/nss_files/files-initgroups.c: New file.
47612         * nss/Makefile (libnss_files-routines): Add files-initgroups.
47613         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
47614         _nss_files_initgroups_dyn.
47615
47616 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
47617
47618         * elf/elf.h (R_ARM_IRELATIVE): Define.
47619
47620 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
47621
47622         * po/ru.po: Update from translation team.
47623
47624 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
47625
47626         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
47627         dependencies.
47628
47629 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
47630
47631         [BZ #12653]
47632         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
47633         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
47634         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47635         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47636         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47637
47638 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
47639
47640         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
47641         differing bytes.
47642         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47643         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47644         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47645
47646 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
47647
47648         [BZ #12420]
47649         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
47650         storing it.
47651         * stdlib/bug-getcontext.c: New file.
47652         * stdlib/Makefile: Add rules to build and run bug-getcontext.
47653
47654 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47655
47656         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
47657         instructions into .machine "z9-109".
47658         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
47659         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
47660
47661 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47662
47663         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
47664         between environment variables and auxiliary vector.
47665
47666 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
47667
47668         * Makefile: Add rules to build linkobj/libc.so.
47669         * include/libc-symbols.h: Define libc_hidden_nolink.
47670         * include/rpc/auth.h: Mark functions which are to be hidden.
47671         * include/rpc/auth_des.h: Likewise.
47672         * include/rpc/auth_unix.h: Likewise.
47673         * include/rpc/clnt.h: Likewise.
47674         * include/rpc/des_crypt.h: Likewise.
47675         * include/rpc/key_prot.h: Likewise.
47676         * include/rpc/pmap_clnt.h: Likewise.
47677         * include/rpc/pmap_prot.h: Likewise.
47678         * include/rpc/pmap_rmt.h: Likewise.
47679         * include/rpc/rpc_msg.h: Likewise.
47680         * include/rpc/svc.h: Likewise.
47681         * include/rpc/svc_auth.h: Likewise.
47682         * include/rpc/xdr.h: Likewise.
47683         * nis/Makefile: Link all DSOs against linkobj/libc.so.
47684         * nss/Makefile: Likewise.
47685         * sunrpc/Makefile: Don't install headers.  Build library with normal
47686         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
47687         * sunrpc/auth_des.c: Hide exported symbols by default, export some
47688         for the compat linking library.  Remove use of INTDEF/INTUSE.
47689         * sunrpc/auth_none.c: Likewise.
47690         * sunrpc/auth_unix.c: Likewise.
47691         * sunrpc/authdes_prot.c: Likewise.
47692         * sunrpc/authuxprot.c: Likewise.
47693         * sunrpc/clnt_gen.c: Likewise.
47694         * sunrpc/clnt_perr.c: Likewise.
47695         * sunrpc/clnt_raw.c: Likewise.
47696         * sunrpc/clnt_simp.c: Likewise.
47697         * sunrpc/clnt_tcp.c: Likewise.
47698         * sunrpc/clnt_udp.c: Likewise.
47699         * sunrpc/clnt_unix.c: Likewise.
47700         * sunrpc/des_crypt.c: Likewise.
47701         * sunrpc/des_soft.c: Likewise.
47702         * sunrpc/get_myaddr.c: Likewise.
47703         * sunrpc/key_call.c: Likewise.
47704         * sunrpc/key_prot.c: Likewise.
47705         * sunrpc/netname.c: Likewise.
47706         * sunrpc/pm_getmaps.c: Likewise.
47707         * sunrpc/pm_getport.c: Likewise.
47708         * sunrpc/pmap_clnt.c: Likewise.
47709         * sunrpc/pmap_prot.c: Likewise.
47710         * sunrpc/pmap_prot2.c: Likewise.
47711         * sunrpc/pmap_rmt.c: Likewise.
47712         * sunrpc/publickey.c: Likewise.
47713         * sunrpc/rpc_cmsg.c: Likewise.
47714         * sunrpc/rpc_common.c: Likewise.
47715         * sunrpc/rpc_dtable.c: Likewise.
47716         * sunrpc/rpc_prot.c: Likewise.
47717         * sunrpc/rpc_thread.c: Likewise.
47718         * sunrpc/rtime.c: Likewise.
47719         * sunrpc/svc.c: Likewise.
47720         * sunrpc/svc_auth.c: Likewise.
47721         * sunrpc/svc_authux.c: Likewise.
47722         * sunrpc/svc_raw.c: Likewise.
47723         * sunrpc/svc_run.c: Likewise.
47724         * sunrpc/svc_simple.c: Likewise.
47725         * sunrpc/svc_tcp.c: Likewise.
47726         * sunrpc/svc_udp.c: Likewise.
47727         * sunrpc/svc_unix.c: Likewise.
47728         * sunrpc/svcauth_des.c: Likewise.
47729         * sunrpc/xcrypt.c: Likewise.
47730         * sunrpc/xdr.c: Likewise.
47731         * sunrpc/xdr_array.c: Likewise.
47732         * sunrpc/xdr_float.c: Likewise.
47733         * sunrpc/xdr_intXX_t.c: Likewise.
47734         * sunrpc/xdr_mem.c: Likewise.
47735         * sunrpc/xdr_rec.c: Likewise.
47736         * sunrpc/xdr_ref.c: Likewise.
47737         * sunrpc/xdr_sizeof.c: Likewise.
47738         * sunrpc/xdr_stdio.c: Likewise.
47739
47740 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
47741
47742         [BZ #12650]
47743         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
47744         * sysdeps/ia64/dl-tls.h: Likewise.
47745         * sysdeps/powerpc/dl-tls.h: Likewise.
47746         * sysdeps/s390/dl-tls.h: Likewise.
47747         * sysdeps/sh/dl-tls.h: Likewise.
47748         * sysdeps/sparc/dl-tls.h: Likewise.
47749         * sysdeps/x86_64/dl-tls.h: Likewise.
47750         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
47751
47752 2011-03-14  Andreas Schwab  <schwab@redhat.com>
47753
47754         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
47755         rpath element also skip the following colon.
47756         (expand_dynamic_string_token): Add is_path parameter and pass
47757         down to DL_DST_REQUIRED and _dl_dst_substitute.
47758         (decompose_rpath): Call expand_dynamic_string_token with
47759         non-zero is_path.  Ignore empty rpaths.
47760         (_dl_map_object_from_fd): Call expand_dynamic_string_token
47761         with zero is_path.
47762
47763 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
47764
47765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47766         Make cancelable.
47767
47768 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
47769
47770         [BZ #12655]
47771         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
47772         Patch by Filipe David Manana <fdmanana@apache.org>.
47773
47774 2011-04-07  Andreas Schwab  <schwab@redhat.com>
47775
47776         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
47777         Maintain aligned stack.
47778         (CHECK_RSP): Remove unused macro.
47779
47780 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
47781
47782         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
47783         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
47784
47785 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
47786
47787         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
47788
47789         * include/features.h: Mention __USE_XOPEN2K8 in comment.
47790
47791 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
47792
47793         [BZ #12518]
47794         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47795         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47796         * sysdeps/x86_64/memmove.c: New file.
47797         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47798         (memcpy): Renamed to ...
47799         (__new_memcpy): This.
47800         (memcpy): Provide GLIBC_2_14 memcpy.
47801         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47802         (memcpy): Provide GLIBC_2_2_5 memcpy.
47803
47804 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
47805
47806         [BZ #12631]
47807         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47808
47809 2011-03-30  Andreas Schwab  <schwab@redhat.com>
47810
47811         * misc/syncfs.c: New file.
47812         * misc/Makefile (routines): Add syncfs.
47813         * posix/unistd.h: Declare syncfs.
47814         * sysdeps/unix/syscalls.list: Add syncfs.
47815
47816 2011-04-01  Andreas Schwab  <schwab@redhat.com>
47817
47818         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47819         open_by_handle_at.
47820         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47821         * sysdeps/unix/sysv/linux/ia64/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/syscalls.list: Likewise.
47826         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47827
47828 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
47829
47830         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47831         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47832         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47833         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47834         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47835         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47836         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47837
47838         * io/Makefile: Compile fallocate.c, fallocate64.c, and
47839         sync_file_range.c with -fexceptions.
47840         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47841         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47842         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47843         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47844         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47845         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47846         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
47847         sync_file_range as cancellation point
47848         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
47849         now a wrapper around __call_sync_file_range with cancellation handling.
47850         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47851         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
47852         function name to __call_sync_file_range.
47853         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47854         Add call_sync_file_range.
47855
47856 2011-04-01  Andreas Schwab  <schwab@redhat.com>
47857
47858         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47859         bits/timex.h.
47860
47861 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
47862
47863         * iconv/iconv.h: Fix typo in comment.
47864         * io/fcntl.h: Likewise.
47865         * libio/stdio.h: Likewise.
47866         * posix/spawn.h: Likewise.
47867         * posix/unistd.h: Likewise.
47868         * stdlib/stdlib.h: Likewise.
47869         * time/time.h: Likewise.
47870         * wcsmbs/wchar.h: Likewise.
47871
47872         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
47873         open_by_handle): Add.
47874         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
47875         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
47876         Augment a few comments.
47877         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47878         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47879         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47880         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47881         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47882         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
47883         open_by_handle.
47884
47885         * io/fcntl.h (AT_EMPTY_PATH): Define.
47886
47887 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
47888
47889         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
47890         * sysdeps/unix/sysv/linux/bits/time.h: New file.
47891         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
47892         to...
47893         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
47894         * Versions.def: Add GLIBC_2.14.
47895         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
47896         Export.
47897
47898 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
47899
47900         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
47901         round counter.
47902         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47903
47904 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
47905
47906         [BZ #12597]
47907         * string/test-strncmp.c (do_page_test): New function.
47908         (check2): Likewise.
47909         (test_main): Call check2.
47910         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
47911
47912 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
47913
47914         [BZ #12587]
47915         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
47916         Handle cache information in CPU leaf 4.
47917         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
47918
47919 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
47920
47921         [BZ #12583]
47922         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
47923         character representation.
47924         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
47925
47926 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
47927
47928         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
47929         END(__isnan) to END(__isnanf) to match function entry point/label
47930         EALIGN(__isnanf,...).
47931
47932 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
47933
47934         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
47935
47936 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
47937
47938         [BZ #12510]
47939         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
47940         copy from the symbol referenced in the relocation to initialize the
47941         used variable.
47942         Patch by Piotr Bury <pbury@goahead.com>.
47943         * elf/Makefile: Add rules to build and tst-unique3.
47944         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
47945         * elf/tst-unique3.cc: New file.
47946         * elf/tst-unique3.h: New file.
47947         * elf/tst-unique3lib.cc: New file.
47948         * elf/tst-unique3lib2.cc: New file.
47949
47950         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
47951
47952 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
47953
47954         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
47955         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
47956         to _start.
47957
47958 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
47959
47960         * elf/dl-load.c (_dl_map_object): If we are looking for the first
47961         to-be-loaded object along a path to loader is ld.so.
47962
47963 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
47964             Ulrich Drepper  <drepper@gmail.com>
47965
47966         * sysdeps/x86_64/memset.S: After aligning destination, code
47967         branches to different locations depending on the value of
47968         misalignment, when multiarch is enabled. Fix this.
47969
47970 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
47971
47972         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
47973         Set _x86_64_preferred_memory_instruction for AMD processsors.
47974         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47975         Set bit_Prefer_SSE_for_memop for AMD processors.
47976
47977 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
47978
47979         * libio/fmemopen.c (fmemopen): Optimize a bit.
47980
47981 2011-03-03  Andreas Schwab  <schwab@redhat.com>
47982
47983         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
47984
47985 2011-03-03  Roland McGrath  <roland@redhat.com>
47986
47987         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
47988
47989 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
47990
47991         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
47992         __bzero_ultra1 instead of __memset_ultra1.
47993
47994 2011-02-23  Andreas Schwab  <schwab@redhat.com>
47995             Ulrich Drepper  <drepper@gmail.com>
47996
47997         [BZ #12509]
47998         * include/link.h (struct link_map): Add l_orig_initfini.
47999         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
48000         returning unsuccessfully.
48001         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
48002         close of a file loaded at startup, restore the original l_initfini
48003         list.
48004         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
48005         list, store the pointer.
48006         * elf/Makefile ($(objpfx)noload-mem): New rule.
48007         (noload-ENV): Define.
48008         (tests): Add $(objpfx)noload-mem.
48009         * elf/noload.c: Include <memcheck.h>.
48010         (main): Call mtrace.  Close all opened handles.
48011
48012 2011-02-17  Andreas Schwab  <schwab@redhat.com>
48013
48014         [BZ #12454]
48015         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48016         dependencies are missing.
48017
48018 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48019
48020         Fix __if_freereq crash: Unlike the generic version which uses free,
48021         Hurd needs munmap.
48022         * sysdeps/mach/hurd/ifreq.h: New file.
48023
48024 2011-01-27  Petr Baudis  <pasky@suse.cz>
48025             Ulrich Drepper  <drepper@gmail.com>
48026
48027         [BZ 12445]#
48028         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
48029         to extend_alloca().
48030         * stdio-common/bug23.c: New file.
48031         * stdio-common/Makefile (tests): Add bug23.
48032
48033 2010-09-28  Andreas Schwab  <schwab@redhat.com>
48034             Ulrich Drepper  <drepper@gmail.com>
48035
48036         [BZ #12489]
48037         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48038         before performing relro protection.  At old place add assertion
48039         to make sure nothing changed.
48040
48041 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
48042             Glauber de Oliveira Costa  <glommer@gmail.com>
48043
48044         * elf/elf.h: Add new ARM TLS relocs.
48045
48046 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
48047
48048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48049         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
48050         cast from r3.
48051         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
48052         'tests' variable.
48053         * sysdeps/wordsize-64/tst-writev.c: New file.
48054
48055 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
48056
48057         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48058         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48059         insns in _dl_start to prevent a TOC reference before relocs are
48060         resolved.
48061
48062 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
48063
48064         [BZ #12469]
48065         * Makeconfig: Remove RANLIB definition.
48066         * Makerules: Don't use RANLIB.
48067         * aclocal.m4: Remove ranlib test.
48068         * configure.in: No need to check for ranlib.
48069         * elf/rtld-Rules: Don't use RANLIB.
48070
48071 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48072
48073         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48074         protection macro.
48075         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48076         inclusion protection macro.
48077
48078         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48079         SIGRTMIN and SIGRTMAX and print information in that case only when
48080         SIGRTMIN is defined.
48081
48082 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
48083
48084         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
48085         arginfo fn returning -1.
48086
48087         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
48088         and thousands string is zero terminated.
48089
48090 2011-02-03  Andreas Schwab  <schwab@redhat.com>
48091
48092         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48093         sysdeps/unix/sysv/linux/bits/socket.h.
48094
48095 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48096
48097         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48098         (__CPU_COUNT): Remove old macros.
48099         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48100         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48101         (__CPU_ALLOC, __CPU_FREE): Add macros.
48102         (__sched_cpualloc, __sched_cpufree): Add declarations.
48103
48104 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
48105
48106         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48107         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48108         * nscd/aicache.c (addhstaiX): Return timeout of added value.
48109         (readdhstai): Return value of addhstaiX call.
48110         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48111         (addgrbyX): Return value returned by cache_addgr.
48112         (readdgrbyname): Return value returned by addgrbyX.
48113         (readdgrbygid): Likewise.
48114         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48115         (addpwbyX): Return value returned by cache_addpw.
48116         (readdpwbyname): Return value returned by addhstbyX.
48117         (readdpwbyuid): Likewise.
48118         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48119         (addservbyX): Return value returned by cache_addserv.
48120         (readdservbyname): Return value returned by addservbyX:
48121         (readdservbyport): Likewise.
48122         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48123         (addhstbyX): Return value returned by cache_addhst.
48124         (readdhstbyname): Return value returned by addhstbyX.
48125         (readdhstbyaddr): Likewise.
48126         (readdhstbynamev6): Likewise.
48127         (readdhstbyaddrv6): Likewise.
48128         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48129         (readdinitgroups): Return value returned by addinitgroupsX.
48130         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48131         (prune_cache): Keep track of timeout value of re-added entries.
48132         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48133         * nscd/nscd.h: Adjust prototypes of readd* functions.
48134
48135 2011-02-04  Roland McGrath  <roland@redhat.com>
48136
48137         * nis/nis_server.c (nis_servstate): Use the right name for 0.
48138         (nis_stats): Likewise.
48139         * nis/nis_modify.c (nis_modify): Likewise.
48140         * nis/nis_remove.c (nis_remove): Likewise.
48141         * nis/nis_add.c (nis_add): Likewise.
48142
48143         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48144
48145         * posix/fnmatch_loop.c: Add some consts.
48146
48147         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48148
48149 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
48150
48151         [BZ #12460]
48152         * config.make.in (config-cflags-novzeroupper): Define.
48153         * configure.in: Substitute libc_cv_cc_novzeroupper.
48154         * elf/Makefile (AVX-CFLAGS): Define.
48155         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48156         (CFLAGS-tst-auditmod4a.c): Likewise.
48157         (CFLAGS-tst-auditmod4b.c): Likewise.
48158         (CFLAGS-tst-auditmod6b.c): Likewise.
48159         (CFLAGS-tst-auditmod6c.c): Likewise.
48160         (CFLAGS-tst-auditmod7b.c): Likewise.
48161         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48162
48163 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
48164
48165         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48166         function to the callback.
48167         Patch partly by Jiri Olsa <jolsa@redhat.com>.
48168
48169 2011-02-02  Andreas Schwab  <schwab@redhat.com>
48170
48171         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48172         of errno.
48173
48174 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
48175
48176         [BZ #11724]
48177         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48178         of constructors.
48179         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48180         of destructors.
48181         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48182
48183         [BZ #11724]
48184         * elf/Makefile: Add rules to build and run new test.
48185         * elf/tst-initorder.c: New file.
48186         * elf/tst-initorder.exp: New file.
48187         * elf/tst-initordera1.c: New file.
48188         * elf/tst-initordera2.c: New file.
48189         * elf/tst-initordera3.c: New file.
48190         * elf/tst-initordera4.c: New file.
48191         * elf/tst-initorderb1.c: New file.
48192         * elf/tst-initorderb2.c: New file.
48193         * elf/tst-order-a1.c: New file.
48194         * elf/tst-order-a2.c: New file.
48195         * elf/tst-order-a3.c: New file.
48196         * elf/tst-order-a4.c: New file.
48197         * elf/tst-order-b1.c: New file.
48198         * elf/tst-order-b2.c: New file.
48199         * elf/tst-order-main.c: New file.
48200         New test case by George Gensure <werkt0@gmail.com>.
48201
48202 2010-10-01  Andreas Schwab  <schwab@redhat.com>
48203
48204         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48205         decoding ACE if AI_CANONIDN.
48206
48207 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
48208
48209         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
48210
48211 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
48212
48213         * version.h (RELEASE): Bump for 2.13 release.
48214         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48215
48216         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48217
48218         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48219         MADV_NOHUGEPAGE.
48220         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48221         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48222         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48223         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48224         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48225         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48226
48227         * posix/getconf.c: Update copyright year.
48228         * catgets/gencat.c: Likewise.
48229         * csu/version.c: Likewise.
48230         * debug/catchsegv.sh: Likewise.
48231         * debug/xtrace.sh: Likewise.
48232         * elf/ldconfig.c: Likewise.
48233         * elf/ldd.bash.in: Likewise.
48234         * elf/sprof.c (print_version): Likewise.
48235         * iconv/iconv_prog.c: Likewise.
48236         * iconv/iconvconfig.c: Likewise.
48237         * locale/programs/locale.c: Likewise.
48238         * locale/programs/localedef.c: Likewise.
48239         * malloc/memusage.sh: Likewise.
48240         * malloc/mtrace.pl: Likewise.
48241         * nscd/nscd.c (print_version): Likewise.
48242         * nss/getent.c: Likewise.
48243
48244         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48245         PF_CAIF, and PF_ALG.
48246         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48247
48248 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
48249
48250         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48251         (modules-names): Use them.
48252         (ifunc-test-modules, ifunc-pie-tests): Define.
48253         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48254         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48255         (test-extras): Likewise.
48256         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48257         $(compile-command.c).
48258         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48259         (all-built-dso): Define.
48260         (check-textrel.out, check-execstack.out): Depend on it.
48261
48262         * configure.in: Don't override --enable-multi-arch.
48263
48264 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
48265
48266         [BZ #6812]
48267         * nscd/hstcache.c (tryagain): Define.
48268         (cache_addhst): Return tryagain not notfound for temporary errors.
48269         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48270         failed.
48271
48272 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
48273
48274         [BZ #10563]
48275         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48276         to make the syscall.
48277         * sysdeps/unix/sysv/linux/setgroups.c: New file.
48278
48279         [BZ #12378]
48280         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48281         and fall back to matching as normal character if the string ends before
48282         the matching ']' is found.  This is what POSIX requires.
48283         * posix/testfnm.c: Adjust test result.
48284         * posix/globtest.sh: Adjust test result.  Add new test.
48285         * posix/tst-fnmatch.input: Likewise.
48286         * posix/tst-fnmatch2.c: Add new test.
48287
48288 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
48289
48290         * elf/Makefile (check-execstack): Revert last change.  Depend on
48291         check-execstack.h.
48292         (check-execstack.h): New target.
48293         (generated): Add check-execstack.h.
48294         * elf/check-execstack.c: Include "check-execstack.h".
48295         (main): Revert last change.
48296         (handle_file): Return zero if GNU_STACK is absent and
48297         DEFAULT_STACK_PERMS doesn't include PF_X.
48298
48299 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
48300
48301         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48302         in child fails because the descriptor is already closed.
48303         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48304         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48305         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
48306
48307         [BZ #12397]
48308         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48309         syscall.
48310
48311         [BZ #10484]
48312         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48313         temporary buffer used to handle multi lookups locally.
48314         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
48315
48316 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
48317
48318         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48319         loader is ld.so.
48320
48321 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
48322
48323         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
48324         alignment for SSE2.
48325
48326 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
48327
48328         [BZ #12394]
48329         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
48330         characters.  When rounding increased number of integer digits recompute
48331         number of groups.
48332         * stdio-common/tst-grouping.c: New file.
48333         * stdio-common/Makefile: Add rules to build and run tst-grouping.
48334
48335 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
48336
48337         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
48338         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
48339
48340         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
48341         void.
48342         * bits/select.h: Likewise.
48343
48344 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
48345
48346         * po/ja.po: Update from translation team.
48347
48348 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
48349
48350         [BZ #11155]
48351         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
48352         implementation just like for lxstat, fxstatat, et al.
48353
48354 2010-12-27  Jim Meyering  <meyering@redhat.com>
48355
48356         [BZ #12348]
48357         * posix/regexec.c (build_trtable): Return failure indication upon
48358         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
48359
48360 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
48361
48362         [BZ #12201]
48363         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
48364         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
48365         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
48366         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
48367
48368         [BZ #12207]
48369         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
48370
48371         [BZ #12204]
48372         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
48373         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
48374
48375 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
48376
48377         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
48378         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
48379         script has SORT_BY_INIT_PRIORITY.
48380         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
48381         NO_CTORS_DTORS_SECTIONS is defined.
48382         * elf/soinit.c: Likewise.
48383         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
48384         NO_CTORS_DTORS_SECTIONS is defined.
48385         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
48386         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
48387         * sysdeps/sh/init-first.c: Likewise.
48388         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
48389
48390 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
48391
48392         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
48393         always use the slow path.
48394
48395 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
48396
48397         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
48398         similar rule which adds the sysdep directories to the header search in
48399         order to pick up the correct platform stackinfo.h.
48400         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48401         perform test if it is, otherwise return successfully without testing.
48402         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48403         DEFAULT_STACK_PERMS define in stackinfo.h.
48404         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48405         defined in stackinfo.h.
48406         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48407         DEFAULT_STACK_PERMS defined in stackinfo.h.
48408         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48409         * sysdeps/ia64/stackinfo.h: Likewise.
48410         * sysdeps/s390/stackinfo.h: Likewise.
48411         * sysdeps/sh/stackinfo.h: Likewise.
48412         * sysdeps/sparc/stackinfo.h: Likewise.
48413         * sysdeps/x86_64/stackinfo.h: Likewise.
48414         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48415         PF_X for powerpc64.  Retain PF_X for powerpc32.
48416
48417 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
48418
48419         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48420         accurately.
48421         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48422         GETDENTS_64BIT_ALIGNED.
48423
48424 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
48425
48426         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
48427
48428 2010-12-10  Andreas Schwab  <schwab@redhat.com>
48429
48430         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48431         _GNU_SOURCE.
48432
48433         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48434         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48435         Remove __restrict.
48436         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48437         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48438
48439 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
48440
48441         [BZ #11655]
48442         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48443         are initialized.
48444
48445 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
48446
48447         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48448
48449 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
48450
48451         * po/it.po: Update from translation team.
48452
48453 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
48454
48455         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48456         unused codes.
48457
48458 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
48459
48460         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48461
48462 2010-11-24  Andreas Schwab  <schwab@redhat.com>
48463
48464         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48465         specially.
48466         (gaih_getanswer_slice): Likewise.
48467
48468 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
48469
48470         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48471
48472 2010-05-31  Petr Baudis  <pasky@suse.cz>
48473
48474         [BZ #11149]
48475         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48476         silently even in the chroot mode.
48477
48478 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
48479
48480         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48481         last patch a bit.  Pretty printing
48482
48483 2010-05-31  Petr Baudis <pasky@suse.cz>
48484
48485         [BZ #10085]
48486         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48487         initialization of skip_initgroups_dyn.
48488
48489 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
48490
48491         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48492         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48493
48494 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
48495
48496         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48497
48498 2010-11-11  Andreas Schwab  <schwab@redhat.com>
48499
48500         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48501         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48502         (tst-fnmatch-ENV): Set MALLOC_TRACE.
48503         ($(objpfx)tst-fnmatch-mem): New rule.
48504         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48505         * posix/tst-fnmatch.c (main): Call mtrace.
48506
48507 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
48508
48509         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48510         Support Intel processor model 6 and model 0x2c.
48511
48512 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
48513
48514         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48515           signed comparison.
48516
48517 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
48518
48519         [BZ #12205]
48520         * string/test-strncasecmp.c (check_result): New function.
48521         (do_one_test): Use it.
48522         (check1): New function.
48523         (test_main): Use it.
48524         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48525         Support strcasecmp and strncasecmp.
48526
48527 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
48528
48529         [BZ #12194]
48530         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48531         * sysdeps/x86_64/bits/byteswap.h: Likewise.
48532
48533 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
48534
48535         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
48536         IFUNC support.
48537         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48538         memset-x86-64.
48539         * sysdeps/x86_64/multiarch/bzero.S: New file.
48540         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
48541         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
48542         * sysdeps/x86_64/multiarch/memset.S: New file.
48543         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
48544         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48545         Set bit_Prefer_SSE_for_memop for Intel processors.
48546         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
48547         Define.
48548         (index_Prefer_SSE_for_memop): Define.
48549         (HAS_PREFER_SSE_FOR_MEMOP): Define.
48550
48551 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
48552
48553         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
48554         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
48555
48556 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
48557
48558         [BZ #12191]
48559         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48560         (__x86_64_raw_data_cache_size_half): Likewise.
48561         (__x86_64_raw_shared_cache_size): Likewise.
48562         (__x86_64_raw_shared_cache_size_half): Likewise.
48563
48564         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48565         (__x86_64_raw_data_cache_size_half): Likewise.
48566         (__x86_64_raw_shared_cache_size): Likewise.
48567         (__x86_64_raw_shared_cache_size_half): Likewise.
48568         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
48569         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
48570         and __x86_64_raw_shared_cache_size_half.  Round
48571         __x86_64_data_cache_size_half, __x86_64_data_cache_size
48572         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
48573         to multiple of 256 bytes.
48574
48575 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
48576
48577         [BZ #12167]
48578         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
48579         of inacessible symlinks.  Verify result of symlink before returning it.
48580         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48581         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
48582
48583 2010-10-28  Erich Ritz  <erichritz@gmail.com>
48584
48585         * math/math.h (isinf): Fix typo in comment.
48586
48587 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
48588
48589         * po/da.po: Update from translation team.
48590
48591 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
48592
48593         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
48594         is added to the list.
48595
48596 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48597             Ulrich Drepper  <drepper@gmail.com>
48598
48599         * elf/dl-object.c (_dl_new_object): Don't append the new object to
48600         the global list here.  Move code to...
48601         (_dl_add_to_namespace_list): ...here.  New function.
48602         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
48603         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
48604         * elf/dl-load.c (lose): Don't remove the element from the list.
48605         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
48606         (_dl_map_object): Likewise.
48607
48608 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
48609
48610         [BZ #12159]
48611         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
48612         into all bytes of SSE register.
48613         Patch by Richard Li <richardpku@gmail.com>.
48614
48615 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
48616
48617         [BZ #12140]
48618         * malloc/malloc.c (_int_free): Fill correct number of bytes when
48619         perturbing.
48620
48621 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
48622
48623         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
48624         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
48625         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
48626         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
48628         submachine.
48629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
48630
48631 2010-10-22  Andreas Schwab  <schwab@redhat.com>
48632
48633         * include/dlfcn.h (__RTLD_SECURE): Define.
48634         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
48635         mode & __RTLD_SECURE instead.
48636         (open_path): Rename preloaded parameter to secure.
48637         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
48638         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
48639         * elf/dl-deps.c (openaux): Likewise.
48640         * elf/rtld.c (struct map_args): Remove is_preloaded.
48641         (map_doit): Don't use it.
48642         (dl_main): Likewise.
48643         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
48644         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
48645
48646 2010-09-09  Andreas Schwab  <schwab@redhat.com>
48647
48648         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
48649         (sysd-rules-targets): Remove duplicates.
48650         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
48651         rtld-%.$o dependency.
48652
48653 2010-10-18  Andreas Schwab  <schwab@redhat.com>
48654
48655         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
48656         _dl_map_object do it.
48657
48658 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
48659
48660         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
48661         fast fma builtins, define the macros in the C99 standard.
48662         (FP_FAST_FMAF): Likewise.
48663         (FP_FAST_FMAL): Likewise.
48664         * sysdeps/x86_64/bits/mathdef.h: Likewise.
48665
48666         * bits/mathdef.h: Update copyright year.
48667         * sysdeps/powerpc/bits/mathdef.h: Likewise.
48668
48669 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
48670
48671         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
48672         builtins, define the macros in the C99 standard.
48673         (FP_FAST_FMAF): Likewise.
48674         (FP_FAST_FMAL): Likewise.
48675         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
48676         multiply/add.
48677         (FP_FAST_FMAF): Likewise.
48678
48679 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
48680
48681         [BZ #3268]
48682         * math/libm-test.inc (fma_test): Some new testcases.
48683         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
48684         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
48685         y and infinite z.  Do multiplication by C already in long double.
48686         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
48687         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
48688         y and infinite z.  Do bitwise or of inexact bit into u.d.
48689         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
48690         * sysdeps/i386/fpu/s_fmaf.S: Removed.
48691         * sysdeps/i386/fpu/s_fma.S: Removed.
48692         * sysdeps/i386/fpu/s_fmal.S: Removed.
48693
48694 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
48695
48696         [BZ #3268]
48697         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
48698         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
48699         computation is not scheduled after fetestexcept.  Fix value
48700         of minimum denormal long double.
48701
48702 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
48703
48704         [BZ #3268]
48705         * math/libm-test.inc (fma_test): Add some more tests.
48706         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
48707         correctly.
48708
48709 2010-10-15  Andreas Schwab  <schwab@redhat.com>
48710
48711         * scripts/data/localplt-s390-linux-gnu.data: New file.
48712         * scripts/data/localplt-s390x-linux-gnu.data: New file.
48713
48714 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
48715
48716         [BZ #3268]
48717         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
48718         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
48719         instead of dbl-64.
48720         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
48721         inlines.
48722         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
48723         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
48724         if one of x and y is very large and the other is subnormal.
48725         * sysdeps/s390/fpu/s_fmaf.c: New file.
48726         * sysdeps/s390/fpu/s_fma.c: New file.
48727         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
48728         * sysdeps/powerpc/fpu/s_fma.S: New file.
48729         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
48730         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
48731         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
48732
48733 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
48734
48735         [BZ #3268]
48736         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
48737         fma tests.
48738         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
48739         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
48740         * sysdeps/i386/i686/multiarch/s_fma.c: Include
48741         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
48742         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
48743         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
48744         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
48745
48746 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
48747
48748         [BZ #12078]
48749         * posix/regcomp.c (parse_branch): One more memory leak plugged.
48750         * posix/bug-regex31.input: Add test case.
48751
48752 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
48753
48754         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
48755         * posix/bug-regex31.input: New file.
48756
48757         [BZ #12078]
48758         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
48759         (parse_sub_exp): Fix last change, use postorder.
48760
48761         * posix/bug-regex31.c: New file.
48762         * posix/Makefile: Add rules to build and run bug-regex31.
48763
48764         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
48765
48766         [BZ #12078]
48767         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
48768
48769         [BZ #12108]
48770         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
48771         to have entries in sys_siglist.
48772
48773         [BZ #12093]
48774         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
48775         be NULL.
48776
48777 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
48778
48779         [BZ #3268]
48780         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
48781         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
48782         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
48783         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
48784         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48785         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
48786         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
48787         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
48788         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
48789         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
48790         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
48791         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
48792         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48793         * math/ftestexcept.c (fetestexcept): Likewise.
48794         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48795         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48796         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48797         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48798         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48799         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48800         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48801
48802 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
48803
48804         [BZ #12107]
48805         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48806         newline.
48807
48808 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
48809
48810         * string/bug-strstr1.c: New file.
48811         * string/Makefile: Add rules to build and run bug-strstr1.
48812
48813 2010-10-05  Eric Blake  <eblake@redhat.com>
48814
48815         [BZ #12092]
48816         * string/str-two-way.h (two_way_long_needle): Always clear memory
48817         when skipping input due to the shift table.
48818
48819 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
48820
48821         [BZ #12005]
48822         * malloc/mcheck.c: Handle large requests.
48823
48824         [BZ #12077]
48825         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48826         for strncmp and strncasecmp.
48827         * string/stratcliff.c: Add tests for strcmp and strncmp.
48828         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48829
48830 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
48831
48832         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48833         __set_fpscr.
48834
48835 2010-09-30  Andreas Jaeger  <aj@suse.de>
48836
48837         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48838         (CGROUP_SUPER_MAGIC): Define.
48839         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48840         Handle btrfs and cgroup file systems.
48841         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48842         Likewise.
48843
48844 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
48845
48846         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48847         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48848
48849 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48850
48851         [BZ #12067]
48852         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48853         trying to locate the ELF header.
48854
48855 2010-09-27  Andreas Schwab  <schwab@redhat.com>
48856
48857         [BZ #11611]
48858         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
48859         Mask out sign-bit copies when constructing f_fsid.
48860
48861 2010-09-24  Petr Baudis <pasky@suse.cz>
48862
48863         * debug/stack_chk_fail_local.c: Add missing licence exception.
48864         * debug/warning-nop.c: Likewise.
48865
48866 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
48867
48868         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
48869         implementing getdents64 using getdents syscall, set d_type if
48870         __ASSUME_GETDENTS32_D_TYPE.
48871
48872 2010-09-16  Andreas Schwab  <schwab@redhat.com>
48873
48874         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
48875         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
48876
48877 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
48878
48879         [BZ #12037]
48880         * posix/unistd.h: Undo change of feature selection for ftruncate from
48881         2010-01-11.
48882
48883 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
48884
48885         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
48886         detection.
48887
48888 2010-09-20  Andreas Schwab  <schwab@redhat.com>
48889
48890         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
48891         fanotify_mark.
48892         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
48893
48894 2010-09-14  Andreas Schwab  <schwab@redhat.com>
48895
48896         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
48897         variables after CHECK_SP call.
48898         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
48899
48900 2010-09-13  Andreas Schwab  <schwab@redhat.com>
48901             Ulrich Drepper  <drepper@redhat.com>
48902
48903         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
48904         re-relocationg ld.so.
48905         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
48906         _dl_init_paths call.
48907         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
48908         here anymore.
48909
48910 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
48911
48912         * resolv/res_init.c (__res_vinit): Count the default server we added.
48913
48914 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
48915             Ulrich Drepper  <drepper@redhat.com>
48916
48917         [BZ #11968]
48918         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48919         (____longjmp_chk): Use %ebx for saving value across system call.
48920         Add unwind info.
48921
48922 2010-09-06  Andreas Schwab  <schwab@redhat.com>
48923
48924         * manual/Makefile: Don't mix pattern rules with normal rules.
48925
48926 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
48927
48928         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
48929         operation.
48930         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
48931         * libio/iofopncook.c (_IO_cookie_init): Likewise.
48932         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
48933         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
48934         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48935         Likewise.
48936
48937 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
48938
48939         [BZ #11979]
48940         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
48941         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
48942
48943 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
48944
48945         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
48946         * sysdeps/x86_64/addmul_1.S: Likewise.
48947         * sysdeps/x86_64/lshift.S: Likewise.
48948         * sysdeps/x86_64/mul_1.S: Likewise.
48949         * sysdeps/x86_64/rshift.S: Likewise.
48950         * sysdeps/x86_64/sub_n.S: Likewise.
48951         * sysdeps/x86_64/submul_1.S: Likewise.
48952
48953 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48954
48955         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
48956         Define __sched_param instead of SCHED_* and sched_param when
48957         <bits/sched.h> is included with __need_schedparam defined.
48958         * bits/sched.h [__need_schedparam]
48959         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
48960         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
48961         (__defined_schedparam): Define to 1.
48962         (__sched_param): New structure, identical to sched_param.
48963         (__need_schedparam): Undefine.
48964
48965 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
48966
48967         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
48968         (epoll_create1): Declare.
48969
48970         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
48971
48972 2010-08-31  Andreas Schwab  <schwab@redhat.com>
48973
48974         [BZ #7066]
48975         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
48976         shifting retval into place.
48977
48978 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
48979
48980         * nis/rpcsvc/nis.h: Update copyright notice.
48981         * nis/rpcsvc/nis.x: Likewise.
48982         * nis/rpcsvc/nis_callback.h: Likewise.
48983         * nis/rpcsvc/nis_callback.x: Likewise.
48984         * nis/rpcsvc/nis_object.x: Likewise.
48985         * nis/rpcsvc/nis_tags.h: Likewise.
48986         * nis/rpcsvc/yp.h: Likewise.
48987         * nis/rpcsvc/yp.x: Likewise.
48988         * nis/rpcsvc/ypupd.h: Likewise.
48989         * nis/yp_xdr.c: Likewise.
48990         * nis/ypupdate_xdr.c: Likewise.
48991
48992         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
48993         mainly the body of pmap_getport.  Add parameters to specify timeouts.
48994         (pmap_getport): Use __libc_rpc_getport.
48995         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
48996         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
48997         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
48998
48999 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
49000
49001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
49002         fanotify_mark.
49003
49004 2010-08-27  Roland McGrath  <roland@redhat.com>
49005
49006         * sysdeps/i386/i686/multiarch/Makefile
49007         (CFLAGS-varshift.c): New variable.
49008
49009 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
49010
49011         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49012         * sysdeps/i386/i686/multiarch/varshift.c: New file.
49013
49014         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49015
49016         * sysdeps/x86_64/strlen.S: Minimal code improvement.
49017
49018 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
49019
49020         * sysdeps/x86_64/strlen.S: Unroll the loop.
49021         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49022         strlen-sse2 strlen-sse2-bsf.
49023         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
49024         __strlen_no_bsf if bit_Slow_BSF is set.
49025         (__strlen_sse42): Removed.
49026         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
49027         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
49028
49029 2010-08-25  Roland McGrath  <roland@redhat.com>
49030
49031         * sysdeps/x86_64/multiarch/varshift.S: File removed.
49032         * sysdeps/x86_64/multiarch/varshift.c: New file.
49033         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
49034         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
49035         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
49036         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49037
49038 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
49039
49040         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49041         strlen-sse2 strlen-sse2-bsf.
49042         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
49043         __strlen_sse2_bsf if bit_Slow_BSF is unset.
49044         (__strlen_sse2): Removed.
49045         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
49046         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
49047         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49048         bit_Slow_BSF for Atom.
49049         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
49050         (index_Slow_BSF): Define.
49051         (HAS_SLOW_BSF): Define.
49052
49053 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
49054
49055         [BZ #10851]
49056         * resolv/res_init.c (__res_vinit): When no server address at all
49057         is given default to loopback.
49058
49059 2010-08-24  Roland McGrath  <roland@redhat.com>
49060
49061         * configure.in: Remove config-name.h generation.
49062         * configure: Regenerated.
49063         * config-name.in: File removed.
49064         * scripts/config-uname.sh: New file.
49065         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49066         ($(objdir)config-name.h): New target.
49067
49068         * sunrpc/rpc_parse.h: Avoid nested comment.
49069
49070 2010-08-24  Richard Henderson  <rth@redhat.com>
49071             Ulrich Drepper  <drepper@redhat.com>
49072             H.J. Lu  <hongjiu.lu@intel.com>
49073
49074         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49075         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49076         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49077         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
49078         _mm_alignr_epi8 with _mm_loadu_si128.
49079         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49080         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49081         (__m128i_shift_right): Removed.
49082         * sysdeps/i386/i686/multiarch/varshift.h: New file.
49083         * sysdeps/i386/i686/multiarch/varshift.S: New file.
49084         * sysdeps/x86_64/multiarch/varshift.h: New file.
49085         * sysdeps/x86_64/multiarch/varshift.S: New file.
49086
49087 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
49088
49089         * configure.in: Move assembler checks to before sysdep dir checking.
49090
49091 2010-08-20  Petr Baudis  <pasky@suse.cz>
49092
49093         * LICENSES: Sync the sunrpc license.
49094
49095 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
49096
49097         * sunrpc/auth_des.c: Update copyright notice once again.
49098         * sunrpc/auth_none.c: Likewise.
49099         * sunrpc/auth_unix.c: Likewise.
49100         * sunrpc/authdes_prot.c: Likewise.
49101         * sunrpc/authuxprot.c: Likewise.
49102         * sunrpc/bindrsvprt.c: Likewise.
49103         * sunrpc/clnt_gen.c: Likewise.
49104         * sunrpc/clnt_perr.c: Likewise.
49105         * sunrpc/clnt_raw.c: Likewise.
49106         * sunrpc/clnt_simp.c: Likewise.
49107         * sunrpc/clnt_tcp.c: Likewise.
49108         * sunrpc/clnt_udp.c: Likewise.
49109         * sunrpc/clnt_unix.c: Likewise.
49110         * sunrpc/des_crypt.c: Likewise.
49111         * sunrpc/des_soft.c: Likewise.
49112         * sunrpc/get_myaddr.c: Likewise.
49113         * sunrpc/getrpcport.c: Likewise.
49114         * sunrpc/key_call.c: Likewise.
49115         * sunrpc/key_prot.c: Likewise.
49116         * sunrpc/openchild.c: Likewise.
49117         * sunrpc/pm_getmaps.c: Likewise.
49118         * sunrpc/pm_getport.c: Likewise.
49119         * sunrpc/pmap_clnt.c: Likewise.
49120         * sunrpc/pmap_prot.c: Likewise.
49121         * sunrpc/pmap_prot2.c: Likewise.
49122         * sunrpc/pmap_rmt.c: Likewise.
49123         * sunrpc/rpc/auth.h: Likewise.
49124         * sunrpc/rpc/auth_unix.h: Likewise.
49125         * sunrpc/rpc/clnt.h: Likewise.
49126         * sunrpc/rpc/des_crypt.h: Likewise.
49127         * sunrpc/rpc/key_prot.h: Likewise.
49128         * sunrpc/rpc/netdb.h: Likewise.
49129         * sunrpc/rpc/pmap_clnt.h: Likewise.
49130         * sunrpc/rpc/pmap_prot.h: Likewise.
49131         * sunrpc/rpc/pmap_rmt.h: Likewise.
49132         * sunrpc/rpc/rpc.h: Likewise.
49133         * sunrpc/rpc/rpc_des.h: Likewise.
49134         * sunrpc/rpc/rpc_msg.h: Likewise.
49135         * sunrpc/rpc/svc.h: Likewise.
49136         * sunrpc/rpc/svc_auth.h: Likewise.
49137         * sunrpc/rpc/types.h: Likewise.
49138         * sunrpc/rpc/xdr.h: Likewise.
49139         * sunrpc/rpc_clntout.c: Likewise.
49140         * sunrpc/rpc_cmsg.c: Likewise.
49141         * sunrpc/rpc_common.c: Likewise.
49142         * sunrpc/rpc_cout.c: Likewise.
49143         * sunrpc/rpc_dtable.c: Likewise.
49144         * sunrpc/rpc_hout.c: Likewise.
49145         * sunrpc/rpc_main.c: Likewise.
49146         * sunrpc/rpc_parse.c: Likewise.
49147         * sunrpc/rpc_parse.h: Likewise.
49148         * sunrpc/rpc_prot.c: Likewise.
49149         * sunrpc/rpc_sample.c: Likewise.
49150         * sunrpc/rpc_scan.c: Likewise.
49151         * sunrpc/rpc_scan.h: Likewise.
49152         * sunrpc/rpc_svcout.c: Likewise.
49153         * sunrpc/rpc_tblout.c: Likewise.
49154         * sunrpc/rpc_util.c: Likewise.
49155         * sunrpc/rpc_util.h: Likewise.
49156         * sunrpc/rpcinfo.c: Likewise.
49157         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49158         * sunrpc/rpcsvc/key_prot.x: Likewise.
49159         * sunrpc/rpcsvc/klm_prot.x: Likewise.
49160         * sunrpc/rpcsvc/mount.x: Likewise.
49161         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49162         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49163         * sunrpc/rpcsvc/rex.x: Likewise.
49164         * sunrpc/rpcsvc/rstat.x: Likewise.
49165         * sunrpc/rpcsvc/rusers.x: Likewise.
49166         * sunrpc/rpcsvc/sm_inter.x: Likewise.
49167         * sunrpc/rpcsvc/spray.x: Likewise.
49168         * sunrpc/rpcsvc/yppasswd.x: Likewise.
49169         * sunrpc/rtime.c: Likewise.
49170         * sunrpc/svc.c: Likewise.
49171         * sunrpc/svc_auth.c: Likewise.
49172         * sunrpc/svc_authux.c: Likewise.
49173         * sunrpc/svc_raw.c: Likewise.
49174         * sunrpc/svc_run.c: Likewise.
49175         * sunrpc/svc_simple.c: Likewise.
49176         * sunrpc/svc_tcp.c: Likewise.
49177         * sunrpc/svc_udp.c: Likewise.
49178         * sunrpc/svc_unix.c: Likewise.
49179         * sunrpc/svcauth_des.c: Likewise.
49180         * sunrpc/xcrypt.c: Likewise.
49181         * sunrpc/xdr.c: Likewise.
49182         * sunrpc/xdr_array.c: Likewise.
49183         * sunrpc/xdr_float.c: Likewise.
49184         * sunrpc/xdr_mem.c: Likewise.
49185         * sunrpc/xdr_rec.c: Likewise.
49186         * sunrpc/xdr_ref.c: Likewise.
49187         * sunrpc/xdr_sizeof.c: Likewise.
49188         * sunrpc/xdr_stdio.c: Likewise.
49189
49190         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49191         handling.
49192
49193 2010-08-19  Andreas Schwab  <schwab@redhat.com>
49194
49195         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49196
49197 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
49198
49199         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
49200         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
49201         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
49202         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
49203         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
49204         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
49205         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
49206         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
49207         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
49208         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
49209         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
49210         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49211         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49212         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49213
49214 2010-07-26  Anton Blanchard  <anton@samba.org>
49215
49216         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49217         * malloc/arena.c (heap_trim): Likewise.
49218
49219 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
49220
49221         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49222         here.  Not...
49223         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49224         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49225
49226 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
49227
49228         * sysdeps/i386/elf/Makefile: New file.
49229
49230 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
49231
49232         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49233         from fanotify_init.
49234         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49235         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49236
49237 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
49238
49239         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49240         of strncasecmp_l.
49241         * sysdeps/multiarch/strcmp.S: Likewise.
49242
49243 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
49244
49245         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49246         strncase_l-nonascii.
49247         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49248         Add strncase_l-ssse3.
49249         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49250         * sysdeps/x86_64/strcmp.S: Likewise.
49251         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49252         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49253         * sysdeps/x86_64/strncase.S: New file.
49254         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49255         * sysdeps/x86_64/strncase_l.S: New file.
49256         * string/Makefile (strop-tests): Add strncasecmp.
49257         * string/test-strncasecmp.c: New file.
49258
49259         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49260         warning.
49261
49262         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49263         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49264
49265 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
49266
49267         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49268
49269 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
49270
49271         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49272         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49273         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49274
49275 2010-05-01  Alan Modra  <amodra@gmail.com>
49276
49277         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49278         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49279         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49280         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49281         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49282         tidying.  Don't tail-call __sigjmp_save for static lib.
49283         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49284         save location.
49285         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49286         (CALL_MCOUNT): Add eh info, and nop after bl.
49287         (TAIL_CALL_SYSCALL_ERROR): New macro.
49288         (PSEUDO_RET): Use it.
49289         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49290         Correct save location of integer regs and cr.
49291         (_dl_profile_resolve): Correct cr save location.  Delete nops
49292         after bl when SHARED.  Reduce cfi size a little by better
49293         placement of cfi directives.
49294         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49295         make a stack frame.  Instead use parm save area as a temp.
49296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49297         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
49298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49299         Don't make a stack frame for parent, use parm save area.
49300         Increase child stack frame to 112 bytes.  Don't save unused reg,
49301         and adjust reg usage.  Set up cfi on error recovery and
49302         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49304         (__makecontext): Add dummy nop after jump to exit.
49305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49306         Use correct parm save area and cr save, reduce stack frame.
49307         Correct cfi for possible PSEUDO_RET frame setup.
49308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49309         Branch to local label emitted by PSEUDO_RET rather than
49310         __syscall_error.
49311
49312 2010-08-12  Andreas Schwab  <schwab@redhat.com>
49313
49314         [BZ #11904]
49315         * locale/programs/locale.c (print_assignment): New function.
49316         (show_locale_vars): Use it.
49317
49318 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
49319
49320         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
49321         field.
49322         (struct statfs64): Likewise.
49323         (_STATFS_F_FLAGS): Define.
49324         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
49325         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49326         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
49327         (ST_VALID): Define locally.
49328         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
49329         __statvfs_getflags, use the provided value.
49330         * sysdeps/unix/sysv/linux/kernel-features.h: Define
49331         __ASSUME_STATFS_F_FLAGS.
49332
49333         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
49334
49335         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
49336         Add sys/fanotify.h.
49337         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
49338         fanotify_mask for GLIBC_2.13.
49339         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
49340         fanotify_init and fanotify_mark.
49341         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49342         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
49343
49344         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
49345         Add prlimit.
49346         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
49347         prlimit64 for GLIBC_2.13.
49348         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
49349         prlimit64.
49350         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
49351         syscall.
49352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
49353         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49354         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
49355         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
49356         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
49357         add prlimit alias.
49358         * sysdeps/unix/sysv/linux/prlimit.c: New file.
49359
49360         [BZ #11903]
49361         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
49362         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
49363
49364         * nss/Makefile: Add rules to build and run tst-nss-test1.
49365         * shlib-versions: Add entry for libnss_test1.
49366         * nss/nss_test1.c: New file.
49367         * nss/tst-nss-test1.c: New file.
49368
49369         * nss/nsswitch.c (__nss_database_custom): Define new variable.
49370         (__nss_configure_lookup): Set appropriate entry in
49371         __nss_configure_lookup to true.
49372         * nss/nsswitch.h: Define enum with indeces of databases in
49373         databases and __nss_database_custom arrays.  Declare
49374         __nss_database_custom.
49375         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
49376         to avoid using nscd when custom rules are installed.
49377         * nss/getXXbyYY_r.c: Likewise.
49378         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49379
49380         * nss/nss_files/files-parse.c: Whitespace fixes.
49381
49382 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
49383
49384         [BZ #11883]
49385         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
49386         * posix/fnmatch_loop.c: Likewise.
49387
49388 2010-07-17  Andi Kleen  <ak@linux.intel.com>
49389
49390         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
49391         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
49392         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
49393         * Versions.def [GLIBC_2.13]: Add.
49394
49395 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
49396
49397         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49398         Also fail if tpwd after pwuid call is NULL.
49399
49400 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49401
49402         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49403         when converting to ms.
49404
49405 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49406
49407         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49408         EOPNOTSUPP errors with ENOTTY.
49409         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49410         EOPNOTSUPP errors with ENOTTY.
49411
49412 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
49413
49414         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49415         Add strcasecmp_l-ssse3.
49416         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49417         strcasecmp.
49418         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49419         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49420         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49421
49422 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
49423
49424         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49425
49426         * string/Makefile (strop-tests): Add strcasecmp.
49427         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49428         strcasecmp_l-nonascii.
49429         (gen-as-const-headers): Add locale-defines.sym.
49430         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49431         * sysdeps/x86_64/strcasecmp.S: New file.
49432         * sysdeps/x86_64/strcasecmp_l.S: New file.
49433         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49434         * sysdeps/x86_64/locale-defines.sym: New file.
49435         * string/test-strcasecmp.c: New file.
49436
49437         * string/test-strcasestr.c: Test both ends of the range of characters.
49438         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49439
49440 2010-07-29  Roland McGrath  <roland@redhat.com>
49441
49442         [BZ #11856]
49443         * manual/locale.texi (Yes-or-No Questions): Fix example code.
49444
49445 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
49446
49447         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49448         for ld.so.
49449
49450 2010-07-27  Andreas Schwab  <schwab@redhat.com>
49451
49452         * manual/memory.texi (Malloc Tunable Parameters): Document
49453         M_PERTURB.
49454
49455 2010-07-26  Roland McGrath  <roland@redhat.com>
49456
49457         [BZ #11840]
49458         * configure.in (-fgnu89-inline check): Set and substitute
49459         gnu89_inline, not libc_cv_gnu89_inline.
49460         * configure: Regenerated.
49461         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49462
49463 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
49464
49465         * string/test-strnlen.c: New file.
49466         * string/Makefile (strop-tests): Add strnlen.
49467         * string/tester.c (test_strnlen): Add a few more test cases.
49468         * string/tst-strlen.c: Better error reporting.
49469
49470         * sysdeps/x86_64/strnlen.S: New file.
49471
49472 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
49473
49474         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49475         lower-latency instructions.
49476
49477 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
49478
49479         * string/test-strcasestr.c: New file.
49480         * string/test-strstr.c: New file.
49481         * string/Makefile (strop-tests): Add strstr and strcasestr.
49482         * string/str-two-way.h: Don't undefine MAX.
49483         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49484
49485 2010-07-21  Andreas Schwab  <schwab@redhat.com>
49486
49487         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49488         strcasestr-nonascii.
49489         (CFLAGS-strcasestr-nonascii.c): Define.
49490         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49491         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49492         Remove unused attribute.
49493
49494 2010-07-20  Roland McGrath  <roland@redhat.com>
49495
49496         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49497         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
49498         ld.so.cache was broken.  With it, there is no way to disable dsocaps
49499         like LD_HWCAP_MASK can disable hwcaps.
49500
49501 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
49502
49503         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49504
49505 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
49506
49507         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49508         call in strcasestr.
49509         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49510         __strcasestr_sse42_nonascii.
49511         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49512         strcasestr-nonascii.c.
49513         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49514
49515 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
49516
49517         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49518         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49519         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49520         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49521
49522 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
49523
49524         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49525         fcntl.
49526
49527 2010-07-06  Andreas Schwab  <schwab@redhat.com>
49528
49529         [BZ #11577]
49530         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49531         dl_signal_cerror.
49532
49533 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
49534
49535         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
49536         _PC_PIPE_BUF using F_GETPIPE_SZ.
49537
49538 2010-07-05  Roland McGrath  <roland@redhat.com>
49539
49540         * manual/arith.texi (Rounding Functions): Fix rint description
49541         implicit in round description.
49542
49543 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
49544
49545         * elf/Makefile: Fix linking for a few tests to make recent linker
49546         happy.
49547
49548 2010-06-30  Andreas Schwab  <schwab@redhat.com>
49549
49550         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49551         $(common-objpfx)libc_nonshared.a.
49552
49553 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
49554
49555         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
49556         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
49557         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49558         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49559         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
49560         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
49561         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49562         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
49564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
49565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
49566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
49568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
49570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
49571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
49572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
49573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
49575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
49577         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
49578         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
49579         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
49580         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
49581         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
49582         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
49583         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
49584         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
49585         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
49586         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
49587         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
49588         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
49589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
49590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
49591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
49592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
49593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
49594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
49595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
49596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
49597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
49598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
49599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
49600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
49601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
49602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
49603
49604 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
49605
49606         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
49607         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
49608         * string/memmove.c (memmove): Renamed to ...
49609         (MEMMOVE): ...this.  Default to memmove.
49610         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
49611         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
49612         (END_CHK): Define.
49613         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49614         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
49615         mempcpy-ssse3-back memmove-ssse3-back.
49616         * sysdeps/x86_64/multiarch/bcopy.S: New file .
49617         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
49618         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
49619         * sysdeps/x86_64/multiarch/memcpy.S: New file.
49620         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
49621         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
49622         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
49623         * sysdeps/x86_64/multiarch/memmove.c: New file.
49624         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
49625         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
49626         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
49627         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
49628         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
49629         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
49630         Define.
49631         (index_Fast_Copy_Backward): Define.
49632         (HAS_ARCH_FEATURE): Define.
49633         (HAS_FAST_REP_STRING): Define.
49634         (HAS_FAST_COPY_BACKWARD): Define.
49635
49636 2010-06-21  Andreas Schwab  <schwab@redhat.com>
49637
49638         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49639         Restore proper fallback handling.
49640
49641 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
49642
49643         [BZ #11701]
49644         * posix/group_member.c (__group_member): Correct checking loop.
49645
49646         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
49647         OOM in getpwuid_r correctly.  Return error number when the caller
49648         should return, otherwise -1.
49649         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
49650         call returning > 0 value.
49651         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
49652
49653 2010-06-07  Andreas Schwab  <schwab@redhat.com>
49654
49655         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
49656         libc_nonshared.a from targets in modules-names.
49657
49658 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
49659
49660         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
49661         requires it.
49662
49663 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
49664
49665         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
49666         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
49667         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
49668         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
49669
49670 2010-06-02  Andreas Schwab  <schwab@redhat.com>
49671
49672         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
49673
49674 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
49675
49676         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
49677         and F_GETPIPE_SZ.
49678         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49679         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49680         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49681         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49682         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49683         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
49684
49685 2010-06-14  Roland McGrath  <roland@redhat.com>
49686
49687         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
49688
49689 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
49690
49691         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
49692         __REDIRECT followed by __THROW.
49693         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
49694         * posix/getopt.h (getopt): Likewise.
49695
49696 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
49697
49698         * hurd/lookup-at.c (__file_name_lookup_at): Accept
49699         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
49700         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
49701         in AT_FLAGS.
49702         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
49703         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
49704
49705 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
49706
49707         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
49708
49709 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
49710
49711         [BZ #11640]
49712         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49713         Properly check family and model.
49714
49715 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
49716
49717         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
49718
49719 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
49720
49721         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
49722
49723 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
49724
49725         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
49726         symbol reference.
49727
49728 2010-05-19  Andreas Schwab  <schwab@redhat.com>
49729
49730         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
49731         symbol reference.
49732
49733 2010-05-21  Andreas Schwab  <schwab@redhat.com>
49734
49735         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
49736         and internal_recvmmsg.
49737         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
49738         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
49739         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
49740         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
49741
49742         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
49743         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49744         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49745
49746 2010-05-20  Andreas Schwab  <schwab@redhat.com>
49747
49748         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
49749
49750 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
49751
49752         POWER7 optimizations.
49753         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
49754         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
49755
49756 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
49757
49758         * version.h: Update for 2.13 development version.
49759
49760 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
49761
49762         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
49763         exceptions.  Return 0.
49764
49765 2010-05-07  Roland McGrath  <roland@redhat.com>
49766
49767         * elf/ldconfig.c (main): Add a const.
49768
49769 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
49770
49771         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
49772         (args_options): Add no-idn option.
49773         (ahosts_keys_int): Add idn_flags to ai_flags.
49774         (parse_option): Handle 'i' option to clear idn_flags.
49775
49776         * malloc/malloc.c (_int_free): Possible race in the most recently
49777         added check.  Only act on the data if no current modification
49778         happened.
49779
49780 See ChangeLog.17 for earlier changes.